]> git.saurik.com Git - wxWidgets.git/blob - configure
5e4a23456a1e4bc609b9894871f118fae2784e01
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47611 2007-07-21 07:31:28Z VZ .
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 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1858 can
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1861
1862 Optional Packages:
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1878 --with-x11 use X11
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gnomeprint don't use GNOME printing libraries
1885 --with-gnomevfs use GNOME VFS for associating MIME types
1886 --with-hildon use Hildon framework for Nokia 770
1887 --with-opengl use OpenGL (or Mesa)
1888 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1889 --with-sdl use SDL for audio on Unix
1890 --with-regex enable support for wxRegEx class
1891 --with-zlib use zlib for LZW compression
1892 --with-odbc use the IODBC and wxODBC classes
1893 --with-expat enable XML support using expat parser
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1902
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1911 CPP C preprocessor
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1915 DIRECTFB_CFLAGS
1916 C compiler flags for DIRECTFB, overriding pkg-config
1917 DIRECTFB_LIBS
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1920 PANGOX_CFLAGS
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1923 PANGOFT2_CFLAGS
1924 C compiler flags for PANGOFT2, overriding pkg-config
1925 PANGOFT2_LIBS
1926 linker flags for PANGOFT2, overriding pkg-config
1927 PANGOXFT_CFLAGS
1928 C compiler flags for PANGOXFT, overriding pkg-config
1929 PANGOXFT_LIBS
1930 linker flags for PANGOXFT, overriding pkg-config
1931 LIBGNOMEPRINTUI_CFLAGS
1932 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1933 LIBGNOMEPRINTUI_LIBS
1934 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1935 GNOMEVFS_CFLAGS
1936 C compiler flags for GNOMEVFS, overriding pkg-config
1937 GNOMEVFS_LIBS
1938 linker flags for GNOMEVFS, overriding pkg-config
1939 HILDON_CFLAGS
1940 C compiler flags for HILDON, overriding pkg-config
1941 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1942 CAIRO_CFLAGS
1943 C compiler flags for CAIRO, overriding pkg-config
1944 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1945 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1946 GST_LIBS linker flags for GST, overriding pkg-config
1947
1948 Use these variables to override the choices made by `configure' or to help
1949 it to find libraries and programs with nonstandard names/locations.
1950
1951 Report bugs to <wx-dev@lists.wxwidgets.org>.
1952 _ACEOF
1953 ac_status=$?
1954 fi
1955
1956 if test "$ac_init_help" = "recursive"; then
1957 # If there are subdirs, report their specific --help.
1958 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1959 test -d "$ac_dir" || continue
1960 ac_builddir=.
1961
1962 case "$ac_dir" in
1963 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1964 *)
1965 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1966 # A ".." for each directory in $ac_dir_suffix.
1967 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1968 case $ac_top_builddir_sub in
1969 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1970 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1971 esac ;;
1972 esac
1973 ac_abs_top_builddir=$ac_pwd
1974 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1975 # for backward compatibility:
1976 ac_top_builddir=$ac_top_build_prefix
1977
1978 case $srcdir in
1979 .) # We are building in place.
1980 ac_srcdir=.
1981 ac_top_srcdir=$ac_top_builddir_sub
1982 ac_abs_top_srcdir=$ac_pwd ;;
1983 [\\/]* | ?:[\\/]* ) # Absolute name.
1984 ac_srcdir=$srcdir$ac_dir_suffix;
1985 ac_top_srcdir=$srcdir
1986 ac_abs_top_srcdir=$srcdir ;;
1987 *) # Relative name.
1988 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1989 ac_top_srcdir=$ac_top_build_prefix$srcdir
1990 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1991 esac
1992 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1993
1994 cd "$ac_dir" || { ac_status=$?; continue; }
1995 # Check for guested configure.
1996 if test -f "$ac_srcdir/configure.gnu"; then
1997 echo &&
1998 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1999 elif test -f "$ac_srcdir/configure"; then
2000 echo &&
2001 $SHELL "$ac_srcdir/configure" --help=recursive
2002 else
2003 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2004 fi || ac_status=$?
2005 cd "$ac_pwd" || { ac_status=$?; break; }
2006 done
2007 fi
2008
2009 test -n "$ac_init_help" && exit $ac_status
2010 if $ac_init_version; then
2011 cat <<\_ACEOF
2012 wxWidgets configure 2.9.0
2013 generated by GNU Autoconf 2.61
2014
2015 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2016 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2017 This configure script is free software; the Free Software Foundation
2018 gives unlimited permission to copy, distribute and modify it.
2019 _ACEOF
2020 exit
2021 fi
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2025
2026 It was created by wxWidgets $as_me 2.9.0, which was
2027 generated by GNU Autoconf 2.61. Invocation command line was
2028
2029 $ $0 $@
2030
2031 _ACEOF
2032 exec 5>>config.log
2033 {
2034 cat <<_ASUNAME
2035 ## --------- ##
2036 ## Platform. ##
2037 ## --------- ##
2038
2039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044
2045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2047
2048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2055
2056 _ASUNAME
2057
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2060 do
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 echo "PATH: $as_dir"
2064 done
2065 IFS=$as_save_IFS
2066
2067 } >&5
2068
2069 cat >&5 <<_ACEOF
2070
2071
2072 ## ----------- ##
2073 ## Core tests. ##
2074 ## ----------- ##
2075
2076 _ACEOF
2077
2078
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2084 ac_configure_args=
2085 ac_configure_args0=
2086 ac_configure_args1=
2087 ac_must_keep_next=false
2088 for ac_pass in 1 2
2089 do
2090 for ac_arg
2091 do
2092 case $ac_arg in
2093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2096 continue ;;
2097 *\'*)
2098 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 esac
2100 case $ac_pass in
2101 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2102 2)
2103 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2104 if test $ac_must_keep_next = true; then
2105 ac_must_keep_next=false # Got value, back to normal.
2106 else
2107 case $ac_arg in
2108 *=* | --config-cache | -C | -disable-* | --disable-* \
2109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111 | -with-* | --with-* | -without-* | --without-* | --x)
2112 case "$ac_configure_args0 " in
2113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 esac
2115 ;;
2116 -* ) ac_must_keep_next=true ;;
2117 esac
2118 fi
2119 ac_configure_args="$ac_configure_args '$ac_arg'"
2120 ;;
2121 esac
2122 done
2123 done
2124 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2125 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2126
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log. We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133 # Save into config.log some information that might help in debugging.
2134 {
2135 echo
2136
2137 cat <<\_ASBOX
2138 ## ---------------- ##
2139 ## Cache variables. ##
2140 ## ---------------- ##
2141 _ASBOX
2142 echo
2143 # The following way of writing the cache mishandles newlines in values,
2144 (
2145 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2146 eval ac_val=\$$ac_var
2147 case $ac_val in #(
2148 *${as_nl}*)
2149 case $ac_var in #(
2150 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2151 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2152 esac
2153 case $ac_var in #(
2154 _ | IFS | as_nl) ;; #(
2155 *) $as_unset $ac_var ;;
2156 esac ;;
2157 esac
2158 done
2159 (set) 2>&1 |
2160 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2161 *${as_nl}ac_space=\ *)
2162 sed -n \
2163 "s/'\''/'\''\\\\'\'''\''/g;
2164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 ;; #(
2166 *)
2167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2168 ;;
2169 esac |
2170 sort
2171 )
2172 echo
2173
2174 cat <<\_ASBOX
2175 ## ----------------- ##
2176 ## Output variables. ##
2177 ## ----------------- ##
2178 _ASBOX
2179 echo
2180 for ac_var in $ac_subst_vars
2181 do
2182 eval ac_val=\$$ac_var
2183 case $ac_val in
2184 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2185 esac
2186 echo "$ac_var='\''$ac_val'\''"
2187 done | sort
2188 echo
2189
2190 if test -n "$ac_subst_files"; then
2191 cat <<\_ASBOX
2192 ## ------------------- ##
2193 ## File substitutions. ##
2194 ## ------------------- ##
2195 _ASBOX
2196 echo
2197 for ac_var in $ac_subst_files
2198 do
2199 eval ac_val=\$$ac_var
2200 case $ac_val in
2201 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 esac
2203 echo "$ac_var='\''$ac_val'\''"
2204 done | sort
2205 echo
2206 fi
2207
2208 if test -s confdefs.h; then
2209 cat <<\_ASBOX
2210 ## ----------- ##
2211 ## confdefs.h. ##
2212 ## ----------- ##
2213 _ASBOX
2214 echo
2215 cat confdefs.h
2216 echo
2217 fi
2218 test "$ac_signal" != 0 &&
2219 echo "$as_me: caught signal $ac_signal"
2220 echo "$as_me: exit $exit_status"
2221 } >&5
2222 rm -f core *.core core.conftest.* &&
2223 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2224 exit $exit_status
2225 ' 0
2226 for ac_signal in 1 2 13 15; do
2227 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2228 done
2229 ac_signal=0
2230
2231 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2232 rm -f -r conftest* confdefs.h
2233
2234 # Predefined preprocessor variables.
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_NAME "$PACKAGE_NAME"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 _ACEOF
2244
2245
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2248 _ACEOF
2249
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 _ACEOF
2259
2260
2261 # Let the site file select an alternate cache file if it wants to.
2262 # Prefer explicitly selected file to automatically selected ones.
2263 if test -n "$CONFIG_SITE"; then
2264 set x "$CONFIG_SITE"
2265 elif test "x$prefix" != xNONE; then
2266 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2267 else
2268 set x "$ac_default_prefix/share/config.site" \
2269 "$ac_default_prefix/etc/config.site"
2270 fi
2271 shift
2272 for ac_site_file
2273 do
2274 if test -r "$ac_site_file"; then
2275 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2276 echo "$as_me: loading site script $ac_site_file" >&6;}
2277 sed 's/^/| /' "$ac_site_file" >&5
2278 . "$ac_site_file"
2279 fi
2280 done
2281
2282 if test -r "$cache_file"; then
2283 # Some versions of bash will fail to source /dev/null (special
2284 # files actually), so we avoid doing that.
2285 if test -f "$cache_file"; then
2286 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2287 echo "$as_me: loading cache $cache_file" >&6;}
2288 case $cache_file in
2289 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2290 *) . "./$cache_file";;
2291 esac
2292 fi
2293 else
2294 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2295 echo "$as_me: creating cache $cache_file" >&6;}
2296 >$cache_file
2297 fi
2298
2299 # Check that the precious variables saved in the cache have kept the same
2300 # value.
2301 ac_cache_corrupted=false
2302 for ac_var in $ac_precious_vars; do
2303 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2304 eval ac_new_set=\$ac_env_${ac_var}_set
2305 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2306 eval ac_new_val=\$ac_env_${ac_var}_value
2307 case $ac_old_set,$ac_new_set in
2308 set,)
2309 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2310 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2312 ,set)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,);;
2317 *)
2318 if test "x$ac_old_val" != "x$ac_new_val"; then
2319 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2320 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2322 echo "$as_me: former value: $ac_old_val" >&2;}
2323 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2324 echo "$as_me: current value: $ac_new_val" >&2;}
2325 ac_cache_corrupted=:
2326 fi;;
2327 esac
2328 # Pass precious variables to config.status.
2329 if test "$ac_new_set" = set; then
2330 case $ac_new_val in
2331 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2332 *) ac_arg=$ac_var=$ac_new_val ;;
2333 esac
2334 case " $ac_configure_args " in
2335 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2336 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2337 esac
2338 fi
2339 done
2340 if $ac_cache_corrupted; then
2341 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2342 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2343 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2344 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2345 { (exit 1); exit 1; }; }
2346 fi
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372 ac_ext=c
2373 ac_cpp='$CPP $CPPFLAGS'
2374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377
2378
2379
2380
2381
2382 ac_aux_dir=
2383 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2384 if test -f "$ac_dir/install-sh"; then
2385 ac_aux_dir=$ac_dir
2386 ac_install_sh="$ac_aux_dir/install-sh -c"
2387 break
2388 elif test -f "$ac_dir/install.sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install.sh -c"
2391 break
2392 elif test -f "$ac_dir/shtool"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/shtool install -c"
2395 break
2396 fi
2397 done
2398 if test -z "$ac_aux_dir"; then
2399 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2400 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2401 { (exit 1); exit 1; }; }
2402 fi
2403
2404 # These three variables are undocumented and unsupported,
2405 # and are intended to be withdrawn in a future Autoconf release.
2406 # They can cause serious problems if a builder's source tree is in a directory
2407 # whose full name contains unusual characters.
2408 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2409 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2410 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411
2412
2413 # Make sure we can run config.sub.
2414 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2415 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2416 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2417 { (exit 1); exit 1; }; }
2418
2419 { echo "$as_me:$LINENO: checking build system type" >&5
2420 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2421 if test "${ac_cv_build+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424 ac_build_alias=$build_alias
2425 test "x$ac_build_alias" = x &&
2426 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2427 test "x$ac_build_alias" = x &&
2428 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2429 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2430 { (exit 1); exit 1; }; }
2431 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2432 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2433 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2434 { (exit 1); exit 1; }; }
2435
2436 fi
2437 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2438 echo "${ECHO_T}$ac_cv_build" >&6; }
2439 case $ac_cv_build in
2440 *-*-*) ;;
2441 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2442 echo "$as_me: error: invalid value of canonical build" >&2;}
2443 { (exit 1); exit 1; }; };;
2444 esac
2445 build=$ac_cv_build
2446 ac_save_IFS=$IFS; IFS='-'
2447 set x $ac_cv_build
2448 shift
2449 build_cpu=$1
2450 build_vendor=$2
2451 shift; shift
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2454 build_os=$*
2455 IFS=$ac_save_IFS
2456 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457
2458
2459 { echo "$as_me:$LINENO: checking host system type" >&5
2460 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_host+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 if test "x$host_alias" = x; then
2465 ac_cv_host=$ac_cv_build
2466 else
2467 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2468 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2469 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2470 { (exit 1); exit 1; }; }
2471 fi
2472
2473 fi
2474 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2475 echo "${ECHO_T}$ac_cv_host" >&6; }
2476 case $ac_cv_host in
2477 *-*-*) ;;
2478 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2479 echo "$as_me: error: invalid value of canonical host" >&2;}
2480 { (exit 1); exit 1; }; };;
2481 esac
2482 host=$ac_cv_host
2483 ac_save_IFS=$IFS; IFS='-'
2484 set x $ac_cv_host
2485 shift
2486 host_cpu=$1
2487 host_vendor=$2
2488 shift; shift
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2491 host_os=$*
2492 IFS=$ac_save_IFS
2493 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494
2495
2496 { echo "$as_me:$LINENO: checking target system type" >&5
2497 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2498 if test "${ac_cv_target+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 else
2501 if test "x$target_alias" = x; then
2502 ac_cv_target=$ac_cv_host
2503 else
2504 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2505 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2506 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2507 { (exit 1); exit 1; }; }
2508 fi
2509
2510 fi
2511 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2512 echo "${ECHO_T}$ac_cv_target" >&6; }
2513 case $ac_cv_target in
2514 *-*-*) ;;
2515 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2516 echo "$as_me: error: invalid value of canonical target" >&2;}
2517 { (exit 1); exit 1; }; };;
2518 esac
2519 target=$ac_cv_target
2520 ac_save_IFS=$IFS; IFS='-'
2521 set x $ac_cv_target
2522 shift
2523 target_cpu=$1
2524 target_vendor=$2
2525 shift; shift
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2528 target_os=$*
2529 IFS=$ac_save_IFS
2530 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531
2532
2533 # The aliases save the names the user supplied, while $host etc.
2534 # will get canonicalized.
2535 test -n "$target_alias" &&
2536 test "$program_prefix$program_suffix$program_transform_name" = \
2537 NONENONEs,x,x, &&
2538 program_prefix=${target_alias}-
2539
2540
2541
2542 wx_major_version_number=2
2543 wx_minor_version_number=9
2544 wx_release_number=0
2545 wx_subrelease_number=0
2546
2547 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2548 WX_VERSION=$WX_RELEASE.$wx_release_number
2549 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2550
2551 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552
2553
2554 wx_top_builddir="`pwd`"
2555
2556
2557
2558
2559 USE_UNIX=1
2560 USE_OS2=0
2561 USE_WIN32=0
2562 USE_DOS=0
2563 USE_BEOS=0
2564 USE_MAC=0
2565
2566 USE_AIX=
2567 USE_BSD= USE_DARWIN= USE_FREEBSD=
2568 USE_GNU= USE_HPUX=
2569 USE_LINUX=
2570 USE_NETBSD=
2571 USE_OPENBSD=
2572 USE_OSF= USE_SGI=
2573 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2574 USE_ULTRIX=
2575 USE_UNIXWARE=
2576
2577 USE_ALPHA=
2578
2579 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2580
2581 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2582
2583 DEFAULT_wxUSE_COCOA=0
2584 DEFAULT_wxUSE_GTK=0
2585 DEFAULT_wxUSE_MAC=0
2586 DEFAULT_wxUSE_MGL=0
2587 DEFAULT_wxUSE_MICROWIN=0
2588 DEFAULT_wxUSE_MOTIF=0
2589 DEFAULT_wxUSE_MSW=0
2590 DEFAULT_wxUSE_PM=0
2591 DEFAULT_wxUSE_X11=0
2592 DEFAULT_wxUSE_DFB=0
2593
2594 DEFAULT_DEFAULT_wxUSE_COCOA=0
2595 DEFAULT_DEFAULT_wxUSE_GTK=0
2596 DEFAULT_DEFAULT_wxUSE_MAC=0
2597 DEFAULT_DEFAULT_wxUSE_MGL=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_MSW=0
2601 DEFAULT_DEFAULT_wxUSE_PM=0
2602 DEFAULT_DEFAULT_wxUSE_X11=0
2603 DEFAULT_DEFAULT_wxUSE_DFB=0
2604
2605 PROGRAM_EXT=
2606 SO_SUFFIX=so
2607 SAMPLES_RPATH_FLAG=
2608 SAMPLES_RPATH_POSTLINK=
2609
2610 DEFAULT_STD_FLAG=yes
2611
2612 case "${host}" in
2613 *-hp-hpux* )
2614 USE_HPUX=1
2615 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2616 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2617 SO_SUFFIX=sl
2618 cat >>confdefs.h <<\_ACEOF
2619 #define __HPUX__ 1
2620 _ACEOF
2621
2622
2623 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2624 ;;
2625 *-*-linux* )
2626 USE_LINUX=1
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __LINUX__ 1
2629 _ACEOF
2630
2631 TMP=`uname -m`
2632 if test "x$TMP" = "xalpha"; then
2633 USE_ALPHA=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __ALPHA__ 1
2636 _ACEOF
2637
2638 fi
2639 DEFAULT_DEFAULT_wxUSE_GTK=1
2640 ;;
2641 *-*-gnu* | *-*-k*bsd*-gnu )
2642 USE_GNU=1
2643 TMP=`uname -m`
2644 if test "x$TMP" = "xalpha"; then
2645 USE_ALPHA=1
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __ALPHA__ 1
2648 _ACEOF
2649
2650 fi
2651 DEFAULT_DEFAULT_wxUSE_GTK=1
2652 ;;
2653 *-*-irix5* | *-*-irix6* )
2654 USE_SGI=1
2655 USE_SVR4=1
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SGI__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SVR4__ 1
2662 _ACEOF
2663
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 ;;
2666 *-*-solaris2* )
2667 USE_SUN=1
2668 USE_SOLARIS=1
2669 USE_SVR4=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __SUN__ 1
2672 _ACEOF
2673
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SOLARIS__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SVR4__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2683 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2684 ;;
2685 *-*-sunos4* )
2686 USE_SUN=1
2687 USE_SUNOS=1
2688 USE_BSD=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SUN__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUNOS__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __BSD__ 1
2699 _ACEOF
2700
2701 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2702 ;;
2703 *-*-freebsd*)
2704 USE_BSD=1
2705 USE_FREEBSD=1
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __FREEBSD__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __BSD__ 1
2712 _ACEOF
2713
2714 DEFAULT_DEFAULT_wxUSE_GTK=1
2715 ;;
2716 *-*-openbsd*|*-*-mirbsd*)
2717 USE_BSD=1
2718 USE_OPENBSD=1
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __OPENBSD__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __BSD__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_GTK=1
2728 ;;
2729 *-*-netbsd*)
2730 USE_BSD=1
2731 USE_NETBSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __NETBSD__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __BSD__ 1
2738 _ACEOF
2739
2740 DEFAULT_DEFAULT_wxUSE_GTK=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2742
2743 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2744 ;;
2745 *-*-osf* )
2746 USE_ALPHA=1
2747 USE_OSF=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __ALPHA__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __OSF__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2758 ;;
2759 *-*-dgux5* )
2760 USE_ALPHA=1
2761 USE_SVR4=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __ALPHA__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __SVR4__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 ;;
2772 *-*-sysv5* )
2773 USE_SYSV=1
2774 USE_SVR4=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SYSV__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SVR4__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 ;;
2785 *-*-aix* )
2786 USE_AIX=1
2787 USE_SYSV=1
2788 USE_SVR4=1
2789 SO_SUFFIX=a
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __AIX__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SYSV__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SVR4__ 1
2800 _ACEOF
2801
2802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2803 ;;
2804
2805 *-*-*UnixWare*)
2806 USE_SYSV=1
2807 USE_SVR4=1
2808 USE_UNIXWARE=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __UNIXWARE__ 1
2811 _ACEOF
2812
2813 ;;
2814
2815 *-*-cygwin* | *-*-mingw32* )
2816 SO_SUFFIX=dll
2817 PROGRAM_EXT=".exe"
2818 DEFAULT_DEFAULT_wxUSE_MSW=1
2819 ;;
2820
2821 *-pc-msdosdjgpp )
2822 USE_UNIX=0
2823 USE_DOS=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __DOS__ 1
2826 _ACEOF
2827
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_MGL=1
2830 ;;
2831
2832 *-pc-os2_emx | *-pc-os2-emx )
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __EMX__ 1
2835 _ACEOF
2836
2837 USE_OS2=1
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __OS2__ 1
2840 _ACEOF
2841
2842 PROGRAM_EXT=".exe"
2843 DEFAULT_DEFAULT_wxUSE_PM=1
2844 CXX=gcc
2845 LDFLAGS="$LDFLAGS -Zcrtdll"
2846 ac_executable_extensions=".exe"
2847 export ac_executable_extensions
2848 ac_save_IFS="$IFS"
2849 IFS='\\'
2850 ac_TEMP_PATH=
2851 for ac_dir in $PATH; do
2852 IFS=$ac_save_IFS
2853 if test -z "$ac_TEMP_PATH"; then
2854 ac_TEMP_PATH="$ac_dir"
2855 else
2856 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2857 fi
2858 done
2859 export PATH="$ac_TEMP_PATH"
2860 unset ac_TEMP_PATH
2861 DEFAULT_STD_FLAG=no
2862 ;;
2863
2864 *-*-darwin* )
2865 USE_BSD=1
2866 USE_DARWIN=1
2867 SO_SUFFIX=dylib
2868 cat >>confdefs.h <<\_ACEOF
2869 #define __BSD__ 1
2870 _ACEOF
2871
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __DARWIN__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define TARGET_CARBON 1
2878 _ACEOF
2879
2880 DEFAULT_DEFAULT_wxUSE_MAC=1
2881 DEFAULT_STD_FLAG=no
2882 ;;
2883 powerpc-apple-macos* )
2884 USE_UNIX=0
2885 ac_cv_c_bigendian=yes
2886 SO_SUFFIX=shlib
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2888 DEFAULT_STD_FLAG=no
2889 ;;
2890
2891 *-*-beos* )
2892 USE_BEOS=1
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __BEOS__ 1
2895 _ACEOF
2896
2897 ;;
2898
2899 *)
2900 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2901 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2902 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2903 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2904
2905 DEFAULT_DEFAULT_wxUSE_X11=1
2906 DEFAULT_wxUSE_SHARED=no
2907 esac
2908
2909
2910
2911
2912 wx_arg_cache_file="configarg.cache"
2913 echo "loading argument cache $wx_arg_cache_file"
2914 rm -f ${wx_arg_cache_file}.tmp
2915 touch ${wx_arg_cache_file}.tmp
2916 touch ${wx_arg_cache_file}
2917
2918
2919 DEFAULT_wxUSE_ALL_FEATURES=yes
2920
2921 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2923
2924 DEFAULT_wxUSE_DMALLOC=no
2925 DEFAULT_wxUSE_LIBGNOMEVFS=no
2926 DEFAULT_wxUSE_LIBHILDON=no
2927 DEFAULT_wxUSE_LIBMSPACK=no
2928 DEFAULT_wxUSE_LIBSDL=no
2929 DEFAULT_wxUSE_ODBC=no
2930 DEFAULT_wxUSE_OPENGL=no
2931
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_DATAVIEWCTRL=no
2934 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2935 DEFAULT_wxUSE_MEDIACTRL=no
2936 DEFAULT_wxUSE_TAB_DIALOG=no
2937
2938 DEFAULT_wxUSE_UNICODE_UTF8=auto
2939 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2940
2941 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942
2943 DEFAULT_wxUSE_GTK2=yes
2944
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946
2947
2948 for toolkit in `echo $ALL_TOOLKITS`; do
2949 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 has_toolkit_in_cache=1
2952 eval "DEFAULT_$LINE"
2953 eval "CACHE_$toolkit=1"
2954
2955 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2956 if test "x$LINE" != "x" ; then
2957 eval "DEFAULT_$LINE"
2958 fi
2959 fi
2960 done
2961
2962
2963
2964
2965
2966 enablestring=disable
2967 defaultval=
2968 if test -z "$defaultval"; then
2969 if test x"$enablestring" = xdisable; then
2970 defaultval=yes
2971 else
2972 defaultval=no
2973 fi
2974 fi
2975
2976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2977 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2978 # Check whether --enable-gui was given.
2979 if test "${enable_gui+set}" = set; then
2980 enableval=$enable_gui;
2981 if test "$enableval" = yes; then
2982 wx_cv_use_gui='wxUSE_GUI=yes'
2983 else
2984 wx_cv_use_gui='wxUSE_GUI=no'
2985 fi
2986 cache=yes
2987
2988 else
2989
2990 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x ; then
2992 eval "DEFAULT_$LINE"
2993 fi
2994
2995 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2996
2997 fi
2998
2999
3000 eval "$wx_cv_use_gui"
3001 if test "x$cache" = xyes; then
3002 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3003 fi
3004
3005 if test x"$enablestring" = xdisable; then
3006 if test $wxUSE_GUI = yes; then
3007 result=no
3008 else
3009 result=yes
3010 fi
3011 else
3012 result=$wxUSE_GUI
3013 fi
3014
3015 { echo "$as_me:$LINENO: result: $result" >&5
3016 echo "${ECHO_T}$result" >&6; }
3017
3018
3019 enablestring=
3020 defaultval=
3021 if test -z "$defaultval"; then
3022 if test x"$enablestring" = xdisable; then
3023 defaultval=yes
3024 else
3025 defaultval=no
3026 fi
3027 fi
3028
3029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3030 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3031 # Check whether --enable-monolithic was given.
3032 if test "${enable_monolithic+set}" = set; then
3033 enableval=$enable_monolithic;
3034 if test "$enableval" = yes; then
3035 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3036 else
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3038 fi
3039 cache=yes
3040
3041 else
3042
3043 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3046 fi
3047
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3049
3050 fi
3051
3052
3053 eval "$wx_cv_use_monolithic"
3054 if test "x$cache" = xyes; then
3055 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3056 fi
3057
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = yes; then
3060 result=no
3061 else
3062 result=yes
3063 fi
3064 else
3065 result=$wxUSE_MONOLITHIC
3066 fi
3067
3068 { echo "$as_me:$LINENO: result: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3070
3071
3072 enablestring=
3073 defaultval=
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3076 defaultval=yes
3077 else
3078 defaultval=no
3079 fi
3080 fi
3081
3082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 else
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3091 fi
3092 cache=yes
3093
3094 else
3095
3096 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 fi
3100
3101 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3102
3103 fi
3104
3105
3106 eval "$wx_cv_use_plugins"
3107 if test "x$cache" = xyes; then
3108 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test x"$enablestring" = xdisable; then
3112 if test $wxUSE_PLUGINS = yes; then
3113 result=no
3114 else
3115 result=yes
3116 fi
3117 else
3118 result=$wxUSE_PLUGINS
3119 fi
3120
3121 { echo "$as_me:$LINENO: result: $result" >&5
3122 echo "${ECHO_T}$result" >&6; }
3123
3124
3125 withstring=without
3126 defaultval=$wxUSE_ALL_FEATURES
3127 if test -z "$defaultval"; then
3128 if test x"$withstring" = xwithout; then
3129 defaultval=yes
3130 else
3131 defaultval=no
3132 fi
3133 fi
3134 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3135 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3136
3137 # Check whether --with-subdirs was given.
3138 if test "${with_subdirs+set}" = set; then
3139 withval=$with_subdirs;
3140 if test "$withval" = yes; then
3141 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3142 else
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3144 fi
3145 cache=yes
3146
3147 else
3148
3149 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 fi
3153
3154 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3155
3156 fi
3157
3158
3159 eval "$wx_cv_use_subdirs"
3160 if test "x$cache" != xyes; then
3161 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3162 fi
3163
3164 if test x"$withstring" = xwithout; then
3165 if test $wxWITH_SUBDIRS = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxWITH_SUBDIRS
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177
3178 # Check whether --with-flavour was given.
3179 if test "${with_flavour+set}" = set; then
3180 withval=$with_flavour; WX_FLAVOUR="$withval"
3181 fi
3182
3183
3184 enablestring=
3185 defaultval=
3186 if test -z "$defaultval"; then
3187 if test x"$enablestring" = xdisable; then
3188 defaultval=yes
3189 else
3190 defaultval=no
3191 fi
3192 fi
3193
3194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3195 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3196 # Check whether --enable-official_build was given.
3197 if test "${enable_official_build+set}" = set; then
3198 enableval=$enable_official_build;
3199 if test "$enableval" = yes; then
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3201 else
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3203 fi
3204 cache=yes
3205
3206 else
3207
3208 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x ; then
3210 eval "DEFAULT_$LINE"
3211 fi
3212
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3214
3215 fi
3216
3217
3218 eval "$wx_cv_use_official_build"
3219 if test "x$cache" = xyes; then
3220 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3221 fi
3222
3223 if test x"$enablestring" = xdisable; then
3224 if test $wxUSE_OFFICIAL_BUILD = yes; then
3225 result=no
3226 else
3227 result=yes
3228 fi
3229 else
3230 result=$wxUSE_OFFICIAL_BUILD
3231 fi
3232
3233 { echo "$as_me:$LINENO: result: $result" >&5
3234 echo "${ECHO_T}$result" >&6; }
3235
3236 # Check whether --enable-vendor was given.
3237 if test "${enable_vendor+set}" = set; then
3238 enableval=$enable_vendor; VENDOR="$enableval"
3239 fi
3240
3241 if test "x$VENDOR" = "x"; then
3242 VENDOR="custom"
3243 fi
3244
3245
3246 enablestring=disable
3247 defaultval=
3248 if test -z "$defaultval"; then
3249 if test x"$enablestring" = xdisable; then
3250 defaultval=yes
3251 else
3252 defaultval=no
3253 fi
3254 fi
3255
3256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3257 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3258 # Check whether --enable-all-features was given.
3259 if test "${enable_all_features+set}" = set; then
3260 enableval=$enable_all_features;
3261 if test "$enableval" = yes; then
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3263 else
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3265 fi
3266 cache=yes
3267
3268 else
3269
3270 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3271 if test "x$LINE" != x ; then
3272 eval "DEFAULT_$LINE"
3273 fi
3274
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276
3277 fi
3278
3279
3280 eval "$wx_cv_use_all_features"
3281 if test "x$cache" = xyes; then
3282 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3283 fi
3284
3285 if test x"$enablestring" = xdisable; then
3286 if test $wxUSE_ALL_FEATURES = yes; then
3287 result=no
3288 else
3289 result=yes
3290 fi
3291 else
3292 result=$wxUSE_ALL_FEATURES
3293 fi
3294
3295 { echo "$as_me:$LINENO: result: $result" >&5
3296 echo "${ECHO_T}$result" >&6; }
3297
3298
3299
3300 if test "$wxUSE_GUI" = "yes"; then
3301
3302
3303 enablestring=
3304 defaultval=
3305 if test -z "$defaultval"; then
3306 if test x"$enablestring" = xdisable; then
3307 defaultval=yes
3308 else
3309 defaultval=no
3310 fi
3311 fi
3312
3313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3314 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3315 # Check whether --enable-universal was given.
3316 if test "${enable_universal+set}" = set; then
3317 enableval=$enable_universal;
3318 if test "$enableval" = yes; then
3319 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3320 else
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3322 fi
3323 cache=yes
3324
3325 else
3326
3327 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x ; then
3329 eval "DEFAULT_$LINE"
3330 fi
3331
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3333
3334 fi
3335
3336
3337 eval "$wx_cv_use_universal"
3338 if test "x$cache" = xyes; then
3339 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3340 fi
3341
3342 if test x"$enablestring" = xdisable; then
3343 if test $wxUSE_UNIVERSAL = yes; then
3344 result=no
3345 else
3346 result=yes
3347 fi
3348 else
3349 result=$wxUSE_UNIVERSAL
3350 fi
3351
3352 { echo "$as_me:$LINENO: result: $result" >&5
3353 echo "${ECHO_T}$result" >&6; }
3354
3355 if test "$wxUSE_UNIVERSAL" = "yes"; then
3356
3357 # Check whether --with-themes was given.
3358 if test "${with_themes+set}" = set; then
3359 withval=$with_themes; wxUNIV_THEMES="$withval"
3360 fi
3361
3362 fi
3363
3364
3365 # Check whether --with-gtk was given.
3366 if test "${with_gtk+set}" = set; then
3367 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-motif was given.
3372 if test "${with_motif+set}" = set; then
3373 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-mac was given.
3378 if test "${with_mac+set}" = set; then
3379 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-cocoa was given.
3384 if test "${with_cocoa+set}" = set; then
3385 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-wine was given.
3390 if test "${with_wine+set}" = set; then
3391 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3392 fi
3393
3394
3395 # Check whether --with-msw was given.
3396 if test "${with_msw+set}" = set; then
3397 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-pm was given.
3402 if test "${with_pm+set}" = set; then
3403 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mgl was given.
3408 if test "${with_mgl+set}" = set; then
3409 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-directfb was given.
3414 if test "${with_directfb+set}" = set; then
3415 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-microwin was given.
3420 if test "${with_microwin+set}" = set; then
3421 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-x11 was given.
3426 if test "${with_x11+set}" = set; then
3427 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 enablestring=
3432 defaultval=
3433 if test -z "$defaultval"; then
3434 if test x"$enablestring" = xdisable; then
3435 defaultval=yes
3436 else
3437 defaultval=no
3438 fi
3439 fi
3440
3441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3443 # Check whether --enable-nanox was given.
3444 if test "${enable_nanox+set}" = set; then
3445 enableval=$enable_nanox;
3446 if test "$enableval" = yes; then
3447 wx_cv_use_nanox='wxUSE_NANOX=yes'
3448 else
3449 wx_cv_use_nanox='wxUSE_NANOX=no'
3450 fi
3451 cache=yes
3452
3453 else
3454
3455 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x ; then
3457 eval "DEFAULT_$LINE"
3458 fi
3459
3460 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3461
3462 fi
3463
3464
3465 eval "$wx_cv_use_nanox"
3466 if test "x$cache" = xyes; then
3467 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3468 fi
3469
3470 if test x"$enablestring" = xdisable; then
3471 if test $wxUSE_NANOX = yes; then
3472 result=no
3473 else
3474 result=yes
3475 fi
3476 else
3477 result=$wxUSE_NANOX
3478 fi
3479
3480 { echo "$as_me:$LINENO: result: $result" >&5
3481 echo "${ECHO_T}$result" >&6; }
3482
3483
3484 # Check whether --enable-gtk2 was given.
3485 if test "${enable_gtk2+set}" = set; then
3486 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3487 fi
3488
3489
3490 enablestring=
3491 defaultval=
3492 if test -z "$defaultval"; then
3493 if test x"$enablestring" = xdisable; then
3494 defaultval=yes
3495 else
3496 defaultval=no
3497 fi
3498 fi
3499
3500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3502 # Check whether --enable-gpe was given.
3503 if test "${enable_gpe+set}" = set; then
3504 enableval=$enable_gpe;
3505 if test "$enableval" = yes; then
3506 wx_cv_use_gpe='wxUSE_GPE=yes'
3507 else
3508 wx_cv_use_gpe='wxUSE_GPE=no'
3509 fi
3510 cache=yes
3511
3512 else
3513
3514 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3515 if test "x$LINE" != x ; then
3516 eval "DEFAULT_$LINE"
3517 fi
3518
3519 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3520
3521 fi
3522
3523
3524 eval "$wx_cv_use_gpe"
3525 if test "x$cache" = xyes; then
3526 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3527 fi
3528
3529 if test x"$enablestring" = xdisable; then
3530 if test $wxUSE_GPE = yes; then
3531 result=no
3532 else
3533 result=yes
3534 fi
3535 else
3536 result=$wxUSE_GPE
3537 fi
3538
3539 { echo "$as_me:$LINENO: result: $result" >&5
3540 echo "${ECHO_T}$result" >&6; }
3541
3542
3543
3544
3545 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3546 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3547
3548 # Check whether --with-libpng was given.
3549 if test "${with_libpng+set}" = set; then
3550 withval=$with_libpng;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3559 else
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3563 fi
3564 cache=yes
3565
3566 else
3567
3568 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x ; then
3570 eval "DEFAULT_$LINE"
3571 fi
3572
3573 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3574
3575 fi
3576
3577
3578 eval "$wx_cv_use_libpng"
3579 if test "x$cache" = xyes; then
3580 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3581 fi
3582
3583 if test "$wxUSE_LIBPNG" = yes; then
3584 { echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6; }
3586 elif test "$wxUSE_LIBPNG" = no; then
3587 { echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6; }
3589 elif test "$wxUSE_LIBPNG" = sys; then
3590 { echo "$as_me:$LINENO: result: system version" >&5
3591 echo "${ECHO_T}system version" >&6; }
3592 elif test "$wxUSE_LIBPNG" = builtin; then
3593 { echo "$as_me:$LINENO: result: builtin version" >&5
3594 echo "${ECHO_T}builtin version" >&6; }
3595 else
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3599 fi
3600
3601
3602 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3603 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3604
3605 # Check whether --with-libjpeg was given.
3606 if test "${with_libjpeg+set}" = set; then
3607 withval=$with_libjpeg;
3608 if test "$withval" = yes; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3610 elif test "$withval" = no; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3612 elif test "$withval" = sys; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3614 elif test "$withval" = builtin; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3616 else
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3620 fi
3621 cache=yes
3622
3623 else
3624
3625 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x ; then
3627 eval "DEFAULT_$LINE"
3628 fi
3629
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3631
3632 fi
3633
3634
3635 eval "$wx_cv_use_libjpeg"
3636 if test "x$cache" = xyes; then
3637 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3638 fi
3639
3640 if test "$wxUSE_LIBJPEG" = yes; then
3641 { echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = no; then
3644 { echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = sys; then
3647 { echo "$as_me:$LINENO: result: system version" >&5
3648 echo "${ECHO_T}system version" >&6; }
3649 elif test "$wxUSE_LIBJPEG" = builtin; then
3650 { echo "$as_me:$LINENO: result: builtin version" >&5
3651 echo "${ECHO_T}builtin version" >&6; }
3652 else
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3656 fi
3657
3658
3659 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3660 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3661
3662 # Check whether --with-libtiff was given.
3663 if test "${with_libtiff+set}" = set; then
3664 withval=$with_libtiff;
3665 if test "$withval" = yes; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3667 elif test "$withval" = no; then
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3669 elif test "$withval" = sys; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3671 elif test "$withval" = builtin; then
3672 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3673 else
3674 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3675 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3676 { (exit 1); exit 1; }; }
3677 fi
3678 cache=yes
3679
3680 else
3681
3682 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 fi
3686
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3688
3689 fi
3690
3691
3692 eval "$wx_cv_use_libtiff"
3693 if test "x$cache" = xyes; then
3694 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_LIBTIFF" = yes; then
3698 { echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6; }
3700 elif test "$wxUSE_LIBTIFF" = no; then
3701 { echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6; }
3703 elif test "$wxUSE_LIBTIFF" = sys; then
3704 { echo "$as_me:$LINENO: result: system version" >&5
3705 echo "${ECHO_T}system version" >&6; }
3706 elif test "$wxUSE_LIBTIFF" = builtin; then
3707 { echo "$as_me:$LINENO: result: builtin version" >&5
3708 echo "${ECHO_T}builtin version" >&6; }
3709 else
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3713 fi
3714
3715
3716 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3717 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3718
3719 # Check whether --with-libxpm was given.
3720 if test "${with_libxpm+set}" = set; then
3721 withval=$with_libxpm;
3722 if test "$withval" = yes; then
3723 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3724 elif test "$withval" = no; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3726 elif test "$withval" = sys; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3728 elif test "$withval" = builtin; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735 cache=yes
3736
3737 else
3738
3739 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x ; then
3741 eval "DEFAULT_$LINE"
3742 fi
3743
3744 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3745
3746 fi
3747
3748
3749 eval "$wx_cv_use_libxpm"
3750 if test "x$cache" = xyes; then
3751 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$wxUSE_LIBXPM" = yes; then
3755 { echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6; }
3757 elif test "$wxUSE_LIBXPM" = no; then
3758 { echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6; }
3760 elif test "$wxUSE_LIBXPM" = sys; then
3761 { echo "$as_me:$LINENO: result: system version" >&5
3762 echo "${ECHO_T}system version" >&6; }
3763 elif test "$wxUSE_LIBXPM" = builtin; then
3764 { echo "$as_me:$LINENO: result: builtin version" >&5
3765 echo "${ECHO_T}builtin version" >&6; }
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772
3773 withstring=
3774 defaultval=$wxUSE_ALL_FEATURES
3775 if test -z "$defaultval"; then
3776 if test x"$withstring" = xwithout; then
3777 defaultval=yes
3778 else
3779 defaultval=no
3780 fi
3781 fi
3782 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3783 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3784
3785 # Check whether --with-libmspack was given.
3786 if test "${with_libmspack+set}" = set; then
3787 withval=$with_libmspack;
3788 if test "$withval" = yes; then
3789 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3790 else
3791 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3792 fi
3793 cache=yes
3794
3795 else
3796
3797 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 fi
3801
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3803
3804 fi
3805
3806
3807 eval "$wx_cv_use_libmspack"
3808 if test "x$cache" != xyes; then
3809 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3810 fi
3811
3812 if test x"$withstring" = xwithout; then
3813 if test $wxUSE_LIBMSPACK = yes; then
3814 result=no
3815 else
3816 result=yes
3817 fi
3818 else
3819 result=$wxUSE_LIBMSPACK
3820 fi
3821
3822 { echo "$as_me:$LINENO: result: $result" >&5
3823 echo "${ECHO_T}$result" >&6; }
3824
3825
3826 withstring=without
3827 defaultval=$wxUSE_ALL_FEATURES
3828 if test -z "$defaultval"; then
3829 if test x"$withstring" = xwithout; then
3830 defaultval=yes
3831 else
3832 defaultval=no
3833 fi
3834 fi
3835 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3836 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3837
3838 # Check whether --with-gnomeprint was given.
3839 if test "${with_gnomeprint+set}" = set; then
3840 withval=$with_gnomeprint;
3841 if test "$withval" = yes; then
3842 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3843 else
3844 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3845 fi
3846 cache=yes
3847
3848 else
3849
3850 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 fi
3854
3855 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3856
3857 fi
3858
3859
3860 eval "$wx_cv_use_gnomeprint"
3861 if test "x$cache" != xyes; then
3862 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBGNOMEPRINT = yes; then
3867 result=no
3868 else
3869 result=yes
3870 fi
3871 else
3872 result=$wxUSE_LIBGNOMEPRINT
3873 fi
3874
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3877
3878
3879 withstring=
3880 defaultval=$wxUSE_ALL_FEATURES
3881 if test -z "$defaultval"; then
3882 if test x"$withstring" = xwithout; then
3883 defaultval=yes
3884 else
3885 defaultval=no
3886 fi
3887 fi
3888 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3889 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3890
3891 # Check whether --with-gnomevfs was given.
3892 if test "${with_gnomevfs+set}" = set; then
3893 withval=$with_gnomevfs;
3894 if test "$withval" = yes; then
3895 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3896 else
3897 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3898 fi
3899 cache=yes
3900
3901 else
3902
3903 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x ; then
3905 eval "DEFAULT_$LINE"
3906 fi
3907
3908 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3909
3910 fi
3911
3912
3913 eval "$wx_cv_use_gnomevfs"
3914 if test "x$cache" != xyes; then
3915 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3916 fi
3917
3918 if test x"$withstring" = xwithout; then
3919 if test $wxUSE_LIBGNOMEVFS = yes; then
3920 result=no
3921 else
3922 result=yes
3923 fi
3924 else
3925 result=$wxUSE_LIBGNOMEVFS
3926 fi
3927
3928 { echo "$as_me:$LINENO: result: $result" >&5
3929 echo "${ECHO_T}$result" >&6; }
3930
3931
3932 withstring=
3933 defaultval=$wxUSE_ALL_FEATURES
3934 if test -z "$defaultval"; then
3935 if test x"$withstring" = xwithout; then
3936 defaultval=yes
3937 else
3938 defaultval=no
3939 fi
3940 fi
3941 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3942 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3943
3944 # Check whether --with-hildon was given.
3945 if test "${with_hildon+set}" = set; then
3946 withval=$with_hildon;
3947 if test "$withval" = yes; then
3948 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3949 else
3950 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3951 fi
3952 cache=yes
3953
3954 else
3955
3956 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x ; then
3958 eval "DEFAULT_$LINE"
3959 fi
3960
3961 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3962
3963 fi
3964
3965
3966 eval "$wx_cv_use_hildon"
3967 if test "x$cache" != xyes; then
3968 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_LIBHILDON = yes; then
3973 result=no
3974 else
3975 result=yes
3976 fi
3977 else
3978 result=$wxUSE_LIBHILDON
3979 fi
3980
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3983
3984
3985 withstring=
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3989 defaultval=yes
3990 else
3991 defaultval=no
3992 fi
3993 fi
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3996
3997 # Check whether --with-opengl was given.
3998 if test "${with_opengl+set}" = set; then
3999 withval=$with_opengl;
4000 if test "$withval" = yes; then
4001 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4002 else
4003 wx_cv_use_opengl='wxUSE_OPENGL=no'
4004 fi
4005 cache=yes
4006
4007 else
4008
4009 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 fi
4013
4014 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4015
4016 fi
4017
4018
4019 eval "$wx_cv_use_opengl"
4020 if test "x$cache" != xyes; then
4021 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4022 fi
4023
4024 if test x"$withstring" = xwithout; then
4025 if test $wxUSE_OPENGL = yes; then
4026 result=no
4027 else
4028 result=yes
4029 fi
4030 else
4031 result=$wxUSE_OPENGL
4032 fi
4033
4034 { echo "$as_me:$LINENO: result: $result" >&5
4035 echo "${ECHO_T}$result" >&6; }
4036
4037
4038 fi
4039
4040
4041 withstring=
4042 defaultval=$wxUSE_ALL_FEATURES
4043 if test -z "$defaultval"; then
4044 if test x"$withstring" = xwithout; then
4045 defaultval=yes
4046 else
4047 defaultval=no
4048 fi
4049 fi
4050 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4051 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4052
4053 # Check whether --with-dmalloc was given.
4054 if test "${with_dmalloc+set}" = set; then
4055 withval=$with_dmalloc;
4056 if test "$withval" = yes; then
4057 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4058 else
4059 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4060 fi
4061 cache=yes
4062
4063 else
4064
4065 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 fi
4069
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4071
4072 fi
4073
4074
4075 eval "$wx_cv_use_dmalloc"
4076 if test "x$cache" != xyes; then
4077 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4078 fi
4079
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_DMALLOC = yes; then
4082 result=no
4083 else
4084 result=yes
4085 fi
4086 else
4087 result=$wxUSE_DMALLOC
4088 fi
4089
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4092
4093
4094 withstring=
4095 defaultval=$wxUSE_ALL_FEATURES
4096 if test -z "$defaultval"; then
4097 if test x"$withstring" = xwithout; then
4098 defaultval=yes
4099 else
4100 defaultval=no
4101 fi
4102 fi
4103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4104 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4105
4106 # Check whether --with-sdl was given.
4107 if test "${with_sdl+set}" = set; then
4108 withval=$with_sdl;
4109 if test "$withval" = yes; then
4110 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4111 else
4112 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4113 fi
4114 cache=yes
4115
4116 else
4117
4118 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4121 fi
4122
4123 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4124
4125 fi
4126
4127
4128 eval "$wx_cv_use_sdl"
4129 if test "x$cache" != xyes; then
4130 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4131 fi
4132
4133 if test x"$withstring" = xwithout; then
4134 if test $wxUSE_LIBSDL = yes; then
4135 result=no
4136 else
4137 result=yes
4138 fi
4139 else
4140 result=$wxUSE_LIBSDL
4141 fi
4142
4143 { echo "$as_me:$LINENO: result: $result" >&5
4144 echo "${ECHO_T}$result" >&6; }
4145
4146
4147 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4148 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4149
4150 # Check whether --with-regex was given.
4151 if test "${with_regex+set}" = set; then
4152 withval=$with_regex;
4153 if test "$withval" = yes; then
4154 wx_cv_use_regex='wxUSE_REGEX=yes'
4155 elif test "$withval" = no; then
4156 wx_cv_use_regex='wxUSE_REGEX=no'
4157 elif test "$withval" = sys; then
4158 wx_cv_use_regex='wxUSE_REGEX=sys'
4159 elif test "$withval" = builtin; then
4160 wx_cv_use_regex='wxUSE_REGEX=builtin'
4161 else
4162 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4163 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4164 { (exit 1); exit 1; }; }
4165 fi
4166 cache=yes
4167
4168 else
4169
4170 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x ; then
4172 eval "DEFAULT_$LINE"
4173 fi
4174
4175 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4176
4177 fi
4178
4179
4180 eval "$wx_cv_use_regex"
4181 if test "x$cache" = xyes; then
4182 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_REGEX" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4188 elif test "$wxUSE_REGEX" = no; then
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4191 elif test "$wxUSE_REGEX" = sys; then
4192 { echo "$as_me:$LINENO: result: system version" >&5
4193 echo "${ECHO_T}system version" >&6; }
4194 elif test "$wxUSE_REGEX" = builtin; then
4195 { echo "$as_me:$LINENO: result: builtin version" >&5
4196 echo "${ECHO_T}builtin version" >&6; }
4197 else
4198 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4199 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4200 { (exit 1); exit 1; }; }
4201 fi
4202
4203
4204 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4205 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4206
4207 # Check whether --with-zlib was given.
4208 if test "${with_zlib+set}" = set; then
4209 withval=$with_zlib;
4210 if test "$withval" = yes; then
4211 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4212 elif test "$withval" = no; then
4213 wx_cv_use_zlib='wxUSE_ZLIB=no'
4214 elif test "$withval" = sys; then
4215 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4216 elif test "$withval" = builtin; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4218 else
4219 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4220 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4221 { (exit 1); exit 1; }; }
4222 fi
4223 cache=yes
4224
4225 else
4226
4227 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x ; then
4229 eval "DEFAULT_$LINE"
4230 fi
4231
4232 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4233
4234 fi
4235
4236
4237 eval "$wx_cv_use_zlib"
4238 if test "x$cache" = xyes; then
4239 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4240 fi
4241
4242 if test "$wxUSE_ZLIB" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 elif test "$wxUSE_ZLIB" = no; then
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 elif test "$wxUSE_ZLIB" = sys; then
4249 { echo "$as_me:$LINENO: result: system version" >&5
4250 echo "${ECHO_T}system version" >&6; }
4251 elif test "$wxUSE_ZLIB" = builtin; then
4252 { echo "$as_me:$LINENO: result: builtin version" >&5
4253 echo "${ECHO_T}builtin version" >&6; }
4254 else
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4258 fi
4259
4260
4261 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4262 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4263
4264 # Check whether --with-odbc was given.
4265 if test "${with_odbc+set}" = set; then
4266 withval=$with_odbc;
4267 if test "$withval" = yes; then
4268 wx_cv_use_odbc='wxUSE_ODBC=yes'
4269 elif test "$withval" = no; then
4270 wx_cv_use_odbc='wxUSE_ODBC=no'
4271 elif test "$withval" = sys; then
4272 wx_cv_use_odbc='wxUSE_ODBC=sys'
4273 elif test "$withval" = builtin; then
4274 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280 cache=yes
4281
4282 else
4283
4284 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 fi
4288
4289 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4290
4291 fi
4292
4293
4294 eval "$wx_cv_use_odbc"
4295 if test "x$cache" = xyes; then
4296 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4297 fi
4298
4299 if test "$wxUSE_ODBC" = yes; then
4300 { echo "$as_me:$LINENO: result: yes" >&5
4301 echo "${ECHO_T}yes" >&6; }
4302 elif test "$wxUSE_ODBC" = no; then
4303 { echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6; }
4305 elif test "$wxUSE_ODBC" = sys; then
4306 { echo "$as_me:$LINENO: result: system version" >&5
4307 echo "${ECHO_T}system version" >&6; }
4308 elif test "$wxUSE_ODBC" = builtin; then
4309 { echo "$as_me:$LINENO: result: builtin version" >&5
4310 echo "${ECHO_T}builtin version" >&6; }
4311 else
4312 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4313 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4314 { (exit 1); exit 1; }; }
4315 fi
4316
4317
4318 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4319 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4320
4321 # Check whether --with-expat was given.
4322 if test "${with_expat+set}" = set; then
4323 withval=$with_expat;
4324 if test "$withval" = yes; then
4325 wx_cv_use_expat='wxUSE_EXPAT=yes'
4326 elif test "$withval" = no; then
4327 wx_cv_use_expat='wxUSE_EXPAT=no'
4328 elif test "$withval" = sys; then
4329 wx_cv_use_expat='wxUSE_EXPAT=sys'
4330 elif test "$withval" = builtin; then
4331 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4332 else
4333 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4334 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4335 { (exit 1); exit 1; }; }
4336 fi
4337 cache=yes
4338
4339 else
4340
4341 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4344 fi
4345
4346 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4347
4348 fi
4349
4350
4351 eval "$wx_cv_use_expat"
4352 if test "x$cache" = xyes; then
4353 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4354 fi
4355
4356 if test "$wxUSE_EXPAT" = yes; then
4357 { echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6; }
4359 elif test "$wxUSE_EXPAT" = no; then
4360 { echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6; }
4362 elif test "$wxUSE_EXPAT" = sys; then
4363 { echo "$as_me:$LINENO: result: system version" >&5
4364 echo "${ECHO_T}system version" >&6; }
4365 elif test "$wxUSE_EXPAT" = builtin; then
4366 { echo "$as_me:$LINENO: result: builtin version" >&5
4367 echo "${ECHO_T}builtin version" >&6; }
4368 else
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4372 fi
4373
4374
4375
4376
4377 enablestring=disable
4378 defaultval=
4379 if test -z "$defaultval"; then
4380 if test x"$enablestring" = xdisable; then
4381 defaultval=yes
4382 else
4383 defaultval=no
4384 fi
4385 fi
4386
4387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4388 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4389 # Check whether --enable-shared was given.
4390 if test "${enable_shared+set}" = set; then
4391 enableval=$enable_shared;
4392 if test "$enableval" = yes; then
4393 wx_cv_use_shared='wxUSE_SHARED=yes'
4394 else
4395 wx_cv_use_shared='wxUSE_SHARED=no'
4396 fi
4397 cache=yes
4398
4399 else
4400
4401 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x ; then
4403 eval "DEFAULT_$LINE"
4404 fi
4405
4406 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4407
4408 fi
4409
4410
4411 eval "$wx_cv_use_shared"
4412 if test "x$cache" = xyes; then
4413 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4414 fi
4415
4416 if test x"$enablestring" = xdisable; then
4417 if test $wxUSE_SHARED = yes; then
4418 result=no
4419 else
4420 result=yes
4421 fi
4422 else
4423 result=$wxUSE_SHARED
4424 fi
4425
4426 { echo "$as_me:$LINENO: result: $result" >&5
4427 echo "${ECHO_T}$result" >&6; }
4428
4429
4430 enablestring=disable
4431 defaultval=
4432 if test -z "$defaultval"; then
4433 if test x"$enablestring" = xdisable; then
4434 defaultval=yes
4435 else
4436 defaultval=no
4437 fi
4438 fi
4439
4440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4441 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4442 # Check whether --enable-optimise was given.
4443 if test "${enable_optimise+set}" = set; then
4444 enableval=$enable_optimise;
4445 if test "$enableval" = yes; then
4446 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4447 else
4448 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4449 fi
4450 cache=yes
4451
4452 else
4453
4454 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4457 fi
4458
4459 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4460
4461 fi
4462
4463
4464 eval "$wx_cv_use_optimise"
4465 if test "x$cache" = xyes; then
4466 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test x"$enablestring" = xdisable; then
4470 if test $wxUSE_OPTIMISE = yes; then
4471 result=no
4472 else
4473 result=yes
4474 fi
4475 else
4476 result=$wxUSE_OPTIMISE
4477 fi
4478
4479 { echo "$as_me:$LINENO: result: $result" >&5
4480 echo "${ECHO_T}$result" >&6; }
4481
4482
4483 enablestring=
4484 defaultval=
4485 if test -z "$defaultval"; then
4486 if test x"$enablestring" = xdisable; then
4487 defaultval=yes
4488 else
4489 defaultval=no
4490 fi
4491 fi
4492
4493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4495 # Check whether --enable-debug was given.
4496 if test "${enable_debug+set}" = set; then
4497 enableval=$enable_debug;
4498 if test "$enableval" = yes; then
4499 wx_cv_use_debug='wxUSE_DEBUG=yes'
4500 else
4501 wx_cv_use_debug='wxUSE_DEBUG=no'
4502 fi
4503 cache=yes
4504
4505 else
4506
4507 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 fi
4511
4512 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4513
4514 fi
4515
4516
4517 eval "$wx_cv_use_debug"
4518 if test "x$cache" = xyes; then
4519 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4520 fi
4521
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_DEBUG = yes; then
4524 result=no
4525 else
4526 result=yes
4527 fi
4528 else
4529 result=$wxUSE_DEBUG
4530 fi
4531
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4534
4535
4536 enablestring=
4537 defaultval=
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4540 defaultval=yes
4541 else
4542 defaultval=no
4543 fi
4544 fi
4545
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4548 # Check whether --enable-stl was given.
4549 if test "${enable_stl+set}" = set; then
4550 enableval=$enable_stl;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_stl='wxUSE_STL=yes'
4553 else
4554 wx_cv_use_stl='wxUSE_STL=no'
4555 fi
4556 cache=yes
4557
4558 else
4559
4560 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4563 fi
4564
4565 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4566
4567 fi
4568
4569
4570 eval "$wx_cv_use_stl"
4571 if test "x$cache" = xyes; then
4572 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4573 fi
4574
4575 if test x"$enablestring" = xdisable; then
4576 if test $wxUSE_STL = yes; then
4577 result=no
4578 else
4579 result=yes
4580 fi
4581 else
4582 result=$wxUSE_STL
4583 fi
4584
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4587
4588
4589 enablestring=
4590 defaultval=
4591 if test -z "$defaultval"; then
4592 if test x"$enablestring" = xdisable; then
4593 defaultval=yes
4594 else
4595 defaultval=no
4596 fi
4597 fi
4598
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4601 # Check whether --enable-std_iostreams was given.
4602 if test "${enable_std_iostreams+set}" = set; then
4603 enableval=$enable_std_iostreams;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4606 else
4607 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4608 fi
4609 cache=yes
4610
4611 else
4612
4613 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x ; then
4615 eval "DEFAULT_$LINE"
4616 fi
4617
4618 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4619
4620 fi
4621
4622
4623 eval "$wx_cv_use_std_iostreams"
4624 if test "x$cache" = xyes; then
4625 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4626 fi
4627
4628 if test x"$enablestring" = xdisable; then
4629 if test $wxUSE_STD_IOSTREAM = yes; then
4630 result=no
4631 else
4632 result=yes
4633 fi
4634 else
4635 result=$wxUSE_STD_IOSTREAM
4636 fi
4637
4638 { echo "$as_me:$LINENO: result: $result" >&5
4639 echo "${ECHO_T}$result" >&6; }
4640
4641
4642 enablestring=
4643 defaultval=
4644 if test -z "$defaultval"; then
4645 if test x"$enablestring" = xdisable; then
4646 defaultval=yes
4647 else
4648 defaultval=no
4649 fi
4650 fi
4651
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4654 # Check whether --enable-std_string was given.
4655 if test "${enable_std_string+set}" = set; then
4656 enableval=$enable_std_string;
4657 if test "$enableval" = yes; then
4658 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4659 else
4660 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4661 fi
4662 cache=yes
4663
4664 else
4665
4666 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 fi
4670
4671 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4672
4673 fi
4674
4675
4676 eval "$wx_cv_use_std_string"
4677 if test "x$cache" = xyes; then
4678 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4679 fi
4680
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_STD_STRING = yes; then
4683 result=no
4684 else
4685 result=yes
4686 fi
4687 else
4688 result=$wxUSE_STD_STRING
4689 fi
4690
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4693
4694
4695 enablestring=disable
4696 defaultval=
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4699 defaultval=yes
4700 else
4701 defaultval=no
4702 fi
4703 fi
4704
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4707 # Check whether --enable-unicode was given.
4708 if test "${enable_unicode+set}" = set; then
4709 enableval=$enable_unicode;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4712 else
4713 wx_cv_use_unicode='wxUSE_UNICODE=no'
4714 fi
4715 cache=yes
4716
4717 else
4718
4719 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4720 if test "x$LINE" != x ; then
4721 eval "DEFAULT_$LINE"
4722 fi
4723
4724 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4725
4726 fi
4727
4728
4729 eval "$wx_cv_use_unicode"
4730 if test "x$cache" = xyes; then
4731 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test x"$enablestring" = xdisable; then
4735 if test $wxUSE_UNICODE = yes; then
4736 result=no
4737 else
4738 result=yes
4739 fi
4740 else
4741 result=$wxUSE_UNICODE
4742 fi
4743
4744 { echo "$as_me:$LINENO: result: $result" >&5
4745 echo "${ECHO_T}$result" >&6; }
4746
4747
4748 enablestring=
4749 defaultval=
4750 if test -z "$defaultval"; then
4751 if test x"$enablestring" = xdisable; then
4752 defaultval=yes
4753 else
4754 defaultval=no
4755 fi
4756 fi
4757
4758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4760 # Check whether --enable-mslu was given.
4761 if test "${enable_mslu+set}" = set; then
4762 enableval=$enable_mslu;
4763 if test "$enableval" = yes; then
4764 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4765 else
4766 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4767 fi
4768 cache=yes
4769
4770 else
4771
4772 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4773 if test "x$LINE" != x ; then
4774 eval "DEFAULT_$LINE"
4775 fi
4776
4777 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4778
4779 fi
4780
4781
4782 eval "$wx_cv_use_mslu"
4783 if test "x$cache" = xyes; then
4784 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test x"$enablestring" = xdisable; then
4788 if test $wxUSE_UNICODE_MSLU = yes; then
4789 result=no
4790 else
4791 result=yes
4792 fi
4793 else
4794 result=$wxUSE_UNICODE_MSLU
4795 fi
4796
4797 { echo "$as_me:$LINENO: result: $result" >&5
4798 echo "${ECHO_T}$result" >&6; }
4799
4800
4801 enablestring=
4802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4804 # Check whether --enable-utf8 was given.
4805 if test "${enable_utf8+set}" = set; then
4806 enableval=$enable_utf8;
4807 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4808 cache=yes
4809
4810 else
4811
4812 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x ; then
4814 eval "DEFAULT_$LINE"
4815 fi
4816
4817 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4818
4819 fi
4820
4821
4822 eval "$wx_cv_use_utf8"
4823 if test "x$cache" = xyes; then
4824 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4825 fi
4826
4827 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4828 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4829
4830
4831 enablestring=
4832 defaultval=
4833 if test -z "$defaultval"; then
4834 if test x"$enablestring" = xdisable; then
4835 defaultval=yes
4836 else
4837 defaultval=no
4838 fi
4839 fi
4840
4841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4843 # Check whether --enable-utf8only was given.
4844 if test "${enable_utf8only+set}" = set; then
4845 enableval=$enable_utf8only;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4848 else
4849 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4850 fi
4851 cache=yes
4852
4853 else
4854
4855 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x ; then
4857 eval "DEFAULT_$LINE"
4858 fi
4859
4860 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4861
4862 fi
4863
4864
4865 eval "$wx_cv_use_utf8only"
4866 if test "x$cache" = xyes; then
4867 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4868 fi
4869
4870 if test x"$enablestring" = xdisable; then
4871 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4872 result=no
4873 else
4874 result=yes
4875 fi
4876 else
4877 result=$wxUSE_UNICODE_UTF8_LOCALE
4878 fi
4879
4880 { echo "$as_me:$LINENO: result: $result" >&5
4881 echo "${ECHO_T}$result" >&6; }
4882
4883
4884 enablestring=
4885 defaultval=
4886 if test -z "$defaultval"; then
4887 if test x"$enablestring" = xdisable; then
4888 defaultval=yes
4889 else
4890 defaultval=no
4891 fi
4892 fi
4893
4894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4896 # Check whether --enable-extended_rtti was given.
4897 if test "${enable_extended_rtti+set}" = set; then
4898 enableval=$enable_extended_rtti;
4899 if test "$enableval" = yes; then
4900 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4901 else
4902 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4903 fi
4904 cache=yes
4905
4906 else
4907
4908 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4911 fi
4912
4913 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_extended_rtti"
4919 if test "x$cache" = xyes; then
4920 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4921 fi
4922
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_EXTENDED_RTTI = yes; then
4925 result=no
4926 else
4927 result=yes
4928 fi
4929 else
4930 result=$wxUSE_EXTENDED_RTTI
4931 fi
4932
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4935
4936 if test "$USE_OS2" = "1"; then
4937 DEFAULT_wxUSE_OMF=no
4938
4939 enablestring=
4940 defaultval=
4941 if test -z "$defaultval"; then
4942 if test x"$enablestring" = xdisable; then
4943 defaultval=yes
4944 else
4945 defaultval=no
4946 fi
4947 fi
4948
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4951 # Check whether --enable-omf was given.
4952 if test "${enable_omf+set}" = set; then
4953 enableval=$enable_omf;
4954 if test "$enableval" = yes; then
4955 wx_cv_use_omf='wxUSE_OMF=yes'
4956 else
4957 wx_cv_use_omf='wxUSE_OMF=no'
4958 fi
4959 cache=yes
4960
4961 else
4962
4963 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 fi
4967
4968 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4969
4970 fi
4971
4972
4973 eval "$wx_cv_use_omf"
4974 if test "x$cache" = xyes; then
4975 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test x"$enablestring" = xdisable; then
4979 if test $wxUSE_OMF = yes; then
4980 result=no
4981 else
4982 result=yes
4983 fi
4984 else
4985 result=$wxUSE_OMF
4986 fi
4987
4988 { echo "$as_me:$LINENO: result: $result" >&5
4989 echo "${ECHO_T}$result" >&6; }
4990
4991 fi
4992
4993 if test "$wxUSE_DEBUG" = "yes"; then
4994 DEFAULT_wxUSE_DEBUG_FLAG=yes
4995 DEFAULT_wxUSE_DEBUG_INFO=yes
4996 BUILD=debug
4997 elif test "$wxUSE_DEBUG" = "no"; then
4998 DEFAULT_wxUSE_DEBUG_FLAG=no
4999 DEFAULT_wxUSE_DEBUG_INFO=no
5000 BUILD=release
5001 fi
5002
5003
5004 enablestring=
5005 defaultval=
5006 if test -z "$defaultval"; then
5007 if test x"$enablestring" = xdisable; then
5008 defaultval=yes
5009 else
5010 defaultval=no
5011 fi
5012 fi
5013
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5016 # Check whether --enable-debug_flag was given.
5017 if test "${enable_debug_flag+set}" = set; then
5018 enableval=$enable_debug_flag;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5021 else
5022 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5023 fi
5024 cache=yes
5025
5026 else
5027
5028 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x ; then
5030 eval "DEFAULT_$LINE"
5031 fi
5032
5033 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5034
5035 fi
5036
5037
5038 eval "$wx_cv_use_debug_flag"
5039 if test "x$cache" = xyes; then
5040 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5041 fi
5042
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_DEBUG_FLAG = yes; then
5045 result=no
5046 else
5047 result=yes
5048 fi
5049 else
5050 result=$wxUSE_DEBUG_FLAG
5051 fi
5052
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5055
5056
5057 enablestring=
5058 defaultval=
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5061 defaultval=yes
5062 else
5063 defaultval=no
5064 fi
5065 fi
5066
5067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5068 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5069 # Check whether --enable-debug_info was given.
5070 if test "${enable_debug_info+set}" = set; then
5071 enableval=$enable_debug_info;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5074 else
5075 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5076 fi
5077 cache=yes
5078
5079 else
5080
5081 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 fi
5085
5086 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5087
5088 fi
5089
5090
5091 eval "$wx_cv_use_debug_info"
5092 if test "x$cache" = xyes; then
5093 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_DEBUG_INFO = yes; then
5098 result=no
5099 else
5100 result=yes
5101 fi
5102 else
5103 result=$wxUSE_DEBUG_INFO
5104 fi
5105
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5108
5109
5110 enablestring=
5111 defaultval=
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5122 # Check whether --enable-debug_gdb was given.
5123 if test "${enable_debug_gdb+set}" = set; then
5124 enableval=$enable_debug_gdb;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5127 else
5128 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5129 fi
5130 cache=yes
5131
5132 else
5133
5134 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5137 fi
5138
5139 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_debug_gdb"
5145 if test "x$cache" = xyes; then
5146 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test x"$enablestring" = xdisable; then
5150 if test $wxUSE_DEBUG_GDB = yes; then
5151 result=no
5152 else
5153 result=yes
5154 fi
5155 else
5156 result=$wxUSE_DEBUG_GDB
5157 fi
5158
5159 { echo "$as_me:$LINENO: result: $result" >&5
5160 echo "${ECHO_T}$result" >&6; }
5161
5162
5163 enablestring=
5164 defaultval=
5165 if test -z "$defaultval"; then
5166 if test x"$enablestring" = xdisable; then
5167 defaultval=yes
5168 else
5169 defaultval=no
5170 fi
5171 fi
5172
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5175 # Check whether --enable-debug_cntxt was given.
5176 if test "${enable_debug_cntxt+set}" = set; then
5177 enableval=$enable_debug_cntxt;
5178 if test "$enableval" = yes; then
5179 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5180 else
5181 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5182 fi
5183 cache=yes
5184
5185 else
5186
5187 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x ; then
5189 eval "DEFAULT_$LINE"
5190 fi
5191
5192 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5193
5194 fi
5195
5196
5197 eval "$wx_cv_use_debug_cntxt"
5198 if test "x$cache" = xyes; then
5199 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test x"$enablestring" = xdisable; then
5203 if test $wxUSE_DEBUG_CONTEXT = yes; then
5204 result=no
5205 else
5206 result=yes
5207 fi
5208 else
5209 result=$wxUSE_DEBUG_CONTEXT
5210 fi
5211
5212 { echo "$as_me:$LINENO: result: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5214
5215
5216 enablestring=
5217 defaultval=
5218 if test -z "$defaultval"; then
5219 if test x"$enablestring" = xdisable; then
5220 defaultval=yes
5221 else
5222 defaultval=no
5223 fi
5224 fi
5225
5226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5228 # Check whether --enable-mem_tracing was given.
5229 if test "${enable_mem_tracing+set}" = set; then
5230 enableval=$enable_mem_tracing;
5231 if test "$enableval" = yes; then
5232 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5233 else
5234 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5235 fi
5236 cache=yes
5237
5238 else
5239
5240 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x ; then
5242 eval "DEFAULT_$LINE"
5243 fi
5244
5245 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5246
5247 fi
5248
5249
5250 eval "$wx_cv_use_mem_tracing"
5251 if test "x$cache" = xyes; then
5252 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5253 fi
5254
5255 if test x"$enablestring" = xdisable; then
5256 if test $wxUSE_MEM_TRACING = yes; then
5257 result=no
5258 else
5259 result=yes
5260 fi
5261 else
5262 result=$wxUSE_MEM_TRACING
5263 fi
5264
5265 { echo "$as_me:$LINENO: result: $result" >&5
5266 echo "${ECHO_T}$result" >&6; }
5267
5268
5269 enablestring=
5270 defaultval=
5271 if test -z "$defaultval"; then
5272 if test x"$enablestring" = xdisable; then
5273 defaultval=yes
5274 else
5275 defaultval=no
5276 fi
5277 fi
5278
5279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5281 # Check whether --enable-profile was given.
5282 if test "${enable_profile+set}" = set; then
5283 enableval=$enable_profile;
5284 if test "$enableval" = yes; then
5285 wx_cv_use_profile='wxUSE_PROFILE=yes'
5286 else
5287 wx_cv_use_profile='wxUSE_PROFILE=no'
5288 fi
5289 cache=yes
5290
5291 else
5292
5293 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x ; then
5295 eval "DEFAULT_$LINE"
5296 fi
5297
5298 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5299
5300 fi
5301
5302
5303 eval "$wx_cv_use_profile"
5304 if test "x$cache" = xyes; then
5305 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_PROFILE = yes; then
5310 result=no
5311 else
5312 result=yes
5313 fi
5314 else
5315 result=$wxUSE_PROFILE
5316 fi
5317
5318 { echo "$as_me:$LINENO: result: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5320
5321
5322 enablestring=
5323 defaultval=
5324 if test -z "$defaultval"; then
5325 if test x"$enablestring" = xdisable; then
5326 defaultval=yes
5327 else
5328 defaultval=no
5329 fi
5330 fi
5331
5332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5334 # Check whether --enable-no_rtti was given.
5335 if test "${enable_no_rtti+set}" = set; then
5336 enableval=$enable_no_rtti;
5337 if test "$enableval" = yes; then
5338 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5339 else
5340 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5341 fi
5342 cache=yes
5343
5344 else
5345
5346 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x ; then
5348 eval "DEFAULT_$LINE"
5349 fi
5350
5351 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5352
5353 fi
5354
5355
5356 eval "$wx_cv_use_no_rtti"
5357 if test "x$cache" = xyes; then
5358 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5359 fi
5360
5361 if test x"$enablestring" = xdisable; then
5362 if test $wxUSE_NO_RTTI = yes; then
5363 result=no
5364 else
5365 result=yes
5366 fi
5367 else
5368 result=$wxUSE_NO_RTTI
5369 fi
5370
5371 { echo "$as_me:$LINENO: result: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5373
5374
5375 enablestring=
5376 defaultval=
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5379 defaultval=yes
5380 else
5381 defaultval=no
5382 fi
5383 fi
5384
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5387 # Check whether --enable-no_exceptions was given.
5388 if test "${enable_no_exceptions+set}" = set; then
5389 enableval=$enable_no_exceptions;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5392 else
5393 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5394 fi
5395 cache=yes
5396
5397 else
5398
5399 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5400 if test "x$LINE" != x ; then
5401 eval "DEFAULT_$LINE"
5402 fi
5403
5404 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5405
5406 fi
5407
5408
5409 eval "$wx_cv_use_no_exceptions"
5410 if test "x$cache" = xyes; then
5411 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test x"$enablestring" = xdisable; then
5415 if test $wxUSE_NO_EXCEPTIONS = yes; then
5416 result=no
5417 else
5418 result=yes
5419 fi
5420 else
5421 result=$wxUSE_NO_EXCEPTIONS
5422 fi
5423
5424 { echo "$as_me:$LINENO: result: $result" >&5
5425 echo "${ECHO_T}$result" >&6; }
5426
5427
5428 enablestring=
5429 defaultval=
5430 if test -z "$defaultval"; then
5431 if test x"$enablestring" = xdisable; then
5432 defaultval=yes
5433 else
5434 defaultval=no
5435 fi
5436 fi
5437
5438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5440 # Check whether --enable-permissive was given.
5441 if test "${enable_permissive+set}" = set; then
5442 enableval=$enable_permissive;
5443 if test "$enableval" = yes; then
5444 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5445 else
5446 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5447 fi
5448 cache=yes
5449
5450 else
5451
5452 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 fi
5456
5457 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5458
5459 fi
5460
5461
5462 eval "$wx_cv_use_permissive"
5463 if test "x$cache" = xyes; then
5464 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5465 fi
5466
5467 if test x"$enablestring" = xdisable; then
5468 if test $wxUSE_PERMISSIVE = yes; then
5469 result=no
5470 else
5471 result=yes
5472 fi
5473 else
5474 result=$wxUSE_PERMISSIVE
5475 fi
5476
5477 { echo "$as_me:$LINENO: result: $result" >&5
5478 echo "${ECHO_T}$result" >&6; }
5479
5480
5481 enablestring=
5482 defaultval=
5483 if test -z "$defaultval"; then
5484 if test x"$enablestring" = xdisable; then
5485 defaultval=yes
5486 else
5487 defaultval=no
5488 fi
5489 fi
5490
5491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5493 # Check whether --enable-no_deps was given.
5494 if test "${enable_no_deps+set}" = set; then
5495 enableval=$enable_no_deps;
5496 if test "$enableval" = yes; then
5497 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5498 else
5499 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5500 fi
5501 cache=yes
5502
5503 else
5504
5505 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 fi
5509
5510 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5511
5512 fi
5513
5514
5515 eval "$wx_cv_use_no_deps"
5516 if test "x$cache" = xyes; then
5517 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5518 fi
5519
5520 if test x"$enablestring" = xdisable; then
5521 if test $wxUSE_NO_DEPS = yes; then
5522 result=no
5523 else
5524 result=yes
5525 fi
5526 else
5527 result=$wxUSE_NO_DEPS
5528 fi
5529
5530 { echo "$as_me:$LINENO: result: $result" >&5
5531 echo "${ECHO_T}$result" >&6; }
5532
5533
5534 enablestring=disable
5535 defaultval=
5536 if test -z "$defaultval"; then
5537 if test x"$enablestring" = xdisable; then
5538 defaultval=yes
5539 else
5540 defaultval=no
5541 fi
5542 fi
5543
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5546 # Check whether --enable-vararg_macros was given.
5547 if test "${enable_vararg_macros+set}" = set; then
5548 enableval=$enable_vararg_macros;
5549 if test "$enableval" = yes; then
5550 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5551 else
5552 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5553 fi
5554 cache=yes
5555
5556 else
5557
5558 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 fi
5562
5563 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5564
5565 fi
5566
5567
5568 eval "$wx_cv_use_vararg_macros"
5569 if test "x$cache" = xyes; then
5570 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test x"$enablestring" = xdisable; then
5574 if test $wxUSE_VARARG_MACROS = yes; then
5575 result=no
5576 else
5577 result=yes
5578 fi
5579 else
5580 result=$wxUSE_VARARG_MACROS
5581 fi
5582
5583 { echo "$as_me:$LINENO: result: $result" >&5
5584 echo "${ECHO_T}$result" >&6; }
5585
5586
5587 enablestring=
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5590 # Check whether --enable-universal_binary was given.
5591 if test "${enable_universal_binary+set}" = set; then
5592 enableval=$enable_universal_binary;
5593 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5594 cache=yes
5595
5596 else
5597
5598 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 fi
5602
5603 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5604
5605 fi
5606
5607
5608 eval "$wx_cv_use_universal_binary"
5609 if test "x$cache" = xyes; then
5610 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5611 fi
5612
5613 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5614 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5615
5616
5617
5618 enablestring=
5619 defaultval=
5620 if test -z "$defaultval"; then
5621 if test x"$enablestring" = xdisable; then
5622 defaultval=yes
5623 else
5624 defaultval=no
5625 fi
5626 fi
5627
5628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5630 # Check whether --enable-compat26 was given.
5631 if test "${enable_compat26+set}" = set; then
5632 enableval=$enable_compat26;
5633 if test "$enableval" = yes; then
5634 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5635 else
5636 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5637 fi
5638 cache=yes
5639
5640 else
5641
5642 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x ; then
5644 eval "DEFAULT_$LINE"
5645 fi
5646
5647 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5648
5649 fi
5650
5651
5652 eval "$wx_cv_use_compat26"
5653 if test "x$cache" = xyes; then
5654 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5655 fi
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5659 result=no
5660 else
5661 result=yes
5662 fi
5663 else
5664 result=$WXWIN_COMPATIBILITY_2_6
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5669
5670
5671 enablestring=disable
5672 defaultval=
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5683 # Check whether --enable-compat28 was given.
5684 if test "${enable_compat28+set}" = set; then
5685 enableval=$enable_compat28;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5688 else
5689 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5690 fi
5691 cache=yes
5692
5693 else
5694
5695 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 fi
5699
5700 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5701
5702 fi
5703
5704
5705 eval "$wx_cv_use_compat28"
5706 if test "x$cache" = xyes; then
5707 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5708 fi
5709
5710 if test x"$enablestring" = xdisable; then
5711 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5712 result=no
5713 else
5714 result=yes
5715 fi
5716 else
5717 result=$WXWIN_COMPATIBILITY_2_8
5718 fi
5719
5720 { echo "$as_me:$LINENO: result: $result" >&5
5721 echo "${ECHO_T}$result" >&6; }
5722
5723
5724
5725 enablestring=disable
5726 defaultval=
5727 if test -z "$defaultval"; then
5728 if test x"$enablestring" = xdisable; then
5729 defaultval=yes
5730 else
5731 defaultval=no
5732 fi
5733 fi
5734
5735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5736 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5737 # Check whether --enable-rpath was given.
5738 if test "${enable_rpath+set}" = set; then
5739 enableval=$enable_rpath;
5740 if test "$enableval" = yes; then
5741 wx_cv_use_rpath='wxUSE_RPATH=yes'
5742 else
5743 wx_cv_use_rpath='wxUSE_RPATH=no'
5744 fi
5745 cache=yes
5746
5747 else
5748
5749 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x ; then
5751 eval "DEFAULT_$LINE"
5752 fi
5753
5754 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5755
5756 fi
5757
5758
5759 eval "$wx_cv_use_rpath"
5760 if test "x$cache" = xyes; then
5761 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_RPATH = yes; then
5766 result=no
5767 else
5768 result=yes
5769 fi
5770 else
5771 result=$wxUSE_RPATH
5772 fi
5773
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5776
5777
5778
5779 enablestring=
5780 defaultval=
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5783 defaultval=yes
5784 else
5785 defaultval=no
5786 fi
5787 fi
5788
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5791 # Check whether --enable-objc_uniquifying was given.
5792 if test "${enable_objc_uniquifying+set}" = set; then
5793 enableval=$enable_objc_uniquifying;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5796 else
5797 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5798 fi
5799 cache=yes
5800
5801 else
5802
5803 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5806 fi
5807
5808 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5809
5810 fi
5811
5812
5813 eval "$wx_cv_use_objc_uniquifying"
5814 if test "x$cache" = xyes; then
5815 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5816 fi
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5820 result=no
5821 else
5822 result=yes
5823 fi
5824 else
5825 result=$wxUSE_OBJC_UNIQUIFYING
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832
5833 enablestring=disable
5834 defaultval=
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5837 defaultval=yes
5838 else
5839 defaultval=no
5840 fi
5841 fi
5842
5843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5845 # Check whether --enable-visibility was given.
5846 if test "${enable_visibility+set}" = set; then
5847 enableval=$enable_visibility;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5850 else
5851 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5852 fi
5853 cache=yes
5854
5855 else
5856
5857 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5858 if test "x$LINE" != x ; then
5859 eval "DEFAULT_$LINE"
5860 fi
5861
5862 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5863
5864 fi
5865
5866
5867 eval "$wx_cv_use_visibility"
5868 if test "x$cache" = xyes; then
5869 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5870 fi
5871
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_VISIBILITY = yes; then
5874 result=no
5875 else
5876 result=yes
5877 fi
5878 else
5879 result=$wxUSE_VISIBILITY
5880 fi
5881
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5884
5885
5886
5887
5888 enablestring=
5889 defaultval=$wxUSE_ALL_FEATURES
5890 if test -z "$defaultval"; then
5891 if test x"$enablestring" = xdisable; then
5892 defaultval=yes
5893 else
5894 defaultval=no
5895 fi
5896 fi
5897
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5900 # Check whether --enable-intl was given.
5901 if test "${enable_intl+set}" = set; then
5902 enableval=$enable_intl;
5903 if test "$enableval" = yes; then
5904 wx_cv_use_intl='wxUSE_INTL=yes'
5905 else
5906 wx_cv_use_intl='wxUSE_INTL=no'
5907 fi
5908 cache=yes
5909
5910 else
5911
5912 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 fi
5916
5917 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5918
5919 fi
5920
5921
5922 eval "$wx_cv_use_intl"
5923 if test "x$cache" = xyes; then
5924 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5925 fi
5926
5927 if test x"$enablestring" = xdisable; then
5928 if test $wxUSE_INTL = yes; then
5929 result=no
5930 else
5931 result=yes
5932 fi
5933 else
5934 result=$wxUSE_INTL
5935 fi
5936
5937 { echo "$as_me:$LINENO: result: $result" >&5
5938 echo "${ECHO_T}$result" >&6; }
5939
5940
5941 enablestring=
5942 defaultval=$wxUSE_ALL_FEATURES
5943 if test -z "$defaultval"; then
5944 if test x"$enablestring" = xdisable; then
5945 defaultval=yes
5946 else
5947 defaultval=no
5948 fi
5949 fi
5950
5951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5952 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5953 # Check whether --enable-config was given.
5954 if test "${enable_config+set}" = set; then
5955 enableval=$enable_config;
5956 if test "$enableval" = yes; then
5957 wx_cv_use_config='wxUSE_CONFIG=yes'
5958 else
5959 wx_cv_use_config='wxUSE_CONFIG=no'
5960 fi
5961 cache=yes
5962
5963 else
5964
5965 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 fi
5969
5970 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5971
5972 fi
5973
5974
5975 eval "$wx_cv_use_config"
5976 if test "x$cache" = xyes; then
5977 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test x"$enablestring" = xdisable; then
5981 if test $wxUSE_CONFIG = yes; then
5982 result=no
5983 else
5984 result=yes
5985 fi
5986 else
5987 result=$wxUSE_CONFIG
5988 fi
5989
5990 { echo "$as_me:$LINENO: result: $result" >&5
5991 echo "${ECHO_T}$result" >&6; }
5992
5993
5994
5995 enablestring=
5996 defaultval=$wxUSE_ALL_FEATURES
5997 if test -z "$defaultval"; then
5998 if test x"$enablestring" = xdisable; then
5999 defaultval=yes
6000 else
6001 defaultval=no
6002 fi
6003 fi
6004
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6007 # Check whether --enable-protocols was given.
6008 if test "${enable_protocols+set}" = set; then
6009 enableval=$enable_protocols;
6010 if test "$enableval" = yes; then
6011 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6012 else
6013 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6014 fi
6015 cache=yes
6016
6017 else
6018
6019 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 fi
6023
6024 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6025
6026 fi
6027
6028
6029 eval "$wx_cv_use_protocols"
6030 if test "x$cache" = xyes; then
6031 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6032 fi
6033
6034 if test x"$enablestring" = xdisable; then
6035 if test $wxUSE_PROTOCOL = yes; then
6036 result=no
6037 else
6038 result=yes
6039 fi
6040 else
6041 result=$wxUSE_PROTOCOL
6042 fi
6043
6044 { echo "$as_me:$LINENO: result: $result" >&5
6045 echo "${ECHO_T}$result" >&6; }
6046
6047
6048 enablestring=
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6052 defaultval=yes
6053 else
6054 defaultval=no
6055 fi
6056 fi
6057
6058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6060 # Check whether --enable-ftp was given.
6061 if test "${enable_ftp+set}" = set; then
6062 enableval=$enable_ftp;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6065 else
6066 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6067 fi
6068 cache=yes
6069
6070 else
6071
6072 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6073 if test "x$LINE" != x ; then
6074 eval "DEFAULT_$LINE"
6075 fi
6076
6077 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6078
6079 fi
6080
6081
6082 eval "$wx_cv_use_ftp"
6083 if test "x$cache" = xyes; then
6084 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_PROTOCOL_FTP = yes; then
6089 result=no
6090 else
6091 result=yes
6092 fi
6093 else
6094 result=$wxUSE_PROTOCOL_FTP
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6113 # Check whether --enable-http was given.
6114 if test "${enable_http+set}" = set; then
6115 enableval=$enable_http;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6118 else
6119 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6120 fi
6121 cache=yes
6122
6123 else
6124
6125 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x ; then
6127 eval "DEFAULT_$LINE"
6128 fi
6129
6130 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6131
6132 fi
6133
6134
6135 eval "$wx_cv_use_http"
6136 if test "x$cache" = xyes; then
6137 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6138 fi
6139
6140 if test x"$enablestring" = xdisable; then
6141 if test $wxUSE_PROTOCOL_HTTP = yes; then
6142 result=no
6143 else
6144 result=yes
6145 fi
6146 else
6147 result=$wxUSE_PROTOCOL_HTTP
6148 fi
6149
6150 { echo "$as_me:$LINENO: result: $result" >&5
6151 echo "${ECHO_T}$result" >&6; }
6152
6153
6154 enablestring=
6155 defaultval=$wxUSE_ALL_FEATURES
6156 if test -z "$defaultval"; then
6157 if test x"$enablestring" = xdisable; then
6158 defaultval=yes
6159 else
6160 defaultval=no
6161 fi
6162 fi
6163
6164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6165 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6166 # Check whether --enable-fileproto was given.
6167 if test "${enable_fileproto+set}" = set; then
6168 enableval=$enable_fileproto;
6169 if test "$enableval" = yes; then
6170 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6171 else
6172 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6173 fi
6174 cache=yes
6175
6176 else
6177
6178 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6179 if test "x$LINE" != x ; then
6180 eval "DEFAULT_$LINE"
6181 fi
6182
6183 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6184
6185 fi
6186
6187
6188 eval "$wx_cv_use_fileproto"
6189 if test "x$cache" = xyes; then
6190 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6191 fi
6192
6193 if test x"$enablestring" = xdisable; then
6194 if test $wxUSE_PROTOCOL_FILE = yes; then
6195 result=no
6196 else
6197 result=yes
6198 fi
6199 else
6200 result=$wxUSE_PROTOCOL_FILE
6201 fi
6202
6203 { echo "$as_me:$LINENO: result: $result" >&5
6204 echo "${ECHO_T}$result" >&6; }
6205
6206
6207 enablestring=
6208 defaultval=$wxUSE_ALL_FEATURES
6209 if test -z "$defaultval"; then
6210 if test x"$enablestring" = xdisable; then
6211 defaultval=yes
6212 else
6213 defaultval=no
6214 fi
6215 fi
6216
6217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6219 # Check whether --enable-sockets was given.
6220 if test "${enable_sockets+set}" = set; then
6221 enableval=$enable_sockets;
6222 if test "$enableval" = yes; then
6223 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6224 else
6225 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6226 fi
6227 cache=yes
6228
6229 else
6230
6231 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 fi
6235
6236 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6237
6238 fi
6239
6240
6241 eval "$wx_cv_use_sockets"
6242 if test "x$cache" = xyes; then
6243 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6244 fi
6245
6246 if test x"$enablestring" = xdisable; then
6247 if test $wxUSE_SOCKETS = yes; then
6248 result=no
6249 else
6250 result=yes
6251 fi
6252 else
6253 result=$wxUSE_SOCKETS
6254 fi
6255
6256 { echo "$as_me:$LINENO: result: $result" >&5
6257 echo "${ECHO_T}$result" >&6; }
6258
6259
6260 enablestring=
6261 defaultval=$wxUSE_ALL_FEATURES
6262 if test -z "$defaultval"; then
6263 if test x"$enablestring" = xdisable; then
6264 defaultval=yes
6265 else
6266 defaultval=no
6267 fi
6268 fi
6269
6270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6272 # Check whether --enable-ole was given.
6273 if test "${enable_ole+set}" = set; then
6274 enableval=$enable_ole;
6275 if test "$enableval" = yes; then
6276 wx_cv_use_ole='wxUSE_OLE=yes'
6277 else
6278 wx_cv_use_ole='wxUSE_OLE=no'
6279 fi
6280 cache=yes
6281
6282 else
6283
6284 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 fi
6288
6289 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_ole"
6295 if test "x$cache" = xyes; then
6296 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test x"$enablestring" = xdisable; then
6300 if test $wxUSE_OLE = yes; then
6301 result=no
6302 else
6303 result=yes
6304 fi
6305 else
6306 result=$wxUSE_OLE
6307 fi
6308
6309 { echo "$as_me:$LINENO: result: $result" >&5
6310 echo "${ECHO_T}$result" >&6; }
6311
6312
6313 enablestring=
6314 defaultval=$wxUSE_ALL_FEATURES
6315 if test -z "$defaultval"; then
6316 if test x"$enablestring" = xdisable; then
6317 defaultval=yes
6318 else
6319 defaultval=no
6320 fi
6321 fi
6322
6323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6325 # Check whether --enable-dataobj was given.
6326 if test "${enable_dataobj+set}" = set; then
6327 enableval=$enable_dataobj;
6328 if test "$enableval" = yes; then
6329 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6330 else
6331 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6332 fi
6333 cache=yes
6334
6335 else
6336
6337 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 fi
6341
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6343
6344 fi
6345
6346
6347 eval "$wx_cv_use_dataobj"
6348 if test "x$cache" = xyes; then
6349 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_DATAOBJ = yes; then
6354 result=no
6355 else
6356 result=yes
6357 fi
6358 else
6359 result=$wxUSE_DATAOBJ
6360 fi
6361
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6364
6365
6366
6367 enablestring=
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6371 defaultval=yes
6372 else
6373 defaultval=no
6374 fi
6375 fi
6376
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6379 # Check whether --enable-ipc was given.
6380 if test "${enable_ipc+set}" = set; then
6381 enableval=$enable_ipc;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_ipc='wxUSE_IPC=yes'
6384 else
6385 wx_cv_use_ipc='wxUSE_IPC=no'
6386 fi
6387 cache=yes
6388
6389 else
6390
6391 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x ; then
6393 eval "DEFAULT_$LINE"
6394 fi
6395
6396 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$wx_cv_use_ipc"
6402 if test "x$cache" = xyes; then
6403 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6404 fi
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_IPC = yes; then
6408 result=no
6409 else
6410 result=yes
6411 fi
6412 else
6413 result=$wxUSE_IPC
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420
6421 enablestring=
6422 defaultval=$wxUSE_ALL_FEATURES
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6425 defaultval=yes
6426 else
6427 defaultval=no
6428 fi
6429 fi
6430
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6433 # Check whether --enable-baseevtloop was given.
6434 if test "${enable_baseevtloop+set}" = set; then
6435 enableval=$enable_baseevtloop;
6436 if test "$enableval" = yes; then
6437 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6438 else
6439 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6440 fi
6441 cache=yes
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 fi
6449
6450 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6451
6452 fi
6453
6454
6455 eval "$wx_cv_use_baseevtloop"
6456 if test "x$cache" = xyes; then
6457 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test x"$enablestring" = xdisable; then
6461 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6462 result=no
6463 else
6464 result=yes
6465 fi
6466 else
6467 result=$wxUSE_CONSOLE_EVENTLOOP
6468 fi
6469
6470 { echo "$as_me:$LINENO: result: $result" >&5
6471 echo "${ECHO_T}$result" >&6; }
6472
6473
6474 enablestring=
6475 defaultval=$wxUSE_ALL_FEATURES
6476 if test -z "$defaultval"; then
6477 if test x"$enablestring" = xdisable; then
6478 defaultval=yes
6479 else
6480 defaultval=no
6481 fi
6482 fi
6483
6484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6486 # Check whether --enable-epoolloop was given.
6487 if test "${enable_epoolloop+set}" = set; then
6488 enableval=$enable_epoolloop;
6489 if test "$enableval" = yes; then
6490 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6491 else
6492 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6493 fi
6494 cache=yes
6495
6496 else
6497
6498 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6499 if test "x$LINE" != x ; then
6500 eval "DEFAULT_$LINE"
6501 fi
6502
6503 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6504
6505 fi
6506
6507
6508 eval "$wx_cv_use_epoolloop"
6509 if test "x$cache" = xyes; then
6510 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test x"$enablestring" = xdisable; then
6514 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6515 result=no
6516 else
6517 result=yes
6518 fi
6519 else
6520 result=$wxUSE_EPOLL_DISPATCHER
6521 fi
6522
6523 { echo "$as_me:$LINENO: result: $result" >&5
6524 echo "${ECHO_T}$result" >&6; }
6525
6526
6527 enablestring=
6528 defaultval=$wxUSE_ALL_FEATURES
6529 if test -z "$defaultval"; then
6530 if test x"$enablestring" = xdisable; then
6531 defaultval=yes
6532 else
6533 defaultval=no
6534 fi
6535 fi
6536
6537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6538 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6539 # Check whether --enable-selectloop was given.
6540 if test "${enable_selectloop+set}" = set; then
6541 enableval=$enable_selectloop;
6542 if test "$enableval" = yes; then
6543 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6544 else
6545 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6546 fi
6547 cache=yes
6548
6549 else
6550
6551 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6554 fi
6555
6556 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6557
6558 fi
6559
6560
6561 eval "$wx_cv_use_selectloop"
6562 if test "x$cache" = xyes; then
6563 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6564 fi
6565
6566 if test x"$enablestring" = xdisable; then
6567 if test $wxUSE_SELECT_DISPATCHER = yes; then
6568 result=no
6569 else
6570 result=yes
6571 fi
6572 else
6573 result=$wxUSE_SELECT_DISPATCHER
6574 fi
6575
6576 { echo "$as_me:$LINENO: result: $result" >&5
6577 echo "${ECHO_T}$result" >&6; }
6578
6579
6580
6581 enablestring=
6582 defaultval=$wxUSE_ALL_FEATURES
6583 if test -z "$defaultval"; then
6584 if test x"$enablestring" = xdisable; then
6585 defaultval=yes
6586 else
6587 defaultval=no
6588 fi
6589 fi
6590
6591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6593 # Check whether --enable-apple_ieee was given.
6594 if test "${enable_apple_ieee+set}" = set; then
6595 enableval=$enable_apple_ieee;
6596 if test "$enableval" = yes; then
6597 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6598 else
6599 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6600 fi
6601 cache=yes
6602
6603 else
6604
6605 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x ; then
6607 eval "DEFAULT_$LINE"
6608 fi
6609
6610 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6611
6612 fi
6613
6614
6615 eval "$wx_cv_use_apple_ieee"
6616 if test "x$cache" = xyes; then
6617 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6618 fi
6619
6620 if test x"$enablestring" = xdisable; then
6621 if test $wxUSE_APPLE_IEEE = yes; then
6622 result=no
6623 else
6624 result=yes
6625 fi
6626 else
6627 result=$wxUSE_APPLE_IEEE
6628 fi
6629
6630 { echo "$as_me:$LINENO: result: $result" >&5
6631 echo "${ECHO_T}$result" >&6; }
6632
6633
6634 enablestring=
6635 defaultval=$wxUSE_ALL_FEATURES
6636 if test -z "$defaultval"; then
6637 if test x"$enablestring" = xdisable; then
6638 defaultval=yes
6639 else
6640 defaultval=no
6641 fi
6642 fi
6643
6644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6646 # Check whether --enable-arcstream was given.
6647 if test "${enable_arcstream+set}" = set; then
6648 enableval=$enable_arcstream;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6651 else
6652 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6653 fi
6654 cache=yes
6655
6656 else
6657
6658 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6661 fi
6662
6663 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6664
6665 fi
6666
6667
6668 eval "$wx_cv_use_arcstream"
6669 if test "x$cache" = xyes; then
6670 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6671 fi
6672
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6675 result=no
6676 else
6677 result=yes
6678 fi
6679 else
6680 result=$wxUSE_ARCHIVE_STREAMS
6681 fi
6682
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6685
6686
6687 enablestring=
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6691 defaultval=yes
6692 else
6693 defaultval=no
6694 fi
6695 fi
6696
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6699 # Check whether --enable-base64 was given.
6700 if test "${enable_base64+set}" = set; then
6701 enableval=$enable_base64;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_base64='wxUSE_BASE64=yes'
6704 else
6705 wx_cv_use_base64='wxUSE_BASE64=no'
6706 fi
6707 cache=yes
6708
6709 else
6710
6711 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x ; then
6713 eval "DEFAULT_$LINE"
6714 fi
6715
6716 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6717
6718 fi
6719
6720
6721 eval "$wx_cv_use_base64"
6722 if test "x$cache" = xyes; then
6723 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test x"$enablestring" = xdisable; then
6727 if test $wxUSE_BASE64 = yes; then
6728 result=no
6729 else
6730 result=yes
6731 fi
6732 else
6733 result=$wxUSE_BASE64
6734 fi
6735
6736 { echo "$as_me:$LINENO: result: $result" >&5
6737 echo "${ECHO_T}$result" >&6; }
6738
6739
6740 enablestring=
6741 defaultval=$wxUSE_ALL_FEATURES
6742 if test -z "$defaultval"; then
6743 if test x"$enablestring" = xdisable; then
6744 defaultval=yes
6745 else
6746 defaultval=no
6747 fi
6748 fi
6749
6750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6752 # Check whether --enable-backtrace was given.
6753 if test "${enable_backtrace+set}" = set; then
6754 enableval=$enable_backtrace;
6755 if test "$enableval" = yes; then
6756 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6757 else
6758 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6759 fi
6760 cache=yes
6761
6762 else
6763
6764 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 fi
6768
6769 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6770
6771 fi
6772
6773
6774 eval "$wx_cv_use_backtrace"
6775 if test "x$cache" = xyes; then
6776 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6777 fi
6778
6779 if test x"$enablestring" = xdisable; then
6780 if test $wxUSE_STACKWALKER = yes; then
6781 result=no
6782 else
6783 result=yes
6784 fi
6785 else
6786 result=$wxUSE_STACKWALKER
6787 fi
6788
6789 { echo "$as_me:$LINENO: result: $result" >&5
6790 echo "${ECHO_T}$result" >&6; }
6791
6792
6793 enablestring=
6794 defaultval=$wxUSE_ALL_FEATURES
6795 if test -z "$defaultval"; then
6796 if test x"$enablestring" = xdisable; then
6797 defaultval=yes
6798 else
6799 defaultval=no
6800 fi
6801 fi
6802
6803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6805 # Check whether --enable-catch_segvs was given.
6806 if test "${enable_catch_segvs+set}" = set; then
6807 enableval=$enable_catch_segvs;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6810 else
6811 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6812 fi
6813 cache=yes
6814
6815 else
6816
6817 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 fi
6821
6822 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6823
6824 fi
6825
6826
6827 eval "$wx_cv_use_catch_segvs"
6828 if test "x$cache" = xyes; then
6829 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6830 fi
6831
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6834 result=no
6835 else
6836 result=yes
6837 fi
6838 else
6839 result=$wxUSE_ON_FATAL_EXCEPTION
6840 fi
6841
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6844
6845
6846 enablestring=
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6850 defaultval=yes
6851 else
6852 defaultval=no
6853 fi
6854 fi
6855
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6858 # Check whether --enable-cmdline was given.
6859 if test "${enable_cmdline+set}" = set; then
6860 enableval=$enable_cmdline;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6863 else
6864 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6865 fi
6866 cache=yes
6867
6868 else
6869
6870 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x ; then
6872 eval "DEFAULT_$LINE"
6873 fi
6874
6875 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_cmdline"
6881 if test "x$cache" = xyes; then
6882 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6883 fi
6884
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_CMDLINE_PARSER = yes; then
6887 result=no
6888 else
6889 result=yes
6890 fi
6891 else
6892 result=$wxUSE_CMDLINE_PARSER
6893 fi
6894
6895 { echo "$as_me:$LINENO: result: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6897
6898
6899 enablestring=
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6903 defaultval=yes
6904 else
6905 defaultval=no
6906 fi
6907 fi
6908
6909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6911 # Check whether --enable-datetime was given.
6912 if test "${enable_datetime+set}" = set; then
6913 enableval=$enable_datetime;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6916 else
6917 wx_cv_use_datetime='wxUSE_DATETIME=no'
6918 fi
6919 cache=yes
6920
6921 else
6922
6923 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x ; then
6925 eval "DEFAULT_$LINE"
6926 fi
6927
6928 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6929
6930 fi
6931
6932
6933 eval "$wx_cv_use_datetime"
6934 if test "x$cache" = xyes; then
6935 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test x"$enablestring" = xdisable; then
6939 if test $wxUSE_DATETIME = yes; then
6940 result=no
6941 else
6942 result=yes
6943 fi
6944 else
6945 result=$wxUSE_DATETIME
6946 fi
6947
6948 { echo "$as_me:$LINENO: result: $result" >&5
6949 echo "${ECHO_T}$result" >&6; }
6950
6951
6952 enablestring=
6953 defaultval=$wxUSE_ALL_FEATURES
6954 if test -z "$defaultval"; then
6955 if test x"$enablestring" = xdisable; then
6956 defaultval=yes
6957 else
6958 defaultval=no
6959 fi
6960 fi
6961
6962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6964 # Check whether --enable-debugreport was given.
6965 if test "${enable_debugreport+set}" = set; then
6966 enableval=$enable_debugreport;
6967 if test "$enableval" = yes; then
6968 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6969 else
6970 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6971 fi
6972 cache=yes
6973
6974 else
6975
6976 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6979 fi
6980
6981 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6982
6983 fi
6984
6985
6986 eval "$wx_cv_use_debugreport"
6987 if test "x$cache" = xyes; then
6988 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test x"$enablestring" = xdisable; then
6992 if test $wxUSE_DEBUGREPORT = yes; then
6993 result=no
6994 else
6995 result=yes
6996 fi
6997 else
6998 result=$wxUSE_DEBUGREPORT
6999 fi
7000
7001 { echo "$as_me:$LINENO: result: $result" >&5
7002 echo "${ECHO_T}$result" >&6; }
7003
7004
7005 enablestring=
7006 defaultval=$wxUSE_ALL_FEATURES
7007 if test -z "$defaultval"; then
7008 if test x"$enablestring" = xdisable; then
7009 defaultval=yes
7010 else
7011 defaultval=no
7012 fi
7013 fi
7014
7015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7017 # Check whether --enable-dialupman was given.
7018 if test "${enable_dialupman+set}" = set; then
7019 enableval=$enable_dialupman;
7020 if test "$enableval" = yes; then
7021 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7022 else
7023 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7024 fi
7025 cache=yes
7026
7027 else
7028
7029 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x ; then
7031 eval "DEFAULT_$LINE"
7032 fi
7033
7034 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7035
7036 fi
7037
7038
7039 eval "$wx_cv_use_dialupman"
7040 if test "x$cache" = xyes; then
7041 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7042 fi
7043
7044 if test x"$enablestring" = xdisable; then
7045 if test $wxUSE_DIALUP_MANAGER = yes; then
7046 result=no
7047 else
7048 result=yes
7049 fi
7050 else
7051 result=$wxUSE_DIALUP_MANAGER
7052 fi
7053
7054 { echo "$as_me:$LINENO: result: $result" >&5
7055 echo "${ECHO_T}$result" >&6; }
7056
7057
7058 enablestring=
7059 defaultval=$wxUSE_ALL_FEATURES
7060 if test -z "$defaultval"; then
7061 if test x"$enablestring" = xdisable; then
7062 defaultval=yes
7063 else
7064 defaultval=no
7065 fi
7066 fi
7067
7068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7070 # Check whether --enable-dynlib was given.
7071 if test "${enable_dynlib+set}" = set; then
7072 enableval=$enable_dynlib;
7073 if test "$enableval" = yes; then
7074 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7075 else
7076 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7077 fi
7078 cache=yes
7079
7080 else
7081
7082 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7085 fi
7086
7087 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7088
7089 fi
7090
7091
7092 eval "$wx_cv_use_dynlib"
7093 if test "x$cache" = xyes; then
7094 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7095 fi
7096
7097 if test x"$enablestring" = xdisable; then
7098 if test $wxUSE_DYNLIB_CLASS = yes; then
7099 result=no
7100 else
7101 result=yes
7102 fi
7103 else
7104 result=$wxUSE_DYNLIB_CLASS
7105 fi
7106
7107 { echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6; }
7109
7110
7111 enablestring=
7112 defaultval=$wxUSE_ALL_FEATURES
7113 if test -z "$defaultval"; then
7114 if test x"$enablestring" = xdisable; then
7115 defaultval=yes
7116 else
7117 defaultval=no
7118 fi
7119 fi
7120
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7123 # Check whether --enable-dynamicloader was given.
7124 if test "${enable_dynamicloader+set}" = set; then
7125 enableval=$enable_dynamicloader;
7126 if test "$enableval" = yes; then
7127 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7128 else
7129 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7130 fi
7131 cache=yes
7132
7133 else
7134
7135 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x ; then
7137 eval "DEFAULT_$LINE"
7138 fi
7139
7140 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7141
7142 fi
7143
7144
7145 eval "$wx_cv_use_dynamicloader"
7146 if test "x$cache" = xyes; then
7147 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test x"$enablestring" = xdisable; then
7151 if test $wxUSE_DYNAMIC_LOADER = yes; then
7152 result=no
7153 else
7154 result=yes
7155 fi
7156 else
7157 result=$wxUSE_DYNAMIC_LOADER
7158 fi
7159
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7162
7163
7164 enablestring=
7165 defaultval=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x"$enablestring" = xdisable; then
7168 defaultval=yes
7169 else
7170 defaultval=no
7171 fi
7172 fi
7173
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7176 # Check whether --enable-exceptions was given.
7177 if test "${enable_exceptions+set}" = set; then
7178 enableval=$enable_exceptions;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7181 else
7182 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7183 fi
7184 cache=yes
7185
7186 else
7187
7188 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 fi
7192
7193 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7194
7195 fi
7196
7197
7198 eval "$wx_cv_use_exceptions"
7199 if test "x$cache" = xyes; then
7200 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7201 fi
7202
7203 if test x"$enablestring" = xdisable; then
7204 if test $wxUSE_EXCEPTIONS = yes; then
7205 result=no
7206 else
7207 result=yes
7208 fi
7209 else
7210 result=$wxUSE_EXCEPTIONS
7211 fi
7212
7213 { echo "$as_me:$LINENO: result: $result" >&5
7214 echo "${ECHO_T}$result" >&6; }
7215
7216
7217 enablestring=
7218 defaultval=$wxUSE_ALL_FEATURES
7219 if test -z "$defaultval"; then
7220 if test x"$enablestring" = xdisable; then
7221 defaultval=yes
7222 else
7223 defaultval=no
7224 fi
7225 fi
7226
7227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7228 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7229 # Check whether --enable-ffile was given.
7230 if test "${enable_ffile+set}" = set; then
7231 enableval=$enable_ffile;
7232 if test "$enableval" = yes; then
7233 wx_cv_use_ffile='wxUSE_FFILE=yes'
7234 else
7235 wx_cv_use_ffile='wxUSE_FFILE=no'
7236 fi
7237 cache=yes
7238
7239 else
7240
7241 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 fi
7245
7246 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7247
7248 fi
7249
7250
7251 eval "$wx_cv_use_ffile"
7252 if test "x$cache" = xyes; then
7253 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7254 fi
7255
7256 if test x"$enablestring" = xdisable; then
7257 if test $wxUSE_FFILE = yes; then
7258 result=no
7259 else
7260 result=yes
7261 fi
7262 else
7263 result=$wxUSE_FFILE
7264 fi
7265
7266 { echo "$as_me:$LINENO: result: $result" >&5
7267 echo "${ECHO_T}$result" >&6; }
7268
7269
7270 enablestring=
7271 defaultval=$wxUSE_ALL_FEATURES
7272 if test -z "$defaultval"; then
7273 if test x"$enablestring" = xdisable; then
7274 defaultval=yes
7275 else
7276 defaultval=no
7277 fi
7278 fi
7279
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7282 # Check whether --enable-file was given.
7283 if test "${enable_file+set}" = set; then
7284 enableval=$enable_file;
7285 if test "$enableval" = yes; then
7286 wx_cv_use_file='wxUSE_FILE=yes'
7287 else
7288 wx_cv_use_file='wxUSE_FILE=no'
7289 fi
7290 cache=yes
7291
7292 else
7293
7294 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 fi
7298
7299 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7300
7301 fi
7302
7303
7304 eval "$wx_cv_use_file"
7305 if test "x$cache" = xyes; then
7306 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7307 fi
7308
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_FILE = yes; then
7311 result=no
7312 else
7313 result=yes
7314 fi
7315 else
7316 result=$wxUSE_FILE
7317 fi
7318
7319 { echo "$as_me:$LINENO: result: $result" >&5
7320 echo "${ECHO_T}$result" >&6; }
7321
7322
7323 enablestring=
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7327 defaultval=yes
7328 else
7329 defaultval=no
7330 fi
7331 fi
7332
7333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7335 # Check whether --enable-filesystem was given.
7336 if test "${enable_filesystem+set}" = set; then
7337 enableval=$enable_filesystem;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7340 else
7341 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7342 fi
7343 cache=yes
7344
7345 else
7346
7347 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 fi
7351
7352 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7353
7354 fi
7355
7356
7357 eval "$wx_cv_use_filesystem"
7358 if test "x$cache" = xyes; then
7359 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7360 fi
7361
7362 if test x"$enablestring" = xdisable; then
7363 if test $wxUSE_FILESYSTEM = yes; then
7364 result=no
7365 else
7366 result=yes
7367 fi
7368 else
7369 result=$wxUSE_FILESYSTEM
7370 fi
7371
7372 { echo "$as_me:$LINENO: result: $result" >&5
7373 echo "${ECHO_T}$result" >&6; }
7374
7375
7376 enablestring=
7377 defaultval=$wxUSE_ALL_FEATURES
7378 if test -z "$defaultval"; then
7379 if test x"$enablestring" = xdisable; then
7380 defaultval=yes
7381 else
7382 defaultval=no
7383 fi
7384 fi
7385
7386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7388 # Check whether --enable-fontenum was given.
7389 if test "${enable_fontenum+set}" = set; then
7390 enableval=$enable_fontenum;
7391 if test "$enableval" = yes; then
7392 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7393 else
7394 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7395 fi
7396 cache=yes
7397
7398 else
7399
7400 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7401 if test "x$LINE" != x ; then
7402 eval "DEFAULT_$LINE"
7403 fi
7404
7405 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7406
7407 fi
7408
7409
7410 eval "$wx_cv_use_fontenum"
7411 if test "x$cache" = xyes; then
7412 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_FONTENUM = yes; then
7417 result=no
7418 else
7419 result=yes
7420 fi
7421 else
7422 result=$wxUSE_FONTENUM
7423 fi
7424
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7427
7428
7429 enablestring=
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7433 defaultval=yes
7434 else
7435 defaultval=no
7436 fi
7437 fi
7438
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7441 # Check whether --enable-fontmap was given.
7442 if test "${enable_fontmap+set}" = set; then
7443 enableval=$enable_fontmap;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7446 else
7447 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7448 fi
7449 cache=yes
7450
7451 else
7452
7453 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7456 fi
7457
7458 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_fontmap"
7464 if test "x$cache" = xyes; then
7465 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test x"$enablestring" = xdisable; then
7469 if test $wxUSE_FONTMAP = yes; then
7470 result=no
7471 else
7472 result=yes
7473 fi
7474 else
7475 result=$wxUSE_FONTMAP
7476 fi
7477
7478 { echo "$as_me:$LINENO: result: $result" >&5
7479 echo "${ECHO_T}$result" >&6; }
7480
7481
7482 enablestring=
7483 defaultval=$wxUSE_ALL_FEATURES
7484 if test -z "$defaultval"; then
7485 if test x"$enablestring" = xdisable; then
7486 defaultval=yes
7487 else
7488 defaultval=no
7489 fi
7490 fi
7491
7492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7493 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7494 # Check whether --enable-fs_archive was given.
7495 if test "${enable_fs_archive+set}" = set; then
7496 enableval=$enable_fs_archive;
7497 if test "$enableval" = yes; then
7498 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7499 else
7500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7501 fi
7502 cache=yes
7503
7504 else
7505
7506 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7509 fi
7510
7511 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7512
7513 fi
7514
7515
7516 eval "$wx_cv_use_fs_archive"
7517 if test "x$cache" = xyes; then
7518 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7519 fi
7520
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_FS_ARCHIVE = yes; then
7523 result=no
7524 else
7525 result=yes
7526 fi
7527 else
7528 result=$wxUSE_FS_ARCHIVE
7529 fi
7530
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7533
7534
7535 enablestring=
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7539 defaultval=yes
7540 else
7541 defaultval=no
7542 fi
7543 fi
7544
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7547 # Check whether --enable-fs_inet was given.
7548 if test "${enable_fs_inet+set}" = set; then
7549 enableval=$enable_fs_inet;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7552 else
7553 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7554 fi
7555 cache=yes
7556
7557 else
7558
7559 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x ; then
7561 eval "DEFAULT_$LINE"
7562 fi
7563
7564 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7565
7566 fi
7567
7568
7569 eval "$wx_cv_use_fs_inet"
7570 if test "x$cache" = xyes; then
7571 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7572 fi
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_FS_INET = yes; then
7576 result=no
7577 else
7578 result=yes
7579 fi
7580 else
7581 result=$wxUSE_FS_INET
7582 fi
7583
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7586
7587
7588 enablestring=
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7592 defaultval=yes
7593 else
7594 defaultval=no
7595 fi
7596 fi
7597
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7600 # Check whether --enable-fs_zip was given.
7601 if test "${enable_fs_zip+set}" = set; then
7602 enableval=$enable_fs_zip;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7605 else
7606 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7607 fi
7608 cache=yes
7609
7610 else
7611
7612 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7615 fi
7616
7617 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7618
7619 fi
7620
7621
7622 eval "$wx_cv_use_fs_zip"
7623 if test "x$cache" = xyes; then
7624 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7625 fi
7626
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_FS_ZIP = yes; then
7629 result=no
7630 else
7631 result=yes
7632 fi
7633 else
7634 result=$wxUSE_FS_ZIP
7635 fi
7636
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7639
7640
7641 enablestring=
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7645 defaultval=yes
7646 else
7647 defaultval=no
7648 fi
7649 fi
7650
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7653 # Check whether --enable-geometry was given.
7654 if test "${enable_geometry+set}" = set; then
7655 enableval=$enable_geometry;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7658 else
7659 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7660 fi
7661 cache=yes
7662
7663 else
7664
7665 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7666 if test "x$LINE" != x ; then
7667 eval "DEFAULT_$LINE"
7668 fi
7669
7670 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7671
7672 fi
7673
7674
7675 eval "$wx_cv_use_geometry"
7676 if test "x$cache" = xyes; then
7677 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7678 fi
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_GEOMETRY = yes; then
7682 result=no
7683 else
7684 result=yes
7685 fi
7686 else
7687 result=$wxUSE_GEOMETRY
7688 fi
7689
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7706 # Check whether --enable-log was given.
7707 if test "${enable_log+set}" = set; then
7708 enableval=$enable_log;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_log='wxUSE_LOG=yes'
7711 else
7712 wx_cv_use_log='wxUSE_LOG=no'
7713 fi
7714 cache=yes
7715
7716 else
7717
7718 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x ; then
7720 eval "DEFAULT_$LINE"
7721 fi
7722
7723 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7724
7725 fi
7726
7727
7728 eval "$wx_cv_use_log"
7729 if test "x$cache" = xyes; then
7730 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7731 fi
7732
7733 if test x"$enablestring" = xdisable; then
7734 if test $wxUSE_LOG = yes; then
7735 result=no
7736 else
7737 result=yes
7738 fi
7739 else
7740 result=$wxUSE_LOG
7741 fi
7742
7743 { echo "$as_me:$LINENO: result: $result" >&5
7744 echo "${ECHO_T}$result" >&6; }
7745
7746
7747 enablestring=
7748 defaultval=$wxUSE_ALL_FEATURES
7749 if test -z "$defaultval"; then
7750 if test x"$enablestring" = xdisable; then
7751 defaultval=yes
7752 else
7753 defaultval=no
7754 fi
7755 fi
7756
7757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7759 # Check whether --enable-longlong was given.
7760 if test "${enable_longlong+set}" = set; then
7761 enableval=$enable_longlong;
7762 if test "$enableval" = yes; then
7763 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7764 else
7765 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7766 fi
7767 cache=yes
7768
7769 else
7770
7771 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 fi
7775
7776 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7777
7778 fi
7779
7780
7781 eval "$wx_cv_use_longlong"
7782 if test "x$cache" = xyes; then
7783 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7784 fi
7785
7786 if test x"$enablestring" = xdisable; then
7787 if test $wxUSE_LONGLONG = yes; then
7788 result=no
7789 else
7790 result=yes
7791 fi
7792 else
7793 result=$wxUSE_LONGLONG
7794 fi
7795
7796 { echo "$as_me:$LINENO: result: $result" >&5
7797 echo "${ECHO_T}$result" >&6; }
7798
7799
7800 enablestring=
7801 defaultval=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x"$enablestring" = xdisable; then
7804 defaultval=yes
7805 else
7806 defaultval=no
7807 fi
7808 fi
7809
7810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7812 # Check whether --enable-mimetype was given.
7813 if test "${enable_mimetype+set}" = set; then
7814 enableval=$enable_mimetype;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7817 else
7818 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7819 fi
7820 cache=yes
7821
7822 else
7823
7824 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x ; then
7826 eval "DEFAULT_$LINE"
7827 fi
7828
7829 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7830
7831 fi
7832
7833
7834 eval "$wx_cv_use_mimetype"
7835 if test "x$cache" = xyes; then
7836 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_MIMETYPE = yes; then
7841 result=no
7842 else
7843 result=yes
7844 fi
7845 else
7846 result=$wxUSE_MIMETYPE
7847 fi
7848
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7851
7852
7853 enablestring=
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7857 defaultval=yes
7858 else
7859 defaultval=no
7860 fi
7861 fi
7862
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7865 # Check whether --enable-snglinst was given.
7866 if test "${enable_snglinst+set}" = set; then
7867 enableval=$enable_snglinst;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7870 else
7871 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7872 fi
7873 cache=yes
7874
7875 else
7876
7877 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7878 if test "x$LINE" != x ; then
7879 eval "DEFAULT_$LINE"
7880 fi
7881
7882 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7883
7884 fi
7885
7886
7887 eval "$wx_cv_use_snglinst"
7888 if test "x$cache" = xyes; then
7889 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7890 fi
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_SNGLINST_CHECKER = yes; then
7894 result=no
7895 else
7896 result=yes
7897 fi
7898 else
7899 result=$wxUSE_SNGLINST_CHECKER
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7918 # Check whether --enable-stdpaths was given.
7919 if test "${enable_stdpaths+set}" = set; then
7920 enableval=$enable_stdpaths;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7923 else
7924 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7925 fi
7926 cache=yes
7927
7928 else
7929
7930 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 fi
7934
7935 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7936
7937 fi
7938
7939
7940 eval "$wx_cv_use_stdpaths"
7941 if test "x$cache" = xyes; then
7942 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_STDPATHS = yes; then
7947 result=no
7948 else
7949 result=yes
7950 fi
7951 else
7952 result=$wxUSE_STDPATHS
7953 fi
7954
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7957
7958
7959 enablestring=
7960 defaultval=$wxUSE_ALL_FEATURES
7961 if test -z "$defaultval"; then
7962 if test x"$enablestring" = xdisable; then
7963 defaultval=yes
7964 else
7965 defaultval=no
7966 fi
7967 fi
7968
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7971 # Check whether --enable-stopwatch was given.
7972 if test "${enable_stopwatch+set}" = set; then
7973 enableval=$enable_stopwatch;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7976 else
7977 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7978 fi
7979 cache=yes
7980
7981 else
7982
7983 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7986 fi
7987
7988 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7989
7990 fi
7991
7992
7993 eval "$wx_cv_use_stopwatch"
7994 if test "x$cache" = xyes; then
7995 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7996 fi
7997
7998 if test x"$enablestring" = xdisable; then
7999 if test $wxUSE_STOPWATCH = yes; then
8000 result=no
8001 else
8002 result=yes
8003 fi
8004 else
8005 result=$wxUSE_STOPWATCH
8006 fi
8007
8008 { echo "$as_me:$LINENO: result: $result" >&5
8009 echo "${ECHO_T}$result" >&6; }
8010
8011
8012 enablestring=
8013 defaultval=$wxUSE_ALL_FEATURES
8014 if test -z "$defaultval"; then
8015 if test x"$enablestring" = xdisable; then
8016 defaultval=yes
8017 else
8018 defaultval=no
8019 fi
8020 fi
8021
8022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8023 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8024 # Check whether --enable-streams was given.
8025 if test "${enable_streams+set}" = set; then
8026 enableval=$enable_streams;
8027 if test "$enableval" = yes; then
8028 wx_cv_use_streams='wxUSE_STREAMS=yes'
8029 else
8030 wx_cv_use_streams='wxUSE_STREAMS=no'
8031 fi
8032 cache=yes
8033
8034 else
8035
8036 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x ; then
8038 eval "DEFAULT_$LINE"
8039 fi
8040
8041 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8042
8043 fi
8044
8045
8046 eval "$wx_cv_use_streams"
8047 if test "x$cache" = xyes; then
8048 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8049 fi
8050
8051 if test x"$enablestring" = xdisable; then
8052 if test $wxUSE_STREAMS = yes; then
8053 result=no
8054 else
8055 result=yes
8056 fi
8057 else
8058 result=$wxUSE_STREAMS
8059 fi
8060
8061 { echo "$as_me:$LINENO: result: $result" >&5
8062 echo "${ECHO_T}$result" >&6; }
8063
8064
8065 enablestring=
8066 defaultval=$wxUSE_ALL_FEATURES
8067 if test -z "$defaultval"; then
8068 if test x"$enablestring" = xdisable; then
8069 defaultval=yes
8070 else
8071 defaultval=no
8072 fi
8073 fi
8074
8075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8077 # Check whether --enable-system_options was given.
8078 if test "${enable_system_options+set}" = set; then
8079 enableval=$enable_system_options;
8080 if test "$enableval" = yes; then
8081 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8082 else
8083 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8084 fi
8085 cache=yes
8086
8087 else
8088
8089 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 fi
8093
8094 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8095
8096 fi
8097
8098
8099 eval "$wx_cv_use_system_options"
8100 if test "x$cache" = xyes; then
8101 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8102 fi
8103
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8106 result=no
8107 else
8108 result=yes
8109 fi
8110 else
8111 result=$wxUSE_SYSTEM_OPTIONS
8112 fi
8113
8114 { echo "$as_me:$LINENO: result: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8116
8117
8118 enablestring=
8119 defaultval=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x"$enablestring" = xdisable; then
8122 defaultval=yes
8123 else
8124 defaultval=no
8125 fi
8126 fi
8127
8128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8130 # Check whether --enable-tarstream was given.
8131 if test "${enable_tarstream+set}" = set; then
8132 enableval=$enable_tarstream;
8133 if test "$enableval" = yes; then
8134 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8135 else
8136 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8137 fi
8138 cache=yes
8139
8140 else
8141
8142 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x ; then
8144 eval "DEFAULT_$LINE"
8145 fi
8146
8147 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8148
8149 fi
8150
8151
8152 eval "$wx_cv_use_tarstream"
8153 if test "x$cache" = xyes; then
8154 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8155 fi
8156
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_TARSTREAM = yes; then
8159 result=no
8160 else
8161 result=yes
8162 fi
8163 else
8164 result=$wxUSE_TARSTREAM
8165 fi
8166
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8169
8170
8171 enablestring=
8172 defaultval=$wxUSE_ALL_FEATURES
8173 if test -z "$defaultval"; then
8174 if test x"$enablestring" = xdisable; then
8175 defaultval=yes
8176 else
8177 defaultval=no
8178 fi
8179 fi
8180
8181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8183 # Check whether --enable-textbuf was given.
8184 if test "${enable_textbuf+set}" = set; then
8185 enableval=$enable_textbuf;
8186 if test "$enableval" = yes; then
8187 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8188 else
8189 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8190 fi
8191 cache=yes
8192
8193 else
8194
8195 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x ; then
8197 eval "DEFAULT_$LINE"
8198 fi
8199
8200 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_textbuf"
8206 if test "x$cache" = xyes; then
8207 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8208 fi
8209
8210 if test x"$enablestring" = xdisable; then
8211 if test $wxUSE_TEXTBUFFER = yes; then
8212 result=no
8213 else
8214 result=yes
8215 fi
8216 else
8217 result=$wxUSE_TEXTBUFFER
8218 fi
8219
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8222
8223
8224 enablestring=
8225 defaultval=$wxUSE_ALL_FEATURES
8226 if test -z "$defaultval"; then
8227 if test x"$enablestring" = xdisable; then
8228 defaultval=yes
8229 else
8230 defaultval=no
8231 fi
8232 fi
8233
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8236 # Check whether --enable-textfile was given.
8237 if test "${enable_textfile+set}" = set; then
8238 enableval=$enable_textfile;
8239 if test "$enableval" = yes; then
8240 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8241 else
8242 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8243 fi
8244 cache=yes
8245
8246 else
8247
8248 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 fi
8252
8253 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8254
8255 fi
8256
8257
8258 eval "$wx_cv_use_textfile"
8259 if test "x$cache" = xyes; then
8260 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8261 fi
8262
8263 if test x"$enablestring" = xdisable; then
8264 if test $wxUSE_TEXTFILE = yes; then
8265 result=no
8266 else
8267 result=yes
8268 fi
8269 else
8270 result=$wxUSE_TEXTFILE
8271 fi
8272
8273 { echo "$as_me:$LINENO: result: $result" >&5
8274 echo "${ECHO_T}$result" >&6; }
8275
8276
8277 enablestring=
8278 defaultval=$wxUSE_ALL_FEATURES
8279 if test -z "$defaultval"; then
8280 if test x"$enablestring" = xdisable; then
8281 defaultval=yes
8282 else
8283 defaultval=no
8284 fi
8285 fi
8286
8287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8289 # Check whether --enable-timer was given.
8290 if test "${enable_timer+set}" = set; then
8291 enableval=$enable_timer;
8292 if test "$enableval" = yes; then
8293 wx_cv_use_timer='wxUSE_TIMER=yes'
8294 else
8295 wx_cv_use_timer='wxUSE_TIMER=no'
8296 fi
8297 cache=yes
8298
8299 else
8300
8301 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8304 fi
8305
8306 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8307
8308 fi
8309
8310
8311 eval "$wx_cv_use_timer"
8312 if test "x$cache" = xyes; then
8313 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test x"$enablestring" = xdisable; then
8317 if test $wxUSE_TIMER = yes; then
8318 result=no
8319 else
8320 result=yes
8321 fi
8322 else
8323 result=$wxUSE_TIMER
8324 fi
8325
8326 { echo "$as_me:$LINENO: result: $result" >&5
8327 echo "${ECHO_T}$result" >&6; }
8328
8329
8330 enablestring=
8331 defaultval=$wxUSE_ALL_FEATURES
8332 if test -z "$defaultval"; then
8333 if test x"$enablestring" = xdisable; then
8334 defaultval=yes
8335 else
8336 defaultval=no
8337 fi
8338 fi
8339
8340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8342 # Check whether --enable-sound was given.
8343 if test "${enable_sound+set}" = set; then
8344 enableval=$enable_sound;
8345 if test "$enableval" = yes; then
8346 wx_cv_use_sound='wxUSE_SOUND=yes'
8347 else
8348 wx_cv_use_sound='wxUSE_SOUND=no'
8349 fi
8350 cache=yes
8351
8352 else
8353
8354 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8357 fi
8358
8359 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8360
8361 fi
8362
8363
8364 eval "$wx_cv_use_sound"
8365 if test "x$cache" = xyes; then
8366 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8367 fi
8368
8369 if test x"$enablestring" = xdisable; then
8370 if test $wxUSE_SOUND = yes; then
8371 result=no
8372 else
8373 result=yes
8374 fi
8375 else
8376 result=$wxUSE_SOUND
8377 fi
8378
8379 { echo "$as_me:$LINENO: result: $result" >&5
8380 echo "${ECHO_T}$result" >&6; }
8381
8382
8383 enablestring=
8384 defaultval=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x"$enablestring" = xdisable; then
8387 defaultval=yes
8388 else
8389 defaultval=no
8390 fi
8391 fi
8392
8393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8394 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8395 # Check whether --enable-mediactrl was given.
8396 if test "${enable_mediactrl+set}" = set; then
8397 enableval=$enable_mediactrl;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8400 else
8401 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8402 fi
8403 cache=yes
8404
8405 else
8406
8407 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x ; then
8409 eval "DEFAULT_$LINE"
8410 fi
8411
8412 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8413
8414 fi
8415
8416
8417 eval "$wx_cv_use_mediactrl"
8418 if test "x$cache" = xyes; then
8419 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8420 fi
8421
8422 if test x"$enablestring" = xdisable; then
8423 if test $wxUSE_MEDIACTRL = yes; then
8424 result=no
8425 else
8426 result=yes
8427 fi
8428 else
8429 result=$wxUSE_MEDIACTRL
8430 fi
8431
8432 { echo "$as_me:$LINENO: result: $result" >&5
8433 echo "${ECHO_T}$result" >&6; }
8434
8435
8436 enablestring=
8437 defaultval=$wxUSE_ALL_FEATURES
8438 if test -z "$defaultval"; then
8439 if test x"$enablestring" = xdisable; then
8440 defaultval=yes
8441 else
8442 defaultval=no
8443 fi
8444 fi
8445
8446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8448 # Check whether --enable-gstreamer8 was given.
8449 if test "${enable_gstreamer8+set}" = set; then
8450 enableval=$enable_gstreamer8;
8451 if test "$enableval" = yes; then
8452 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8453 else
8454 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8455 fi
8456 cache=yes
8457
8458 else
8459
8460 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 fi
8464
8465 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8466
8467 fi
8468
8469
8470 eval "$wx_cv_use_gstreamer8"
8471 if test "x$cache" = xyes; then
8472 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_GSTREAMER8 = yes; then
8477 result=no
8478 else
8479 result=yes
8480 fi
8481 else
8482 result=$wxUSE_GSTREAMER8
8483 fi
8484
8485 { echo "$as_me:$LINENO: result: $result" >&5
8486 echo "${ECHO_T}$result" >&6; }
8487
8488
8489 enablestring=
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8493 defaultval=yes
8494 else
8495 defaultval=no
8496 fi
8497 fi
8498
8499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8501 # Check whether --enable-printfposparam was given.
8502 if test "${enable_printfposparam+set}" = set; then
8503 enableval=$enable_printfposparam;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8506 else
8507 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8508 fi
8509 cache=yes
8510
8511 else
8512
8513 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8514 if test "x$LINE" != x ; then
8515 eval "DEFAULT_$LINE"
8516 fi
8517
8518 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8519
8520 fi
8521
8522
8523 eval "$wx_cv_use_printfposparam"
8524 if test "x$cache" = xyes; then
8525 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8526 fi
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8530 result=no
8531 else
8532 result=yes
8533 fi
8534 else
8535 result=$wxUSE_PRINTF_POS_PARAMS
8536 fi
8537
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8554 # Check whether --enable-zipstream was given.
8555 if test "${enable_zipstream+set}" = set; then
8556 enableval=$enable_zipstream;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8559 else
8560 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8561 fi
8562 cache=yes
8563
8564 else
8565
8566 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 fi
8570
8571 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8572
8573 fi
8574
8575
8576 eval "$wx_cv_use_zipstream"
8577 if test "x$cache" = xyes; then
8578 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test x"$enablestring" = xdisable; then
8582 if test $wxUSE_ZIPSTREAM = yes; then
8583 result=no
8584 else
8585 result=yes
8586 fi
8587 else
8588 result=$wxUSE_ZIPSTREAM
8589 fi
8590
8591 { echo "$as_me:$LINENO: result: $result" >&5
8592 echo "${ECHO_T}$result" >&6; }
8593
8594
8595
8596 enablestring=
8597 defaultval=$wxUSE_ALL_FEATURES
8598 if test -z "$defaultval"; then
8599 if test x"$enablestring" = xdisable; then
8600 defaultval=yes
8601 else
8602 defaultval=no
8603 fi
8604 fi
8605
8606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8608 # Check whether --enable-url was given.
8609 if test "${enable_url+set}" = set; then
8610 enableval=$enable_url;
8611 if test "$enableval" = yes; then
8612 wx_cv_use_url='wxUSE_URL=yes'
8613 else
8614 wx_cv_use_url='wxUSE_URL=no'
8615 fi
8616 cache=yes
8617
8618 else
8619
8620 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 fi
8624
8625 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8626
8627 fi
8628
8629
8630 eval "$wx_cv_use_url"
8631 if test "x$cache" = xyes; then
8632 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test x"$enablestring" = xdisable; then
8636 if test $wxUSE_URL = yes; then
8637 result=no
8638 else
8639 result=yes
8640 fi
8641 else
8642 result=$wxUSE_URL
8643 fi
8644
8645 { echo "$as_me:$LINENO: result: $result" >&5
8646 echo "${ECHO_T}$result" >&6; }
8647
8648
8649 enablestring=
8650 defaultval=$wxUSE_ALL_FEATURES
8651 if test -z "$defaultval"; then
8652 if test x"$enablestring" = xdisable; then
8653 defaultval=yes
8654 else
8655 defaultval=no
8656 fi
8657 fi
8658
8659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8661 # Check whether --enable-variant was given.
8662 if test "${enable_variant+set}" = set; then
8663 enableval=$enable_variant;
8664 if test "$enableval" = yes; then
8665 wx_cv_use_variant='wxUSE_VARIANT=yes'
8666 else
8667 wx_cv_use_variant='wxUSE_VARIANT=no'
8668 fi
8669 cache=yes
8670
8671 else
8672
8673 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8674 if test "x$LINE" != x ; then
8675 eval "DEFAULT_$LINE"
8676 fi
8677
8678 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8679
8680 fi
8681
8682
8683 eval "$wx_cv_use_variant"
8684 if test "x$cache" = xyes; then
8685 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_VARIANT = yes; then
8690 result=no
8691 else
8692 result=yes
8693 fi
8694 else
8695 result=$wxUSE_VARIANT
8696 fi
8697
8698 { echo "$as_me:$LINENO: result: $result" >&5
8699 echo "${ECHO_T}$result" >&6; }
8700
8701
8702 enablestring=
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8706 defaultval=yes
8707 else
8708 defaultval=no
8709 fi
8710 fi
8711
8712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8714 # Check whether --enable-protocol was given.
8715 if test "${enable_protocol+set}" = set; then
8716 enableval=$enable_protocol;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8719 else
8720 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8721 fi
8722 cache=yes
8723
8724 else
8725
8726 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x ; then
8728 eval "DEFAULT_$LINE"
8729 fi
8730
8731 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8732
8733 fi
8734
8735
8736 eval "$wx_cv_use_protocol"
8737 if test "x$cache" = xyes; then
8738 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8739 fi
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_PROTOCOL = yes; then
8743 result=no
8744 else
8745 result=yes
8746 fi
8747 else
8748 result=$wxUSE_PROTOCOL
8749 fi
8750
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8767 # Check whether --enable-protocol_http was given.
8768 if test "${enable_protocol_http+set}" = set; then
8769 enableval=$enable_protocol_http;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8772 else
8773 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8774 fi
8775 cache=yes
8776
8777 else
8778
8779 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8782 fi
8783
8784 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8785
8786 fi
8787
8788
8789 eval "$wx_cv_use_protocol_http"
8790 if test "x$cache" = xyes; then
8791 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8792 fi
8793
8794 if test x"$enablestring" = xdisable; then
8795 if test $wxUSE_PROTOCOL_HTTP = yes; then
8796 result=no
8797 else
8798 result=yes
8799 fi
8800 else
8801 result=$wxUSE_PROTOCOL_HTTP
8802 fi
8803
8804 { echo "$as_me:$LINENO: result: $result" >&5
8805 echo "${ECHO_T}$result" >&6; }
8806
8807
8808 enablestring=
8809 defaultval=$wxUSE_ALL_FEATURES
8810 if test -z "$defaultval"; then
8811 if test x"$enablestring" = xdisable; then
8812 defaultval=yes
8813 else
8814 defaultval=no
8815 fi
8816 fi
8817
8818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8820 # Check whether --enable-protocol_ftp was given.
8821 if test "${enable_protocol_ftp+set}" = set; then
8822 enableval=$enable_protocol_ftp;
8823 if test "$enableval" = yes; then
8824 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8825 else
8826 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8827 fi
8828 cache=yes
8829
8830 else
8831
8832 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 fi
8836
8837 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8838
8839 fi
8840
8841
8842 eval "$wx_cv_use_protocol_ftp"
8843 if test "x$cache" = xyes; then
8844 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8845 fi
8846
8847 if test x"$enablestring" = xdisable; then
8848 if test $wxUSE_PROTOCOL_FTP = yes; then
8849 result=no
8850 else
8851 result=yes
8852 fi
8853 else
8854 result=$wxUSE_PROTOCOL_FTP
8855 fi
8856
8857 { echo "$as_me:$LINENO: result: $result" >&5
8858 echo "${ECHO_T}$result" >&6; }
8859
8860
8861 enablestring=
8862 defaultval=$wxUSE_ALL_FEATURES
8863 if test -z "$defaultval"; then
8864 if test x"$enablestring" = xdisable; then
8865 defaultval=yes
8866 else
8867 defaultval=no
8868 fi
8869 fi
8870
8871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8872 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8873 # Check whether --enable-protocol_file was given.
8874 if test "${enable_protocol_file+set}" = set; then
8875 enableval=$enable_protocol_file;
8876 if test "$enableval" = yes; then
8877 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8878 else
8879 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8880 fi
8881 cache=yes
8882
8883 else
8884
8885 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 fi
8889
8890 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8891
8892 fi
8893
8894
8895 eval "$wx_cv_use_protocol_file"
8896 if test "x$cache" = xyes; then
8897 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8898 fi
8899
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_PROTOCOL_FILE = yes; then
8902 result=no
8903 else
8904 result=yes
8905 fi
8906 else
8907 result=$wxUSE_PROTOCOL_FILE
8908 fi
8909
8910 { echo "$as_me:$LINENO: result: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8912
8913
8914
8915 enablestring=
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8919 defaultval=yes
8920 else
8921 defaultval=no
8922 fi
8923 fi
8924
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8927 # Check whether --enable-threads was given.
8928 if test "${enable_threads+set}" = set; then
8929 enableval=$enable_threads;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_threads='wxUSE_THREADS=yes'
8932 else
8933 wx_cv_use_threads='wxUSE_THREADS=no'
8934 fi
8935 cache=yes
8936
8937 else
8938
8939 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8940 if test "x$LINE" != x ; then
8941 eval "DEFAULT_$LINE"
8942 fi
8943
8944 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8945
8946 fi
8947
8948
8949 eval "$wx_cv_use_threads"
8950 if test "x$cache" = xyes; then
8951 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8952 fi
8953
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_THREADS = yes; then
8956 result=no
8957 else
8958 result=yes
8959 fi
8960 else
8961 result=$wxUSE_THREADS
8962 fi
8963
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8966
8967
8968 if test "$wxUSE_GUI" = "yes"; then
8969
8970
8971
8972 enablestring=
8973 defaultval=$wxUSE_ALL_FEATURES
8974 if test -z "$defaultval"; then
8975 if test x"$enablestring" = xdisable; then
8976 defaultval=yes
8977 else
8978 defaultval=no
8979 fi
8980 fi
8981
8982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8984 # Check whether --enable-docview was given.
8985 if test "${enable_docview+set}" = set; then
8986 enableval=$enable_docview;
8987 if test "$enableval" = yes; then
8988 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8989 else
8990 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8991 fi
8992 cache=yes
8993
8994 else
8995
8996 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 fi
9000
9001 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9002
9003 fi
9004
9005
9006 eval "$wx_cv_use_docview"
9007 if test "x$cache" = xyes; then
9008 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9009 fi
9010
9011 if test x"$enablestring" = xdisable; then
9012 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9013 result=no
9014 else
9015 result=yes
9016 fi
9017 else
9018 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9019 fi
9020
9021 { echo "$as_me:$LINENO: result: $result" >&5
9022 echo "${ECHO_T}$result" >&6; }
9023
9024
9025 enablestring=
9026 defaultval=$wxUSE_ALL_FEATURES
9027 if test -z "$defaultval"; then
9028 if test x"$enablestring" = xdisable; then
9029 defaultval=yes
9030 else
9031 defaultval=no
9032 fi
9033 fi
9034
9035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9036 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9037 # Check whether --enable-help was given.
9038 if test "${enable_help+set}" = set; then
9039 enableval=$enable_help;
9040 if test "$enableval" = yes; then
9041 wx_cv_use_help='wxUSE_HELP=yes'
9042 else
9043 wx_cv_use_help='wxUSE_HELP=no'
9044 fi
9045 cache=yes
9046
9047 else
9048
9049 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 fi
9053
9054 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9055
9056 fi
9057
9058
9059 eval "$wx_cv_use_help"
9060 if test "x$cache" = xyes; then
9061 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9062 fi
9063
9064 if test x"$enablestring" = xdisable; then
9065 if test $wxUSE_HELP = yes; then
9066 result=no
9067 else
9068 result=yes
9069 fi
9070 else
9071 result=$wxUSE_HELP
9072 fi
9073
9074 { echo "$as_me:$LINENO: result: $result" >&5
9075 echo "${ECHO_T}$result" >&6; }
9076
9077
9078 enablestring=
9079 defaultval=$wxUSE_ALL_FEATURES
9080 if test -z "$defaultval"; then
9081 if test x"$enablestring" = xdisable; then
9082 defaultval=yes
9083 else
9084 defaultval=no
9085 fi
9086 fi
9087
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9090 # Check whether --enable-mshtmlhelp was given.
9091 if test "${enable_mshtmlhelp+set}" = set; then
9092 enableval=$enable_mshtmlhelp;
9093 if test "$enableval" = yes; then
9094 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9095 else
9096 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9097 fi
9098 cache=yes
9099
9100 else
9101
9102 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 fi
9106
9107 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9108
9109 fi
9110
9111
9112 eval "$wx_cv_use_mshtmlhelp"
9113 if test "x$cache" = xyes; then
9114 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9115 fi
9116
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_MS_HTML_HELP = yes; then
9119 result=no
9120 else
9121 result=yes
9122 fi
9123 else
9124 result=$wxUSE_MS_HTML_HELP
9125 fi
9126
9127 { echo "$as_me:$LINENO: result: $result" >&5
9128 echo "${ECHO_T}$result" >&6; }
9129
9130
9131 enablestring=
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9135 defaultval=yes
9136 else
9137 defaultval=no
9138 fi
9139 fi
9140
9141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9143 # Check whether --enable-html was given.
9144 if test "${enable_html+set}" = set; then
9145 enableval=$enable_html;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_html='wxUSE_HTML=yes'
9148 else
9149 wx_cv_use_html='wxUSE_HTML=no'
9150 fi
9151 cache=yes
9152
9153 else
9154
9155 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 fi
9159
9160 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9161
9162 fi
9163
9164
9165 eval "$wx_cv_use_html"
9166 if test "x$cache" = xyes; then
9167 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test x"$enablestring" = xdisable; then
9171 if test $wxUSE_HTML = yes; then
9172 result=no
9173 else
9174 result=yes
9175 fi
9176 else
9177 result=$wxUSE_HTML
9178 fi
9179
9180 { echo "$as_me:$LINENO: result: $result" >&5
9181 echo "${ECHO_T}$result" >&6; }
9182
9183
9184 enablestring=
9185 defaultval=$wxUSE_ALL_FEATURES
9186 if test -z "$defaultval"; then
9187 if test x"$enablestring" = xdisable; then
9188 defaultval=yes
9189 else
9190 defaultval=no
9191 fi
9192 fi
9193
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9196 # Check whether --enable-htmlhelp was given.
9197 if test "${enable_htmlhelp+set}" = set; then
9198 enableval=$enable_htmlhelp;
9199 if test "$enableval" = yes; then
9200 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9201 else
9202 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9203 fi
9204 cache=yes
9205
9206 else
9207
9208 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9211 fi
9212
9213 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_htmlhelp"
9219 if test "x$cache" = xyes; then
9220 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_WXHTML_HELP = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_WXHTML_HELP
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9249 # Check whether --enable-xrc was given.
9250 if test "${enable_xrc+set}" = set; then
9251 enableval=$enable_xrc;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_xrc='wxUSE_XRC=yes'
9254 else
9255 wx_cv_use_xrc='wxUSE_XRC=no'
9256 fi
9257 cache=yes
9258
9259 else
9260
9261 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x ; then
9263 eval "DEFAULT_$LINE"
9264 fi
9265
9266 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9267
9268 fi
9269
9270
9271 eval "$wx_cv_use_xrc"
9272 if test "x$cache" = xyes; then
9273 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9274 fi
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_XRC = yes; then
9278 result=no
9279 else
9280 result=yes
9281 fi
9282 else
9283 result=$wxUSE_XRC
9284 fi
9285
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9288
9289
9290 enablestring=
9291 defaultval=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x"$enablestring" = xdisable; then
9294 defaultval=yes
9295 else
9296 defaultval=no
9297 fi
9298 fi
9299
9300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9302 # Check whether --enable-aui was given.
9303 if test "${enable_aui+set}" = set; then
9304 enableval=$enable_aui;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_aui='wxUSE_AUI=yes'
9307 else
9308 wx_cv_use_aui='wxUSE_AUI=no'
9309 fi
9310 cache=yes
9311
9312 else
9313
9314 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9315 if test "x$LINE" != x ; then
9316 eval "DEFAULT_$LINE"
9317 fi
9318
9319 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9320
9321 fi
9322
9323
9324 eval "$wx_cv_use_aui"
9325 if test "x$cache" = xyes; then
9326 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9327 fi
9328
9329 if test x"$enablestring" = xdisable; then
9330 if test $wxUSE_AUI = yes; then
9331 result=no
9332 else
9333 result=yes
9334 fi
9335 else
9336 result=$wxUSE_AUI
9337 fi
9338
9339 { echo "$as_me:$LINENO: result: $result" >&5
9340 echo "${ECHO_T}$result" >&6; }
9341
9342
9343 enablestring=
9344 defaultval=$wxUSE_ALL_FEATURES
9345 if test -z "$defaultval"; then
9346 if test x"$enablestring" = xdisable; then
9347 defaultval=yes
9348 else
9349 defaultval=no
9350 fi
9351 fi
9352
9353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9355 # Check whether --enable-stc was given.
9356 if test "${enable_stc+set}" = set; then
9357 enableval=$enable_stc;
9358 if test "$enableval" = yes; then
9359 wx_cv_use_stc='wxUSE_STC=yes'
9360 else
9361 wx_cv_use_stc='wxUSE_STC=no'
9362 fi
9363 cache=yes
9364
9365 else
9366
9367 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 fi
9371
9372 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9373
9374 fi
9375
9376
9377 eval "$wx_cv_use_stc"
9378 if test "x$cache" = xyes; then
9379 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9380 fi
9381
9382 if test x"$enablestring" = xdisable; then
9383 if test $wxUSE_STC = yes; then
9384 result=no
9385 else
9386 result=yes
9387 fi
9388 else
9389 result=$wxUSE_STC
9390 fi
9391
9392 { echo "$as_me:$LINENO: result: $result" >&5
9393 echo "${ECHO_T}$result" >&6; }
9394
9395
9396 enablestring=
9397 defaultval=$wxUSE_ALL_FEATURES
9398 if test -z "$defaultval"; then
9399 if test x"$enablestring" = xdisable; then
9400 defaultval=yes
9401 else
9402 defaultval=no
9403 fi
9404 fi
9405
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9408 # Check whether --enable-constraints was given.
9409 if test "${enable_constraints+set}" = set; then
9410 enableval=$enable_constraints;
9411 if test "$enableval" = yes; then
9412 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9413 else
9414 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9415 fi
9416 cache=yes
9417
9418 else
9419
9420 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 fi
9424
9425 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9426
9427 fi
9428
9429
9430 eval "$wx_cv_use_constraints"
9431 if test "x$cache" = xyes; then
9432 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9433 fi
9434
9435 if test x"$enablestring" = xdisable; then
9436 if test $wxUSE_CONSTRAINTS = yes; then
9437 result=no
9438 else
9439 result=yes
9440 fi
9441 else
9442 result=$wxUSE_CONSTRAINTS
9443 fi
9444
9445 { echo "$as_me:$LINENO: result: $result" >&5
9446 echo "${ECHO_T}$result" >&6; }
9447
9448
9449 enablestring=
9450 defaultval=$wxUSE_ALL_FEATURES
9451 if test -z "$defaultval"; then
9452 if test x"$enablestring" = xdisable; then
9453 defaultval=yes
9454 else
9455 defaultval=no
9456 fi
9457 fi
9458
9459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9460 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9461 # Check whether --enable-printarch was given.
9462 if test "${enable_printarch+set}" = set; then
9463 enableval=$enable_printarch;
9464 if test "$enableval" = yes; then
9465 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9466 else
9467 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9468 fi
9469 cache=yes
9470
9471 else
9472
9473 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9476 fi
9477
9478 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9479
9480 fi
9481
9482
9483 eval "$wx_cv_use_printarch"
9484 if test "x$cache" = xyes; then
9485 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test x"$enablestring" = xdisable; then
9489 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9490 result=no
9491 else
9492 result=yes
9493 fi
9494 else
9495 result=$wxUSE_PRINTING_ARCHITECTURE
9496 fi
9497
9498 { echo "$as_me:$LINENO: result: $result" >&5
9499 echo "${ECHO_T}$result" >&6; }
9500
9501
9502 enablestring=
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9506 defaultval=yes
9507 else
9508 defaultval=no
9509 fi
9510 fi
9511
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9514 # Check whether --enable-mdi was given.
9515 if test "${enable_mdi+set}" = set; then
9516 enableval=$enable_mdi;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_mdi='wxUSE_MDI=yes'
9519 else
9520 wx_cv_use_mdi='wxUSE_MDI=no'
9521 fi
9522 cache=yes
9523
9524 else
9525
9526 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 fi
9530
9531 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9532
9533 fi
9534
9535
9536 eval "$wx_cv_use_mdi"
9537 if test "x$cache" = xyes; then
9538 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9539 fi
9540
9541 if test x"$enablestring" = xdisable; then
9542 if test $wxUSE_MDI = yes; then
9543 result=no
9544 else
9545 result=yes
9546 fi
9547 else
9548 result=$wxUSE_MDI
9549 fi
9550
9551 { echo "$as_me:$LINENO: result: $result" >&5
9552 echo "${ECHO_T}$result" >&6; }
9553
9554
9555 enablestring=
9556 defaultval=$wxUSE_ALL_FEATURES
9557 if test -z "$defaultval"; then
9558 if test x"$enablestring" = xdisable; then
9559 defaultval=yes
9560 else
9561 defaultval=no
9562 fi
9563 fi
9564
9565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9566 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9567 # Check whether --enable-mdidoc was given.
9568 if test "${enable_mdidoc+set}" = set; then
9569 enableval=$enable_mdidoc;
9570 if test "$enableval" = yes; then
9571 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9572 else
9573 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9574 fi
9575 cache=yes
9576
9577 else
9578
9579 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9580 if test "x$LINE" != x ; then
9581 eval "DEFAULT_$LINE"
9582 fi
9583
9584 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9585
9586 fi
9587
9588
9589 eval "$wx_cv_use_mdidoc"
9590 if test "x$cache" = xyes; then
9591 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test x"$enablestring" = xdisable; then
9595 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9596 result=no
9597 else
9598 result=yes
9599 fi
9600 else
9601 result=$wxUSE_MDI_ARCHITECTURE
9602 fi
9603
9604 { echo "$as_me:$LINENO: result: $result" >&5
9605 echo "${ECHO_T}$result" >&6; }
9606
9607
9608 enablestring=
9609 defaultval=$wxUSE_ALL_FEATURES
9610 if test -z "$defaultval"; then
9611 if test x"$enablestring" = xdisable; then
9612 defaultval=yes
9613 else
9614 defaultval=no
9615 fi
9616 fi
9617
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9620 # Check whether --enable-loggui was given.
9621 if test "${enable_loggui+set}" = set; then
9622 enableval=$enable_loggui;
9623 if test "$enableval" = yes; then
9624 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9625 else
9626 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9627 fi
9628 cache=yes
9629
9630 else
9631
9632 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9635 fi
9636
9637 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9638
9639 fi
9640
9641
9642 eval "$wx_cv_use_loggui"
9643 if test "x$cache" = xyes; then
9644 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9645 fi
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_LOGGUI = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_LOGGUI
9655 fi
9656
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9673 # Check whether --enable-logwin was given.
9674 if test "${enable_logwin+set}" = set; then
9675 enableval=$enable_logwin;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9678 else
9679 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9680 fi
9681 cache=yes
9682
9683 else
9684
9685 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 fi
9689
9690 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9691
9692 fi
9693
9694
9695 eval "$wx_cv_use_logwin"
9696 if test "x$cache" = xyes; then
9697 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9698 fi
9699
9700 if test x"$enablestring" = xdisable; then
9701 if test $wxUSE_LOGWINDOW = yes; then
9702 result=no
9703 else
9704 result=yes
9705 fi
9706 else
9707 result=$wxUSE_LOGWINDOW
9708 fi
9709
9710 { echo "$as_me:$LINENO: result: $result" >&5
9711 echo "${ECHO_T}$result" >&6; }
9712
9713
9714 enablestring=
9715 defaultval=$wxUSE_ALL_FEATURES
9716 if test -z "$defaultval"; then
9717 if test x"$enablestring" = xdisable; then
9718 defaultval=yes
9719 else
9720 defaultval=no
9721 fi
9722 fi
9723
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9726 # Check whether --enable-logdialog was given.
9727 if test "${enable_logdialog+set}" = set; then
9728 enableval=$enable_logdialog;
9729 if test "$enableval" = yes; then
9730 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9731 else
9732 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9733 fi
9734 cache=yes
9735
9736 else
9737
9738 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 fi
9742
9743 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9744
9745 fi
9746
9747
9748 eval "$wx_cv_use_logdialog"
9749 if test "x$cache" = xyes; then
9750 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9751 fi
9752
9753 if test x"$enablestring" = xdisable; then
9754 if test $wxUSE_LOGDIALOG = yes; then
9755 result=no
9756 else
9757 result=yes
9758 fi
9759 else
9760 result=$wxUSE_LOGDIALOG
9761 fi
9762
9763 { echo "$as_me:$LINENO: result: $result" >&5
9764 echo "${ECHO_T}$result" >&6; }
9765
9766
9767 enablestring=
9768 defaultval=$wxUSE_ALL_FEATURES
9769 if test -z "$defaultval"; then
9770 if test x"$enablestring" = xdisable; then
9771 defaultval=yes
9772 else
9773 defaultval=no
9774 fi
9775 fi
9776
9777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9778 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9779 # Check whether --enable-webkit was given.
9780 if test "${enable_webkit+set}" = set; then
9781 enableval=$enable_webkit;
9782 if test "$enableval" = yes; then
9783 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9784 else
9785 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9786 fi
9787 cache=yes
9788
9789 else
9790
9791 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x ; then
9793 eval "DEFAULT_$LINE"
9794 fi
9795
9796 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9797
9798 fi
9799
9800
9801 eval "$wx_cv_use_webkit"
9802 if test "x$cache" = xyes; then
9803 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9804 fi
9805
9806 if test x"$enablestring" = xdisable; then
9807 if test $wxUSE_WEBKIT = yes; then
9808 result=no
9809 else
9810 result=yes
9811 fi
9812 else
9813 result=$wxUSE_WEBKIT
9814 fi
9815
9816 { echo "$as_me:$LINENO: result: $result" >&5
9817 echo "${ECHO_T}$result" >&6; }
9818
9819
9820 enablestring=
9821 defaultval=$wxUSE_ALL_FEATURES
9822 if test -z "$defaultval"; then
9823 if test x"$enablestring" = xdisable; then
9824 defaultval=yes
9825 else
9826 defaultval=no
9827 fi
9828 fi
9829
9830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9831 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9832 # Check whether --enable-richtext was given.
9833 if test "${enable_richtext+set}" = set; then
9834 enableval=$enable_richtext;
9835 if test "$enableval" = yes; then
9836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9837 else
9838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9839 fi
9840 cache=yes
9841
9842 else
9843
9844 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9845 if test "x$LINE" != x ; then
9846 eval "DEFAULT_$LINE"
9847 fi
9848
9849 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9850
9851 fi
9852
9853
9854 eval "$wx_cv_use_richtext"
9855 if test "x$cache" = xyes; then
9856 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9857 fi
9858
9859 if test x"$enablestring" = xdisable; then
9860 if test $wxUSE_RICHTEXT = yes; then
9861 result=no
9862 else
9863 result=yes
9864 fi
9865 else
9866 result=$wxUSE_RICHTEXT
9867 fi
9868
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9871
9872
9873 enablestring=
9874 defaultval=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x"$enablestring" = xdisable; then
9877 defaultval=yes
9878 else
9879 defaultval=no
9880 fi
9881 fi
9882
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9885 # Check whether --enable-graphics_ctx was given.
9886 if test "${enable_graphics_ctx+set}" = set; then
9887 enableval=$enable_graphics_ctx;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9890 else
9891 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9892 fi
9893 cache=yes
9894
9895 else
9896
9897 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x ; then
9899 eval "DEFAULT_$LINE"
9900 fi
9901
9902 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9903
9904 fi
9905
9906
9907 eval "$wx_cv_use_graphics_ctx"
9908 if test "x$cache" = xyes; then
9909 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9910 fi
9911
9912 if test x"$enablestring" = xdisable; then
9913 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9914 result=no
9915 else
9916 result=yes
9917 fi
9918 else
9919 result=$wxUSE_GRAPHICS_CONTEXT
9920 fi
9921
9922 { echo "$as_me:$LINENO: result: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9924
9925
9926 enablestring=
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9930 defaultval=yes
9931 else
9932 defaultval=no
9933 fi
9934 fi
9935
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9938 # Check whether --enable-postscript was given.
9939 if test "${enable_postscript+set}" = set; then
9940 enableval=$enable_postscript;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9943 else
9944 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9945 fi
9946 cache=yes
9947
9948 else
9949
9950 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9951 if test "x$LINE" != x ; then
9952 eval "DEFAULT_$LINE"
9953 fi
9954
9955 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9956
9957 fi
9958
9959
9960 eval "$wx_cv_use_postscript"
9961 if test "x$cache" = xyes; then
9962 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9963 fi
9964
9965 if test x"$enablestring" = xdisable; then
9966 if test $wxUSE_POSTSCRIPT = yes; then
9967 result=no
9968 else
9969 result=yes
9970 fi
9971 else
9972 result=$wxUSE_POSTSCRIPT
9973 fi
9974
9975 { echo "$as_me:$LINENO: result: $result" >&5
9976 echo "${ECHO_T}$result" >&6; }
9977
9978
9979 enablestring=
9980 defaultval=$wxUSE_ALL_FEATURES
9981 if test -z "$defaultval"; then
9982 if test x"$enablestring" = xdisable; then
9983 defaultval=yes
9984 else
9985 defaultval=no
9986 fi
9987 fi
9988
9989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9991 # Check whether --enable-svg was given.
9992 if test "${enable_svg+set}" = set; then
9993 enableval=$enable_svg;
9994 if test "$enableval" = yes; then
9995 wx_cv_use_svg='wxUSE_SVG=yes'
9996 else
9997 wx_cv_use_svg='wxUSE_SVG=no'
9998 fi
9999 cache=yes
10000
10001 else
10002
10003 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x ; then
10005 eval "DEFAULT_$LINE"
10006 fi
10007
10008 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10009
10010 fi
10011
10012
10013 eval "$wx_cv_use_svg"
10014 if test "x$cache" = xyes; then
10015 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test x"$enablestring" = xdisable; then
10019 if test $wxUSE_SVG = yes; then
10020 result=no
10021 else
10022 result=yes
10023 fi
10024 else
10025 result=$wxUSE_SVG
10026 fi
10027
10028 { echo "$as_me:$LINENO: result: $result" >&5
10029 echo "${ECHO_T}$result" >&6; }
10030
10031
10032
10033
10034 enablestring=
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10038 defaultval=yes
10039 else
10040 defaultval=no
10041 fi
10042 fi
10043
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10046 # Check whether --enable-clipboard was given.
10047 if test "${enable_clipboard+set}" = set; then
10048 enableval=$enable_clipboard;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10051 else
10052 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10053 fi
10054 cache=yes
10055
10056 else
10057
10058 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10059 if test "x$LINE" != x ; then
10060 eval "DEFAULT_$LINE"
10061 fi
10062
10063 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10064
10065 fi
10066
10067
10068 eval "$wx_cv_use_clipboard"
10069 if test "x$cache" = xyes; then
10070 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10071 fi
10072
10073 if test x"$enablestring" = xdisable; then
10074 if test $wxUSE_CLIPBOARD = yes; then
10075 result=no
10076 else
10077 result=yes
10078 fi
10079 else
10080 result=$wxUSE_CLIPBOARD
10081 fi
10082
10083 { echo "$as_me:$LINENO: result: $result" >&5
10084 echo "${ECHO_T}$result" >&6; }
10085
10086
10087 enablestring=
10088 defaultval=$wxUSE_ALL_FEATURES
10089 if test -z "$defaultval"; then
10090 if test x"$enablestring" = xdisable; then
10091 defaultval=yes
10092 else
10093 defaultval=no
10094 fi
10095 fi
10096
10097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10098 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10099 # Check whether --enable-dnd was given.
10100 if test "${enable_dnd+set}" = set; then
10101 enableval=$enable_dnd;
10102 if test "$enableval" = yes; then
10103 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10104 else
10105 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10106 fi
10107 cache=yes
10108
10109 else
10110
10111 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10112 if test "x$LINE" != x ; then
10113 eval "DEFAULT_$LINE"
10114 fi
10115
10116 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10117
10118 fi
10119
10120
10121 eval "$wx_cv_use_dnd"
10122 if test "x$cache" = xyes; then
10123 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10124 fi
10125
10126 if test x"$enablestring" = xdisable; then
10127 if test $wxUSE_DRAG_AND_DROP = yes; then
10128 result=no
10129 else
10130 result=yes
10131 fi
10132 else
10133 result=$wxUSE_DRAG_AND_DROP
10134 fi
10135
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10138
10139
10140 enablestring=
10141 defaultval=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x"$enablestring" = xdisable; then
10144 defaultval=yes
10145 else
10146 defaultval=no
10147 fi
10148 fi
10149
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10152 # Check whether --enable-metafile was given.
10153 if test "${enable_metafile+set}" = set; then
10154 enableval=$enable_metafile;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10157 else
10158 wx_cv_use_metafile='wxUSE_METAFILE=no'
10159 fi
10160 cache=yes
10161
10162 else
10163
10164 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x ; then
10166 eval "DEFAULT_$LINE"
10167 fi
10168
10169 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10170
10171 fi
10172
10173
10174 eval "$wx_cv_use_metafile"
10175 if test "x$cache" = xyes; then
10176 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10177 fi
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_METAFILE = yes; then
10181 result=no
10182 else
10183 result=yes
10184 fi
10185 else
10186 result=$wxUSE_METAFILE
10187 fi
10188
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10191
10192
10193
10194 DEFAULT_wxUSE_CONTROLS=none
10195
10196 enablestring=disable
10197 defaultval=
10198 if test -z "$defaultval"; then
10199 if test x"$enablestring" = xdisable; then
10200 defaultval=yes
10201 else
10202 defaultval=no
10203 fi
10204 fi
10205
10206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10208 # Check whether --enable-controls was given.
10209 if test "${enable_controls+set}" = set; then
10210 enableval=$enable_controls;
10211 if test "$enableval" = yes; then
10212 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10213 else
10214 wx_cv_use_controls='wxUSE_CONTROLS=no'
10215 fi
10216 cache=yes
10217
10218 else
10219
10220 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10221 if test "x$LINE" != x ; then
10222 eval "DEFAULT_$LINE"
10223 fi
10224
10225 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10226
10227 fi
10228
10229
10230 eval "$wx_cv_use_controls"
10231 if test "x$cache" = xyes; then
10232 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10233 fi
10234
10235 if test x"$enablestring" = xdisable; then
10236 if test $wxUSE_CONTROLS = yes; then
10237 result=no
10238 else
10239 result=yes
10240 fi
10241 else
10242 result=$wxUSE_CONTROLS
10243 fi
10244
10245 { echo "$as_me:$LINENO: result: $result" >&5
10246 echo "${ECHO_T}$result" >&6; }
10247
10248
10249 if test "$wxUSE_CONTROLS" = "yes"; then
10250 DEFAULT_wxUSE_ACCEL=yes
10251 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10252 DEFAULT_wxUSE_BMPBUTTON=yes
10253 DEFAULT_wxUSE_BUTTON=yes
10254 DEFAULT_wxUSE_CALCTRL=yes
10255 DEFAULT_wxUSE_CARET=yes
10256 DEFAULT_wxUSE_COMBOBOX=yes
10257 DEFAULT_wxUSE_CHECKBOX=yes
10258 DEFAULT_wxUSE_CHECKLISTBOX=yes
10259 DEFAULT_wxUSE_CHOICE=yes
10260 DEFAULT_wxUSE_CHOICEBOOK=yes
10261 DEFAULT_wxUSE_COLLPANE=yes
10262 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10263 DEFAULT_wxUSE_COMBOBOX=yes
10264 DEFAULT_wxUSE_DATEPICKCTRL=yes
10265 DEFAULT_wxUSE_DISPLAY=yes
10266 DEFAULT_wxUSE_DETECT_SM=yes
10267 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10268 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10269 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10270 DEFAULT_wxUSE_GAUGE=yes
10271 DEFAULT_wxUSE_GRID=yes
10272 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10273 DEFAULT_wxUSE_DATAVIEWCTRL=no
10274 DEFAULT_wxUSE_IMAGLIST=yes
10275 DEFAULT_wxUSE_LISTBOOK=yes
10276 DEFAULT_wxUSE_LISTBOX=yes
10277 DEFAULT_wxUSE_LISTCTRL=yes
10278 DEFAULT_wxUSE_NOTEBOOK=yes
10279 DEFAULT_wxUSE_RADIOBOX=yes
10280 DEFAULT_wxUSE_RADIOBTN=yes
10281 DEFAULT_wxUSE_SASH=yes
10282 DEFAULT_wxUSE_SCROLLBAR=yes
10283 DEFAULT_wxUSE_SEARCHCTRL=yes
10284 DEFAULT_wxUSE_SLIDER=yes
10285 DEFAULT_wxUSE_SPINBTN=yes
10286 DEFAULT_wxUSE_SPINCTRL=yes
10287 DEFAULT_wxUSE_SPLITTER=yes
10288 DEFAULT_wxUSE_STATBMP=yes
10289 DEFAULT_wxUSE_STATBOX=yes
10290 DEFAULT_wxUSE_STATLINE=yes
10291 DEFAULT_wxUSE_STATUSBAR=yes
10292 DEFAULT_wxUSE_TAB_DIALOG=yes
10293 DEFAULT_wxUSE_TOGGLEBTN=yes
10294 DEFAULT_wxUSE_TOOLBAR=yes
10295 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10296 DEFAULT_wxUSE_TOOLTIPS=yes
10297 DEFAULT_wxUSE_TREEBOOK=yes
10298 DEFAULT_wxUSE_TOOLBOOK=yes
10299 DEFAULT_wxUSE_TREECTRL=yes
10300 DEFAULT_wxUSE_POPUPWIN=yes
10301 DEFAULT_wxUSE_TIPWINDOW=yes
10302 elif test "$wxUSE_CONTROLS" = "no"; then
10303 DEFAULT_wxUSE_ACCEL=no
10304 DEFAULT_wxUSE_ANIMATIONCTRL=no
10305 DEFAULT_wxUSE_BMPBUTTON=no
10306 DEFAULT_wxUSE_BUTTON=no
10307 DEFAULT_wxUSE_CALCTRL=no
10308 DEFAULT_wxUSE_CARET=no
10309 DEFAULT_wxUSE_COLLPANE=no
10310 DEFAULT_wxUSE_COMBOBOX=no
10311 DEFAULT_wxUSE_CHECKBOX=no
10312 DEFAULT_wxUSE_CHECKLISTBOX=no
10313 DEFAULT_wxUSE_CHOICE=no
10314 DEFAULT_wxUSE_CHOICEBOOK=no
10315 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10316 DEFAULT_wxUSE_COMBOBOX=no
10317 DEFAULT_wxUSE_DATEPICKCTRL=no
10318 DEFAULT_wxUSE_DISPLAY=no
10319 DEFAULT_wxUSE_DETECT_SM=no
10320 DEFAULT_wxUSE_DIRPICKERCTRL=no
10321 DEFAULT_wxUSE_FILEPICKERCTRL=no
10322 DEFAULT_wxUSE_FONTPICKERCTRL=no
10323 DEFAULT_wxUSE_GAUGE=no
10324 DEFAULT_wxUSE_GRID=no
10325 DEFAULT_wxUSE_HYPERLINKCTRL=no
10326 DEFAULT_wxUSE_DATAVIEWCTRL=no
10327 DEFAULT_wxUSE_IMAGLIST=no
10328 DEFAULT_wxUSE_LISTBOOK=no
10329 DEFAULT_wxUSE_LISTBOX=no
10330 DEFAULT_wxUSE_LISTCTRL=no
10331 DEFAULT_wxUSE_NOTEBOOK=no
10332 DEFAULT_wxUSE_RADIOBOX=no
10333 DEFAULT_wxUSE_RADIOBTN=no
10334 DEFAULT_wxUSE_SASH=no
10335 DEFAULT_wxUSE_SCROLLBAR=no
10336 DEFAULT_wxUSE_SEARCHCTRL=no
10337 DEFAULT_wxUSE_SLIDER=no
10338 DEFAULT_wxUSE_SPINBTN=no
10339 DEFAULT_wxUSE_SPINCTRL=no
10340 DEFAULT_wxUSE_SPLITTER=no
10341 DEFAULT_wxUSE_STATBMP=no
10342 DEFAULT_wxUSE_STATBOX=no
10343 DEFAULT_wxUSE_STATLINE=no
10344 DEFAULT_wxUSE_STATUSBAR=no
10345 DEFAULT_wxUSE_TAB_DIALOG=no
10346 DEFAULT_wxUSE_TOGGLEBTN=no
10347 DEFAULT_wxUSE_TOOLBAR=no
10348 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10349 DEFAULT_wxUSE_TOOLTIPS=no
10350 DEFAULT_wxUSE_TREEBOOK=no
10351 DEFAULT_wxUSE_TOOLBOOK=no
10352 DEFAULT_wxUSE_TREECTRL=no
10353 DEFAULT_wxUSE_POPUPWIN=no
10354 DEFAULT_wxUSE_TIPWINDOW=no
10355 fi
10356
10357
10358 enablestring=
10359 defaultval=$wxUSE_ALL_FEATURES
10360 if test -z "$defaultval"; then
10361 if test x"$enablestring" = xdisable; then
10362 defaultval=yes
10363 else
10364 defaultval=no
10365 fi
10366 fi
10367
10368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10369 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10370 # Check whether --enable-accel was given.
10371 if test "${enable_accel+set}" = set; then
10372 enableval=$enable_accel;
10373 if test "$enableval" = yes; then
10374 wx_cv_use_accel='wxUSE_ACCEL=yes'
10375 else
10376 wx_cv_use_accel='wxUSE_ACCEL=no'
10377 fi
10378 cache=yes
10379
10380 else
10381
10382 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10383 if test "x$LINE" != x ; then
10384 eval "DEFAULT_$LINE"
10385 fi
10386
10387 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10388
10389 fi
10390
10391
10392 eval "$wx_cv_use_accel"
10393 if test "x$cache" = xyes; then
10394 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10395 fi
10396
10397 if test x"$enablestring" = xdisable; then
10398 if test $wxUSE_ACCEL = yes; then
10399 result=no
10400 else
10401 result=yes
10402 fi
10403 else
10404 result=$wxUSE_ACCEL
10405 fi
10406
10407 { echo "$as_me:$LINENO: result: $result" >&5
10408 echo "${ECHO_T}$result" >&6; }
10409
10410
10411 enablestring=
10412 defaultval=$wxUSE_ALL_FEATURES
10413 if test -z "$defaultval"; then
10414 if test x"$enablestring" = xdisable; then
10415 defaultval=yes
10416 else
10417 defaultval=no
10418 fi
10419 fi
10420
10421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10423 # Check whether --enable-animatectrl was given.
10424 if test "${enable_animatectrl+set}" = set; then
10425 enableval=$enable_animatectrl;
10426 if test "$enableval" = yes; then
10427 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10428 else
10429 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10430 fi
10431 cache=yes
10432
10433 else
10434
10435 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10438 fi
10439
10440 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10441
10442 fi
10443
10444
10445 eval "$wx_cv_use_animatectrl"
10446 if test "x$cache" = xyes; then
10447 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10448 fi
10449
10450 if test x"$enablestring" = xdisable; then
10451 if test $wxUSE_ANIMATIONCTRL = yes; then
10452 result=no
10453 else
10454 result=yes
10455 fi
10456 else
10457 result=$wxUSE_ANIMATIONCTRL
10458 fi
10459
10460 { echo "$as_me:$LINENO: result: $result" >&5
10461 echo "${ECHO_T}$result" >&6; }
10462
10463
10464 enablestring=
10465 defaultval=$wxUSE_ALL_FEATURES
10466 if test -z "$defaultval"; then
10467 if test x"$enablestring" = xdisable; then
10468 defaultval=yes
10469 else
10470 defaultval=no
10471 fi
10472 fi
10473
10474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10475 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10476 # Check whether --enable-button was given.
10477 if test "${enable_button+set}" = set; then
10478 enableval=$enable_button;
10479 if test "$enableval" = yes; then
10480 wx_cv_use_button='wxUSE_BUTTON=yes'
10481 else
10482 wx_cv_use_button='wxUSE_BUTTON=no'
10483 fi
10484 cache=yes
10485
10486 else
10487
10488 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10489 if test "x$LINE" != x ; then
10490 eval "DEFAULT_$LINE"
10491 fi
10492
10493 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10494
10495 fi
10496
10497
10498 eval "$wx_cv_use_button"
10499 if test "x$cache" = xyes; then
10500 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10501 fi
10502
10503 if test x"$enablestring" = xdisable; then
10504 if test $wxUSE_BUTTON = yes; then
10505 result=no
10506 else
10507 result=yes
10508 fi
10509 else
10510 result=$wxUSE_BUTTON
10511 fi
10512
10513 { echo "$as_me:$LINENO: result: $result" >&5
10514 echo "${ECHO_T}$result" >&6; }
10515
10516
10517 enablestring=
10518 defaultval=$wxUSE_ALL_FEATURES
10519 if test -z "$defaultval"; then
10520 if test x"$enablestring" = xdisable; then
10521 defaultval=yes
10522 else
10523 defaultval=no
10524 fi
10525 fi
10526
10527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10528 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10529 # Check whether --enable-bmpbutton was given.
10530 if test "${enable_bmpbutton+set}" = set; then
10531 enableval=$enable_bmpbutton;
10532 if test "$enableval" = yes; then
10533 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10534 else
10535 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10536 fi
10537 cache=yes
10538
10539 else
10540
10541 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10542 if test "x$LINE" != x ; then
10543 eval "DEFAULT_$LINE"
10544 fi
10545
10546 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10547
10548 fi
10549
10550
10551 eval "$wx_cv_use_bmpbutton"
10552 if test "x$cache" = xyes; then
10553 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10554 fi
10555
10556 if test x"$enablestring" = xdisable; then
10557 if test $wxUSE_BMPBUTTON = yes; then
10558 result=no
10559 else
10560 result=yes
10561 fi
10562 else
10563 result=$wxUSE_BMPBUTTON
10564 fi
10565
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10568
10569
10570 enablestring=
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10574 defaultval=yes
10575 else
10576 defaultval=no
10577 fi
10578 fi
10579
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10582 # Check whether --enable-bmpcombobox was given.
10583 if test "${enable_bmpcombobox+set}" = set; then
10584 enableval=$enable_bmpcombobox;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10587 else
10588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10589 fi
10590 cache=yes
10591
10592 else
10593
10594 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x ; then
10596 eval "DEFAULT_$LINE"
10597 fi
10598
10599 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10600
10601 fi
10602
10603
10604 eval "$wx_cv_use_bmpcombobox"
10605 if test "x$cache" = xyes; then
10606 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10607 fi
10608
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10611 result=no
10612 else
10613 result=yes
10614 fi
10615 else
10616 result=$wxUSE_BITMAPCOMBOBOX
10617 fi
10618
10619 { echo "$as_me:$LINENO: result: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10621
10622
10623 enablestring=
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10627 defaultval=yes
10628 else
10629 defaultval=no
10630 fi
10631 fi
10632
10633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10635 # Check whether --enable-calendar was given.
10636 if test "${enable_calendar+set}" = set; then
10637 enableval=$enable_calendar;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10640 else
10641 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10642 fi
10643 cache=yes
10644
10645 else
10646
10647 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10648 if test "x$LINE" != x ; then
10649 eval "DEFAULT_$LINE"
10650 fi
10651
10652 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_calendar"
10658 if test "x$cache" = xyes; then
10659 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10660 fi
10661
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_CALCTRL = yes; then
10664 result=no
10665 else
10666 result=yes
10667 fi
10668 else
10669 result=$wxUSE_CALCTRL
10670 fi
10671
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10674
10675
10676 enablestring=
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10680 defaultval=yes
10681 else
10682 defaultval=no
10683 fi
10684 fi
10685
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10688 # Check whether --enable-caret was given.
10689 if test "${enable_caret+set}" = set; then
10690 enableval=$enable_caret;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_caret='wxUSE_CARET=yes'
10693 else
10694 wx_cv_use_caret='wxUSE_CARET=no'
10695 fi
10696 cache=yes
10697
10698 else
10699
10700 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x ; then
10702 eval "DEFAULT_$LINE"
10703 fi
10704
10705 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10706
10707 fi
10708
10709
10710 eval "$wx_cv_use_caret"
10711 if test "x$cache" = xyes; then
10712 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test x"$enablestring" = xdisable; then
10716 if test $wxUSE_CARET = yes; then
10717 result=no
10718 else
10719 result=yes
10720 fi
10721 else
10722 result=$wxUSE_CARET
10723 fi
10724
10725 { echo "$as_me:$LINENO: result: $result" >&5
10726 echo "${ECHO_T}$result" >&6; }
10727
10728
10729 enablestring=
10730 defaultval=$wxUSE_ALL_FEATURES
10731 if test -z "$defaultval"; then
10732 if test x"$enablestring" = xdisable; then
10733 defaultval=yes
10734 else
10735 defaultval=no
10736 fi
10737 fi
10738
10739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10740 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10741 # Check whether --enable-checkbox was given.
10742 if test "${enable_checkbox+set}" = set; then
10743 enableval=$enable_checkbox;
10744 if test "$enableval" = yes; then
10745 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10746 else
10747 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10748 fi
10749 cache=yes
10750
10751 else
10752
10753 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 fi
10757
10758 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10759
10760 fi
10761
10762
10763 eval "$wx_cv_use_checkbox"
10764 if test "x$cache" = xyes; then
10765 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10766 fi
10767
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_CHECKBOX = yes; then
10770 result=no
10771 else
10772 result=yes
10773 fi
10774 else
10775 result=$wxUSE_CHECKBOX
10776 fi
10777
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10780
10781
10782 enablestring=
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10786 defaultval=yes
10787 else
10788 defaultval=no
10789 fi
10790 fi
10791
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10794 # Check whether --enable-checklst was given.
10795 if test "${enable_checklst+set}" = set; then
10796 enableval=$enable_checklst;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10799 else
10800 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10801 fi
10802 cache=yes
10803
10804 else
10805
10806 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10809 fi
10810
10811 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10812
10813 fi
10814
10815
10816 eval "$wx_cv_use_checklst"
10817 if test "x$cache" = xyes; then
10818 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10819 fi
10820
10821 if test x"$enablestring" = xdisable; then
10822 if test $wxUSE_CHECKLST = yes; then
10823 result=no
10824 else
10825 result=yes
10826 fi
10827 else
10828 result=$wxUSE_CHECKLST
10829 fi
10830
10831 { echo "$as_me:$LINENO: result: $result" >&5
10832 echo "${ECHO_T}$result" >&6; }
10833
10834
10835 enablestring=
10836 defaultval=$wxUSE_ALL_FEATURES
10837 if test -z "$defaultval"; then
10838 if test x"$enablestring" = xdisable; then
10839 defaultval=yes
10840 else
10841 defaultval=no
10842 fi
10843 fi
10844
10845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10846 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10847 # Check whether --enable-choice was given.
10848 if test "${enable_choice+set}" = set; then
10849 enableval=$enable_choice;
10850 if test "$enableval" = yes; then
10851 wx_cv_use_choice='wxUSE_CHOICE=yes'
10852 else
10853 wx_cv_use_choice='wxUSE_CHOICE=no'
10854 fi
10855 cache=yes
10856
10857 else
10858
10859 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10860 if test "x$LINE" != x ; then
10861 eval "DEFAULT_$LINE"
10862 fi
10863
10864 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10865
10866 fi
10867
10868
10869 eval "$wx_cv_use_choice"
10870 if test "x$cache" = xyes; then
10871 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10872 fi
10873
10874 if test x"$enablestring" = xdisable; then
10875 if test $wxUSE_CHOICE = yes; then
10876 result=no
10877 else
10878 result=yes
10879 fi
10880 else
10881 result=$wxUSE_CHOICE
10882 fi
10883
10884 { echo "$as_me:$LINENO: result: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10886
10887
10888 enablestring=
10889 defaultval=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x"$enablestring" = xdisable; then
10892 defaultval=yes
10893 else
10894 defaultval=no
10895 fi
10896 fi
10897
10898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10899 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10900 # Check whether --enable-choicebook was given.
10901 if test "${enable_choicebook+set}" = set; then
10902 enableval=$enable_choicebook;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10905 else
10906 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10907 fi
10908 cache=yes
10909
10910 else
10911
10912 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10913 if test "x$LINE" != x ; then
10914 eval "DEFAULT_$LINE"
10915 fi
10916
10917 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10918
10919 fi
10920
10921
10922 eval "$wx_cv_use_choicebook"
10923 if test "x$cache" = xyes; then
10924 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10925 fi
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_CHOICEBOOK = yes; then
10929 result=no
10930 else
10931 result=yes
10932 fi
10933 else
10934 result=$wxUSE_CHOICEBOOK
10935 fi
10936
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10939
10940
10941 enablestring=
10942 defaultval=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x"$enablestring" = xdisable; then
10945 defaultval=yes
10946 else
10947 defaultval=no
10948 fi
10949 fi
10950
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10953 # Check whether --enable-collpane was given.
10954 if test "${enable_collpane+set}" = set; then
10955 enableval=$enable_collpane;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10958 else
10959 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10960 fi
10961 cache=yes
10962
10963 else
10964
10965 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x ; then
10967 eval "DEFAULT_$LINE"
10968 fi
10969
10970 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10971
10972 fi
10973
10974
10975 eval "$wx_cv_use_collpane"
10976 if test "x$cache" = xyes; then
10977 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10978 fi
10979
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_COLLPANE = yes; then
10982 result=no
10983 else
10984 result=yes
10985 fi
10986 else
10987 result=$wxUSE_COLLPANE
10988 fi
10989
10990 { echo "$as_me:$LINENO: result: $result" >&5
10991 echo "${ECHO_T}$result" >&6; }
10992
10993
10994 enablestring=
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
10998 defaultval=yes
10999 else
11000 defaultval=no
11001 fi
11002 fi
11003
11004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11006 # Check whether --enable-colourpicker was given.
11007 if test "${enable_colourpicker+set}" = set; then
11008 enableval=$enable_colourpicker;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11011 else
11012 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11013 fi
11014 cache=yes
11015
11016 else
11017
11018 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11021 fi
11022
11023 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11024
11025 fi
11026
11027
11028 eval "$wx_cv_use_colourpicker"
11029 if test "x$cache" = xyes; then
11030 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11031 fi
11032
11033 if test x"$enablestring" = xdisable; then
11034 if test $wxUSE_COLOURPICKERCTRL = yes; then
11035 result=no
11036 else
11037 result=yes
11038 fi
11039 else
11040 result=$wxUSE_COLOURPICKERCTRL
11041 fi
11042
11043 { echo "$as_me:$LINENO: result: $result" >&5
11044 echo "${ECHO_T}$result" >&6; }
11045
11046
11047 enablestring=
11048 defaultval=$wxUSE_ALL_FEATURES
11049 if test -z "$defaultval"; then
11050 if test x"$enablestring" = xdisable; then
11051 defaultval=yes
11052 else
11053 defaultval=no
11054 fi
11055 fi
11056
11057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11058 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11059 # Check whether --enable-combobox was given.
11060 if test "${enable_combobox+set}" = set; then
11061 enableval=$enable_combobox;
11062 if test "$enableval" = yes; then
11063 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11064 else
11065 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11066 fi
11067 cache=yes
11068
11069 else
11070
11071 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11072 if test "x$LINE" != x ; then
11073 eval "DEFAULT_$LINE"
11074 fi
11075
11076 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_combobox"
11082 if test "x$cache" = xyes; then
11083 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11084 fi
11085
11086 if test x"$enablestring" = xdisable; then
11087 if test $wxUSE_COMBOBOX = yes; then
11088 result=no
11089 else
11090 result=yes
11091 fi
11092 else
11093 result=$wxUSE_COMBOBOX
11094 fi
11095
11096 { echo "$as_me:$LINENO: result: $result" >&5
11097 echo "${ECHO_T}$result" >&6; }
11098
11099
11100 enablestring=
11101 defaultval=$wxUSE_ALL_FEATURES
11102 if test -z "$defaultval"; then
11103 if test x"$enablestring" = xdisable; then
11104 defaultval=yes
11105 else
11106 defaultval=no
11107 fi
11108 fi
11109
11110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11112 # Check whether --enable-comboctrl was given.
11113 if test "${enable_comboctrl+set}" = set; then
11114 enableval=$enable_comboctrl;
11115 if test "$enableval" = yes; then
11116 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11117 else
11118 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11119 fi
11120 cache=yes
11121
11122 else
11123
11124 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 fi
11128
11129 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11130
11131 fi
11132
11133
11134 eval "$wx_cv_use_comboctrl"
11135 if test "x$cache" = xyes; then
11136 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11137 fi
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_COMBOCTRL = yes; then
11141 result=no
11142 else
11143 result=yes
11144 fi
11145 else
11146 result=$wxUSE_COMBOCTRL
11147 fi
11148
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11165 # Check whether --enable-datepick was given.
11166 if test "${enable_datepick+set}" = set; then
11167 enableval=$enable_datepick;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11170 else
11171 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11172 fi
11173 cache=yes
11174
11175 else
11176
11177 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11178 if test "x$LINE" != x ; then
11179 eval "DEFAULT_$LINE"
11180 fi
11181
11182 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11183
11184 fi
11185
11186
11187 eval "$wx_cv_use_datepick"
11188 if test "x$cache" = xyes; then
11189 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11190 fi
11191
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_DATEPICKCTRL = yes; then
11194 result=no
11195 else
11196 result=yes
11197 fi
11198 else
11199 result=$wxUSE_DATEPICKCTRL
11200 fi
11201
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11204
11205
11206 enablestring=
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11210 defaultval=yes
11211 else
11212 defaultval=no
11213 fi
11214 fi
11215
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11218 # Check whether --enable-dirpicker was given.
11219 if test "${enable_dirpicker+set}" = set; then
11220 enableval=$enable_dirpicker;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11223 else
11224 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11225 fi
11226 cache=yes
11227
11228 else
11229
11230 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11231 if test "x$LINE" != x ; then
11232 eval "DEFAULT_$LINE"
11233 fi
11234
11235 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11236
11237 fi
11238
11239
11240 eval "$wx_cv_use_dirpicker"
11241 if test "x$cache" = xyes; then
11242 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11243 fi
11244
11245 if test x"$enablestring" = xdisable; then
11246 if test $wxUSE_DIRPICKERCTRL = yes; then
11247 result=no
11248 else
11249 result=yes
11250 fi
11251 else
11252 result=$wxUSE_DIRPICKERCTRL
11253 fi
11254
11255 { echo "$as_me:$LINENO: result: $result" >&5
11256 echo "${ECHO_T}$result" >&6; }
11257
11258
11259 enablestring=
11260 defaultval=$wxUSE_ALL_FEATURES
11261 if test -z "$defaultval"; then
11262 if test x"$enablestring" = xdisable; then
11263 defaultval=yes
11264 else
11265 defaultval=no
11266 fi
11267 fi
11268
11269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11270 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11271 # Check whether --enable-display was given.
11272 if test "${enable_display+set}" = set; then
11273 enableval=$enable_display;
11274 if test "$enableval" = yes; then
11275 wx_cv_use_display='wxUSE_DISPLAY=yes'
11276 else
11277 wx_cv_use_display='wxUSE_DISPLAY=no'
11278 fi
11279 cache=yes
11280
11281 else
11282
11283 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11284 if test "x$LINE" != x ; then
11285 eval "DEFAULT_$LINE"
11286 fi
11287
11288 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11289
11290 fi
11291
11292
11293 eval "$wx_cv_use_display"
11294 if test "x$cache" = xyes; then
11295 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11296 fi
11297
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_DISPLAY = yes; then
11300 result=no
11301 else
11302 result=yes
11303 fi
11304 else
11305 result=$wxUSE_DISPLAY
11306 fi
11307
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11310
11311
11312 enablestring=
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11316 defaultval=yes
11317 else
11318 defaultval=no
11319 fi
11320 fi
11321
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11324 # Check whether --enable-detect_sm was given.
11325 if test "${enable_detect_sm+set}" = set; then
11326 enableval=$enable_detect_sm;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11329 else
11330 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11331 fi
11332 cache=yes
11333
11334 else
11335
11336 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11337 if test "x$LINE" != x ; then
11338 eval "DEFAULT_$LINE"
11339 fi
11340
11341 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11342
11343 fi
11344
11345
11346 eval "$wx_cv_use_detect_sm"
11347 if test "x$cache" = xyes; then
11348 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11349 fi
11350
11351 if test x"$enablestring" = xdisable; then
11352 if test $wxUSE_DETECT_SM = yes; then
11353 result=no
11354 else
11355 result=yes
11356 fi
11357 else
11358 result=$wxUSE_DETECT_SM
11359 fi
11360
11361 { echo "$as_me:$LINENO: result: $result" >&5
11362 echo "${ECHO_T}$result" >&6; }
11363
11364
11365 enablestring=
11366 defaultval=$wxUSE_ALL_FEATURES
11367 if test -z "$defaultval"; then
11368 if test x"$enablestring" = xdisable; then
11369 defaultval=yes
11370 else
11371 defaultval=no
11372 fi
11373 fi
11374
11375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11376 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11377 # Check whether --enable-editablebox was given.
11378 if test "${enable_editablebox+set}" = set; then
11379 enableval=$enable_editablebox;
11380 if test "$enableval" = yes; then
11381 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11382 else
11383 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11384 fi
11385 cache=yes
11386
11387 else
11388
11389 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11390 if test "x$LINE" != x ; then
11391 eval "DEFAULT_$LINE"
11392 fi
11393
11394 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11395
11396 fi
11397
11398
11399 eval "$wx_cv_use_editablebox"
11400 if test "x$cache" = xyes; then
11401 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11402 fi
11403
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_EDITABLELISTBOX = yes; then
11406 result=no
11407 else
11408 result=yes
11409 fi
11410 else
11411 result=$wxUSE_EDITABLELISTBOX
11412 fi
11413
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11416
11417
11418 enablestring=
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11422 defaultval=yes
11423 else
11424 defaultval=no
11425 fi
11426 fi
11427
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11430 # Check whether --enable-filepicker was given.
11431 if test "${enable_filepicker+set}" = set; then
11432 enableval=$enable_filepicker;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11435 else
11436 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11437 fi
11438 cache=yes
11439
11440 else
11441
11442 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x ; then
11444 eval "DEFAULT_$LINE"
11445 fi
11446
11447 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11448
11449 fi
11450
11451
11452 eval "$wx_cv_use_filepicker"
11453 if test "x$cache" = xyes; then
11454 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11455 fi
11456
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_FILEPICKERCTRL = yes; then
11459 result=no
11460 else
11461 result=yes
11462 fi
11463 else
11464 result=$wxUSE_FILEPICKERCTRL
11465 fi
11466
11467 { echo "$as_me:$LINENO: result: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11469
11470
11471 enablestring=
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11475 defaultval=yes
11476 else
11477 defaultval=no
11478 fi
11479 fi
11480
11481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11483 # Check whether --enable-fontpicker was given.
11484 if test "${enable_fontpicker+set}" = set; then
11485 enableval=$enable_fontpicker;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11488 else
11489 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11490 fi
11491 cache=yes
11492
11493 else
11494
11495 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x ; then
11497 eval "DEFAULT_$LINE"
11498 fi
11499
11500 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11501
11502 fi
11503
11504
11505 eval "$wx_cv_use_fontpicker"
11506 if test "x$cache" = xyes; then
11507 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11508 fi
11509
11510 if test x"$enablestring" = xdisable; then
11511 if test $wxUSE_FONTPICKERCTRL = yes; then
11512 result=no
11513 else
11514 result=yes
11515 fi
11516 else
11517 result=$wxUSE_FONTPICKERCTRL
11518 fi
11519
11520 { echo "$as_me:$LINENO: result: $result" >&5
11521 echo "${ECHO_T}$result" >&6; }
11522
11523
11524 enablestring=
11525 defaultval=$wxUSE_ALL_FEATURES
11526 if test -z "$defaultval"; then
11527 if test x"$enablestring" = xdisable; then
11528 defaultval=yes
11529 else
11530 defaultval=no
11531 fi
11532 fi
11533
11534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11535 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11536 # Check whether --enable-gauge was given.
11537 if test "${enable_gauge+set}" = set; then
11538 enableval=$enable_gauge;
11539 if test "$enableval" = yes; then
11540 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11541 else
11542 wx_cv_use_gauge='wxUSE_GAUGE=no'
11543 fi
11544 cache=yes
11545
11546 else
11547
11548 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11551 fi
11552
11553 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11554
11555 fi
11556
11557
11558 eval "$wx_cv_use_gauge"
11559 if test "x$cache" = xyes; then
11560 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11561 fi
11562
11563 if test x"$enablestring" = xdisable; then
11564 if test $wxUSE_GAUGE = yes; then
11565 result=no
11566 else
11567 result=yes
11568 fi
11569 else
11570 result=$wxUSE_GAUGE
11571 fi
11572
11573 { echo "$as_me:$LINENO: result: $result" >&5
11574 echo "${ECHO_T}$result" >&6; }
11575
11576
11577 enablestring=
11578 defaultval=$wxUSE_ALL_FEATURES
11579 if test -z "$defaultval"; then
11580 if test x"$enablestring" = xdisable; then
11581 defaultval=yes
11582 else
11583 defaultval=no
11584 fi
11585 fi
11586
11587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11588 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11589 # Check whether --enable-grid was given.
11590 if test "${enable_grid+set}" = set; then
11591 enableval=$enable_grid;
11592 if test "$enableval" = yes; then
11593 wx_cv_use_grid='wxUSE_GRID=yes'
11594 else
11595 wx_cv_use_grid='wxUSE_GRID=no'
11596 fi
11597 cache=yes
11598
11599 else
11600
11601 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11602 if test "x$LINE" != x ; then
11603 eval "DEFAULT_$LINE"
11604 fi
11605
11606 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11607
11608 fi
11609
11610
11611 eval "$wx_cv_use_grid"
11612 if test "x$cache" = xyes; then
11613 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11614 fi
11615
11616 if test x"$enablestring" = xdisable; then
11617 if test $wxUSE_GRID = yes; then
11618 result=no
11619 else
11620 result=yes
11621 fi
11622 else
11623 result=$wxUSE_GRID
11624 fi
11625
11626 { echo "$as_me:$LINENO: result: $result" >&5
11627 echo "${ECHO_T}$result" >&6; }
11628
11629
11630 enablestring=
11631 defaultval=$wxUSE_ALL_FEATURES
11632 if test -z "$defaultval"; then
11633 if test x"$enablestring" = xdisable; then
11634 defaultval=yes
11635 else
11636 defaultval=no
11637 fi
11638 fi
11639
11640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11642 # Check whether --enable-dataviewctrl was given.
11643 if test "${enable_dataviewctrl+set}" = set; then
11644 enableval=$enable_dataviewctrl;
11645 if test "$enableval" = yes; then
11646 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11647 else
11648 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11649 fi
11650 cache=yes
11651
11652 else
11653
11654 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11655 if test "x$LINE" != x ; then
11656 eval "DEFAULT_$LINE"
11657 fi
11658
11659 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11660
11661 fi
11662
11663
11664 eval "$wx_cv_use_dataviewctrl"
11665 if test "x$cache" = xyes; then
11666 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11667 fi
11668
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_DATAVIEWCTRL = yes; then
11671 result=no
11672 else
11673 result=yes
11674 fi
11675 else
11676 result=$wxUSE_DATAVIEWCTRL
11677 fi
11678
11679 { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11681
11682
11683 enablestring=
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11687 defaultval=yes
11688 else
11689 defaultval=no
11690 fi
11691 fi
11692
11693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11695 # Check whether --enable-hyperlink was given.
11696 if test "${enable_hyperlink+set}" = set; then
11697 enableval=$enable_hyperlink;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11700 else
11701 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11702 fi
11703 cache=yes
11704
11705 else
11706
11707 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11708 if test "x$LINE" != x ; then
11709 eval "DEFAULT_$LINE"
11710 fi
11711
11712 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11713
11714 fi
11715
11716
11717 eval "$wx_cv_use_hyperlink"
11718 if test "x$cache" = xyes; then
11719 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11720 fi
11721
11722 if test x"$enablestring" = xdisable; then
11723 if test $wxUSE_HYPERLINKCTRL = yes; then
11724 result=no
11725 else
11726 result=yes
11727 fi
11728 else
11729 result=$wxUSE_HYPERLINKCTRL
11730 fi
11731
11732 { echo "$as_me:$LINENO: result: $result" >&5
11733 echo "${ECHO_T}$result" >&6; }
11734
11735
11736 enablestring=
11737 defaultval=$wxUSE_ALL_FEATURES
11738 if test -z "$defaultval"; then
11739 if test x"$enablestring" = xdisable; then
11740 defaultval=yes
11741 else
11742 defaultval=no
11743 fi
11744 fi
11745
11746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11747 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11748 # Check whether --enable-imaglist was given.
11749 if test "${enable_imaglist+set}" = set; then
11750 enableval=$enable_imaglist;
11751 if test "$enableval" = yes; then
11752 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11753 else
11754 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11755 fi
11756 cache=yes
11757
11758 else
11759
11760 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11761 if test "x$LINE" != x ; then
11762 eval "DEFAULT_$LINE"
11763 fi
11764
11765 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11766
11767 fi
11768
11769
11770 eval "$wx_cv_use_imaglist"
11771 if test "x$cache" = xyes; then
11772 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11773 fi
11774
11775 if test x"$enablestring" = xdisable; then
11776 if test $wxUSE_IMAGLIST = yes; then
11777 result=no
11778 else
11779 result=yes
11780 fi
11781 else
11782 result=$wxUSE_IMAGLIST
11783 fi
11784
11785 { echo "$as_me:$LINENO: result: $result" >&5
11786 echo "${ECHO_T}$result" >&6; }
11787
11788
11789 enablestring=
11790 defaultval=$wxUSE_ALL_FEATURES
11791 if test -z "$defaultval"; then
11792 if test x"$enablestring" = xdisable; then
11793 defaultval=yes
11794 else
11795 defaultval=no
11796 fi
11797 fi
11798
11799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11800 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11801 # Check whether --enable-listbook was given.
11802 if test "${enable_listbook+set}" = set; then
11803 enableval=$enable_listbook;
11804 if test "$enableval" = yes; then
11805 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11806 else
11807 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11808 fi
11809 cache=yes
11810
11811 else
11812
11813 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11814 if test "x$LINE" != x ; then
11815 eval "DEFAULT_$LINE"
11816 fi
11817
11818 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11819
11820 fi
11821
11822
11823 eval "$wx_cv_use_listbook"
11824 if test "x$cache" = xyes; then
11825 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11826 fi
11827
11828 if test x"$enablestring" = xdisable; then
11829 if test $wxUSE_LISTBOOK = yes; then
11830 result=no
11831 else
11832 result=yes
11833 fi
11834 else
11835 result=$wxUSE_LISTBOOK
11836 fi
11837
11838 { echo "$as_me:$LINENO: result: $result" >&5
11839 echo "${ECHO_T}$result" >&6; }
11840
11841
11842 enablestring=
11843 defaultval=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x"$enablestring" = xdisable; then
11846 defaultval=yes
11847 else
11848 defaultval=no
11849 fi
11850 fi
11851
11852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11853 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11854 # Check whether --enable-listbox was given.
11855 if test "${enable_listbox+set}" = set; then
11856 enableval=$enable_listbox;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11859 else
11860 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11861 fi
11862 cache=yes
11863
11864 else
11865
11866 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11867 if test "x$LINE" != x ; then
11868 eval "DEFAULT_$LINE"
11869 fi
11870
11871 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11872
11873 fi
11874
11875
11876 eval "$wx_cv_use_listbox"
11877 if test "x$cache" = xyes; then
11878 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11879 fi
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_LISTBOX = yes; then
11883 result=no
11884 else
11885 result=yes
11886 fi
11887 else
11888 result=$wxUSE_LISTBOX
11889 fi
11890
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11907 # Check whether --enable-listctrl was given.
11908 if test "${enable_listctrl+set}" = set; then
11909 enableval=$enable_listctrl;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11912 else
11913 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11914 fi
11915 cache=yes
11916
11917 else
11918
11919 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11920 if test "x$LINE" != x ; then
11921 eval "DEFAULT_$LINE"
11922 fi
11923
11924 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_listctrl"
11930 if test "x$cache" = xyes; then
11931 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11932 fi
11933
11934 if test x"$enablestring" = xdisable; then
11935 if test $wxUSE_LISTCTRL = yes; then
11936 result=no
11937 else
11938 result=yes
11939 fi
11940 else
11941 result=$wxUSE_LISTCTRL
11942 fi
11943
11944 { echo "$as_me:$LINENO: result: $result" >&5
11945 echo "${ECHO_T}$result" >&6; }
11946
11947
11948 enablestring=
11949 defaultval=$wxUSE_ALL_FEATURES
11950 if test -z "$defaultval"; then
11951 if test x"$enablestring" = xdisable; then
11952 defaultval=yes
11953 else
11954 defaultval=no
11955 fi
11956 fi
11957
11958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11960 # Check whether --enable-notebook was given.
11961 if test "${enable_notebook+set}" = set; then
11962 enableval=$enable_notebook;
11963 if test "$enableval" = yes; then
11964 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11965 else
11966 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11967 fi
11968 cache=yes
11969
11970 else
11971
11972 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11973 if test "x$LINE" != x ; then
11974 eval "DEFAULT_$LINE"
11975 fi
11976
11977 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_notebook"
11983 if test "x$cache" = xyes; then
11984 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11985 fi
11986
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_NOTEBOOK = yes; then
11989 result=no
11990 else
11991 result=yes
11992 fi
11993 else
11994 result=$wxUSE_NOTEBOOK
11995 fi
11996
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
11999
12000
12001 enablestring=
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12005 defaultval=yes
12006 else
12007 defaultval=no
12008 fi
12009 fi
12010
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12013 # Check whether --enable-odcombobox was given.
12014 if test "${enable_odcombobox+set}" = set; then
12015 enableval=$enable_odcombobox;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12018 else
12019 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12020 fi
12021 cache=yes
12022
12023 else
12024
12025 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12028 fi
12029
12030 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12031
12032 fi
12033
12034
12035 eval "$wx_cv_use_odcombobox"
12036 if test "x$cache" = xyes; then
12037 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12038 fi
12039
12040 if test x"$enablestring" = xdisable; then
12041 if test $wxUSE_ODCOMBOBOX = yes; then
12042 result=no
12043 else
12044 result=yes
12045 fi
12046 else
12047 result=$wxUSE_ODCOMBOBOX
12048 fi
12049
12050 { echo "$as_me:$LINENO: result: $result" >&5
12051 echo "${ECHO_T}$result" >&6; }
12052
12053
12054 enablestring=
12055 defaultval=$wxUSE_ALL_FEATURES
12056 if test -z "$defaultval"; then
12057 if test x"$enablestring" = xdisable; then
12058 defaultval=yes
12059 else
12060 defaultval=no
12061 fi
12062 fi
12063
12064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12065 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12066 # Check whether --enable-radiobox was given.
12067 if test "${enable_radiobox+set}" = set; then
12068 enableval=$enable_radiobox;
12069 if test "$enableval" = yes; then
12070 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12071 else
12072 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12073 fi
12074 cache=yes
12075
12076 else
12077
12078 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12079 if test "x$LINE" != x ; then
12080 eval "DEFAULT_$LINE"
12081 fi
12082
12083 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12084
12085 fi
12086
12087
12088 eval "$wx_cv_use_radiobox"
12089 if test "x$cache" = xyes; then
12090 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12091 fi
12092
12093 if test x"$enablestring" = xdisable; then
12094 if test $wxUSE_RADIOBOX = yes; then
12095 result=no
12096 else
12097 result=yes
12098 fi
12099 else
12100 result=$wxUSE_RADIOBOX
12101 fi
12102
12103 { echo "$as_me:$LINENO: result: $result" >&5
12104 echo "${ECHO_T}$result" >&6; }
12105
12106
12107 enablestring=
12108 defaultval=$wxUSE_ALL_FEATURES
12109 if test -z "$defaultval"; then
12110 if test x"$enablestring" = xdisable; then
12111 defaultval=yes
12112 else
12113 defaultval=no
12114 fi
12115 fi
12116
12117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12119 # Check whether --enable-radiobtn was given.
12120 if test "${enable_radiobtn+set}" = set; then
12121 enableval=$enable_radiobtn;
12122 if test "$enableval" = yes; then
12123 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12124 else
12125 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12126 fi
12127 cache=yes
12128
12129 else
12130
12131 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12132 if test "x$LINE" != x ; then
12133 eval "DEFAULT_$LINE"
12134 fi
12135
12136 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12137
12138 fi
12139
12140
12141 eval "$wx_cv_use_radiobtn"
12142 if test "x$cache" = xyes; then
12143 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12144 fi
12145
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_RADIOBTN = yes; then
12148 result=no
12149 else
12150 result=yes
12151 fi
12152 else
12153 result=$wxUSE_RADIOBTN
12154 fi
12155
12156 { echo "$as_me:$LINENO: result: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12158
12159
12160 enablestring=
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12164 defaultval=yes
12165 else
12166 defaultval=no
12167 fi
12168 fi
12169
12170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12171 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12172 # Check whether --enable-sash was given.
12173 if test "${enable_sash+set}" = set; then
12174 enableval=$enable_sash;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_sash='wxUSE_SASH=yes'
12177 else
12178 wx_cv_use_sash='wxUSE_SASH=no'
12179 fi
12180 cache=yes
12181
12182 else
12183
12184 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12185 if test "x$LINE" != x ; then
12186 eval "DEFAULT_$LINE"
12187 fi
12188
12189 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12190
12191 fi
12192
12193
12194 eval "$wx_cv_use_sash"
12195 if test "x$cache" = xyes; then
12196 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12197 fi
12198
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_SASH = yes; then
12201 result=no
12202 else
12203 result=yes
12204 fi
12205 else
12206 result=$wxUSE_SASH
12207 fi
12208
12209 { echo "$as_me:$LINENO: result: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12211
12212
12213 enablestring=
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12217 defaultval=yes
12218 else
12219 defaultval=no
12220 fi
12221 fi
12222
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12225 # Check whether --enable-scrollbar was given.
12226 if test "${enable_scrollbar+set}" = set; then
12227 enableval=$enable_scrollbar;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12230 else
12231 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12232 fi
12233 cache=yes
12234
12235 else
12236
12237 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12238 if test "x$LINE" != x ; then
12239 eval "DEFAULT_$LINE"
12240 fi
12241
12242 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_scrollbar"
12248 if test "x$cache" = xyes; then
12249 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12250 fi
12251
12252 if test x"$enablestring" = xdisable; then
12253 if test $wxUSE_SCROLLBAR = yes; then
12254 result=no
12255 else
12256 result=yes
12257 fi
12258 else
12259 result=$wxUSE_SCROLLBAR
12260 fi
12261
12262 { echo "$as_me:$LINENO: result: $result" >&5
12263 echo "${ECHO_T}$result" >&6; }
12264
12265
12266 enablestring=
12267 defaultval=$wxUSE_ALL_FEATURES
12268 if test -z "$defaultval"; then
12269 if test x"$enablestring" = xdisable; then
12270 defaultval=yes
12271 else
12272 defaultval=no
12273 fi
12274 fi
12275
12276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12277 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12278 # Check whether --enable-searchctrl was given.
12279 if test "${enable_searchctrl+set}" = set; then
12280 enableval=$enable_searchctrl;
12281 if test "$enableval" = yes; then
12282 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12283 else
12284 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12285 fi
12286 cache=yes
12287
12288 else
12289
12290 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12291 if test "x$LINE" != x ; then
12292 eval "DEFAULT_$LINE"
12293 fi
12294
12295 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12296
12297 fi
12298
12299
12300 eval "$wx_cv_use_searchctrl"
12301 if test "x$cache" = xyes; then
12302 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12303 fi
12304
12305 if test x"$enablestring" = xdisable; then
12306 if test $wxUSE_SEARCHCTRL = yes; then
12307 result=no
12308 else
12309 result=yes
12310 fi
12311 else
12312 result=$wxUSE_SEARCHCTRL
12313 fi
12314
12315 { echo "$as_me:$LINENO: result: $result" >&5
12316 echo "${ECHO_T}$result" >&6; }
12317
12318
12319 enablestring=
12320 defaultval=$wxUSE_ALL_FEATURES
12321 if test -z "$defaultval"; then
12322 if test x"$enablestring" = xdisable; then
12323 defaultval=yes
12324 else
12325 defaultval=no
12326 fi
12327 fi
12328
12329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12330 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12331 # Check whether --enable-slider was given.
12332 if test "${enable_slider+set}" = set; then
12333 enableval=$enable_slider;
12334 if test "$enableval" = yes; then
12335 wx_cv_use_slider='wxUSE_SLIDER=yes'
12336 else
12337 wx_cv_use_slider='wxUSE_SLIDER=no'
12338 fi
12339 cache=yes
12340
12341 else
12342
12343 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12344 if test "x$LINE" != x ; then
12345 eval "DEFAULT_$LINE"
12346 fi
12347
12348 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12349
12350 fi
12351
12352
12353 eval "$wx_cv_use_slider"
12354 if test "x$cache" = xyes; then
12355 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12356 fi
12357
12358 if test x"$enablestring" = xdisable; then
12359 if test $wxUSE_SLIDER = yes; then
12360 result=no
12361 else
12362 result=yes
12363 fi
12364 else
12365 result=$wxUSE_SLIDER
12366 fi
12367
12368 { echo "$as_me:$LINENO: result: $result" >&5
12369 echo "${ECHO_T}$result" >&6; }
12370
12371
12372 enablestring=
12373 defaultval=$wxUSE_ALL_FEATURES
12374 if test -z "$defaultval"; then
12375 if test x"$enablestring" = xdisable; then
12376 defaultval=yes
12377 else
12378 defaultval=no
12379 fi
12380 fi
12381
12382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12383 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12384 # Check whether --enable-spinbtn was given.
12385 if test "${enable_spinbtn+set}" = set; then
12386 enableval=$enable_spinbtn;
12387 if test "$enableval" = yes; then
12388 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12389 else
12390 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12391 fi
12392 cache=yes
12393
12394 else
12395
12396 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12397 if test "x$LINE" != x ; then
12398 eval "DEFAULT_$LINE"
12399 fi
12400
12401 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12402
12403 fi
12404
12405
12406 eval "$wx_cv_use_spinbtn"
12407 if test "x$cache" = xyes; then
12408 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12409 fi
12410
12411 if test x"$enablestring" = xdisable; then
12412 if test $wxUSE_SPINBTN = yes; then
12413 result=no
12414 else
12415 result=yes
12416 fi
12417 else
12418 result=$wxUSE_SPINBTN
12419 fi
12420
12421 { echo "$as_me:$LINENO: result: $result" >&5
12422 echo "${ECHO_T}$result" >&6; }
12423
12424
12425 enablestring=
12426 defaultval=$wxUSE_ALL_FEATURES
12427 if test -z "$defaultval"; then
12428 if test x"$enablestring" = xdisable; then
12429 defaultval=yes
12430 else
12431 defaultval=no
12432 fi
12433 fi
12434
12435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12436 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12437 # Check whether --enable-spinctrl was given.
12438 if test "${enable_spinctrl+set}" = set; then
12439 enableval=$enable_spinctrl;
12440 if test "$enableval" = yes; then
12441 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12442 else
12443 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12444 fi
12445 cache=yes
12446
12447 else
12448
12449 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12450 if test "x$LINE" != x ; then
12451 eval "DEFAULT_$LINE"
12452 fi
12453
12454 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12455
12456 fi
12457
12458
12459 eval "$wx_cv_use_spinctrl"
12460 if test "x$cache" = xyes; then
12461 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12462 fi
12463
12464 if test x"$enablestring" = xdisable; then
12465 if test $wxUSE_SPINCTRL = yes; then
12466 result=no
12467 else
12468 result=yes
12469 fi
12470 else
12471 result=$wxUSE_SPINCTRL
12472 fi
12473
12474 { echo "$as_me:$LINENO: result: $result" >&5
12475 echo "${ECHO_T}$result" >&6; }
12476
12477
12478 enablestring=
12479 defaultval=$wxUSE_ALL_FEATURES
12480 if test -z "$defaultval"; then
12481 if test x"$enablestring" = xdisable; then
12482 defaultval=yes
12483 else
12484 defaultval=no
12485 fi
12486 fi
12487
12488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12489 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12490 # Check whether --enable-splitter was given.
12491 if test "${enable_splitter+set}" = set; then
12492 enableval=$enable_splitter;
12493 if test "$enableval" = yes; then
12494 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12495 else
12496 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12497 fi
12498 cache=yes
12499
12500 else
12501
12502 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12503 if test "x$LINE" != x ; then
12504 eval "DEFAULT_$LINE"
12505 fi
12506
12507 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12508
12509 fi
12510
12511
12512 eval "$wx_cv_use_splitter"
12513 if test "x$cache" = xyes; then
12514 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12515 fi
12516
12517 if test x"$enablestring" = xdisable; then
12518 if test $wxUSE_SPLITTER = yes; then
12519 result=no
12520 else
12521 result=yes
12522 fi
12523 else
12524 result=$wxUSE_SPLITTER
12525 fi
12526
12527 { echo "$as_me:$LINENO: result: $result" >&5
12528 echo "${ECHO_T}$result" >&6; }
12529
12530
12531 enablestring=
12532 defaultval=$wxUSE_ALL_FEATURES
12533 if test -z "$defaultval"; then
12534 if test x"$enablestring" = xdisable; then
12535 defaultval=yes
12536 else
12537 defaultval=no
12538 fi
12539 fi
12540
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12543 # Check whether --enable-statbmp was given.
12544 if test "${enable_statbmp+set}" = set; then
12545 enableval=$enable_statbmp;
12546 if test "$enableval" = yes; then
12547 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12548 else
12549 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12550 fi
12551 cache=yes
12552
12553 else
12554
12555 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12558 fi
12559
12560 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12561
12562 fi
12563
12564
12565 eval "$wx_cv_use_statbmp"
12566 if test "x$cache" = xyes; then
12567 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12568 fi
12569
12570 if test x"$enablestring" = xdisable; then
12571 if test $wxUSE_STATBMP = yes; then
12572 result=no
12573 else
12574 result=yes
12575 fi
12576 else
12577 result=$wxUSE_STATBMP
12578 fi
12579
12580 { echo "$as_me:$LINENO: result: $result" >&5
12581 echo "${ECHO_T}$result" >&6; }
12582
12583
12584 enablestring=
12585 defaultval=$wxUSE_ALL_FEATURES
12586 if test -z "$defaultval"; then
12587 if test x"$enablestring" = xdisable; then
12588 defaultval=yes
12589 else
12590 defaultval=no
12591 fi
12592 fi
12593
12594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12595 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12596 # Check whether --enable-statbox was given.
12597 if test "${enable_statbox+set}" = set; then
12598 enableval=$enable_statbox;
12599 if test "$enableval" = yes; then
12600 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12601 else
12602 wx_cv_use_statbox='wxUSE_STATBOX=no'
12603 fi
12604 cache=yes
12605
12606 else
12607
12608 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12609 if test "x$LINE" != x ; then
12610 eval "DEFAULT_$LINE"
12611 fi
12612
12613 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12614
12615 fi
12616
12617
12618 eval "$wx_cv_use_statbox"
12619 if test "x$cache" = xyes; then
12620 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12621 fi
12622
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_STATBOX = yes; then
12625 result=no
12626 else
12627 result=yes
12628 fi
12629 else
12630 result=$wxUSE_STATBOX
12631 fi
12632
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12635
12636
12637 enablestring=
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12641 defaultval=yes
12642 else
12643 defaultval=no
12644 fi
12645 fi
12646
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12649 # Check whether --enable-statline was given.
12650 if test "${enable_statline+set}" = set; then
12651 enableval=$enable_statline;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_statline='wxUSE_STATLINE=yes'
12654 else
12655 wx_cv_use_statline='wxUSE_STATLINE=no'
12656 fi
12657 cache=yes
12658
12659 else
12660
12661 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12662 if test "x$LINE" != x ; then
12663 eval "DEFAULT_$LINE"
12664 fi
12665
12666 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12667
12668 fi
12669
12670
12671 eval "$wx_cv_use_statline"
12672 if test "x$cache" = xyes; then
12673 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12674 fi
12675
12676 if test x"$enablestring" = xdisable; then
12677 if test $wxUSE_STATLINE = yes; then
12678 result=no
12679 else
12680 result=yes
12681 fi
12682 else
12683 result=$wxUSE_STATLINE
12684 fi
12685
12686 { echo "$as_me:$LINENO: result: $result" >&5
12687 echo "${ECHO_T}$result" >&6; }
12688
12689
12690 enablestring=
12691 defaultval=$wxUSE_ALL_FEATURES
12692 if test -z "$defaultval"; then
12693 if test x"$enablestring" = xdisable; then
12694 defaultval=yes
12695 else
12696 defaultval=no
12697 fi
12698 fi
12699
12700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12701 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12702 # Check whether --enable-stattext was given.
12703 if test "${enable_stattext+set}" = set; then
12704 enableval=$enable_stattext;
12705 if test "$enableval" = yes; then
12706 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12707 else
12708 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12709 fi
12710 cache=yes
12711
12712 else
12713
12714 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12715 if test "x$LINE" != x ; then
12716 eval "DEFAULT_$LINE"
12717 fi
12718
12719 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_stattext"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12727 fi
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STATTEXT = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_STATTEXT
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12755 # Check whether --enable-statusbar was given.
12756 if test "${enable_statusbar+set}" = set; then
12757 enableval=$enable_statusbar;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12760 else
12761 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12762 fi
12763 cache=yes
12764
12765 else
12766
12767 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12768 if test "x$LINE" != x ; then
12769 eval "DEFAULT_$LINE"
12770 fi
12771
12772 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12773
12774 fi
12775
12776
12777 eval "$wx_cv_use_statusbar"
12778 if test "x$cache" = xyes; then
12779 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12780 fi
12781
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_STATUSBAR = yes; then
12784 result=no
12785 else
12786 result=yes
12787 fi
12788 else
12789 result=$wxUSE_STATUSBAR
12790 fi
12791
12792 { echo "$as_me:$LINENO: result: $result" >&5
12793 echo "${ECHO_T}$result" >&6; }
12794
12795
12796 enablestring=
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12800 defaultval=yes
12801 else
12802 defaultval=no
12803 fi
12804 fi
12805
12806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12807 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12808 # Check whether --enable-tabdialog was given.
12809 if test "${enable_tabdialog+set}" = set; then
12810 enableval=$enable_tabdialog;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12813 else
12814 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12815 fi
12816 cache=yes
12817
12818 else
12819
12820 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12821 if test "x$LINE" != x ; then
12822 eval "DEFAULT_$LINE"
12823 fi
12824
12825 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12826
12827 fi
12828
12829
12830 eval "$wx_cv_use_tabdialog"
12831 if test "x$cache" = xyes; then
12832 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12833 fi
12834
12835 if test x"$enablestring" = xdisable; then
12836 if test $wxUSE_TAB_DIALOG = yes; then
12837 result=no
12838 else
12839 result=yes
12840 fi
12841 else
12842 result=$wxUSE_TAB_DIALOG
12843 fi
12844
12845 { echo "$as_me:$LINENO: result: $result" >&5
12846 echo "${ECHO_T}$result" >&6; }
12847
12848
12849 enablestring=
12850 defaultval=$wxUSE_ALL_FEATURES
12851 if test -z "$defaultval"; then
12852 if test x"$enablestring" = xdisable; then
12853 defaultval=yes
12854 else
12855 defaultval=no
12856 fi
12857 fi
12858
12859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12860 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12861 # Check whether --enable-taskbaricon was given.
12862 if test "${enable_taskbaricon+set}" = set; then
12863 enableval=$enable_taskbaricon;
12864 if test "$enableval" = yes; then
12865 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12866 else
12867 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12868 fi
12869 cache=yes
12870
12871 else
12872
12873 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12874 if test "x$LINE" != x ; then
12875 eval "DEFAULT_$LINE"
12876 fi
12877
12878 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12879
12880 fi
12881
12882
12883 eval "$wx_cv_use_taskbaricon"
12884 if test "x$cache" = xyes; then
12885 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12886 fi
12887
12888 if test x"$enablestring" = xdisable; then
12889 if test $wxUSE_TASKBARICON = yes; then
12890 result=no
12891 else
12892 result=yes
12893 fi
12894 else
12895 result=$wxUSE_TASKBARICON
12896 fi
12897
12898 { echo "$as_me:$LINENO: result: $result" >&5
12899 echo "${ECHO_T}$result" >&6; }
12900
12901
12902 enablestring=
12903 defaultval=$wxUSE_ALL_FEATURES
12904 if test -z "$defaultval"; then
12905 if test x"$enablestring" = xdisable; then
12906 defaultval=yes
12907 else
12908 defaultval=no
12909 fi
12910 fi
12911
12912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12913 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12914 # Check whether --enable-textctrl was given.
12915 if test "${enable_textctrl+set}" = set; then
12916 enableval=$enable_textctrl;
12917 if test "$enableval" = yes; then
12918 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12919 else
12920 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12921 fi
12922 cache=yes
12923
12924 else
12925
12926 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12927 if test "x$LINE" != x ; then
12928 eval "DEFAULT_$LINE"
12929 fi
12930
12931 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12932
12933 fi
12934
12935
12936 eval "$wx_cv_use_textctrl"
12937 if test "x$cache" = xyes; then
12938 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12939 fi
12940
12941 if test x"$enablestring" = xdisable; then
12942 if test $wxUSE_TEXTCTRL = yes; then
12943 result=no
12944 else
12945 result=yes
12946 fi
12947 else
12948 result=$wxUSE_TEXTCTRL
12949 fi
12950
12951 { echo "$as_me:$LINENO: result: $result" >&5
12952 echo "${ECHO_T}$result" >&6; }
12953
12954
12955 enablestring=
12956 defaultval=$wxUSE_ALL_FEATURES
12957 if test -z "$defaultval"; then
12958 if test x"$enablestring" = xdisable; then
12959 defaultval=yes
12960 else
12961 defaultval=no
12962 fi
12963 fi
12964
12965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12966 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12967 # Check whether --enable-togglebtn was given.
12968 if test "${enable_togglebtn+set}" = set; then
12969 enableval=$enable_togglebtn;
12970 if test "$enableval" = yes; then
12971 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12972 else
12973 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12974 fi
12975 cache=yes
12976
12977 else
12978
12979 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12980 if test "x$LINE" != x ; then
12981 eval "DEFAULT_$LINE"
12982 fi
12983
12984 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12985
12986 fi
12987
12988
12989 eval "$wx_cv_use_togglebtn"
12990 if test "x$cache" = xyes; then
12991 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12992 fi
12993
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_TOGGLEBTN = yes; then
12996 result=no
12997 else
12998 result=yes
12999 fi
13000 else
13001 result=$wxUSE_TOGGLEBTN
13002 fi
13003
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13006
13007
13008 enablestring=
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13012 defaultval=yes
13013 else
13014 defaultval=no
13015 fi
13016 fi
13017
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13020 # Check whether --enable-toolbar was given.
13021 if test "${enable_toolbar+set}" = set; then
13022 enableval=$enable_toolbar;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13025 else
13026 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13027 fi
13028 cache=yes
13029
13030 else
13031
13032 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13033 if test "x$LINE" != x ; then
13034 eval "DEFAULT_$LINE"
13035 fi
13036
13037 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13038
13039 fi
13040
13041
13042 eval "$wx_cv_use_toolbar"
13043 if test "x$cache" = xyes; then
13044 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13045 fi
13046
13047 if test x"$enablestring" = xdisable; then
13048 if test $wxUSE_TOOLBAR = yes; then
13049 result=no
13050 else
13051 result=yes
13052 fi
13053 else
13054 result=$wxUSE_TOOLBAR
13055 fi
13056
13057 { echo "$as_me:$LINENO: result: $result" >&5
13058 echo "${ECHO_T}$result" >&6; }
13059
13060
13061 enablestring=
13062 defaultval=$wxUSE_ALL_FEATURES
13063 if test -z "$defaultval"; then
13064 if test x"$enablestring" = xdisable; then
13065 defaultval=yes
13066 else
13067 defaultval=no
13068 fi
13069 fi
13070
13071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13072 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13073 # Check whether --enable-tbarnative was given.
13074 if test "${enable_tbarnative+set}" = set; then
13075 enableval=$enable_tbarnative;
13076 if test "$enableval" = yes; then
13077 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13078 else
13079 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13080 fi
13081 cache=yes
13082
13083 else
13084
13085 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13086 if test "x$LINE" != x ; then
13087 eval "DEFAULT_$LINE"
13088 fi
13089
13090 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13091
13092 fi
13093
13094
13095 eval "$wx_cv_use_tbarnative"
13096 if test "x$cache" = xyes; then
13097 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13098 fi
13099
13100 if test x"$enablestring" = xdisable; then
13101 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13102 result=no
13103 else
13104 result=yes
13105 fi
13106 else
13107 result=$wxUSE_TOOLBAR_NATIVE
13108 fi
13109
13110 { echo "$as_me:$LINENO: result: $result" >&5
13111 echo "${ECHO_T}$result" >&6; }
13112
13113
13114 enablestring=
13115 defaultval=$wxUSE_ALL_FEATURES
13116 if test -z "$defaultval"; then
13117 if test x"$enablestring" = xdisable; then
13118 defaultval=yes
13119 else
13120 defaultval=no
13121 fi
13122 fi
13123
13124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13125 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13126 # Check whether --enable-treebook was given.
13127 if test "${enable_treebook+set}" = set; then
13128 enableval=$enable_treebook;
13129 if test "$enableval" = yes; then
13130 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13131 else
13132 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13133 fi
13134 cache=yes
13135
13136 else
13137
13138 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13139 if test "x$LINE" != x ; then
13140 eval "DEFAULT_$LINE"
13141 fi
13142
13143 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13144
13145 fi
13146
13147
13148 eval "$wx_cv_use_treebook"
13149 if test "x$cache" = xyes; then
13150 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13151 fi
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_TREEBOOK = yes; then
13155 result=no
13156 else
13157 result=yes
13158 fi
13159 else
13160 result=$wxUSE_TREEBOOK
13161 fi
13162
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13179 # Check whether --enable-toolbook was given.
13180 if test "${enable_toolbook+set}" = set; then
13181 enableval=$enable_toolbook;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13184 else
13185 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13186 fi
13187 cache=yes
13188
13189 else
13190
13191 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13192 if test "x$LINE" != x ; then
13193 eval "DEFAULT_$LINE"
13194 fi
13195
13196 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13197
13198 fi
13199
13200
13201 eval "$wx_cv_use_toolbook"
13202 if test "x$cache" = xyes; then
13203 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13204 fi
13205
13206 if test x"$enablestring" = xdisable; then
13207 if test $wxUSE_TOOLBOOK = yes; then
13208 result=no
13209 else
13210 result=yes
13211 fi
13212 else
13213 result=$wxUSE_TOOLBOOK
13214 fi
13215
13216 { echo "$as_me:$LINENO: result: $result" >&5
13217 echo "${ECHO_T}$result" >&6; }
13218
13219
13220 enablestring=
13221 defaultval=$wxUSE_ALL_FEATURES
13222 if test -z "$defaultval"; then
13223 if test x"$enablestring" = xdisable; then
13224 defaultval=yes
13225 else
13226 defaultval=no
13227 fi
13228 fi
13229
13230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13231 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13232 # Check whether --enable-treectrl was given.
13233 if test "${enable_treectrl+set}" = set; then
13234 enableval=$enable_treectrl;
13235 if test "$enableval" = yes; then
13236 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13237 else
13238 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13239 fi
13240 cache=yes
13241
13242 else
13243
13244 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13245 if test "x$LINE" != x ; then
13246 eval "DEFAULT_$LINE"
13247 fi
13248
13249 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13250
13251 fi
13252
13253
13254 eval "$wx_cv_use_treectrl"
13255 if test "x$cache" = xyes; then
13256 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13257 fi
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_TREECTRL = yes; then
13261 result=no
13262 else
13263 result=yes
13264 fi
13265 else
13266 result=$wxUSE_TREECTRL
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13285 # Check whether --enable-tipwindow was given.
13286 if test "${enable_tipwindow+set}" = set; then
13287 enableval=$enable_tipwindow;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13290 else
13291 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13292 fi
13293 cache=yes
13294
13295 else
13296
13297 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13298 if test "x$LINE" != x ; then
13299 eval "DEFAULT_$LINE"
13300 fi
13301
13302 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13303
13304 fi
13305
13306
13307 eval "$wx_cv_use_tipwindow"
13308 if test "x$cache" = xyes; then
13309 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13310 fi
13311
13312 if test x"$enablestring" = xdisable; then
13313 if test $wxUSE_TIPWINDOW = yes; then
13314 result=no
13315 else
13316 result=yes
13317 fi
13318 else
13319 result=$wxUSE_TIPWINDOW
13320 fi
13321
13322 { echo "$as_me:$LINENO: result: $result" >&5
13323 echo "${ECHO_T}$result" >&6; }
13324
13325
13326 enablestring=
13327 defaultval=$wxUSE_ALL_FEATURES
13328 if test -z "$defaultval"; then
13329 if test x"$enablestring" = xdisable; then
13330 defaultval=yes
13331 else
13332 defaultval=no
13333 fi
13334 fi
13335
13336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13337 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13338 # Check whether --enable-popupwin was given.
13339 if test "${enable_popupwin+set}" = set; then
13340 enableval=$enable_popupwin;
13341 if test "$enableval" = yes; then
13342 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13343 else
13344 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13345 fi
13346 cache=yes
13347
13348 else
13349
13350 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13351 if test "x$LINE" != x ; then
13352 eval "DEFAULT_$LINE"
13353 fi
13354
13355 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13356
13357 fi
13358
13359
13360 eval "$wx_cv_use_popupwin"
13361 if test "x$cache" = xyes; then
13362 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13363 fi
13364
13365 if test x"$enablestring" = xdisable; then
13366 if test $wxUSE_POPUPWIN = yes; then
13367 result=no
13368 else
13369 result=yes
13370 fi
13371 else
13372 result=$wxUSE_POPUPWIN
13373 fi
13374
13375 { echo "$as_me:$LINENO: result: $result" >&5
13376 echo "${ECHO_T}$result" >&6; }
13377
13378
13379
13380
13381 enablestring=
13382 defaultval=$wxUSE_ALL_FEATURES
13383 if test -z "$defaultval"; then
13384 if test x"$enablestring" = xdisable; then
13385 defaultval=yes
13386 else
13387 defaultval=no
13388 fi
13389 fi
13390
13391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13392 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13393 # Check whether --enable-commondlg was given.
13394 if test "${enable_commondlg+set}" = set; then
13395 enableval=$enable_commondlg;
13396 if test "$enableval" = yes; then
13397 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13398 else
13399 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13400 fi
13401 cache=yes
13402
13403 else
13404
13405 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13406 if test "x$LINE" != x ; then
13407 eval "DEFAULT_$LINE"
13408 fi
13409
13410 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_commondlg"
13416 if test "x$cache" = xyes; then
13417 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13418 fi
13419
13420 if test x"$enablestring" = xdisable; then
13421 if test $wxUSE_COMMONDLGS = yes; then
13422 result=no
13423 else
13424 result=yes
13425 fi
13426 else
13427 result=$wxUSE_COMMONDLGS
13428 fi
13429
13430 { echo "$as_me:$LINENO: result: $result" >&5
13431 echo "${ECHO_T}$result" >&6; }
13432
13433
13434 enablestring=
13435 defaultval=$wxUSE_ALL_FEATURES
13436 if test -z "$defaultval"; then
13437 if test x"$enablestring" = xdisable; then
13438 defaultval=yes
13439 else
13440 defaultval=no
13441 fi
13442 fi
13443
13444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13445 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13446 # Check whether --enable-aboutdlg was given.
13447 if test "${enable_aboutdlg+set}" = set; then
13448 enableval=$enable_aboutdlg;
13449 if test "$enableval" = yes; then
13450 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13451 else
13452 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13453 fi
13454 cache=yes
13455
13456 else
13457
13458 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13459 if test "x$LINE" != x ; then
13460 eval "DEFAULT_$LINE"
13461 fi
13462
13463 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13464
13465 fi
13466
13467
13468 eval "$wx_cv_use_aboutdlg"
13469 if test "x$cache" = xyes; then
13470 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13471 fi
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_ABOUTDLG = yes; then
13475 result=no
13476 else
13477 result=yes
13478 fi
13479 else
13480 result=$wxUSE_ABOUTDLG
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13499 # Check whether --enable-choicedlg was given.
13500 if test "${enable_choicedlg+set}" = set; then
13501 enableval=$enable_choicedlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13504 else
13505 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13506 fi
13507 cache=yes
13508
13509 else
13510
13511 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13512 if test "x$LINE" != x ; then
13513 eval "DEFAULT_$LINE"
13514 fi
13515
13516 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13517
13518 fi
13519
13520
13521 eval "$wx_cv_use_choicedlg"
13522 if test "x$cache" = xyes; then
13523 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13524 fi
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_CHOICEDLG = yes; then
13528 result=no
13529 else
13530 result=yes
13531 fi
13532 else
13533 result=$wxUSE_CHOICEDLG
13534 fi
13535
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13538
13539
13540 enablestring=
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13544 defaultval=yes
13545 else
13546 defaultval=no
13547 fi
13548 fi
13549
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13552 # Check whether --enable-coldlg was given.
13553 if test "${enable_coldlg+set}" = set; then
13554 enableval=$enable_coldlg;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13557 else
13558 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13559 fi
13560 cache=yes
13561
13562 else
13563
13564 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13565 if test "x$LINE" != x ; then
13566 eval "DEFAULT_$LINE"
13567 fi
13568
13569 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13570
13571 fi
13572
13573
13574 eval "$wx_cv_use_coldlg"
13575 if test "x$cache" = xyes; then
13576 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13577 fi
13578
13579 if test x"$enablestring" = xdisable; then
13580 if test $wxUSE_COLOURDLG = yes; then
13581 result=no
13582 else
13583 result=yes
13584 fi
13585 else
13586 result=$wxUSE_COLOURDLG
13587 fi
13588
13589 { echo "$as_me:$LINENO: result: $result" >&5
13590 echo "${ECHO_T}$result" >&6; }
13591
13592
13593 enablestring=
13594 defaultval=$wxUSE_ALL_FEATURES
13595 if test -z "$defaultval"; then
13596 if test x"$enablestring" = xdisable; then
13597 defaultval=yes
13598 else
13599 defaultval=no
13600 fi
13601 fi
13602
13603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13604 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13605 # Check whether --enable-filedlg was given.
13606 if test "${enable_filedlg+set}" = set; then
13607 enableval=$enable_filedlg;
13608 if test "$enableval" = yes; then
13609 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13610 else
13611 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13612 fi
13613 cache=yes
13614
13615 else
13616
13617 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13618 if test "x$LINE" != x ; then
13619 eval "DEFAULT_$LINE"
13620 fi
13621
13622 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13623
13624 fi
13625
13626
13627 eval "$wx_cv_use_filedlg"
13628 if test "x$cache" = xyes; then
13629 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13630 fi
13631
13632 if test x"$enablestring" = xdisable; then
13633 if test $wxUSE_FILEDLG = yes; then
13634 result=no
13635 else
13636 result=yes
13637 fi
13638 else
13639 result=$wxUSE_FILEDLG
13640 fi
13641
13642 { echo "$as_me:$LINENO: result: $result" >&5
13643 echo "${ECHO_T}$result" >&6; }
13644
13645
13646 enablestring=
13647 defaultval=$wxUSE_ALL_FEATURES
13648 if test -z "$defaultval"; then
13649 if test x"$enablestring" = xdisable; then
13650 defaultval=yes
13651 else
13652 defaultval=no
13653 fi
13654 fi
13655
13656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13657 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13658 # Check whether --enable-finddlg was given.
13659 if test "${enable_finddlg+set}" = set; then
13660 enableval=$enable_finddlg;
13661 if test "$enableval" = yes; then
13662 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13663 else
13664 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13665 fi
13666 cache=yes
13667
13668 else
13669
13670 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13671 if test "x$LINE" != x ; then
13672 eval "DEFAULT_$LINE"
13673 fi
13674
13675 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13676
13677 fi
13678
13679
13680 eval "$wx_cv_use_finddlg"
13681 if test "x$cache" = xyes; then
13682 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13683 fi
13684
13685 if test x"$enablestring" = xdisable; then
13686 if test $wxUSE_FINDREPLDLG = yes; then
13687 result=no
13688 else
13689 result=yes
13690 fi
13691 else
13692 result=$wxUSE_FINDREPLDLG
13693 fi
13694
13695 { echo "$as_me:$LINENO: result: $result" >&5
13696 echo "${ECHO_T}$result" >&6; }
13697
13698
13699 enablestring=
13700 defaultval=$wxUSE_ALL_FEATURES
13701 if test -z "$defaultval"; then
13702 if test x"$enablestring" = xdisable; then
13703 defaultval=yes
13704 else
13705 defaultval=no
13706 fi
13707 fi
13708
13709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13710 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13711 # Check whether --enable-fontdlg was given.
13712 if test "${enable_fontdlg+set}" = set; then
13713 enableval=$enable_fontdlg;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13716 else
13717 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13718 fi
13719 cache=yes
13720
13721 else
13722
13723 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13724 if test "x$LINE" != x ; then
13725 eval "DEFAULT_$LINE"
13726 fi
13727
13728 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13729
13730 fi
13731
13732
13733 eval "$wx_cv_use_fontdlg"
13734 if test "x$cache" = xyes; then
13735 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13736 fi
13737
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_FONTDLG = yes; then
13740 result=no
13741 else
13742 result=yes
13743 fi
13744 else
13745 result=$wxUSE_FONTDLG
13746 fi
13747
13748 { echo "$as_me:$LINENO: result: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13750
13751
13752 enablestring=
13753 defaultval=$wxUSE_ALL_FEATURES
13754 if test -z "$defaultval"; then
13755 if test x"$enablestring" = xdisable; then
13756 defaultval=yes
13757 else
13758 defaultval=no
13759 fi
13760 fi
13761
13762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13763 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13764 # Check whether --enable-dirdlg was given.
13765 if test "${enable_dirdlg+set}" = set; then
13766 enableval=$enable_dirdlg;
13767 if test "$enableval" = yes; then
13768 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13769 else
13770 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13771 fi
13772 cache=yes
13773
13774 else
13775
13776 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13777 if test "x$LINE" != x ; then
13778 eval "DEFAULT_$LINE"
13779 fi
13780
13781 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_dirdlg"
13787 if test "x$cache" = xyes; then
13788 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13789 fi
13790
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_DIRDLG = yes; then
13793 result=no
13794 else
13795 result=yes
13796 fi
13797 else
13798 result=$wxUSE_DIRDLG
13799 fi
13800
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13817 # Check whether --enable-msgdlg was given.
13818 if test "${enable_msgdlg+set}" = set; then
13819 enableval=$enable_msgdlg;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13822 else
13823 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13824 fi
13825 cache=yes
13826
13827 else
13828
13829 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13830 if test "x$LINE" != x ; then
13831 eval "DEFAULT_$LINE"
13832 fi
13833
13834 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13835
13836 fi
13837
13838
13839 eval "$wx_cv_use_msgdlg"
13840 if test "x$cache" = xyes; then
13841 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13842 fi
13843
13844 if test x"$enablestring" = xdisable; then
13845 if test $wxUSE_MSGDLG = yes; then
13846 result=no
13847 else
13848 result=yes
13849 fi
13850 else
13851 result=$wxUSE_MSGDLG
13852 fi
13853
13854 { echo "$as_me:$LINENO: result: $result" >&5
13855 echo "${ECHO_T}$result" >&6; }
13856
13857
13858 enablestring=
13859 defaultval=$wxUSE_ALL_FEATURES
13860 if test -z "$defaultval"; then
13861 if test x"$enablestring" = xdisable; then
13862 defaultval=yes
13863 else
13864 defaultval=no
13865 fi
13866 fi
13867
13868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13869 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13870 # Check whether --enable-numberdlg was given.
13871 if test "${enable_numberdlg+set}" = set; then
13872 enableval=$enable_numberdlg;
13873 if test "$enableval" = yes; then
13874 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13875 else
13876 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13877 fi
13878 cache=yes
13879
13880 else
13881
13882 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13883 if test "x$LINE" != x ; then
13884 eval "DEFAULT_$LINE"
13885 fi
13886
13887 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13888
13889 fi
13890
13891
13892 eval "$wx_cv_use_numberdlg"
13893 if test "x$cache" = xyes; then
13894 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13895 fi
13896
13897 if test x"$enablestring" = xdisable; then
13898 if test $wxUSE_NUMBERDLG = yes; then
13899 result=no
13900 else
13901 result=yes
13902 fi
13903 else
13904 result=$wxUSE_NUMBERDLG
13905 fi
13906
13907 { echo "$as_me:$LINENO: result: $result" >&5
13908 echo "${ECHO_T}$result" >&6; }
13909
13910
13911 enablestring=
13912 defaultval=$wxUSE_ALL_FEATURES
13913 if test -z "$defaultval"; then
13914 if test x"$enablestring" = xdisable; then
13915 defaultval=yes
13916 else
13917 defaultval=no
13918 fi
13919 fi
13920
13921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13922 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13923 # Check whether --enable-splash was given.
13924 if test "${enable_splash+set}" = set; then
13925 enableval=$enable_splash;
13926 if test "$enableval" = yes; then
13927 wx_cv_use_splash='wxUSE_SPLASH=yes'
13928 else
13929 wx_cv_use_splash='wxUSE_SPLASH=no'
13930 fi
13931 cache=yes
13932
13933 else
13934
13935 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13936 if test "x$LINE" != x ; then
13937 eval "DEFAULT_$LINE"
13938 fi
13939
13940 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13941
13942 fi
13943
13944
13945 eval "$wx_cv_use_splash"
13946 if test "x$cache" = xyes; then
13947 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13948 fi
13949
13950 if test x"$enablestring" = xdisable; then
13951 if test $wxUSE_SPLASH = yes; then
13952 result=no
13953 else
13954 result=yes
13955 fi
13956 else
13957 result=$wxUSE_SPLASH
13958 fi
13959
13960 { echo "$as_me:$LINENO: result: $result" >&5
13961 echo "${ECHO_T}$result" >&6; }
13962
13963
13964 enablestring=
13965 defaultval=$wxUSE_ALL_FEATURES
13966 if test -z "$defaultval"; then
13967 if test x"$enablestring" = xdisable; then
13968 defaultval=yes
13969 else
13970 defaultval=no
13971 fi
13972 fi
13973
13974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13975 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13976 # Check whether --enable-textdlg was given.
13977 if test "${enable_textdlg+set}" = set; then
13978 enableval=$enable_textdlg;
13979 if test "$enableval" = yes; then
13980 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13981 else
13982 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13983 fi
13984 cache=yes
13985
13986 else
13987
13988 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13989 if test "x$LINE" != x ; then
13990 eval "DEFAULT_$LINE"
13991 fi
13992
13993 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13994
13995 fi
13996
13997
13998 eval "$wx_cv_use_textdlg"
13999 if test "x$cache" = xyes; then
14000 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14001 fi
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_TEXTDLG = yes; then
14005 result=no
14006 else
14007 result=yes
14008 fi
14009 else
14010 result=$wxUSE_TEXTDLG
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14029 # Check whether --enable-tipdlg was given.
14030 if test "${enable_tipdlg+set}" = set; then
14031 enableval=$enable_tipdlg;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14034 else
14035 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14036 fi
14037 cache=yes
14038
14039 else
14040
14041 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14042 if test "x$LINE" != x ; then
14043 eval "DEFAULT_$LINE"
14044 fi
14045
14046 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14047
14048 fi
14049
14050
14051 eval "$wx_cv_use_tipdlg"
14052 if test "x$cache" = xyes; then
14053 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14054 fi
14055
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_STARTUP_TIPS = yes; then
14058 result=no
14059 else
14060 result=yes
14061 fi
14062 else
14063 result=$wxUSE_STARTUP_TIPS
14064 fi
14065
14066 { echo "$as_me:$LINENO: result: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14068
14069
14070 enablestring=
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14074 defaultval=yes
14075 else
14076 defaultval=no
14077 fi
14078 fi
14079
14080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14081 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14082 # Check whether --enable-progressdlg was given.
14083 if test "${enable_progressdlg+set}" = set; then
14084 enableval=$enable_progressdlg;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14087 else
14088 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14089 fi
14090 cache=yes
14091
14092 else
14093
14094 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14095 if test "x$LINE" != x ; then
14096 eval "DEFAULT_$LINE"
14097 fi
14098
14099 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14100
14101 fi
14102
14103
14104 eval "$wx_cv_use_progressdlg"
14105 if test "x$cache" = xyes; then
14106 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14107 fi
14108
14109 if test x"$enablestring" = xdisable; then
14110 if test $wxUSE_PROGRESSDLG = yes; then
14111 result=no
14112 else
14113 result=yes
14114 fi
14115 else
14116 result=$wxUSE_PROGRESSDLG
14117 fi
14118
14119 { echo "$as_me:$LINENO: result: $result" >&5
14120 echo "${ECHO_T}$result" >&6; }
14121
14122
14123 enablestring=
14124 defaultval=$wxUSE_ALL_FEATURES
14125 if test -z "$defaultval"; then
14126 if test x"$enablestring" = xdisable; then
14127 defaultval=yes
14128 else
14129 defaultval=no
14130 fi
14131 fi
14132
14133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14134 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14135 # Check whether --enable-wizarddlg was given.
14136 if test "${enable_wizarddlg+set}" = set; then
14137 enableval=$enable_wizarddlg;
14138 if test "$enableval" = yes; then
14139 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14140 else
14141 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14142 fi
14143 cache=yes
14144
14145 else
14146
14147 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14148 if test "x$LINE" != x ; then
14149 eval "DEFAULT_$LINE"
14150 fi
14151
14152 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14153
14154 fi
14155
14156
14157 eval "$wx_cv_use_wizarddlg"
14158 if test "x$cache" = xyes; then
14159 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14160 fi
14161
14162 if test x"$enablestring" = xdisable; then
14163 if test $wxUSE_WIZARDDLG = yes; then
14164 result=no
14165 else
14166 result=yes
14167 fi
14168 else
14169 result=$wxUSE_WIZARDDLG
14170 fi
14171
14172 { echo "$as_me:$LINENO: result: $result" >&5
14173 echo "${ECHO_T}$result" >&6; }
14174
14175
14176
14177
14178 enablestring=
14179 defaultval=$wxUSE_ALL_FEATURES
14180 if test -z "$defaultval"; then
14181 if test x"$enablestring" = xdisable; then
14182 defaultval=yes
14183 else
14184 defaultval=no
14185 fi
14186 fi
14187
14188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14189 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14190 # Check whether --enable-menus was given.
14191 if test "${enable_menus+set}" = set; then
14192 enableval=$enable_menus;
14193 if test "$enableval" = yes; then
14194 wx_cv_use_menus='wxUSE_MENUS=yes'
14195 else
14196 wx_cv_use_menus='wxUSE_MENUS=no'
14197 fi
14198 cache=yes
14199
14200 else
14201
14202 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14203 if test "x$LINE" != x ; then
14204 eval "DEFAULT_$LINE"
14205 fi
14206
14207 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14208
14209 fi
14210
14211
14212 eval "$wx_cv_use_menus"
14213 if test "x$cache" = xyes; then
14214 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14215 fi
14216
14217 if test x"$enablestring" = xdisable; then
14218 if test $wxUSE_MENUS = yes; then
14219 result=no
14220 else
14221 result=yes
14222 fi
14223 else
14224 result=$wxUSE_MENUS
14225 fi
14226
14227 { echo "$as_me:$LINENO: result: $result" >&5
14228 echo "${ECHO_T}$result" >&6; }
14229
14230
14231 enablestring=
14232 defaultval=$wxUSE_ALL_FEATURES
14233 if test -z "$defaultval"; then
14234 if test x"$enablestring" = xdisable; then
14235 defaultval=yes
14236 else
14237 defaultval=no
14238 fi
14239 fi
14240
14241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14242 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14243 # Check whether --enable-miniframe was given.
14244 if test "${enable_miniframe+set}" = set; then
14245 enableval=$enable_miniframe;
14246 if test "$enableval" = yes; then
14247 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14248 else
14249 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14250 fi
14251 cache=yes
14252
14253 else
14254
14255 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14256 if test "x$LINE" != x ; then
14257 eval "DEFAULT_$LINE"
14258 fi
14259
14260 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14261
14262 fi
14263
14264
14265 eval "$wx_cv_use_miniframe"
14266 if test "x$cache" = xyes; then
14267 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14268 fi
14269
14270 if test x"$enablestring" = xdisable; then
14271 if test $wxUSE_MINIFRAME = yes; then
14272 result=no
14273 else
14274 result=yes
14275 fi
14276 else
14277 result=$wxUSE_MINIFRAME
14278 fi
14279
14280 { echo "$as_me:$LINENO: result: $result" >&5
14281 echo "${ECHO_T}$result" >&6; }
14282
14283
14284 enablestring=
14285 defaultval=$wxUSE_ALL_FEATURES
14286 if test -z "$defaultval"; then
14287 if test x"$enablestring" = xdisable; then
14288 defaultval=yes
14289 else
14290 defaultval=no
14291 fi
14292 fi
14293
14294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14295 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14296 # Check whether --enable-tooltips was given.
14297 if test "${enable_tooltips+set}" = set; then
14298 enableval=$enable_tooltips;
14299 if test "$enableval" = yes; then
14300 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14301 else
14302 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14303 fi
14304 cache=yes
14305
14306 else
14307
14308 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14309 if test "x$LINE" != x ; then
14310 eval "DEFAULT_$LINE"
14311 fi
14312
14313 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14314
14315 fi
14316
14317
14318 eval "$wx_cv_use_tooltips"
14319 if test "x$cache" = xyes; then
14320 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14321 fi
14322
14323 if test x"$enablestring" = xdisable; then
14324 if test $wxUSE_TOOLTIPS = yes; then
14325 result=no
14326 else
14327 result=yes
14328 fi
14329 else
14330 result=$wxUSE_TOOLTIPS
14331 fi
14332
14333 { echo "$as_me:$LINENO: result: $result" >&5
14334 echo "${ECHO_T}$result" >&6; }
14335
14336
14337 enablestring=
14338 defaultval=$wxUSE_ALL_FEATURES
14339 if test -z "$defaultval"; then
14340 if test x"$enablestring" = xdisable; then
14341 defaultval=yes
14342 else
14343 defaultval=no
14344 fi
14345 fi
14346
14347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14348 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14349 # Check whether --enable-splines was given.
14350 if test "${enable_splines+set}" = set; then
14351 enableval=$enable_splines;
14352 if test "$enableval" = yes; then
14353 wx_cv_use_splines='wxUSE_SPLINES=yes'
14354 else
14355 wx_cv_use_splines='wxUSE_SPLINES=no'
14356 fi
14357 cache=yes
14358
14359 else
14360
14361 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14362 if test "x$LINE" != x ; then
14363 eval "DEFAULT_$LINE"
14364 fi
14365
14366 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14367
14368 fi
14369
14370
14371 eval "$wx_cv_use_splines"
14372 if test "x$cache" = xyes; then
14373 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14374 fi
14375
14376 if test x"$enablestring" = xdisable; then
14377 if test $wxUSE_SPLINES = yes; then
14378 result=no
14379 else
14380 result=yes
14381 fi
14382 else
14383 result=$wxUSE_SPLINES
14384 fi
14385
14386 { echo "$as_me:$LINENO: result: $result" >&5
14387 echo "${ECHO_T}$result" >&6; }
14388
14389
14390 enablestring=
14391 defaultval=$wxUSE_ALL_FEATURES
14392 if test -z "$defaultval"; then
14393 if test x"$enablestring" = xdisable; then
14394 defaultval=yes
14395 else
14396 defaultval=no
14397 fi
14398 fi
14399
14400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14401 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14402 # Check whether --enable-mousewheel was given.
14403 if test "${enable_mousewheel+set}" = set; then
14404 enableval=$enable_mousewheel;
14405 if test "$enableval" = yes; then
14406 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14407 else
14408 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14409 fi
14410 cache=yes
14411
14412 else
14413
14414 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14415 if test "x$LINE" != x ; then
14416 eval "DEFAULT_$LINE"
14417 fi
14418
14419 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14420
14421 fi
14422
14423
14424 eval "$wx_cv_use_mousewheel"
14425 if test "x$cache" = xyes; then
14426 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14427 fi
14428
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_MOUSEWHEEL = yes; then
14431 result=no
14432 else
14433 result=yes
14434 fi
14435 else
14436 result=$wxUSE_MOUSEWHEEL
14437 fi
14438
14439 { echo "$as_me:$LINENO: result: $result" >&5
14440 echo "${ECHO_T}$result" >&6; }
14441
14442
14443 enablestring=
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z "$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14447 defaultval=yes
14448 else
14449 defaultval=no
14450 fi
14451 fi
14452
14453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14454 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14455 # Check whether --enable-validators was given.
14456 if test "${enable_validators+set}" = set; then
14457 enableval=$enable_validators;
14458 if test "$enableval" = yes; then
14459 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14460 else
14461 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14462 fi
14463 cache=yes
14464
14465 else
14466
14467 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14468 if test "x$LINE" != x ; then
14469 eval "DEFAULT_$LINE"
14470 fi
14471
14472 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14473
14474 fi
14475
14476
14477 eval "$wx_cv_use_validators"
14478 if test "x$cache" = xyes; then
14479 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14480 fi
14481
14482 if test x"$enablestring" = xdisable; then
14483 if test $wxUSE_VALIDATORS = yes; then
14484 result=no
14485 else
14486 result=yes
14487 fi
14488 else
14489 result=$wxUSE_VALIDATORS
14490 fi
14491
14492 { echo "$as_me:$LINENO: result: $result" >&5
14493 echo "${ECHO_T}$result" >&6; }
14494
14495
14496 enablestring=
14497 defaultval=$wxUSE_ALL_FEATURES
14498 if test -z "$defaultval"; then
14499 if test x"$enablestring" = xdisable; then
14500 defaultval=yes
14501 else
14502 defaultval=no
14503 fi
14504 fi
14505
14506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14507 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14508 # Check whether --enable-busyinfo was given.
14509 if test "${enable_busyinfo+set}" = set; then
14510 enableval=$enable_busyinfo;
14511 if test "$enableval" = yes; then
14512 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14513 else
14514 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14515 fi
14516 cache=yes
14517
14518 else
14519
14520 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14521 if test "x$LINE" != x ; then
14522 eval "DEFAULT_$LINE"
14523 fi
14524
14525 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14526
14527 fi
14528
14529
14530 eval "$wx_cv_use_busyinfo"
14531 if test "x$cache" = xyes; then
14532 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14533 fi
14534
14535 if test x"$enablestring" = xdisable; then
14536 if test $wxUSE_BUSYINFO = yes; then
14537 result=no
14538 else
14539 result=yes
14540 fi
14541 else
14542 result=$wxUSE_BUSYINFO
14543 fi
14544
14545 { echo "$as_me:$LINENO: result: $result" >&5
14546 echo "${ECHO_T}$result" >&6; }
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14561 # Check whether --enable-joystick was given.
14562 if test "${enable_joystick+set}" = set; then
14563 enableval=$enable_joystick;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14566 else
14567 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14568 fi
14569 cache=yes
14570
14571 else
14572
14573 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14574 if test "x$LINE" != x ; then
14575 eval "DEFAULT_$LINE"
14576 fi
14577
14578 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14579
14580 fi
14581
14582
14583 eval "$wx_cv_use_joystick"
14584 if test "x$cache" = xyes; then
14585 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14586 fi
14587
14588 if test x"$enablestring" = xdisable; then
14589 if test $wxUSE_JOYSTICK = yes; then
14590 result=no
14591 else
14592 result=yes
14593 fi
14594 else
14595 result=$wxUSE_JOYSTICK
14596 fi
14597
14598 { echo "$as_me:$LINENO: result: $result" >&5
14599 echo "${ECHO_T}$result" >&6; }
14600
14601
14602 enablestring=
14603 defaultval=$wxUSE_ALL_FEATURES
14604 if test -z "$defaultval"; then
14605 if test x"$enablestring" = xdisable; then
14606 defaultval=yes
14607 else
14608 defaultval=no
14609 fi
14610 fi
14611
14612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14613 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14614 # Check whether --enable-metafile was given.
14615 if test "${enable_metafile+set}" = set; then
14616 enableval=$enable_metafile;
14617 if test "$enableval" = yes; then
14618 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14619 else
14620 wx_cv_use_metafile='wxUSE_METAFILE=no'
14621 fi
14622 cache=yes
14623
14624 else
14625
14626 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14627 if test "x$LINE" != x ; then
14628 eval "DEFAULT_$LINE"
14629 fi
14630
14631 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14632
14633 fi
14634
14635
14636 eval "$wx_cv_use_metafile"
14637 if test "x$cache" = xyes; then
14638 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14639 fi
14640
14641 if test x"$enablestring" = xdisable; then
14642 if test $wxUSE_METAFILE = yes; then
14643 result=no
14644 else
14645 result=yes
14646 fi
14647 else
14648 result=$wxUSE_METAFILE
14649 fi
14650
14651 { echo "$as_me:$LINENO: result: $result" >&5
14652 echo "${ECHO_T}$result" >&6; }
14653
14654
14655 enablestring=
14656 defaultval=$wxUSE_ALL_FEATURES
14657 if test -z "$defaultval"; then
14658 if test x"$enablestring" = xdisable; then
14659 defaultval=yes
14660 else
14661 defaultval=no
14662 fi
14663 fi
14664
14665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14666 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14667 # Check whether --enable-dragimage was given.
14668 if test "${enable_dragimage+set}" = set; then
14669 enableval=$enable_dragimage;
14670 if test "$enableval" = yes; then
14671 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14672 else
14673 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14674 fi
14675 cache=yes
14676
14677 else
14678
14679 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14680 if test "x$LINE" != x ; then
14681 eval "DEFAULT_$LINE"
14682 fi
14683
14684 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14685
14686 fi
14687
14688
14689 eval "$wx_cv_use_dragimage"
14690 if test "x$cache" = xyes; then
14691 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14692 fi
14693
14694 if test x"$enablestring" = xdisable; then
14695 if test $wxUSE_DRAGIMAGE = yes; then
14696 result=no
14697 else
14698 result=yes
14699 fi
14700 else
14701 result=$wxUSE_DRAGIMAGE
14702 fi
14703
14704 { echo "$as_me:$LINENO: result: $result" >&5
14705 echo "${ECHO_T}$result" >&6; }
14706
14707
14708 enablestring=
14709 defaultval=$wxUSE_ALL_FEATURES
14710 if test -z "$defaultval"; then
14711 if test x"$enablestring" = xdisable; then
14712 defaultval=yes
14713 else
14714 defaultval=no
14715 fi
14716 fi
14717
14718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14719 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14720 # Check whether --enable-accessibility was given.
14721 if test "${enable_accessibility+set}" = set; then
14722 enableval=$enable_accessibility;
14723 if test "$enableval" = yes; then
14724 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14725 else
14726 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14727 fi
14728 cache=yes
14729
14730 else
14731
14732 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14733 if test "x$LINE" != x ; then
14734 eval "DEFAULT_$LINE"
14735 fi
14736
14737 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14738
14739 fi
14740
14741
14742 eval "$wx_cv_use_accessibility"
14743 if test "x$cache" = xyes; then
14744 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14745 fi
14746
14747 if test x"$enablestring" = xdisable; then
14748 if test $wxUSE_ACCESSIBILITY = yes; then
14749 result=no
14750 else
14751 result=yes
14752 fi
14753 else
14754 result=$wxUSE_ACCESSIBILITY
14755 fi
14756
14757 { echo "$as_me:$LINENO: result: $result" >&5
14758 echo "${ECHO_T}$result" >&6; }
14759
14760
14761
14762
14763 enablestring=
14764 defaultval=$wxUSE_ALL_FEATURES
14765 if test -z "$defaultval"; then
14766 if test x"$enablestring" = xdisable; then
14767 defaultval=yes
14768 else
14769 defaultval=no
14770 fi
14771 fi
14772
14773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14774 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14775 # Check whether --enable-palette was given.
14776 if test "${enable_palette+set}" = set; then
14777 enableval=$enable_palette;
14778 if test "$enableval" = yes; then
14779 wx_cv_use_palette='wxUSE_PALETTE=yes'
14780 else
14781 wx_cv_use_palette='wxUSE_PALETTE=no'
14782 fi
14783 cache=yes
14784
14785 else
14786
14787 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14788 if test "x$LINE" != x ; then
14789 eval "DEFAULT_$LINE"
14790 fi
14791
14792 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14793
14794 fi
14795
14796
14797 eval "$wx_cv_use_palette"
14798 if test "x$cache" = xyes; then
14799 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14800 fi
14801
14802 if test x"$enablestring" = xdisable; then
14803 if test $wxUSE_PALETTE = yes; then
14804 result=no
14805 else
14806 result=yes
14807 fi
14808 else
14809 result=$wxUSE_PALETTE
14810 fi
14811
14812 { echo "$as_me:$LINENO: result: $result" >&5
14813 echo "${ECHO_T}$result" >&6; }
14814
14815
14816 enablestring=
14817 defaultval=$wxUSE_ALL_FEATURES
14818 if test -z "$defaultval"; then
14819 if test x"$enablestring" = xdisable; then
14820 defaultval=yes
14821 else
14822 defaultval=no
14823 fi
14824 fi
14825
14826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14827 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14828 # Check whether --enable-image was given.
14829 if test "${enable_image+set}" = set; then
14830 enableval=$enable_image;
14831 if test "$enableval" = yes; then
14832 wx_cv_use_image='wxUSE_IMAGE=yes'
14833 else
14834 wx_cv_use_image='wxUSE_IMAGE=no'
14835 fi
14836 cache=yes
14837
14838 else
14839
14840 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14841 if test "x$LINE" != x ; then
14842 eval "DEFAULT_$LINE"
14843 fi
14844
14845 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14846
14847 fi
14848
14849
14850 eval "$wx_cv_use_image"
14851 if test "x$cache" = xyes; then
14852 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14853 fi
14854
14855 if test x"$enablestring" = xdisable; then
14856 if test $wxUSE_IMAGE = yes; then
14857 result=no
14858 else
14859 result=yes
14860 fi
14861 else
14862 result=$wxUSE_IMAGE
14863 fi
14864
14865 { echo "$as_me:$LINENO: result: $result" >&5
14866 echo "${ECHO_T}$result" >&6; }
14867
14868
14869 enablestring=
14870 defaultval=$wxUSE_ALL_FEATURES
14871 if test -z "$defaultval"; then
14872 if test x"$enablestring" = xdisable; then
14873 defaultval=yes
14874 else
14875 defaultval=no
14876 fi
14877 fi
14878
14879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14880 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14881 # Check whether --enable-gif was given.
14882 if test "${enable_gif+set}" = set; then
14883 enableval=$enable_gif;
14884 if test "$enableval" = yes; then
14885 wx_cv_use_gif='wxUSE_GIF=yes'
14886 else
14887 wx_cv_use_gif='wxUSE_GIF=no'
14888 fi
14889 cache=yes
14890
14891 else
14892
14893 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14894 if test "x$LINE" != x ; then
14895 eval "DEFAULT_$LINE"
14896 fi
14897
14898 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14899
14900 fi
14901
14902
14903 eval "$wx_cv_use_gif"
14904 if test "x$cache" = xyes; then
14905 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14906 fi
14907
14908 if test x"$enablestring" = xdisable; then
14909 if test $wxUSE_GIF = yes; then
14910 result=no
14911 else
14912 result=yes
14913 fi
14914 else
14915 result=$wxUSE_GIF
14916 fi
14917
14918 { echo "$as_me:$LINENO: result: $result" >&5
14919 echo "${ECHO_T}$result" >&6; }
14920
14921
14922 enablestring=
14923 defaultval=$wxUSE_ALL_FEATURES
14924 if test -z "$defaultval"; then
14925 if test x"$enablestring" = xdisable; then
14926 defaultval=yes
14927 else
14928 defaultval=no
14929 fi
14930 fi
14931
14932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14933 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14934 # Check whether --enable-pcx was given.
14935 if test "${enable_pcx+set}" = set; then
14936 enableval=$enable_pcx;
14937 if test "$enableval" = yes; then
14938 wx_cv_use_pcx='wxUSE_PCX=yes'
14939 else
14940 wx_cv_use_pcx='wxUSE_PCX=no'
14941 fi
14942 cache=yes
14943
14944 else
14945
14946 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14947 if test "x$LINE" != x ; then
14948 eval "DEFAULT_$LINE"
14949 fi
14950
14951 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14952
14953 fi
14954
14955
14956 eval "$wx_cv_use_pcx"
14957 if test "x$cache" = xyes; then
14958 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14959 fi
14960
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_PCX = yes; then
14963 result=no
14964 else
14965 result=yes
14966 fi
14967 else
14968 result=$wxUSE_PCX
14969 fi
14970
14971 { echo "$as_me:$LINENO: result: $result" >&5
14972 echo "${ECHO_T}$result" >&6; }
14973
14974
14975 enablestring=
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14979 defaultval=yes
14980 else
14981 defaultval=no
14982 fi
14983 fi
14984
14985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14986 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14987 # Check whether --enable-tga was given.
14988 if test "${enable_tga+set}" = set; then
14989 enableval=$enable_tga;
14990 if test "$enableval" = yes; then
14991 wx_cv_use_tga='wxUSE_TGA=yes'
14992 else
14993 wx_cv_use_tga='wxUSE_TGA=no'
14994 fi
14995 cache=yes
14996
14997 else
14998
14999 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15000 if test "x$LINE" != x ; then
15001 eval "DEFAULT_$LINE"
15002 fi
15003
15004 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15005
15006 fi
15007
15008
15009 eval "$wx_cv_use_tga"
15010 if test "x$cache" = xyes; then
15011 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15012 fi
15013
15014 if test x"$enablestring" = xdisable; then
15015 if test $wxUSE_TGA = yes; then
15016 result=no
15017 else
15018 result=yes
15019 fi
15020 else
15021 result=$wxUSE_TGA
15022 fi
15023
15024 { echo "$as_me:$LINENO: result: $result" >&5
15025 echo "${ECHO_T}$result" >&6; }
15026
15027
15028 enablestring=
15029 defaultval=$wxUSE_ALL_FEATURES
15030 if test -z "$defaultval"; then
15031 if test x"$enablestring" = xdisable; then
15032 defaultval=yes
15033 else
15034 defaultval=no
15035 fi
15036 fi
15037
15038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15039 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15040 # Check whether --enable-iff was given.
15041 if test "${enable_iff+set}" = set; then
15042 enableval=$enable_iff;
15043 if test "$enableval" = yes; then
15044 wx_cv_use_iff='wxUSE_IFF=yes'
15045 else
15046 wx_cv_use_iff='wxUSE_IFF=no'
15047 fi
15048 cache=yes
15049
15050 else
15051
15052 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15053 if test "x$LINE" != x ; then
15054 eval "DEFAULT_$LINE"
15055 fi
15056
15057 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15058
15059 fi
15060
15061
15062 eval "$wx_cv_use_iff"
15063 if test "x$cache" = xyes; then
15064 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15065 fi
15066
15067 if test x"$enablestring" = xdisable; then
15068 if test $wxUSE_IFF = yes; then
15069 result=no
15070 else
15071 result=yes
15072 fi
15073 else
15074 result=$wxUSE_IFF
15075 fi
15076
15077 { echo "$as_me:$LINENO: result: $result" >&5
15078 echo "${ECHO_T}$result" >&6; }
15079
15080
15081 enablestring=
15082 defaultval=$wxUSE_ALL_FEATURES
15083 if test -z "$defaultval"; then
15084 if test x"$enablestring" = xdisable; then
15085 defaultval=yes
15086 else
15087 defaultval=no
15088 fi
15089 fi
15090
15091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15092 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15093 # Check whether --enable-pnm was given.
15094 if test "${enable_pnm+set}" = set; then
15095 enableval=$enable_pnm;
15096 if test "$enableval" = yes; then
15097 wx_cv_use_pnm='wxUSE_PNM=yes'
15098 else
15099 wx_cv_use_pnm='wxUSE_PNM=no'
15100 fi
15101 cache=yes
15102
15103 else
15104
15105 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15106 if test "x$LINE" != x ; then
15107 eval "DEFAULT_$LINE"
15108 fi
15109
15110 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15111
15112 fi
15113
15114
15115 eval "$wx_cv_use_pnm"
15116 if test "x$cache" = xyes; then
15117 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15118 fi
15119
15120 if test x"$enablestring" = xdisable; then
15121 if test $wxUSE_PNM = yes; then
15122 result=no
15123 else
15124 result=yes
15125 fi
15126 else
15127 result=$wxUSE_PNM
15128 fi
15129
15130 { echo "$as_me:$LINENO: result: $result" >&5
15131 echo "${ECHO_T}$result" >&6; }
15132
15133
15134 enablestring=
15135 defaultval=$wxUSE_ALL_FEATURES
15136 if test -z "$defaultval"; then
15137 if test x"$enablestring" = xdisable; then
15138 defaultval=yes
15139 else
15140 defaultval=no
15141 fi
15142 fi
15143
15144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15145 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15146 # Check whether --enable-xpm was given.
15147 if test "${enable_xpm+set}" = set; then
15148 enableval=$enable_xpm;
15149 if test "$enableval" = yes; then
15150 wx_cv_use_xpm='wxUSE_XPM=yes'
15151 else
15152 wx_cv_use_xpm='wxUSE_XPM=no'
15153 fi
15154 cache=yes
15155
15156 else
15157
15158 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15159 if test "x$LINE" != x ; then
15160 eval "DEFAULT_$LINE"
15161 fi
15162
15163 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15164
15165 fi
15166
15167
15168 eval "$wx_cv_use_xpm"
15169 if test "x$cache" = xyes; then
15170 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15171 fi
15172
15173 if test x"$enablestring" = xdisable; then
15174 if test $wxUSE_XPM = yes; then
15175 result=no
15176 else
15177 result=yes
15178 fi
15179 else
15180 result=$wxUSE_XPM
15181 fi
15182
15183 { echo "$as_me:$LINENO: result: $result" >&5
15184 echo "${ECHO_T}$result" >&6; }
15185
15186
15187 enablestring=
15188 defaultval=$wxUSE_ALL_FEATURES
15189 if test -z "$defaultval"; then
15190 if test x"$enablestring" = xdisable; then
15191 defaultval=yes
15192 else
15193 defaultval=no
15194 fi
15195 fi
15196
15197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15198 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15199 # Check whether --enable-ico_cur was given.
15200 if test "${enable_ico_cur+set}" = set; then
15201 enableval=$enable_ico_cur;
15202 if test "$enableval" = yes; then
15203 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15204 else
15205 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15206 fi
15207 cache=yes
15208
15209 else
15210
15211 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15212 if test "x$LINE" != x ; then
15213 eval "DEFAULT_$LINE"
15214 fi
15215
15216 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15217
15218 fi
15219
15220
15221 eval "$wx_cv_use_ico_cur"
15222 if test "x$cache" = xyes; then
15223 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15224 fi
15225
15226 if test x"$enablestring" = xdisable; then
15227 if test $wxUSE_ICO_CUR = yes; then
15228 result=no
15229 else
15230 result=yes
15231 fi
15232 else
15233 result=$wxUSE_ICO_CUR
15234 fi
15235
15236 { echo "$as_me:$LINENO: result: $result" >&5
15237 echo "${ECHO_T}$result" >&6; }
15238
15239
15240
15241
15242 enablestring=
15243 defaultval=$wxUSE_ALL_FEATURES
15244 if test -z "$defaultval"; then
15245 if test x"$enablestring" = xdisable; then
15246 defaultval=yes
15247 else
15248 defaultval=no
15249 fi
15250 fi
15251
15252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15253 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15254 # Check whether --enable-dccache was given.
15255 if test "${enable_dccache+set}" = set; then
15256 enableval=$enable_dccache;
15257 if test "$enableval" = yes; then
15258 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15259 else
15260 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15261 fi
15262 cache=yes
15263
15264 else
15265
15266 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15267 if test "x$LINE" != x ; then
15268 eval "DEFAULT_$LINE"
15269 fi
15270
15271 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15272
15273 fi
15274
15275
15276 eval "$wx_cv_use_dccache"
15277 if test "x$cache" = xyes; then
15278 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15279 fi
15280
15281 if test x"$enablestring" = xdisable; then
15282 if test $wxUSE_DC_CACHEING = yes; then
15283 result=no
15284 else
15285 result=yes
15286 fi
15287 else
15288 result=$wxUSE_DC_CACHEING
15289 fi
15290
15291 { echo "$as_me:$LINENO: result: $result" >&5
15292 echo "${ECHO_T}$result" >&6; }
15293
15294
15295 enablestring=
15296 defaultval=$wxUSE_ALL_FEATURES
15297 if test -z "$defaultval"; then
15298 if test x"$enablestring" = xdisable; then
15299 defaultval=yes
15300 else
15301 defaultval=no
15302 fi
15303 fi
15304
15305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15306 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15307 # Check whether --enable-uxtheme was given.
15308 if test "${enable_uxtheme+set}" = set; then
15309 enableval=$enable_uxtheme;
15310 if test "$enableval" = yes; then
15311 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15312 else
15313 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15314 fi
15315 cache=yes
15316
15317 else
15318
15319 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15320 if test "x$LINE" != x ; then
15321 eval "DEFAULT_$LINE"
15322 fi
15323
15324 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15325
15326 fi
15327
15328
15329 eval "$wx_cv_use_uxtheme"
15330 if test "x$cache" = xyes; then
15331 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15332 fi
15333
15334 if test x"$enablestring" = xdisable; then
15335 if test $wxUSE_UXTHEME = yes; then
15336 result=no
15337 else
15338 result=yes
15339 fi
15340 else
15341 result=$wxUSE_UXTHEME
15342 fi
15343
15344 { echo "$as_me:$LINENO: result: $result" >&5
15345 echo "${ECHO_T}$result" >&6; }
15346
15347
15348 fi
15349
15350
15351 echo "saving argument cache $wx_arg_cache_file"
15352 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15353
15354
15355
15356 { echo "$as_me:$LINENO: checking for toolkit" >&5
15357 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15358
15359 # In Wine, we need to default to MSW, not GTK or MOTIF
15360 if test "$wxUSE_WINE" = "yes"; then
15361 DEFAULT_DEFAULT_wxUSE_GTK=0
15362 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15363 DEFAULT_DEFAULT_wxUSE_MSW=1
15364 wxUSE_SHARED=no
15365 CC=${CC:-winegcc}
15366 CXX=${CXX:-wineg++}
15367 fi
15368
15369
15370 if test "$wxUSE_GUI" = "yes"; then
15371
15372 if test "$USE_BEOS" = 1; then
15373 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15374 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15375 { (exit 1); exit 1; }; }
15376 fi
15377
15378 if test "$TOOLKIT_GIVEN" = 1; then
15379 for toolkit in `echo $ALL_TOOLKITS`; do
15380 var=wxUSE_$toolkit
15381 eval "value=\$${var}"
15382 if test "x$value" = "xno"; then
15383 eval "$var=0"
15384 elif test "x$value" != "x"; then
15385 eval "$var=1"
15386 fi
15387
15388 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15389 eval "wx${toolkit}_VERSION=$value"
15390 fi
15391 done
15392 else
15393 for toolkit in `echo $ALL_TOOLKITS`; do
15394 if test "$has_toolkit_in_cache" != 1; then
15395 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15396 else
15397 var=DEFAULT_wxUSE_$toolkit
15398
15399 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15400 if test "x$version" != "x"; then
15401 eval "wx${toolkit}_VERSION=$version"
15402 fi
15403 fi
15404 eval "wxUSE_$toolkit=\$${var}"
15405 done
15406 fi
15407
15408 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15409 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15410 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15411
15412 case "${host}" in
15413 *-pc-os2_emx | *-pc-os2-emx )
15414 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15415 esac
15416
15417 case "$NUM_TOOLKITS" in
15418 1)
15419 ;;
15420 0)
15421 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15422 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15423 { (exit 1); exit 1; }; }
15424 ;;
15425 *)
15426 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15427 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15428 { (exit 1); exit 1; }; }
15429 esac
15430
15431 # to be removed when --disable-gtk2 isn't needed
15432 if test "x$wxUSE_GTK2" = "xyes"; then
15433 wxGTK_VERSION=2
15434 elif test "x$wxUSE_GTK2" = "xno"; then
15435 wxGTK_VERSION=1
15436 fi
15437
15438 for toolkit in `echo $ALL_TOOLKITS`; do
15439 var=wxUSE_$toolkit
15440 eval "value=\$${var}"
15441 if test "x$value" != x; then
15442 cache_var=CACHE_$toolkit
15443 eval "cache=\$${cache_var}"
15444 if test "$cache" = 1; then
15445 echo "$var=$value" >> ${wx_arg_cache_file}
15446 eval "version=\$wx${toolkit}_VERSION"
15447 if test "x$version" != "x"; then
15448 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15449 fi
15450 fi
15451 if test "$value" = 1; then
15452 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15453 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15454 echo "${ECHO_T}$toolkit_echo" >&6; }
15455 fi
15456 fi
15457 done
15458 else
15459 if test "x$host_alias" != "x"; then
15460 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15461 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15462 else
15463 { echo "$as_me:$LINENO: result: base only" >&5
15464 echo "${ECHO_T}base only" >&6; }
15465 fi
15466 fi
15467
15468
15469 cat >confcache <<\_ACEOF
15470 # This file is a shell script that caches the results of configure
15471 # tests run on this system so they can be shared between configure
15472 # scripts and configure runs, see configure's option --config-cache.
15473 # It is not useful on other systems. If it contains results you don't
15474 # want to keep, you may remove or edit it.
15475 #
15476 # config.status only pays attention to the cache file if you give it
15477 # the --recheck option to rerun configure.
15478 #
15479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15481 # following values.
15482
15483 _ACEOF
15484
15485 # The following way of writing the cache mishandles newlines in values,
15486 # but we know of no workaround that is simple, portable, and efficient.
15487 # So, we kill variables containing newlines.
15488 # Ultrix sh set writes to stderr and can't be redirected directly,
15489 # and sets the high bit in the cache file unless we assign to the vars.
15490 (
15491 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15492 eval ac_val=\$$ac_var
15493 case $ac_val in #(
15494 *${as_nl}*)
15495 case $ac_var in #(
15496 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15497 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15498 esac
15499 case $ac_var in #(
15500 _ | IFS | as_nl) ;; #(
15501 *) $as_unset $ac_var ;;
15502 esac ;;
15503 esac
15504 done
15505
15506 (set) 2>&1 |
15507 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15508 *${as_nl}ac_space=\ *)
15509 # `set' does not quote correctly, so add quotes (double-quote
15510 # substitution turns \\\\ into \\, and sed turns \\ into \).
15511 sed -n \
15512 "s/'/'\\\\''/g;
15513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15514 ;; #(
15515 *)
15516 # `set' quotes correctly as required by POSIX, so do not add quotes.
15517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15518 ;;
15519 esac |
15520 sort
15521 ) |
15522 sed '
15523 /^ac_cv_env_/b end
15524 t clear
15525 :clear
15526 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15527 t end
15528 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15529 :end' >>confcache
15530 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15531 if test -w "$cache_file"; then
15532 test "x$cache_file" != "x/dev/null" &&
15533 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15534 echo "$as_me: updating cache $cache_file" >&6;}
15535 cat confcache >$cache_file
15536 else
15537 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15538 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15539 fi
15540 fi
15541 rm -f confcache
15542
15543 CFLAGS=${CFLAGS:=}
15544
15545
15546
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552 if test -n "$ac_tool_prefix"; then
15553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15554 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15557 if test "${ac_cv_prog_CC+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560 if test -n "$CC"; then
15561 ac_cv_prog_CC="$CC" # Let the user override the test.
15562 else
15563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15564 for as_dir in $PATH
15565 do
15566 IFS=$as_save_IFS
15567 test -z "$as_dir" && as_dir=.
15568 for ac_exec_ext in '' $ac_executable_extensions; do
15569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15572 break 2
15573 fi
15574 done
15575 done
15576 IFS=$as_save_IFS
15577
15578 fi
15579 fi
15580 CC=$ac_cv_prog_CC
15581 if test -n "$CC"; then
15582 { echo "$as_me:$LINENO: result: $CC" >&5
15583 echo "${ECHO_T}$CC" >&6; }
15584 else
15585 { echo "$as_me:$LINENO: result: no" >&5
15586 echo "${ECHO_T}no" >&6; }
15587 fi
15588
15589
15590 fi
15591 if test -z "$ac_cv_prog_CC"; then
15592 ac_ct_CC=$CC
15593 # Extract the first word of "gcc", so it can be a program name with args.
15594 set dummy gcc; ac_word=$2
15595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 if test -n "$ac_ct_CC"; then
15601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15602 else
15603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15604 for as_dir in $PATH
15605 do
15606 IFS=$as_save_IFS
15607 test -z "$as_dir" && as_dir=.
15608 for ac_exec_ext in '' $ac_executable_extensions; do
15609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15610 ac_cv_prog_ac_ct_CC="gcc"
15611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15612 break 2
15613 fi
15614 done
15615 done
15616 IFS=$as_save_IFS
15617
15618 fi
15619 fi
15620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15621 if test -n "$ac_ct_CC"; then
15622 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15623 echo "${ECHO_T}$ac_ct_CC" >&6; }
15624 else
15625 { echo "$as_me:$LINENO: result: no" >&5
15626 echo "${ECHO_T}no" >&6; }
15627 fi
15628
15629 if test "x$ac_ct_CC" = x; then
15630 CC=""
15631 else
15632 case $cross_compiling:$ac_tool_warned in
15633 yes:)
15634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15635 whose name does not start with the host triplet. If you think this
15636 configuration is useful to you, please write to autoconf@gnu.org." >&5
15637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15638 whose name does not start with the host triplet. If you think this
15639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15640 ac_tool_warned=yes ;;
15641 esac
15642 CC=$ac_ct_CC
15643 fi
15644 else
15645 CC="$ac_cv_prog_CC"
15646 fi
15647
15648 if test -z "$CC"; then
15649 if test -n "$ac_tool_prefix"; then
15650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15651 set dummy ${ac_tool_prefix}cc; ac_word=$2
15652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15654 if test "${ac_cv_prog_CC+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 else
15657 if test -n "$CC"; then
15658 ac_cv_prog_CC="$CC" # Let the user override the test.
15659 else
15660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15661 for as_dir in $PATH
15662 do
15663 IFS=$as_save_IFS
15664 test -z "$as_dir" && as_dir=.
15665 for ac_exec_ext in '' $ac_executable_extensions; do
15666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15667 ac_cv_prog_CC="${ac_tool_prefix}cc"
15668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15669 break 2
15670 fi
15671 done
15672 done
15673 IFS=$as_save_IFS
15674
15675 fi
15676 fi
15677 CC=$ac_cv_prog_CC
15678 if test -n "$CC"; then
15679 { echo "$as_me:$LINENO: result: $CC" >&5
15680 echo "${ECHO_T}$CC" >&6; }
15681 else
15682 { echo "$as_me:$LINENO: result: no" >&5
15683 echo "${ECHO_T}no" >&6; }
15684 fi
15685
15686
15687 fi
15688 fi
15689 if test -z "$CC"; then
15690 # Extract the first word of "cc", so it can be a program name with args.
15691 set dummy cc; ac_word=$2
15692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15694 if test "${ac_cv_prog_CC+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697 if test -n "$CC"; then
15698 ac_cv_prog_CC="$CC" # Let the user override the test.
15699 else
15700 ac_prog_rejected=no
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $PATH
15703 do
15704 IFS=$as_save_IFS
15705 test -z "$as_dir" && as_dir=.
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15709 ac_prog_rejected=yes
15710 continue
15711 fi
15712 ac_cv_prog_CC="cc"
15713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15714 break 2
15715 fi
15716 done
15717 done
15718 IFS=$as_save_IFS
15719
15720 if test $ac_prog_rejected = yes; then
15721 # We found a bogon in the path, so make sure we never use it.
15722 set dummy $ac_cv_prog_CC
15723 shift
15724 if test $# != 0; then
15725 # We chose a different compiler from the bogus one.
15726 # However, it has the same basename, so the bogon will be chosen
15727 # first if we set CC to just the basename; use the full file name.
15728 shift
15729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15730 fi
15731 fi
15732 fi
15733 fi
15734 CC=$ac_cv_prog_CC
15735 if test -n "$CC"; then
15736 { echo "$as_me:$LINENO: result: $CC" >&5
15737 echo "${ECHO_T}$CC" >&6; }
15738 else
15739 { echo "$as_me:$LINENO: result: no" >&5
15740 echo "${ECHO_T}no" >&6; }
15741 fi
15742
15743
15744 fi
15745 if test -z "$CC"; then
15746 if test -n "$ac_tool_prefix"; then
15747 for ac_prog in cl.exe
15748 do
15749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15753 if test "${ac_cv_prog_CC+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15756 if test -n "$CC"; then
15757 ac_cv_prog_CC="$CC" # Let the user override the test.
15758 else
15759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15760 for as_dir in $PATH
15761 do
15762 IFS=$as_save_IFS
15763 test -z "$as_dir" && as_dir=.
15764 for ac_exec_ext in '' $ac_executable_extensions; do
15765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15768 break 2
15769 fi
15770 done
15771 done
15772 IFS=$as_save_IFS
15773
15774 fi
15775 fi
15776 CC=$ac_cv_prog_CC
15777 if test -n "$CC"; then
15778 { echo "$as_me:$LINENO: result: $CC" >&5
15779 echo "${ECHO_T}$CC" >&6; }
15780 else
15781 { echo "$as_me:$LINENO: result: no" >&5
15782 echo "${ECHO_T}no" >&6; }
15783 fi
15784
15785
15786 test -n "$CC" && break
15787 done
15788 fi
15789 if test -z "$CC"; then
15790 ac_ct_CC=$CC
15791 for ac_prog in cl.exe
15792 do
15793 # Extract the first word of "$ac_prog", so it can be a program name with args.
15794 set dummy $ac_prog; ac_word=$2
15795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 if test -n "$ac_ct_CC"; then
15801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15802 else
15803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15804 for as_dir in $PATH
15805 do
15806 IFS=$as_save_IFS
15807 test -z "$as_dir" && as_dir=.
15808 for ac_exec_ext in '' $ac_executable_extensions; do
15809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15810 ac_cv_prog_ac_ct_CC="$ac_prog"
15811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15812 break 2
15813 fi
15814 done
15815 done
15816 IFS=$as_save_IFS
15817
15818 fi
15819 fi
15820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15821 if test -n "$ac_ct_CC"; then
15822 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15823 echo "${ECHO_T}$ac_ct_CC" >&6; }
15824 else
15825 { echo "$as_me:$LINENO: result: no" >&5
15826 echo "${ECHO_T}no" >&6; }
15827 fi
15828
15829
15830 test -n "$ac_ct_CC" && break
15831 done
15832
15833 if test "x$ac_ct_CC" = x; then
15834 CC=""
15835 else
15836 case $cross_compiling:$ac_tool_warned in
15837 yes:)
15838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15839 whose name does not start with the host triplet. If you think this
15840 configuration is useful to you, please write to autoconf@gnu.org." >&5
15841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15842 whose name does not start with the host triplet. If you think this
15843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15844 ac_tool_warned=yes ;;
15845 esac
15846 CC=$ac_ct_CC
15847 fi
15848 fi
15849
15850 fi
15851
15852
15853 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15854 See \`config.log' for more details." >&5
15855 echo "$as_me: error: no acceptable C compiler found in \$PATH
15856 See \`config.log' for more details." >&2;}
15857 { (exit 1); exit 1; }; }
15858
15859 # Provide some information about the compiler.
15860 echo "$as_me:$LINENO: checking for C compiler version" >&5
15861 ac_compiler=`set X $ac_compile; echo $2`
15862 { (ac_try="$ac_compiler --version >&5"
15863 case "(($ac_try" in
15864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15865 *) ac_try_echo=$ac_try;;
15866 esac
15867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15868 (eval "$ac_compiler --version >&5") 2>&5
15869 ac_status=$?
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }
15872 { (ac_try="$ac_compiler -v >&5"
15873 case "(($ac_try" in
15874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875 *) ac_try_echo=$ac_try;;
15876 esac
15877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15878 (eval "$ac_compiler -v >&5") 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }
15882 { (ac_try="$ac_compiler -V >&5"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15886 esac
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_compiler -V >&5") 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }
15892
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899
15900 int
15901 main ()
15902 {
15903
15904 ;
15905 return 0;
15906 }
15907 _ACEOF
15908 ac_clean_files_save=$ac_clean_files
15909 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15910 # Try to create an executable without -o first, disregard a.out.
15911 # It will help us diagnose broken compilers, and finding out an intuition
15912 # of exeext.
15913 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15914 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15915 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15916 #
15917 # List of possible output files, starting from the most likely.
15918 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15919 # only as a last resort. b.out is created by i960 compilers.
15920 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15921 #
15922 # The IRIX 6 linker writes into existing files which may not be
15923 # executable, retaining their permissions. Remove them first so a
15924 # subsequent execution test works.
15925 ac_rmfiles=
15926 for ac_file in $ac_files
15927 do
15928 case $ac_file in
15929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15931 esac
15932 done
15933 rm -f $ac_rmfiles
15934
15935 if { (ac_try="$ac_link_default"
15936 case "(($ac_try" in
15937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938 *) ac_try_echo=$ac_try;;
15939 esac
15940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941 (eval "$ac_link_default") 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; then
15945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15946 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15947 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15948 # so that the user can short-circuit this test for compilers unknown to
15949 # Autoconf.
15950 for ac_file in $ac_files ''
15951 do
15952 test -f "$ac_file" || continue
15953 case $ac_file in
15954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15955 ;;
15956 [ab].out )
15957 # We found the default executable, but exeext='' is most
15958 # certainly right.
15959 break;;
15960 *.* )
15961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15962 then :; else
15963 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15964 fi
15965 # We set ac_cv_exeext here because the later test for it is not
15966 # safe: cross compilers may not add the suffix if given an `-o'
15967 # argument, so we may need to know it at that point already.
15968 # Even if this section looks crufty: it has the advantage of
15969 # actually working.
15970 break;;
15971 * )
15972 break;;
15973 esac
15974 done
15975 test "$ac_cv_exeext" = no && ac_cv_exeext=
15976
15977 else
15978 ac_file=''
15979 fi
15980
15981 { echo "$as_me:$LINENO: result: $ac_file" >&5
15982 echo "${ECHO_T}$ac_file" >&6; }
15983 if test -z "$ac_file"; then
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15986
15987 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15988 See \`config.log' for more details." >&5
15989 echo "$as_me: error: C compiler cannot create executables
15990 See \`config.log' for more details." >&2;}
15991 { (exit 77); exit 77; }; }
15992 fi
15993
15994 ac_exeext=$ac_cv_exeext
15995
15996 # Check that the compiler produces executables we can run. If not, either
15997 # the compiler is broken, or we cross compile.
15998 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15999 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16000 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16001 # If not cross compiling, check that we can run a simple program.
16002 if test "$cross_compiling" != yes; then
16003 if { ac_try='./$ac_file'
16004 { (case "(($ac_try" in
16005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006 *) ac_try_echo=$ac_try;;
16007 esac
16008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16009 (eval "$ac_try") 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 cross_compiling=no
16014 else
16015 if test "$cross_compiling" = maybe; then
16016 cross_compiling=yes
16017 else
16018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16019 If you meant to cross compile, use \`--host'.
16020 See \`config.log' for more details." >&5
16021 echo "$as_me: error: cannot run C compiled programs.
16022 If you meant to cross compile, use \`--host'.
16023 See \`config.log' for more details." >&2;}
16024 { (exit 1); exit 1; }; }
16025 fi
16026 fi
16027 fi
16028 { echo "$as_me:$LINENO: result: yes" >&5
16029 echo "${ECHO_T}yes" >&6; }
16030
16031 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16032 ac_clean_files=$ac_clean_files_save
16033 # Check that the compiler produces executables we can run. If not, either
16034 # the compiler is broken, or we cross compile.
16035 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16036 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16037 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16038 echo "${ECHO_T}$cross_compiling" >&6; }
16039
16040 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16041 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16042 if { (ac_try="$ac_link"
16043 case "(($ac_try" in
16044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16045 *) ac_try_echo=$ac_try;;
16046 esac
16047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048 (eval "$ac_link") 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; then
16052 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16053 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16054 # work properly (i.e., refer to `conftest.exe'), while it won't with
16055 # `rm'.
16056 for ac_file in conftest.exe conftest conftest.*; do
16057 test -f "$ac_file" || continue
16058 case $ac_file in
16059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16060 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16061 break;;
16062 * ) break;;
16063 esac
16064 done
16065 else
16066 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; }
16071 fi
16072
16073 rm -f conftest$ac_cv_exeext
16074 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16075 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16076
16077 rm -f conftest.$ac_ext
16078 EXEEXT=$ac_cv_exeext
16079 ac_exeext=$EXEEXT
16080 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16081 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16082 if test "${ac_cv_objext+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091
16092 int
16093 main ()
16094 {
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 rm -f conftest.o conftest.obj
16101 if { (ac_try="$ac_compile"
16102 case "(($ac_try" in
16103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104 *) ac_try_echo=$ac_try;;
16105 esac
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_compile") 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; then
16111 for ac_file in conftest.o conftest.obj conftest.*; do
16112 test -f "$ac_file" || continue;
16113 case $ac_file in
16114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16116 break;;
16117 esac
16118 done
16119 else
16120 echo "$as_me: failed program was:" >&5
16121 sed 's/^/| /' conftest.$ac_ext >&5
16122
16123 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16124 See \`config.log' for more details." >&5
16125 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16126 See \`config.log' for more details." >&2;}
16127 { (exit 1); exit 1; }; }
16128 fi
16129
16130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16131 fi
16132 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16133 echo "${ECHO_T}$ac_cv_objext" >&6; }
16134 OBJEXT=$ac_cv_objext
16135 ac_objext=$OBJEXT
16136 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16137 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16138 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 cat >conftest.$ac_ext <<_ACEOF
16142 /* confdefs.h. */
16143 _ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147
16148 int
16149 main ()
16150 {
16151 #ifndef __GNUC__
16152 choke me
16153 #endif
16154
16155 ;
16156 return 0;
16157 }
16158 _ACEOF
16159 rm -f conftest.$ac_objext
16160 if { (ac_try="$ac_compile"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16164 esac
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_compile") 2>conftest.er1
16167 ac_status=$?
16168 grep -v '^ *+' conftest.er1 >conftest.err
16169 rm -f conftest.er1
16170 cat conftest.err >&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } && {
16173 test -z "$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16175 } && test -s conftest.$ac_objext; then
16176 ac_compiler_gnu=yes
16177 else
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16180
16181 ac_compiler_gnu=no
16182 fi
16183
16184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16186
16187 fi
16188 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16189 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16190 GCC=`test $ac_compiler_gnu = yes && echo yes`
16191 ac_test_CFLAGS=${CFLAGS+set}
16192 ac_save_CFLAGS=$CFLAGS
16193 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16194 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_cc_g+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 ac_save_c_werror_flag=$ac_c_werror_flag
16199 ac_c_werror_flag=yes
16200 ac_cv_prog_cc_g=no
16201 CFLAGS="-g"
16202 cat >conftest.$ac_ext <<_ACEOF
16203 /* confdefs.h. */
16204 _ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16208
16209 int
16210 main ()
16211 {
16212
16213 ;
16214 return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 ac_cv_prog_cc_g=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 CFLAGS=""
16240 cat >conftest.$ac_ext <<_ACEOF
16241 /* confdefs.h. */
16242 _ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246
16247 int
16248 main ()
16249 {
16250
16251 ;
16252 return 0;
16253 }
16254 _ACEOF
16255 rm -f conftest.$ac_objext
16256 if { (ac_try="$ac_compile"
16257 case "(($ac_try" in
16258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259 *) ac_try_echo=$ac_try;;
16260 esac
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262 (eval "$ac_compile") 2>conftest.er1
16263 ac_status=$?
16264 grep -v '^ *+' conftest.er1 >conftest.err
16265 rm -f conftest.er1
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } && {
16269 test -z "$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 } && test -s conftest.$ac_objext; then
16272 :
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16276
16277 ac_c_werror_flag=$ac_save_c_werror_flag
16278 CFLAGS="-g"
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285
16286 int
16287 main ()
16288 {
16289
16290 ;
16291 return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (ac_try="$ac_compile"
16296 case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16299 esac
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_compile") 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } && {
16308 test -z "$ac_c_werror_flag" ||
16309 test ! -s conftest.err
16310 } && test -s conftest.$ac_objext; then
16311 ac_cv_prog_cc_g=yes
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316
16317 fi
16318
16319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16320 fi
16321
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16323 fi
16324
16325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16326 ac_c_werror_flag=$ac_save_c_werror_flag
16327 fi
16328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16329 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16330 if test "$ac_test_CFLAGS" = set; then
16331 CFLAGS=$ac_save_CFLAGS
16332 elif test $ac_cv_prog_cc_g = yes; then
16333 if test "$GCC" = yes; then
16334 CFLAGS="-g -O2"
16335 else
16336 CFLAGS="-g"
16337 fi
16338 else
16339 if test "$GCC" = yes; then
16340 CFLAGS="-O2"
16341 else
16342 CFLAGS=
16343 fi
16344 fi
16345 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16346 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16347 if test "${ac_cv_prog_cc_c89+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 ac_cv_prog_cc_c89=no
16351 ac_save_CC=$CC
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 #include <stdarg.h>
16359 #include <stdio.h>
16360 #include <sys/types.h>
16361 #include <sys/stat.h>
16362 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16363 struct buf { int x; };
16364 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16365 static char *e (p, i)
16366 char **p;
16367 int i;
16368 {
16369 return p[i];
16370 }
16371 static char *f (char * (*g) (char **, int), char **p, ...)
16372 {
16373 char *s;
16374 va_list v;
16375 va_start (v,p);
16376 s = g (p, va_arg (v,int));
16377 va_end (v);
16378 return s;
16379 }
16380
16381 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16382 function prototypes and stuff, but not '\xHH' hex character constants.
16383 These don't provoke an error unfortunately, instead are silently treated
16384 as 'x'. The following induces an error, until -std is added to get
16385 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16386 array size at least. It's necessary to write '\x00'==0 to get something
16387 that's true only with -std. */
16388 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16389
16390 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16391 inside strings and character constants. */
16392 #define FOO(x) 'x'
16393 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16394
16395 int test (int i, double x);
16396 struct s1 {int (*f) (int a);};
16397 struct s2 {int (*f) (double a);};
16398 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16399 int argc;
16400 char **argv;
16401 int
16402 main ()
16403 {
16404 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16410 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16411 do
16412 CC="$ac_save_CC $ac_arg"
16413 rm -f conftest.$ac_objext
16414 if { (ac_try="$ac_compile"
16415 case "(($ac_try" in
16416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16417 *) ac_try_echo=$ac_try;;
16418 esac
16419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16420 (eval "$ac_compile") 2>conftest.er1
16421 ac_status=$?
16422 grep -v '^ *+' conftest.er1 >conftest.err
16423 rm -f conftest.er1
16424 cat conftest.err >&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); } && {
16427 test -z "$ac_c_werror_flag" ||
16428 test ! -s conftest.err
16429 } && test -s conftest.$ac_objext; then
16430 ac_cv_prog_cc_c89=$ac_arg
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16434
16435
16436 fi
16437
16438 rm -f core conftest.err conftest.$ac_objext
16439 test "x$ac_cv_prog_cc_c89" != "xno" && break
16440 done
16441 rm -f conftest.$ac_ext
16442 CC=$ac_save_CC
16443
16444 fi
16445 # AC_CACHE_VAL
16446 case "x$ac_cv_prog_cc_c89" in
16447 x)
16448 { echo "$as_me:$LINENO: result: none needed" >&5
16449 echo "${ECHO_T}none needed" >&6; } ;;
16450 xno)
16451 { echo "$as_me:$LINENO: result: unsupported" >&5
16452 echo "${ECHO_T}unsupported" >&6; } ;;
16453 *)
16454 CC="$CC $ac_cv_prog_cc_c89"
16455 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16456 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16457 esac
16458
16459
16460 ac_ext=c
16461 ac_cpp='$CPP $CPPFLAGS'
16462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16465
16466
16467
16468
16469 ac_ext=c
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474
16475 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16476 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16477 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16480 cat >conftest.$ac_ext <<_ACEOF
16481 /* confdefs.h. */
16482 _ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486
16487 int
16488 main ()
16489 {
16490
16491 #ifndef __INTEL_COMPILER
16492 choke me
16493 #endif
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 bakefile_cv_c_compiler___INTEL_COMPILER=no
16522
16523 fi
16524
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526
16527
16528 fi
16529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16530 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16531 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16532 :; INTELCC=yes
16533 else
16534 :;
16535 fi
16536 ac_ext=c
16537 ac_cpp='$CPP $CPPFLAGS'
16538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16541
16542
16543
16544
16545 if test "x$GCC" != "xyes"; then
16546 if test "xCC" = "xC"; then
16547 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16548 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16549 if test "${bakefile_cv_c_exto+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558
16559 int
16560 main ()
16561 {
16562
16563 ;
16564 return 0;
16565 }
16566 _ACEOF
16567 rm -f conftest.$ac_objext conftest.$ac_ext.o
16568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16569 (eval $ac_compile) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; then
16573 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16574 case $ac_file in
16575 conftest.$ac_ext.o)
16576 bakefile_cv_c_exto="-ext o"
16577 ;;
16578 *)
16579 ;;
16580 esac
16581 done
16582 else
16583 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16584 See \`config.log' for more details." >&5
16585 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16586 See \`config.log' for more details." >&2;}
16587 { (exit 1); exit 1; }; }
16588
16589 fi
16590
16591 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16592
16593 fi
16594 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16595 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16596 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16597 if test "c" = "c"; then
16598 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16599 fi
16600 if test "c" = "cxx"; then
16601 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16602 fi
16603 fi
16604
16605 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16606 unset ac_cv_prog_cc_g
16607 ac_test_CFLAGS=${CFLAGS+set}
16608 ac_save_CFLAGS=$CFLAGS
16609 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16610 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16611 if test "${ac_cv_prog_cc_g+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 else
16614 ac_save_c_werror_flag=$ac_c_werror_flag
16615 ac_c_werror_flag=yes
16616 ac_cv_prog_cc_g=no
16617 CFLAGS="-g"
16618 cat >conftest.$ac_ext <<_ACEOF
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624
16625 int
16626 main ()
16627 {
16628
16629 ;
16630 return 0;
16631 }
16632 _ACEOF
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16638 esac
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.$ac_objext; then
16650 ac_cv_prog_cc_g=yes
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16654
16655 CFLAGS=""
16656 cat >conftest.$ac_ext <<_ACEOF
16657 /* confdefs.h. */
16658 _ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662
16663 int
16664 main ()
16665 {
16666
16667 ;
16668 return 0;
16669 }
16670 _ACEOF
16671 rm -f conftest.$ac_objext
16672 if { (ac_try="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_c_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16688 :
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 ac_c_werror_flag=$ac_save_c_werror_flag
16694 CFLAGS="-g"
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701
16702 int
16703 main ()
16704 {
16705
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (ac_try="$ac_compile"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16715 esac
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_compile") 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_c_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest.$ac_objext; then
16727 ac_cv_prog_cc_g=yes
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732
16733 fi
16734
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736 fi
16737
16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16739 fi
16740
16741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16742 ac_c_werror_flag=$ac_save_c_werror_flag
16743 fi
16744 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16746 if test "$ac_test_CFLAGS" = set; then
16747 CFLAGS=$ac_save_CFLAGS
16748 elif test $ac_cv_prog_cc_g = yes; then
16749 if test "$GCC" = yes; then
16750 CFLAGS="-g -O2"
16751 else
16752 CFLAGS="-g"
16753 fi
16754 else
16755 if test "$GCC" = yes; then
16756 CFLAGS="-O2"
16757 else
16758 CFLAGS=
16759 fi
16760 fi
16761 fi
16762 fi
16763
16764 case `uname -s` in
16765 AIX*)
16766
16767
16768 ac_ext=c
16769 ac_cpp='$CPP $CPPFLAGS'
16770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16773
16774 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16775 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16776 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785
16786 int
16787 main ()
16788 {
16789
16790 #ifndef __xlC__
16791 choke me
16792 #endif
16793
16794 ;
16795 return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 bakefile_cv_c_compiler___xlC__=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820 bakefile_cv_c_compiler___xlC__=no
16821
16822 fi
16823
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825
16826
16827 fi
16828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16829 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16830 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16831 :; XLCC=yes
16832 else
16833 :;
16834 fi
16835 ac_ext=c
16836 ac_cpp='$CPP $CPPFLAGS'
16837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16840
16841
16842
16843 ;;
16844
16845 Darwin)
16846
16847
16848 ac_ext=c
16849 ac_cpp='$CPP $CPPFLAGS'
16850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16853
16854 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16855 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16856 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865
16866 int
16867 main ()
16868 {
16869
16870 #ifndef __MWERKS__
16871 choke me
16872 #endif
16873
16874 ;
16875 return 0;
16876 }
16877 _ACEOF
16878 rm -f conftest.$ac_objext
16879 if { (ac_try="$ac_compile"
16880 case "(($ac_try" in
16881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16882 *) ac_try_echo=$ac_try;;
16883 esac
16884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16885 (eval "$ac_compile") 2>conftest.er1
16886 ac_status=$?
16887 grep -v '^ *+' conftest.er1 >conftest.err
16888 rm -f conftest.er1
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } && {
16892 test -z "$ac_c_werror_flag" ||
16893 test ! -s conftest.err
16894 } && test -s conftest.$ac_objext; then
16895 bakefile_cv_c_compiler___MWERKS__=yes
16896 else
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16899
16900 bakefile_cv_c_compiler___MWERKS__=no
16901
16902 fi
16903
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16905
16906
16907 fi
16908 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16909 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16910 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16911 :; MWCC=yes
16912 else
16913 :;
16914 fi
16915 ac_ext=c
16916 ac_cpp='$CPP $CPPFLAGS'
16917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16920
16921
16922
16923
16924
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16930
16931 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16932 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16933 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 cat >conftest.$ac_ext <<_ACEOF
16937 /* confdefs.h. */
16938 _ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942
16943 int
16944 main ()
16945 {
16946
16947 #ifndef __xlC__
16948 choke me
16949 #endif
16950
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (ac_try="$ac_compile"
16957 case "(($ac_try" in
16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16959 *) ac_try_echo=$ac_try;;
16960 esac
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_compile") 2>conftest.er1
16963 ac_status=$?
16964 grep -v '^ *+' conftest.er1 >conftest.err
16965 rm -f conftest.er1
16966 cat conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } && {
16969 test -z "$ac_c_werror_flag" ||
16970 test ! -s conftest.err
16971 } && test -s conftest.$ac_objext; then
16972 bakefile_cv_c_compiler___xlC__=yes
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 bakefile_cv_c_compiler___xlC__=no
16978
16979 fi
16980
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982
16983
16984 fi
16985 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16986 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16987 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16988 :; XLCC=yes
16989 else
16990 :;
16991 fi
16992 ac_ext=c
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16997
16998
16999
17000 ;;
17001
17002 IRIX*)
17003
17004
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17012 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17013 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 else
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022
17023 int
17024 main ()
17025 {
17026
17027 #ifndef _SGI_COMPILER_VERSION
17028 choke me
17029 #endif
17030
17031 ;
17032 return 0;
17033 }
17034 _ACEOF
17035 rm -f conftest.$ac_objext
17036 if { (ac_try="$ac_compile"
17037 case "(($ac_try" in
17038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17039 *) ac_try_echo=$ac_try;;
17040 esac
17041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17042 (eval "$ac_compile") 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } && {
17049 test -z "$ac_c_werror_flag" ||
17050 test ! -s conftest.err
17051 } && test -s conftest.$ac_objext; then
17052 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17056
17057 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17058
17059 fi
17060
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062
17063
17064 fi
17065 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17066 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17067 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17068 :; SGICC=yes
17069 else
17070 :;
17071 fi
17072 ac_ext=c
17073 ac_cpp='$CPP $CPPFLAGS'
17074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17077
17078
17079
17080 ;;
17081
17082 Linux*)
17083
17084
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17092 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17093 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17095 else
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102
17103 int
17104 main ()
17105 {
17106
17107 #ifndef __SUNPRO_C
17108 choke me
17109 #endif
17110
17111 ;
17112 return 0;
17113 }
17114 _ACEOF
17115 rm -f conftest.$ac_objext
17116 if { (ac_try="$ac_compile"
17117 case "(($ac_try" in
17118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17119 *) ac_try_echo=$ac_try;;
17120 esac
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17122 (eval "$ac_compile") 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && {
17129 test -z "$ac_c_werror_flag" ||
17130 test ! -s conftest.err
17131 } && test -s conftest.$ac_objext; then
17132 bakefile_cv_c_compiler___SUNPRO_C=yes
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 bakefile_cv_c_compiler___SUNPRO_C=no
17138
17139 fi
17140
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142
17143
17144 fi
17145 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17146 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17147 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17148 :; SUNCC=yes
17149 else
17150 :;
17151 fi
17152 ac_ext=c
17153 ac_cpp='$CPP $CPPFLAGS'
17154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157
17158
17159
17160 ;;
17161
17162 HP-UX*)
17163
17164
17165 ac_ext=c
17166 ac_cpp='$CPP $CPPFLAGS'
17167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17170
17171 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17172 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17173 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182
17183 int
17184 main ()
17185 {
17186
17187 #ifndef __HP_cc
17188 choke me
17189 #endif
17190
17191 ;
17192 return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest.$ac_objext
17196 if { (ac_try="$ac_compile"
17197 case "(($ac_try" in
17198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17200 esac
17201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 (eval "$ac_compile") 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } && {
17209 test -z "$ac_c_werror_flag" ||
17210 test ! -s conftest.err
17211 } && test -s conftest.$ac_objext; then
17212 bakefile_cv_c_compiler___HP_cc=yes
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 bakefile_cv_c_compiler___HP_cc=no
17218
17219 fi
17220
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222
17223
17224 fi
17225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17226 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17227 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17228 :; HPCC=yes
17229 else
17230 :;
17231 fi
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237
17238
17239
17240 ;;
17241
17242 OSF1)
17243
17244
17245 ac_ext=c
17246 ac_cpp='$CPP $CPPFLAGS'
17247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17250
17251 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17252 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17253 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 else
17256 cat >conftest.$ac_ext <<_ACEOF
17257 /* confdefs.h. */
17258 _ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17262
17263 int
17264 main ()
17265 {
17266
17267 #ifndef __DECC
17268 choke me
17269 #endif
17270
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (ac_try="$ac_compile"
17277 case "(($ac_try" in
17278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279 *) ac_try_echo=$ac_try;;
17280 esac
17281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17282 (eval "$ac_compile") 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } && {
17289 test -z "$ac_c_werror_flag" ||
17290 test ! -s conftest.err
17291 } && test -s conftest.$ac_objext; then
17292 bakefile_cv_c_compiler___DECC=yes
17293 else
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297 bakefile_cv_c_compiler___DECC=no
17298
17299 fi
17300
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302
17303
17304 fi
17305 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17306 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17307 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17308 :; COMPAQCC=yes
17309 else
17310 :;
17311 fi
17312 ac_ext=c
17313 ac_cpp='$CPP $CPPFLAGS'
17314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17317
17318
17319
17320 ;;
17321
17322 SunOS)
17323
17324
17325 ac_ext=c
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330
17331 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17332 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17333 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342
17343 int
17344 main ()
17345 {
17346
17347 #ifndef __SUNPRO_C
17348 choke me
17349 #endif
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (ac_try="$ac_compile"
17357 case "(($ac_try" in
17358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17360 esac
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_compile") 2>conftest.er1
17363 ac_status=$?
17364 grep -v '^ *+' conftest.er1 >conftest.err
17365 rm -f conftest.er1
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest.$ac_objext; then
17372 bakefile_cv_c_compiler___SUNPRO_C=yes
17373 else
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17376
17377 bakefile_cv_c_compiler___SUNPRO_C=no
17378
17379 fi
17380
17381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17382
17383
17384 fi
17385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17386 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17387 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17388 :; SUNCC=yes
17389 else
17390 :;
17391 fi
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398
17399
17400 ;;
17401 esac
17402 fi
17403
17404
17405
17406 ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17412 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17413 # On Suns, sometimes $CPP names a directory.
17414 if test -n "$CPP" && test -d "$CPP"; then
17415 CPP=
17416 fi
17417 if test -z "$CPP"; then
17418 if test "${ac_cv_prog_CPP+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421 # Double quotes because CPP needs to be expanded
17422 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17423 do
17424 ac_preproc_ok=false
17425 for ac_c_preproc_warn_flag in '' yes
17426 do
17427 # Use a header file that comes with gcc, so configuring glibc
17428 # with a fresh cross-compiler works.
17429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17430 # <limits.h> exists even on freestanding compilers.
17431 # On the NeXT, cc -E runs the code through the compiler's parser,
17432 # not just through cpp. "Syntax error" is here to catch this case.
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 #ifdef __STDC__
17440 # include <limits.h>
17441 #else
17442 # include <assert.h>
17443 #endif
17444 Syntax error
17445 _ACEOF
17446 if { (ac_try="$ac_cpp conftest.$ac_ext"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } >/dev/null && {
17459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 }; then
17462 :
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 # Broken: fails on valid input.
17468 continue
17469 fi
17470
17471 rm -f conftest.err conftest.$ac_ext
17472
17473 # OK, works on sane cases. Now check whether nonexistent headers
17474 # can be detected and how.
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 #include <ac_nonexistent.h>
17482 _ACEOF
17483 if { (ac_try="$ac_cpp conftest.$ac_ext"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } >/dev/null && {
17496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 }; then
17499 # Broken: success on invalid input.
17500 continue
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17504
17505 # Passes both tests.
17506 ac_preproc_ok=:
17507 break
17508 fi
17509
17510 rm -f conftest.err conftest.$ac_ext
17511
17512 done
17513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17514 rm -f conftest.err conftest.$ac_ext
17515 if $ac_preproc_ok; then
17516 break
17517 fi
17518
17519 done
17520 ac_cv_prog_CPP=$CPP
17521
17522 fi
17523 CPP=$ac_cv_prog_CPP
17524 else
17525 ac_cv_prog_CPP=$CPP
17526 fi
17527 { echo "$as_me:$LINENO: result: $CPP" >&5
17528 echo "${ECHO_T}$CPP" >&6; }
17529 ac_preproc_ok=false
17530 for ac_c_preproc_warn_flag in '' yes
17531 do
17532 # Use a header file that comes with gcc, so configuring glibc
17533 # with a fresh cross-compiler works.
17534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17535 # <limits.h> exists even on freestanding compilers.
17536 # On the NeXT, cc -E runs the code through the compiler's parser,
17537 # not just through cpp. "Syntax error" is here to catch this case.
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 #ifdef __STDC__
17545 # include <limits.h>
17546 #else
17547 # include <assert.h>
17548 #endif
17549 Syntax error
17550 _ACEOF
17551 if { (ac_try="$ac_cpp conftest.$ac_ext"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } >/dev/null && {
17564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17565 test ! -s conftest.err
17566 }; then
17567 :
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 # Broken: fails on valid input.
17573 continue
17574 fi
17575
17576 rm -f conftest.err conftest.$ac_ext
17577
17578 # OK, works on sane cases. Now check whether nonexistent headers
17579 # can be detected and how.
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <ac_nonexistent.h>
17587 _ACEOF
17588 if { (ac_try="$ac_cpp conftest.$ac_ext"
17589 case "(($ac_try" in
17590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17591 *) ac_try_echo=$ac_try;;
17592 esac
17593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } >/dev/null && {
17601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 }; then
17604 # Broken: success on invalid input.
17605 continue
17606 else
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17609
17610 # Passes both tests.
17611 ac_preproc_ok=:
17612 break
17613 fi
17614
17615 rm -f conftest.err conftest.$ac_ext
17616
17617 done
17618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17619 rm -f conftest.err conftest.$ac_ext
17620 if $ac_preproc_ok; then
17621 :
17622 else
17623 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17624 See \`config.log' for more details." >&5
17625 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17626 See \`config.log' for more details." >&2;}
17627 { (exit 1); exit 1; }; }
17628 fi
17629
17630 ac_ext=c
17631 ac_cpp='$CPP $CPPFLAGS'
17632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17635
17636
17637 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17638 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17639 if test "${ac_cv_path_GREP+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642 # Extract the first word of "grep ggrep" to use in msg output
17643 if test -z "$GREP"; then
17644 set dummy grep ggrep; ac_prog_name=$2
17645 if test "${ac_cv_path_GREP+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 ac_path_GREP_found=false
17649 # Loop through the user's path and test for each of PROGNAME-LIST
17650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17652 do
17653 IFS=$as_save_IFS
17654 test -z "$as_dir" && as_dir=.
17655 for ac_prog in grep ggrep; do
17656 for ac_exec_ext in '' $ac_executable_extensions; do
17657 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17658 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17659 # Check for GNU ac_path_GREP and select it if it is found.
17660 # Check for GNU $ac_path_GREP
17661 case `"$ac_path_GREP" --version 2>&1` in
17662 *GNU*)
17663 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17664 *)
17665 ac_count=0
17666 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17667 while :
17668 do
17669 cat "conftest.in" "conftest.in" >"conftest.tmp"
17670 mv "conftest.tmp" "conftest.in"
17671 cp "conftest.in" "conftest.nl"
17672 echo 'GREP' >> "conftest.nl"
17673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17675 ac_count=`expr $ac_count + 1`
17676 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17677 # Best one so far, save it but keep looking for a better one
17678 ac_cv_path_GREP="$ac_path_GREP"
17679 ac_path_GREP_max=$ac_count
17680 fi
17681 # 10*(2^10) chars as input seems more than enough
17682 test $ac_count -gt 10 && break
17683 done
17684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17685 esac
17686
17687
17688 $ac_path_GREP_found && break 3
17689 done
17690 done
17691
17692 done
17693 IFS=$as_save_IFS
17694
17695
17696 fi
17697
17698 GREP="$ac_cv_path_GREP"
17699 if test -z "$GREP"; then
17700 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17701 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17702 { (exit 1); exit 1; }; }
17703 fi
17704
17705 else
17706 ac_cv_path_GREP=$GREP
17707 fi
17708
17709
17710 fi
17711 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17712 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17713 GREP="$ac_cv_path_GREP"
17714
17715
17716 { echo "$as_me:$LINENO: checking for egrep" >&5
17717 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17718 if test "${ac_cv_path_EGREP+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17722 then ac_cv_path_EGREP="$GREP -E"
17723 else
17724 # Extract the first word of "egrep" to use in msg output
17725 if test -z "$EGREP"; then
17726 set dummy egrep; ac_prog_name=$2
17727 if test "${ac_cv_path_EGREP+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 ac_path_EGREP_found=false
17731 # Loop through the user's path and test for each of PROGNAME-LIST
17732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17734 do
17735 IFS=$as_save_IFS
17736 test -z "$as_dir" && as_dir=.
17737 for ac_prog in egrep; do
17738 for ac_exec_ext in '' $ac_executable_extensions; do
17739 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17740 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17741 # Check for GNU ac_path_EGREP and select it if it is found.
17742 # Check for GNU $ac_path_EGREP
17743 case `"$ac_path_EGREP" --version 2>&1` in
17744 *GNU*)
17745 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17746 *)
17747 ac_count=0
17748 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17749 while :
17750 do
17751 cat "conftest.in" "conftest.in" >"conftest.tmp"
17752 mv "conftest.tmp" "conftest.in"
17753 cp "conftest.in" "conftest.nl"
17754 echo 'EGREP' >> "conftest.nl"
17755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17757 ac_count=`expr $ac_count + 1`
17758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17759 # Best one so far, save it but keep looking for a better one
17760 ac_cv_path_EGREP="$ac_path_EGREP"
17761 ac_path_EGREP_max=$ac_count
17762 fi
17763 # 10*(2^10) chars as input seems more than enough
17764 test $ac_count -gt 10 && break
17765 done
17766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17767 esac
17768
17769
17770 $ac_path_EGREP_found && break 3
17771 done
17772 done
17773
17774 done
17775 IFS=$as_save_IFS
17776
17777
17778 fi
17779
17780 EGREP="$ac_cv_path_EGREP"
17781 if test -z "$EGREP"; then
17782 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17783 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17784 { (exit 1); exit 1; }; }
17785 fi
17786
17787 else
17788 ac_cv_path_EGREP=$EGREP
17789 fi
17790
17791
17792 fi
17793 fi
17794 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17795 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17796 EGREP="$ac_cv_path_EGREP"
17797
17798
17799 if test $ac_cv_c_compiler_gnu = yes; then
17800 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17801 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17802 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 ac_pattern="Autoconf.*'x'"
17806 cat >conftest.$ac_ext <<_ACEOF
17807 /* confdefs.h. */
17808 _ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17812 #include <sgtty.h>
17813 Autoconf TIOCGETP
17814 _ACEOF
17815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17816 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17817 ac_cv_prog_gcc_traditional=yes
17818 else
17819 ac_cv_prog_gcc_traditional=no
17820 fi
17821 rm -f conftest*
17822
17823
17824 if test $ac_cv_prog_gcc_traditional = no; then
17825 cat >conftest.$ac_ext <<_ACEOF
17826 /* confdefs.h. */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 #include <termio.h>
17832 Autoconf TCGETA
17833 _ACEOF
17834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17835 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17836 ac_cv_prog_gcc_traditional=yes
17837 fi
17838 rm -f conftest*
17839
17840 fi
17841 fi
17842 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17843 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17844 if test $ac_cv_prog_gcc_traditional = yes; then
17845 CC="$CC -traditional"
17846 fi
17847 fi
17848
17849
17850 CXXFLAGS=${CXXFLAGS:=}
17851
17852
17853
17854 ac_ext=cpp
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17859 if test -z "$CXX"; then
17860 if test -n "$CCC"; then
17861 CXX=$CCC
17862 else
17863 if test -n "$ac_tool_prefix"; then
17864 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17865 do
17866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17870 if test "${ac_cv_prog_CXX+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 else
17873 if test -n "$CXX"; then
17874 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17875 else
17876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17877 for as_dir in $PATH
17878 do
17879 IFS=$as_save_IFS
17880 test -z "$as_dir" && as_dir=.
17881 for ac_exec_ext in '' $ac_executable_extensions; do
17882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17883 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17885 break 2
17886 fi
17887 done
17888 done
17889 IFS=$as_save_IFS
17890
17891 fi
17892 fi
17893 CXX=$ac_cv_prog_CXX
17894 if test -n "$CXX"; then
17895 { echo "$as_me:$LINENO: result: $CXX" >&5
17896 echo "${ECHO_T}$CXX" >&6; }
17897 else
17898 { echo "$as_me:$LINENO: result: no" >&5
17899 echo "${ECHO_T}no" >&6; }
17900 fi
17901
17902
17903 test -n "$CXX" && break
17904 done
17905 fi
17906 if test -z "$CXX"; then
17907 ac_ct_CXX=$CXX
17908 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17909 do
17910 # Extract the first word of "$ac_prog", so it can be a program name with args.
17911 set dummy $ac_prog; ac_word=$2
17912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17914 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 else
17917 if test -n "$ac_ct_CXX"; then
17918 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17919 else
17920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH
17922 do
17923 IFS=$as_save_IFS
17924 test -z "$as_dir" && as_dir=.
17925 for ac_exec_ext in '' $ac_executable_extensions; do
17926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17927 ac_cv_prog_ac_ct_CXX="$ac_prog"
17928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17929 break 2
17930 fi
17931 done
17932 done
17933 IFS=$as_save_IFS
17934
17935 fi
17936 fi
17937 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17938 if test -n "$ac_ct_CXX"; then
17939 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17940 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17941 else
17942 { echo "$as_me:$LINENO: result: no" >&5
17943 echo "${ECHO_T}no" >&6; }
17944 fi
17945
17946
17947 test -n "$ac_ct_CXX" && break
17948 done
17949
17950 if test "x$ac_ct_CXX" = x; then
17951 CXX="g++"
17952 else
17953 case $cross_compiling:$ac_tool_warned in
17954 yes:)
17955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17956 whose name does not start with the host triplet. If you think this
17957 configuration is useful to you, please write to autoconf@gnu.org." >&5
17958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17959 whose name does not start with the host triplet. If you think this
17960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17961 ac_tool_warned=yes ;;
17962 esac
17963 CXX=$ac_ct_CXX
17964 fi
17965 fi
17966
17967 fi
17968 fi
17969 # Provide some information about the compiler.
17970 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17971 ac_compiler=`set X $ac_compile; echo $2`
17972 { (ac_try="$ac_compiler --version >&5"
17973 case "(($ac_try" in
17974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17975 *) ac_try_echo=$ac_try;;
17976 esac
17977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17978 (eval "$ac_compiler --version >&5") 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }
17982 { (ac_try="$ac_compiler -v >&5"
17983 case "(($ac_try" in
17984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17986 esac
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_compiler -v >&5") 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }
17992 { (ac_try="$ac_compiler -V >&5"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17996 esac
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_compiler -V >&5") 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }
18002
18003 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18004 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 else
18008 cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014
18015 int
18016 main ()
18017 {
18018 #ifndef __GNUC__
18019 choke me
18020 #endif
18021
18022 ;
18023 return 0;
18024 }
18025 _ACEOF
18026 rm -f conftest.$ac_objext
18027 if { (ac_try="$ac_compile"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_compile") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_cxx_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest.$ac_objext; then
18043 ac_compiler_gnu=yes
18044 else
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.$ac_ext >&5
18047
18048 ac_compiler_gnu=no
18049 fi
18050
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18053
18054 fi
18055 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18056 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18057 GXX=`test $ac_compiler_gnu = yes && echo yes`
18058 ac_test_CXXFLAGS=${CXXFLAGS+set}
18059 ac_save_CXXFLAGS=$CXXFLAGS
18060 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18061 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18062 if test "${ac_cv_prog_cxx_g+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18066 ac_cxx_werror_flag=yes
18067 ac_cv_prog_cxx_g=no
18068 CXXFLAGS="-g"
18069 cat >conftest.$ac_ext <<_ACEOF
18070 /* confdefs.h. */
18071 _ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075
18076 int
18077 main ()
18078 {
18079
18080 ;
18081 return 0;
18082 }
18083 _ACEOF
18084 rm -f conftest.$ac_objext
18085 if { (ac_try="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18089 esac
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_cxx_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_cv_prog_cxx_g=yes
18102 else
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18105
18106 CXXFLAGS=""
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113
18114 int
18115 main ()
18116 {
18117
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (ac_try="$ac_compile"
18124 case "(($ac_try" in
18125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18126 *) ac_try_echo=$ac_try;;
18127 esac
18128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18129 (eval "$ac_compile") 2>conftest.er1
18130 ac_status=$?
18131 grep -v '^ *+' conftest.er1 >conftest.err
18132 rm -f conftest.er1
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } && {
18136 test -z "$ac_cxx_werror_flag" ||
18137 test ! -s conftest.err
18138 } && test -s conftest.$ac_objext; then
18139 :
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18145 CXXFLAGS="-g"
18146 cat >conftest.$ac_ext <<_ACEOF
18147 /* confdefs.h. */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152
18153 int
18154 main ()
18155 {
18156
18157 ;
18158 return 0;
18159 }
18160 _ACEOF
18161 rm -f conftest.$ac_objext
18162 if { (ac_try="$ac_compile"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_compile") 2>conftest.er1
18169 ac_status=$?
18170 grep -v '^ *+' conftest.er1 >conftest.err
18171 rm -f conftest.er1
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } && {
18175 test -z "$ac_cxx_werror_flag" ||
18176 test ! -s conftest.err
18177 } && test -s conftest.$ac_objext; then
18178 ac_cv_prog_cxx_g=yes
18179 else
18180 echo "$as_me: failed program was:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18182
18183
18184 fi
18185
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 fi
18188
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 fi
18191
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18193 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18194 fi
18195 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18196 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18197 if test "$ac_test_CXXFLAGS" = set; then
18198 CXXFLAGS=$ac_save_CXXFLAGS
18199 elif test $ac_cv_prog_cxx_g = yes; then
18200 if test "$GXX" = yes; then
18201 CXXFLAGS="-g -O2"
18202 else
18203 CXXFLAGS="-g"
18204 fi
18205 else
18206 if test "$GXX" = yes; then
18207 CXXFLAGS="-O2"
18208 else
18209 CXXFLAGS=
18210 fi
18211 fi
18212 ac_ext=c
18213 ac_cpp='$CPP $CPPFLAGS'
18214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18217
18218
18219
18220
18221 ac_ext=cpp
18222 ac_cpp='$CXXCPP $CPPFLAGS'
18223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18226
18227 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18228 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18229 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238
18239 int
18240 main ()
18241 {
18242
18243 #ifndef __INTEL_COMPILER
18244 choke me
18245 #endif
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_cxx_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18274
18275 fi
18276
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278
18279
18280 fi
18281 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18282 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18283 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18284 :; INTELCXX=yes
18285 else
18286 :;
18287 fi
18288 ac_ext=c
18289 ac_cpp='$CPP $CPPFLAGS'
18290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18293
18294
18295
18296
18297 if test "x$GCXX" != "xyes"; then
18298 if test "xCXX" = "xC"; then
18299 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18300 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18301 if test "${bakefile_cv_c_exto+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 cat >conftest.$ac_ext <<_ACEOF
18305 /* confdefs.h. */
18306 _ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310
18311 int
18312 main ()
18313 {
18314
18315 ;
18316 return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext conftest.$ac_ext.o
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; then
18325 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18326 case $ac_file in
18327 conftest.$ac_ext.o)
18328 bakefile_cv_c_exto="-ext o"
18329 ;;
18330 *)
18331 ;;
18332 esac
18333 done
18334 else
18335 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18336 See \`config.log' for more details." >&5
18337 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18338 See \`config.log' for more details." >&2;}
18339 { (exit 1); exit 1; }; }
18340
18341 fi
18342
18343 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18344
18345 fi
18346 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18347 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18348 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18349 if test "c" = "c"; then
18350 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18351 fi
18352 if test "c" = "cxx"; then
18353 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18354 fi
18355 fi
18356
18357 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18358 unset ac_cv_prog_cc_g
18359 ac_test_CFLAGS=${CFLAGS+set}
18360 ac_save_CFLAGS=$CFLAGS
18361 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18363 if test "${ac_cv_prog_cc_g+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 ac_save_c_werror_flag=$ac_c_werror_flag
18367 ac_c_werror_flag=yes
18368 ac_cv_prog_cc_g=no
18369 CFLAGS="-g"
18370 cat >conftest.$ac_ext <<_ACEOF
18371 /* confdefs.h. */
18372 _ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376
18377 int
18378 main ()
18379 {
18380
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18393 ac_status=$?
18394 grep -v '^ *+' conftest.er1 >conftest.err
18395 rm -f conftest.er1
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_c_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 ac_cv_prog_cc_g=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 CFLAGS=""
18408 cat >conftest.$ac_ext <<_ACEOF
18409 /* confdefs.h. */
18410 _ACEOF
18411 cat confdefs.h >>conftest.$ac_ext
18412 cat >>conftest.$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18414
18415 int
18416 main ()
18417 {
18418
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 rm -f conftest.$ac_objext
18424 if { (ac_try="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18428 esac
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 :
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ac_c_werror_flag=$ac_save_c_werror_flag
18446 CFLAGS="-g"
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453
18454 int
18455 main ()
18456 {
18457
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest.$ac_objext
18463 if { (ac_try="$ac_compile"
18464 case "(($ac_try" in
18465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18466 *) ac_try_echo=$ac_try;;
18467 esac
18468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18469 (eval "$ac_compile") 2>conftest.er1
18470 ac_status=$?
18471 grep -v '^ *+' conftest.er1 >conftest.err
18472 rm -f conftest.er1
18473 cat conftest.err >&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } && {
18476 test -z "$ac_c_werror_flag" ||
18477 test ! -s conftest.err
18478 } && test -s conftest.$ac_objext; then
18479 ac_cv_prog_cc_g=yes
18480 else
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18483
18484
18485 fi
18486
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 fi
18489
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 fi
18492
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 ac_c_werror_flag=$ac_save_c_werror_flag
18495 fi
18496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18497 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18498 if test "$ac_test_CFLAGS" = set; then
18499 CFLAGS=$ac_save_CFLAGS
18500 elif test $ac_cv_prog_cc_g = yes; then
18501 if test "$GCC" = yes; then
18502 CFLAGS="-g -O2"
18503 else
18504 CFLAGS="-g"
18505 fi
18506 else
18507 if test "$GCC" = yes; then
18508 CFLAGS="-O2"
18509 else
18510 CFLAGS=
18511 fi
18512 fi
18513 fi
18514 fi
18515
18516 case `uname -s` in
18517 AIX*)
18518
18519
18520 ac_ext=cpp
18521 ac_cpp='$CXXCPP $CPPFLAGS'
18522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18525
18526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18528 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531 cat >conftest.$ac_ext <<_ACEOF
18532 /* confdefs.h. */
18533 _ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537
18538 int
18539 main ()
18540 {
18541
18542 #ifndef __xlC__
18543 choke me
18544 #endif
18545
18546 ;
18547 return 0;
18548 }
18549 _ACEOF
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18554 *) ac_try_echo=$ac_try;;
18555 esac
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18558 ac_status=$?
18559 grep -v '^ *+' conftest.er1 >conftest.err
18560 rm -f conftest.er1
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_cxx_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.$ac_objext; then
18567 bakefile_cv_cxx_compiler___xlC__=yes
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18571
18572 bakefile_cv_cxx_compiler___xlC__=no
18573
18574 fi
18575
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577
18578
18579 fi
18580 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18581 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18582 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18583 :; XLCXX=yes
18584 else
18585 :;
18586 fi
18587 ac_ext=c
18588 ac_cpp='$CPP $CPPFLAGS'
18589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18592
18593
18594
18595 ;;
18596
18597 Darwin)
18598
18599
18600 ac_ext=cpp
18601 ac_cpp='$CXXCPP $CPPFLAGS'
18602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18605
18606 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18607 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18608 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 else
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617
18618 int
18619 main ()
18620 {
18621
18622 #ifndef __MWERKS__
18623 choke me
18624 #endif
18625
18626 ;
18627 return 0;
18628 }
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (ac_try="$ac_compile"
18632 case "(($ac_try" in
18633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18634 *) ac_try_echo=$ac_try;;
18635 esac
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_compile") 2>conftest.er1
18638 ac_status=$?
18639 grep -v '^ *+' conftest.er1 >conftest.err
18640 rm -f conftest.er1
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } && {
18644 test -z "$ac_cxx_werror_flag" ||
18645 test ! -s conftest.err
18646 } && test -s conftest.$ac_objext; then
18647 bakefile_cv_cxx_compiler___MWERKS__=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 bakefile_cv_cxx_compiler___MWERKS__=no
18653
18654 fi
18655
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657
18658
18659 fi
18660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18661 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18662 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18663 :; MWCXX=yes
18664 else
18665 :;
18666 fi
18667 ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672
18673
18674
18675
18676
18677 ac_ext=cpp
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18682
18683 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18684 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18685 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 else
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694
18695 int
18696 main ()
18697 {
18698
18699 #ifndef __xlC__
18700 choke me
18701 #endif
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_cxx_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 bakefile_cv_cxx_compiler___xlC__=yes
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 bakefile_cv_cxx_compiler___xlC__=no
18730
18731 fi
18732
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18734
18735
18736 fi
18737 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18738 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18739 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18740 :; XLCXX=yes
18741 else
18742 :;
18743 fi
18744 ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18749
18750
18751
18752 ;;
18753
18754 IRIX*)
18755
18756
18757 ac_ext=cpp
18758 ac_cpp='$CXXCPP $CPPFLAGS'
18759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18762
18763 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18764 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18765 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774
18775 int
18776 main ()
18777 {
18778
18779 #ifndef _SGI_COMPILER_VERSION
18780 choke me
18781 #endif
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_cxx_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18810
18811 fi
18812
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814
18815
18816 fi
18817 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18818 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18819 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18820 :; SGICXX=yes
18821 else
18822 :;
18823 fi
18824 ac_ext=c
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18829
18830
18831
18832 ;;
18833
18834 Linux*)
18835
18836
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842
18843 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18844 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18845 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 else
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854
18855 int
18856 main ()
18857 {
18858
18859 #ifndef __SUNPRO_CC
18860 choke me
18861 #endif
18862
18863 ;
18864 return 0;
18865 }
18866 _ACEOF
18867 rm -f conftest.$ac_objext
18868 if { (ac_try="$ac_compile"
18869 case "(($ac_try" in
18870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871 *) ac_try_echo=$ac_try;;
18872 esac
18873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18874 (eval "$ac_compile") 2>conftest.er1
18875 ac_status=$?
18876 grep -v '^ *+' conftest.er1 >conftest.err
18877 rm -f conftest.er1
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } && {
18881 test -z "$ac_cxx_werror_flag" ||
18882 test ! -s conftest.err
18883 } && test -s conftest.$ac_objext; then
18884 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18885 else
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18888
18889 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18890
18891 fi
18892
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894
18895
18896 fi
18897 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18898 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18899 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18900 :; SUNCXX=yes
18901 else
18902 :;
18903 fi
18904 ac_ext=c
18905 ac_cpp='$CPP $CPPFLAGS'
18906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18909
18910
18911
18912 ;;
18913
18914 HP-UX*)
18915
18916
18917 ac_ext=cpp
18918 ac_cpp='$CXXCPP $CPPFLAGS'
18919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18922
18923 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18924 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18925 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934
18935 int
18936 main ()
18937 {
18938
18939 #ifndef __HP_aCC
18940 choke me
18941 #endif
18942
18943 ;
18944 return 0;
18945 }
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_cxx_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 bakefile_cv_cxx_compiler___HP_aCC=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18968
18969 bakefile_cv_cxx_compiler___HP_aCC=no
18970
18971 fi
18972
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974
18975
18976 fi
18977 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18978 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18979 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18980 :; HPCXX=yes
18981 else
18982 :;
18983 fi
18984 ac_ext=c
18985 ac_cpp='$CPP $CPPFLAGS'
18986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18989
18990
18991
18992 ;;
18993
18994 OSF1)
18995
18996
18997 ac_ext=cpp
18998 ac_cpp='$CXXCPP $CPPFLAGS'
18999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19002
19003 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19004 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19005 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19006 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 else
19008 cat >conftest.$ac_ext <<_ACEOF
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014
19015 int
19016 main ()
19017 {
19018
19019 #ifndef __DECCXX
19020 choke me
19021 #endif
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext
19028 if { (ac_try="$ac_compile"
19029 case "(($ac_try" in
19030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19031 *) ac_try_echo=$ac_try;;
19032 esac
19033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19034 (eval "$ac_compile") 2>conftest.er1
19035 ac_status=$?
19036 grep -v '^ *+' conftest.er1 >conftest.err
19037 rm -f conftest.er1
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } && {
19041 test -z "$ac_cxx_werror_flag" ||
19042 test ! -s conftest.err
19043 } && test -s conftest.$ac_objext; then
19044 bakefile_cv_cxx_compiler___DECCXX=yes
19045 else
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.$ac_ext >&5
19048
19049 bakefile_cv_cxx_compiler___DECCXX=no
19050
19051 fi
19052
19053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054
19055
19056 fi
19057 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19058 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19059 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19060 :; COMPAQCXX=yes
19061 else
19062 :;
19063 fi
19064 ac_ext=c
19065 ac_cpp='$CPP $CPPFLAGS'
19066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069
19070
19071
19072 ;;
19073
19074 SunOS)
19075
19076
19077 ac_ext=cpp
19078 ac_cpp='$CXXCPP $CPPFLAGS'
19079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19082
19083 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19084 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19085 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094
19095 int
19096 main ()
19097 {
19098
19099 #ifndef __SUNPRO_CC
19100 choke me
19101 #endif
19102
19103 ;
19104 return 0;
19105 }
19106 _ACEOF
19107 rm -f conftest.$ac_objext
19108 if { (ac_try="$ac_compile"
19109 case "(($ac_try" in
19110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19111 *) ac_try_echo=$ac_try;;
19112 esac
19113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19114 (eval "$ac_compile") 2>conftest.er1
19115 ac_status=$?
19116 grep -v '^ *+' conftest.er1 >conftest.err
19117 rm -f conftest.er1
19118 cat conftest.err >&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } && {
19121 test -z "$ac_cxx_werror_flag" ||
19122 test ! -s conftest.err
19123 } && test -s conftest.$ac_objext; then
19124 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19125 else
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19128
19129 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19130
19131 fi
19132
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134
19135
19136 fi
19137 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19140 :; SUNCXX=yes
19141 else
19142 :;
19143 fi
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151
19152 ;;
19153 esac
19154 fi
19155
19156
19157
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19160 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19161 { (exit 1); exit 1; }; }
19162 fi
19163
19164 if test -n "$ac_tool_prefix"; then
19165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19169 if test "${ac_cv_prog_RANLIB+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 if test -n "$RANLIB"; then
19173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19174 else
19175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19176 for as_dir in $PATH
19177 do
19178 IFS=$as_save_IFS
19179 test -z "$as_dir" && as_dir=.
19180 for ac_exec_ext in '' $ac_executable_extensions; do
19181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19184 break 2
19185 fi
19186 done
19187 done
19188 IFS=$as_save_IFS
19189
19190 fi
19191 fi
19192 RANLIB=$ac_cv_prog_RANLIB
19193 if test -n "$RANLIB"; then
19194 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19195 echo "${ECHO_T}$RANLIB" >&6; }
19196 else
19197 { echo "$as_me:$LINENO: result: no" >&5
19198 echo "${ECHO_T}no" >&6; }
19199 fi
19200
19201
19202 fi
19203 if test -z "$ac_cv_prog_RANLIB"; then
19204 ac_ct_RANLIB=$RANLIB
19205 # Extract the first word of "ranlib", so it can be a program name with args.
19206 set dummy ranlib; ac_word=$2
19207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19209 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 else
19212 if test -n "$ac_ct_RANLIB"; then
19213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19214 else
19215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19216 for as_dir in $PATH
19217 do
19218 IFS=$as_save_IFS
19219 test -z "$as_dir" && as_dir=.
19220 for ac_exec_ext in '' $ac_executable_extensions; do
19221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19222 ac_cv_prog_ac_ct_RANLIB="ranlib"
19223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19224 break 2
19225 fi
19226 done
19227 done
19228 IFS=$as_save_IFS
19229
19230 fi
19231 fi
19232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19233 if test -n "$ac_ct_RANLIB"; then
19234 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19235 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19236 else
19237 { echo "$as_me:$LINENO: result: no" >&5
19238 echo "${ECHO_T}no" >&6; }
19239 fi
19240
19241 if test "x$ac_ct_RANLIB" = x; then
19242 RANLIB=":"
19243 else
19244 case $cross_compiling:$ac_tool_warned in
19245 yes:)
19246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19247 whose name does not start with the host triplet. If you think this
19248 configuration is useful to you, please write to autoconf@gnu.org." >&5
19249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19250 whose name does not start with the host triplet. If you think this
19251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19252 ac_tool_warned=yes ;;
19253 esac
19254 RANLIB=$ac_ct_RANLIB
19255 fi
19256 else
19257 RANLIB="$ac_cv_prog_RANLIB"
19258 fi
19259
19260
19261 if test "x$SUNCXX" != xyes; then
19262 if test -n "$ac_tool_prefix"; then
19263 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19264 set dummy ${ac_tool_prefix}ar; ac_word=$2
19265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19267 if test "${ac_cv_prog_AR+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 else
19270 if test -n "$AR"; then
19271 ac_cv_prog_AR="$AR" # Let the user override the test.
19272 else
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19275 do
19276 IFS=$as_save_IFS
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19280 ac_cv_prog_AR="${ac_tool_prefix}ar"
19281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19282 break 2
19283 fi
19284 done
19285 done
19286 IFS=$as_save_IFS
19287
19288 fi
19289 fi
19290 AR=$ac_cv_prog_AR
19291 if test -n "$AR"; then
19292 { echo "$as_me:$LINENO: result: $AR" >&5
19293 echo "${ECHO_T}$AR" >&6; }
19294 else
19295 { echo "$as_me:$LINENO: result: no" >&5
19296 echo "${ECHO_T}no" >&6; }
19297 fi
19298
19299
19300 fi
19301 if test -z "$ac_cv_prog_AR"; then
19302 ac_ct_AR=$AR
19303 # Extract the first word of "ar", so it can be a program name with args.
19304 set dummy ar; ac_word=$2
19305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19307 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 if test -n "$ac_ct_AR"; then
19311 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19312 else
19313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19314 for as_dir in $PATH
19315 do
19316 IFS=$as_save_IFS
19317 test -z "$as_dir" && as_dir=.
19318 for ac_exec_ext in '' $ac_executable_extensions; do
19319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19320 ac_cv_prog_ac_ct_AR="ar"
19321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19322 break 2
19323 fi
19324 done
19325 done
19326 IFS=$as_save_IFS
19327
19328 fi
19329 fi
19330 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19331 if test -n "$ac_ct_AR"; then
19332 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19333 echo "${ECHO_T}$ac_ct_AR" >&6; }
19334 else
19335 { echo "$as_me:$LINENO: result: no" >&5
19336 echo "${ECHO_T}no" >&6; }
19337 fi
19338
19339 if test "x$ac_ct_AR" = x; then
19340 AR=""
19341 else
19342 case $cross_compiling:$ac_tool_warned in
19343 yes:)
19344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19345 whose name does not start with the host triplet. If you think this
19346 configuration is useful to you, please write to autoconf@gnu.org." >&5
19347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19348 whose name does not start with the host triplet. If you think this
19349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19350 ac_tool_warned=yes ;;
19351 esac
19352 AR=$ac_ct_AR
19353 fi
19354 else
19355 AR="$ac_cv_prog_AR"
19356 fi
19357
19358 if test "x$AR" = "x" ; then
19359 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19360 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19361 { (exit 1); exit 1; }; }
19362 fi
19363 fi
19364
19365 # Find a good install program. We prefer a C program (faster),
19366 # so one script is as good as another. But avoid the broken or
19367 # incompatible versions:
19368 # SysV /etc/install, /usr/sbin/install
19369 # SunOS /usr/etc/install
19370 # IRIX /sbin/install
19371 # AIX /bin/install
19372 # AmigaOS /C/install, which installs bootblocks on floppy discs
19373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19376 # OS/2's system install, which has a completely different semantic
19377 # ./install, which can be erroneously created by make from ./install.sh.
19378 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19380 if test -z "$INSTALL"; then
19381 if test "${ac_cv_path_install+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19385 for as_dir in $PATH
19386 do
19387 IFS=$as_save_IFS
19388 test -z "$as_dir" && as_dir=.
19389 # Account for people who put trailing slashes in PATH elements.
19390 case $as_dir/ in
19391 ./ | .// | /cC/* | \
19392 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19393 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19394 /usr/ucb/* ) ;;
19395 *)
19396 # OSF1 and SCO ODT 3.0 have their own names for install.
19397 # Don't use installbsd from OSF since it installs stuff as root
19398 # by default.
19399 for ac_prog in ginstall scoinst install; do
19400 for ac_exec_ext in '' $ac_executable_extensions; do
19401 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19402 if test $ac_prog = install &&
19403 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19404 # AIX install. It has an incompatible calling convention.
19405 :
19406 elif test $ac_prog = install &&
19407 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19408 # program-specific install script used by HP pwplus--don't use.
19409 :
19410 else
19411 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19412 break 3
19413 fi
19414 fi
19415 done
19416 done
19417 ;;
19418 esac
19419 done
19420 IFS=$as_save_IFS
19421
19422
19423 fi
19424 if test "${ac_cv_path_install+set}" = set; then
19425 INSTALL=$ac_cv_path_install
19426 else
19427 # As a last resort, use the slow shell script. Don't cache a
19428 # value for INSTALL within a source directory, because that will
19429 # break other packages using the cache if that directory is
19430 # removed, or if the value is a relative name.
19431 INSTALL=$ac_install_sh
19432 fi
19433 fi
19434 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19435 echo "${ECHO_T}$INSTALL" >&6; }
19436
19437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19438 # It thinks the first close brace ends the variable substitution.
19439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19440
19441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19442
19443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19444
19445
19446 case ${INSTALL} in
19447 /* ) # Absolute
19448 ;;
19449 ?:* ) # Drive letter, considered as absolute.
19450 ;;
19451 *)
19452 INSTALL=`pwd`/${INSTALL} ;;
19453 esac
19454
19455
19456 case "${host}" in
19457
19458 *-*-darwin* )
19459 INSTALL_PROGRAM="cp -fp"
19460 INSTALL_DATA="cp -fp"
19461 ;;
19462 *)
19463 ;;
19464 esac
19465
19466 if test -n "$ac_tool_prefix"; then
19467 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19468 set dummy ${ac_tool_prefix}strip; ac_word=$2
19469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19471 if test "${ac_cv_prog_STRIP+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 if test -n "$STRIP"; then
19475 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19476 else
19477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19478 for as_dir in $PATH
19479 do
19480 IFS=$as_save_IFS
19481 test -z "$as_dir" && as_dir=.
19482 for ac_exec_ext in '' $ac_executable_extensions; do
19483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19484 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19486 break 2
19487 fi
19488 done
19489 done
19490 IFS=$as_save_IFS
19491
19492 fi
19493 fi
19494 STRIP=$ac_cv_prog_STRIP
19495 if test -n "$STRIP"; then
19496 { echo "$as_me:$LINENO: result: $STRIP" >&5
19497 echo "${ECHO_T}$STRIP" >&6; }
19498 else
19499 { echo "$as_me:$LINENO: result: no" >&5
19500 echo "${ECHO_T}no" >&6; }
19501 fi
19502
19503
19504 fi
19505 if test -z "$ac_cv_prog_STRIP"; then
19506 ac_ct_STRIP=$STRIP
19507 # Extract the first word of "strip", so it can be a program name with args.
19508 set dummy strip; ac_word=$2
19509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19511 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 if test -n "$ac_ct_STRIP"; then
19515 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19516 else
19517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19518 for as_dir in $PATH
19519 do
19520 IFS=$as_save_IFS
19521 test -z "$as_dir" && as_dir=.
19522 for ac_exec_ext in '' $ac_executable_extensions; do
19523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19524 ac_cv_prog_ac_ct_STRIP="strip"
19525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19526 break 2
19527 fi
19528 done
19529 done
19530 IFS=$as_save_IFS
19531
19532 fi
19533 fi
19534 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19535 if test -n "$ac_ct_STRIP"; then
19536 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19537 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19538 else
19539 { echo "$as_me:$LINENO: result: no" >&5
19540 echo "${ECHO_T}no" >&6; }
19541 fi
19542
19543 if test "x$ac_ct_STRIP" = x; then
19544 STRIP="true"
19545 else
19546 case $cross_compiling:$ac_tool_warned in
19547 yes:)
19548 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19549 whose name does not start with the host triplet. If you think this
19550 configuration is useful to you, please write to autoconf@gnu.org." >&5
19551 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19552 whose name does not start with the host triplet. If you think this
19553 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19554 ac_tool_warned=yes ;;
19555 esac
19556 STRIP=$ac_ct_STRIP
19557 fi
19558 else
19559 STRIP="$ac_cv_prog_STRIP"
19560 fi
19561
19562
19563 if test "$wxUSE_WINE" = "yes"; then
19564 if test -n "$ac_tool_prefix"; then
19565 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19566 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19569 if test "${ac_cv_prog_WINDRES+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572 if test -n "$WINDRES"; then
19573 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19574 else
19575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19576 for as_dir in $PATH
19577 do
19578 IFS=$as_save_IFS
19579 test -z "$as_dir" && as_dir=.
19580 for ac_exec_ext in '' $ac_executable_extensions; do
19581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19582 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19584 break 2
19585 fi
19586 done
19587 done
19588 IFS=$as_save_IFS
19589
19590 fi
19591 fi
19592 WINDRES=$ac_cv_prog_WINDRES
19593 if test -n "$WINDRES"; then
19594 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19595 echo "${ECHO_T}$WINDRES" >&6; }
19596 else
19597 { echo "$as_me:$LINENO: result: no" >&5
19598 echo "${ECHO_T}no" >&6; }
19599 fi
19600
19601
19602 fi
19603 if test -z "$ac_cv_prog_WINDRES"; then
19604 ac_ct_WINDRES=$WINDRES
19605 # Extract the first word of "wrc", so it can be a program name with args.
19606 set dummy wrc; ac_word=$2
19607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19609 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 if test -n "$ac_ct_WINDRES"; then
19613 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19614 else
19615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19616 for as_dir in $PATH
19617 do
19618 IFS=$as_save_IFS
19619 test -z "$as_dir" && as_dir=.
19620 for ac_exec_ext in '' $ac_executable_extensions; do
19621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19622 ac_cv_prog_ac_ct_WINDRES="wrc"
19623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19624 break 2
19625 fi
19626 done
19627 done
19628 IFS=$as_save_IFS
19629
19630 fi
19631 fi
19632 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19633 if test -n "$ac_ct_WINDRES"; then
19634 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19635 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19636 else
19637 { echo "$as_me:$LINENO: result: no" >&5
19638 echo "${ECHO_T}no" >&6; }
19639 fi
19640
19641 if test "x$ac_ct_WINDRES" = x; then
19642 WINDRES=""
19643 else
19644 case $cross_compiling:$ac_tool_warned in
19645 yes:)
19646 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19647 whose name does not start with the host triplet. If you think this
19648 configuration is useful to you, please write to autoconf@gnu.org." >&5
19649 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19650 whose name does not start with the host triplet. If you think this
19651 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19652 ac_tool_warned=yes ;;
19653 esac
19654 WINDRES=$ac_ct_WINDRES
19655 fi
19656 else
19657 WINDRES="$ac_cv_prog_WINDRES"
19658 fi
19659
19660 RESCOMP="$WINDRES"
19661 else
19662 case "${host}" in
19663 *-*-cygwin* | *-*-mingw32* )
19664 if test -n "$ac_tool_prefix"; then
19665 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19666 set dummy ${ac_tool_prefix}windres; ac_word=$2
19667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19669 if test "${ac_cv_prog_WINDRES+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 if test -n "$WINDRES"; then
19673 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19674 else
19675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19676 for as_dir in $PATH
19677 do
19678 IFS=$as_save_IFS
19679 test -z "$as_dir" && as_dir=.
19680 for ac_exec_ext in '' $ac_executable_extensions; do
19681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19682 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19684 break 2
19685 fi
19686 done
19687 done
19688 IFS=$as_save_IFS
19689
19690 fi
19691 fi
19692 WINDRES=$ac_cv_prog_WINDRES
19693 if test -n "$WINDRES"; then
19694 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19695 echo "${ECHO_T}$WINDRES" >&6; }
19696 else
19697 { echo "$as_me:$LINENO: result: no" >&5
19698 echo "${ECHO_T}no" >&6; }
19699 fi
19700
19701
19702 fi
19703 if test -z "$ac_cv_prog_WINDRES"; then
19704 ac_ct_WINDRES=$WINDRES
19705 # Extract the first word of "windres", so it can be a program name with args.
19706 set dummy windres; ac_word=$2
19707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19709 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19712 if test -n "$ac_ct_WINDRES"; then
19713 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19714 else
19715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19716 for as_dir in $PATH
19717 do
19718 IFS=$as_save_IFS
19719 test -z "$as_dir" && as_dir=.
19720 for ac_exec_ext in '' $ac_executable_extensions; do
19721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19722 ac_cv_prog_ac_ct_WINDRES="windres"
19723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19724 break 2
19725 fi
19726 done
19727 done
19728 IFS=$as_save_IFS
19729
19730 fi
19731 fi
19732 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19733 if test -n "$ac_ct_WINDRES"; then
19734 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19735 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19736 else
19737 { echo "$as_me:$LINENO: result: no" >&5
19738 echo "${ECHO_T}no" >&6; }
19739 fi
19740
19741 if test "x$ac_ct_WINDRES" = x; then
19742 WINDRES=""
19743 else
19744 case $cross_compiling:$ac_tool_warned in
19745 yes:)
19746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19747 whose name does not start with the host triplet. If you think this
19748 configuration is useful to you, please write to autoconf@gnu.org." >&5
19749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19750 whose name does not start with the host triplet. If you think this
19751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19752 ac_tool_warned=yes ;;
19753 esac
19754 WINDRES=$ac_ct_WINDRES
19755 fi
19756 else
19757 WINDRES="$ac_cv_prog_WINDRES"
19758 fi
19759
19760 RESCOMP="$WINDRES"
19761 if test -n "$ac_tool_prefix"; then
19762 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19763 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19766 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769 if test -n "$DLLTOOL"; then
19770 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19771 else
19772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19773 for as_dir in $PATH
19774 do
19775 IFS=$as_save_IFS
19776 test -z "$as_dir" && as_dir=.
19777 for ac_exec_ext in '' $ac_executable_extensions; do
19778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19779 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19781 break 2
19782 fi
19783 done
19784 done
19785 IFS=$as_save_IFS
19786
19787 fi
19788 fi
19789 DLLTOOL=$ac_cv_prog_DLLTOOL
19790 if test -n "$DLLTOOL"; then
19791 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19792 echo "${ECHO_T}$DLLTOOL" >&6; }
19793 else
19794 { echo "$as_me:$LINENO: result: no" >&5
19795 echo "${ECHO_T}no" >&6; }
19796 fi
19797
19798
19799 fi
19800 if test -z "$ac_cv_prog_DLLTOOL"; then
19801 ac_ct_DLLTOOL=$DLLTOOL
19802 # Extract the first word of "dlltool", so it can be a program name with args.
19803 set dummy dlltool; ac_word=$2
19804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19806 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 else
19809 if test -n "$ac_ct_DLLTOOL"; then
19810 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19811 else
19812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19813 for as_dir in $PATH
19814 do
19815 IFS=$as_save_IFS
19816 test -z "$as_dir" && as_dir=.
19817 for ac_exec_ext in '' $ac_executable_extensions; do
19818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19819 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19821 break 2
19822 fi
19823 done
19824 done
19825 IFS=$as_save_IFS
19826
19827 fi
19828 fi
19829 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19830 if test -n "$ac_ct_DLLTOOL"; then
19831 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19832 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19833 else
19834 { echo "$as_me:$LINENO: result: no" >&5
19835 echo "${ECHO_T}no" >&6; }
19836 fi
19837
19838 if test "x$ac_ct_DLLTOOL" = x; then
19839 DLLTOOL=""
19840 else
19841 case $cross_compiling:$ac_tool_warned in
19842 yes:)
19843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19844 whose name does not start with the host triplet. If you think this
19845 configuration is useful to you, please write to autoconf@gnu.org." >&5
19846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19847 whose name does not start with the host triplet. If you think this
19848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19849 ac_tool_warned=yes ;;
19850 esac
19851 DLLTOOL=$ac_ct_DLLTOOL
19852 fi
19853 else
19854 DLLTOOL="$ac_cv_prog_DLLTOOL"
19855 fi
19856
19857 ;;
19858 esac
19859 fi
19860
19861 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19862 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19863 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19864 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 else
19866
19867 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19868 $EGREP -s GNU > /dev/null); then
19869 wx_cv_prog_makeisgnu="yes"
19870 else
19871 wx_cv_prog_makeisgnu="no"
19872 fi
19873
19874 fi
19875 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19876 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19877
19878 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19879 IF_GNU_MAKE=""
19880 else
19881 IF_GNU_MAKE="#"
19882 fi
19883
19884
19885
19886 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19887 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19888 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19889 if test "${wx_cv_prog_makevpath+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19892
19893 cat - << EOF > confMake
19894 check : file
19895 cp \$? \$@
19896 cp \$? final_file
19897 EOF
19898
19899 if test ! -d sub ; then
19900 mkdir sub
19901 fi
19902 echo dummy > sub/file
19903 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19904 RESULT=$?
19905 rm -f sub/file check final_file confMake
19906 rmdir sub
19907 if test "$RESULT" = 0; then
19908 wx_cv_prog_makevpath="yes"
19909 else
19910 wx_cv_prog_makevpath="no"
19911 fi
19912
19913 fi
19914 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19915 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19916
19917 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19918 { { echo "$as_me:$LINENO: error:
19919 You need a make-utility that is able to use the variable
19920 VPATH correctly.
19921 If your version of make does not support VPATH correctly,
19922 please install GNU-make (possibly as gmake), and start
19923 configure with the following command:
19924 export MAKE=gmake; ./configure for sh-type shells
19925 setenv MAKE gmake; ./configure for csh-type shells
19926 Also please do remember to use gmake in this case every time
19927 you are trying to compile.
19928 " >&5
19929 echo "$as_me: error:
19930 You need a make-utility that is able to use the variable
19931 VPATH correctly.
19932 If your version of make does not support VPATH correctly,
19933 please install GNU-make (possibly as gmake), and start
19934 configure with the following command:
19935 export MAKE=gmake; ./configure for sh-type shells
19936 setenv MAKE gmake; ./configure for csh-type shells
19937 Also please do remember to use gmake in this case every time
19938 you are trying to compile.
19939 " >&2;}
19940 { (exit 1); exit 1; }; }
19941 fi fi
19942 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
19943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
19944 LN_S=$as_ln_s
19945 if test "$LN_S" = "ln -s"; then
19946 { echo "$as_me:$LINENO: result: yes" >&5
19947 echo "${ECHO_T}yes" >&6; }
19948 else
19949 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19950 echo "${ECHO_T}no, using $LN_S" >&6; }
19951 fi
19952
19953
19954
19955
19956 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19957 CXXFLAGS="-qunique $CXXFLAGS"
19958 fi
19959
19960 case "${host}" in
19961 powerpc-*-darwin* )
19962 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19963 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19964 cat >conftest.$ac_ext <<_ACEOF
19965 /* confdefs.h. */
19966 _ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970
19971 int
19972 main ()
19973 {
19974 #ifndef __POWERPC__
19975 choke me for lack of PowerPC
19976 #endif
19977
19978 ;
19979 return 0;
19980 }
19981 _ACEOF
19982 rm -f conftest.$ac_objext
19983 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19987 esac
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_compile") 2>conftest.er1
19990 ac_status=$?
19991 grep -v '^ *+' conftest.er1 >conftest.err
19992 rm -f conftest.er1
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest.$ac_objext; then
19999 { echo "$as_me:$LINENO: result: yes" >&5
20000 echo "${ECHO_T}yes" >&6; }
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005 { echo "$as_me:$LINENO: result: no" >&5
20006 echo "${ECHO_T}no" >&6; }
20007 cat >>confdefs.h <<\_ACEOF
20008 #define __POWERPC__ 1
20009 _ACEOF
20010
20011
20012 fi
20013
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 ;;
20016 esac
20017
20018 case "${host}" in
20019 *-*-darwin* )
20020 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20021 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <CoreFoundation/CFBase.h>
20029
20030 int
20031 main ()
20032 {
20033
20034 ;
20035 return 0;
20036 }
20037 _ACEOF
20038 rm -f conftest.$ac_objext
20039 if { (ac_try="$ac_compile"
20040 case "(($ac_try" in
20041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042 *) ac_try_echo=$ac_try;;
20043 esac
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_compile") 2>conftest.er1
20046 ac_status=$?
20047 grep -v '^ *+' conftest.er1 >conftest.err
20048 rm -f conftest.er1
20049 cat conftest.err >&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && {
20052 test -z "$ac_c_werror_flag" ||
20053 test ! -s conftest.err
20054 } && test -s conftest.$ac_objext; then
20055 { echo "$as_me:$LINENO: result: yes" >&5
20056 echo "${ECHO_T}yes" >&6; }
20057 else
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20060
20061 { echo "$as_me:$LINENO: result: no" >&5
20062 echo "${ECHO_T}no" >&6; }
20063 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20064 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #define __CF_USE_FRAMEWORK_INCLUDES__
20072 #include <CoreFoundation/CFBase.h>
20073
20074 int
20075 main ()
20076 {
20077
20078 ;
20079 return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext
20083 if { (ac_try="$ac_compile"
20084 case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_compile") 2>conftest.er1
20090 ac_status=$?
20091 grep -v '^ *+' conftest.er1 >conftest.err
20092 rm -f conftest.er1
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } && {
20096 test -z "$ac_c_werror_flag" ||
20097 test ! -s conftest.err
20098 } && test -s conftest.$ac_objext; then
20099 { echo "$as_me:$LINENO: result: yes" >&5
20100 echo "${ECHO_T}yes" >&6; }
20101 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20102 else
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20105
20106 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20107 See \`config.log' for more details." >&5
20108 echo "$as_me: error: no. CoreFoundation not available.
20109 See \`config.log' for more details." >&2;}
20110 { (exit 1); exit 1; }; }
20111
20112 fi
20113
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115
20116
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ;;
20121 esac
20122
20123 wants_win32=0
20124 doesnt_want_win32=0
20125 case "${host}" in
20126 *-*-cygwin*)
20127 if test "$wxUSE_MSW" = 1 ; then
20128 wants_win32=1
20129 else
20130 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20131 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20132 if test "${wx_cv_nocygwin+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 else
20135
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142
20143 int
20144 main ()
20145 {
20146
20147 #ifdef __MINGW32__
20148 choke me
20149 #endif
20150
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 rm -f conftest.$ac_objext
20156 if { (ac_try="$ac_compile"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20160 esac
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20172 wx_cv_nocygwin=no
20173 else
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20176
20177 wx_cv_nocygwin=yes
20178
20179 fi
20180
20181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182
20183
20184 fi
20185 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20186 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20187
20188 if test "$wx_cv_nocygwin" = "yes"; then
20189 wants_win32=1
20190 else
20191 doesnt_want_win32=1
20192 fi
20193 fi
20194 if test "$wants_win32" = 1 ; then
20195 BAKEFILE_FORCE_PLATFORM=win32
20196 fi
20197 ;;
20198 *-*-mingw*)
20199 wants_win32=1
20200 ;;
20201 esac
20202
20203 if test "$wxUSE_WINE" = "yes"; then
20204 wants_win32=1
20205 LDFLAGS_GUI="-mwindows"
20206 fi
20207
20208 if test "$wants_win32" = 1 ; then
20209 USE_UNIX=0
20210 USE_WIN32=1
20211 cat >>confdefs.h <<\_ACEOF
20212 #define __WIN32__ 1
20213 _ACEOF
20214
20215 cat >>confdefs.h <<\_ACEOF
20216 #define __WIN95__ 1
20217 _ACEOF
20218
20219 cat >>confdefs.h <<\_ACEOF
20220 #define __WINDOWS__ 1
20221 _ACEOF
20222
20223 cat >>confdefs.h <<\_ACEOF
20224 #define __GNUWIN32__ 1
20225 _ACEOF
20226
20227 cat >>confdefs.h <<\_ACEOF
20228 #define STRICT 1
20229 _ACEOF
20230
20231 fi
20232 if test "$doesnt_want_win32" = 1 ; then
20233 USE_UNIX=1
20234 USE_WIN32=0
20235 fi
20236
20237 if test "$USE_UNIX" = 1 ; then
20238 wxUSE_UNIX=yes
20239 cat >>confdefs.h <<\_ACEOF
20240 #define __UNIX__ 1
20241 _ACEOF
20242
20243 fi
20244
20245 case "${host}" in
20246 *-pc-os2_emx | *-pc-os2-emx )
20247 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20248 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20249 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20250 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 ac_check_lib_save_LIBS=$LIBS
20254 LIBS="-lcExt $LIBS"
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20265 #ifdef __cplusplus
20266 extern "C"
20267 #endif
20268 char drand48 ();
20269 int
20270 main ()
20271 {
20272 return drand48 ();
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 rm -f conftest.$ac_objext conftest$ac_exeext
20278 if { (ac_try="$ac_link"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_link") 2>conftest.er1
20285 ac_status=$?
20286 grep -v '^ *+' conftest.er1 >conftest.err
20287 rm -f conftest.er1
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest$ac_exeext &&
20294 $as_test_x conftest$ac_exeext; then
20295 ac_cv_lib_cExt_drand48=yes
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_cv_lib_cExt_drand48=no
20301 fi
20302
20303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20304 conftest$ac_exeext conftest.$ac_ext
20305 LIBS=$ac_check_lib_save_LIBS
20306 fi
20307 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20308 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20309 if test $ac_cv_lib_cExt_drand48 = yes; then
20310 LIBS="$LIBS -lcExt"
20311 fi
20312
20313 else
20314 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20315 fi
20316 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20317 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20318 if test "${wx_cv_gccversion+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 else
20321
20322 if test "$cross_compiling" = yes; then
20323 wx_cv_gccversion="EMX2"
20324
20325 else
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332
20333 #include <stdio.h>
20334
20335 int main()
20336 {
20337 FILE *f=fopen("conftestval", "w");
20338 if (!f) exit(1);
20339 fprintf(f,
20340 #if (__GNUC__ < 3)
20341 "EMX2"
20342 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20343 "EMX3"
20344 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20345 "Innotek5"
20346 #else
20347 "Innotek6"
20348 #endif
20349 );
20350 exit(0);
20351 }
20352
20353 _ACEOF
20354 rm -f conftest$ac_exeext
20355 if { (ac_try="$ac_link"
20356 case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_link") 2>&5
20362 ac_status=$?
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20365 { (case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20368 esac
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_try") 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 wx_cv_gccversion=`cat conftestval`
20375 else
20376 echo "$as_me: program exited with status $ac_status" >&5
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20379
20380 ( exit $ac_status )
20381 wx_cv_gccversion="EMX2"
20382 fi
20383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20384 fi
20385
20386
20387
20388 fi
20389 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20390 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20391 if test "$wx_cv_gccversion" = "EMX2"; then
20392 LIBS="$LIBS -lstdcpp"
20393 LDFLAGS="$LDFLAGS -Zsysv-signals"
20394 else
20395 if test "$wx_cv_gccversion" = "EMX3"; then
20396 LIBS="$LIBS -lstdcxx -lgcc"
20397 LDFLAGS="$LDFLAGS -Zsysv-signals"
20398 else
20399 LIBS="$LIBS -lstdc++"
20400 fi
20401 fi
20402 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20403 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20404 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20405 wxUSE_OMF=yes
20406 enable_omf=yes
20407 fi
20408 ;;
20409 *)
20410
20411 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20412 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20413 if test "${ac_cv_string_strcasecmp+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 else
20416
20417 cat >conftest.$ac_ext <<_ACEOF
20418 /* confdefs.h. */
20419 _ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423
20424 #include <string.h>
20425
20426 int
20427 main ()
20428 {
20429
20430 strcasecmp("foo", "bar");
20431
20432 ;
20433 return 0;
20434 }
20435 _ACEOF
20436 rm -f conftest.$ac_objext conftest$ac_exeext
20437 if { (ac_try="$ac_link"
20438 case "(($ac_try" in
20439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20441 esac
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_link") 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest$ac_exeext &&
20453 $as_test_x conftest$ac_exeext; then
20454 ac_cv_string_strcasecmp=yes
20455 else
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20458
20459 ac_cv_string_strcasecmp=no
20460
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20464 conftest$ac_exeext conftest.$ac_ext
20465
20466 fi
20467 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20468 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20469
20470 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20471 cat >>confdefs.h <<\_ACEOF
20472 #define HAVE_STRCASECMP_IN_STRING_H 1
20473 _ACEOF
20474
20475 else
20476 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20477 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20478 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488
20489 #include <strings.h>
20490
20491 int
20492 main ()
20493 {
20494
20495 strcasecmp("foo", "bar");
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext conftest$ac_exeext
20502 if { (ac_try="$ac_link"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_link") 2>conftest.er1
20509 ac_status=$?
20510 grep -v '^ *+' conftest.er1 >conftest.err
20511 rm -f conftest.er1
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest$ac_exeext &&
20518 $as_test_x conftest$ac_exeext; then
20519 ac_cv_strings_strcasecmp=yes
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 ac_cv_strings_strcasecmp=no
20525
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20529 conftest$ac_exeext conftest.$ac_ext
20530
20531 fi
20532 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20533 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20534
20535 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20536 cat >>confdefs.h <<\_ACEOF
20537 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20538 _ACEOF
20539
20540 else
20541 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20542 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20543 { (exit 1); exit 1; }; }
20544 fi
20545 fi
20546
20547 ;;
20548 esac
20549
20550
20551 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20552 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20553 if test "${ac_cv_header_stdc+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 else
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h. */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 #include <stdlib.h>
20563 #include <stdarg.h>
20564 #include <string.h>
20565 #include <float.h>
20566
20567 int
20568 main ()
20569 {
20570
20571 ;
20572 return 0;
20573 }
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (ac_try="$ac_compile"
20577 case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20580 esac
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_compile") 2>conftest.er1
20583 ac_status=$?
20584 grep -v '^ *+' conftest.er1 >conftest.err
20585 rm -f conftest.er1
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } && {
20589 test -z "$ac_c_werror_flag" ||
20590 test ! -s conftest.err
20591 } && test -s conftest.$ac_objext; then
20592 ac_cv_header_stdc=yes
20593 else
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597 ac_cv_header_stdc=no
20598 fi
20599
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601
20602 if test $ac_cv_header_stdc = yes; then
20603 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20604 cat >conftest.$ac_ext <<_ACEOF
20605 /* confdefs.h. */
20606 _ACEOF
20607 cat confdefs.h >>conftest.$ac_ext
20608 cat >>conftest.$ac_ext <<_ACEOF
20609 /* end confdefs.h. */
20610 #include <string.h>
20611
20612 _ACEOF
20613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20614 $EGREP "memchr" >/dev/null 2>&1; then
20615 :
20616 else
20617 ac_cv_header_stdc=no
20618 fi
20619 rm -f conftest*
20620
20621 fi
20622
20623 if test $ac_cv_header_stdc = yes; then
20624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 #include <stdlib.h>
20632
20633 _ACEOF
20634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20635 $EGREP "free" >/dev/null 2>&1; then
20636 :
20637 else
20638 ac_cv_header_stdc=no
20639 fi
20640 rm -f conftest*
20641
20642 fi
20643
20644 if test $ac_cv_header_stdc = yes; then
20645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20646 if test "$cross_compiling" = yes; then
20647 :
20648 else
20649 cat >conftest.$ac_ext <<_ACEOF
20650 /* confdefs.h. */
20651 _ACEOF
20652 cat confdefs.h >>conftest.$ac_ext
20653 cat >>conftest.$ac_ext <<_ACEOF
20654 /* end confdefs.h. */
20655 #include <ctype.h>
20656 #include <stdlib.h>
20657 #if ((' ' & 0x0FF) == 0x020)
20658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20660 #else
20661 # define ISLOWER(c) \
20662 (('a' <= (c) && (c) <= 'i') \
20663 || ('j' <= (c) && (c) <= 'r') \
20664 || ('s' <= (c) && (c) <= 'z'))
20665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20666 #endif
20667
20668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20669 int
20670 main ()
20671 {
20672 int i;
20673 for (i = 0; i < 256; i++)
20674 if (XOR (islower (i), ISLOWER (i))
20675 || toupper (i) != TOUPPER (i))
20676 return 2;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest$ac_exeext
20681 if { (ac_try="$ac_link"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_link") 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20691 { (case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20694 esac
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_try") 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; }; then
20700 :
20701 else
20702 echo "$as_me: program exited with status $ac_status" >&5
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ( exit $ac_status )
20707 ac_cv_header_stdc=no
20708 fi
20709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20710 fi
20711
20712
20713 fi
20714 fi
20715 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20716 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20717 if test $ac_cv_header_stdc = yes; then
20718
20719 cat >>confdefs.h <<\_ACEOF
20720 #define STDC_HEADERS 1
20721 _ACEOF
20722
20723 fi
20724
20725 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20736 inttypes.h stdint.h unistd.h
20737 do
20738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20739 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20742 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 else
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751
20752 #include <$ac_header>
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20771 eval "$as_ac_Header=yes"
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 eval "$as_ac_Header=no"
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 fi
20781 ac_res=`eval echo '${'$as_ac_Header'}'`
20782 { echo "$as_me:$LINENO: result: $ac_res" >&5
20783 echo "${ECHO_T}$ac_res" >&6; }
20784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20785 cat >>confdefs.h <<_ACEOF
20786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20787 _ACEOF
20788
20789 fi
20790
20791 done
20792
20793
20794
20795
20796
20797
20798
20799
20800 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20801 do
20802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808 cat >conftest.$ac_ext <<_ACEOF
20809 /* confdefs.h. */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 $ac_includes_default
20815
20816 #include <$ac_header>
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 eval "$as_ac_Header=yes"
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 eval "$as_ac_Header=no"
20841 fi
20842
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 fi
20845 ac_res=`eval echo '${'$as_ac_Header'}'`
20846 { echo "$as_me:$LINENO: result: $ac_res" >&5
20847 echo "${ECHO_T}$ac_res" >&6; }
20848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20849 cat >>confdefs.h <<_ACEOF
20850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20851 _ACEOF
20852
20853 fi
20854
20855 done
20856
20857
20858 if test "$ac_cv_header_wchar_h" != "yes"; then
20859
20860 for ac_header in wcstr.h
20861 do
20862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20866 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 else
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20875
20876 #include <$ac_header>
20877 _ACEOF
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20883 esac
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20886 ac_status=$?
20887 grep -v '^ *+' conftest.er1 >conftest.err
20888 rm -f conftest.er1
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.$ac_objext; then
20895 eval "$as_ac_Header=yes"
20896 else
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20899
20900 eval "$as_ac_Header=no"
20901 fi
20902
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 fi
20905 ac_res=`eval echo '${'$as_ac_Header'}'`
20906 { echo "$as_me:$LINENO: result: $ac_res" >&5
20907 echo "${ECHO_T}$ac_res" >&6; }
20908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20909 cat >>confdefs.h <<_ACEOF
20910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20911 _ACEOF
20912
20913 fi
20914
20915 done
20916
20917 fi
20918
20919 case "${host}" in
20920 *-pc-os2_emx | *-pc-os2-emx )
20921 if test $ac_cv_header_langinfo_h = "yes" \
20922 -a \( "$wx_cv_gccversion" = "EMX2" \
20923 -o "$wx_cv_gccversion" = "EMX3" \
20924 -o "$wx_cv_gccversion" = "Innotek5" \); then
20925 LIBS="$LIBS -lintl"
20926 fi
20927 ;;
20928 esac
20929
20930 if test "$USE_UNIX" = 1 ; then
20931
20932 for ac_header in sys/select.h
20933 do
20934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20935 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20939 else
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 $ac_includes_default
20947
20948 #include <$ac_header>
20949 _ACEOF
20950 rm -f conftest.$ac_objext
20951 if { (ac_try="$ac_compile"
20952 case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20954 *) ac_try_echo=$ac_try;;
20955 esac
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_compile") 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } && {
20964 test -z "$ac_c_werror_flag" ||
20965 test ! -s conftest.err
20966 } && test -s conftest.$ac_objext; then
20967 eval "$as_ac_Header=yes"
20968 else
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20971
20972 eval "$as_ac_Header=no"
20973 fi
20974
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20976 fi
20977 ac_res=`eval echo '${'$as_ac_Header'}'`
20978 { echo "$as_me:$LINENO: result: $ac_res" >&5
20979 echo "${ECHO_T}$ac_res" >&6; }
20980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20981 cat >>confdefs.h <<_ACEOF
20982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20983 _ACEOF
20984
20985 fi
20986
20987 done
20988
20989 fi
20990
20991
20992 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20993 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20994 if test "${ac_cv_c_const+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 else
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003
21004 int
21005 main ()
21006 {
21007 /* FIXME: Include the comments suggested by Paul. */
21008 #ifndef __cplusplus
21009 /* Ultrix mips cc rejects this. */
21010 typedef int charset[2];
21011 const charset cs;
21012 /* SunOS 4.1.1 cc rejects this. */
21013 char const *const *pcpcc;
21014 char **ppc;
21015 /* NEC SVR4.0.2 mips cc rejects this. */
21016 struct point {int x, y;};
21017 static struct point const zero = {0,0};
21018 /* AIX XL C 1.02.0.0 rejects this.
21019 It does not let you subtract one const X* pointer from another in
21020 an arm of an if-expression whose if-part is not a constant
21021 expression */
21022 const char *g = "string";
21023 pcpcc = &g + (g ? g-g : 0);
21024 /* HPUX 7.0 cc rejects these. */
21025 ++pcpcc;
21026 ppc = (char**) pcpcc;
21027 pcpcc = (char const *const *) ppc;
21028 { /* SCO 3.2v4 cc rejects this. */
21029 char *t;
21030 char const *s = 0 ? (char *) 0 : (char const *) 0;
21031
21032 *t++ = 0;
21033 if (s) return 0;
21034 }
21035 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21036 int x[] = {25, 17};
21037 const int *foo = &x[0];
21038 ++foo;
21039 }
21040 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21041 typedef const int *iptr;
21042 iptr p = 0;
21043 ++p;
21044 }
21045 { /* AIX XL C 1.02.0.0 rejects this saying
21046 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21047 struct s { int j; const int *ap[3]; };
21048 struct s *b; b->j = 5;
21049 }
21050 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21051 const int foo = 10;
21052 if (!foo) return 0;
21053 }
21054 return !cs[0] && !zero.x;
21055 #endif
21056
21057 ;
21058 return 0;
21059 }
21060 _ACEOF
21061 rm -f conftest.$ac_objext
21062 if { (ac_try="$ac_compile"
21063 case "(($ac_try" in
21064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21065 *) ac_try_echo=$ac_try;;
21066 esac
21067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21068 (eval "$ac_compile") 2>conftest.er1
21069 ac_status=$?
21070 grep -v '^ *+' conftest.er1 >conftest.err
21071 rm -f conftest.er1
21072 cat conftest.err >&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } && {
21075 test -z "$ac_c_werror_flag" ||
21076 test ! -s conftest.err
21077 } && test -s conftest.$ac_objext; then
21078 ac_cv_c_const=yes
21079 else
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21082
21083 ac_cv_c_const=no
21084 fi
21085
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 fi
21088 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21089 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21090 if test $ac_cv_c_const = no; then
21091
21092 cat >>confdefs.h <<\_ACEOF
21093 #define const
21094 _ACEOF
21095
21096 fi
21097
21098 { echo "$as_me:$LINENO: checking for inline" >&5
21099 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21100 if test "${ac_cv_c_inline+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 else
21103 ac_cv_c_inline=no
21104 for ac_kw in inline __inline__ __inline; do
21105 cat >conftest.$ac_ext <<_ACEOF
21106 /* confdefs.h. */
21107 _ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 #ifndef __cplusplus
21112 typedef int foo_t;
21113 static $ac_kw foo_t static_foo () {return 0; }
21114 $ac_kw foo_t foo () {return 0; }
21115 #endif
21116
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (ac_try="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21123 esac
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21135 ac_cv_c_inline=$ac_kw
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140
21141 fi
21142
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 test "$ac_cv_c_inline" != no && break
21145 done
21146
21147 fi
21148 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21149 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21150
21151
21152 case $ac_cv_c_inline in
21153 inline | yes) ;;
21154 *)
21155 case $ac_cv_c_inline in
21156 no) ac_val=;;
21157 *) ac_val=$ac_cv_c_inline;;
21158 esac
21159 cat >>confdefs.h <<_ACEOF
21160 #ifndef __cplusplus
21161 #define inline $ac_val
21162 #endif
21163 _ACEOF
21164 ;;
21165 esac
21166
21167
21168 { echo "$as_me:$LINENO: checking for short" >&5
21169 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21170 if test "${ac_cv_type_short+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 else
21173 cat >conftest.$ac_ext <<_ACEOF
21174 /* confdefs.h. */
21175 _ACEOF
21176 cat confdefs.h >>conftest.$ac_ext
21177 cat >>conftest.$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21179 $ac_includes_default
21180 typedef short ac__type_new_;
21181 int
21182 main ()
21183 {
21184 if ((ac__type_new_ *) 0)
21185 return 0;
21186 if (sizeof (ac__type_new_))
21187 return 0;
21188 ;
21189 return 0;
21190 }
21191 _ACEOF
21192 rm -f conftest.$ac_objext
21193 if { (ac_try="$ac_compile"
21194 case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21197 esac
21198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_compile") 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } && {
21206 test -z "$ac_c_werror_flag" ||
21207 test ! -s conftest.err
21208 } && test -s conftest.$ac_objext; then
21209 ac_cv_type_short=yes
21210 else
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21213
21214 ac_cv_type_short=no
21215 fi
21216
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 fi
21219 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21220 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21221
21222 # The cast to long int works around a bug in the HP C Compiler
21223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21225 # This bug is HP SR number 8606223364.
21226 { echo "$as_me:$LINENO: checking size of short" >&5
21227 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21228 if test "${ac_cv_sizeof_short+set}" = set; then
21229 echo $ECHO_N "(cached) $ECHO_C" >&6
21230 else
21231 if test "$cross_compiling" = yes; then
21232 # Depending upon the size, compute the lo and hi bounds.
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef short ac__type_sizeof_;
21241 int
21242 main ()
21243 {
21244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21245 test_array [0] = 0
21246
21247 ;
21248 return 0;
21249 }
21250 _ACEOF
21251 rm -f conftest.$ac_objext
21252 if { (ac_try="$ac_compile"
21253 case "(($ac_try" in
21254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21255 *) ac_try_echo=$ac_try;;
21256 esac
21257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258 (eval "$ac_compile") 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } && {
21265 test -z "$ac_c_werror_flag" ||
21266 test ! -s conftest.err
21267 } && test -s conftest.$ac_objext; then
21268 ac_lo=0 ac_mid=0
21269 while :; do
21270 cat >conftest.$ac_ext <<_ACEOF
21271 /* confdefs.h. */
21272 _ACEOF
21273 cat confdefs.h >>conftest.$ac_ext
21274 cat >>conftest.$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 $ac_includes_default
21277 typedef short ac__type_sizeof_;
21278 int
21279 main ()
21280 {
21281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21282 test_array [0] = 0
21283
21284 ;
21285 return 0;
21286 }
21287 _ACEOF
21288 rm -f conftest.$ac_objext
21289 if { (ac_try="$ac_compile"
21290 case "(($ac_try" in
21291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292 *) ac_try_echo=$ac_try;;
21293 esac
21294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21295 (eval "$ac_compile") 2>conftest.er1
21296 ac_status=$?
21297 grep -v '^ *+' conftest.er1 >conftest.err
21298 rm -f conftest.er1
21299 cat conftest.err >&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); } && {
21302 test -z "$ac_c_werror_flag" ||
21303 test ! -s conftest.err
21304 } && test -s conftest.$ac_objext; then
21305 ac_hi=$ac_mid; break
21306 else
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21309
21310 ac_lo=`expr $ac_mid + 1`
21311 if test $ac_lo -le $ac_mid; then
21312 ac_lo= ac_hi=
21313 break
21314 fi
21315 ac_mid=`expr 2 '*' $ac_mid + 1`
21316 fi
21317
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 done
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21323
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 $ac_includes_default
21331 typedef short ac__type_sizeof_;
21332 int
21333 main ()
21334 {
21335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21336 test_array [0] = 0
21337
21338 ;
21339 return 0;
21340 }
21341 _ACEOF
21342 rm -f conftest.$ac_objext
21343 if { (ac_try="$ac_compile"
21344 case "(($ac_try" in
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 *) ac_try_echo=$ac_try;;
21347 esac
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 (eval "$ac_compile") 2>conftest.er1
21350 ac_status=$?
21351 grep -v '^ *+' conftest.er1 >conftest.err
21352 rm -f conftest.er1
21353 cat conftest.err >&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } && {
21356 test -z "$ac_c_werror_flag" ||
21357 test ! -s conftest.err
21358 } && test -s conftest.$ac_objext; then
21359 ac_hi=-1 ac_mid=-1
21360 while :; do
21361 cat >conftest.$ac_ext <<_ACEOF
21362 /* confdefs.h. */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 $ac_includes_default
21368 typedef short ac__type_sizeof_;
21369 int
21370 main ()
21371 {
21372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21373 test_array [0] = 0
21374
21375 ;
21376 return 0;
21377 }
21378 _ACEOF
21379 rm -f conftest.$ac_objext
21380 if { (ac_try="$ac_compile"
21381 case "(($ac_try" in
21382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21384 esac
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_compile") 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && {
21393 test -z "$ac_c_werror_flag" ||
21394 test ! -s conftest.err
21395 } && test -s conftest.$ac_objext; then
21396 ac_lo=$ac_mid; break
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 ac_hi=`expr '(' $ac_mid ')' - 1`
21402 if test $ac_mid -le $ac_hi; then
21403 ac_lo= ac_hi=
21404 break
21405 fi
21406 ac_mid=`expr 2 '*' $ac_mid`
21407 fi
21408
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410 done
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 ac_lo= ac_hi=
21416 fi
21417
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 fi
21420
21421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21422 # Binary search between lo and hi bounds.
21423 while test "x$ac_lo" != "x$ac_hi"; do
21424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef short ac__type_sizeof_;
21433 int
21434 main ()
21435 {
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21437 test_array [0] = 0
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21448 esac
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_hi=$ac_mid
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_lo=`expr '(' $ac_mid ')' + 1`
21466 fi
21467
21468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469 done
21470 case $ac_lo in
21471 ?*) ac_cv_sizeof_short=$ac_lo;;
21472 '') if test "$ac_cv_type_short" = yes; then
21473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21474 See \`config.log' for more details." >&5
21475 echo "$as_me: error: cannot compute sizeof (short)
21476 See \`config.log' for more details." >&2;}
21477 { (exit 77); exit 77; }; }
21478 else
21479 ac_cv_sizeof_short=0
21480 fi ;;
21481 esac
21482 else
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef short ac__type_sizeof_;
21491 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21492 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21493 #include <stdio.h>
21494 #include <stdlib.h>
21495 int
21496 main ()
21497 {
21498
21499 FILE *f = fopen ("conftest.val", "w");
21500 if (! f)
21501 return 1;
21502 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21503 {
21504 long int i = longval ();
21505 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21506 return 1;
21507 fprintf (f, "%ld\n", i);
21508 }
21509 else
21510 {
21511 unsigned long int i = ulongval ();
21512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21513 return 1;
21514 fprintf (f, "%lu\n", i);
21515 }
21516 return ferror (f) || fclose (f) != 0;
21517
21518 ;
21519 return 0;
21520 }
21521 _ACEOF
21522 rm -f conftest$ac_exeext
21523 if { (ac_try="$ac_link"
21524 case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21527 esac
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_link") 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21533 { (case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21536 esac
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_try") 2>&5
21539 ac_status=$?
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21542 ac_cv_sizeof_short=`cat conftest.val`
21543 else
21544 echo "$as_me: program exited with status $ac_status" >&5
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21547
21548 ( exit $ac_status )
21549 if test "$ac_cv_type_short" = yes; then
21550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21551 See \`config.log' for more details." >&5
21552 echo "$as_me: error: cannot compute sizeof (short)
21553 See \`config.log' for more details." >&2;}
21554 { (exit 77); exit 77; }; }
21555 else
21556 ac_cv_sizeof_short=0
21557 fi
21558 fi
21559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21560 fi
21561 rm -f conftest.val
21562 fi
21563 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21564 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21565
21566
21567
21568 cat >>confdefs.h <<_ACEOF
21569 #define SIZEOF_SHORT $ac_cv_sizeof_short
21570 _ACEOF
21571
21572
21573 { echo "$as_me:$LINENO: checking for void *" >&5
21574 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21575 if test "${ac_cv_type_void_p+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21578 cat >conftest.$ac_ext <<_ACEOF
21579 /* confdefs.h. */
21580 _ACEOF
21581 cat confdefs.h >>conftest.$ac_ext
21582 cat >>conftest.$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21584 $ac_includes_default
21585 typedef void * ac__type_new_;
21586 int
21587 main ()
21588 {
21589 if ((ac__type_new_ *) 0)
21590 return 0;
21591 if (sizeof (ac__type_new_))
21592 return 0;
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 rm -f conftest.$ac_objext
21598 if { (ac_try="$ac_compile"
21599 case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21602 esac
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_compile") 2>conftest.er1
21605 ac_status=$?
21606 grep -v '^ *+' conftest.er1 >conftest.err
21607 rm -f conftest.er1
21608 cat conftest.err >&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } && {
21611 test -z "$ac_c_werror_flag" ||
21612 test ! -s conftest.err
21613 } && test -s conftest.$ac_objext; then
21614 ac_cv_type_void_p=yes
21615 else
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.$ac_ext >&5
21618
21619 ac_cv_type_void_p=no
21620 fi
21621
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 fi
21624 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21625 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21626
21627 # The cast to long int works around a bug in the HP C Compiler
21628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21630 # This bug is HP SR number 8606223364.
21631 { echo "$as_me:$LINENO: checking size of void *" >&5
21632 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21633 if test "${ac_cv_sizeof_void_p+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 else
21636 if test "$cross_compiling" = yes; then
21637 # Depending upon the size, compute the lo and hi bounds.
21638 cat >conftest.$ac_ext <<_ACEOF
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645 typedef void * ac__type_sizeof_;
21646 int
21647 main ()
21648 {
21649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21650 test_array [0] = 0
21651
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext
21657 if { (ac_try="$ac_compile"
21658 case "(($ac_try" in
21659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660 *) ac_try_echo=$ac_try;;
21661 esac
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_compile") 2>conftest.er1
21664 ac_status=$?
21665 grep -v '^ *+' conftest.er1 >conftest.err
21666 rm -f conftest.er1
21667 cat conftest.err >&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && {
21670 test -z "$ac_c_werror_flag" ||
21671 test ! -s conftest.err
21672 } && test -s conftest.$ac_objext; then
21673 ac_lo=0 ac_mid=0
21674 while :; do
21675 cat >conftest.$ac_ext <<_ACEOF
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 $ac_includes_default
21682 typedef void * ac__type_sizeof_;
21683 int
21684 main ()
21685 {
21686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21687 test_array [0] = 0
21688
21689 ;
21690 return 0;
21691 }
21692 _ACEOF
21693 rm -f conftest.$ac_objext
21694 if { (ac_try="$ac_compile"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_compile") 2>conftest.er1
21701 ac_status=$?
21702 grep -v '^ *+' conftest.er1 >conftest.err
21703 rm -f conftest.er1
21704 cat conftest.err >&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } && {
21707 test -z "$ac_c_werror_flag" ||
21708 test ! -s conftest.err
21709 } && test -s conftest.$ac_objext; then
21710 ac_hi=$ac_mid; break
21711 else
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21714
21715 ac_lo=`expr $ac_mid + 1`
21716 if test $ac_lo -le $ac_mid; then
21717 ac_lo= ac_hi=
21718 break
21719 fi
21720 ac_mid=`expr 2 '*' $ac_mid + 1`
21721 fi
21722
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 done
21725 else
21726 echo "$as_me: failed program was:" >&5
21727 sed 's/^/| /' conftest.$ac_ext >&5
21728
21729 cat >conftest.$ac_ext <<_ACEOF
21730 /* confdefs.h. */
21731 _ACEOF
21732 cat confdefs.h >>conftest.$ac_ext
21733 cat >>conftest.$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21735 $ac_includes_default
21736 typedef void * ac__type_sizeof_;
21737 int
21738 main ()
21739 {
21740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21741 test_array [0] = 0
21742
21743 ;
21744 return 0;
21745 }
21746 _ACEOF
21747 rm -f conftest.$ac_objext
21748 if { (ac_try="$ac_compile"
21749 case "(($ac_try" in
21750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21752 esac
21753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_compile") 2>conftest.er1
21755 ac_status=$?
21756 grep -v '^ *+' conftest.er1 >conftest.err
21757 rm -f conftest.er1
21758 cat conftest.err >&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && {
21761 test -z "$ac_c_werror_flag" ||
21762 test ! -s conftest.err
21763 } && test -s conftest.$ac_objext; then
21764 ac_hi=-1 ac_mid=-1
21765 while :; do
21766 cat >conftest.$ac_ext <<_ACEOF
21767 /* confdefs.h. */
21768 _ACEOF
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 $ac_includes_default
21773 typedef void * ac__type_sizeof_;
21774 int
21775 main ()
21776 {
21777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21778 test_array [0] = 0
21779
21780 ;
21781 return 0;
21782 }
21783 _ACEOF
21784 rm -f conftest.$ac_objext
21785 if { (ac_try="$ac_compile"
21786 case "(($ac_try" in
21787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21789 esac
21790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21791 (eval "$ac_compile") 2>conftest.er1
21792 ac_status=$?
21793 grep -v '^ *+' conftest.er1 >conftest.err
21794 rm -f conftest.er1
21795 cat conftest.err >&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); } && {
21798 test -z "$ac_c_werror_flag" ||
21799 test ! -s conftest.err
21800 } && test -s conftest.$ac_objext; then
21801 ac_lo=$ac_mid; break
21802 else
21803 echo "$as_me: failed program was:" >&5
21804 sed 's/^/| /' conftest.$ac_ext >&5
21805
21806 ac_hi=`expr '(' $ac_mid ')' - 1`
21807 if test $ac_mid -le $ac_hi; then
21808 ac_lo= ac_hi=
21809 break
21810 fi
21811 ac_mid=`expr 2 '*' $ac_mid`
21812 fi
21813
21814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815 done
21816 else
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21819
21820 ac_lo= ac_hi=
21821 fi
21822
21823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21824 fi
21825
21826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21827 # Binary search between lo and hi bounds.
21828 while test "x$ac_lo" != "x$ac_hi"; do
21829 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef void * ac__type_sizeof_;
21838 int
21839 main ()
21840 {
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21842 test_array [0] = 0
21843
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_hi=$ac_mid
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_lo=`expr '(' $ac_mid ')' + 1`
21871 fi
21872
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 done
21875 case $ac_lo in
21876 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21877 '') if test "$ac_cv_type_void_p" = yes; then
21878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21879 See \`config.log' for more details." >&5
21880 echo "$as_me: error: cannot compute sizeof (void *)
21881 See \`config.log' for more details." >&2;}
21882 { (exit 77); exit 77; }; }
21883 else
21884 ac_cv_sizeof_void_p=0
21885 fi ;;
21886 esac
21887 else
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef void * ac__type_sizeof_;
21896 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21897 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21898 #include <stdio.h>
21899 #include <stdlib.h>
21900 int
21901 main ()
21902 {
21903
21904 FILE *f = fopen ("conftest.val", "w");
21905 if (! f)
21906 return 1;
21907 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21908 {
21909 long int i = longval ();
21910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21911 return 1;
21912 fprintf (f, "%ld\n", i);
21913 }
21914 else
21915 {
21916 unsigned long int i = ulongval ();
21917 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21918 return 1;
21919 fprintf (f, "%lu\n", i);
21920 }
21921 return ferror (f) || fclose (f) != 0;
21922
21923 ;
21924 return 0;
21925 }
21926 _ACEOF
21927 rm -f conftest$ac_exeext
21928 if { (ac_try="$ac_link"
21929 case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21932 esac
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_link") 2>&5
21935 ac_status=$?
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_cv_sizeof_void_p=`cat conftest.val`
21948 else
21949 echo "$as_me: program exited with status $ac_status" >&5
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21952
21953 ( exit $ac_status )
21954 if test "$ac_cv_type_void_p" = yes; then
21955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21956 See \`config.log' for more details." >&5
21957 echo "$as_me: error: cannot compute sizeof (void *)
21958 See \`config.log' for more details." >&2;}
21959 { (exit 77); exit 77; }; }
21960 else
21961 ac_cv_sizeof_void_p=0
21962 fi
21963 fi
21964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21965 fi
21966 rm -f conftest.val
21967 fi
21968 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21969 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21970
21971
21972
21973 cat >>confdefs.h <<_ACEOF
21974 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21975 _ACEOF
21976
21977
21978 { echo "$as_me:$LINENO: checking for int" >&5
21979 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21980 if test "${ac_cv_type_int+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 else
21983 cat >conftest.$ac_ext <<_ACEOF
21984 /* confdefs.h. */
21985 _ACEOF
21986 cat confdefs.h >>conftest.$ac_ext
21987 cat >>conftest.$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 $ac_includes_default
21990 typedef int ac__type_new_;
21991 int
21992 main ()
21993 {
21994 if ((ac__type_new_ *) 0)
21995 return 0;
21996 if (sizeof (ac__type_new_))
21997 return 0;
21998 ;
21999 return 0;
22000 }
22001 _ACEOF
22002 rm -f conftest.$ac_objext
22003 if { (ac_try="$ac_compile"
22004 case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22007 esac
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_compile") 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && {
22016 test -z "$ac_c_werror_flag" ||
22017 test ! -s conftest.err
22018 } && test -s conftest.$ac_objext; then
22019 ac_cv_type_int=yes
22020 else
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 ac_cv_type_int=no
22025 fi
22026
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22030 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22031
22032 # The cast to long int works around a bug in the HP C Compiler
22033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22035 # This bug is HP SR number 8606223364.
22036 { echo "$as_me:$LINENO: checking size of int" >&5
22037 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22038 if test "${ac_cv_sizeof_int+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 else
22041 if test "$cross_compiling" = yes; then
22042 # Depending upon the size, compute the lo and hi bounds.
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 $ac_includes_default
22050 typedef int 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_lo=0 ac_mid=0
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 $ac_includes_default
22087 typedef int ac__type_sizeof_;
22088 int
22089 main ()
22090 {
22091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22092 test_array [0] = 0
22093
22094 ;
22095 return 0;
22096 }
22097 _ACEOF
22098 rm -f conftest.$ac_objext
22099 if { (ac_try="$ac_compile"
22100 case "(($ac_try" in
22101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22103 esac
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_compile") 2>conftest.er1
22106 ac_status=$?
22107 grep -v '^ *+' conftest.er1 >conftest.err
22108 rm -f conftest.er1
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } && {
22112 test -z "$ac_c_werror_flag" ||
22113 test ! -s conftest.err
22114 } && test -s conftest.$ac_objext; then
22115 ac_hi=$ac_mid; break
22116 else
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.$ac_ext >&5
22119
22120 ac_lo=`expr $ac_mid + 1`
22121 if test $ac_lo -le $ac_mid; then
22122 ac_lo= ac_hi=
22123 break
22124 fi
22125 ac_mid=`expr 2 '*' $ac_mid + 1`
22126 fi
22127
22128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22129 done
22130 else
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22133
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef int ac__type_sizeof_;
22142 int
22143 main ()
22144 {
22145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22146 test_array [0] = 0
22147
22148 ;
22149 return 0;
22150 }
22151 _ACEOF
22152 rm -f conftest.$ac_objext
22153 if { (ac_try="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22157 esac
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22160 ac_status=$?
22161 grep -v '^ *+' conftest.er1 >conftest.err
22162 rm -f conftest.er1
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.$ac_objext; then
22169 ac_hi=-1 ac_mid=-1
22170 while :; do
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef int ac__type_sizeof_;
22179 int
22180 main ()
22181 {
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22183 test_array [0] = 0
22184
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22206 ac_lo=$ac_mid; break
22207 else
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.$ac_ext >&5
22210
22211 ac_hi=`expr '(' $ac_mid ')' - 1`
22212 if test $ac_mid -le $ac_hi; then
22213 ac_lo= ac_hi=
22214 break
22215 fi
22216 ac_mid=`expr 2 '*' $ac_mid`
22217 fi
22218
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22220 done
22221 else
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.$ac_ext >&5
22224
22225 ac_lo= ac_hi=
22226 fi
22227
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229 fi
22230
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232 # Binary search between lo and hi bounds.
22233 while test "x$ac_lo" != "x$ac_hi"; do
22234 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241 $ac_includes_default
22242 typedef int ac__type_sizeof_;
22243 int
22244 main ()
22245 {
22246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22247 test_array [0] = 0
22248
22249 ;
22250 return 0;
22251 }
22252 _ACEOF
22253 rm -f conftest.$ac_objext
22254 if { (ac_try="$ac_compile"
22255 case "(($ac_try" in
22256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22257 *) ac_try_echo=$ac_try;;
22258 esac
22259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22260 (eval "$ac_compile") 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && {
22267 test -z "$ac_c_werror_flag" ||
22268 test ! -s conftest.err
22269 } && test -s conftest.$ac_objext; then
22270 ac_hi=$ac_mid
22271 else
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.$ac_ext >&5
22274
22275 ac_lo=`expr '(' $ac_mid ')' + 1`
22276 fi
22277
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 done
22280 case $ac_lo in
22281 ?*) ac_cv_sizeof_int=$ac_lo;;
22282 '') if test "$ac_cv_type_int" = yes; then
22283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22284 See \`config.log' for more details." >&5
22285 echo "$as_me: error: cannot compute sizeof (int)
22286 See \`config.log' for more details." >&2;}
22287 { (exit 77); exit 77; }; }
22288 else
22289 ac_cv_sizeof_int=0
22290 fi ;;
22291 esac
22292 else
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef int ac__type_sizeof_;
22301 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22302 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22303 #include <stdio.h>
22304 #include <stdlib.h>
22305 int
22306 main ()
22307 {
22308
22309 FILE *f = fopen ("conftest.val", "w");
22310 if (! f)
22311 return 1;
22312 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22313 {
22314 long int i = longval ();
22315 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22316 return 1;
22317 fprintf (f, "%ld\n", i);
22318 }
22319 else
22320 {
22321 unsigned long int i = ulongval ();
22322 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22323 return 1;
22324 fprintf (f, "%lu\n", i);
22325 }
22326 return ferror (f) || fclose (f) != 0;
22327
22328 ;
22329 return 0;
22330 }
22331 _ACEOF
22332 rm -f conftest$ac_exeext
22333 if { (ac_try="$ac_link"
22334 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_link") 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22343 { (case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22346 esac
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_try") 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 ac_cv_sizeof_int=`cat conftest.val`
22353 else
22354 echo "$as_me: program exited with status $ac_status" >&5
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22357
22358 ( exit $ac_status )
22359 if test "$ac_cv_type_int" = yes; then
22360 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22361 See \`config.log' for more details." >&5
22362 echo "$as_me: error: cannot compute sizeof (int)
22363 See \`config.log' for more details." >&2;}
22364 { (exit 77); exit 77; }; }
22365 else
22366 ac_cv_sizeof_int=0
22367 fi
22368 fi
22369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22370 fi
22371 rm -f conftest.val
22372 fi
22373 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22374 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22375
22376
22377
22378 cat >>confdefs.h <<_ACEOF
22379 #define SIZEOF_INT $ac_cv_sizeof_int
22380 _ACEOF
22381
22382
22383 { echo "$as_me:$LINENO: checking for long" >&5
22384 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22385 if test "${ac_cv_type_long+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 else
22388 cat >conftest.$ac_ext <<_ACEOF
22389 /* confdefs.h. */
22390 _ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 $ac_includes_default
22395 typedef long ac__type_new_;
22396 int
22397 main ()
22398 {
22399 if ((ac__type_new_ *) 0)
22400 return 0;
22401 if (sizeof (ac__type_new_))
22402 return 0;
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (ac_try="$ac_compile"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_compile") 2>conftest.er1
22415 ac_status=$?
22416 grep -v '^ *+' conftest.er1 >conftest.err
22417 rm -f conftest.er1
22418 cat conftest.err >&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); } && {
22421 test -z "$ac_c_werror_flag" ||
22422 test ! -s conftest.err
22423 } && test -s conftest.$ac_objext; then
22424 ac_cv_type_long=yes
22425 else
22426 echo "$as_me: failed program was:" >&5
22427 sed 's/^/| /' conftest.$ac_ext >&5
22428
22429 ac_cv_type_long=no
22430 fi
22431
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 fi
22434 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22435 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22436
22437 # The cast to long int works around a bug in the HP C Compiler
22438 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22439 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22440 # This bug is HP SR number 8606223364.
22441 { echo "$as_me:$LINENO: checking size of long" >&5
22442 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22443 if test "${ac_cv_sizeof_long+set}" = set; then
22444 echo $ECHO_N "(cached) $ECHO_C" >&6
22445 else
22446 if test "$cross_compiling" = yes; then
22447 # Depending upon the size, compute the lo and hi bounds.
22448 cat >conftest.$ac_ext <<_ACEOF
22449 /* confdefs.h. */
22450 _ACEOF
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 $ac_includes_default
22455 typedef long ac__type_sizeof_;
22456 int
22457 main ()
22458 {
22459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22460 test_array [0] = 0
22461
22462 ;
22463 return 0;
22464 }
22465 _ACEOF
22466 rm -f conftest.$ac_objext
22467 if { (ac_try="$ac_compile"
22468 case "(($ac_try" in
22469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22470 *) ac_try_echo=$ac_try;;
22471 esac
22472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22473 (eval "$ac_compile") 2>conftest.er1
22474 ac_status=$?
22475 grep -v '^ *+' conftest.er1 >conftest.err
22476 rm -f conftest.er1
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } && {
22480 test -z "$ac_c_werror_flag" ||
22481 test ! -s conftest.err
22482 } && test -s conftest.$ac_objext; then
22483 ac_lo=0 ac_mid=0
22484 while :; do
22485 cat >conftest.$ac_ext <<_ACEOF
22486 /* confdefs.h. */
22487 _ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 $ac_includes_default
22492 typedef long ac__type_sizeof_;
22493 int
22494 main ()
22495 {
22496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22497 test_array [0] = 0
22498
22499 ;
22500 return 0;
22501 }
22502 _ACEOF
22503 rm -f conftest.$ac_objext
22504 if { (ac_try="$ac_compile"
22505 case "(($ac_try" in
22506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22507 *) ac_try_echo=$ac_try;;
22508 esac
22509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22510 (eval "$ac_compile") 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } && {
22517 test -z "$ac_c_werror_flag" ||
22518 test ! -s conftest.err
22519 } && test -s conftest.$ac_objext; then
22520 ac_hi=$ac_mid; break
22521 else
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.$ac_ext >&5
22524
22525 ac_lo=`expr $ac_mid + 1`
22526 if test $ac_lo -le $ac_mid; then
22527 ac_lo= ac_hi=
22528 break
22529 fi
22530 ac_mid=`expr 2 '*' $ac_mid + 1`
22531 fi
22532
22533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 done
22535 else
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22538
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long ac__type_sizeof_;
22547 int
22548 main ()
22549 {
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22551 test_array [0] = 0
22552
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 ac_hi=-1 ac_mid=-1
22575 while :; do
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 $ac_includes_default
22583 typedef long ac__type_sizeof_;
22584 int
22585 main ()
22586 {
22587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22588 test_array [0] = 0
22589
22590 ;
22591 return 0;
22592 }
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599 esac
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22602 ac_status=$?
22603 grep -v '^ *+' conftest.er1 >conftest.err
22604 rm -f conftest.er1
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.$ac_objext; then
22611 ac_lo=$ac_mid; break
22612 else
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.$ac_ext >&5
22615
22616 ac_hi=`expr '(' $ac_mid ')' - 1`
22617 if test $ac_mid -le $ac_hi; then
22618 ac_lo= ac_hi=
22619 break
22620 fi
22621 ac_mid=`expr 2 '*' $ac_mid`
22622 fi
22623
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 done
22626 else
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.$ac_ext >&5
22629
22630 ac_lo= ac_hi=
22631 fi
22632
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 # Binary search between lo and hi bounds.
22638 while test "x$ac_lo" != "x$ac_hi"; do
22639 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22640 cat >conftest.$ac_ext <<_ACEOF
22641 /* confdefs.h. */
22642 _ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef long ac__type_sizeof_;
22648 int
22649 main ()
22650 {
22651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22652 test_array [0] = 0
22653
22654 ;
22655 return 0;
22656 }
22657 _ACEOF
22658 rm -f conftest.$ac_objext
22659 if { (ac_try="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22663 esac
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22666 ac_status=$?
22667 grep -v '^ *+' conftest.er1 >conftest.err
22668 rm -f conftest.er1
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_c_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22675 ac_hi=$ac_mid
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 ac_lo=`expr '(' $ac_mid ')' + 1`
22681 fi
22682
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 done
22685 case $ac_lo in
22686 ?*) ac_cv_sizeof_long=$ac_lo;;
22687 '') if test "$ac_cv_type_long" = yes; then
22688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22689 See \`config.log' for more details." >&5
22690 echo "$as_me: error: cannot compute sizeof (long)
22691 See \`config.log' for more details." >&2;}
22692 { (exit 77); exit 77; }; }
22693 else
22694 ac_cv_sizeof_long=0
22695 fi ;;
22696 esac
22697 else
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef long ac__type_sizeof_;
22706 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22707 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22708 #include <stdio.h>
22709 #include <stdlib.h>
22710 int
22711 main ()
22712 {
22713
22714 FILE *f = fopen ("conftest.val", "w");
22715 if (! f)
22716 return 1;
22717 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22718 {
22719 long int i = longval ();
22720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22721 return 1;
22722 fprintf (f, "%ld\n", i);
22723 }
22724 else
22725 {
22726 unsigned long int i = ulongval ();
22727 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22728 return 1;
22729 fprintf (f, "%lu\n", i);
22730 }
22731 return ferror (f) || fclose (f) != 0;
22732
22733 ;
22734 return 0;
22735 }
22736 _ACEOF
22737 rm -f conftest$ac_exeext
22738 if { (ac_try="$ac_link"
22739 case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22742 esac
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_link") 2>&5
22745 ac_status=$?
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22748 { (case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22751 esac
22752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22753 (eval "$ac_try") 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 ac_cv_sizeof_long=`cat conftest.val`
22758 else
22759 echo "$as_me: program exited with status $ac_status" >&5
22760 echo "$as_me: failed program was:" >&5
22761 sed 's/^/| /' conftest.$ac_ext >&5
22762
22763 ( exit $ac_status )
22764 if test "$ac_cv_type_long" = yes; then
22765 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22766 See \`config.log' for more details." >&5
22767 echo "$as_me: error: cannot compute sizeof (long)
22768 See \`config.log' for more details." >&2;}
22769 { (exit 77); exit 77; }; }
22770 else
22771 ac_cv_sizeof_long=0
22772 fi
22773 fi
22774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22775 fi
22776 rm -f conftest.val
22777 fi
22778 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22779 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22780
22781
22782
22783 cat >>confdefs.h <<_ACEOF
22784 #define SIZEOF_LONG $ac_cv_sizeof_long
22785 _ACEOF
22786
22787
22788 { echo "$as_me:$LINENO: checking for size_t" >&5
22789 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22790 if test "${ac_cv_type_size_t+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22792 else
22793 cat >conftest.$ac_ext <<_ACEOF
22794 /* confdefs.h. */
22795 _ACEOF
22796 cat confdefs.h >>conftest.$ac_ext
22797 cat >>conftest.$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22799 $ac_includes_default
22800 typedef size_t ac__type_new_;
22801 int
22802 main ()
22803 {
22804 if ((ac__type_new_ *) 0)
22805 return 0;
22806 if (sizeof (ac__type_new_))
22807 return 0;
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22817 esac
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22820 ac_status=$?
22821 grep -v '^ *+' conftest.er1 >conftest.err
22822 rm -f conftest.er1
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_c_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 ac_cv_type_size_t=yes
22830 else
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 ac_cv_type_size_t=no
22835 fi
22836
22837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22838 fi
22839 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22840 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22841
22842 # The cast to long int works around a bug in the HP C Compiler
22843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22845 # This bug is HP SR number 8606223364.
22846 { echo "$as_me:$LINENO: checking size of size_t" >&5
22847 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22848 if test "${ac_cv_sizeof_size_t+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 else
22851 if test "$cross_compiling" = yes; then
22852 # Depending upon the size, compute the lo and hi bounds.
22853 cat >conftest.$ac_ext <<_ACEOF
22854 /* confdefs.h. */
22855 _ACEOF
22856 cat confdefs.h >>conftest.$ac_ext
22857 cat >>conftest.$ac_ext <<_ACEOF
22858 /* end confdefs.h. */
22859 $ac_includes_default
22860 typedef size_t ac__type_sizeof_;
22861 int
22862 main ()
22863 {
22864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22865 test_array [0] = 0
22866
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_compile") 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then
22888 ac_lo=0 ac_mid=0
22889 while :; do
22890 cat >conftest.$ac_ext <<_ACEOF
22891 /* confdefs.h. */
22892 _ACEOF
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 $ac_includes_default
22897 typedef size_t ac__type_sizeof_;
22898 int
22899 main ()
22900 {
22901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22902 test_array [0] = 0
22903
22904 ;
22905 return 0;
22906 }
22907 _ACEOF
22908 rm -f conftest.$ac_objext
22909 if { (ac_try="$ac_compile"
22910 case "(($ac_try" in
22911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22912 *) ac_try_echo=$ac_try;;
22913 esac
22914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22915 (eval "$ac_compile") 2>conftest.er1
22916 ac_status=$?
22917 grep -v '^ *+' conftest.er1 >conftest.err
22918 rm -f conftest.er1
22919 cat conftest.err >&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } && {
22922 test -z "$ac_c_werror_flag" ||
22923 test ! -s conftest.err
22924 } && test -s conftest.$ac_objext; then
22925 ac_hi=$ac_mid; break
22926 else
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.$ac_ext >&5
22929
22930 ac_lo=`expr $ac_mid + 1`
22931 if test $ac_lo -le $ac_mid; then
22932 ac_lo= ac_hi=
22933 break
22934 fi
22935 ac_mid=`expr 2 '*' $ac_mid + 1`
22936 fi
22937
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 done
22940 else
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22943
22944 cat >conftest.$ac_ext <<_ACEOF
22945 /* confdefs.h. */
22946 _ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 $ac_includes_default
22951 typedef size_t ac__type_sizeof_;
22952 int
22953 main ()
22954 {
22955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22956 test_array [0] = 0
22957
22958 ;
22959 return 0;
22960 }
22961 _ACEOF
22962 rm -f conftest.$ac_objext
22963 if { (ac_try="$ac_compile"
22964 case "(($ac_try" in
22965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22966 *) ac_try_echo=$ac_try;;
22967 esac
22968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22969 (eval "$ac_compile") 2>conftest.er1
22970 ac_status=$?
22971 grep -v '^ *+' conftest.er1 >conftest.err
22972 rm -f conftest.er1
22973 cat conftest.err >&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); } && {
22976 test -z "$ac_c_werror_flag" ||
22977 test ! -s conftest.err
22978 } && test -s conftest.$ac_objext; then
22979 ac_hi=-1 ac_mid=-1
22980 while :; do
22981 cat >conftest.$ac_ext <<_ACEOF
22982 /* confdefs.h. */
22983 _ACEOF
22984 cat confdefs.h >>conftest.$ac_ext
22985 cat >>conftest.$ac_ext <<_ACEOF
22986 /* end confdefs.h. */
22987 $ac_includes_default
22988 typedef size_t ac__type_sizeof_;
22989 int
22990 main ()
22991 {
22992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22993 test_array [0] = 0
22994
22995 ;
22996 return 0;
22997 }
22998 _ACEOF
22999 rm -f conftest.$ac_objext
23000 if { (ac_try="$ac_compile"
23001 case "(($ac_try" in
23002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23003 *) ac_try_echo=$ac_try;;
23004 esac
23005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23006 (eval "$ac_compile") 2>conftest.er1
23007 ac_status=$?
23008 grep -v '^ *+' conftest.er1 >conftest.err
23009 rm -f conftest.er1
23010 cat conftest.err >&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } && {
23013 test -z "$ac_c_werror_flag" ||
23014 test ! -s conftest.err
23015 } && test -s conftest.$ac_objext; then
23016 ac_lo=$ac_mid; break
23017 else
23018 echo "$as_me: failed program was:" >&5
23019 sed 's/^/| /' conftest.$ac_ext >&5
23020
23021 ac_hi=`expr '(' $ac_mid ')' - 1`
23022 if test $ac_mid -le $ac_hi; then
23023 ac_lo= ac_hi=
23024 break
23025 fi
23026 ac_mid=`expr 2 '*' $ac_mid`
23027 fi
23028
23029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23030 done
23031 else
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.$ac_ext >&5
23034
23035 ac_lo= ac_hi=
23036 fi
23037
23038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039 fi
23040
23041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 # Binary search between lo and hi bounds.
23043 while test "x$ac_lo" != "x$ac_hi"; do
23044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23045 cat >conftest.$ac_ext <<_ACEOF
23046 /* confdefs.h. */
23047 _ACEOF
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h. */
23051 $ac_includes_default
23052 typedef size_t ac__type_sizeof_;
23053 int
23054 main ()
23055 {
23056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23057 test_array [0] = 0
23058
23059 ;
23060 return 0;
23061 }
23062 _ACEOF
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23068 esac
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_c_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_hi=$ac_mid
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23084
23085 ac_lo=`expr '(' $ac_mid ')' + 1`
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 done
23090 case $ac_lo in
23091 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23092 '') if test "$ac_cv_type_size_t" = yes; then
23093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23094 See \`config.log' for more details." >&5
23095 echo "$as_me: error: cannot compute sizeof (size_t)
23096 See \`config.log' for more details." >&2;}
23097 { (exit 77); exit 77; }; }
23098 else
23099 ac_cv_sizeof_size_t=0
23100 fi ;;
23101 esac
23102 else
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef size_t ac__type_sizeof_;
23111 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23112 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23113 #include <stdio.h>
23114 #include <stdlib.h>
23115 int
23116 main ()
23117 {
23118
23119 FILE *f = fopen ("conftest.val", "w");
23120 if (! f)
23121 return 1;
23122 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23123 {
23124 long int i = longval ();
23125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23126 return 1;
23127 fprintf (f, "%ld\n", i);
23128 }
23129 else
23130 {
23131 unsigned long int i = ulongval ();
23132 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23133 return 1;
23134 fprintf (f, "%lu\n", i);
23135 }
23136 return ferror (f) || fclose (f) != 0;
23137
23138 ;
23139 return 0;
23140 }
23141 _ACEOF
23142 rm -f conftest$ac_exeext
23143 if { (ac_try="$ac_link"
23144 case "(($ac_try" in
23145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23146 *) ac_try_echo=$ac_try;;
23147 esac
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_link") 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23153 { (case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_try") 2>&5
23159 ac_status=$?
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; }; then
23162 ac_cv_sizeof_size_t=`cat conftest.val`
23163 else
23164 echo "$as_me: program exited with status $ac_status" >&5
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ( exit $ac_status )
23169 if test "$ac_cv_type_size_t" = yes; then
23170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23171 See \`config.log' for more details." >&5
23172 echo "$as_me: error: cannot compute sizeof (size_t)
23173 See \`config.log' for more details." >&2;}
23174 { (exit 77); exit 77; }; }
23175 else
23176 ac_cv_sizeof_size_t=0
23177 fi
23178 fi
23179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23180 fi
23181 rm -f conftest.val
23182 fi
23183 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23184 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23185
23186
23187
23188 cat >>confdefs.h <<_ACEOF
23189 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23190 _ACEOF
23191
23192
23193
23194 case "${host}" in
23195 arm-*-linux* )
23196 { echo "$as_me:$LINENO: checking for long long" >&5
23197 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23198 if test "${ac_cv_type_long_long+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 else
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 $ac_includes_default
23208 typedef long long ac__type_new_;
23209 int
23210 main ()
23211 {
23212 if ((ac__type_new_ *) 0)
23213 return 0;
23214 if (sizeof (ac__type_new_))
23215 return 0;
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23225 esac
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23228 ac_status=$?
23229 grep -v '^ *+' conftest.er1 >conftest.err
23230 rm -f conftest.er1
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_c_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 ac_cv_type_long_long=yes
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_cv_type_long_long=no
23243 fi
23244
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 fi
23247 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23248 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23249
23250 # The cast to long int works around a bug in the HP C Compiler
23251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23253 # This bug is HP SR number 8606223364.
23254 { echo "$as_me:$LINENO: checking size of long long" >&5
23255 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23256 if test "${ac_cv_sizeof_long_long+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23259 if test "$cross_compiling" = yes; then
23260 # Depending upon the size, compute the lo and hi bounds.
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 $ac_includes_default
23268 typedef long long ac__type_sizeof_;
23269 int
23270 main ()
23271 {
23272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23273 test_array [0] = 0
23274
23275 ;
23276 return 0;
23277 }
23278 _ACEOF
23279 rm -f conftest.$ac_objext
23280 if { (ac_try="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23284 esac
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23287 ac_status=$?
23288 grep -v '^ *+' conftest.er1 >conftest.err
23289 rm -f conftest.er1
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } && {
23293 test -z "$ac_c_werror_flag" ||
23294 test ! -s conftest.err
23295 } && test -s conftest.$ac_objext; then
23296 ac_lo=0 ac_mid=0
23297 while :; do
23298 cat >conftest.$ac_ext <<_ACEOF
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 $ac_includes_default
23305 typedef long long ac__type_sizeof_;
23306 int
23307 main ()
23308 {
23309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23310 test_array [0] = 0
23311
23312 ;
23313 return 0;
23314 }
23315 _ACEOF
23316 rm -f conftest.$ac_objext
23317 if { (ac_try="$ac_compile"
23318 case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23321 esac
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_compile") 2>conftest.er1
23324 ac_status=$?
23325 grep -v '^ *+' conftest.er1 >conftest.err
23326 rm -f conftest.er1
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } && {
23330 test -z "$ac_c_werror_flag" ||
23331 test ! -s conftest.err
23332 } && test -s conftest.$ac_objext; then
23333 ac_hi=$ac_mid; break
23334 else
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23337
23338 ac_lo=`expr $ac_mid + 1`
23339 if test $ac_lo -le $ac_mid; then
23340 ac_lo= ac_hi=
23341 break
23342 fi
23343 ac_mid=`expr 2 '*' $ac_mid + 1`
23344 fi
23345
23346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23347 done
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 cat >conftest.$ac_ext <<_ACEOF
23353 /* confdefs.h. */
23354 _ACEOF
23355 cat confdefs.h >>conftest.$ac_ext
23356 cat >>conftest.$ac_ext <<_ACEOF
23357 /* end confdefs.h. */
23358 $ac_includes_default
23359 typedef long long ac__type_sizeof_;
23360 int
23361 main ()
23362 {
23363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23364 test_array [0] = 0
23365
23366 ;
23367 return 0;
23368 }
23369 _ACEOF
23370 rm -f conftest.$ac_objext
23371 if { (ac_try="$ac_compile"
23372 case "(($ac_try" in
23373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23374 *) ac_try_echo=$ac_try;;
23375 esac
23376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23377 (eval "$ac_compile") 2>conftest.er1
23378 ac_status=$?
23379 grep -v '^ *+' conftest.er1 >conftest.err
23380 rm -f conftest.er1
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } && {
23384 test -z "$ac_c_werror_flag" ||
23385 test ! -s conftest.err
23386 } && test -s conftest.$ac_objext; then
23387 ac_hi=-1 ac_mid=-1
23388 while :; do
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 $ac_includes_default
23396 typedef long long ac__type_sizeof_;
23397 int
23398 main ()
23399 {
23400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23401 test_array [0] = 0
23402
23403 ;
23404 return 0;
23405 }
23406 _ACEOF
23407 rm -f conftest.$ac_objext
23408 if { (ac_try="$ac_compile"
23409 case "(($ac_try" in
23410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23411 *) ac_try_echo=$ac_try;;
23412 esac
23413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23414 (eval "$ac_compile") 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } && {
23421 test -z "$ac_c_werror_flag" ||
23422 test ! -s conftest.err
23423 } && test -s conftest.$ac_objext; then
23424 ac_lo=$ac_mid; break
23425 else
23426 echo "$as_me: failed program was:" >&5
23427 sed 's/^/| /' conftest.$ac_ext >&5
23428
23429 ac_hi=`expr '(' $ac_mid ')' - 1`
23430 if test $ac_mid -le $ac_hi; then
23431 ac_lo= ac_hi=
23432 break
23433 fi
23434 ac_mid=`expr 2 '*' $ac_mid`
23435 fi
23436
23437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438 done
23439 else
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23442
23443 ac_lo= ac_hi=
23444 fi
23445
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 fi
23448
23449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23450 # Binary search between lo and hi bounds.
23451 while test "x$ac_lo" != "x$ac_hi"; do
23452 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23460 typedef long long ac__type_sizeof_;
23461 int
23462 main ()
23463 {
23464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23465 test_array [0] = 0
23466
23467 ;
23468 return 0;
23469 }
23470 _ACEOF
23471 rm -f conftest.$ac_objext
23472 if { (ac_try="$ac_compile"
23473 case "(($ac_try" in
23474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23475 *) ac_try_echo=$ac_try;;
23476 esac
23477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23478 (eval "$ac_compile") 2>conftest.er1
23479 ac_status=$?
23480 grep -v '^ *+' conftest.er1 >conftest.err
23481 rm -f conftest.er1
23482 cat conftest.err >&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } && {
23485 test -z "$ac_c_werror_flag" ||
23486 test ! -s conftest.err
23487 } && test -s conftest.$ac_objext; then
23488 ac_hi=$ac_mid
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 ac_lo=`expr '(' $ac_mid ')' + 1`
23494 fi
23495
23496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23497 done
23498 case $ac_lo in
23499 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23500 '') if test "$ac_cv_type_long_long" = yes; then
23501 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23502 See \`config.log' for more details." >&5
23503 echo "$as_me: error: cannot compute sizeof (long long)
23504 See \`config.log' for more details." >&2;}
23505 { (exit 77); exit 77; }; }
23506 else
23507 ac_cv_sizeof_long_long=0
23508 fi ;;
23509 esac
23510 else
23511 cat >conftest.$ac_ext <<_ACEOF
23512 /* confdefs.h. */
23513 _ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 $ac_includes_default
23518 typedef long long ac__type_sizeof_;
23519 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23520 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23521 #include <stdio.h>
23522 #include <stdlib.h>
23523 int
23524 main ()
23525 {
23526
23527 FILE *f = fopen ("conftest.val", "w");
23528 if (! f)
23529 return 1;
23530 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23531 {
23532 long int i = longval ();
23533 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23534 return 1;
23535 fprintf (f, "%ld\n", i);
23536 }
23537 else
23538 {
23539 unsigned long int i = ulongval ();
23540 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23541 return 1;
23542 fprintf (f, "%lu\n", i);
23543 }
23544 return ferror (f) || fclose (f) != 0;
23545
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest$ac_exeext
23551 if { (ac_try="$ac_link"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23555 esac
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_link") 2>&5
23558 ac_status=$?
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23561 { (case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23564 esac
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_try") 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 ac_cv_sizeof_long_long=`cat conftest.val`
23571 else
23572 echo "$as_me: program exited with status $ac_status" >&5
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.$ac_ext >&5
23575
23576 ( exit $ac_status )
23577 if test "$ac_cv_type_long_long" = yes; then
23578 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23579 See \`config.log' for more details." >&5
23580 echo "$as_me: error: cannot compute sizeof (long long)
23581 See \`config.log' for more details." >&2;}
23582 { (exit 77); exit 77; }; }
23583 else
23584 ac_cv_sizeof_long_long=0
23585 fi
23586 fi
23587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23588 fi
23589 rm -f conftest.val
23590 fi
23591 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23592 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23593
23594
23595
23596 cat >>confdefs.h <<_ACEOF
23597 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23598 _ACEOF
23599
23600
23601 ;;
23602 *-hp-hpux* )
23603 { echo "$as_me:$LINENO: checking for long long" >&5
23604 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23605 if test "${ac_cv_type_long_long+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608 cat >conftest.$ac_ext <<_ACEOF
23609 /* confdefs.h. */
23610 _ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 $ac_includes_default
23615 typedef long long ac__type_new_;
23616 int
23617 main ()
23618 {
23619 if ((ac__type_new_ *) 0)
23620 return 0;
23621 if (sizeof (ac__type_new_))
23622 return 0;
23623 ;
23624 return 0;
23625 }
23626 _ACEOF
23627 rm -f conftest.$ac_objext
23628 if { (ac_try="$ac_compile"
23629 case "(($ac_try" in
23630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23631 *) ac_try_echo=$ac_try;;
23632 esac
23633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23634 (eval "$ac_compile") 2>conftest.er1
23635 ac_status=$?
23636 grep -v '^ *+' conftest.er1 >conftest.err
23637 rm -f conftest.er1
23638 cat conftest.err >&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } && {
23641 test -z "$ac_c_werror_flag" ||
23642 test ! -s conftest.err
23643 } && test -s conftest.$ac_objext; then
23644 ac_cv_type_long_long=yes
23645 else
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23648
23649 ac_cv_type_long_long=no
23650 fi
23651
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 fi
23654 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23655 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23656
23657 # The cast to long int works around a bug in the HP C Compiler
23658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23660 # This bug is HP SR number 8606223364.
23661 { echo "$as_me:$LINENO: checking size of long long" >&5
23662 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23663 if test "${ac_cv_sizeof_long_long+set}" = set; then
23664 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 else
23666 if test "$cross_compiling" = yes; then
23667 # Depending upon the size, compute the lo and hi bounds.
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 $ac_includes_default
23675 typedef long long ac__type_sizeof_;
23676 int
23677 main ()
23678 {
23679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23680 test_array [0] = 0
23681
23682 ;
23683 return 0;
23684 }
23685 _ACEOF
23686 rm -f conftest.$ac_objext
23687 if { (ac_try="$ac_compile"
23688 case "(($ac_try" in
23689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23690 *) ac_try_echo=$ac_try;;
23691 esac
23692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23693 (eval "$ac_compile") 2>conftest.er1
23694 ac_status=$?
23695 grep -v '^ *+' conftest.er1 >conftest.err
23696 rm -f conftest.er1
23697 cat conftest.err >&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } && {
23700 test -z "$ac_c_werror_flag" ||
23701 test ! -s conftest.err
23702 } && test -s conftest.$ac_objext; then
23703 ac_lo=0 ac_mid=0
23704 while :; do
23705 cat >conftest.$ac_ext <<_ACEOF
23706 /* confdefs.h. */
23707 _ACEOF
23708 cat confdefs.h >>conftest.$ac_ext
23709 cat >>conftest.$ac_ext <<_ACEOF
23710 /* end confdefs.h. */
23711 $ac_includes_default
23712 typedef long long ac__type_sizeof_;
23713 int
23714 main ()
23715 {
23716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23717 test_array [0] = 0
23718
23719 ;
23720 return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext
23724 if { (ac_try="$ac_compile"
23725 case "(($ac_try" in
23726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23727 *) ac_try_echo=$ac_try;;
23728 esac
23729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23730 (eval "$ac_compile") 2>conftest.er1
23731 ac_status=$?
23732 grep -v '^ *+' conftest.er1 >conftest.err
23733 rm -f conftest.er1
23734 cat conftest.err >&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } && {
23737 test -z "$ac_c_werror_flag" ||
23738 test ! -s conftest.err
23739 } && test -s conftest.$ac_objext; then
23740 ac_hi=$ac_mid; break
23741 else
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.$ac_ext >&5
23744
23745 ac_lo=`expr $ac_mid + 1`
23746 if test $ac_lo -le $ac_mid; then
23747 ac_lo= ac_hi=
23748 break
23749 fi
23750 ac_mid=`expr 2 '*' $ac_mid + 1`
23751 fi
23752
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 done
23755 else
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23758
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 $ac_includes_default
23766 typedef long long ac__type_sizeof_;
23767 int
23768 main ()
23769 {
23770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23771 test_array [0] = 0
23772
23773 ;
23774 return 0;
23775 }
23776 _ACEOF
23777 rm -f conftest.$ac_objext
23778 if { (ac_try="$ac_compile"
23779 case "(($ac_try" in
23780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23781 *) ac_try_echo=$ac_try;;
23782 esac
23783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23784 (eval "$ac_compile") 2>conftest.er1
23785 ac_status=$?
23786 grep -v '^ *+' conftest.er1 >conftest.err
23787 rm -f conftest.er1
23788 cat conftest.err >&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } && {
23791 test -z "$ac_c_werror_flag" ||
23792 test ! -s conftest.err
23793 } && test -s conftest.$ac_objext; then
23794 ac_hi=-1 ac_mid=-1
23795 while :; do
23796 cat >conftest.$ac_ext <<_ACEOF
23797 /* confdefs.h. */
23798 _ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23802 $ac_includes_default
23803 typedef long long ac__type_sizeof_;
23804 int
23805 main ()
23806 {
23807 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23808 test_array [0] = 0
23809
23810 ;
23811 return 0;
23812 }
23813 _ACEOF
23814 rm -f conftest.$ac_objext
23815 if { (ac_try="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23819 esac
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23822 ac_status=$?
23823 grep -v '^ *+' conftest.er1 >conftest.err
23824 rm -f conftest.er1
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } && {
23828 test -z "$ac_c_werror_flag" ||
23829 test ! -s conftest.err
23830 } && test -s conftest.$ac_objext; then
23831 ac_lo=$ac_mid; break
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836 ac_hi=`expr '(' $ac_mid ')' - 1`
23837 if test $ac_mid -le $ac_hi; then
23838 ac_lo= ac_hi=
23839 break
23840 fi
23841 ac_mid=`expr 2 '*' $ac_mid`
23842 fi
23843
23844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23845 done
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 ac_lo= ac_hi=
23851 fi
23852
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 fi
23855
23856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23857 # Binary search between lo and hi bounds.
23858 while test "x$ac_lo" != "x$ac_hi"; do
23859 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23860 cat >conftest.$ac_ext <<_ACEOF
23861 /* confdefs.h. */
23862 _ACEOF
23863 cat confdefs.h >>conftest.$ac_ext
23864 cat >>conftest.$ac_ext <<_ACEOF
23865 /* end confdefs.h. */
23866 $ac_includes_default
23867 typedef long long ac__type_sizeof_;
23868 int
23869 main ()
23870 {
23871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23872 test_array [0] = 0
23873
23874 ;
23875 return 0;
23876 }
23877 _ACEOF
23878 rm -f conftest.$ac_objext
23879 if { (ac_try="$ac_compile"
23880 case "(($ac_try" in
23881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23882 *) ac_try_echo=$ac_try;;
23883 esac
23884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23885 (eval "$ac_compile") 2>conftest.er1
23886 ac_status=$?
23887 grep -v '^ *+' conftest.er1 >conftest.err
23888 rm -f conftest.er1
23889 cat conftest.err >&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); } && {
23892 test -z "$ac_c_werror_flag" ||
23893 test ! -s conftest.err
23894 } && test -s conftest.$ac_objext; then
23895 ac_hi=$ac_mid
23896 else
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23899
23900 ac_lo=`expr '(' $ac_mid ')' + 1`
23901 fi
23902
23903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23904 done
23905 case $ac_lo in
23906 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23907 '') if test "$ac_cv_type_long_long" = yes; then
23908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23909 See \`config.log' for more details." >&5
23910 echo "$as_me: error: cannot compute sizeof (long long)
23911 See \`config.log' for more details." >&2;}
23912 { (exit 77); exit 77; }; }
23913 else
23914 ac_cv_sizeof_long_long=0
23915 fi ;;
23916 esac
23917 else
23918 cat >conftest.$ac_ext <<_ACEOF
23919 /* confdefs.h. */
23920 _ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23924 $ac_includes_default
23925 typedef long long ac__type_sizeof_;
23926 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23927 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23928 #include <stdio.h>
23929 #include <stdlib.h>
23930 int
23931 main ()
23932 {
23933
23934 FILE *f = fopen ("conftest.val", "w");
23935 if (! f)
23936 return 1;
23937 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23938 {
23939 long int i = longval ();
23940 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23941 return 1;
23942 fprintf (f, "%ld\n", i);
23943 }
23944 else
23945 {
23946 unsigned long int i = ulongval ();
23947 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23948 return 1;
23949 fprintf (f, "%lu\n", i);
23950 }
23951 return ferror (f) || fclose (f) != 0;
23952
23953 ;
23954 return 0;
23955 }
23956 _ACEOF
23957 rm -f conftest$ac_exeext
23958 if { (ac_try="$ac_link"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23962 esac
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_link") 2>&5
23965 ac_status=$?
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23968 { (case "(($ac_try" in
23969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23970 *) ac_try_echo=$ac_try;;
23971 esac
23972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23973 (eval "$ac_try") 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; }; then
23977 ac_cv_sizeof_long_long=`cat conftest.val`
23978 else
23979 echo "$as_me: program exited with status $ac_status" >&5
23980 echo "$as_me: failed program was:" >&5
23981 sed 's/^/| /' conftest.$ac_ext >&5
23982
23983 ( exit $ac_status )
23984 if test "$ac_cv_type_long_long" = yes; then
23985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23986 See \`config.log' for more details." >&5
23987 echo "$as_me: error: cannot compute sizeof (long long)
23988 See \`config.log' for more details." >&2;}
23989 { (exit 77); exit 77; }; }
23990 else
23991 ac_cv_sizeof_long_long=0
23992 fi
23993 fi
23994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23995 fi
23996 rm -f conftest.val
23997 fi
23998 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23999 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24000
24001
24002
24003 cat >>confdefs.h <<_ACEOF
24004 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24005 _ACEOF
24006
24007
24008 if test "$ac_cv_sizeof_long_long" != "0"; then
24009 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24010 fi
24011 ;;
24012 * )
24013 { echo "$as_me:$LINENO: checking for long long" >&5
24014 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24015 if test "${ac_cv_type_long_long+set}" = set; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 else
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024 $ac_includes_default
24025 typedef long long ac__type_new_;
24026 int
24027 main ()
24028 {
24029 if ((ac__type_new_ *) 0)
24030 return 0;
24031 if (sizeof (ac__type_new_))
24032 return 0;
24033 ;
24034 return 0;
24035 }
24036 _ACEOF
24037 rm -f conftest.$ac_objext
24038 if { (ac_try="$ac_compile"
24039 case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24041 *) ac_try_echo=$ac_try;;
24042 esac
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_compile") 2>conftest.er1
24045 ac_status=$?
24046 grep -v '^ *+' conftest.er1 >conftest.err
24047 rm -f conftest.er1
24048 cat conftest.err >&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } && {
24051 test -z "$ac_c_werror_flag" ||
24052 test ! -s conftest.err
24053 } && test -s conftest.$ac_objext; then
24054 ac_cv_type_long_long=yes
24055 else
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.$ac_ext >&5
24058
24059 ac_cv_type_long_long=no
24060 fi
24061
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063 fi
24064 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24065 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24066
24067 # The cast to long int works around a bug in the HP C Compiler
24068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24070 # This bug is HP SR number 8606223364.
24071 { echo "$as_me:$LINENO: checking size of long long" >&5
24072 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24073 if test "${ac_cv_sizeof_long_long+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24075 else
24076 if test "$cross_compiling" = yes; then
24077 # Depending upon the size, compute the lo and hi bounds.
24078 cat >conftest.$ac_ext <<_ACEOF
24079 /* confdefs.h. */
24080 _ACEOF
24081 cat confdefs.h >>conftest.$ac_ext
24082 cat >>conftest.$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24084 $ac_includes_default
24085 typedef long long ac__type_sizeof_;
24086 int
24087 main ()
24088 {
24089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24090 test_array [0] = 0
24091
24092 ;
24093 return 0;
24094 }
24095 _ACEOF
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24104 ac_status=$?
24105 grep -v '^ *+' conftest.er1 >conftest.err
24106 rm -f conftest.er1
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_c_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 ac_lo=0 ac_mid=0
24114 while :; do
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 $ac_includes_default
24122 typedef long long ac__type_sizeof_;
24123 int
24124 main ()
24125 {
24126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24127 test_array [0] = 0
24128
24129 ;
24130 return 0;
24131 }
24132 _ACEOF
24133 rm -f conftest.$ac_objext
24134 if { (ac_try="$ac_compile"
24135 case "(($ac_try" in
24136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24137 *) ac_try_echo=$ac_try;;
24138 esac
24139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24140 (eval "$ac_compile") 2>conftest.er1
24141 ac_status=$?
24142 grep -v '^ *+' conftest.er1 >conftest.err
24143 rm -f conftest.er1
24144 cat conftest.err >&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } && {
24147 test -z "$ac_c_werror_flag" ||
24148 test ! -s conftest.err
24149 } && test -s conftest.$ac_objext; then
24150 ac_hi=$ac_mid; break
24151 else
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ac_lo=`expr $ac_mid + 1`
24156 if test $ac_lo -le $ac_mid; then
24157 ac_lo= ac_hi=
24158 break
24159 fi
24160 ac_mid=`expr 2 '*' $ac_mid + 1`
24161 fi
24162
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 done
24165 else
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.$ac_ext >&5
24168
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 $ac_includes_default
24176 typedef long long ac__type_sizeof_;
24177 int
24178 main ()
24179 {
24180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24181 test_array [0] = 0
24182
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext
24188 if { (ac_try="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24192 esac
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24195 ac_status=$?
24196 grep -v '^ *+' conftest.er1 >conftest.err
24197 rm -f conftest.er1
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && {
24201 test -z "$ac_c_werror_flag" ||
24202 test ! -s conftest.err
24203 } && test -s conftest.$ac_objext; then
24204 ac_hi=-1 ac_mid=-1
24205 while :; do
24206 cat >conftest.$ac_ext <<_ACEOF
24207 /* confdefs.h. */
24208 _ACEOF
24209 cat confdefs.h >>conftest.$ac_ext
24210 cat >>conftest.$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 $ac_includes_default
24213 typedef long long ac__type_sizeof_;
24214 int
24215 main ()
24216 {
24217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24218 test_array [0] = 0
24219
24220 ;
24221 return 0;
24222 }
24223 _ACEOF
24224 rm -f conftest.$ac_objext
24225 if { (ac_try="$ac_compile"
24226 case "(($ac_try" in
24227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24229 esac
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_compile") 2>conftest.er1
24232 ac_status=$?
24233 grep -v '^ *+' conftest.er1 >conftest.err
24234 rm -f conftest.er1
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } && {
24238 test -z "$ac_c_werror_flag" ||
24239 test ! -s conftest.err
24240 } && test -s conftest.$ac_objext; then
24241 ac_lo=$ac_mid; break
24242 else
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.$ac_ext >&5
24245
24246 ac_hi=`expr '(' $ac_mid ')' - 1`
24247 if test $ac_mid -le $ac_hi; then
24248 ac_lo= ac_hi=
24249 break
24250 fi
24251 ac_mid=`expr 2 '*' $ac_mid`
24252 fi
24253
24254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24255 done
24256 else
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24259
24260 ac_lo= ac_hi=
24261 fi
24262
24263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24264 fi
24265
24266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24267 # Binary search between lo and hi bounds.
24268 while test "x$ac_lo" != "x$ac_hi"; do
24269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24270 cat >conftest.$ac_ext <<_ACEOF
24271 /* confdefs.h. */
24272 _ACEOF
24273 cat confdefs.h >>conftest.$ac_ext
24274 cat >>conftest.$ac_ext <<_ACEOF
24275 /* end confdefs.h. */
24276 $ac_includes_default
24277 typedef long long ac__type_sizeof_;
24278 int
24279 main ()
24280 {
24281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24282 test_array [0] = 0
24283
24284 ;
24285 return 0;
24286 }
24287 _ACEOF
24288 rm -f conftest.$ac_objext
24289 if { (ac_try="$ac_compile"
24290 case "(($ac_try" in
24291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24292 *) ac_try_echo=$ac_try;;
24293 esac
24294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24295 (eval "$ac_compile") 2>conftest.er1
24296 ac_status=$?
24297 grep -v '^ *+' conftest.er1 >conftest.err
24298 rm -f conftest.er1
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } && {
24302 test -z "$ac_c_werror_flag" ||
24303 test ! -s conftest.err
24304 } && test -s conftest.$ac_objext; then
24305 ac_hi=$ac_mid
24306 else
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.$ac_ext >&5
24309
24310 ac_lo=`expr '(' $ac_mid ')' + 1`
24311 fi
24312
24313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24314 done
24315 case $ac_lo in
24316 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24317 '') if test "$ac_cv_type_long_long" = yes; then
24318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24319 See \`config.log' for more details." >&5
24320 echo "$as_me: error: cannot compute sizeof (long long)
24321 See \`config.log' for more details." >&2;}
24322 { (exit 77); exit 77; }; }
24323 else
24324 ac_cv_sizeof_long_long=0
24325 fi ;;
24326 esac
24327 else
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 $ac_includes_default
24335 typedef long long ac__type_sizeof_;
24336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24338 #include <stdio.h>
24339 #include <stdlib.h>
24340 int
24341 main ()
24342 {
24343
24344 FILE *f = fopen ("conftest.val", "w");
24345 if (! f)
24346 return 1;
24347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24348 {
24349 long int i = longval ();
24350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24351 return 1;
24352 fprintf (f, "%ld\n", i);
24353 }
24354 else
24355 {
24356 unsigned long int i = ulongval ();
24357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24358 return 1;
24359 fprintf (f, "%lu\n", i);
24360 }
24361 return ferror (f) || fclose (f) != 0;
24362
24363 ;
24364 return 0;
24365 }
24366 _ACEOF
24367 rm -f conftest$ac_exeext
24368 if { (ac_try="$ac_link"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24372 esac
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_link") 2>&5
24375 ac_status=$?
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24378 { (case "(($ac_try" in
24379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24380 *) ac_try_echo=$ac_try;;
24381 esac
24382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24383 (eval "$ac_try") 2>&5
24384 ac_status=$?
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); }; }; then
24387 ac_cv_sizeof_long_long=`cat conftest.val`
24388 else
24389 echo "$as_me: program exited with status $ac_status" >&5
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.$ac_ext >&5
24392
24393 ( exit $ac_status )
24394 if test "$ac_cv_type_long_long" = yes; then
24395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24396 See \`config.log' for more details." >&5
24397 echo "$as_me: error: cannot compute sizeof (long long)
24398 See \`config.log' for more details." >&2;}
24399 { (exit 77); exit 77; }; }
24400 else
24401 ac_cv_sizeof_long_long=0
24402 fi
24403 fi
24404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24405 fi
24406 rm -f conftest.val
24407 fi
24408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24409 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24410
24411
24412
24413 cat >>confdefs.h <<_ACEOF
24414 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24415 _ACEOF
24416
24417
24418 esac
24419
24420 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24421 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24422 if test "${ac_cv_type_wchar_t+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431
24432 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24433 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24434 # error "fake wchar_t"
24435 #endif
24436 #ifdef HAVE_WCHAR_H
24437 # ifdef __CYGWIN__
24438 # include <stddef.h>
24439 # endif
24440 # include <wchar.h>
24441 #endif
24442 #ifdef HAVE_STDLIB_H
24443 # include <stdlib.h>
24444 #endif
24445 #include <stdio.h>
24446
24447
24448
24449 typedef wchar_t ac__type_new_;
24450 int
24451 main ()
24452 {
24453 if ((ac__type_new_ *) 0)
24454 return 0;
24455 if (sizeof (ac__type_new_))
24456 return 0;
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 rm -f conftest.$ac_objext
24462 if { (ac_try="$ac_compile"
24463 case "(($ac_try" in
24464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24465 *) ac_try_echo=$ac_try;;
24466 esac
24467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24468 (eval "$ac_compile") 2>conftest.er1
24469 ac_status=$?
24470 grep -v '^ *+' conftest.er1 >conftest.err
24471 rm -f conftest.er1
24472 cat conftest.err >&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } && {
24475 test -z "$ac_c_werror_flag" ||
24476 test ! -s conftest.err
24477 } && test -s conftest.$ac_objext; then
24478 ac_cv_type_wchar_t=yes
24479 else
24480 echo "$as_me: failed program was:" >&5
24481 sed 's/^/| /' conftest.$ac_ext >&5
24482
24483 ac_cv_type_wchar_t=no
24484 fi
24485
24486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24487 fi
24488 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24489 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24490
24491 # The cast to long int works around a bug in the HP C Compiler
24492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24493 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24494 # This bug is HP SR number 8606223364.
24495 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24496 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24497 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 else
24500 if test "$cross_compiling" = yes; then
24501 # Depending upon the size, compute the lo and hi bounds.
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508
24509 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24510 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24511 # error "fake wchar_t"
24512 #endif
24513 #ifdef HAVE_WCHAR_H
24514 # ifdef __CYGWIN__
24515 # include <stddef.h>
24516 # endif
24517 # include <wchar.h>
24518 #endif
24519 #ifdef HAVE_STDLIB_H
24520 # include <stdlib.h>
24521 #endif
24522 #include <stdio.h>
24523
24524
24525
24526 typedef wchar_t ac__type_sizeof_;
24527 int
24528 main ()
24529 {
24530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24531 test_array [0] = 0
24532
24533 ;
24534 return 0;
24535 }
24536 _ACEOF
24537 rm -f conftest.$ac_objext
24538 if { (ac_try="$ac_compile"
24539 case "(($ac_try" in
24540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24541 *) ac_try_echo=$ac_try;;
24542 esac
24543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24544 (eval "$ac_compile") 2>conftest.er1
24545 ac_status=$?
24546 grep -v '^ *+' conftest.er1 >conftest.err
24547 rm -f conftest.er1
24548 cat conftest.err >&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); } && {
24551 test -z "$ac_c_werror_flag" ||
24552 test ! -s conftest.err
24553 } && test -s conftest.$ac_objext; then
24554 ac_lo=0 ac_mid=0
24555 while :; do
24556 cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h. */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562
24563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24565 # error "fake wchar_t"
24566 #endif
24567 #ifdef HAVE_WCHAR_H
24568 # ifdef __CYGWIN__
24569 # include <stddef.h>
24570 # endif
24571 # include <wchar.h>
24572 #endif
24573 #ifdef HAVE_STDLIB_H
24574 # include <stdlib.h>
24575 #endif
24576 #include <stdio.h>
24577
24578
24579
24580 typedef wchar_t ac__type_sizeof_;
24581 int
24582 main ()
24583 {
24584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24585 test_array [0] = 0
24586
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24596 esac
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24599 ac_status=$?
24600 grep -v '^ *+' conftest.er1 >conftest.err
24601 rm -f conftest.er1
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_c_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24608 ac_hi=$ac_mid; break
24609 else
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.$ac_ext >&5
24612
24613 ac_lo=`expr $ac_mid + 1`
24614 if test $ac_lo -le $ac_mid; then
24615 ac_lo= ac_hi=
24616 break
24617 fi
24618 ac_mid=`expr 2 '*' $ac_mid + 1`
24619 fi
24620
24621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 done
24623 else
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24626
24627 cat >conftest.$ac_ext <<_ACEOF
24628 /* confdefs.h. */
24629 _ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633
24634 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24635 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24636 # error "fake wchar_t"
24637 #endif
24638 #ifdef HAVE_WCHAR_H
24639 # ifdef __CYGWIN__
24640 # include <stddef.h>
24641 # endif
24642 # include <wchar.h>
24643 #endif
24644 #ifdef HAVE_STDLIB_H
24645 # include <stdlib.h>
24646 #endif
24647 #include <stdio.h>
24648
24649
24650
24651 typedef wchar_t ac__type_sizeof_;
24652 int
24653 main ()
24654 {
24655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24656 test_array [0] = 0
24657
24658 ;
24659 return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext
24663 if { (ac_try="$ac_compile"
24664 case "(($ac_try" in
24665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24666 *) ac_try_echo=$ac_try;;
24667 esac
24668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24669 (eval "$ac_compile") 2>conftest.er1
24670 ac_status=$?
24671 grep -v '^ *+' conftest.er1 >conftest.err
24672 rm -f conftest.er1
24673 cat conftest.err >&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } && {
24676 test -z "$ac_c_werror_flag" ||
24677 test ! -s conftest.err
24678 } && test -s conftest.$ac_objext; then
24679 ac_hi=-1 ac_mid=-1
24680 while :; do
24681 cat >conftest.$ac_ext <<_ACEOF
24682 /* confdefs.h. */
24683 _ACEOF
24684 cat confdefs.h >>conftest.$ac_ext
24685 cat >>conftest.$ac_ext <<_ACEOF
24686 /* end confdefs.h. */
24687
24688 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24689 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24690 # error "fake wchar_t"
24691 #endif
24692 #ifdef HAVE_WCHAR_H
24693 # ifdef __CYGWIN__
24694 # include <stddef.h>
24695 # endif
24696 # include <wchar.h>
24697 #endif
24698 #ifdef HAVE_STDLIB_H
24699 # include <stdlib.h>
24700 #endif
24701 #include <stdio.h>
24702
24703
24704
24705 typedef wchar_t ac__type_sizeof_;
24706 int
24707 main ()
24708 {
24709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24710 test_array [0] = 0
24711
24712 ;
24713 return 0;
24714 }
24715 _ACEOF
24716 rm -f conftest.$ac_objext
24717 if { (ac_try="$ac_compile"
24718 case "(($ac_try" in
24719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24720 *) ac_try_echo=$ac_try;;
24721 esac
24722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24723 (eval "$ac_compile") 2>conftest.er1
24724 ac_status=$?
24725 grep -v '^ *+' conftest.er1 >conftest.err
24726 rm -f conftest.er1
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } && {
24730 test -z "$ac_c_werror_flag" ||
24731 test ! -s conftest.err
24732 } && test -s conftest.$ac_objext; then
24733 ac_lo=$ac_mid; break
24734 else
24735 echo "$as_me: failed program was:" >&5
24736 sed 's/^/| /' conftest.$ac_ext >&5
24737
24738 ac_hi=`expr '(' $ac_mid ')' - 1`
24739 if test $ac_mid -le $ac_hi; then
24740 ac_lo= ac_hi=
24741 break
24742 fi
24743 ac_mid=`expr 2 '*' $ac_mid`
24744 fi
24745
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747 done
24748 else
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.$ac_ext >&5
24751
24752 ac_lo= ac_hi=
24753 fi
24754
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24756 fi
24757
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24759 # Binary search between lo and hi bounds.
24760 while test "x$ac_lo" != "x$ac_hi"; do
24761 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24762 cat >conftest.$ac_ext <<_ACEOF
24763 /* confdefs.h. */
24764 _ACEOF
24765 cat confdefs.h >>conftest.$ac_ext
24766 cat >>conftest.$ac_ext <<_ACEOF
24767 /* end confdefs.h. */
24768
24769 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24770 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24771 # error "fake wchar_t"
24772 #endif
24773 #ifdef HAVE_WCHAR_H
24774 # ifdef __CYGWIN__
24775 # include <stddef.h>
24776 # endif
24777 # include <wchar.h>
24778 #endif
24779 #ifdef HAVE_STDLIB_H
24780 # include <stdlib.h>
24781 #endif
24782 #include <stdio.h>
24783
24784
24785
24786 typedef wchar_t ac__type_sizeof_;
24787 int
24788 main ()
24789 {
24790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24791 test_array [0] = 0
24792
24793 ;
24794 return 0;
24795 }
24796 _ACEOF
24797 rm -f conftest.$ac_objext
24798 if { (ac_try="$ac_compile"
24799 case "(($ac_try" in
24800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24801 *) ac_try_echo=$ac_try;;
24802 esac
24803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24804 (eval "$ac_compile") 2>conftest.er1
24805 ac_status=$?
24806 grep -v '^ *+' conftest.er1 >conftest.err
24807 rm -f conftest.er1
24808 cat conftest.err >&5
24809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810 (exit $ac_status); } && {
24811 test -z "$ac_c_werror_flag" ||
24812 test ! -s conftest.err
24813 } && test -s conftest.$ac_objext; then
24814 ac_hi=$ac_mid
24815 else
24816 echo "$as_me: failed program was:" >&5
24817 sed 's/^/| /' conftest.$ac_ext >&5
24818
24819 ac_lo=`expr '(' $ac_mid ')' + 1`
24820 fi
24821
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823 done
24824 case $ac_lo in
24825 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24826 '') if test "$ac_cv_type_wchar_t" = yes; then
24827 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24828 See \`config.log' for more details." >&5
24829 echo "$as_me: error: cannot compute sizeof (wchar_t)
24830 See \`config.log' for more details." >&2;}
24831 { (exit 77); exit 77; }; }
24832 else
24833 ac_cv_sizeof_wchar_t=0
24834 fi ;;
24835 esac
24836 else
24837 cat >conftest.$ac_ext <<_ACEOF
24838 /* confdefs.h. */
24839 _ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843
24844 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24845 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24846 # error "fake wchar_t"
24847 #endif
24848 #ifdef HAVE_WCHAR_H
24849 # ifdef __CYGWIN__
24850 # include <stddef.h>
24851 # endif
24852 # include <wchar.h>
24853 #endif
24854 #ifdef HAVE_STDLIB_H
24855 # include <stdlib.h>
24856 #endif
24857 #include <stdio.h>
24858
24859
24860
24861 typedef wchar_t ac__type_sizeof_;
24862 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24863 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24864 #include <stdio.h>
24865 #include <stdlib.h>
24866 int
24867 main ()
24868 {
24869
24870 FILE *f = fopen ("conftest.val", "w");
24871 if (! f)
24872 return 1;
24873 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24874 {
24875 long int i = longval ();
24876 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24877 return 1;
24878 fprintf (f, "%ld\n", i);
24879 }
24880 else
24881 {
24882 unsigned long int i = ulongval ();
24883 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24884 return 1;
24885 fprintf (f, "%lu\n", i);
24886 }
24887 return ferror (f) || fclose (f) != 0;
24888
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest$ac_exeext
24894 if { (ac_try="$ac_link"
24895 case "(($ac_try" in
24896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897 *) ac_try_echo=$ac_try;;
24898 esac
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900 (eval "$ac_link") 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24904 { (case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_try") 2>&5
24910 ac_status=$?
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; }; then
24913 ac_cv_sizeof_wchar_t=`cat conftest.val`
24914 else
24915 echo "$as_me: program exited with status $ac_status" >&5
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24918
24919 ( exit $ac_status )
24920 if test "$ac_cv_type_wchar_t" = yes; then
24921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24922 See \`config.log' for more details." >&5
24923 echo "$as_me: error: cannot compute sizeof (wchar_t)
24924 See \`config.log' for more details." >&2;}
24925 { (exit 77); exit 77; }; }
24926 else
24927 ac_cv_sizeof_wchar_t=0
24928 fi
24929 fi
24930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24931 fi
24932 rm -f conftest.val
24933 fi
24934 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24935 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24936
24937
24938
24939 cat >>confdefs.h <<_ACEOF
24940 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24941 _ACEOF
24942
24943
24944 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24945 wxUSE_WCHAR_T=yes
24946 else
24947 wxUSE_WCHAR_T=no
24948 fi
24949
24950 { echo "$as_me:$LINENO: checking for va_copy" >&5
24951 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24952 if test "${wx_cv_func_va_copy+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955
24956 ac_ext=cpp
24957 ac_cpp='$CXXCPP $CPPFLAGS'
24958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961
24962 cat >conftest.$ac_ext <<_ACEOF
24963
24964 #include <stdarg.h>
24965 void foo(char *f, ...)
24966 {
24967 va_list ap1, ap2;
24968 va_start(ap1, f);
24969 va_copy(ap2, ap1);
24970 va_end(ap2);
24971 va_end(ap1);
24972 }
24973 int main()
24974 {
24975 foo("hi", 17);
24976 return 0;
24977 }
24978 _ACEOF
24979 rm -f conftest.$ac_objext conftest$ac_exeext
24980 if { (ac_try="$ac_link"
24981 case "(($ac_try" in
24982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24983 *) ac_try_echo=$ac_try;;
24984 esac
24985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24986 (eval "$ac_link") 2>conftest.er1
24987 ac_status=$?
24988 grep -v '^ *+' conftest.er1 >conftest.err
24989 rm -f conftest.er1
24990 cat conftest.err >&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); } && {
24993 test -z "$ac_cxx_werror_flag" ||
24994 test ! -s conftest.err
24995 } && test -s conftest$ac_exeext &&
24996 $as_test_x conftest$ac_exeext; then
24997 wx_cv_func_va_copy=yes
24998 else
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.$ac_ext >&5
25001
25002 wx_cv_func_va_copy=no
25003
25004 fi
25005
25006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25007 conftest$ac_exeext conftest.$ac_ext
25008 ac_ext=c
25009 ac_cpp='$CPP $CPPFLAGS'
25010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013
25014
25015
25016 fi
25017 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25018 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25019
25020 if test $wx_cv_func_va_copy = "yes"; then
25021 cat >>confdefs.h <<\_ACEOF
25022 #define HAVE_VA_COPY 1
25023 _ACEOF
25024
25025 else
25026 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25027 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25028 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 else
25031
25032 if test "$cross_compiling" = yes; then
25033 wx_cv_type_va_list_lvalue=yes
25034
25035 else
25036 cat >conftest.$ac_ext <<_ACEOF
25037
25038 #include <stdarg.h>
25039 int foo(char *f, ...)
25040 {
25041 va_list ap1, ap2;
25042 va_start(ap1, f);
25043 ap2 = ap1;
25044 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25045 return 1;
25046 va_end(ap2);
25047 va_end(ap1);
25048 return 0;
25049 }
25050 int main()
25051 {
25052 return foo("hi", 17);
25053 }
25054 _ACEOF
25055 rm -f conftest$ac_exeext
25056 if { (ac_try="$ac_link"
25057 case "(($ac_try" in
25058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25059 *) ac_try_echo=$ac_try;;
25060 esac
25061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25062 (eval "$ac_link") 2>&5
25063 ac_status=$?
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25066 { (case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25069 esac
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_try") 2>&5
25072 ac_status=$?
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; }; then
25075 wx_cv_type_va_list_lvalue=yes
25076 else
25077 echo "$as_me: program exited with status $ac_status" >&5
25078 echo "$as_me: failed program was:" >&5
25079 sed 's/^/| /' conftest.$ac_ext >&5
25080
25081 ( exit $ac_status )
25082 wx_cv_type_va_list_lvalue=no
25083 fi
25084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25085 fi
25086
25087
25088
25089
25090 fi
25091 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25092 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25093
25094 if test $wx_cv_type_va_list_lvalue != "yes"; then
25095 cat >>confdefs.h <<\_ACEOF
25096 #define VA_LIST_IS_ARRAY 1
25097 _ACEOF
25098
25099 fi
25100 fi
25101
25102 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25103
25104 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25105 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25106 if test "${wx_cv_have_variadic_macros+set}" = set; then
25107 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 else
25109
25110 ac_ext=cpp
25111 ac_cpp='$CXXCPP $CPPFLAGS'
25112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25115
25116 cat >conftest.$ac_ext <<_ACEOF
25117 /* confdefs.h. */
25118 _ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25122
25123 #include <stdio.h>
25124 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25125
25126 int
25127 main ()
25128 {
25129
25130 test("%s %d %p", "test", 1, 0);
25131
25132
25133 ;
25134 return 0;
25135 }
25136 _ACEOF
25137 rm -f conftest.$ac_objext
25138 if { (ac_try="$ac_compile"
25139 case "(($ac_try" in
25140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25141 *) ac_try_echo=$ac_try;;
25142 esac
25143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25144 (eval "$ac_compile") 2>conftest.er1
25145 ac_status=$?
25146 grep -v '^ *+' conftest.er1 >conftest.err
25147 rm -f conftest.er1
25148 cat conftest.err >&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } && {
25151 test -z "$ac_cxx_werror_flag" ||
25152 test ! -s conftest.err
25153 } && test -s conftest.$ac_objext; then
25154 wx_cv_have_variadic_macros=yes
25155 else
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.$ac_ext >&5
25158
25159 wx_cv_have_variadic_macros=no
25160
25161 fi
25162
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169
25170
25171
25172 fi
25173 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25174 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25175
25176 if test $wx_cv_have_variadic_macros = "yes"; then
25177 cat >>confdefs.h <<\_ACEOF
25178 #define HAVE_VARIADIC_MACROS 1
25179 _ACEOF
25180
25181 fi
25182
25183 fi
25184 # Check whether --enable-largefile was given.
25185 if test "${enable_largefile+set}" = set; then
25186 enableval=$enable_largefile;
25187 fi
25188
25189 if test "$enable_largefile" != no; then
25190 wx_largefile=no
25191
25192 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25193 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25194 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25195 echo $ECHO_N "(cached) $ECHO_C" >&6
25196 else
25197
25198 cat >conftest.$ac_ext <<_ACEOF
25199 /* confdefs.h. */
25200 _ACEOF
25201 cat confdefs.h >>conftest.$ac_ext
25202 cat >>conftest.$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25204 #define _FILE_OFFSET_BITS 64
25205 #include <sys/types.h>
25206 int
25207 main ()
25208 {
25209 typedef struct {
25210 unsigned int field: sizeof(off_t) == 8;
25211 } wxlf;
25212
25213 ;
25214 return 0;
25215 }
25216 _ACEOF
25217 rm -f conftest.$ac_objext
25218 if { (ac_try="$ac_compile"
25219 case "(($ac_try" in
25220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25221 *) ac_try_echo=$ac_try;;
25222 esac
25223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25224 (eval "$ac_compile") 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } && {
25231 test -z "$ac_c_werror_flag" ||
25232 test ! -s conftest.err
25233 } && test -s conftest.$ac_objext; then
25234 ac_cv_sys_file_offset_bits=64
25235 else
25236 echo "$as_me: failed program was:" >&5
25237 sed 's/^/| /' conftest.$ac_ext >&5
25238
25239 ac_cv_sys_file_offset_bits=no
25240 fi
25241
25242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243
25244
25245 fi
25246 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25247 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25248
25249 if test "$ac_cv_sys_file_offset_bits" != no; then
25250 wx_largefile=yes
25251 cat >>confdefs.h <<_ACEOF
25252 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25253 _ACEOF
25254
25255 fi
25256
25257 if test "x$wx_largefile" != "xyes"; then
25258
25259 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25260 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25261 if test "${ac_cv_sys_large_files+set}" = set; then
25262 echo $ECHO_N "(cached) $ECHO_C" >&6
25263 else
25264
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271 #define _LARGE_FILES 1
25272 #include <sys/types.h>
25273 int
25274 main ()
25275 {
25276 typedef struct {
25277 unsigned int field: sizeof(off_t) == 8;
25278 } wxlf;
25279
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext
25285 if { (ac_try="$ac_compile"
25286 case "(($ac_try" in
25287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25288 *) ac_try_echo=$ac_try;;
25289 esac
25290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25291 (eval "$ac_compile") 2>conftest.er1
25292 ac_status=$?
25293 grep -v '^ *+' conftest.er1 >conftest.err
25294 rm -f conftest.er1
25295 cat conftest.err >&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); } && {
25298 test -z "$ac_c_werror_flag" ||
25299 test ! -s conftest.err
25300 } && test -s conftest.$ac_objext; then
25301 ac_cv_sys_large_files=1
25302 else
25303 echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25305
25306 ac_cv_sys_large_files=no
25307 fi
25308
25309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25310
25311
25312 fi
25313 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25314 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25315
25316 if test "$ac_cv_sys_large_files" != no; then
25317 wx_largefile=yes
25318 cat >>confdefs.h <<_ACEOF
25319 #define _LARGE_FILES $ac_cv_sys_large_files
25320 _ACEOF
25321
25322 fi
25323
25324 fi
25325
25326 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25327 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25328 if test "x$wx_largefile" = "xyes"; then
25329 cat >>confdefs.h <<\_ACEOF
25330 #define HAVE_LARGEFILE_SUPPORT 1
25331 _ACEOF
25332
25333 fi
25334 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25335 echo "${ECHO_T}$wx_largefile" >&6; }
25336 fi
25337
25338
25339 if test "x$wx_largefile" = "xyes"; then
25340 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25341 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25342
25343 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25344 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25345 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25346 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25347 echo $ECHO_N "(cached) $ECHO_C" >&6
25348 else
25349
25350 ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25355
25356 cat >conftest.$ac_ext <<_ACEOF
25357 /* confdefs.h. */
25358 _ACEOF
25359 cat confdefs.h >>conftest.$ac_ext
25360 cat >>conftest.$ac_ext <<_ACEOF
25361 /* end confdefs.h. */
25362
25363 int
25364 main ()
25365 {
25366
25367 #ifndef __STDC_EXT__
25368 choke me
25369 #endif
25370
25371 ;
25372 return 0;
25373 }
25374 _ACEOF
25375 rm -f conftest.$ac_objext
25376 if { (ac_try="$ac_compile"
25377 case "(($ac_try" in
25378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25379 *) ac_try_echo=$ac_try;;
25380 esac
25381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25382 (eval "$ac_compile") 2>conftest.er1
25383 ac_status=$?
25384 grep -v '^ *+' conftest.er1 >conftest.err
25385 rm -f conftest.er1
25386 cat conftest.err >&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } && {
25389 test -z "$ac_cxx_werror_flag" ||
25390 test ! -s conftest.err
25391 } && test -s conftest.$ac_objext; then
25392 wx_cv_STDC_EXT_required=no
25393 else
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25396
25397 wx_cv_STDC_EXT_required=yes
25398
25399 fi
25400
25401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25402 ac_ext=c
25403 ac_cpp='$CPP $CPPFLAGS'
25404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25407
25408
25409
25410 fi
25411 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25412 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25413 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25414 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25415 fi
25416 fi
25417 else
25418 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25419 fi
25420 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25421 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25422 if test "${ac_cv_sys_largefile_source+set}" = set; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25424 else
25425 while :; do
25426 cat >conftest.$ac_ext <<_ACEOF
25427 /* confdefs.h. */
25428 _ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25432 #include <sys/types.h> /* for off_t */
25433 #include <stdio.h>
25434 int
25435 main ()
25436 {
25437 int (*fp) (FILE *, off_t, int) = fseeko;
25438 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25439 ;
25440 return 0;
25441 }
25442 _ACEOF
25443 rm -f conftest.$ac_objext conftest$ac_exeext
25444 if { (ac_try="$ac_link"
25445 case "(($ac_try" in
25446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25447 *) ac_try_echo=$ac_try;;
25448 esac
25449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 (eval "$ac_link") 2>conftest.er1
25451 ac_status=$?
25452 grep -v '^ *+' conftest.er1 >conftest.err
25453 rm -f conftest.er1
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } && {
25457 test -z "$ac_c_werror_flag" ||
25458 test ! -s conftest.err
25459 } && test -s conftest$ac_exeext &&
25460 $as_test_x conftest$ac_exeext; then
25461 ac_cv_sys_largefile_source=no; break
25462 else
25463 echo "$as_me: failed program was:" >&5
25464 sed 's/^/| /' conftest.$ac_ext >&5
25465
25466
25467 fi
25468
25469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25470 conftest$ac_exeext conftest.$ac_ext
25471 cat >conftest.$ac_ext <<_ACEOF
25472 /* confdefs.h. */
25473 _ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25477 #define _LARGEFILE_SOURCE 1
25478 #include <sys/types.h> /* for off_t */
25479 #include <stdio.h>
25480 int
25481 main ()
25482 {
25483 int (*fp) (FILE *, off_t, int) = fseeko;
25484 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25485 ;
25486 return 0;
25487 }
25488 _ACEOF
25489 rm -f conftest.$ac_objext conftest$ac_exeext
25490 if { (ac_try="$ac_link"
25491 case "(($ac_try" in
25492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25493 *) ac_try_echo=$ac_try;;
25494 esac
25495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25496 (eval "$ac_link") 2>conftest.er1
25497 ac_status=$?
25498 grep -v '^ *+' conftest.er1 >conftest.err
25499 rm -f conftest.er1
25500 cat conftest.err >&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); } && {
25503 test -z "$ac_c_werror_flag" ||
25504 test ! -s conftest.err
25505 } && test -s conftest$ac_exeext &&
25506 $as_test_x conftest$ac_exeext; then
25507 ac_cv_sys_largefile_source=1; break
25508 else
25509 echo "$as_me: failed program was:" >&5
25510 sed 's/^/| /' conftest.$ac_ext >&5
25511
25512
25513 fi
25514
25515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25516 conftest$ac_exeext conftest.$ac_ext
25517 ac_cv_sys_largefile_source=unknown
25518 break
25519 done
25520 fi
25521 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25522 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25523 case $ac_cv_sys_largefile_source in #(
25524 no | unknown) ;;
25525 *)
25526 cat >>confdefs.h <<_ACEOF
25527 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25528 _ACEOF
25529 ;;
25530 esac
25531 rm -f conftest*
25532
25533 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25534 # in glibc 2.1.3, but that breaks too many other things.
25535 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25536 if test $ac_cv_sys_largefile_source != unknown; then
25537
25538 cat >>confdefs.h <<\_ACEOF
25539 #define HAVE_FSEEKO 1
25540 _ACEOF
25541
25542 fi
25543
25544 if test "$ac_cv_sys_largefile_source" != no; then
25545 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25546 fi
25547 fi
25548
25549 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25550 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25551 if test "${ac_cv_c_bigendian+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25554 ac_cv_c_bigendian=unknown
25555 # See if sys/param.h defines the BYTE_ORDER macro.
25556 cat >conftest.$ac_ext <<_ACEOF
25557 /* confdefs.h. */
25558 _ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25562 #include <sys/types.h>
25563 #include <sys/param.h>
25564 int
25565 main ()
25566 {
25567
25568 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25569 bogus endian macros
25570 #endif
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 rm -f conftest.$ac_objext
25576 if { (ac_try="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579 *) ac_try_echo=$ac_try;;
25580 esac
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25583 ac_status=$?
25584 grep -v '^ *+' conftest.er1 >conftest.err
25585 rm -f conftest.er1
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_c_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.$ac_objext; then
25592 # It does; now see whether it defined to BIG_ENDIAN or not.
25593 cat >conftest.$ac_ext <<_ACEOF
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599 #include <sys/types.h>
25600 #include <sys/param.h>
25601 int
25602 main ()
25603 {
25604
25605 #if BYTE_ORDER != BIG_ENDIAN
25606 not big endian
25607 #endif
25608 ;
25609 return 0;
25610 }
25611 _ACEOF
25612 rm -f conftest.$ac_objext
25613 if { (ac_try="$ac_compile"
25614 case "(($ac_try" in
25615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25616 *) ac_try_echo=$ac_try;;
25617 esac
25618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25619 (eval "$ac_compile") 2>conftest.er1
25620 ac_status=$?
25621 grep -v '^ *+' conftest.er1 >conftest.err
25622 rm -f conftest.er1
25623 cat conftest.err >&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } && {
25626 test -z "$ac_c_werror_flag" ||
25627 test ! -s conftest.err
25628 } && test -s conftest.$ac_objext; then
25629 ac_cv_c_bigendian=yes
25630 else
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 ac_cv_c_bigendian=no
25635 fi
25636
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 else
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25641
25642
25643 fi
25644
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 if test $ac_cv_c_bigendian = unknown; then
25647 if test "$cross_compiling" = yes; then
25648 ac_cv_c_bigendian=unknown
25649 else
25650 cat >conftest.$ac_ext <<_ACEOF
25651 /* confdefs.h. */
25652 _ACEOF
25653 cat confdefs.h >>conftest.$ac_ext
25654 cat >>conftest.$ac_ext <<_ACEOF
25655 /* end confdefs.h. */
25656 main () {
25657 /* Are we little or big endian? From Harbison&Steele. */
25658 union
25659 {
25660 long l;
25661 char c[sizeof (long)];
25662 } u;
25663 u.l = 1;
25664 exit (u.c[sizeof (long) - 1] == 1);
25665 }
25666 _ACEOF
25667 rm -f conftest$ac_exeext
25668 if { (ac_try="$ac_link"
25669 case "(($ac_try" in
25670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25671 *) ac_try_echo=$ac_try;;
25672 esac
25673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25674 (eval "$ac_link") 2>&5
25675 ac_status=$?
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25678 { (case "(($ac_try" in
25679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25680 *) ac_try_echo=$ac_try;;
25681 esac
25682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25683 (eval "$ac_try") 2>&5
25684 ac_status=$?
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); }; }; then
25687 ac_cv_c_bigendian=no
25688 else
25689 echo "$as_me: program exited with status $ac_status" >&5
25690 echo "$as_me: failed program was:" >&5
25691 sed 's/^/| /' conftest.$ac_ext >&5
25692
25693 ( exit $ac_status )
25694 ac_cv_c_bigendian=yes
25695 fi
25696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25697 fi
25698
25699
25700 fi
25701 fi
25702 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25703 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25704 if test $ac_cv_c_bigendian = unknown; then
25705 { 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
25706 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;}
25707 fi
25708 if test $ac_cv_c_bigendian = yes; then
25709 cat >>confdefs.h <<\_ACEOF
25710 #define WORDS_BIGENDIAN 1
25711 _ACEOF
25712
25713 fi
25714
25715
25716
25717
25718 ac_ext=cpp
25719 ac_cpp='$CXXCPP $CPPFLAGS'
25720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25723
25724
25725
25726 for ac_header in iostream
25727 do
25728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 else
25734 cat >conftest.$ac_ext <<_ACEOF
25735 /* confdefs.h. */
25736 _ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25740
25741
25742 #include <$ac_header>
25743 _ACEOF
25744 rm -f conftest.$ac_objext
25745 if { (ac_try="$ac_compile"
25746 case "(($ac_try" in
25747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25748 *) ac_try_echo=$ac_try;;
25749 esac
25750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25751 (eval "$ac_compile") 2>conftest.er1
25752 ac_status=$?
25753 grep -v '^ *+' conftest.er1 >conftest.err
25754 rm -f conftest.er1
25755 cat conftest.err >&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } && {
25758 test -z "$ac_cxx_werror_flag" ||
25759 test ! -s conftest.err
25760 } && test -s conftest.$ac_objext; then
25761 eval "$as_ac_Header=yes"
25762 else
25763 echo "$as_me: failed program was:" >&5
25764 sed 's/^/| /' conftest.$ac_ext >&5
25765
25766 eval "$as_ac_Header=no"
25767 fi
25768
25769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25770 fi
25771 ac_res=`eval echo '${'$as_ac_Header'}'`
25772 { echo "$as_me:$LINENO: result: $ac_res" >&5
25773 echo "${ECHO_T}$ac_res" >&6; }
25774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25775 cat >>confdefs.h <<_ACEOF
25776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25777 _ACEOF
25778
25779 fi
25780
25781 done
25782
25783
25784 if test "$ac_cv_header_iostream" = "yes" ; then
25785 :
25786 else
25787 cat >>confdefs.h <<\_ACEOF
25788 #define wxUSE_IOSTREAMH 1
25789 _ACEOF
25790
25791 fi
25792
25793 ac_ext=c
25794 ac_cpp='$CPP $CPPFLAGS'
25795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25798
25799
25800
25801
25802 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25803 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25804 if test "${wx_cv_cpp_bool+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808
25809 ac_ext=cpp
25810 ac_cpp='$CXXCPP $CPPFLAGS'
25811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25814
25815
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822
25823
25824 int
25825 main ()
25826 {
25827
25828 bool b = true;
25829
25830 return 0;
25831
25832 ;
25833 return 0;
25834 }
25835 _ACEOF
25836 rm -f conftest.$ac_objext
25837 if { (ac_try="$ac_compile"
25838 case "(($ac_try" in
25839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25840 *) ac_try_echo=$ac_try;;
25841 esac
25842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25843 (eval "$ac_compile") 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } && {
25850 test -z "$ac_cxx_werror_flag" ||
25851 test ! -s conftest.err
25852 } && test -s conftest.$ac_objext; then
25853
25854 wx_cv_cpp_bool=yes
25855
25856 else
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25859
25860
25861 wx_cv_cpp_bool=no
25862
25863
25864 fi
25865
25866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25867
25868 ac_ext=c
25869 ac_cpp='$CPP $CPPFLAGS'
25870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25873
25874
25875 fi
25876 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25877 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25878
25879 if test "$wx_cv_cpp_bool" = "yes"; then
25880 cat >>confdefs.h <<\_ACEOF
25881 #define HAVE_BOOL 1
25882 _ACEOF
25883
25884 fi
25885
25886
25887
25888 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25889 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25890 if test "${wx_cv_explicit+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 else
25893
25894
25895 ac_ext=cpp
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25900
25901
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908
25909 class Foo { public: explicit Foo(int) {} };
25910
25911 int
25912 main ()
25913 {
25914
25915 return 0;
25916
25917 ;
25918 return 0;
25919 }
25920 _ACEOF
25921 rm -f conftest.$ac_objext
25922 if { (ac_try="$ac_compile"
25923 case "(($ac_try" in
25924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25925 *) ac_try_echo=$ac_try;;
25926 esac
25927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25928 (eval "$ac_compile") 2>conftest.er1
25929 ac_status=$?
25930 grep -v '^ *+' conftest.er1 >conftest.err
25931 rm -f conftest.er1
25932 cat conftest.err >&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } && {
25935 test -z "$ac_cxx_werror_flag" ||
25936 test ! -s conftest.err
25937 } && test -s conftest.$ac_objext; then
25938
25939 cat >conftest.$ac_ext <<_ACEOF
25940 /* confdefs.h. */
25941 _ACEOF
25942 cat confdefs.h >>conftest.$ac_ext
25943 cat >>conftest.$ac_ext <<_ACEOF
25944 /* end confdefs.h. */
25945
25946 class Foo { public: explicit Foo(int) {} };
25947 static void TakeFoo(const Foo& foo) { }
25948
25949 int
25950 main ()
25951 {
25952
25953 TakeFoo(17);
25954 return 0;
25955
25956 ;
25957 return 0;
25958 }
25959 _ACEOF
25960 rm -f conftest.$ac_objext
25961 if { (ac_try="$ac_compile"
25962 case "(($ac_try" in
25963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25964 *) ac_try_echo=$ac_try;;
25965 esac
25966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25967 (eval "$ac_compile") 2>conftest.er1
25968 ac_status=$?
25969 grep -v '^ *+' conftest.er1 >conftest.err
25970 rm -f conftest.er1
25971 cat conftest.err >&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } && {
25974 test -z "$ac_cxx_werror_flag" ||
25975 test ! -s conftest.err
25976 } && test -s conftest.$ac_objext; then
25977 wx_cv_explicit=no
25978 else
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25981
25982 wx_cv_explicit=yes
25983
25984 fi
25985
25986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25987
25988 else
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.$ac_ext >&5
25991
25992 wx_cv_explicit=no
25993
25994 fi
25995
25996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25997
25998 ac_ext=c
25999 ac_cpp='$CPP $CPPFLAGS'
26000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26003
26004
26005 fi
26006 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26007 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26008
26009 if test "$wx_cv_explicit" = "yes"; then
26010 cat >>confdefs.h <<\_ACEOF
26011 #define HAVE_EXPLICIT 1
26012 _ACEOF
26013
26014 fi
26015
26016
26017 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26018 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26019 if test "${ac_cv_cxx_const_cast+set}" = set; then
26020 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 else
26022
26023 ac_ext=cpp
26024 ac_cpp='$CXXCPP $CPPFLAGS'
26025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26028
26029 cat >conftest.$ac_ext <<_ACEOF
26030 /* confdefs.h. */
26031 _ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26035
26036 int
26037 main ()
26038 {
26039 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26040 ;
26041 return 0;
26042 }
26043 _ACEOF
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26049 esac
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26052 ac_status=$?
26053 grep -v '^ *+' conftest.er1 >conftest.err
26054 rm -f conftest.er1
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_cxx_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.$ac_objext; then
26061 ac_cv_cxx_const_cast=yes
26062 else
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26065
26066 ac_cv_cxx_const_cast=no
26067 fi
26068
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 ac_ext=c
26071 ac_cpp='$CPP $CPPFLAGS'
26072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26075
26076
26077 fi
26078 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26079 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26080 if test "$ac_cv_cxx_const_cast" = yes; then
26081
26082 cat >>confdefs.h <<\_ACEOF
26083 #define HAVE_CONST_CAST
26084 _ACEOF
26085
26086 fi
26087
26088 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26089 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26090 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093
26094 ac_ext=cpp
26095 ac_cpp='$CXXCPP $CPPFLAGS'
26096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099
26100 cat >conftest.$ac_ext <<_ACEOF
26101 /* confdefs.h. */
26102 _ACEOF
26103 cat confdefs.h >>conftest.$ac_ext
26104 cat >>conftest.$ac_ext <<_ACEOF
26105 /* end confdefs.h. */
26106 #include <typeinfo>
26107 class Base { public : Base () {} virtual void f () = 0;};
26108 class Derived : public Base { public : Derived () {} virtual void f () {} };
26109 class Unrelated { public : Unrelated () {} };
26110 int g (Unrelated&) { return 0; }
26111 int
26112 main ()
26113 {
26114
26115 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26116 ;
26117 return 0;
26118 }
26119 _ACEOF
26120 rm -f conftest.$ac_objext
26121 if { (ac_try="$ac_compile"
26122 case "(($ac_try" in
26123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26124 *) ac_try_echo=$ac_try;;
26125 esac
26126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26127 (eval "$ac_compile") 2>conftest.er1
26128 ac_status=$?
26129 grep -v '^ *+' conftest.er1 >conftest.err
26130 rm -f conftest.er1
26131 cat conftest.err >&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); } && {
26134 test -z "$ac_cxx_werror_flag" ||
26135 test ! -s conftest.err
26136 } && test -s conftest.$ac_objext; then
26137 ac_cv_cxx_reinterpret_cast=yes
26138 else
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.$ac_ext >&5
26141
26142 ac_cv_cxx_reinterpret_cast=no
26143 fi
26144
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151
26152
26153 fi
26154 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26155 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26156 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26157
26158 cat >>confdefs.h <<\_ACEOF
26159 #define HAVE_REINTERPRET_CAST
26160 _ACEOF
26161
26162 fi
26163
26164 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26165 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26166 if test "${ac_cv_cxx_static_cast+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 else
26169
26170 ac_ext=cpp
26171 ac_cpp='$CXXCPP $CPPFLAGS'
26172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26175
26176 cat >conftest.$ac_ext <<_ACEOF
26177 /* confdefs.h. */
26178 _ACEOF
26179 cat confdefs.h >>conftest.$ac_ext
26180 cat >>conftest.$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 #include <typeinfo>
26183 class Base { public : Base () {} virtual void f () = 0; };
26184 class Derived : public Base { public : Derived () {} virtual void f () {} };
26185 int g (Derived&) { return 0; }
26186 int
26187 main ()
26188 {
26189
26190 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26191 ;
26192 return 0;
26193 }
26194 _ACEOF
26195 rm -f conftest.$ac_objext
26196 if { (ac_try="$ac_compile"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26200 esac
26201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_compile") 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } && {
26209 test -z "$ac_cxx_werror_flag" ||
26210 test ! -s conftest.err
26211 } && test -s conftest.$ac_objext; then
26212 ac_cv_cxx_static_cast=yes
26213 else
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26216
26217 ac_cv_cxx_static_cast=no
26218 fi
26219
26220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26221 ac_ext=c
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226
26227
26228 fi
26229 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26230 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26231 if test "$ac_cv_cxx_static_cast" = yes; then
26232
26233 cat >>confdefs.h <<\_ACEOF
26234 #define HAVE_STATIC_CAST
26235 _ACEOF
26236
26237 fi
26238
26239
26240 if test "x$SUNCXX" = xyes; then
26241 CXXFLAGS="-features=tmplife $CXXFLAGS"
26242 fi
26243
26244 if test "x$SUNCC" = xyes; then
26245 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26246 fi
26247
26248 if test "x$SGICC" = "xyes"; then
26249 CFLAGS="-woff 3970 $CFLAGS"
26250 fi
26251 if test "x$SGICXX" = "xyes"; then
26252 CXXFLAGS="-woff 3970 $CXXFLAGS"
26253 fi
26254
26255 if test "x$HPCC" = "xyes"; then
26256 CFLAGS="+W 2011,2450 $CFLAGS"
26257 fi
26258 if test "x$HPCXX" = "xyes"; then
26259 CXXFLAGS="+W 2340 $CXXFLAGS"
26260 fi
26261
26262 if test "x$COMPAQCXX" = "xyes"; then
26263 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26264 fi
26265
26266 ac_ext=cpp
26267 ac_cpp='$CXXCPP $CPPFLAGS'
26268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271
26272
26273 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26274 if test "$wxUSE_UNICODE" = "yes"; then
26275 std_string="std::wstring"
26276 char_type="wchar_t"
26277 else
26278 std_string="std::string"
26279 char_type="char"
26280 fi
26281
26282 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26283 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26284 if test "${wx_cv_class_stdstring+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26286 else
26287
26288 cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h. */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26294 #include <string>
26295 int
26296 main ()
26297 {
26298 $std_string foo;
26299 ;
26300 return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (ac_try="$ac_compile"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_compile") 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_cxx_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest.$ac_objext; then
26320 wx_cv_class_stdstring=yes
26321 else
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325 wx_cv_class_stdstring=no
26326
26327 fi
26328
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330
26331
26332 fi
26333 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26334 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26335
26336 if test "$wx_cv_class_stdstring" = yes; then
26337 if test "$wxUSE_UNICODE" = "yes"; then
26338 cat >>confdefs.h <<\_ACEOF
26339 #define HAVE_STD_WSTRING 1
26340 _ACEOF
26341
26342 fi
26343 else
26344 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26345 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26346 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349
26350 cat >conftest.$ac_ext <<_ACEOF
26351 /* confdefs.h. */
26352 _ACEOF
26353 cat confdefs.h >>conftest.$ac_ext
26354 cat >>conftest.$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26356
26357 #ifdef HAVE_WCHAR_H
26358 # ifdef __CYGWIN__
26359 # include <stddef.h>
26360 # endif
26361 # include <wchar.h>
26362 #endif
26363 #ifdef HAVE_STDLIB_H
26364 # include <stdlib.h>
26365 #endif
26366 #include <stdio.h>
26367 #include <string>
26368
26369 int
26370 main ()
26371 {
26372 std::basic_string<$char_type> foo;
26373 const $char_type* dummy = foo.c_str();
26374 ;
26375 return 0;
26376 }
26377 _ACEOF
26378 rm -f conftest.$ac_objext
26379 if { (ac_try="$ac_compile"
26380 case "(($ac_try" in
26381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26382 *) ac_try_echo=$ac_try;;
26383 esac
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_compile") 2>conftest.er1
26386 ac_status=$?
26387 grep -v '^ *+' conftest.er1 >conftest.err
26388 rm -f conftest.er1
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && {
26392 test -z "$ac_cxx_werror_flag" ||
26393 test ! -s conftest.err
26394 } && test -s conftest.$ac_objext; then
26395 wx_cv_class_stdbasicstring=yes
26396 else
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.$ac_ext >&5
26399
26400 wx_cv_class_stdbasicstring=no
26401
26402 fi
26403
26404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26405
26406
26407 fi
26408 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26409 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26410
26411 if test "$wx_cv_class_stdbasicstring" != yes; then
26412 if test "$wxUSE_STL" = "yes"; then
26413 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26414 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26415 { (exit 1); exit 1; }; }
26416 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26417 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26418 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26419 { (exit 1); exit 1; }; }
26420 else
26421 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26422 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26423 wxUSE_STD_STRING=no
26424 fi
26425 fi
26426 fi
26427 fi
26428
26429 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26430 { echo "$as_me:$LINENO: checking for std::istream" >&5
26431 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26432 if test "${ac_cv_type_std__istream+set}" = set; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26434 else
26435 cat >conftest.$ac_ext <<_ACEOF
26436 /* confdefs.h. */
26437 _ACEOF
26438 cat confdefs.h >>conftest.$ac_ext
26439 cat >>conftest.$ac_ext <<_ACEOF
26440 /* end confdefs.h. */
26441 #include <iostream>
26442
26443 typedef std::istream ac__type_new_;
26444 int
26445 main ()
26446 {
26447 if ((ac__type_new_ *) 0)
26448 return 0;
26449 if (sizeof (ac__type_new_))
26450 return 0;
26451 ;
26452 return 0;
26453 }
26454 _ACEOF
26455 rm -f conftest.$ac_objext
26456 if { (ac_try="$ac_compile"
26457 case "(($ac_try" in
26458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26459 *) ac_try_echo=$ac_try;;
26460 esac
26461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26462 (eval "$ac_compile") 2>conftest.er1
26463 ac_status=$?
26464 grep -v '^ *+' conftest.er1 >conftest.err
26465 rm -f conftest.er1
26466 cat conftest.err >&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } && {
26469 test -z "$ac_cxx_werror_flag" ||
26470 test ! -s conftest.err
26471 } && test -s conftest.$ac_objext; then
26472 ac_cv_type_std__istream=yes
26473 else
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 ac_cv_type_std__istream=no
26478 fi
26479
26480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 fi
26482 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26483 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26484 if test $ac_cv_type_std__istream = yes; then
26485
26486 cat >>confdefs.h <<_ACEOF
26487 #define HAVE_STD__ISTREAM 1
26488 _ACEOF
26489
26490
26491 else
26492 wxUSE_STD_IOSTREAM=no
26493 fi
26494 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26495 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26496 if test "${ac_cv_type_std__ostream+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26499 cat >conftest.$ac_ext <<_ACEOF
26500 /* confdefs.h. */
26501 _ACEOF
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505 #include <iostream>
26506
26507 typedef std::ostream ac__type_new_;
26508 int
26509 main ()
26510 {
26511 if ((ac__type_new_ *) 0)
26512 return 0;
26513 if (sizeof (ac__type_new_))
26514 return 0;
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (ac_try="$ac_compile"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_compile") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_cxx_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest.$ac_objext; then
26536 ac_cv_type_std__ostream=yes
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 ac_cv_type_std__ostream=no
26542 fi
26543
26544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26545 fi
26546 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26547 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26548 if test $ac_cv_type_std__ostream = yes; then
26549
26550 cat >>confdefs.h <<_ACEOF
26551 #define HAVE_STD__OSTREAM 1
26552 _ACEOF
26553
26554
26555 else
26556 wxUSE_STD_IOSTREAM=no
26557 fi
26558
26559
26560 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26561 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26562 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26563 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26564 { (exit 1); exit 1; }; }
26565 else
26566 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26567 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26568 fi
26569 fi
26570 fi
26571
26572 if test "$wxUSE_STL" = "yes"; then
26573 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26574 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26575 if test "${wx_cv_lib_stl+set}" = set; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26578 cat >conftest.$ac_ext <<_ACEOF
26579 /* confdefs.h. */
26580 _ACEOF
26581 cat confdefs.h >>conftest.$ac_ext
26582 cat >>conftest.$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26584 #include <string>
26585 #include <functional>
26586 #include <algorithm>
26587 #include <vector>
26588 #include <list>
26589 int
26590 main ()
26591 {
26592 std::vector<int> moo;
26593 std::list<int> foo;
26594 std::vector<int>::iterator it =
26595 std::find_if(moo.begin(), moo.end(),
26596 std::bind2nd(std::less<int>(), 3));
26597 ;
26598 return 0;
26599 }
26600 _ACEOF
26601 rm -f conftest.$ac_objext
26602 if { (ac_try="$ac_compile"
26603 case "(($ac_try" in
26604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26605 *) ac_try_echo=$ac_try;;
26606 esac
26607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26608 (eval "$ac_compile") 2>conftest.er1
26609 ac_status=$?
26610 grep -v '^ *+' conftest.er1 >conftest.err
26611 rm -f conftest.er1
26612 cat conftest.err >&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); } && {
26615 test -z "$ac_cxx_werror_flag" ||
26616 test ! -s conftest.err
26617 } && test -s conftest.$ac_objext; then
26618 wx_cv_lib_stl=yes
26619 else
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26622
26623 wx_cv_lib_stl=no
26624
26625 fi
26626
26627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26628
26629 fi
26630 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26631 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26632
26633 if test "$wx_cv_lib_stl" != yes; then
26634 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26635 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26636 { (exit 1); exit 1; }; }
26637 fi
26638
26639 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26640 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26641 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26644 cat >conftest.$ac_ext <<_ACEOF
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 #include <string>
26651 int
26652 main ()
26653 {
26654 std::string foo, bar;
26655 foo.compare(bar);
26656 foo.compare(1, 1, bar);
26657 foo.compare(1, 1, bar, 1, 1);
26658 foo.compare("");
26659 foo.compare(1, 1, "");
26660 foo.compare(1, 1, "", 2);
26661 ;
26662 return 0;
26663 }
26664 _ACEOF
26665 rm -f conftest.$ac_objext
26666 if { (ac_try="$ac_compile"
26667 case "(($ac_try" in
26668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26669 *) ac_try_echo=$ac_try;;
26670 esac
26671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26672 (eval "$ac_compile") 2>conftest.er1
26673 ac_status=$?
26674 grep -v '^ *+' conftest.er1 >conftest.err
26675 rm -f conftest.er1
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } && {
26679 test -z "$ac_cxx_werror_flag" ||
26680 test ! -s conftest.err
26681 } && test -s conftest.$ac_objext; then
26682 wx_cv_func_stdstring_compare=yes
26683 else
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.$ac_ext >&5
26686
26687 wx_cv_func_stdstring_compare=no
26688
26689 fi
26690
26691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26692
26693 fi
26694 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26695 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26696
26697 if test "$wx_cv_func_stdstring_compare" = yes; then
26698 cat >>confdefs.h <<\_ACEOF
26699 #define HAVE_STD_STRING_COMPARE 1
26700 _ACEOF
26701
26702 fi
26703
26704 { echo "$as_me:$LINENO: checking for hash_map" >&5
26705 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26706 if test "${ac_cv_header_hash_map+set}" = set; then
26707 echo $ECHO_N "(cached) $ECHO_C" >&6
26708 else
26709 cat >conftest.$ac_ext <<_ACEOF
26710 /* confdefs.h. */
26711 _ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26715
26716
26717
26718 #include <hash_map>
26719 _ACEOF
26720 rm -f conftest.$ac_objext
26721 if { (ac_try="$ac_compile"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_compile") 2>conftest.er1
26728 ac_status=$?
26729 grep -v '^ *+' conftest.er1 >conftest.err
26730 rm -f conftest.er1
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && {
26734 test -z "$ac_cxx_werror_flag" ||
26735 test ! -s conftest.err
26736 } && test -s conftest.$ac_objext; then
26737 ac_cv_header_hash_map=yes
26738 else
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 ac_cv_header_hash_map=no
26743 fi
26744
26745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26746 fi
26747 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26748 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26749 if test $ac_cv_header_hash_map = yes; then
26750 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26751 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26752 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 else
26755 cat >conftest.$ac_ext <<_ACEOF
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761 #include <hash_map>
26762 #include <hash_set>
26763 int
26764 main ()
26765 {
26766 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26767 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26768 ;
26769 return 0;
26770 }
26771 _ACEOF
26772 rm -f conftest.$ac_objext
26773 if { (ac_try="$ac_compile"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26776 *) ac_try_echo=$ac_try;;
26777 esac
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_compile") 2>conftest.er1
26780 ac_status=$?
26781 grep -v '^ *+' conftest.er1 >conftest.err
26782 rm -f conftest.er1
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_cxx_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest.$ac_objext; then
26789 wx_cv_class_stdhashmapset=yes
26790 else
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.$ac_ext >&5
26793
26794 wx_cv_class_stdhashmapset=no
26795 fi
26796
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798
26799
26800 fi
26801 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26802 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26803 fi
26804
26805
26806
26807 if test "$wx_cv_class_stdhashmapset" = yes; then
26808 cat >>confdefs.h <<\_ACEOF
26809 #define HAVE_HASH_MAP 1
26810 _ACEOF
26811
26812 cat >>confdefs.h <<\_ACEOF
26813 #define HAVE_STD_HASH_MAP 1
26814 _ACEOF
26815
26816 fi
26817
26818 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26819 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26820 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26821 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 else
26823 cat >conftest.$ac_ext <<_ACEOF
26824 /* confdefs.h. */
26825 _ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829
26830
26831
26832 #include <ext/hash_map>
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (ac_try="$ac_compile"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_compile") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_cxx_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest.$ac_objext; then
26851 ac_cv_header_ext_hash_map=yes
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26855
26856 ac_cv_header_ext_hash_map=no
26857 fi
26858
26859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26860 fi
26861 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26862 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26863 if test $ac_cv_header_ext_hash_map = yes; then
26864 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26865 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26866 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <ext/hash_map>
26876 #include <ext/hash_set>
26877 int
26878 main ()
26879 {
26880 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26881 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26882 ;
26883 return 0;
26884 }
26885 _ACEOF
26886 rm -f conftest.$ac_objext
26887 if { (ac_try="$ac_compile"
26888 case "(($ac_try" in
26889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26890 *) ac_try_echo=$ac_try;;
26891 esac
26892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26893 (eval "$ac_compile") 2>conftest.er1
26894 ac_status=$?
26895 grep -v '^ *+' conftest.er1 >conftest.err
26896 rm -f conftest.er1
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } && {
26900 test -z "$ac_cxx_werror_flag" ||
26901 test ! -s conftest.err
26902 } && test -s conftest.$ac_objext; then
26903 wx_cv_class_gnuhashmapset=yes
26904 else
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.$ac_ext >&5
26907
26908 wx_cv_class_gnuhashmapset=no
26909 fi
26910
26911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26912
26913
26914 fi
26915 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26916 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26917 fi
26918
26919
26920
26921 if test "$wx_cv_class_gnuhashmapset" = yes; then
26922 cat >>confdefs.h <<\_ACEOF
26923 #define HAVE_EXT_HASH_MAP 1
26924 _ACEOF
26925
26926 cat >>confdefs.h <<\_ACEOF
26927 #define HAVE_GNU_CXX_HASH_MAP 1
26928 _ACEOF
26929
26930 fi
26931 fi
26932
26933 ac_ext=c
26934 ac_cpp='$CPP $CPPFLAGS'
26935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26938
26939
26940
26941 SEARCH_INCLUDE="\
26942 /usr/local/include \
26943 \
26944 /usr/Motif-2.1/include \
26945 /usr/Motif-1.2/include \
26946 /usr/include/Motif1.2 \
26947 \
26948 /usr/dt/include \
26949 /usr/openwin/include \
26950 \
26951 /usr/include/Xm \
26952 \
26953 /usr/X11R6/include \
26954 /usr/X11R6.4/include \
26955 /usr/X11R5/include \
26956 /usr/X11R4/include \
26957 \
26958 /usr/include/X11R6 \
26959 /usr/include/X11R5 \
26960 /usr/include/X11R4 \
26961 \
26962 /usr/local/X11R6/include \
26963 /usr/local/X11R5/include \
26964 /usr/local/X11R4/include \
26965 \
26966 /usr/local/include/X11R6 \
26967 /usr/local/include/X11R5 \
26968 /usr/local/include/X11R4 \
26969 \
26970 /usr/X11/include \
26971 /usr/include/X11 \
26972 /usr/local/X11/include \
26973 /usr/local/include/X11 \
26974 \
26975 /usr/XFree86/include/X11 \
26976 /usr/pkg/include \
26977 \
26978 /usr/openwin/share/include"
26979
26980 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26981 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26982
26983 case "${host}" in
26984 *-*-irix6* )
26985 if test "${wx_cv_std_libpath+set}" = set; then
26986 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 else
26988
26989 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26990 for e in a so sl dylib dll.a; do
26991 libc="$d/libc.$e"
26992 if test -f $libc; then
26993 save_LIBS="$LIBS"
26994 LIBS="$libc"
26995 cat >conftest.$ac_ext <<_ACEOF
26996 int main() { return 0; }
26997 _ACEOF
26998 rm -f conftest.$ac_objext conftest$ac_exeext
26999 if { (ac_try="$ac_link"
27000 case "(($ac_try" in
27001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27002 *) ac_try_echo=$ac_try;;
27003 esac
27004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27005 (eval "$ac_link") 2>conftest.er1
27006 ac_status=$?
27007 grep -v '^ *+' conftest.er1 >conftest.err
27008 rm -f conftest.er1
27009 cat conftest.err >&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } && {
27012 test -z "$ac_c_werror_flag" ||
27013 test ! -s conftest.err
27014 } && test -s conftest$ac_exeext &&
27015 $as_test_x conftest$ac_exeext; then
27016 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27017 else
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27020
27021
27022 fi
27023
27024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27025 conftest$ac_exeext conftest.$ac_ext
27026 LIBS="$save_LIBS"
27027 if test "x$wx_cv_std_libpath" != "x"; then
27028 break 2
27029 fi
27030 fi
27031 done
27032 done
27033 if test "x$wx_cv_std_libpath" = "x"; then
27034 wx_cv_std_libpath="lib"
27035 fi
27036
27037
27038 fi
27039
27040 ;;
27041
27042 *-*-solaris2* )
27043 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27044 wx_cv_std_libpath="lib/64"
27045 else
27046 wx_cv_std_libpath="lib"
27047 fi
27048 ;;
27049
27050 *-*-linux* )
27051 if test "$ac_cv_sizeof_void_p" = 8 -a \
27052 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27053 wx_cv_std_libpath="lib64"
27054 else
27055 wx_cv_std_libpath="lib"
27056 fi
27057 ;;
27058
27059 *)
27060 wx_cv_std_libpath="lib";
27061 ;;
27062 esac
27063
27064 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27065 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27066
27067 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27068
27069 if test "$build" != "$host" -a "$GCC" = yes; then
27070 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27071 cross_root=`dirname $cross_root`
27072 cross_root=`dirname $cross_root`
27073
27074 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27075 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27076 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27077
27078 if test -z "$PKG_CONFIG_PATH"; then
27079 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27080 export PKG_CONFIG_PATH
27081 fi
27082
27083 if test -z "$x_includes" -o "$x_includes" = NONE; then
27084
27085 ac_find_includes=
27086 for ac_dir in $SEARCH_INCLUDE /usr/include;
27087 do
27088 if test -f "$ac_dir/X11/Intrinsic.h"; then
27089 ac_find_includes=$ac_dir
27090 break
27091 fi
27092 done
27093
27094 x_includes=$ac_find_includes
27095 fi
27096 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27097
27098 ac_find_libraries=
27099 for ac_dir in $SEARCH_LIB;
27100 do
27101 for ac_extension in a so sl dylib dll.a; do
27102 if test -f "$ac_dir/libXt.$ac_extension"; then
27103 ac_find_libraries=$ac_dir
27104 break 2
27105 fi
27106 done
27107 done
27108
27109 x_libraries=$ac_find_libraries
27110 fi
27111 fi
27112 fi
27113
27114
27115 cat >confcache <<\_ACEOF
27116 # This file is a shell script that caches the results of configure
27117 # tests run on this system so they can be shared between configure
27118 # scripts and configure runs, see configure's option --config-cache.
27119 # It is not useful on other systems. If it contains results you don't
27120 # want to keep, you may remove or edit it.
27121 #
27122 # config.status only pays attention to the cache file if you give it
27123 # the --recheck option to rerun configure.
27124 #
27125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27127 # following values.
27128
27129 _ACEOF
27130
27131 # The following way of writing the cache mishandles newlines in values,
27132 # but we know of no workaround that is simple, portable, and efficient.
27133 # So, we kill variables containing newlines.
27134 # Ultrix sh set writes to stderr and can't be redirected directly,
27135 # and sets the high bit in the cache file unless we assign to the vars.
27136 (
27137 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27138 eval ac_val=\$$ac_var
27139 case $ac_val in #(
27140 *${as_nl}*)
27141 case $ac_var in #(
27142 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27143 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27144 esac
27145 case $ac_var in #(
27146 _ | IFS | as_nl) ;; #(
27147 *) $as_unset $ac_var ;;
27148 esac ;;
27149 esac
27150 done
27151
27152 (set) 2>&1 |
27153 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27154 *${as_nl}ac_space=\ *)
27155 # `set' does not quote correctly, so add quotes (double-quote
27156 # substitution turns \\\\ into \\, and sed turns \\ into \).
27157 sed -n \
27158 "s/'/'\\\\''/g;
27159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27160 ;; #(
27161 *)
27162 # `set' quotes correctly as required by POSIX, so do not add quotes.
27163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27164 ;;
27165 esac |
27166 sort
27167 ) |
27168 sed '
27169 /^ac_cv_env_/b end
27170 t clear
27171 :clear
27172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27173 t end
27174 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27175 :end' >>confcache
27176 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27177 if test -w "$cache_file"; then
27178 test "x$cache_file" != "x/dev/null" &&
27179 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27180 echo "$as_me: updating cache $cache_file" >&6;}
27181 cat confcache >$cache_file
27182 else
27183 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27184 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27185 fi
27186 fi
27187 rm -f confcache
27188
27189 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27190 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27191 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27192 if test "${wx_cv_lib_glibc21+set}" = set; then
27193 echo $ECHO_N "(cached) $ECHO_C" >&6
27194 else
27195
27196 cat >conftest.$ac_ext <<_ACEOF
27197 /* confdefs.h. */
27198 _ACEOF
27199 cat confdefs.h >>conftest.$ac_ext
27200 cat >>conftest.$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27202 #include <features.h>
27203 int
27204 main ()
27205 {
27206
27207 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27208 not glibc 2.1
27209 #endif
27210
27211 ;
27212 return 0;
27213 }
27214 _ACEOF
27215 rm -f conftest.$ac_objext
27216 if { (ac_try="$ac_compile"
27217 case "(($ac_try" in
27218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27219 *) ac_try_echo=$ac_try;;
27220 esac
27221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27222 (eval "$ac_compile") 2>conftest.er1
27223 ac_status=$?
27224 grep -v '^ *+' conftest.er1 >conftest.err
27225 rm -f conftest.er1
27226 cat conftest.err >&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } && {
27229 test -z "$ac_c_werror_flag" ||
27230 test ! -s conftest.err
27231 } && test -s conftest.$ac_objext; then
27232
27233 wx_cv_lib_glibc21=yes
27234
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27238
27239
27240 wx_cv_lib_glibc21=no
27241
27242
27243 fi
27244
27245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27246
27247 fi
27248 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27249 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27250 if test "$wx_cv_lib_glibc21" = "yes"; then
27251 cat >>confdefs.h <<\_ACEOF
27252 #define wxHAVE_GLIBC2 1
27253 _ACEOF
27254
27255 fi
27256 fi
27257
27258 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27259 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27260 cat >>confdefs.h <<\_ACEOF
27261 #define _GNU_SOURCE 1
27262 _ACEOF
27263
27264 fi
27265 fi
27266
27267 have_cos=0
27268 have_floor=0
27269
27270 for ac_func in cos
27271 do
27272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27277 else
27278 cat >conftest.$ac_ext <<_ACEOF
27279 /* confdefs.h. */
27280 _ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27286 #define $ac_func innocuous_$ac_func
27287
27288 /* System header to define __stub macros and hopefully few prototypes,
27289 which can conflict with char $ac_func (); below.
27290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27291 <limits.h> exists even on freestanding compilers. */
27292
27293 #ifdef __STDC__
27294 # include <limits.h>
27295 #else
27296 # include <assert.h>
27297 #endif
27298
27299 #undef $ac_func
27300
27301 /* Override any GCC internal prototype to avoid an error.
27302 Use char because int might match the return type of a GCC
27303 builtin and then its argument prototype would still apply. */
27304 #ifdef __cplusplus
27305 extern "C"
27306 #endif
27307 char $ac_func ();
27308 /* The GNU C library defines this for functions which it implements
27309 to always fail with ENOSYS. Some functions are actually named
27310 something starting with __ and the normal name is an alias. */
27311 #if defined __stub_$ac_func || defined __stub___$ac_func
27312 choke me
27313 #endif
27314
27315 int
27316 main ()
27317 {
27318 return $ac_func ();
27319 ;
27320 return 0;
27321 }
27322 _ACEOF
27323 rm -f conftest.$ac_objext conftest$ac_exeext
27324 if { (ac_try="$ac_link"
27325 case "(($ac_try" in
27326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27327 *) ac_try_echo=$ac_try;;
27328 esac
27329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27330 (eval "$ac_link") 2>conftest.er1
27331 ac_status=$?
27332 grep -v '^ *+' conftest.er1 >conftest.err
27333 rm -f conftest.er1
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } && {
27337 test -z "$ac_c_werror_flag" ||
27338 test ! -s conftest.err
27339 } && test -s conftest$ac_exeext &&
27340 $as_test_x conftest$ac_exeext; then
27341 eval "$as_ac_var=yes"
27342 else
27343 echo "$as_me: failed program was:" >&5
27344 sed 's/^/| /' conftest.$ac_ext >&5
27345
27346 eval "$as_ac_var=no"
27347 fi
27348
27349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27350 conftest$ac_exeext conftest.$ac_ext
27351 fi
27352 ac_res=`eval echo '${'$as_ac_var'}'`
27353 { echo "$as_me:$LINENO: result: $ac_res" >&5
27354 echo "${ECHO_T}$ac_res" >&6; }
27355 if test `eval echo '${'$as_ac_var'}'` = yes; then
27356 cat >>confdefs.h <<_ACEOF
27357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27358 _ACEOF
27359 have_cos=1
27360 fi
27361 done
27362
27363
27364 for ac_func in floor
27365 do
27366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27370 echo $ECHO_N "(cached) $ECHO_C" >&6
27371 else
27372 cat >conftest.$ac_ext <<_ACEOF
27373 /* confdefs.h. */
27374 _ACEOF
27375 cat confdefs.h >>conftest.$ac_ext
27376 cat >>conftest.$ac_ext <<_ACEOF
27377 /* end confdefs.h. */
27378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27380 #define $ac_func innocuous_$ac_func
27381
27382 /* System header to define __stub macros and hopefully few prototypes,
27383 which can conflict with char $ac_func (); below.
27384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27385 <limits.h> exists even on freestanding compilers. */
27386
27387 #ifdef __STDC__
27388 # include <limits.h>
27389 #else
27390 # include <assert.h>
27391 #endif
27392
27393 #undef $ac_func
27394
27395 /* Override any GCC internal prototype to avoid an error.
27396 Use char because int might match the return type of a GCC
27397 builtin and then its argument prototype would still apply. */
27398 #ifdef __cplusplus
27399 extern "C"
27400 #endif
27401 char $ac_func ();
27402 /* The GNU C library defines this for functions which it implements
27403 to always fail with ENOSYS. Some functions are actually named
27404 something starting with __ and the normal name is an alias. */
27405 #if defined __stub_$ac_func || defined __stub___$ac_func
27406 choke me
27407 #endif
27408
27409 int
27410 main ()
27411 {
27412 return $ac_func ();
27413 ;
27414 return 0;
27415 }
27416 _ACEOF
27417 rm -f conftest.$ac_objext conftest$ac_exeext
27418 if { (ac_try="$ac_link"
27419 case "(($ac_try" in
27420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27421 *) ac_try_echo=$ac_try;;
27422 esac
27423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27424 (eval "$ac_link") 2>conftest.er1
27425 ac_status=$?
27426 grep -v '^ *+' conftest.er1 >conftest.err
27427 rm -f conftest.er1
27428 cat conftest.err >&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } && {
27431 test -z "$ac_c_werror_flag" ||
27432 test ! -s conftest.err
27433 } && test -s conftest$ac_exeext &&
27434 $as_test_x conftest$ac_exeext; then
27435 eval "$as_ac_var=yes"
27436 else
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.$ac_ext >&5
27439
27440 eval "$as_ac_var=no"
27441 fi
27442
27443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27444 conftest$ac_exeext conftest.$ac_ext
27445 fi
27446 ac_res=`eval echo '${'$as_ac_var'}'`
27447 { echo "$as_me:$LINENO: result: $ac_res" >&5
27448 echo "${ECHO_T}$ac_res" >&6; }
27449 if test `eval echo '${'$as_ac_var'}'` = yes; then
27450 cat >>confdefs.h <<_ACEOF
27451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27452 _ACEOF
27453 have_floor=1
27454 fi
27455 done
27456
27457 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27458 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27459 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27460 { echo "$as_me:$LINENO: result: yes" >&5
27461 echo "${ECHO_T}yes" >&6; }
27462 else
27463 { echo "$as_me:$LINENO: result: no" >&5
27464 echo "${ECHO_T}no" >&6; }
27465 LIBS="$LIBS -lm"
27466 # use different functions to avoid configure caching
27467 have_sin=0
27468 have_ceil=0
27469
27470 for ac_func in sin
27471 do
27472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 cat >conftest.$ac_ext <<_ACEOF
27479 /* confdefs.h. */
27480 _ACEOF
27481 cat confdefs.h >>conftest.$ac_ext
27482 cat >>conftest.$ac_ext <<_ACEOF
27483 /* end confdefs.h. */
27484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27486 #define $ac_func innocuous_$ac_func
27487
27488 /* System header to define __stub macros and hopefully few prototypes,
27489 which can conflict with char $ac_func (); below.
27490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27491 <limits.h> exists even on freestanding compilers. */
27492
27493 #ifdef __STDC__
27494 # include <limits.h>
27495 #else
27496 # include <assert.h>
27497 #endif
27498
27499 #undef $ac_func
27500
27501 /* Override any GCC internal prototype to avoid an error.
27502 Use char because int might match the return type of a GCC
27503 builtin and then its argument prototype would still apply. */
27504 #ifdef __cplusplus
27505 extern "C"
27506 #endif
27507 char $ac_func ();
27508 /* The GNU C library defines this for functions which it implements
27509 to always fail with ENOSYS. Some functions are actually named
27510 something starting with __ and the normal name is an alias. */
27511 #if defined __stub_$ac_func || defined __stub___$ac_func
27512 choke me
27513 #endif
27514
27515 int
27516 main ()
27517 {
27518 return $ac_func ();
27519 ;
27520 return 0;
27521 }
27522 _ACEOF
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (ac_try="$ac_link"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27528 esac
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_link") 2>conftest.er1
27531 ac_status=$?
27532 grep -v '^ *+' conftest.er1 >conftest.err
27533 rm -f conftest.er1
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest$ac_exeext &&
27540 $as_test_x conftest$ac_exeext; then
27541 eval "$as_ac_var=yes"
27542 else
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.$ac_ext >&5
27545
27546 eval "$as_ac_var=no"
27547 fi
27548
27549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27550 conftest$ac_exeext conftest.$ac_ext
27551 fi
27552 ac_res=`eval echo '${'$as_ac_var'}'`
27553 { echo "$as_me:$LINENO: result: $ac_res" >&5
27554 echo "${ECHO_T}$ac_res" >&6; }
27555 if test `eval echo '${'$as_ac_var'}'` = yes; then
27556 cat >>confdefs.h <<_ACEOF
27557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27558 _ACEOF
27559 have_sin=1
27560 fi
27561 done
27562
27563
27564 for ac_func in ceil
27565 do
27566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27569 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27570 echo $ECHO_N "(cached) $ECHO_C" >&6
27571 else
27572 cat >conftest.$ac_ext <<_ACEOF
27573 /* confdefs.h. */
27574 _ACEOF
27575 cat confdefs.h >>conftest.$ac_ext
27576 cat >>conftest.$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27580 #define $ac_func innocuous_$ac_func
27581
27582 /* System header to define __stub macros and hopefully few prototypes,
27583 which can conflict with char $ac_func (); below.
27584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27585 <limits.h> exists even on freestanding compilers. */
27586
27587 #ifdef __STDC__
27588 # include <limits.h>
27589 #else
27590 # include <assert.h>
27591 #endif
27592
27593 #undef $ac_func
27594
27595 /* Override any GCC internal prototype to avoid an error.
27596 Use char because int might match the return type of a GCC
27597 builtin and then its argument prototype would still apply. */
27598 #ifdef __cplusplus
27599 extern "C"
27600 #endif
27601 char $ac_func ();
27602 /* The GNU C library defines this for functions which it implements
27603 to always fail with ENOSYS. Some functions are actually named
27604 something starting with __ and the normal name is an alias. */
27605 #if defined __stub_$ac_func || defined __stub___$ac_func
27606 choke me
27607 #endif
27608
27609 int
27610 main ()
27611 {
27612 return $ac_func ();
27613 ;
27614 return 0;
27615 }
27616 _ACEOF
27617 rm -f conftest.$ac_objext conftest$ac_exeext
27618 if { (ac_try="$ac_link"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27622 esac
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_link") 2>conftest.er1
27625 ac_status=$?
27626 grep -v '^ *+' conftest.er1 >conftest.err
27627 rm -f conftest.er1
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } && {
27631 test -z "$ac_c_werror_flag" ||
27632 test ! -s conftest.err
27633 } && test -s conftest$ac_exeext &&
27634 $as_test_x conftest$ac_exeext; then
27635 eval "$as_ac_var=yes"
27636 else
27637 echo "$as_me: failed program was:" >&5
27638 sed 's/^/| /' conftest.$ac_ext >&5
27639
27640 eval "$as_ac_var=no"
27641 fi
27642
27643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27644 conftest$ac_exeext conftest.$ac_ext
27645 fi
27646 ac_res=`eval echo '${'$as_ac_var'}'`
27647 { echo "$as_me:$LINENO: result: $ac_res" >&5
27648 echo "${ECHO_T}$ac_res" >&6; }
27649 if test `eval echo '${'$as_ac_var'}'` = yes; then
27650 cat >>confdefs.h <<_ACEOF
27651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27652 _ACEOF
27653 have_ceil=1
27654 fi
27655 done
27656
27657 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27658 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27659 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27660 { echo "$as_me:$LINENO: result: yes" >&5
27661 echo "${ECHO_T}yes" >&6; }
27662 else
27663 { echo "$as_me:$LINENO: result: no" >&5
27664 echo "${ECHO_T}no" >&6; }
27665 # not sure we should warn the user, crash, etc.
27666 fi
27667 fi
27668
27669 ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674
27675 if test "wxUSE_UNICODE" = "yes"; then
27676
27677 for wx_func in wcstoull
27678 do
27679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27682 echo $ECHO_N "(cached) $ECHO_C" >&6
27683 else
27684
27685 cat >conftest.$ac_ext <<_ACEOF
27686
27687 /* confdefs.h. */
27688 _ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h. */
27692
27693
27694 $ac_includes_default
27695
27696 int
27697 main ()
27698 {
27699
27700 #ifndef $wx_func
27701 &$wx_func;
27702 #endif
27703
27704
27705 ;
27706 return 0;
27707 }
27708
27709 _ACEOF
27710 rm -f conftest.$ac_objext conftest$ac_exeext
27711 if { (ac_try="$ac_link"
27712 case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27715 esac
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_link") 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } && {
27724 test -z "$ac_cxx_werror_flag" ||
27725 test ! -s conftest.err
27726 } && test -s conftest$ac_exeext &&
27727 $as_test_x conftest$ac_exeext; then
27728 eval wx_cv_func_$wx_func=yes
27729 else
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27732
27733 eval wx_cv_func_$wx_func=no
27734 fi
27735
27736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27737 conftest$ac_exeext conftest.$ac_ext
27738
27739 fi
27740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27741 { echo "$as_me:$LINENO: result: $ac_res" >&5
27742 echo "${ECHO_T}$ac_res" >&6; }
27743
27744 if eval test \$wx_cv_func_$wx_func = yes
27745 then
27746 cat >>confdefs.h <<_ACEOF
27747 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27748 _ACEOF
27749
27750
27751 else
27752 :
27753
27754 fi
27755 done
27756
27757 else
27758
27759 for wx_func in strtoull
27760 do
27761 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27762 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27763 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766
27767 cat >conftest.$ac_ext <<_ACEOF
27768
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774
27775
27776 $ac_includes_default
27777
27778 int
27779 main ()
27780 {
27781
27782 #ifndef $wx_func
27783 &$wx_func;
27784 #endif
27785
27786
27787 ;
27788 return 0;
27789 }
27790
27791 _ACEOF
27792 rm -f conftest.$ac_objext conftest$ac_exeext
27793 if { (ac_try="$ac_link"
27794 case "(($ac_try" in
27795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27796 *) ac_try_echo=$ac_try;;
27797 esac
27798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27799 (eval "$ac_link") 2>conftest.er1
27800 ac_status=$?
27801 grep -v '^ *+' conftest.er1 >conftest.err
27802 rm -f conftest.er1
27803 cat conftest.err >&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } && {
27806 test -z "$ac_cxx_werror_flag" ||
27807 test ! -s conftest.err
27808 } && test -s conftest$ac_exeext &&
27809 $as_test_x conftest$ac_exeext; then
27810 eval wx_cv_func_$wx_func=yes
27811 else
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.$ac_ext >&5
27814
27815 eval wx_cv_func_$wx_func=no
27816 fi
27817
27818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27819 conftest$ac_exeext conftest.$ac_ext
27820
27821 fi
27822 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27823 { echo "$as_me:$LINENO: result: $ac_res" >&5
27824 echo "${ECHO_T}$ac_res" >&6; }
27825
27826 if eval test \$wx_cv_func_$wx_func = yes
27827 then
27828 cat >>confdefs.h <<_ACEOF
27829 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27830 _ACEOF
27831
27832
27833 else
27834 :
27835
27836 fi
27837 done
27838
27839 fi
27840 ac_ext=c
27841 ac_cpp='$CPP $CPPFLAGS'
27842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27845
27846
27847
27848
27849 if test "$wxUSE_REGEX" != "no"; then
27850 cat >>confdefs.h <<\_ACEOF
27851 #define wxUSE_REGEX 1
27852 _ACEOF
27853
27854
27855 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27856 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27857 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27858 wxUSE_REGEX=builtin
27859 fi
27860
27861 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27862 { echo "$as_me:$LINENO: checking for regex.h" >&5
27863 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27864 if test "${ac_cv_header_regex_h+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 else
27867 cat >conftest.$ac_ext <<_ACEOF
27868 /* confdefs.h. */
27869 _ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27873
27874
27875 #include <regex.h>
27876 _ACEOF
27877 rm -f conftest.$ac_objext
27878 if { (ac_try="$ac_compile"
27879 case "(($ac_try" in
27880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27881 *) ac_try_echo=$ac_try;;
27882 esac
27883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27884 (eval "$ac_compile") 2>conftest.er1
27885 ac_status=$?
27886 grep -v '^ *+' conftest.er1 >conftest.err
27887 rm -f conftest.er1
27888 cat conftest.err >&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } && {
27891 test -z "$ac_c_werror_flag" ||
27892 test ! -s conftest.err
27893 } && test -s conftest.$ac_objext; then
27894 ac_cv_header_regex_h=yes
27895 else
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.$ac_ext >&5
27898
27899 ac_cv_header_regex_h=no
27900 fi
27901
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903 fi
27904 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27905 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27906 if test $ac_cv_header_regex_h = yes; then
27907
27908
27909 for ac_func in regcomp re_search
27910 do
27911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27912 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27915 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 else
27917 cat >conftest.$ac_ext <<_ACEOF
27918 /* confdefs.h. */
27919 _ACEOF
27920 cat confdefs.h >>conftest.$ac_ext
27921 cat >>conftest.$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27925 #define $ac_func innocuous_$ac_func
27926
27927 /* System header to define __stub macros and hopefully few prototypes,
27928 which can conflict with char $ac_func (); below.
27929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27930 <limits.h> exists even on freestanding compilers. */
27931
27932 #ifdef __STDC__
27933 # include <limits.h>
27934 #else
27935 # include <assert.h>
27936 #endif
27937
27938 #undef $ac_func
27939
27940 /* Override any GCC internal prototype to avoid an error.
27941 Use char because int might match the return type of a GCC
27942 builtin and then its argument prototype would still apply. */
27943 #ifdef __cplusplus
27944 extern "C"
27945 #endif
27946 char $ac_func ();
27947 /* The GNU C library defines this for functions which it implements
27948 to always fail with ENOSYS. Some functions are actually named
27949 something starting with __ and the normal name is an alias. */
27950 #if defined __stub_$ac_func || defined __stub___$ac_func
27951 choke me
27952 #endif
27953
27954 int
27955 main ()
27956 {
27957 return $ac_func ();
27958 ;
27959 return 0;
27960 }
27961 _ACEOF
27962 rm -f conftest.$ac_objext conftest$ac_exeext
27963 if { (ac_try="$ac_link"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27967 esac
27968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_link") 2>conftest.er1
27970 ac_status=$?
27971 grep -v '^ *+' conftest.er1 >conftest.err
27972 rm -f conftest.er1
27973 cat conftest.err >&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } && {
27976 test -z "$ac_c_werror_flag" ||
27977 test ! -s conftest.err
27978 } && test -s conftest$ac_exeext &&
27979 $as_test_x conftest$ac_exeext; then
27980 eval "$as_ac_var=yes"
27981 else
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.$ac_ext >&5
27984
27985 eval "$as_ac_var=no"
27986 fi
27987
27988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27989 conftest$ac_exeext conftest.$ac_ext
27990 fi
27991 ac_res=`eval echo '${'$as_ac_var'}'`
27992 { echo "$as_me:$LINENO: result: $ac_res" >&5
27993 echo "${ECHO_T}$ac_res" >&6; }
27994 if test `eval echo '${'$as_ac_var'}'` = yes; then
27995 cat >>confdefs.h <<_ACEOF
27996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27997 _ACEOF
27998
27999 fi
28000 done
28001
28002 fi
28003
28004
28005
28006 if test "x$ac_cv_func_regcomp" != "xyes"; then
28007 if test "$wxUSE_REGEX" = "sys" ; then
28008 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28009 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28010 { (exit 1); exit 1; }; }
28011 else
28012 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28013 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28014 wxUSE_REGEX=builtin
28015 fi
28016 else
28017 wxUSE_REGEX=sys
28018 cat >>confdefs.h <<\_ACEOF
28019 #define WX_NO_REGEX_ADVANCED 1
28020 _ACEOF
28021
28022 fi
28023 fi
28024 fi
28025
28026
28027 ZLIB_LINK=
28028 if test "$wxUSE_ZLIB" != "no" ; then
28029 cat >>confdefs.h <<\_ACEOF
28030 #define wxUSE_ZLIB 1
28031 _ACEOF
28032
28033
28034 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28035 if test "$USE_DARWIN" = 1; then
28036 system_zlib_h_ok="yes"
28037 else
28038 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28039 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28040 if test "${ac_cv_header_zlib_h+set}" = set; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 else
28043 if test "$cross_compiling" = yes; then
28044 unset ac_cv_header_zlib_h
28045
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053
28054 #include <zlib.h>
28055 #include <stdio.h>
28056
28057 int main()
28058 {
28059 FILE *f=fopen("conftestval", "w");
28060 if (!f) exit(1);
28061 fprintf(f, "%s",
28062 ZLIB_VERSION[0] == '1' &&
28063 (ZLIB_VERSION[2] > '1' ||
28064 (ZLIB_VERSION[2] == '1' &&
28065 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28066 exit(0);
28067 }
28068
28069 _ACEOF
28070 rm -f conftest$ac_exeext
28071 if { (ac_try="$ac_link"
28072 case "(($ac_try" in
28073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28075 esac
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_link") 2>&5
28078 ac_status=$?
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28081 { (case "(($ac_try" in
28082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28083 *) ac_try_echo=$ac_try;;
28084 esac
28085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28086 (eval "$ac_try") 2>&5
28087 ac_status=$?
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; }; then
28090 ac_cv_header_zlib_h=`cat conftestval`
28091 else
28092 echo "$as_me: program exited with status $ac_status" >&5
28093 echo "$as_me: failed program was:" >&5
28094 sed 's/^/| /' conftest.$ac_ext >&5
28095
28096 ( exit $ac_status )
28097 ac_cv_header_zlib_h=no
28098 fi
28099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28100 fi
28101
28102
28103
28104 fi
28105 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28106 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28107 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28108 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28109 if test "${ac_cv_header_zlib_h+set}" = set; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112 cat >conftest.$ac_ext <<_ACEOF
28113 /* confdefs.h. */
28114 _ACEOF
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118
28119
28120 #include <zlib.h>
28121 _ACEOF
28122 rm -f conftest.$ac_objext
28123 if { (ac_try="$ac_compile"
28124 case "(($ac_try" in
28125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28126 *) ac_try_echo=$ac_try;;
28127 esac
28128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28129 (eval "$ac_compile") 2>conftest.er1
28130 ac_status=$?
28131 grep -v '^ *+' conftest.er1 >conftest.err
28132 rm -f conftest.er1
28133 cat conftest.err >&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } && {
28136 test -z "$ac_c_werror_flag" ||
28137 test ! -s conftest.err
28138 } && test -s conftest.$ac_objext; then
28139 ac_cv_header_zlib_h=yes
28140 else
28141 echo "$as_me: failed program was:" >&5
28142 sed 's/^/| /' conftest.$ac_ext >&5
28143
28144 ac_cv_header_zlib_h=no
28145 fi
28146
28147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28148 fi
28149 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28150 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28151
28152
28153
28154 system_zlib_h_ok=$ac_cv_header_zlib_h
28155 fi
28156
28157 if test "$system_zlib_h_ok" = "yes"; then
28158 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28159 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28160 if test "${ac_cv_lib_z_deflate+set}" = set; then
28161 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 else
28163 ac_check_lib_save_LIBS=$LIBS
28164 LIBS="-lz $LIBS"
28165 cat >conftest.$ac_ext <<_ACEOF
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171
28172 /* Override any GCC internal prototype to avoid an error.
28173 Use char because int might match the return type of a GCC
28174 builtin and then its argument prototype would still apply. */
28175 #ifdef __cplusplus
28176 extern "C"
28177 #endif
28178 char deflate ();
28179 int
28180 main ()
28181 {
28182 return deflate ();
28183 ;
28184 return 0;
28185 }
28186 _ACEOF
28187 rm -f conftest.$ac_objext conftest$ac_exeext
28188 if { (ac_try="$ac_link"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28192 esac
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_link") 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest$ac_exeext &&
28204 $as_test_x conftest$ac_exeext; then
28205 ac_cv_lib_z_deflate=yes
28206 else
28207 echo "$as_me: failed program was:" >&5
28208 sed 's/^/| /' conftest.$ac_ext >&5
28209
28210 ac_cv_lib_z_deflate=no
28211 fi
28212
28213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28214 conftest$ac_exeext conftest.$ac_ext
28215 LIBS=$ac_check_lib_save_LIBS
28216 fi
28217 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28218 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28219 if test $ac_cv_lib_z_deflate = yes; then
28220 ZLIB_LINK=" -lz"
28221 fi
28222
28223 fi
28224
28225 if test "x$ZLIB_LINK" = "x" ; then
28226 if test "$wxUSE_ZLIB" = "sys" ; then
28227 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28228 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28229 { (exit 1); exit 1; }; }
28230 else
28231 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28232 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28233 wxUSE_ZLIB=builtin
28234 fi
28235 else
28236 wxUSE_ZLIB=sys
28237 fi
28238 fi
28239 fi
28240
28241
28242 PNG_LINK=
28243 if test "$wxUSE_LIBPNG" != "no" ; then
28244 cat >>confdefs.h <<\_ACEOF
28245 #define wxUSE_LIBPNG 1
28246 _ACEOF
28247
28248
28249 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28250 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28251 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28252 wxUSE_LIBPNG=sys
28253 fi
28254
28255 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28256 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28257 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28258 wxUSE_LIBPNG=builtin
28259 fi
28260
28261 if test "$wxUSE_MGL" != 1 ; then
28262 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28263 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28264 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28265 if test "${ac_cv_header_png_h+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 else
28268 if test "$cross_compiling" = yes; then
28269 unset ac_cv_header_png_h
28270
28271 else
28272 cat >conftest.$ac_ext <<_ACEOF
28273 /* confdefs.h. */
28274 _ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278
28279 #include <png.h>
28280 #include <stdio.h>
28281
28282 int main()
28283 {
28284 FILE *f=fopen("conftestval", "w");
28285 if (!f) exit(1);
28286 fprintf(f, "%s",
28287 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28288 exit(0);
28289 }
28290
28291 _ACEOF
28292 rm -f conftest$ac_exeext
28293 if { (ac_try="$ac_link"
28294 case "(($ac_try" in
28295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28296 *) ac_try_echo=$ac_try;;
28297 esac
28298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28299 (eval "$ac_link") 2>&5
28300 ac_status=$?
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28303 { (case "(($ac_try" in
28304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28305 *) ac_try_echo=$ac_try;;
28306 esac
28307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28308 (eval "$ac_try") 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; }; then
28312 ac_cv_header_png_h=`cat conftestval`
28313 else
28314 echo "$as_me: program exited with status $ac_status" >&5
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28317
28318 ( exit $ac_status )
28319 ac_cv_header_png_h=no
28320 fi
28321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28322 fi
28323
28324
28325
28326 fi
28327 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28328 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28329 { echo "$as_me:$LINENO: checking for png.h" >&5
28330 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28331 if test "${ac_cv_header_png_h+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h. */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340
28341
28342 #include <png.h>
28343 _ACEOF
28344 rm -f conftest.$ac_objext
28345 if { (ac_try="$ac_compile"
28346 case "(($ac_try" in
28347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28348 *) ac_try_echo=$ac_try;;
28349 esac
28350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28351 (eval "$ac_compile") 2>conftest.er1
28352 ac_status=$?
28353 grep -v '^ *+' conftest.er1 >conftest.err
28354 rm -f conftest.er1
28355 cat conftest.err >&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); } && {
28358 test -z "$ac_c_werror_flag" ||
28359 test ! -s conftest.err
28360 } && test -s conftest.$ac_objext; then
28361 ac_cv_header_png_h=yes
28362 else
28363 echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.$ac_ext >&5
28365
28366 ac_cv_header_png_h=no
28367 fi
28368
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370 fi
28371 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28372 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28373
28374
28375
28376 if test "$ac_cv_header_png_h" = "yes"; then
28377 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28378 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28379 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28382 ac_check_lib_save_LIBS=$LIBS
28383 LIBS="-lpng -lz -lm $LIBS"
28384 cat >conftest.$ac_ext <<_ACEOF
28385 /* confdefs.h. */
28386 _ACEOF
28387 cat confdefs.h >>conftest.$ac_ext
28388 cat >>conftest.$ac_ext <<_ACEOF
28389 /* end confdefs.h. */
28390
28391 /* Override any GCC internal prototype to avoid an error.
28392 Use char because int might match the return type of a GCC
28393 builtin and then its argument prototype would still apply. */
28394 #ifdef __cplusplus
28395 extern "C"
28396 #endif
28397 char png_check_sig ();
28398 int
28399 main ()
28400 {
28401 return png_check_sig ();
28402 ;
28403 return 0;
28404 }
28405 _ACEOF
28406 rm -f conftest.$ac_objext conftest$ac_exeext
28407 if { (ac_try="$ac_link"
28408 case "(($ac_try" in
28409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28410 *) ac_try_echo=$ac_try;;
28411 esac
28412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28413 (eval "$ac_link") 2>conftest.er1
28414 ac_status=$?
28415 grep -v '^ *+' conftest.er1 >conftest.err
28416 rm -f conftest.er1
28417 cat conftest.err >&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } && {
28420 test -z "$ac_c_werror_flag" ||
28421 test ! -s conftest.err
28422 } && test -s conftest$ac_exeext &&
28423 $as_test_x conftest$ac_exeext; then
28424 ac_cv_lib_png_png_check_sig=yes
28425 else
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.$ac_ext >&5
28428
28429 ac_cv_lib_png_png_check_sig=no
28430 fi
28431
28432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28433 conftest$ac_exeext conftest.$ac_ext
28434 LIBS=$ac_check_lib_save_LIBS
28435 fi
28436 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28437 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28438 if test $ac_cv_lib_png_png_check_sig = yes; then
28439 PNG_LINK=" -lpng -lz"
28440 fi
28441
28442 fi
28443
28444 if test "x$PNG_LINK" = "x" ; then
28445 if test "$wxUSE_LIBPNG" = "sys" ; then
28446 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28447 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28448 { (exit 1); exit 1; }; }
28449 else
28450 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28451 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28452 wxUSE_LIBPNG=builtin
28453 fi
28454 else
28455 wxUSE_LIBPNG=sys
28456 fi
28457 fi
28458 fi
28459
28460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28461 fi
28462
28463
28464 JPEG_LINK=
28465 if test "$wxUSE_LIBJPEG" != "no" ; then
28466 cat >>confdefs.h <<\_ACEOF
28467 #define wxUSE_LIBJPEG 1
28468 _ACEOF
28469
28470
28471 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28472 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28473 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28474 wxUSE_LIBJPEG=sys
28475 fi
28476
28477 if test "$wxUSE_MGL" != 1 ; then
28478 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28479 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28480 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28481 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 else
28484 cat >conftest.$ac_ext <<_ACEOF
28485 /* confdefs.h. */
28486 _ACEOF
28487 cat confdefs.h >>conftest.$ac_ext
28488 cat >>conftest.$ac_ext <<_ACEOF
28489 /* end confdefs.h. */
28490
28491 #undef HAVE_STDLIB_H
28492 #include <stdio.h>
28493 #include <jpeglib.h>
28494
28495 int
28496 main ()
28497 {
28498
28499
28500 ;
28501 return 0;
28502 }
28503 _ACEOF
28504 rm -f conftest.$ac_objext
28505 if { (ac_try="$ac_compile"
28506 case "(($ac_try" in
28507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28508 *) ac_try_echo=$ac_try;;
28509 esac
28510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28511 (eval "$ac_compile") 2>conftest.er1
28512 ac_status=$?
28513 grep -v '^ *+' conftest.er1 >conftest.err
28514 rm -f conftest.er1
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } && {
28518 test -z "$ac_c_werror_flag" ||
28519 test ! -s conftest.err
28520 } && test -s conftest.$ac_objext; then
28521 ac_cv_header_jpeglib_h=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28525
28526 ac_cv_header_jpeglib_h=no
28527
28528 fi
28529
28530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28531
28532 fi
28533
28534 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28535 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28536
28537 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28538 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28539 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28540 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28542 else
28543 ac_check_lib_save_LIBS=$LIBS
28544 LIBS="-ljpeg $LIBS"
28545 cat >conftest.$ac_ext <<_ACEOF
28546 /* confdefs.h. */
28547 _ACEOF
28548 cat confdefs.h >>conftest.$ac_ext
28549 cat >>conftest.$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28551
28552 /* Override any GCC internal prototype to avoid an error.
28553 Use char because int might match the return type of a GCC
28554 builtin and then its argument prototype would still apply. */
28555 #ifdef __cplusplus
28556 extern "C"
28557 #endif
28558 char jpeg_read_header ();
28559 int
28560 main ()
28561 {
28562 return jpeg_read_header ();
28563 ;
28564 return 0;
28565 }
28566 _ACEOF
28567 rm -f conftest.$ac_objext conftest$ac_exeext
28568 if { (ac_try="$ac_link"
28569 case "(($ac_try" in
28570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28571 *) ac_try_echo=$ac_try;;
28572 esac
28573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28574 (eval "$ac_link") 2>conftest.er1
28575 ac_status=$?
28576 grep -v '^ *+' conftest.er1 >conftest.err
28577 rm -f conftest.er1
28578 cat conftest.err >&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); } && {
28581 test -z "$ac_c_werror_flag" ||
28582 test ! -s conftest.err
28583 } && test -s conftest$ac_exeext &&
28584 $as_test_x conftest$ac_exeext; then
28585 ac_cv_lib_jpeg_jpeg_read_header=yes
28586 else
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28589
28590 ac_cv_lib_jpeg_jpeg_read_header=no
28591 fi
28592
28593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28594 conftest$ac_exeext conftest.$ac_ext
28595 LIBS=$ac_check_lib_save_LIBS
28596 fi
28597 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28598 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28599 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28600 JPEG_LINK=" -ljpeg"
28601 fi
28602
28603 fi
28604
28605 if test "x$JPEG_LINK" = "x" ; then
28606 if test "$wxUSE_LIBJPEG" = "sys" ; then
28607 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28608 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28609 { (exit 1); exit 1; }; }
28610 else
28611 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28612 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28613 wxUSE_LIBJPEG=builtin
28614 fi
28615 else
28616 wxUSE_LIBJPEG=sys
28617
28618 if test "$wxUSE_MSW" = 1; then
28619 { echo "$as_me:$LINENO: checking for boolean" >&5
28620 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28621 if test "${ac_cv_type_boolean+set}" = set; then
28622 echo $ECHO_N "(cached) $ECHO_C" >&6
28623 else
28624 cat >conftest.$ac_ext <<_ACEOF
28625 /* confdefs.h. */
28626 _ACEOF
28627 cat confdefs.h >>conftest.$ac_ext
28628 cat >>conftest.$ac_ext <<_ACEOF
28629 /* end confdefs.h. */
28630 #include <windows.h>
28631
28632 typedef boolean ac__type_new_;
28633 int
28634 main ()
28635 {
28636 if ((ac__type_new_ *) 0)
28637 return 0;
28638 if (sizeof (ac__type_new_))
28639 return 0;
28640 ;
28641 return 0;
28642 }
28643 _ACEOF
28644 rm -f conftest.$ac_objext
28645 if { (ac_try="$ac_compile"
28646 case "(($ac_try" in
28647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28648 *) ac_try_echo=$ac_try;;
28649 esac
28650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28651 (eval "$ac_compile") 2>conftest.er1
28652 ac_status=$?
28653 grep -v '^ *+' conftest.er1 >conftest.err
28654 rm -f conftest.er1
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } && {
28658 test -z "$ac_c_werror_flag" ||
28659 test ! -s conftest.err
28660 } && test -s conftest.$ac_objext; then
28661 ac_cv_type_boolean=yes
28662 else
28663 echo "$as_me: failed program was:" >&5
28664 sed 's/^/| /' conftest.$ac_ext >&5
28665
28666 ac_cv_type_boolean=no
28667 fi
28668
28669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28670 fi
28671 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28672 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28673 if test $ac_cv_type_boolean = yes; then
28674
28675 cat >>confdefs.h <<_ACEOF
28676 #define HAVE_BOOLEAN 1
28677 _ACEOF
28678
28679
28680 { echo "$as_me:$LINENO: checking for boolean" >&5
28681 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28682 if test "${ac_cv_type_boolean+set}" = set; then
28683 echo $ECHO_N "(cached) $ECHO_C" >&6
28684 else
28685 cat >conftest.$ac_ext <<_ACEOF
28686 /* confdefs.h. */
28687 _ACEOF
28688 cat confdefs.h >>conftest.$ac_ext
28689 cat >>conftest.$ac_ext <<_ACEOF
28690 /* end confdefs.h. */
28691
28692 #undef HAVE_BOOLEAN
28693 #include <stdio.h>
28694 #include <jpeglib.h>
28695
28696
28697 typedef boolean ac__type_new_;
28698 int
28699 main ()
28700 {
28701 if ((ac__type_new_ *) 0)
28702 return 0;
28703 if (sizeof (ac__type_new_))
28704 return 0;
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 rm -f conftest.$ac_objext
28710 if { (ac_try="$ac_compile"
28711 case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28713 *) ac_try_echo=$ac_try;;
28714 esac
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_compile") 2>conftest.er1
28717 ac_status=$?
28718 grep -v '^ *+' conftest.er1 >conftest.err
28719 rm -f conftest.er1
28720 cat conftest.err >&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } && {
28723 test -z "$ac_c_werror_flag" ||
28724 test ! -s conftest.err
28725 } && test -s conftest.$ac_objext; then
28726 ac_cv_type_boolean=yes
28727 else
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.$ac_ext >&5
28730
28731 ac_cv_type_boolean=no
28732 fi
28733
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 fi
28736 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28737 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28738
28739 # The cast to long int works around a bug in the HP C Compiler
28740 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28741 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28742 # This bug is HP SR number 8606223364.
28743 { echo "$as_me:$LINENO: checking size of boolean" >&5
28744 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28745 if test "${ac_cv_sizeof_boolean+set}" = set; then
28746 echo $ECHO_N "(cached) $ECHO_C" >&6
28747 else
28748 if test "$cross_compiling" = yes; then
28749 # Depending upon the size, compute the lo and hi bounds.
28750 cat >conftest.$ac_ext <<_ACEOF
28751 /* confdefs.h. */
28752 _ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28756
28757 #undef HAVE_BOOLEAN
28758 #include <stdio.h>
28759 #include <jpeglib.h>
28760
28761
28762 typedef boolean ac__type_sizeof_;
28763 int
28764 main ()
28765 {
28766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28767 test_array [0] = 0
28768
28769 ;
28770 return 0;
28771 }
28772 _ACEOF
28773 rm -f conftest.$ac_objext
28774 if { (ac_try="$ac_compile"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_compile") 2>conftest.er1
28781 ac_status=$?
28782 grep -v '^ *+' conftest.er1 >conftest.err
28783 rm -f conftest.er1
28784 cat conftest.err >&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && {
28787 test -z "$ac_c_werror_flag" ||
28788 test ! -s conftest.err
28789 } && test -s conftest.$ac_objext; then
28790 ac_lo=0 ac_mid=0
28791 while :; do
28792 cat >conftest.$ac_ext <<_ACEOF
28793 /* confdefs.h. */
28794 _ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798
28799 #undef HAVE_BOOLEAN
28800 #include <stdio.h>
28801 #include <jpeglib.h>
28802
28803
28804 typedef boolean ac__type_sizeof_;
28805 int
28806 main ()
28807 {
28808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28809 test_array [0] = 0
28810
28811 ;
28812 return 0;
28813 }
28814 _ACEOF
28815 rm -f conftest.$ac_objext
28816 if { (ac_try="$ac_compile"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28819 *) ac_try_echo=$ac_try;;
28820 esac
28821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28822 (eval "$ac_compile") 2>conftest.er1
28823 ac_status=$?
28824 grep -v '^ *+' conftest.er1 >conftest.err
28825 rm -f conftest.er1
28826 cat conftest.err >&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && {
28829 test -z "$ac_c_werror_flag" ||
28830 test ! -s conftest.err
28831 } && test -s conftest.$ac_objext; then
28832 ac_hi=$ac_mid; break
28833 else
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.$ac_ext >&5
28836
28837 ac_lo=`expr $ac_mid + 1`
28838 if test $ac_lo -le $ac_mid; then
28839 ac_lo= ac_hi=
28840 break
28841 fi
28842 ac_mid=`expr 2 '*' $ac_mid + 1`
28843 fi
28844
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 done
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 cat >conftest.$ac_ext <<_ACEOF
28852 /* confdefs.h. */
28853 _ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857
28858 #undef HAVE_BOOLEAN
28859 #include <stdio.h>
28860 #include <jpeglib.h>
28861
28862
28863 typedef boolean ac__type_sizeof_;
28864 int
28865 main ()
28866 {
28867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28868 test_array [0] = 0
28869
28870 ;
28871 return 0;
28872 }
28873 _ACEOF
28874 rm -f conftest.$ac_objext
28875 if { (ac_try="$ac_compile"
28876 case "(($ac_try" in
28877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28878 *) ac_try_echo=$ac_try;;
28879 esac
28880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28881 (eval "$ac_compile") 2>conftest.er1
28882 ac_status=$?
28883 grep -v '^ *+' conftest.er1 >conftest.err
28884 rm -f conftest.er1
28885 cat conftest.err >&5
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); } && {
28888 test -z "$ac_c_werror_flag" ||
28889 test ! -s conftest.err
28890 } && test -s conftest.$ac_objext; then
28891 ac_hi=-1 ac_mid=-1
28892 while :; do
28893 cat >conftest.$ac_ext <<_ACEOF
28894 /* confdefs.h. */
28895 _ACEOF
28896 cat confdefs.h >>conftest.$ac_ext
28897 cat >>conftest.$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28899
28900 #undef HAVE_BOOLEAN
28901 #include <stdio.h>
28902 #include <jpeglib.h>
28903
28904
28905 typedef boolean ac__type_sizeof_;
28906 int
28907 main ()
28908 {
28909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28910 test_array [0] = 0
28911
28912 ;
28913 return 0;
28914 }
28915 _ACEOF
28916 rm -f conftest.$ac_objext
28917 if { (ac_try="$ac_compile"
28918 case "(($ac_try" in
28919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28920 *) ac_try_echo=$ac_try;;
28921 esac
28922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28923 (eval "$ac_compile") 2>conftest.er1
28924 ac_status=$?
28925 grep -v '^ *+' conftest.er1 >conftest.err
28926 rm -f conftest.er1
28927 cat conftest.err >&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); } && {
28930 test -z "$ac_c_werror_flag" ||
28931 test ! -s conftest.err
28932 } && test -s conftest.$ac_objext; then
28933 ac_lo=$ac_mid; break
28934 else
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938 ac_hi=`expr '(' $ac_mid ')' - 1`
28939 if test $ac_mid -le $ac_hi; then
28940 ac_lo= ac_hi=
28941 break
28942 fi
28943 ac_mid=`expr 2 '*' $ac_mid`
28944 fi
28945
28946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28947 done
28948 else
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.$ac_ext >&5
28951
28952 ac_lo= ac_hi=
28953 fi
28954
28955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 fi
28957
28958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28959 # Binary search between lo and hi bounds.
28960 while test "x$ac_lo" != "x$ac_hi"; do
28961 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968
28969 #undef HAVE_BOOLEAN
28970 #include <stdio.h>
28971 #include <jpeglib.h>
28972
28973
28974 typedef boolean ac__type_sizeof_;
28975 int
28976 main ()
28977 {
28978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28979 test_array [0] = 0
28980
28981 ;
28982 return 0;
28983 }
28984 _ACEOF
28985 rm -f conftest.$ac_objext
28986 if { (ac_try="$ac_compile"
28987 case "(($ac_try" in
28988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28989 *) ac_try_echo=$ac_try;;
28990 esac
28991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28992 (eval "$ac_compile") 2>conftest.er1
28993 ac_status=$?
28994 grep -v '^ *+' conftest.er1 >conftest.err
28995 rm -f conftest.er1
28996 cat conftest.err >&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); } && {
28999 test -z "$ac_c_werror_flag" ||
29000 test ! -s conftest.err
29001 } && test -s conftest.$ac_objext; then
29002 ac_hi=$ac_mid
29003 else
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29006
29007 ac_lo=`expr '(' $ac_mid ')' + 1`
29008 fi
29009
29010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29011 done
29012 case $ac_lo in
29013 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29014 '') if test "$ac_cv_type_boolean" = yes; then
29015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29016 See \`config.log' for more details." >&5
29017 echo "$as_me: error: cannot compute sizeof (boolean)
29018 See \`config.log' for more details." >&2;}
29019 { (exit 77); exit 77; }; }
29020 else
29021 ac_cv_sizeof_boolean=0
29022 fi ;;
29023 esac
29024 else
29025 cat >conftest.$ac_ext <<_ACEOF
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031
29032 #undef HAVE_BOOLEAN
29033 #include <stdio.h>
29034 #include <jpeglib.h>
29035
29036
29037 typedef boolean ac__type_sizeof_;
29038 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29039 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29040 #include <stdio.h>
29041 #include <stdlib.h>
29042 int
29043 main ()
29044 {
29045
29046 FILE *f = fopen ("conftest.val", "w");
29047 if (! f)
29048 return 1;
29049 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29050 {
29051 long int i = longval ();
29052 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29053 return 1;
29054 fprintf (f, "%ld\n", i);
29055 }
29056 else
29057 {
29058 unsigned long int i = ulongval ();
29059 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29060 return 1;
29061 fprintf (f, "%lu\n", i);
29062 }
29063 return ferror (f) || fclose (f) != 0;
29064
29065 ;
29066 return 0;
29067 }
29068 _ACEOF
29069 rm -f conftest$ac_exeext
29070 if { (ac_try="$ac_link"
29071 case "(($ac_try" in
29072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29073 *) ac_try_echo=$ac_try;;
29074 esac
29075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29076 (eval "$ac_link") 2>&5
29077 ac_status=$?
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29080 { (case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082 *) ac_try_echo=$ac_try;;
29083 esac
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_try") 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_sizeof_boolean=`cat conftest.val`
29090 else
29091 echo "$as_me: program exited with status $ac_status" >&5
29092 echo "$as_me: failed program was:" >&5
29093 sed 's/^/| /' conftest.$ac_ext >&5
29094
29095 ( exit $ac_status )
29096 if test "$ac_cv_type_boolean" = yes; then
29097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29098 See \`config.log' for more details." >&5
29099 echo "$as_me: error: cannot compute sizeof (boolean)
29100 See \`config.log' for more details." >&2;}
29101 { (exit 77); exit 77; }; }
29102 else
29103 ac_cv_sizeof_boolean=0
29104 fi
29105 fi
29106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29107 fi
29108 rm -f conftest.val
29109 fi
29110 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29111 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29112
29113
29114
29115 cat >>confdefs.h <<_ACEOF
29116 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29117 _ACEOF
29118
29119
29120 cat >>confdefs.h <<_ACEOF
29121 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29122 _ACEOF
29123
29124
29125 fi
29126
29127 fi
29128 fi
29129 fi
29130 fi
29131 fi
29132
29133
29134 TIFF_LINK=
29135 TIFF_PREREQ_LINKS=-lm
29136 if test "$wxUSE_LIBTIFF" != "no" ; then
29137 cat >>confdefs.h <<\_ACEOF
29138 #define wxUSE_LIBTIFF 1
29139 _ACEOF
29140
29141
29142 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29143 if test "$wxUSE_LIBJPEG" = "sys"; then
29144 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29145 fi
29146 if test "$wxUSE_ZLIB" = "sys"; then
29147 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29148 fi
29149 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29150 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29151 if test "${ac_cv_header_tiffio_h+set}" = set; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29153 else
29154 cat >conftest.$ac_ext <<_ACEOF
29155 /* confdefs.h. */
29156 _ACEOF
29157 cat confdefs.h >>conftest.$ac_ext
29158 cat >>conftest.$ac_ext <<_ACEOF
29159 /* end confdefs.h. */
29160
29161
29162
29163 #include <tiffio.h>
29164 _ACEOF
29165 rm -f conftest.$ac_objext
29166 if { (ac_try="$ac_compile"
29167 case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29170 esac
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_compile") 2>conftest.er1
29173 ac_status=$?
29174 grep -v '^ *+' conftest.er1 >conftest.err
29175 rm -f conftest.er1
29176 cat conftest.err >&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } && {
29179 test -z "$ac_c_werror_flag" ||
29180 test ! -s conftest.err
29181 } && test -s conftest.$ac_objext; then
29182 ac_cv_header_tiffio_h=yes
29183 else
29184 echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29186
29187 ac_cv_header_tiffio_h=no
29188 fi
29189
29190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29191 fi
29192 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29193 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29194 if test $ac_cv_header_tiffio_h = yes; then
29195
29196 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29197 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29198 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29200 else
29201 ac_check_lib_save_LIBS=$LIBS
29202 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29203 cat >conftest.$ac_ext <<_ACEOF
29204 /* confdefs.h. */
29205 _ACEOF
29206 cat confdefs.h >>conftest.$ac_ext
29207 cat >>conftest.$ac_ext <<_ACEOF
29208 /* end confdefs.h. */
29209
29210 /* Override any GCC internal prototype to avoid an error.
29211 Use char because int might match the return type of a GCC
29212 builtin and then its argument prototype would still apply. */
29213 #ifdef __cplusplus
29214 extern "C"
29215 #endif
29216 char TIFFError ();
29217 int
29218 main ()
29219 {
29220 return TIFFError ();
29221 ;
29222 return 0;
29223 }
29224 _ACEOF
29225 rm -f conftest.$ac_objext conftest$ac_exeext
29226 if { (ac_try="$ac_link"
29227 case "(($ac_try" in
29228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29229 *) ac_try_echo=$ac_try;;
29230 esac
29231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29232 (eval "$ac_link") 2>conftest.er1
29233 ac_status=$?
29234 grep -v '^ *+' conftest.er1 >conftest.err
29235 rm -f conftest.er1
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } && {
29239 test -z "$ac_c_werror_flag" ||
29240 test ! -s conftest.err
29241 } && test -s conftest$ac_exeext &&
29242 $as_test_x conftest$ac_exeext; then
29243 ac_cv_lib_tiff_TIFFError=yes
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 ac_cv_lib_tiff_TIFFError=no
29249 fi
29250
29251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29252 conftest$ac_exeext conftest.$ac_ext
29253 LIBS=$ac_check_lib_save_LIBS
29254 fi
29255 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29256 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29257 if test $ac_cv_lib_tiff_TIFFError = yes; then
29258 TIFF_LINK=" -ltiff"
29259 fi
29260
29261
29262 fi
29263
29264
29265
29266 if test "x$TIFF_LINK" = "x" ; then
29267 if test "$wxUSE_LIBTIFF" = "sys" ; then
29268 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29269 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29270 { (exit 1); exit 1; }; }
29271 else
29272 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29273 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29274 wxUSE_LIBTIFF=builtin
29275 fi
29276 else
29277 wxUSE_LIBTIFF=sys
29278 fi
29279 fi
29280 fi
29281
29282
29283 if test "$wxUSE_WCHAR_T" != "yes"; then
29284 if test "$wxUSE_EXPAT" != "no"; then
29285 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29286 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29287 wxUSE_EXPAT=no
29288 fi
29289 if test "$wxUSE_XML" != "no"; then
29290 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29291 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29292 wxUSE_XML=no
29293 fi
29294 fi
29295
29296 if test "$wxUSE_EXPAT" != "no"; then
29297 wxUSE_XML=yes
29298 cat >>confdefs.h <<\_ACEOF
29299 #define wxUSE_EXPAT 1
29300 _ACEOF
29301
29302 cat >>confdefs.h <<\_ACEOF
29303 #define wxUSE_XML 1
29304 _ACEOF
29305
29306
29307 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29308 { echo "$as_me:$LINENO: checking for expat.h" >&5
29309 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29310 if test "${ac_cv_header_expat_h+set}" = set; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29312 else
29313 cat >conftest.$ac_ext <<_ACEOF
29314 /* confdefs.h. */
29315 _ACEOF
29316 cat confdefs.h >>conftest.$ac_ext
29317 cat >>conftest.$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29319
29320
29321 #include <expat.h>
29322 _ACEOF
29323 rm -f conftest.$ac_objext
29324 if { (ac_try="$ac_compile"
29325 case "(($ac_try" in
29326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29327 *) ac_try_echo=$ac_try;;
29328 esac
29329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29330 (eval "$ac_compile") 2>conftest.er1
29331 ac_status=$?
29332 grep -v '^ *+' conftest.er1 >conftest.err
29333 rm -f conftest.er1
29334 cat conftest.err >&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } && {
29337 test -z "$ac_c_werror_flag" ||
29338 test ! -s conftest.err
29339 } && test -s conftest.$ac_objext; then
29340 ac_cv_header_expat_h=yes
29341 else
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29344
29345 ac_cv_header_expat_h=no
29346 fi
29347
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349 fi
29350 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29351 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29352 if test $ac_cv_header_expat_h = yes; then
29353 found_expat_h=1
29354 fi
29355
29356
29357 if test "x$found_expat_h" = "x1"; then
29358 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29359 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29360 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29362 else
29363
29364 ac_ext=cpp
29365 ac_cpp='$CXXCPP $CPPFLAGS'
29366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29369
29370 cat >conftest.$ac_ext <<_ACEOF
29371 /* confdefs.h. */
29372 _ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29376 #include <expat.h>
29377 int
29378 main ()
29379 {
29380
29381 ;
29382 return 0;
29383 }
29384 _ACEOF
29385 rm -f conftest.$ac_objext
29386 if { (ac_try="$ac_compile"
29387 case "(($ac_try" in
29388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29389 *) ac_try_echo=$ac_try;;
29390 esac
29391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29392 (eval "$ac_compile") 2>conftest.er1
29393 ac_status=$?
29394 grep -v '^ *+' conftest.er1 >conftest.err
29395 rm -f conftest.er1
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } && {
29399 test -z "$ac_cxx_werror_flag" ||
29400 test ! -s conftest.err
29401 } && test -s conftest.$ac_objext; then
29402 wx_cv_expat_is_not_broken=yes
29403 else
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29406
29407 wx_cv_expat_is_not_broken=no
29408
29409 fi
29410
29411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29412 ac_ext=c
29413 ac_cpp='$CPP $CPPFLAGS'
29414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29417
29418
29419
29420 fi
29421 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29422 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29423 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29424 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29425 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29426 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29429 ac_check_lib_save_LIBS=$LIBS
29430 LIBS="-lexpat $LIBS"
29431 cat >conftest.$ac_ext <<_ACEOF
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437
29438 /* Override any GCC internal prototype to avoid an error.
29439 Use char because int might match the return type of a GCC
29440 builtin and then its argument prototype would still apply. */
29441 #ifdef __cplusplus
29442 extern "C"
29443 #endif
29444 char XML_ParserCreate ();
29445 int
29446 main ()
29447 {
29448 return XML_ParserCreate ();
29449 ;
29450 return 0;
29451 }
29452 _ACEOF
29453 rm -f conftest.$ac_objext conftest$ac_exeext
29454 if { (ac_try="$ac_link"
29455 case "(($ac_try" in
29456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29457 *) ac_try_echo=$ac_try;;
29458 esac
29459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29460 (eval "$ac_link") 2>conftest.er1
29461 ac_status=$?
29462 grep -v '^ *+' conftest.er1 >conftest.err
29463 rm -f conftest.er1
29464 cat conftest.err >&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); } && {
29467 test -z "$ac_c_werror_flag" ||
29468 test ! -s conftest.err
29469 } && test -s conftest$ac_exeext &&
29470 $as_test_x conftest$ac_exeext; then
29471 ac_cv_lib_expat_XML_ParserCreate=yes
29472 else
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29475
29476 ac_cv_lib_expat_XML_ParserCreate=no
29477 fi
29478
29479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29480 conftest$ac_exeext conftest.$ac_ext
29481 LIBS=$ac_check_lib_save_LIBS
29482 fi
29483 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29484 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29485 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29486 EXPAT_LINK=" -lexpat"
29487 fi
29488
29489 fi
29490 fi
29491 if test "x$EXPAT_LINK" = "x" ; then
29492 if test "$wxUSE_EXPAT" = "sys" ; then
29493 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29494 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29495 { (exit 1); exit 1; }; }
29496 else
29497 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29498 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29499 wxUSE_EXPAT=builtin
29500 fi
29501 else
29502 wxUSE_EXPAT=sys
29503 fi
29504 fi
29505 if test "$wxUSE_EXPAT" = "builtin" ; then
29506 subdirs="$subdirs src/expat"
29507
29508 fi
29509 fi
29510
29511
29512
29513 if test "$wxUSE_LIBMSPACK" != "no"; then
29514 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29515 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29516 if test "${ac_cv_header_mspack_h+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29519 cat >conftest.$ac_ext <<_ACEOF
29520 /* confdefs.h. */
29521 _ACEOF
29522 cat confdefs.h >>conftest.$ac_ext
29523 cat >>conftest.$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29525
29526
29527 #include <mspack.h>
29528 _ACEOF
29529 rm -f conftest.$ac_objext
29530 if { (ac_try="$ac_compile"
29531 case "(($ac_try" in
29532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29533 *) ac_try_echo=$ac_try;;
29534 esac
29535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29536 (eval "$ac_compile") 2>conftest.er1
29537 ac_status=$?
29538 grep -v '^ *+' conftest.er1 >conftest.err
29539 rm -f conftest.er1
29540 cat conftest.err >&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); } && {
29543 test -z "$ac_c_werror_flag" ||
29544 test ! -s conftest.err
29545 } && test -s conftest.$ac_objext; then
29546 ac_cv_header_mspack_h=yes
29547 else
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29550
29551 ac_cv_header_mspack_h=no
29552 fi
29553
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 fi
29556 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29557 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29558 if test $ac_cv_header_mspack_h = yes; then
29559 found_mspack_h=1
29560 fi
29561
29562
29563 if test "x$found_mspack_h" = "x1"; then
29564 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29565 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29566 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29567 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 else
29569 ac_check_lib_save_LIBS=$LIBS
29570 LIBS="-lmspack $LIBS"
29571 cat >conftest.$ac_ext <<_ACEOF
29572 /* confdefs.h. */
29573 _ACEOF
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577
29578 /* Override any GCC internal prototype to avoid an error.
29579 Use char because int might match the return type of a GCC
29580 builtin and then its argument prototype would still apply. */
29581 #ifdef __cplusplus
29582 extern "C"
29583 #endif
29584 char mspack_create_chm_decompressor ();
29585 int
29586 main ()
29587 {
29588 return mspack_create_chm_decompressor ();
29589 ;
29590 return 0;
29591 }
29592 _ACEOF
29593 rm -f conftest.$ac_objext conftest$ac_exeext
29594 if { (ac_try="$ac_link"
29595 case "(($ac_try" in
29596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29597 *) ac_try_echo=$ac_try;;
29598 esac
29599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29600 (eval "$ac_link") 2>conftest.er1
29601 ac_status=$?
29602 grep -v '^ *+' conftest.er1 >conftest.err
29603 rm -f conftest.er1
29604 cat conftest.err >&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); } && {
29607 test -z "$ac_c_werror_flag" ||
29608 test ! -s conftest.err
29609 } && test -s conftest$ac_exeext &&
29610 $as_test_x conftest$ac_exeext; then
29611 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29612 else
29613 echo "$as_me: failed program was:" >&5
29614 sed 's/^/| /' conftest.$ac_ext >&5
29615
29616 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29617 fi
29618
29619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29620 conftest$ac_exeext conftest.$ac_ext
29621 LIBS=$ac_check_lib_save_LIBS
29622 fi
29623 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29624 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29625 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29626 MSPACK_LINK=" -lmspack"
29627 fi
29628
29629 fi
29630 if test "x$MSPACK_LINK" = "x" ; then
29631 wxUSE_LIBMSPACK=no
29632 fi
29633 fi
29634
29635 if test "$wxUSE_LIBMSPACK" != "no"; then
29636 cat >>confdefs.h <<\_ACEOF
29637 #define wxUSE_LIBMSPACK 1
29638 _ACEOF
29639
29640 fi
29641
29642
29643
29644 AFMINSTALL=
29645 WIN32INSTALL=
29646
29647 TOOLKIT=
29648 TOOLKIT_INCLUDE=
29649 WIDGET_SET=
29650
29651 if test "$USE_WIN32" = 1 ; then
29652
29653 for ac_header in w32api.h
29654 do
29655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29659 echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667
29668
29669 #include <$ac_header>
29670 _ACEOF
29671 rm -f conftest.$ac_objext
29672 if { (ac_try="$ac_compile"
29673 case "(($ac_try" in
29674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29675 *) ac_try_echo=$ac_try;;
29676 esac
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_compile") 2>conftest.er1
29679 ac_status=$?
29680 grep -v '^ *+' conftest.er1 >conftest.err
29681 rm -f conftest.er1
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } && {
29685 test -z "$ac_c_werror_flag" ||
29686 test ! -s conftest.err
29687 } && test -s conftest.$ac_objext; then
29688 eval "$as_ac_Header=yes"
29689 else
29690 echo "$as_me: failed program was:" >&5
29691 sed 's/^/| /' conftest.$ac_ext >&5
29692
29693 eval "$as_ac_Header=no"
29694 fi
29695
29696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29697 fi
29698 ac_res=`eval echo '${'$as_ac_Header'}'`
29699 { echo "$as_me:$LINENO: result: $ac_res" >&5
29700 echo "${ECHO_T}$ac_res" >&6; }
29701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29702 cat >>confdefs.h <<_ACEOF
29703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29704 _ACEOF
29705
29706 fi
29707
29708 done
29709
29710 { echo "$as_me:$LINENO: checking for windows.h" >&5
29711 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29712 if test "${ac_cv_header_windows_h+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 cat >conftest.$ac_ext <<_ACEOF
29716 /* confdefs.h. */
29717 _ACEOF
29718 cat confdefs.h >>conftest.$ac_ext
29719 cat >>conftest.$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29721
29722
29723 #include <windows.h>
29724 _ACEOF
29725 rm -f conftest.$ac_objext
29726 if { (ac_try="$ac_compile"
29727 case "(($ac_try" in
29728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29729 *) ac_try_echo=$ac_try;;
29730 esac
29731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29732 (eval "$ac_compile") 2>conftest.er1
29733 ac_status=$?
29734 grep -v '^ *+' conftest.er1 >conftest.err
29735 rm -f conftest.er1
29736 cat conftest.err >&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } && {
29739 test -z "$ac_c_werror_flag" ||
29740 test ! -s conftest.err
29741 } && test -s conftest.$ac_objext; then
29742 ac_cv_header_windows_h=yes
29743 else
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29746
29747 ac_cv_header_windows_h=no
29748 fi
29749
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 fi
29752 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29753 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29754 if test $ac_cv_header_windows_h = yes; then
29755 :
29756 else
29757
29758 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29759 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29760 { (exit 1); exit 1; }; }
29761
29762 fi
29763
29764
29765
29766 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29767
29768 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29769 LIBS="$LIBS -loleacc"
29770 fi
29771
29772 case "${host}" in
29773 *-*-cygwin* )
29774 LIBS="$LIBS -lkernel32 -luser32"
29775 esac
29776
29777 if test "$wxUSE_ODBC" = "sys" ; then
29778 wxUSE_ODBC = "yes"
29779 fi
29780 if test "$wxUSE_ODBC" = "yes" ; then
29781 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29782 cat >>confdefs.h <<\_ACEOF
29783 #define wxUSE_ODBC 1
29784 _ACEOF
29785
29786 fi
29787
29788 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29789 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29790
29791 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29792
29793 WIN32INSTALL=win32install
29794
29795 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29796 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29797 if test "${ac_cv_header_pbt_h+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 else
29800 cat >conftest.$ac_ext <<_ACEOF
29801 /* confdefs.h. */
29802 _ACEOF
29803 cat confdefs.h >>conftest.$ac_ext
29804 cat >>conftest.$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29806
29807
29808 #include <pbt.h>
29809 _ACEOF
29810 rm -f conftest.$ac_objext
29811 if { (ac_try="$ac_compile"
29812 case "(($ac_try" in
29813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29814 *) ac_try_echo=$ac_try;;
29815 esac
29816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29817 (eval "$ac_compile") 2>conftest.er1
29818 ac_status=$?
29819 grep -v '^ *+' conftest.er1 >conftest.err
29820 rm -f conftest.er1
29821 cat conftest.err >&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); } && {
29824 test -z "$ac_c_werror_flag" ||
29825 test ! -s conftest.err
29826 } && test -s conftest.$ac_objext; then
29827 ac_cv_header_pbt_h=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 ac_cv_header_pbt_h=no
29833 fi
29834
29835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29836 fi
29837 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29838 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29839 if test $ac_cv_header_pbt_h = yes; then
29840 :
29841 else
29842 cat >>confdefs.h <<\_ACEOF
29843 #define NEED_PBT_H 1
29844 _ACEOF
29845
29846 fi
29847
29848
29849 fi
29850
29851 if test "$wxUSE_GUI" = "yes"; then
29852 USE_GUI=1
29853
29854 GUI_TK_LIBRARY=
29855
29856 WXGTK12=
29857 WXGTK127=
29858 WXGTK20=
29859 WXGPE=
29860
29861 if test "$wxUSE_COCOA" = 1 ; then
29862 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29863 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29864 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29865 wxUSE_PRINTING_ARCHITECTURE=no
29866 fi
29867 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29868 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29869 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29870 wxUSE_DRAG_AND_DROP=no
29871 fi
29872 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29873 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29874 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29875 wxUSE_DRAGIMAGE=no
29876 fi
29877 fi
29878
29879 if test "$wxUSE_MSW" = 1 ; then
29880 TOOLKIT=MSW
29881 GUIDIST=MSW_DIST
29882
29883 case "${host}" in
29884 *-*-mingw32* )
29885 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29886 esac
29887 fi
29888
29889 if test "$wxUSE_GTK" = 1; then
29890 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29891 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29892
29893 gtk_version_cached=1
29894 if test "${wx_cv_lib_gtk+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 else
29897
29898 gtk_version_cached=0
29899 { echo "$as_me:$LINENO: result: " >&5
29900 echo "${ECHO_T}" >&6; }
29901
29902 GTK_MODULES=
29903 if test "$wxUSE_THREADS" = "yes"; then
29904 GTK_MODULES=gthread
29905 fi
29906
29907 wx_cv_lib_gtk=
29908 if test "x$wxGTK_VERSION" != "x1"
29909 then
29910 case "${host}" in
29911 *-*-solaris2* )
29912 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29913 enable_gtktest=no
29914 fi
29915 esac
29916
29917 # Check whether --enable-gtktest was given.
29918 if test "${enable_gtktest+set}" = set; then
29919 enableval=$enable_gtktest;
29920 else
29921 enable_gtktest=yes
29922 fi
29923
29924
29925 pkg_config_args=gtk+-2.0
29926 for module in . $GTK_MODULES
29927 do
29928 case "$module" in
29929 gthread)
29930 pkg_config_args="$pkg_config_args gthread-2.0"
29931 ;;
29932 esac
29933 done
29934
29935 no_gtk=""
29936
29937 # Extract the first word of "pkg-config", so it can be a program name with args.
29938 set dummy pkg-config; ac_word=$2
29939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29941 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29942 echo $ECHO_N "(cached) $ECHO_C" >&6
29943 else
29944 case $PKG_CONFIG in
29945 [\\/]* | ?:[\\/]*)
29946 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29947 ;;
29948 *)
29949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29950 for as_dir in $PATH
29951 do
29952 IFS=$as_save_IFS
29953 test -z "$as_dir" && as_dir=.
29954 for ac_exec_ext in '' $ac_executable_extensions; do
29955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29956 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29958 break 2
29959 fi
29960 done
29961 done
29962 IFS=$as_save_IFS
29963
29964 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29965 ;;
29966 esac
29967 fi
29968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29969 if test -n "$PKG_CONFIG"; then
29970 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29971 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29972 else
29973 { echo "$as_me:$LINENO: result: no" >&5
29974 echo "${ECHO_T}no" >&6; }
29975 fi
29976
29977
29978
29979 if test x$PKG_CONFIG != xno ; then
29980 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29981 :
29982 else
29983 echo "*** pkg-config too old; version 0.7 or better required."
29984 no_gtk=yes
29985 PKG_CONFIG=no
29986 fi
29987 else
29988 no_gtk=yes
29989 fi
29990
29991 min_gtk_version=2.0.0
29992 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29993 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29994
29995 if test x$PKG_CONFIG != xno ; then
29996 ## don't try to run the test against uninstalled libtool libs
29997 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29998 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29999 enable_gtktest=no
30000 fi
30001
30002 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30003 :
30004 else
30005 no_gtk=yes
30006 fi
30007 fi
30008
30009 if test x"$no_gtk" = x ; then
30010 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30011 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30012 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30014 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30016 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30018 if test "x$enable_gtktest" = "xyes" ; then
30019 ac_save_CFLAGS="$CFLAGS"
30020 ac_save_LIBS="$LIBS"
30021 CFLAGS="$CFLAGS $GTK_CFLAGS"
30022 LIBS="$GTK_LIBS $LIBS"
30023 rm -f conf.gtktest
30024 if test "$cross_compiling" = yes; then
30025 echo $ac_n "cross compiling; assumed OK... $ac_c"
30026 else
30027 cat >conftest.$ac_ext <<_ACEOF
30028 /* confdefs.h. */
30029 _ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033
30034 #include <gtk/gtk.h>
30035 #include <stdio.h>
30036 #include <stdlib.h>
30037
30038 int
30039 main ()
30040 {
30041 int major, minor, micro;
30042 char *tmp_version;
30043
30044 system ("touch conf.gtktest");
30045
30046 /* HP/UX 9 (%@#!) writes to sscanf strings */
30047 tmp_version = g_strdup("$min_gtk_version");
30048 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30049 printf("%s, bad version string\n", "$min_gtk_version");
30050 exit(1);
30051 }
30052
30053 if ((gtk_major_version != $gtk_config_major_version) ||
30054 (gtk_minor_version != $gtk_config_minor_version) ||
30055 (gtk_micro_version != $gtk_config_micro_version))
30056 {
30057 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30058 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30059 gtk_major_version, gtk_minor_version, gtk_micro_version);
30060 printf ("*** was found! If pkg-config was correct, then it is best\n");
30061 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30062 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30063 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30064 printf("*** required on your system.\n");
30065 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30066 printf("*** to point to the correct configuration files\n");
30067 }
30068 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30069 (gtk_minor_version != GTK_MINOR_VERSION) ||
30070 (gtk_micro_version != GTK_MICRO_VERSION))
30071 {
30072 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30073 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30074 printf("*** library (version %d.%d.%d)\n",
30075 gtk_major_version, gtk_minor_version, gtk_micro_version);
30076 }
30077 else
30078 {
30079 if ((gtk_major_version > major) ||
30080 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30081 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30082 {
30083 return 0;
30084 }
30085 else
30086 {
30087 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30088 gtk_major_version, gtk_minor_version, gtk_micro_version);
30089 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30090 major, minor, micro);
30091 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30092 printf("***\n");
30093 printf("*** If you have already installed a sufficiently new version, this error\n");
30094 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30095 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30096 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30097 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30098 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30099 printf("*** so that the correct libraries are found at run-time))\n");
30100 }
30101 }
30102 return 1;
30103 }
30104
30105 _ACEOF
30106 rm -f conftest$ac_exeext
30107 if { (ac_try="$ac_link"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30111 esac
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_link") 2>&5
30114 ac_status=$?
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30117 { (case "(($ac_try" in
30118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30119 *) ac_try_echo=$ac_try;;
30120 esac
30121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30122 (eval "$ac_try") 2>&5
30123 ac_status=$?
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); }; }; then
30126 :
30127 else
30128 echo "$as_me: program exited with status $ac_status" >&5
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30131
30132 ( exit $ac_status )
30133 no_gtk=yes
30134 fi
30135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30136 fi
30137
30138
30139 CFLAGS="$ac_save_CFLAGS"
30140 LIBS="$ac_save_LIBS"
30141 fi
30142 fi
30143 if test "x$no_gtk" = x ; then
30144 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30145 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30146 wx_cv_lib_gtk=2.0
30147 else
30148 { echo "$as_me:$LINENO: result: no" >&5
30149 echo "${ECHO_T}no" >&6; }
30150 if test "$PKG_CONFIG" = "no" ; then
30151 echo "*** A new enough version of pkg-config was not found."
30152 echo "*** See http://pkgconfig.sourceforge.net"
30153 else
30154 if test -f conf.gtktest ; then
30155 :
30156 else
30157 echo "*** Could not run GTK+ test program, checking why..."
30158 ac_save_CFLAGS="$CFLAGS"
30159 ac_save_LIBS="$LIBS"
30160 CFLAGS="$CFLAGS $GTK_CFLAGS"
30161 LIBS="$LIBS $GTK_LIBS"
30162 cat >conftest.$ac_ext <<_ACEOF
30163 /* confdefs.h. */
30164 _ACEOF
30165 cat confdefs.h >>conftest.$ac_ext
30166 cat >>conftest.$ac_ext <<_ACEOF
30167 /* end confdefs.h. */
30168
30169 #include <gtk/gtk.h>
30170 #include <stdio.h>
30171
30172 int
30173 main ()
30174 {
30175 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30176 ;
30177 return 0;
30178 }
30179 _ACEOF
30180 rm -f conftest.$ac_objext conftest$ac_exeext
30181 if { (ac_try="$ac_link"
30182 case "(($ac_try" in
30183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30184 *) ac_try_echo=$ac_try;;
30185 esac
30186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30187 (eval "$ac_link") 2>conftest.er1
30188 ac_status=$?
30189 grep -v '^ *+' conftest.er1 >conftest.err
30190 rm -f conftest.er1
30191 cat conftest.err >&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } && {
30194 test -z "$ac_c_werror_flag" ||
30195 test ! -s conftest.err
30196 } && test -s conftest$ac_exeext &&
30197 $as_test_x conftest$ac_exeext; then
30198 echo "*** The test program compiled, but did not run. This usually means"
30199 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30200 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30201 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30202 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30203 echo "*** is required on your system"
30204 echo "***"
30205 echo "*** If you have an old version installed, it is best to remove it, although"
30206 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30207 else
30208 echo "$as_me: failed program was:" >&5
30209 sed 's/^/| /' conftest.$ac_ext >&5
30210
30211 echo "*** The test program failed to compile or link. See the file config.log for the"
30212 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30213 fi
30214
30215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30216 conftest$ac_exeext conftest.$ac_ext
30217 CFLAGS="$ac_save_CFLAGS"
30218 LIBS="$ac_save_LIBS"
30219 fi
30220 fi
30221 GTK_CFLAGS=""
30222 GTK_LIBS=""
30223 :
30224 fi
30225
30226
30227 rm -f conf.gtktest
30228
30229
30230 case "${host}" in
30231 *-*-solaris2* )
30232 if test "$wxUSE_SHARED" != "yes"; then
30233 GTK_LIBS="$GTK_LIBS -lX11"
30234 fi
30235 esac
30236 fi
30237
30238 if test -z "$wx_cv_lib_gtk"; then
30239 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30240
30241 # Check whether --with-gtk-prefix was given.
30242 if test "${with_gtk_prefix+set}" = set; then
30243 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30244 else
30245 gtk_config_prefix=""
30246 fi
30247
30248
30249 # Check whether --with-gtk-exec-prefix was given.
30250 if test "${with_gtk_exec_prefix+set}" = set; then
30251 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30252 else
30253 gtk_config_exec_prefix=""
30254 fi
30255
30256 # Check whether --enable-gtktest was given.
30257 if test "${enable_gtktest+set}" = set; then
30258 enableval=$enable_gtktest;
30259 else
30260 enable_gtktest=yes
30261 fi
30262
30263
30264 for module in . $GTK_MODULES
30265 do
30266 case "$module" in
30267 gthread)
30268 gtk_config_args="$gtk_config_args gthread"
30269 ;;
30270 esac
30271 done
30272
30273 if test x$gtk_config_exec_prefix != x ; then
30274 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30275 if test x${GTK_CONFIG+set} != xset ; then
30276 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30277 fi
30278 fi
30279 if test x$gtk_config_prefix != x ; then
30280 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30281 if test x${GTK_CONFIG+set} != xset ; then
30282 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30283 fi
30284 fi
30285
30286 # Extract the first word of "gtk-config", so it can be a program name with args.
30287 set dummy gtk-config; ac_word=$2
30288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30290 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 else
30293 case $GTK_CONFIG in
30294 [\\/]* | ?:[\\/]*)
30295 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30296 ;;
30297 *)
30298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30299 for as_dir in $PATH
30300 do
30301 IFS=$as_save_IFS
30302 test -z "$as_dir" && as_dir=.
30303 for ac_exec_ext in '' $ac_executable_extensions; do
30304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30305 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30307 break 2
30308 fi
30309 done
30310 done
30311 IFS=$as_save_IFS
30312
30313 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30314 ;;
30315 esac
30316 fi
30317 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30318 if test -n "$GTK_CONFIG"; then
30319 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30320 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30321 else
30322 { echo "$as_me:$LINENO: result: no" >&5
30323 echo "${ECHO_T}no" >&6; }
30324 fi
30325
30326
30327 min_gtk_version=1.2.7
30328 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30329 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30330 no_gtk=""
30331 if test "$GTK_CONFIG" = "no" ; then
30332 no_gtk=yes
30333 else
30334 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30335 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30336 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30337 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30338 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30339 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30340 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30342 if test "x$enable_gtktest" = "xyes" ; then
30343 ac_save_CFLAGS="$CFLAGS"
30344 ac_save_LIBS="$LIBS"
30345 CFLAGS="$CFLAGS $GTK_CFLAGS"
30346 LIBS="$GTK_LIBS $LIBS"
30347 rm -f conf.gtktest
30348 if test "$cross_compiling" = yes; then
30349 echo $ac_n "cross compiling; assumed OK... $ac_c"
30350 else
30351 cat >conftest.$ac_ext <<_ACEOF
30352 /* confdefs.h. */
30353 _ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30357
30358 #include <gtk/gtk.h>
30359 #include <stdio.h>
30360 #include <stdlib.h>
30361
30362 int
30363 main ()
30364 {
30365 int major, minor, micro;
30366 char *tmp_version;
30367
30368 system ("touch conf.gtktest");
30369
30370 /* HP/UX 9 (%@#!) writes to sscanf strings */
30371 tmp_version = g_strdup("$min_gtk_version");
30372 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30373 printf("%s, bad version string\n", "$min_gtk_version");
30374 exit(1);
30375 }
30376
30377 if ((gtk_major_version != $gtk_config_major_version) ||
30378 (gtk_minor_version != $gtk_config_minor_version) ||
30379 (gtk_micro_version != $gtk_config_micro_version))
30380 {
30381 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30382 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30383 gtk_major_version, gtk_minor_version, gtk_micro_version);
30384 printf ("*** was found! If gtk-config was correct, then it is best\n");
30385 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30386 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30387 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30388 printf("*** required on your system.\n");
30389 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30390 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30391 printf("*** before re-running configure\n");
30392 }
30393 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30394 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30395 (gtk_minor_version != GTK_MINOR_VERSION) ||
30396 (gtk_micro_version != GTK_MICRO_VERSION))
30397 {
30398 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30399 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30400 printf("*** library (version %d.%d.%d)\n",
30401 gtk_major_version, gtk_minor_version, gtk_micro_version);
30402 }
30403 #endif /* defined (GTK_MAJOR_VERSION) ... */
30404 else
30405 {
30406 if ((gtk_major_version > major) ||
30407 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30408 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30409 {
30410 return 0;
30411 }
30412 else
30413 {
30414 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30415 gtk_major_version, gtk_minor_version, gtk_micro_version);
30416 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30417 major, minor, micro);
30418 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30419 printf("***\n");
30420 printf("*** If you have already installed a sufficiently new version, this error\n");
30421 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30422 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30423 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30424 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30425 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30426 printf("*** so that the correct libraries are found at run-time))\n");
30427 }
30428 }
30429 return 1;
30430 }
30431
30432 _ACEOF
30433 rm -f conftest$ac_exeext
30434 if { (ac_try="$ac_link"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30438 esac
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_link") 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30444 { (case "(($ac_try" in
30445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30447 esac
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_try") 2>&5
30450 ac_status=$?
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; }; then
30453 :
30454 else
30455 echo "$as_me: program exited with status $ac_status" >&5
30456 echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.$ac_ext >&5
30458
30459 ( exit $ac_status )
30460 no_gtk=yes
30461 fi
30462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30463 fi
30464
30465
30466 CFLAGS="$ac_save_CFLAGS"
30467 LIBS="$ac_save_LIBS"
30468 fi
30469 fi
30470 if test "x$no_gtk" = x ; then
30471 { echo "$as_me:$LINENO: result: yes" >&5
30472 echo "${ECHO_T}yes" >&6; }
30473 wx_cv_lib_gtk=1.2.7
30474 else
30475 { echo "$as_me:$LINENO: result: no" >&5
30476 echo "${ECHO_T}no" >&6; }
30477 if test "$GTK_CONFIG" = "no" ; then
30478 echo "*** The gtk-config script installed by GTK could not be found"
30479 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30480 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30481 echo "*** full path to gtk-config."
30482 else
30483 if test -f conf.gtktest ; then
30484 :
30485 else
30486 echo "*** Could not run GTK test program, checking why..."
30487 CFLAGS="$CFLAGS $GTK_CFLAGS"
30488 LIBS="$LIBS $GTK_LIBS"
30489 cat >conftest.$ac_ext <<_ACEOF
30490 /* confdefs.h. */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495
30496 #include <gtk/gtk.h>
30497 #include <stdio.h>
30498
30499 int
30500 main ()
30501 {
30502 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30503 ;
30504 return 0;
30505 }
30506 _ACEOF
30507 rm -f conftest.$ac_objext conftest$ac_exeext
30508 if { (ac_try="$ac_link"
30509 case "(($ac_try" in
30510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30511 *) ac_try_echo=$ac_try;;
30512 esac
30513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30514 (eval "$ac_link") 2>conftest.er1
30515 ac_status=$?
30516 grep -v '^ *+' conftest.er1 >conftest.err
30517 rm -f conftest.er1
30518 cat conftest.err >&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } && {
30521 test -z "$ac_c_werror_flag" ||
30522 test ! -s conftest.err
30523 } && test -s conftest$ac_exeext &&
30524 $as_test_x conftest$ac_exeext; then
30525 echo "*** The test program compiled, but did not run. This usually means"
30526 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30527 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30528 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30529 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30530 echo "*** is required on your system"
30531 echo "***"
30532 echo "*** If you have an old version installed, it is best to remove it, although"
30533 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30534 echo "***"
30535 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30536 echo "*** came with the system with the command"
30537 echo "***"
30538 echo "*** rpm --erase --nodeps gtk gtk-devel"
30539 else
30540 echo "$as_me: failed program was:" >&5
30541 sed 's/^/| /' conftest.$ac_ext >&5
30542
30543 echo "*** The test program failed to compile or link. See the file config.log for the"
30544 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30545 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30546 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30547 fi
30548
30549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30550 conftest$ac_exeext conftest.$ac_ext
30551 CFLAGS="$ac_save_CFLAGS"
30552 LIBS="$ac_save_LIBS"
30553 fi
30554 fi
30555 GTK_CFLAGS=""
30556 GTK_LIBS=""
30557 :
30558 fi
30559
30560
30561 rm -f conf.gtktest
30562
30563
30564 if test -z "$wx_cv_lib_gtk"; then
30565
30566 # Check whether --with-gtk-prefix was given.
30567 if test "${with_gtk_prefix+set}" = set; then
30568 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30569 else
30570 gtk_config_prefix=""
30571 fi
30572
30573
30574 # Check whether --with-gtk-exec-prefix was given.
30575 if test "${with_gtk_exec_prefix+set}" = set; then
30576 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30577 else
30578 gtk_config_exec_prefix=""
30579 fi
30580
30581 # Check whether --enable-gtktest was given.
30582 if test "${enable_gtktest+set}" = set; then
30583 enableval=$enable_gtktest;
30584 else
30585 enable_gtktest=yes
30586 fi
30587
30588
30589 for module in . $GTK_MODULES
30590 do
30591 case "$module" in
30592 gthread)
30593 gtk_config_args="$gtk_config_args gthread"
30594 ;;
30595 esac
30596 done
30597
30598 if test x$gtk_config_exec_prefix != x ; then
30599 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30600 if test x${GTK_CONFIG+set} != xset ; then
30601 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30602 fi
30603 fi
30604 if test x$gtk_config_prefix != x ; then
30605 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30606 if test x${GTK_CONFIG+set} != xset ; then
30607 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30608 fi
30609 fi
30610
30611 # Extract the first word of "gtk-config", so it can be a program name with args.
30612 set dummy gtk-config; ac_word=$2
30613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30615 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30617 else
30618 case $GTK_CONFIG in
30619 [\\/]* | ?:[\\/]*)
30620 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30621 ;;
30622 *)
30623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30624 for as_dir in $PATH
30625 do
30626 IFS=$as_save_IFS
30627 test -z "$as_dir" && as_dir=.
30628 for ac_exec_ext in '' $ac_executable_extensions; do
30629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30630 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30632 break 2
30633 fi
30634 done
30635 done
30636 IFS=$as_save_IFS
30637
30638 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30639 ;;
30640 esac
30641 fi
30642 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30643 if test -n "$GTK_CONFIG"; then
30644 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30645 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30646 else
30647 { echo "$as_me:$LINENO: result: no" >&5
30648 echo "${ECHO_T}no" >&6; }
30649 fi
30650
30651
30652 min_gtk_version=1.2.3
30653 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30654 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30655 no_gtk=""
30656 if test "$GTK_CONFIG" = "no" ; then
30657 no_gtk=yes
30658 else
30659 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30660 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30661 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30663 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30664 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30665 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30667 if test "x$enable_gtktest" = "xyes" ; then
30668 ac_save_CFLAGS="$CFLAGS"
30669 ac_save_LIBS="$LIBS"
30670 CFLAGS="$CFLAGS $GTK_CFLAGS"
30671 LIBS="$GTK_LIBS $LIBS"
30672 rm -f conf.gtktest
30673 if test "$cross_compiling" = yes; then
30674 echo $ac_n "cross compiling; assumed OK... $ac_c"
30675 else
30676 cat >conftest.$ac_ext <<_ACEOF
30677 /* confdefs.h. */
30678 _ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682
30683 #include <gtk/gtk.h>
30684 #include <stdio.h>
30685 #include <stdlib.h>
30686
30687 int
30688 main ()
30689 {
30690 int major, minor, micro;
30691 char *tmp_version;
30692
30693 system ("touch conf.gtktest");
30694
30695 /* HP/UX 9 (%@#!) writes to sscanf strings */
30696 tmp_version = g_strdup("$min_gtk_version");
30697 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30698 printf("%s, bad version string\n", "$min_gtk_version");
30699 exit(1);
30700 }
30701
30702 if ((gtk_major_version != $gtk_config_major_version) ||
30703 (gtk_minor_version != $gtk_config_minor_version) ||
30704 (gtk_micro_version != $gtk_config_micro_version))
30705 {
30706 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30707 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30708 gtk_major_version, gtk_minor_version, gtk_micro_version);
30709 printf ("*** was found! If gtk-config was correct, then it is best\n");
30710 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30711 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30712 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30713 printf("*** required on your system.\n");
30714 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30715 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30716 printf("*** before re-running configure\n");
30717 }
30718 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30719 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30720 (gtk_minor_version != GTK_MINOR_VERSION) ||
30721 (gtk_micro_version != GTK_MICRO_VERSION))
30722 {
30723 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30724 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30725 printf("*** library (version %d.%d.%d)\n",
30726 gtk_major_version, gtk_minor_version, gtk_micro_version);
30727 }
30728 #endif /* defined (GTK_MAJOR_VERSION) ... */
30729 else
30730 {
30731 if ((gtk_major_version > major) ||
30732 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30733 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30734 {
30735 return 0;
30736 }
30737 else
30738 {
30739 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30740 gtk_major_version, gtk_minor_version, gtk_micro_version);
30741 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30742 major, minor, micro);
30743 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30744 printf("***\n");
30745 printf("*** If you have already installed a sufficiently new version, this error\n");
30746 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30747 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30748 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30749 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30750 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30751 printf("*** so that the correct libraries are found at run-time))\n");
30752 }
30753 }
30754 return 1;
30755 }
30756
30757 _ACEOF
30758 rm -f conftest$ac_exeext
30759 if { (ac_try="$ac_link"
30760 case "(($ac_try" in
30761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30762 *) ac_try_echo=$ac_try;;
30763 esac
30764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30765 (eval "$ac_link") 2>&5
30766 ac_status=$?
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30769 { (case "(($ac_try" in
30770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30772 esac
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_try") 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30778 :
30779 else
30780 echo "$as_me: program exited with status $ac_status" >&5
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30783
30784 ( exit $ac_status )
30785 no_gtk=yes
30786 fi
30787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30788 fi
30789
30790
30791 CFLAGS="$ac_save_CFLAGS"
30792 LIBS="$ac_save_LIBS"
30793 fi
30794 fi
30795 if test "x$no_gtk" = x ; then
30796 { echo "$as_me:$LINENO: result: yes" >&5
30797 echo "${ECHO_T}yes" >&6; }
30798 wx_cv_lib_gtk=1.2.3
30799 else
30800 { echo "$as_me:$LINENO: result: no" >&5
30801 echo "${ECHO_T}no" >&6; }
30802 if test "$GTK_CONFIG" = "no" ; then
30803 echo "*** The gtk-config script installed by GTK could not be found"
30804 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30805 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30806 echo "*** full path to gtk-config."
30807 else
30808 if test -f conf.gtktest ; then
30809 :
30810 else
30811 echo "*** Could not run GTK test program, checking why..."
30812 CFLAGS="$CFLAGS $GTK_CFLAGS"
30813 LIBS="$LIBS $GTK_LIBS"
30814 cat >conftest.$ac_ext <<_ACEOF
30815 /* confdefs.h. */
30816 _ACEOF
30817 cat confdefs.h >>conftest.$ac_ext
30818 cat >>conftest.$ac_ext <<_ACEOF
30819 /* end confdefs.h. */
30820
30821 #include <gtk/gtk.h>
30822 #include <stdio.h>
30823
30824 int
30825 main ()
30826 {
30827 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30828 ;
30829 return 0;
30830 }
30831 _ACEOF
30832 rm -f conftest.$ac_objext conftest$ac_exeext
30833 if { (ac_try="$ac_link"
30834 case "(($ac_try" in
30835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30836 *) ac_try_echo=$ac_try;;
30837 esac
30838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30839 (eval "$ac_link") 2>conftest.er1
30840 ac_status=$?
30841 grep -v '^ *+' conftest.er1 >conftest.err
30842 rm -f conftest.er1
30843 cat conftest.err >&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); } && {
30846 test -z "$ac_c_werror_flag" ||
30847 test ! -s conftest.err
30848 } && test -s conftest$ac_exeext &&
30849 $as_test_x conftest$ac_exeext; then
30850 echo "*** The test program compiled, but did not run. This usually means"
30851 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30852 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30853 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30854 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30855 echo "*** is required on your system"
30856 echo "***"
30857 echo "*** If you have an old version installed, it is best to remove it, although"
30858 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30859 echo "***"
30860 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30861 echo "*** came with the system with the command"
30862 echo "***"
30863 echo "*** rpm --erase --nodeps gtk gtk-devel"
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868 echo "*** The test program failed to compile or link. See the file config.log for the"
30869 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30870 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30871 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30872 fi
30873
30874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30875 conftest$ac_exeext conftest.$ac_ext
30876 CFLAGS="$ac_save_CFLAGS"
30877 LIBS="$ac_save_LIBS"
30878 fi
30879 fi
30880 GTK_CFLAGS=""
30881 GTK_LIBS=""
30882 :
30883 fi
30884
30885
30886 rm -f conf.gtktest
30887
30888 fi
30889 fi
30890 fi
30891
30892 if test -z "$wx_cv_lib_gtk"; then
30893 wx_cv_lib_gtk=none
30894 else
30895 wx_cv_cflags_gtk=$GTK_CFLAGS
30896 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30897 fi
30898
30899
30900 fi
30901
30902
30903 if test "$gtk_version_cached" = 1; then
30904 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30905 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30906 fi
30907
30908 case "$wx_cv_lib_gtk" in
30909 2.0) WXGTK20=1
30910 TOOLKIT_VERSION=2
30911 ;;
30912 1.2.7) WXGTK127=1
30913 WXGTK12=1
30914 ;;
30915 1.2.3) WXGTK12=1
30916 ;;
30917 *) { { echo "$as_me:$LINENO: error:
30918 The development files for GTK+ were not found. For GTK+ 2, please
30919 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30920 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30921 and that the version is 1.2.3 or above. Also check that the
30922 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30923 --libs' are in the LD_LIBRARY_PATH or equivalent.
30924 " >&5
30925 echo "$as_me: error:
30926 The development files for GTK+ were not found. For GTK+ 2, please
30927 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30928 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30929 and that the version is 1.2.3 or above. Also check that the
30930 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30931 --libs' are in the LD_LIBRARY_PATH or equivalent.
30932 " >&2;}
30933 { (exit 1); exit 1; }; }
30934 ;;
30935 esac
30936
30937 if test "$WXGTK20" = 1; then
30938 save_CFLAGS="$CFLAGS"
30939 save_LIBS="$LIBS"
30940 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30941 LIBS="$LIBS $wx_cv_libs_gtk"
30942
30943 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30944 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30945 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30946 echo $ECHO_N "(cached) $ECHO_C" >&6
30947 else
30948 cat >conftest.$ac_ext <<_ACEOF
30949 /* confdefs.h. */
30950 _ACEOF
30951 cat confdefs.h >>conftest.$ac_ext
30952 cat >>conftest.$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30954 #include <gtk/gtk.h>
30955
30956 int
30957 main ()
30958 {
30959 #ifndef gtk_icon_size_lookup
30960 (void) gtk_icon_size_lookup;
30961 #endif
30962
30963 ;
30964 return 0;
30965 }
30966 _ACEOF
30967 rm -f conftest.$ac_objext
30968 if { (ac_try="$ac_compile"
30969 case "(($ac_try" in
30970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30971 *) ac_try_echo=$ac_try;;
30972 esac
30973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30974 (eval "$ac_compile") 2>conftest.er1
30975 ac_status=$?
30976 grep -v '^ *+' conftest.er1 >conftest.err
30977 rm -f conftest.er1
30978 cat conftest.err >&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } && {
30981 test -z "$ac_c_werror_flag" ||
30982 test ! -s conftest.err
30983 } && test -s conftest.$ac_objext; then
30984 ac_cv_have_decl_gtk_icon_size_lookup=yes
30985 else
30986 echo "$as_me: failed program was:" >&5
30987 sed 's/^/| /' conftest.$ac_ext >&5
30988
30989 ac_cv_have_decl_gtk_icon_size_lookup=no
30990 fi
30991
30992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30993 fi
30994 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30995 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
30996 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30997
30998 cat >>confdefs.h <<_ACEOF
30999 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31000 _ACEOF
31001
31002
31003 else
31004 cat >>confdefs.h <<_ACEOF
31005 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31006 _ACEOF
31007
31008 cat >>confdefs.h <<\_ACEOF
31009 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31010 _ACEOF
31011
31012 fi
31013
31014
31015
31016
31017 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31018 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31019 cat >conftest.$ac_ext <<_ACEOF
31020 /* confdefs.h. */
31021 _ACEOF
31022 cat confdefs.h >>conftest.$ac_ext
31023 cat >>conftest.$ac_ext <<_ACEOF
31024 /* end confdefs.h. */
31025
31026 #include <gtk/gtk.h>
31027
31028 int
31029 main ()
31030 {
31031
31032 #if !GTK_CHECK_VERSION(2,10,0)
31033 Not GTK+ 2.10
31034 #endif
31035
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 rm -f conftest.$ac_objext
31041 if { (ac_try="$ac_compile"
31042 case "(($ac_try" in
31043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31045 esac
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_compile") 2>conftest.er1
31048 ac_status=$?
31049 grep -v '^ *+' conftest.er1 >conftest.err
31050 rm -f conftest.er1
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest.$ac_objext; then
31057
31058 cat >>confdefs.h <<\_ACEOF
31059 #define __WXGTK210__ 1
31060 _ACEOF
31061
31062 cat >>confdefs.h <<\_ACEOF
31063 #define __WXGTK26__ 1
31064 _ACEOF
31065
31066 cat >>confdefs.h <<\_ACEOF
31067 #define __WXGTK24__ 1
31068 _ACEOF
31069
31070 { echo "$as_me:$LINENO: result: yes" >&5
31071 echo "${ECHO_T}yes" >&6; }
31072 ac_wxgtk210=1
31073
31074 else
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078
31079 { echo "$as_me:$LINENO: result: no" >&5
31080 echo "${ECHO_T}no" >&6; }
31081 ac_wxgtk210=0
31082
31083 fi
31084
31085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31086
31087 if test "$ac_wxgtk210" = 0; then
31088 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31089 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31090 cat >conftest.$ac_ext <<_ACEOF
31091 /* confdefs.h. */
31092 _ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096
31097 #include <gtk/gtk.h>
31098
31099 int
31100 main ()
31101 {
31102
31103 #if !GTK_CHECK_VERSION(2,6,0)
31104 Not GTK+ 2.6
31105 #endif
31106
31107 ;
31108 return 0;
31109 }
31110 _ACEOF
31111 rm -f conftest.$ac_objext
31112 if { (ac_try="$ac_compile"
31113 case "(($ac_try" in
31114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31115 *) ac_try_echo=$ac_try;;
31116 esac
31117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31118 (eval "$ac_compile") 2>conftest.er1
31119 ac_status=$?
31120 grep -v '^ *+' conftest.er1 >conftest.err
31121 rm -f conftest.er1
31122 cat conftest.err >&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); } && {
31125 test -z "$ac_c_werror_flag" ||
31126 test ! -s conftest.err
31127 } && test -s conftest.$ac_objext; then
31128
31129 cat >>confdefs.h <<\_ACEOF
31130 #define __WXGTK26__ 1
31131 _ACEOF
31132
31133 cat >>confdefs.h <<\_ACEOF
31134 #define __WXGTK24__ 1
31135 _ACEOF
31136
31137 { echo "$as_me:$LINENO: result: yes" >&5
31138 echo "${ECHO_T}yes" >&6; }
31139 ac_wxgtk26=1
31140
31141 else
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31144
31145
31146 { echo "$as_me:$LINENO: result: no" >&5
31147 echo "${ECHO_T}no" >&6; }
31148 ac_wxgtk26=0
31149
31150 fi
31151
31152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31153 fi
31154
31155 if test "$ac_wxgtk26" = 0; then
31156 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31157 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164
31165 #include <gtk/gtk.h>
31166
31167 int
31168 main ()
31169 {
31170
31171 #if !GTK_CHECK_VERSION(2,4,0)
31172 Not GTK+ 2.4
31173 #endif
31174
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 rm -f conftest.$ac_objext
31180 if { (ac_try="$ac_compile"
31181 case "(($ac_try" in
31182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31183 *) ac_try_echo=$ac_try;;
31184 esac
31185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31186 (eval "$ac_compile") 2>conftest.er1
31187 ac_status=$?
31188 grep -v '^ *+' conftest.er1 >conftest.err
31189 rm -f conftest.er1
31190 cat conftest.err >&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); } && {
31193 test -z "$ac_c_werror_flag" ||
31194 test ! -s conftest.err
31195 } && test -s conftest.$ac_objext; then
31196
31197 cat >>confdefs.h <<\_ACEOF
31198 #define __WXGTK24__ 1
31199 _ACEOF
31200
31201 { echo "$as_me:$LINENO: result: yes" >&5
31202 echo "${ECHO_T}yes" >&6; }
31203
31204 else
31205 echo "$as_me: failed program was:" >&5
31206 sed 's/^/| /' conftest.$ac_ext >&5
31207
31208
31209 { echo "$as_me:$LINENO: result: no" >&5
31210 echo "${ECHO_T}no" >&6; }
31211
31212 fi
31213
31214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31215 fi
31216
31217 CFLAGS="$save_CFLAGS"
31218 LIBS="$save_LIBS"
31219 else
31220 if test "$wxUSE_UNICODE" = "yes"; then
31221 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31222 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31223 wxUSE_UNICODE=no
31224 fi
31225
31226 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31227 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31228 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31229 echo $ECHO_N "(cached) $ECHO_C" >&6
31230 else
31231 ac_check_lib_save_LIBS=$LIBS
31232 LIBS="-lgdk $LIBS"
31233 cat >conftest.$ac_ext <<_ACEOF
31234 /* confdefs.h. */
31235 _ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h. */
31239
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 char gdk_im_open ();
31247 int
31248 main ()
31249 {
31250 return gdk_im_open ();
31251 ;
31252 return 0;
31253 }
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31260 esac
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } && {
31269 test -z "$ac_c_werror_flag" ||
31270 test ! -s conftest.err
31271 } && test -s conftest$ac_exeext &&
31272 $as_test_x conftest$ac_exeext; then
31273 ac_cv_lib_gdk_gdk_im_open=yes
31274 else
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.$ac_ext >&5
31277
31278 ac_cv_lib_gdk_gdk_im_open=no
31279 fi
31280
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31284 fi
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31286 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31287 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31288 cat >>confdefs.h <<\_ACEOF
31289 #define HAVE_XIM 1
31290 _ACEOF
31291
31292 fi
31293
31294
31295 if test "$USE_DARWIN" != 1; then
31296
31297 for ac_func in poll
31298 do
31299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31304 else
31305 cat >conftest.$ac_ext <<_ACEOF
31306 /* confdefs.h. */
31307 _ACEOF
31308 cat confdefs.h >>conftest.$ac_ext
31309 cat >>conftest.$ac_ext <<_ACEOF
31310 /* end confdefs.h. */
31311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31313 #define $ac_func innocuous_$ac_func
31314
31315 /* System header to define __stub macros and hopefully few prototypes,
31316 which can conflict with char $ac_func (); below.
31317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31318 <limits.h> exists even on freestanding compilers. */
31319
31320 #ifdef __STDC__
31321 # include <limits.h>
31322 #else
31323 # include <assert.h>
31324 #endif
31325
31326 #undef $ac_func
31327
31328 /* Override any GCC internal prototype to avoid an error.
31329 Use char because int might match the return type of a GCC
31330 builtin and then its argument prototype would still apply. */
31331 #ifdef __cplusplus
31332 extern "C"
31333 #endif
31334 char $ac_func ();
31335 /* The GNU C library defines this for functions which it implements
31336 to always fail with ENOSYS. Some functions are actually named
31337 something starting with __ and the normal name is an alias. */
31338 #if defined __stub_$ac_func || defined __stub___$ac_func
31339 choke me
31340 #endif
31341
31342 int
31343 main ()
31344 {
31345 return $ac_func ();
31346 ;
31347 return 0;
31348 }
31349 _ACEOF
31350 rm -f conftest.$ac_objext conftest$ac_exeext
31351 if { (ac_try="$ac_link"
31352 case "(($ac_try" in
31353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31354 *) ac_try_echo=$ac_try;;
31355 esac
31356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31357 (eval "$ac_link") 2>conftest.er1
31358 ac_status=$?
31359 grep -v '^ *+' conftest.er1 >conftest.err
31360 rm -f conftest.er1
31361 cat conftest.err >&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } && {
31364 test -z "$ac_c_werror_flag" ||
31365 test ! -s conftest.err
31366 } && test -s conftest$ac_exeext &&
31367 $as_test_x conftest$ac_exeext; then
31368 eval "$as_ac_var=yes"
31369 else
31370 echo "$as_me: failed program was:" >&5
31371 sed 's/^/| /' conftest.$ac_ext >&5
31372
31373 eval "$as_ac_var=no"
31374 fi
31375
31376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31377 conftest$ac_exeext conftest.$ac_ext
31378 fi
31379 ac_res=`eval echo '${'$as_ac_var'}'`
31380 { echo "$as_me:$LINENO: result: $ac_res" >&5
31381 echo "${ECHO_T}$ac_res" >&6; }
31382 if test `eval echo '${'$as_ac_var'}'` = yes; then
31383 cat >>confdefs.h <<_ACEOF
31384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31385 _ACEOF
31386
31387 fi
31388 done
31389
31390 fi
31391 fi
31392
31393 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31394 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31395
31396 AFMINSTALL=afminstall
31397 TOOLKIT=GTK
31398 GUIDIST=GTK_DIST
31399
31400 if test "$wxUSE_GPE" = "yes"; then
31401 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31402 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31403
31404 ac_find_libraries=
31405 for ac_dir in $SEARCH_LIB;
31406 do
31407 for ac_extension in a so sl dylib dll.a; do
31408 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31409 ac_find_libraries=$ac_dir
31410 break 2
31411 fi
31412 done
31413 done
31414
31415 if test "$ac_find_libraries" != "" ; then
31416
31417 if test "$ac_find_libraries" = "default location"; then
31418 ac_path_to_link=""
31419 else
31420 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31421 result=$?
31422 if test $result = 0; then
31423 ac_path_to_link=""
31424 else
31425 ac_path_to_link=" -L$ac_find_libraries"
31426 fi
31427 fi
31428
31429 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31430 WXGPE=1
31431 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31432 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31433 else
31434 { echo "$as_me:$LINENO: result: not found" >&5
31435 echo "${ECHO_T}not found" >&6; }
31436 fi
31437
31438 fi
31439 fi
31440
31441 if test "$wxUSE_MGL" = 1; then
31442 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31443 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31444 if test "x$MGL_ROOT" = x ; then
31445 { echo "$as_me:$LINENO: result: not found" >&5
31446 echo "${ECHO_T}not found" >&6; }
31447 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31448 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31449 { (exit 1); exit 1; }; }
31450 else
31451 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31452 echo "${ECHO_T}$MGL_ROOT" >&6; }
31453 fi
31454
31455 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31456 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31457 case "${host}" in
31458 *-*-linux* )
31459 if test "x$wxUSE_SHARED" = xyes ; then
31460 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31461 else
31462 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31463 fi
31464 ;;
31465 *-pc-msdosdjgpp )
31466 mgl_os_candidates="dos32/dj2"
31467 ;;
31468 *)
31469 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31470 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31471 { (exit 1); exit 1; }; }
31472 esac
31473
31474 mgl_lib_type=""
31475 mgl_os=""
31476
31477 for mgl_os_i in $mgl_os_candidates ; do
31478 if test "x$mgl_os" = x ; then
31479 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31480 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31481 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31482 mgl_lib_type=debug
31483 mgl_os=$mgl_os_i
31484 fi
31485 fi
31486 if test "x$mgl_lib_type" = x ; then
31487 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31488 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31489 mgl_lib_type=release
31490 mgl_os=$mgl_os_i
31491 fi
31492 fi
31493 fi
31494 done
31495
31496 if test "x$mgl_os" = x ; then
31497 { echo "$as_me:$LINENO: result: not found" >&5
31498 echo "${ECHO_T}not found" >&6; }
31499 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31500 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31501 { (exit 1); exit 1; }; }
31502 fi
31503 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31504 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31505
31506 wxUSE_UNIVERSAL="yes"
31507
31508 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31509 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31510
31511 AFMINSTALL=afminstall
31512 TOOLKIT=MGL
31513 GUIDIST=MGL_DIST
31514 fi
31515
31516 if test "$wxUSE_DFB" = 1; then
31517
31518
31519 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31520 if test -n "$ac_tool_prefix"; then
31521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31527 else
31528 case $PKG_CONFIG in
31529 [\\/]* | ?:[\\/]*)
31530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31531 ;;
31532 *)
31533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31534 for as_dir in $PATH
31535 do
31536 IFS=$as_save_IFS
31537 test -z "$as_dir" && as_dir=.
31538 for ac_exec_ext in '' $ac_executable_extensions; do
31539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31542 break 2
31543 fi
31544 done
31545 done
31546 IFS=$as_save_IFS
31547
31548 ;;
31549 esac
31550 fi
31551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31552 if test -n "$PKG_CONFIG"; then
31553 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31554 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31555 else
31556 { echo "$as_me:$LINENO: result: no" >&5
31557 echo "${ECHO_T}no" >&6; }
31558 fi
31559
31560
31561 fi
31562 if test -z "$ac_cv_path_PKG_CONFIG"; then
31563 ac_pt_PKG_CONFIG=$PKG_CONFIG
31564 # Extract the first word of "pkg-config", so it can be a program name with args.
31565 set dummy pkg-config; ac_word=$2
31566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31568 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 else
31571 case $ac_pt_PKG_CONFIG in
31572 [\\/]* | ?:[\\/]*)
31573 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31574 ;;
31575 *)
31576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31577 for as_dir in $PATH
31578 do
31579 IFS=$as_save_IFS
31580 test -z "$as_dir" && as_dir=.
31581 for ac_exec_ext in '' $ac_executable_extensions; do
31582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31583 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31585 break 2
31586 fi
31587 done
31588 done
31589 IFS=$as_save_IFS
31590
31591 ;;
31592 esac
31593 fi
31594 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31595 if test -n "$ac_pt_PKG_CONFIG"; then
31596 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31597 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31598 else
31599 { echo "$as_me:$LINENO: result: no" >&5
31600 echo "${ECHO_T}no" >&6; }
31601 fi
31602
31603 if test "x$ac_pt_PKG_CONFIG" = x; then
31604 PKG_CONFIG=""
31605 else
31606 case $cross_compiling:$ac_tool_warned in
31607 yes:)
31608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31609 whose name does not start with the host triplet. If you think this
31610 configuration is useful to you, please write to autoconf@gnu.org." >&5
31611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31612 whose name does not start with the host triplet. If you think this
31613 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31614 ac_tool_warned=yes ;;
31615 esac
31616 PKG_CONFIG=$ac_pt_PKG_CONFIG
31617 fi
31618 else
31619 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31620 fi
31621
31622 fi
31623 if test -n "$PKG_CONFIG"; then
31624 _pkg_min_version=0.9.0
31625 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31626 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31627 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31628 { echo "$as_me:$LINENO: result: yes" >&5
31629 echo "${ECHO_T}yes" >&6; }
31630 else
31631 { echo "$as_me:$LINENO: result: no" >&5
31632 echo "${ECHO_T}no" >&6; }
31633 PKG_CONFIG=""
31634 fi
31635
31636 fi
31637
31638
31639 pkg_failed=no
31640 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31641 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31642
31643 if test -n "$PKG_CONFIG"; then
31644 if test -n "$DIRECTFB_CFLAGS"; then
31645 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31646 else
31647 if test -n "$PKG_CONFIG" && \
31648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31649 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; then
31653 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31654 else
31655 pkg_failed=yes
31656 fi
31657 fi
31658 else
31659 pkg_failed=untried
31660 fi
31661 if test -n "$PKG_CONFIG"; then
31662 if test -n "$DIRECTFB_LIBS"; then
31663 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31664 else
31665 if test -n "$PKG_CONFIG" && \
31666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31667 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31668 ac_status=$?
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); }; then
31671 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31672 else
31673 pkg_failed=yes
31674 fi
31675 fi
31676 else
31677 pkg_failed=untried
31678 fi
31679
31680
31681
31682 if test $pkg_failed = yes; then
31683
31684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31685 _pkg_short_errors_supported=yes
31686 else
31687 _pkg_short_errors_supported=no
31688 fi
31689 if test $_pkg_short_errors_supported = yes; then
31690 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31691 else
31692 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31693 fi
31694 # Put the nasty error message in config.log where it belongs
31695 echo "$DIRECTFB_PKG_ERRORS" >&5
31696
31697
31698 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31699 echo "$as_me: error: DirectFB not found." >&2;}
31700 { (exit 1); exit 1; }; }
31701
31702
31703 elif test $pkg_failed = untried; then
31704
31705 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31706 echo "$as_me: error: DirectFB not found." >&2;}
31707 { (exit 1); exit 1; }; }
31708
31709
31710 else
31711 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31712 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31713 { echo "$as_me:$LINENO: result: yes" >&5
31714 echo "${ECHO_T}yes" >&6; }
31715
31716 wxUSE_UNIVERSAL="yes"
31717 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31718 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31719 TOOLKIT=DFB
31720 GUIDIST=DFB_DIST
31721
31722 fi
31723 fi
31724
31725 if test "$wxUSE_MICROWIN" = 1; then
31726 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31727 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31728 if test "x$MICROWINDOWS" = x ; then
31729 { echo "$as_me:$LINENO: result: not found" >&5
31730 echo "${ECHO_T}not found" >&6; }
31731 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31732 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31733 { (exit 1); exit 1; }; }
31734 else
31735 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31736 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31737 fi
31738
31739 if test -f $MICROWINDOWS/lib/libmwin.a; then
31740 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31741 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31742 else
31743 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31744 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31745 { (exit 1); exit 1; }; }
31746 fi
31747
31748 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31749 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31750
31751 wxUSE_UNIVERSAL="yes"
31752
31753 AFMINSTALL=afminstall
31754 TOOLKIT=MICROWIN
31755 GUIDIST=MICROWIN_DIST
31756
31757 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31758 fi
31759
31760 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31761 { echo "$as_me:$LINENO: checking for X" >&5
31762 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31763
31764
31765 # Check whether --with-x was given.
31766 if test "${with_x+set}" = set; then
31767 withval=$with_x;
31768 fi
31769
31770 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31771 if test "x$with_x" = xno; then
31772 # The user explicitly disabled X.
31773 have_x=disabled
31774 else
31775 case $x_includes,$x_libraries in #(
31776 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31777 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31778 { (exit 1); exit 1; }; };; #(
31779 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 else
31782 # One or both of the vars are not set, and there is no cached value.
31783 ac_x_includes=no ac_x_libraries=no
31784 rm -f -r conftest.dir
31785 if mkdir conftest.dir; then
31786 cd conftest.dir
31787 cat >Imakefile <<'_ACEOF'
31788 incroot:
31789 @echo incroot='${INCROOT}'
31790 usrlibdir:
31791 @echo usrlibdir='${USRLIBDIR}'
31792 libdir:
31793 @echo libdir='${LIBDIR}'
31794 _ACEOF
31795 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31796 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31797 for ac_var in incroot usrlibdir libdir; do
31798 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31799 done
31800 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31801 for ac_extension in a so sl; do
31802 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31803 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31804 ac_im_usrlibdir=$ac_im_libdir; break
31805 fi
31806 done
31807 # Screen out bogus values from the imake configuration. They are
31808 # bogus both because they are the default anyway, and because
31809 # using them would break gcc on systems where it needs fixed includes.
31810 case $ac_im_incroot in
31811 /usr/include) ac_x_includes= ;;
31812 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31813 esac
31814 case $ac_im_usrlibdir in
31815 /usr/lib | /lib) ;;
31816 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31817 esac
31818 fi
31819 cd ..
31820 rm -f -r conftest.dir
31821 fi
31822
31823 # Standard set of common directories for X headers.
31824 # Check X11 before X11Rn because it is often a symlink to the current release.
31825 ac_x_header_dirs='
31826 /usr/X11/include
31827 /usr/X11R6/include
31828 /usr/X11R5/include
31829 /usr/X11R4/include
31830
31831 /usr/include/X11
31832 /usr/include/X11R6
31833 /usr/include/X11R5
31834 /usr/include/X11R4
31835
31836 /usr/local/X11/include
31837 /usr/local/X11R6/include
31838 /usr/local/X11R5/include
31839 /usr/local/X11R4/include
31840
31841 /usr/local/include/X11
31842 /usr/local/include/X11R6
31843 /usr/local/include/X11R5
31844 /usr/local/include/X11R4
31845
31846 /usr/X386/include
31847 /usr/x386/include
31848 /usr/XFree86/include/X11
31849
31850 /usr/include
31851 /usr/local/include
31852 /usr/unsupported/include
31853 /usr/athena/include
31854 /usr/local/x11r5/include
31855 /usr/lpp/Xamples/include
31856
31857 /usr/openwin/include
31858 /usr/openwin/share/include'
31859
31860 if test "$ac_x_includes" = no; then
31861 # Guess where to find include files, by looking for Xlib.h.
31862 # First, try using that file with no special directory specified.
31863 cat >conftest.$ac_ext <<_ACEOF
31864 /* confdefs.h. */
31865 _ACEOF
31866 cat confdefs.h >>conftest.$ac_ext
31867 cat >>conftest.$ac_ext <<_ACEOF
31868 /* end confdefs.h. */
31869 #include <X11/Xlib.h>
31870 _ACEOF
31871 if { (ac_try="$ac_cpp conftest.$ac_ext"
31872 case "(($ac_try" in
31873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31874 *) ac_try_echo=$ac_try;;
31875 esac
31876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31878 ac_status=$?
31879 grep -v '^ *+' conftest.er1 >conftest.err
31880 rm -f conftest.er1
31881 cat conftest.err >&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } >/dev/null && {
31884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31885 test ! -s conftest.err
31886 }; then
31887 # We can compile using X headers with no special include directory.
31888 ac_x_includes=
31889 else
31890 echo "$as_me: failed program was:" >&5
31891 sed 's/^/| /' conftest.$ac_ext >&5
31892
31893 for ac_dir in $ac_x_header_dirs; do
31894 if test -r "$ac_dir/X11/Xlib.h"; then
31895 ac_x_includes=$ac_dir
31896 break
31897 fi
31898 done
31899 fi
31900
31901 rm -f conftest.err conftest.$ac_ext
31902 fi # $ac_x_includes = no
31903
31904 if test "$ac_x_libraries" = no; then
31905 # Check for the libraries.
31906 # See if we find them without any special options.
31907 # Don't add to $LIBS permanently.
31908 ac_save_LIBS=$LIBS
31909 LIBS="-lX11 $LIBS"
31910 cat >conftest.$ac_ext <<_ACEOF
31911 /* confdefs.h. */
31912 _ACEOF
31913 cat confdefs.h >>conftest.$ac_ext
31914 cat >>conftest.$ac_ext <<_ACEOF
31915 /* end confdefs.h. */
31916 #include <X11/Xlib.h>
31917 int
31918 main ()
31919 {
31920 XrmInitialize ()
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext conftest$ac_exeext
31926 if { (ac_try="$ac_link"
31927 case "(($ac_try" in
31928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31929 *) ac_try_echo=$ac_try;;
31930 esac
31931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31932 (eval "$ac_link") 2>conftest.er1
31933 ac_status=$?
31934 grep -v '^ *+' conftest.er1 >conftest.err
31935 rm -f conftest.er1
31936 cat conftest.err >&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } && {
31939 test -z "$ac_c_werror_flag" ||
31940 test ! -s conftest.err
31941 } && test -s conftest$ac_exeext &&
31942 $as_test_x conftest$ac_exeext; then
31943 LIBS=$ac_save_LIBS
31944 # We can link X programs with no special library path.
31945 ac_x_libraries=
31946 else
31947 echo "$as_me: failed program was:" >&5
31948 sed 's/^/| /' conftest.$ac_ext >&5
31949
31950 LIBS=$ac_save_LIBS
31951 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31952 do
31953 # Don't even attempt the hair of trying to link an X program!
31954 for ac_extension in a so sl; do
31955 if test -r "$ac_dir/libX11.$ac_extension"; then
31956 ac_x_libraries=$ac_dir
31957 break 2
31958 fi
31959 done
31960 done
31961 fi
31962
31963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31964 conftest$ac_exeext conftest.$ac_ext
31965 fi # $ac_x_libraries = no
31966
31967 case $ac_x_includes,$ac_x_libraries in #(
31968 no,* | *,no | *\'*)
31969 # Didn't find X, or a directory has "'" in its name.
31970 ac_cv_have_x="have_x=no";; #(
31971 *)
31972 # Record where we found X for the cache.
31973 ac_cv_have_x="have_x=yes\
31974 ac_x_includes='$ac_x_includes'\
31975 ac_x_libraries='$ac_x_libraries'"
31976 esac
31977 fi
31978 ;; #(
31979 *) have_x=yes;;
31980 esac
31981 eval "$ac_cv_have_x"
31982 fi # $with_x != no
31983
31984 if test "$have_x" != yes; then
31985 { echo "$as_me:$LINENO: result: $have_x" >&5
31986 echo "${ECHO_T}$have_x" >&6; }
31987 no_x=yes
31988 else
31989 # If each of the values was on the command line, it overrides each guess.
31990 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31991 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31992 # Update the cache value to reflect the command line values.
31993 ac_cv_have_x="have_x=yes\
31994 ac_x_includes='$x_includes'\
31995 ac_x_libraries='$x_libraries'"
31996 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31997 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31998 fi
31999
32000 if test "$no_x" = yes; then
32001 # Not all programs may use this symbol, but it does not hurt to define it.
32002
32003 cat >>confdefs.h <<\_ACEOF
32004 #define X_DISPLAY_MISSING 1
32005 _ACEOF
32006
32007 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32008 else
32009 if test -n "$x_includes"; then
32010 X_CFLAGS="$X_CFLAGS -I$x_includes"
32011 fi
32012
32013 # It would also be nice to do this for all -L options, not just this one.
32014 if test -n "$x_libraries"; then
32015 X_LIBS="$X_LIBS -L$x_libraries"
32016 # For Solaris; some versions of Sun CC require a space after -R and
32017 # others require no space. Words are not sufficient . . . .
32018 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32019 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32020 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32021 ac_xsave_c_werror_flag=$ac_c_werror_flag
32022 ac_c_werror_flag=yes
32023 cat >conftest.$ac_ext <<_ACEOF
32024 /* confdefs.h. */
32025 _ACEOF
32026 cat confdefs.h >>conftest.$ac_ext
32027 cat >>conftest.$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32029
32030 int
32031 main ()
32032 {
32033
32034 ;
32035 return 0;
32036 }
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (ac_try="$ac_link"
32040 case "(($ac_try" in
32041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32042 *) ac_try_echo=$ac_try;;
32043 esac
32044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32045 (eval "$ac_link") 2>conftest.er1
32046 ac_status=$?
32047 grep -v '^ *+' conftest.er1 >conftest.err
32048 rm -f conftest.er1
32049 cat conftest.err >&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } && {
32052 test -z "$ac_c_werror_flag" ||
32053 test ! -s conftest.err
32054 } && test -s conftest$ac_exeext &&
32055 $as_test_x conftest$ac_exeext; then
32056 { echo "$as_me:$LINENO: result: no" >&5
32057 echo "${ECHO_T}no" >&6; }
32058 X_LIBS="$X_LIBS -R$x_libraries"
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 LIBS="$ac_xsave_LIBS -R $x_libraries"
32064 cat >conftest.$ac_ext <<_ACEOF
32065 /* confdefs.h. */
32066 _ACEOF
32067 cat confdefs.h >>conftest.$ac_ext
32068 cat >>conftest.$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070
32071 int
32072 main ()
32073 {
32074
32075 ;
32076 return 0;
32077 }
32078 _ACEOF
32079 rm -f conftest.$ac_objext conftest$ac_exeext
32080 if { (ac_try="$ac_link"
32081 case "(($ac_try" in
32082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32083 *) ac_try_echo=$ac_try;;
32084 esac
32085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32086 (eval "$ac_link") 2>conftest.er1
32087 ac_status=$?
32088 grep -v '^ *+' conftest.er1 >conftest.err
32089 rm -f conftest.er1
32090 cat conftest.err >&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); } && {
32093 test -z "$ac_c_werror_flag" ||
32094 test ! -s conftest.err
32095 } && test -s conftest$ac_exeext &&
32096 $as_test_x conftest$ac_exeext; then
32097 { echo "$as_me:$LINENO: result: yes" >&5
32098 echo "${ECHO_T}yes" >&6; }
32099 X_LIBS="$X_LIBS -R $x_libraries"
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32103
32104 { echo "$as_me:$LINENO: result: neither works" >&5
32105 echo "${ECHO_T}neither works" >&6; }
32106 fi
32107
32108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32109 conftest$ac_exeext conftest.$ac_ext
32110 fi
32111
32112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32113 conftest$ac_exeext conftest.$ac_ext
32114 ac_c_werror_flag=$ac_xsave_c_werror_flag
32115 LIBS=$ac_xsave_LIBS
32116 fi
32117
32118 # Check for system-dependent libraries X programs must link with.
32119 # Do this before checking for the system-independent R6 libraries
32120 # (-lICE), since we may need -lsocket or whatever for X linking.
32121
32122 if test "$ISC" = yes; then
32123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32124 else
32125 # Martyn Johnson says this is needed for Ultrix, if the X
32126 # libraries were built with DECnet support. And Karl Berry says
32127 # the Alpha needs dnet_stub (dnet does not exist).
32128 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32129 cat >conftest.$ac_ext <<_ACEOF
32130 /* confdefs.h. */
32131 _ACEOF
32132 cat confdefs.h >>conftest.$ac_ext
32133 cat >>conftest.$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32135
32136 /* Override any GCC internal prototype to avoid an error.
32137 Use char because int might match the return type of a GCC
32138 builtin and then its argument prototype would still apply. */
32139 #ifdef __cplusplus
32140 extern "C"
32141 #endif
32142 char XOpenDisplay ();
32143 int
32144 main ()
32145 {
32146 return XOpenDisplay ();
32147 ;
32148 return 0;
32149 }
32150 _ACEOF
32151 rm -f conftest.$ac_objext conftest$ac_exeext
32152 if { (ac_try="$ac_link"
32153 case "(($ac_try" in
32154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32155 *) ac_try_echo=$ac_try;;
32156 esac
32157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32158 (eval "$ac_link") 2>conftest.er1
32159 ac_status=$?
32160 grep -v '^ *+' conftest.er1 >conftest.err
32161 rm -f conftest.er1
32162 cat conftest.err >&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); } && {
32165 test -z "$ac_c_werror_flag" ||
32166 test ! -s conftest.err
32167 } && test -s conftest$ac_exeext &&
32168 $as_test_x conftest$ac_exeext; then
32169 :
32170 else
32171 echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.$ac_ext >&5
32173
32174 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32175 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32176 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32177 echo $ECHO_N "(cached) $ECHO_C" >&6
32178 else
32179 ac_check_lib_save_LIBS=$LIBS
32180 LIBS="-ldnet $LIBS"
32181 cat >conftest.$ac_ext <<_ACEOF
32182 /* confdefs.h. */
32183 _ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32187
32188 /* Override any GCC internal prototype to avoid an error.
32189 Use char because int might match the return type of a GCC
32190 builtin and then its argument prototype would still apply. */
32191 #ifdef __cplusplus
32192 extern "C"
32193 #endif
32194 char dnet_ntoa ();
32195 int
32196 main ()
32197 {
32198 return dnet_ntoa ();
32199 ;
32200 return 0;
32201 }
32202 _ACEOF
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (ac_try="$ac_link"
32205 case "(($ac_try" in
32206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32207 *) ac_try_echo=$ac_try;;
32208 esac
32209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32210 (eval "$ac_link") 2>conftest.er1
32211 ac_status=$?
32212 grep -v '^ *+' conftest.er1 >conftest.err
32213 rm -f conftest.er1
32214 cat conftest.err >&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); } && {
32217 test -z "$ac_c_werror_flag" ||
32218 test ! -s conftest.err
32219 } && test -s conftest$ac_exeext &&
32220 $as_test_x conftest$ac_exeext; then
32221 ac_cv_lib_dnet_dnet_ntoa=yes
32222 else
32223 echo "$as_me: failed program was:" >&5
32224 sed 's/^/| /' conftest.$ac_ext >&5
32225
32226 ac_cv_lib_dnet_dnet_ntoa=no
32227 fi
32228
32229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32230 conftest$ac_exeext conftest.$ac_ext
32231 LIBS=$ac_check_lib_save_LIBS
32232 fi
32233 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32234 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32235 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32236 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32237 fi
32238
32239 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32240 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32241 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32242 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32244 else
32245 ac_check_lib_save_LIBS=$LIBS
32246 LIBS="-ldnet_stub $LIBS"
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h. */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32253
32254 /* Override any GCC internal prototype to avoid an error.
32255 Use char because int might match the return type of a GCC
32256 builtin and then its argument prototype would still apply. */
32257 #ifdef __cplusplus
32258 extern "C"
32259 #endif
32260 char dnet_ntoa ();
32261 int
32262 main ()
32263 {
32264 return dnet_ntoa ();
32265 ;
32266 return 0;
32267 }
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (ac_try="$ac_link"
32271 case "(($ac_try" in
32272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32273 *) ac_try_echo=$ac_try;;
32274 esac
32275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32276 (eval "$ac_link") 2>conftest.er1
32277 ac_status=$?
32278 grep -v '^ *+' conftest.er1 >conftest.err
32279 rm -f conftest.er1
32280 cat conftest.err >&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); } && {
32283 test -z "$ac_c_werror_flag" ||
32284 test ! -s conftest.err
32285 } && test -s conftest$ac_exeext &&
32286 $as_test_x conftest$ac_exeext; then
32287 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32288 else
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32291
32292 ac_cv_lib_dnet_stub_dnet_ntoa=no
32293 fi
32294
32295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32296 conftest$ac_exeext conftest.$ac_ext
32297 LIBS=$ac_check_lib_save_LIBS
32298 fi
32299 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32300 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32301 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32302 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32303 fi
32304
32305 fi
32306 fi
32307
32308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32309 conftest$ac_exeext conftest.$ac_ext
32310 LIBS="$ac_xsave_LIBS"
32311
32312 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32313 # to get the SysV transport functions.
32314 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32315 # needs -lnsl.
32316 # The nsl library prevents programs from opening the X display
32317 # on Irix 5.2, according to T.E. Dickey.
32318 # The functions gethostbyname, getservbyname, and inet_addr are
32319 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32320 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32321 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32322 if test "${ac_cv_func_gethostbyname+set}" = set; then
32323 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 else
32325 cat >conftest.$ac_ext <<_ACEOF
32326 /* confdefs.h. */
32327 _ACEOF
32328 cat confdefs.h >>conftest.$ac_ext
32329 cat >>conftest.$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
32331 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32333 #define gethostbyname innocuous_gethostbyname
32334
32335 /* System header to define __stub macros and hopefully few prototypes,
32336 which can conflict with char gethostbyname (); below.
32337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32338 <limits.h> exists even on freestanding compilers. */
32339
32340 #ifdef __STDC__
32341 # include <limits.h>
32342 #else
32343 # include <assert.h>
32344 #endif
32345
32346 #undef gethostbyname
32347
32348 /* Override any GCC internal prototype to avoid an error.
32349 Use char because int might match the return type of a GCC
32350 builtin and then its argument prototype would still apply. */
32351 #ifdef __cplusplus
32352 extern "C"
32353 #endif
32354 char gethostbyname ();
32355 /* The GNU C library defines this for functions which it implements
32356 to always fail with ENOSYS. Some functions are actually named
32357 something starting with __ and the normal name is an alias. */
32358 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32359 choke me
32360 #endif
32361
32362 int
32363 main ()
32364 {
32365 return gethostbyname ();
32366 ;
32367 return 0;
32368 }
32369 _ACEOF
32370 rm -f conftest.$ac_objext conftest$ac_exeext
32371 if { (ac_try="$ac_link"
32372 case "(($ac_try" in
32373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32374 *) ac_try_echo=$ac_try;;
32375 esac
32376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32377 (eval "$ac_link") 2>conftest.er1
32378 ac_status=$?
32379 grep -v '^ *+' conftest.er1 >conftest.err
32380 rm -f conftest.er1
32381 cat conftest.err >&5
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); } && {
32384 test -z "$ac_c_werror_flag" ||
32385 test ! -s conftest.err
32386 } && test -s conftest$ac_exeext &&
32387 $as_test_x conftest$ac_exeext; then
32388 ac_cv_func_gethostbyname=yes
32389 else
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.$ac_ext >&5
32392
32393 ac_cv_func_gethostbyname=no
32394 fi
32395
32396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32397 conftest$ac_exeext conftest.$ac_ext
32398 fi
32399 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32400 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32401
32402 if test $ac_cv_func_gethostbyname = no; then
32403 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32404 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32405 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 else
32408 ac_check_lib_save_LIBS=$LIBS
32409 LIBS="-lnsl $LIBS"
32410 cat >conftest.$ac_ext <<_ACEOF
32411 /* confdefs.h. */
32412 _ACEOF
32413 cat confdefs.h >>conftest.$ac_ext
32414 cat >>conftest.$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416
32417 /* Override any GCC internal prototype to avoid an error.
32418 Use char because int might match the return type of a GCC
32419 builtin and then its argument prototype would still apply. */
32420 #ifdef __cplusplus
32421 extern "C"
32422 #endif
32423 char gethostbyname ();
32424 int
32425 main ()
32426 {
32427 return gethostbyname ();
32428 ;
32429 return 0;
32430 }
32431 _ACEOF
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32437 esac
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32440 ac_status=$?
32441 grep -v '^ *+' conftest.er1 >conftest.err
32442 rm -f conftest.er1
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_lib_nsl_gethostbyname=yes
32451 else
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32454
32455 ac_cv_lib_nsl_gethostbyname=no
32456 fi
32457
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32460 LIBS=$ac_check_lib_save_LIBS
32461 fi
32462 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32463 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32464 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32465 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32466 fi
32467
32468 if test $ac_cv_lib_nsl_gethostbyname = no; then
32469 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32470 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32471 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32472 echo $ECHO_N "(cached) $ECHO_C" >&6
32473 else
32474 ac_check_lib_save_LIBS=$LIBS
32475 LIBS="-lbsd $LIBS"
32476 cat >conftest.$ac_ext <<_ACEOF
32477 /* confdefs.h. */
32478 _ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32482
32483 /* Override any GCC internal prototype to avoid an error.
32484 Use char because int might match the return type of a GCC
32485 builtin and then its argument prototype would still apply. */
32486 #ifdef __cplusplus
32487 extern "C"
32488 #endif
32489 char gethostbyname ();
32490 int
32491 main ()
32492 {
32493 return gethostbyname ();
32494 ;
32495 return 0;
32496 }
32497 _ACEOF
32498 rm -f conftest.$ac_objext conftest$ac_exeext
32499 if { (ac_try="$ac_link"
32500 case "(($ac_try" in
32501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32502 *) ac_try_echo=$ac_try;;
32503 esac
32504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32505 (eval "$ac_link") 2>conftest.er1
32506 ac_status=$?
32507 grep -v '^ *+' conftest.er1 >conftest.err
32508 rm -f conftest.er1
32509 cat conftest.err >&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } && {
32512 test -z "$ac_c_werror_flag" ||
32513 test ! -s conftest.err
32514 } && test -s conftest$ac_exeext &&
32515 $as_test_x conftest$ac_exeext; then
32516 ac_cv_lib_bsd_gethostbyname=yes
32517 else
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32520
32521 ac_cv_lib_bsd_gethostbyname=no
32522 fi
32523
32524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS=$ac_check_lib_save_LIBS
32527 fi
32528 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32529 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32530 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32532 fi
32533
32534 fi
32535 fi
32536
32537 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32538 # socket/setsockopt and other routines are undefined under SCO ODT
32539 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32540 # on later versions), says Simon Leinen: it contains gethostby*
32541 # variants that don't use the name server (or something). -lsocket
32542 # must be given before -lnsl if both are needed. We assume that
32543 # if connect needs -lnsl, so does gethostbyname.
32544 { echo "$as_me:$LINENO: checking for connect" >&5
32545 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32546 if test "${ac_cv_func_connect+set}" = set; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 else
32549 cat >conftest.$ac_ext <<_ACEOF
32550 /* confdefs.h. */
32551 _ACEOF
32552 cat confdefs.h >>conftest.$ac_ext
32553 cat >>conftest.$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32555 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32557 #define connect innocuous_connect
32558
32559 /* System header to define __stub macros and hopefully few prototypes,
32560 which can conflict with char connect (); below.
32561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32562 <limits.h> exists even on freestanding compilers. */
32563
32564 #ifdef __STDC__
32565 # include <limits.h>
32566 #else
32567 # include <assert.h>
32568 #endif
32569
32570 #undef connect
32571
32572 /* Override any GCC internal prototype to avoid an error.
32573 Use char because int might match the return type of a GCC
32574 builtin and then its argument prototype would still apply. */
32575 #ifdef __cplusplus
32576 extern "C"
32577 #endif
32578 char connect ();
32579 /* The GNU C library defines this for functions which it implements
32580 to always fail with ENOSYS. Some functions are actually named
32581 something starting with __ and the normal name is an alias. */
32582 #if defined __stub_connect || defined __stub___connect
32583 choke me
32584 #endif
32585
32586 int
32587 main ()
32588 {
32589 return connect ();
32590 ;
32591 return 0;
32592 }
32593 _ACEOF
32594 rm -f conftest.$ac_objext conftest$ac_exeext
32595 if { (ac_try="$ac_link"
32596 case "(($ac_try" in
32597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32598 *) ac_try_echo=$ac_try;;
32599 esac
32600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32601 (eval "$ac_link") 2>conftest.er1
32602 ac_status=$?
32603 grep -v '^ *+' conftest.er1 >conftest.err
32604 rm -f conftest.er1
32605 cat conftest.err >&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } && {
32608 test -z "$ac_c_werror_flag" ||
32609 test ! -s conftest.err
32610 } && test -s conftest$ac_exeext &&
32611 $as_test_x conftest$ac_exeext; then
32612 ac_cv_func_connect=yes
32613 else
32614 echo "$as_me: failed program was:" >&5
32615 sed 's/^/| /' conftest.$ac_ext >&5
32616
32617 ac_cv_func_connect=no
32618 fi
32619
32620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32621 conftest$ac_exeext conftest.$ac_ext
32622 fi
32623 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32624 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32625
32626 if test $ac_cv_func_connect = no; then
32627 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32628 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32629 if test "${ac_cv_lib_socket_connect+set}" = set; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32631 else
32632 ac_check_lib_save_LIBS=$LIBS
32633 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32634 cat >conftest.$ac_ext <<_ACEOF
32635 /* confdefs.h. */
32636 _ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640
32641 /* Override any GCC internal prototype to avoid an error.
32642 Use char because int might match the return type of a GCC
32643 builtin and then its argument prototype would still apply. */
32644 #ifdef __cplusplus
32645 extern "C"
32646 #endif
32647 char connect ();
32648 int
32649 main ()
32650 {
32651 return connect ();
32652 ;
32653 return 0;
32654 }
32655 _ACEOF
32656 rm -f conftest.$ac_objext conftest$ac_exeext
32657 if { (ac_try="$ac_link"
32658 case "(($ac_try" in
32659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32660 *) ac_try_echo=$ac_try;;
32661 esac
32662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32663 (eval "$ac_link") 2>conftest.er1
32664 ac_status=$?
32665 grep -v '^ *+' conftest.er1 >conftest.err
32666 rm -f conftest.er1
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } && {
32670 test -z "$ac_c_werror_flag" ||
32671 test ! -s conftest.err
32672 } && test -s conftest$ac_exeext &&
32673 $as_test_x conftest$ac_exeext; then
32674 ac_cv_lib_socket_connect=yes
32675 else
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679 ac_cv_lib_socket_connect=no
32680 fi
32681
32682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32683 conftest$ac_exeext conftest.$ac_ext
32684 LIBS=$ac_check_lib_save_LIBS
32685 fi
32686 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32687 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32688 if test $ac_cv_lib_socket_connect = yes; then
32689 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32690 fi
32691
32692 fi
32693
32694 # Guillermo Gomez says -lposix is necessary on A/UX.
32695 { echo "$as_me:$LINENO: checking for remove" >&5
32696 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32697 if test "${ac_cv_func_remove+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 cat >conftest.$ac_ext <<_ACEOF
32701 /* confdefs.h. */
32702 _ACEOF
32703 cat confdefs.h >>conftest.$ac_ext
32704 cat >>conftest.$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32706 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32708 #define remove innocuous_remove
32709
32710 /* System header to define __stub macros and hopefully few prototypes,
32711 which can conflict with char remove (); below.
32712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32713 <limits.h> exists even on freestanding compilers. */
32714
32715 #ifdef __STDC__
32716 # include <limits.h>
32717 #else
32718 # include <assert.h>
32719 #endif
32720
32721 #undef remove
32722
32723 /* Override any GCC internal prototype to avoid an error.
32724 Use char because int might match the return type of a GCC
32725 builtin and then its argument prototype would still apply. */
32726 #ifdef __cplusplus
32727 extern "C"
32728 #endif
32729 char remove ();
32730 /* The GNU C library defines this for functions which it implements
32731 to always fail with ENOSYS. Some functions are actually named
32732 something starting with __ and the normal name is an alias. */
32733 #if defined __stub_remove || defined __stub___remove
32734 choke me
32735 #endif
32736
32737 int
32738 main ()
32739 {
32740 return remove ();
32741 ;
32742 return 0;
32743 }
32744 _ACEOF
32745 rm -f conftest.$ac_objext conftest$ac_exeext
32746 if { (ac_try="$ac_link"
32747 case "(($ac_try" in
32748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32749 *) ac_try_echo=$ac_try;;
32750 esac
32751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32752 (eval "$ac_link") 2>conftest.er1
32753 ac_status=$?
32754 grep -v '^ *+' conftest.er1 >conftest.err
32755 rm -f conftest.er1
32756 cat conftest.err >&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); } && {
32759 test -z "$ac_c_werror_flag" ||
32760 test ! -s conftest.err
32761 } && test -s conftest$ac_exeext &&
32762 $as_test_x conftest$ac_exeext; then
32763 ac_cv_func_remove=yes
32764 else
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.$ac_ext >&5
32767
32768 ac_cv_func_remove=no
32769 fi
32770
32771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32772 conftest$ac_exeext conftest.$ac_ext
32773 fi
32774 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32775 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32776
32777 if test $ac_cv_func_remove = no; then
32778 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32779 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32780 if test "${ac_cv_lib_posix_remove+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 else
32783 ac_check_lib_save_LIBS=$LIBS
32784 LIBS="-lposix $LIBS"
32785 cat >conftest.$ac_ext <<_ACEOF
32786 /* confdefs.h. */
32787 _ACEOF
32788 cat confdefs.h >>conftest.$ac_ext
32789 cat >>conftest.$ac_ext <<_ACEOF
32790 /* end confdefs.h. */
32791
32792 /* Override any GCC internal prototype to avoid an error.
32793 Use char because int might match the return type of a GCC
32794 builtin and then its argument prototype would still apply. */
32795 #ifdef __cplusplus
32796 extern "C"
32797 #endif
32798 char remove ();
32799 int
32800 main ()
32801 {
32802 return remove ();
32803 ;
32804 return 0;
32805 }
32806 _ACEOF
32807 rm -f conftest.$ac_objext conftest$ac_exeext
32808 if { (ac_try="$ac_link"
32809 case "(($ac_try" in
32810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32811 *) ac_try_echo=$ac_try;;
32812 esac
32813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32814 (eval "$ac_link") 2>conftest.er1
32815 ac_status=$?
32816 grep -v '^ *+' conftest.er1 >conftest.err
32817 rm -f conftest.er1
32818 cat conftest.err >&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); } && {
32821 test -z "$ac_c_werror_flag" ||
32822 test ! -s conftest.err
32823 } && test -s conftest$ac_exeext &&
32824 $as_test_x conftest$ac_exeext; then
32825 ac_cv_lib_posix_remove=yes
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 ac_cv_lib_posix_remove=no
32831 fi
32832
32833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32834 conftest$ac_exeext conftest.$ac_ext
32835 LIBS=$ac_check_lib_save_LIBS
32836 fi
32837 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32838 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32839 if test $ac_cv_lib_posix_remove = yes; then
32840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32841 fi
32842
32843 fi
32844
32845 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32846 { echo "$as_me:$LINENO: checking for shmat" >&5
32847 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32848 if test "${ac_cv_func_shmat+set}" = set; then
32849 echo $ECHO_N "(cached) $ECHO_C" >&6
32850 else
32851 cat >conftest.$ac_ext <<_ACEOF
32852 /* confdefs.h. */
32853 _ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32859 #define shmat innocuous_shmat
32860
32861 /* System header to define __stub macros and hopefully few prototypes,
32862 which can conflict with char shmat (); below.
32863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32864 <limits.h> exists even on freestanding compilers. */
32865
32866 #ifdef __STDC__
32867 # include <limits.h>
32868 #else
32869 # include <assert.h>
32870 #endif
32871
32872 #undef shmat
32873
32874 /* Override any GCC internal prototype to avoid an error.
32875 Use char because int might match the return type of a GCC
32876 builtin and then its argument prototype would still apply. */
32877 #ifdef __cplusplus
32878 extern "C"
32879 #endif
32880 char shmat ();
32881 /* The GNU C library defines this for functions which it implements
32882 to always fail with ENOSYS. Some functions are actually named
32883 something starting with __ and the normal name is an alias. */
32884 #if defined __stub_shmat || defined __stub___shmat
32885 choke me
32886 #endif
32887
32888 int
32889 main ()
32890 {
32891 return shmat ();
32892 ;
32893 return 0;
32894 }
32895 _ACEOF
32896 rm -f conftest.$ac_objext conftest$ac_exeext
32897 if { (ac_try="$ac_link"
32898 case "(($ac_try" in
32899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32900 *) ac_try_echo=$ac_try;;
32901 esac
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_link") 2>conftest.er1
32904 ac_status=$?
32905 grep -v '^ *+' conftest.er1 >conftest.err
32906 rm -f conftest.er1
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest$ac_exeext &&
32913 $as_test_x conftest$ac_exeext; then
32914 ac_cv_func_shmat=yes
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32918
32919 ac_cv_func_shmat=no
32920 fi
32921
32922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32923 conftest$ac_exeext conftest.$ac_ext
32924 fi
32925 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32926 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32927
32928 if test $ac_cv_func_shmat = no; then
32929 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32930 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32931 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32934 ac_check_lib_save_LIBS=$LIBS
32935 LIBS="-lipc $LIBS"
32936 cat >conftest.$ac_ext <<_ACEOF
32937 /* confdefs.h. */
32938 _ACEOF
32939 cat confdefs.h >>conftest.$ac_ext
32940 cat >>conftest.$ac_ext <<_ACEOF
32941 /* end confdefs.h. */
32942
32943 /* Override any GCC internal prototype to avoid an error.
32944 Use char because int might match the return type of a GCC
32945 builtin and then its argument prototype would still apply. */
32946 #ifdef __cplusplus
32947 extern "C"
32948 #endif
32949 char shmat ();
32950 int
32951 main ()
32952 {
32953 return shmat ();
32954 ;
32955 return 0;
32956 }
32957 _ACEOF
32958 rm -f conftest.$ac_objext conftest$ac_exeext
32959 if { (ac_try="$ac_link"
32960 case "(($ac_try" in
32961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32962 *) ac_try_echo=$ac_try;;
32963 esac
32964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32965 (eval "$ac_link") 2>conftest.er1
32966 ac_status=$?
32967 grep -v '^ *+' conftest.er1 >conftest.err
32968 rm -f conftest.er1
32969 cat conftest.err >&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); } && {
32972 test -z "$ac_c_werror_flag" ||
32973 test ! -s conftest.err
32974 } && test -s conftest$ac_exeext &&
32975 $as_test_x conftest$ac_exeext; then
32976 ac_cv_lib_ipc_shmat=yes
32977 else
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.$ac_ext >&5
32980
32981 ac_cv_lib_ipc_shmat=no
32982 fi
32983
32984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32985 conftest$ac_exeext conftest.$ac_ext
32986 LIBS=$ac_check_lib_save_LIBS
32987 fi
32988 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32989 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32990 if test $ac_cv_lib_ipc_shmat = yes; then
32991 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32992 fi
32993
32994 fi
32995 fi
32996
32997 # Check for libraries that X11R6 Xt/Xaw programs need.
32998 ac_save_LDFLAGS=$LDFLAGS
32999 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33000 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33001 # check for ICE first), but we must link in the order -lSM -lICE or
33002 # we get undefined symbols. So assume we have SM if we have ICE.
33003 # These have to be linked with before -lX11, unlike the other
33004 # libraries we check for below, so use a different variable.
33005 # John Interrante, Karl Berry
33006 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33007 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33008 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33009 echo $ECHO_N "(cached) $ECHO_C" >&6
33010 else
33011 ac_check_lib_save_LIBS=$LIBS
33012 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33013 cat >conftest.$ac_ext <<_ACEOF
33014 /* confdefs.h. */
33015 _ACEOF
33016 cat confdefs.h >>conftest.$ac_ext
33017 cat >>conftest.$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019
33020 /* Override any GCC internal prototype to avoid an error.
33021 Use char because int might match the return type of a GCC
33022 builtin and then its argument prototype would still apply. */
33023 #ifdef __cplusplus
33024 extern "C"
33025 #endif
33026 char IceConnectionNumber ();
33027 int
33028 main ()
33029 {
33030 return IceConnectionNumber ();
33031 ;
33032 return 0;
33033 }
33034 _ACEOF
33035 rm -f conftest.$ac_objext conftest$ac_exeext
33036 if { (ac_try="$ac_link"
33037 case "(($ac_try" in
33038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33039 *) ac_try_echo=$ac_try;;
33040 esac
33041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33042 (eval "$ac_link") 2>conftest.er1
33043 ac_status=$?
33044 grep -v '^ *+' conftest.er1 >conftest.err
33045 rm -f conftest.er1
33046 cat conftest.err >&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); } && {
33049 test -z "$ac_c_werror_flag" ||
33050 test ! -s conftest.err
33051 } && test -s conftest$ac_exeext &&
33052 $as_test_x conftest$ac_exeext; then
33053 ac_cv_lib_ICE_IceConnectionNumber=yes
33054 else
33055 echo "$as_me: failed program was:" >&5
33056 sed 's/^/| /' conftest.$ac_ext >&5
33057
33058 ac_cv_lib_ICE_IceConnectionNumber=no
33059 fi
33060
33061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33062 conftest$ac_exeext conftest.$ac_ext
33063 LIBS=$ac_check_lib_save_LIBS
33064 fi
33065 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33066 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33067 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33068 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33069 fi
33070
33071 LDFLAGS=$ac_save_LDFLAGS
33072
33073 fi
33074
33075
33076 if test "$no_x" = "yes"; then
33077 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33078 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33079 { (exit 1); exit 1; }; }
33080 fi
33081
33082 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33083 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33084 AFMINSTALL=afminstall
33085 COMPILED_X_PROGRAM=0
33086
33087 fi
33088
33089 if test "$wxUSE_X11" = 1; then
33090 if test "$wxUSE_NANOX" = "yes"; then
33091 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33092 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33093 if test "x$MICROWIN" = x ; then
33094 { echo "$as_me:$LINENO: result: not found" >&5
33095 echo "${ECHO_T}not found" >&6; }
33096 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33097 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33098 { (exit 1); exit 1; }; }
33099 else
33100 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33101 echo "${ECHO_T}$MICROWIN" >&6; }
33102 cat >>confdefs.h <<\_ACEOF
33103 #define wxUSE_NANOX 1
33104 _ACEOF
33105
33106 fi
33107 fi
33108
33109 if test "$wxUSE_UNICODE" = "yes"; then
33110
33111
33112 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33113 if test -n "$ac_tool_prefix"; then
33114 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33115 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33119 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 else
33121 case $PKG_CONFIG in
33122 [\\/]* | ?:[\\/]*)
33123 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33124 ;;
33125 *)
33126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33127 for as_dir in $PATH
33128 do
33129 IFS=$as_save_IFS
33130 test -z "$as_dir" && as_dir=.
33131 for ac_exec_ext in '' $ac_executable_extensions; do
33132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33133 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33135 break 2
33136 fi
33137 done
33138 done
33139 IFS=$as_save_IFS
33140
33141 ;;
33142 esac
33143 fi
33144 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33145 if test -n "$PKG_CONFIG"; then
33146 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33147 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33148 else
33149 { echo "$as_me:$LINENO: result: no" >&5
33150 echo "${ECHO_T}no" >&6; }
33151 fi
33152
33153
33154 fi
33155 if test -z "$ac_cv_path_PKG_CONFIG"; then
33156 ac_pt_PKG_CONFIG=$PKG_CONFIG
33157 # Extract the first word of "pkg-config", so it can be a program name with args.
33158 set dummy pkg-config; ac_word=$2
33159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33161 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164 case $ac_pt_PKG_CONFIG in
33165 [\\/]* | ?:[\\/]*)
33166 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33167 ;;
33168 *)
33169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33170 for as_dir in $PATH
33171 do
33172 IFS=$as_save_IFS
33173 test -z "$as_dir" && as_dir=.
33174 for ac_exec_ext in '' $ac_executable_extensions; do
33175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33176 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33178 break 2
33179 fi
33180 done
33181 done
33182 IFS=$as_save_IFS
33183
33184 ;;
33185 esac
33186 fi
33187 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33188 if test -n "$ac_pt_PKG_CONFIG"; then
33189 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33190 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33191 else
33192 { echo "$as_me:$LINENO: result: no" >&5
33193 echo "${ECHO_T}no" >&6; }
33194 fi
33195
33196 if test "x$ac_pt_PKG_CONFIG" = x; then
33197 PKG_CONFIG=""
33198 else
33199 case $cross_compiling:$ac_tool_warned in
33200 yes:)
33201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33202 whose name does not start with the host triplet. If you think this
33203 configuration is useful to you, please write to autoconf@gnu.org." >&5
33204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33205 whose name does not start with the host triplet. If you think this
33206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33207 ac_tool_warned=yes ;;
33208 esac
33209 PKG_CONFIG=$ac_pt_PKG_CONFIG
33210 fi
33211 else
33212 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33213 fi
33214
33215 fi
33216 if test -n "$PKG_CONFIG"; then
33217 _pkg_min_version=0.9.0
33218 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33219 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33220 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33221 { echo "$as_me:$LINENO: result: yes" >&5
33222 echo "${ECHO_T}yes" >&6; }
33223 else
33224 { echo "$as_me:$LINENO: result: no" >&5
33225 echo "${ECHO_T}no" >&6; }
33226 PKG_CONFIG=""
33227 fi
33228
33229 fi
33230
33231
33232 pkg_failed=no
33233 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33234 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33235
33236 if test -n "$PKG_CONFIG"; then
33237 if test -n "$PANGOX_CFLAGS"; then
33238 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33239 else
33240 if test -n "$PKG_CONFIG" && \
33241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33242 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33243 ac_status=$?
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; then
33246 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33247 else
33248 pkg_failed=yes
33249 fi
33250 fi
33251 else
33252 pkg_failed=untried
33253 fi
33254 if test -n "$PKG_CONFIG"; then
33255 if test -n "$PANGOX_LIBS"; then
33256 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33257 else
33258 if test -n "$PKG_CONFIG" && \
33259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33260 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33261 ac_status=$?
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; then
33264 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33265 else
33266 pkg_failed=yes
33267 fi
33268 fi
33269 else
33270 pkg_failed=untried
33271 fi
33272
33273
33274
33275 if test $pkg_failed = yes; then
33276
33277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33278 _pkg_short_errors_supported=yes
33279 else
33280 _pkg_short_errors_supported=no
33281 fi
33282 if test $_pkg_short_errors_supported = yes; then
33283 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33284 else
33285 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33286 fi
33287 # Put the nasty error message in config.log where it belongs
33288 echo "$PANGOX_PKG_ERRORS" >&5
33289
33290
33291 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33292 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33293 { (exit 1); exit 1; }; }
33294
33295
33296 elif test $pkg_failed = untried; then
33297
33298 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33299 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33300 { (exit 1); exit 1; }; }
33301
33302
33303 else
33304 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33305 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33306 { echo "$as_me:$LINENO: result: yes" >&5
33307 echo "${ECHO_T}yes" >&6; }
33308
33309 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33310 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33312
33313 fi
33314
33315 pkg_failed=no
33316 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33317 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33318
33319 if test -n "$PKG_CONFIG"; then
33320 if test -n "$PANGOFT2_CFLAGS"; then
33321 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33322 else
33323 if test -n "$PKG_CONFIG" && \
33324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33325 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33326 ac_status=$?
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; then
33329 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33330 else
33331 pkg_failed=yes
33332 fi
33333 fi
33334 else
33335 pkg_failed=untried
33336 fi
33337 if test -n "$PKG_CONFIG"; then
33338 if test -n "$PANGOFT2_LIBS"; then
33339 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33340 else
33341 if test -n "$PKG_CONFIG" && \
33342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33343 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33344 ac_status=$?
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; then
33347 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33348 else
33349 pkg_failed=yes
33350 fi
33351 fi
33352 else
33353 pkg_failed=untried
33354 fi
33355
33356
33357
33358 if test $pkg_failed = yes; then
33359
33360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33361 _pkg_short_errors_supported=yes
33362 else
33363 _pkg_short_errors_supported=no
33364 fi
33365 if test $_pkg_short_errors_supported = yes; then
33366 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33367 else
33368 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33369 fi
33370 # Put the nasty error message in config.log where it belongs
33371 echo "$PANGOFT2_PKG_ERRORS" >&5
33372
33373
33374 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33375 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33376 wxUSE_PRINTING_ARCHITECTURE="no"
33377
33378
33379 elif test $pkg_failed = untried; then
33380
33381 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33382 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33383 wxUSE_PRINTING_ARCHITECTURE="no"
33384
33385
33386 else
33387 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33388 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33389 { echo "$as_me:$LINENO: result: yes" >&5
33390 echo "${ECHO_T}yes" >&6; }
33391
33392 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33393 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33395
33396 fi
33397
33398 pkg_failed=no
33399 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33400 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33401
33402 if test -n "$PKG_CONFIG"; then
33403 if test -n "$PANGOXFT_CFLAGS"; then
33404 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33405 else
33406 if test -n "$PKG_CONFIG" && \
33407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33408 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33409 ac_status=$?
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; then
33412 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33413 else
33414 pkg_failed=yes
33415 fi
33416 fi
33417 else
33418 pkg_failed=untried
33419 fi
33420 if test -n "$PKG_CONFIG"; then
33421 if test -n "$PANGOXFT_LIBS"; then
33422 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33423 else
33424 if test -n "$PKG_CONFIG" && \
33425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33426 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33427 ac_status=$?
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; then
33430 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33431 else
33432 pkg_failed=yes
33433 fi
33434 fi
33435 else
33436 pkg_failed=untried
33437 fi
33438
33439
33440
33441 if test $pkg_failed = yes; then
33442
33443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33444 _pkg_short_errors_supported=yes
33445 else
33446 _pkg_short_errors_supported=no
33447 fi
33448 if test $_pkg_short_errors_supported = yes; then
33449 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33450 else
33451 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33452 fi
33453 # Put the nasty error message in config.log where it belongs
33454 echo "$PANGOXFT_PKG_ERRORS" >&5
33455
33456
33457 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33458 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33459
33460
33461 elif test $pkg_failed = untried; then
33462
33463 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33464 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33465
33466
33467 else
33468 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33469 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33470 { echo "$as_me:$LINENO: result: yes" >&5
33471 echo "${ECHO_T}yes" >&6; }
33472
33473 cat >>confdefs.h <<\_ACEOF
33474 #define HAVE_PANGO_XFT 1
33475 _ACEOF
33476
33477 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33478 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33479 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33480
33481 fi
33482 save_LIBS="$LIBS"
33483 LIBS="$LIBS $PANGOX_LIBS"
33484
33485 for ac_func in pango_font_family_is_monospace
33486 do
33487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 else
33493 cat >conftest.$ac_ext <<_ACEOF
33494 /* confdefs.h. */
33495 _ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33501 #define $ac_func innocuous_$ac_func
33502
33503 /* System header to define __stub macros and hopefully few prototypes,
33504 which can conflict with char $ac_func (); below.
33505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33506 <limits.h> exists even on freestanding compilers. */
33507
33508 #ifdef __STDC__
33509 # include <limits.h>
33510 #else
33511 # include <assert.h>
33512 #endif
33513
33514 #undef $ac_func
33515
33516 /* Override any GCC internal prototype to avoid an error.
33517 Use char because int might match the return type of a GCC
33518 builtin and then its argument prototype would still apply. */
33519 #ifdef __cplusplus
33520 extern "C"
33521 #endif
33522 char $ac_func ();
33523 /* The GNU C library defines this for functions which it implements
33524 to always fail with ENOSYS. Some functions are actually named
33525 something starting with __ and the normal name is an alias. */
33526 #if defined __stub_$ac_func || defined __stub___$ac_func
33527 choke me
33528 #endif
33529
33530 int
33531 main ()
33532 {
33533 return $ac_func ();
33534 ;
33535 return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext conftest$ac_exeext
33539 if { (ac_try="$ac_link"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33543 esac
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_link") 2>conftest.er1
33546 ac_status=$?
33547 grep -v '^ *+' conftest.er1 >conftest.err
33548 rm -f conftest.er1
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_c_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest$ac_exeext &&
33555 $as_test_x conftest$ac_exeext; then
33556 eval "$as_ac_var=yes"
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561 eval "$as_ac_var=no"
33562 fi
33563
33564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33565 conftest$ac_exeext conftest.$ac_ext
33566 fi
33567 ac_res=`eval echo '${'$as_ac_var'}'`
33568 { echo "$as_me:$LINENO: result: $ac_res" >&5
33569 echo "${ECHO_T}$ac_res" >&6; }
33570 if test `eval echo '${'$as_ac_var'}'` = yes; then
33571 cat >>confdefs.h <<_ACEOF
33572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33573 _ACEOF
33574
33575 fi
33576 done
33577
33578 LIBS="$save_LIBS"
33579 fi
33580
33581 wxUSE_UNIVERSAL="yes"
33582
33583 if test "$wxUSE_NANOX" = "yes"; then
33584 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33585 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"
33586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33587 else
33588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33589 fi
33590
33591 TOOLKIT=X11
33592 GUIDIST=X11_DIST
33593 fi
33594
33595 if test "$wxUSE_MOTIF" = 1; then
33596 if test "$wxUSE_UNICODE" = "yes"; then
33597 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33598 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33599 { (exit 1); exit 1; }; }
33600 fi
33601
33602 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33603 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33604
33605 ac_find_includes=
33606 for ac_dir in $SEARCH_INCLUDE /usr/include;
33607 do
33608 if test -f "$ac_dir/Xm/Xm.h"; then
33609 ac_find_includes=$ac_dir
33610 break
33611 fi
33612 done
33613
33614 if test "$ac_find_includes" != "" ; then
33615 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33616 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33617
33618 if test "x$ac_find_includes" = "x/usr/include"; then
33619 ac_path_to_include=""
33620 else
33621 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33622 result=$?
33623 if test $result = 0; then
33624 ac_path_to_include=""
33625 else
33626 ac_path_to_include=" -I$ac_find_includes"
33627 fi
33628 fi
33629
33630 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33631 else
33632 save_CFLAGS=$CFLAGS
33633 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33634
33635 cat >conftest.$ac_ext <<_ACEOF
33636 /* confdefs.h. */
33637 _ACEOF
33638 cat confdefs.h >>conftest.$ac_ext
33639 cat >>conftest.$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33641
33642 #include <Xm/Xm.h>
33643
33644 int
33645 main ()
33646 {
33647
33648 int version;
33649 version = xmUseVersion;
33650
33651 ;
33652 return 0;
33653 }
33654 _ACEOF
33655 rm -f conftest.$ac_objext
33656 if { (ac_try="$ac_compile"
33657 case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33660 esac
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_compile") 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_c_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest.$ac_objext; then
33672
33673 { echo "$as_me:$LINENO: result: found in default search path" >&5
33674 echo "${ECHO_T}found in default search path" >&6; }
33675 COMPILED_X_PROGRAM=1
33676
33677 else
33678 echo "$as_me: failed program was:" >&5
33679 sed 's/^/| /' conftest.$ac_ext >&5
33680
33681
33682 { echo "$as_me:$LINENO: result: no" >&5
33683 echo "${ECHO_T}no" >&6; }
33684 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33685 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33686 { (exit 1); exit 1; }; }
33687
33688
33689 fi
33690
33691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33692
33693 CFLAGS=$save_CFLAGS
33694 fi
33695
33696
33697 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33698 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33699
33700 ac_find_libraries=
33701 for ac_dir in $SEARCH_LIB;
33702 do
33703 for ac_extension in a so sl dylib dll.a; do
33704 if test -f "$ac_dir/libXm.$ac_extension"; then
33705 ac_find_libraries=$ac_dir
33706 break 2
33707 fi
33708 done
33709 done
33710
33711
33712 if test "x$ac_find_libraries" != "x" ; then
33713 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33714 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33715
33716
33717 if test "$ac_find_libraries" = "default location"; then
33718 ac_path_to_link=""
33719 else
33720 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33721 result=$?
33722 if test $result = 0; then
33723 ac_path_to_link=""
33724 else
33725 ac_path_to_link=" -L$ac_find_libraries"
33726 fi
33727 fi
33728
33729 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33730 else
33731 save_CFLAGS=$CFLAGS
33732 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33733 save_LIBS="$LIBS"
33734 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33735
33736 cat >conftest.$ac_ext <<_ACEOF
33737 /* confdefs.h. */
33738 _ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742
33743 #include <Xm/Xm.h>
33744
33745 int
33746 main ()
33747 {
33748
33749 int version;
33750 version = xmUseVersion;
33751
33752 ;
33753 return 0;
33754 }
33755 _ACEOF
33756 rm -f conftest.$ac_objext conftest$ac_exeext
33757 if { (ac_try="$ac_link"
33758 case "(($ac_try" in
33759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33760 *) ac_try_echo=$ac_try;;
33761 esac
33762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33763 (eval "$ac_link") 2>conftest.er1
33764 ac_status=$?
33765 grep -v '^ *+' conftest.er1 >conftest.err
33766 rm -f conftest.er1
33767 cat conftest.err >&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } && {
33770 test -z "$ac_c_werror_flag" ||
33771 test ! -s conftest.err
33772 } && test -s conftest$ac_exeext &&
33773 $as_test_x conftest$ac_exeext; then
33774
33775 { echo "$as_me:$LINENO: result: found in default search path" >&5
33776 echo "${ECHO_T}found in default search path" >&6; }
33777 COMPILED_X_PROGRAM=1
33778
33779 else
33780 echo "$as_me: failed program was:" >&5
33781 sed 's/^/| /' conftest.$ac_ext >&5
33782
33783
33784 { echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6; }
33786 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33787 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33788 { (exit 1); exit 1; }; }
33789
33790
33791 fi
33792
33793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33794 conftest$ac_exeext conftest.$ac_ext
33795
33796 CFLAGS=$save_CFLAGS
33797 LIBS="$save_LIBS"
33798 fi
33799
33800 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33801 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33802 libp_link=""
33803 libsm_ice_link=""
33804 libs_found=0
33805 for libp in "" " -lXp"; do
33806 if test "$libs_found" = "0"; then
33807 for libsm_ice in "" " -lSM -lICE"; do
33808 if test "$libs_found" = "0"; then
33809 save_LIBS="$LIBS"
33810 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33811 save_CFLAGS=$CFLAGS
33812 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33813
33814 cat >conftest.$ac_ext <<_ACEOF
33815 /* confdefs.h. */
33816 _ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820
33821 #include <Xm/Xm.h>
33822 #include <Xm/List.h>
33823
33824 int
33825 main ()
33826 {
33827
33828 XmString string = NULL;
33829 Widget w = NULL;
33830 int position = 0;
33831 XmListAddItem(w, string, position);
33832
33833 ;
33834 return 0;
33835 }
33836 _ACEOF
33837 rm -f conftest.$ac_objext conftest$ac_exeext
33838 if { (ac_try="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33842 esac
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest$ac_exeext &&
33854 $as_test_x conftest$ac_exeext; then
33855
33856 libp_link="$libp"
33857 libsm_ice_link="$libsm_ice"
33858 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33859 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33860 libs_found=1
33861
33862 else
33863 echo "$as_me: failed program was:" >&5
33864 sed 's/^/| /' conftest.$ac_ext >&5
33865
33866
33867
33868 fi
33869
33870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33871 conftest$ac_exeext conftest.$ac_ext
33872
33873 LIBS="$save_LIBS"
33874 CFLAGS=$save_CFLAGS
33875 fi
33876 done
33877 fi
33878 done
33879
33880 if test "$libs_found" = "0"; then
33881 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33882 echo "${ECHO_T}can't find the right libraries" >&6; }
33883 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33884 echo "$as_me: error: can't link a simple motif program" >&2;}
33885 { (exit 1); exit 1; }; }
33886 fi
33887
33888 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33889 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33890 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33891 echo $ECHO_N "(cached) $ECHO_C" >&6
33892 else
33893 ac_check_lib_save_LIBS=$LIBS
33894 LIBS="-lSgm $LIBS"
33895 cat >conftest.$ac_ext <<_ACEOF
33896 /* confdefs.h. */
33897 _ACEOF
33898 cat confdefs.h >>conftest.$ac_ext
33899 cat >>conftest.$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33901
33902 /* Override any GCC internal prototype to avoid an error.
33903 Use char because int might match the return type of a GCC
33904 builtin and then its argument prototype would still apply. */
33905 #ifdef __cplusplus
33906 extern "C"
33907 #endif
33908 char SgCreateList ();
33909 int
33910 main ()
33911 {
33912 return SgCreateList ();
33913 ;
33914 return 0;
33915 }
33916 _ACEOF
33917 rm -f conftest.$ac_objext conftest$ac_exeext
33918 if { (ac_try="$ac_link"
33919 case "(($ac_try" in
33920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33921 *) ac_try_echo=$ac_try;;
33922 esac
33923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33924 (eval "$ac_link") 2>conftest.er1
33925 ac_status=$?
33926 grep -v '^ *+' conftest.er1 >conftest.err
33927 rm -f conftest.er1
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } && {
33931 test -z "$ac_c_werror_flag" ||
33932 test ! -s conftest.err
33933 } && test -s conftest$ac_exeext &&
33934 $as_test_x conftest$ac_exeext; then
33935 ac_cv_lib_Sgm_SgCreateList=yes
33936 else
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33939
33940 ac_cv_lib_Sgm_SgCreateList=no
33941 fi
33942
33943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33944 conftest$ac_exeext conftest.$ac_ext
33945 LIBS=$ac_check_lib_save_LIBS
33946 fi
33947 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33948 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33949 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33950 libsgm_link=" -lSgm"
33951 fi
33952
33953
33954 save_CFLAGS=$CFLAGS
33955 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33956
33957 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33958 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33959 if test "${wx_cv_lib_motif2+set}" = set; then
33960 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 else
33962 cat >conftest.$ac_ext <<_ACEOF
33963 /* confdefs.h. */
33964 _ACEOF
33965 cat confdefs.h >>conftest.$ac_ext
33966 cat >>conftest.$ac_ext <<_ACEOF
33967 /* end confdefs.h. */
33968
33969 #include <Xm/Xm.h>
33970
33971 int
33972 main ()
33973 {
33974
33975 #if XmVersion < 2000
33976 Not Motif 2
33977 #endif
33978
33979 ;
33980 return 0;
33981 }
33982 _ACEOF
33983 rm -f conftest.$ac_objext
33984 if { (ac_try="$ac_compile"
33985 case "(($ac_try" in
33986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33987 *) ac_try_echo=$ac_try;;
33988 esac
33989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33990 (eval "$ac_compile") 2>conftest.er1
33991 ac_status=$?
33992 grep -v '^ *+' conftest.er1 >conftest.err
33993 rm -f conftest.er1
33994 cat conftest.err >&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } && {
33997 test -z "$ac_c_werror_flag" ||
33998 test ! -s conftest.err
33999 } && test -s conftest.$ac_objext; then
34000 wx_cv_lib_motif2="yes"
34001 else
34002 echo "$as_me: failed program was:" >&5
34003 sed 's/^/| /' conftest.$ac_ext >&5
34004
34005 wx_cv_lib_motif2="no"
34006 fi
34007
34008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34009 fi
34010 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34011 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34012 if test "$wx_cv_lib_motif2" = "yes"; then
34013 cat >>confdefs.h <<\_ACEOF
34014 #define __WXMOTIF20__ 1
34015 _ACEOF
34016
34017 else
34018 cat >>confdefs.h <<\_ACEOF
34019 #define __WXMOTIF20__ 0
34020 _ACEOF
34021
34022 fi
34023
34024 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34025 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34026 if test "${wx_cv_lib_lesstif+set}" = set; then
34027 echo $ECHO_N "(cached) $ECHO_C" >&6
34028 else
34029 cat >conftest.$ac_ext <<_ACEOF
34030 /* confdefs.h. */
34031 _ACEOF
34032 cat confdefs.h >>conftest.$ac_ext
34033 cat >>conftest.$ac_ext <<_ACEOF
34034 /* end confdefs.h. */
34035
34036 #include <Xm/Xm.h>
34037
34038 int
34039 main ()
34040 {
34041
34042 #if !defined(LesstifVersion) || LesstifVersion <= 0
34043 Not Lesstif
34044 #endif
34045
34046 ;
34047 return 0;
34048 }
34049 _ACEOF
34050 rm -f conftest.$ac_objext
34051 if { (ac_try="$ac_compile"
34052 case "(($ac_try" in
34053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34054 *) ac_try_echo=$ac_try;;
34055 esac
34056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34057 (eval "$ac_compile") 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } && {
34064 test -z "$ac_c_werror_flag" ||
34065 test ! -s conftest.err
34066 } && test -s conftest.$ac_objext; then
34067 wx_cv_lib_lesstif="yes"
34068 else
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.$ac_ext >&5
34071
34072 wx_cv_lib_lesstif="no"
34073 fi
34074
34075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34076
34077 fi
34078 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34079 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34080 if test "$wx_cv_lib_lesstif" = "yes"; then
34081 cat >>confdefs.h <<\_ACEOF
34082 #define __WXLESSTIF__ 1
34083 _ACEOF
34084
34085 else
34086 cat >>confdefs.h <<\_ACEOF
34087 #define __WXLESSTIF__ 0
34088 _ACEOF
34089
34090 fi
34091
34092 CFLAGS=$save_CFLAGS
34093
34094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34095 TOOLKIT=MOTIF
34096 GUIDIST=MOTIF_DIST
34097 fi
34098
34099 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34100 if test "$wxUSE_LIBXPM" = "sys"; then
34101 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34102 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34103
34104 ac_find_libraries=
34105 for ac_dir in $SEARCH_LIB;
34106 do
34107 for ac_extension in a so sl dylib dll.a; do
34108 if test -f "$ac_dir/libXpm.$ac_extension"; then
34109 ac_find_libraries=$ac_dir
34110 break 2
34111 fi
34112 done
34113 done
34114
34115 if test "$ac_find_libraries" != "" ; then
34116
34117 if test "$ac_find_libraries" = "default location"; then
34118 ac_path_to_link=""
34119 else
34120 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34121 result=$?
34122 if test $result = 0; then
34123 ac_path_to_link=""
34124 else
34125 ac_path_to_link=" -L$ac_find_libraries"
34126 fi
34127 fi
34128
34129 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34130 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34131 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34132
34133 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34134 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34135 if test "${wx_cv_x11_xpm_h+set}" = set; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 else
34138
34139 save_CFLAGS=$CFLAGS
34140 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34141
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148
34149 #include <X11/xpm.h>
34150
34151 int
34152 main ()
34153 {
34154
34155 int version;
34156 version = XpmLibraryVersion();
34157
34158 ;
34159 return 0;
34160 }
34161 _ACEOF
34162 rm -f conftest.$ac_objext
34163 if { (ac_try="$ac_compile"
34164 case "(($ac_try" in
34165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34166 *) ac_try_echo=$ac_try;;
34167 esac
34168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34169 (eval "$ac_compile") 2>conftest.er1
34170 ac_status=$?
34171 grep -v '^ *+' conftest.er1 >conftest.err
34172 rm -f conftest.er1
34173 cat conftest.err >&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } && {
34176 test -z "$ac_c_werror_flag" ||
34177 test ! -s conftest.err
34178 } && test -s conftest.$ac_objext; then
34179 wx_cv_x11_xpm_h=yes
34180 else
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 wx_cv_x11_xpm_h=no
34185
34186 fi
34187
34188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34189
34190 CFLAGS=$save_CFLAGS
34191
34192
34193 fi
34194 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34195 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34196
34197 if test $wx_cv_x11_xpm_h = "yes"; then
34198 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34199 cat >>confdefs.h <<\_ACEOF
34200 #define wxHAVE_LIB_XPM 1
34201 _ACEOF
34202
34203 else
34204 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34205 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34206 fi
34207 fi
34208
34209 fi
34210
34211 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34212 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34213 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34214 echo $ECHO_N "(cached) $ECHO_C" >&6
34215 else
34216 ac_check_lib_save_LIBS=$LIBS
34217 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34218 cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h. */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34224
34225 /* Override any GCC internal prototype to avoid an error.
34226 Use char because int might match the return type of a GCC
34227 builtin and then its argument prototype would still apply. */
34228 #ifdef __cplusplus
34229 extern "C"
34230 #endif
34231 char XShapeQueryExtension ();
34232 int
34233 main ()
34234 {
34235 return XShapeQueryExtension ();
34236 ;
34237 return 0;
34238 }
34239 _ACEOF
34240 rm -f conftest.$ac_objext conftest$ac_exeext
34241 if { (ac_try="$ac_link"
34242 case "(($ac_try" in
34243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34244 *) ac_try_echo=$ac_try;;
34245 esac
34246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34247 (eval "$ac_link") 2>conftest.er1
34248 ac_status=$?
34249 grep -v '^ *+' conftest.er1 >conftest.err
34250 rm -f conftest.er1
34251 cat conftest.err >&5
34252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } && {
34254 test -z "$ac_c_werror_flag" ||
34255 test ! -s conftest.err
34256 } && test -s conftest$ac_exeext &&
34257 $as_test_x conftest$ac_exeext; then
34258 ac_cv_lib_Xext_XShapeQueryExtension=yes
34259 else
34260 echo "$as_me: failed program was:" >&5
34261 sed 's/^/| /' conftest.$ac_ext >&5
34262
34263 ac_cv_lib_Xext_XShapeQueryExtension=no
34264 fi
34265
34266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34267 conftest$ac_exeext conftest.$ac_ext
34268 LIBS=$ac_check_lib_save_LIBS
34269 fi
34270 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34271 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34272 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34273
34274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34275 wxHAVE_XEXT_LIB=1
34276
34277 fi
34278
34279
34280 if test "$wxHAVE_XEXT_LIB" = 1; then
34281 save_CFLAGS="$CFLAGS"
34282 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34283
34284 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34285 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34286 cat >conftest.$ac_ext <<_ACEOF
34287 /* confdefs.h. */
34288 _ACEOF
34289 cat confdefs.h >>conftest.$ac_ext
34290 cat >>conftest.$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34292
34293 #include <X11/Xlib.h>
34294 #include <X11/extensions/shape.h>
34295
34296 int
34297 main ()
34298 {
34299
34300 int dummy1, dummy2;
34301 XShapeQueryExtension((Display*)NULL,
34302 (int*)NULL, (int*)NULL);
34303
34304 ;
34305 return 0;
34306 }
34307 _ACEOF
34308 rm -f conftest.$ac_objext
34309 if { (ac_try="$ac_compile"
34310 case "(($ac_try" in
34311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34312 *) ac_try_echo=$ac_try;;
34313 esac
34314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34315 (eval "$ac_compile") 2>conftest.er1
34316 ac_status=$?
34317 grep -v '^ *+' conftest.er1 >conftest.err
34318 rm -f conftest.er1
34319 cat conftest.err >&5
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); } && {
34322 test -z "$ac_c_werror_flag" ||
34323 test ! -s conftest.err
34324 } && test -s conftest.$ac_objext; then
34325
34326 cat >>confdefs.h <<\_ACEOF
34327 #define HAVE_XSHAPE 1
34328 _ACEOF
34329
34330 { echo "$as_me:$LINENO: result: found" >&5
34331 echo "${ECHO_T}found" >&6; }
34332
34333 else
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.$ac_ext >&5
34336
34337
34338 { echo "$as_me:$LINENO: result: not found" >&5
34339 echo "${ECHO_T}not found" >&6; }
34340
34341 fi
34342
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 CFLAGS="$save_CFLAGS"
34345
34346 fi
34347 fi
34348
34349 if test "$wxUSE_MAC" = 1; then
34350 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34351 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34352 if test "$GCC" = yes; then
34353 { echo "$as_me:$LINENO: result: gcc" >&5
34354 echo "${ECHO_T}gcc" >&6; }
34355 CPPFLAGS_PASCAL="-fpascal-strings"
34356 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34357 { echo "$as_me:$LINENO: result: xlc" >&5
34358 echo "${ECHO_T}xlc" >&6; }
34359 CPPFLAGS_PASCAL="-qmacpstr"
34360 else
34361 { echo "$as_me:$LINENO: result: none" >&5
34362 echo "${ECHO_T}none" >&6; }
34363 fi
34364
34365 if test "x$wxUSE_UNIX" = "xyes"; then
34366 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34367 else
34368 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34369 fi
34370
34371 TOOLKIT=MAC
34372 GUIDIST=MACX_DIST
34373 WXBASEPORT="_carbon"
34374 fi
34375
34376 if test "$wxUSE_COCOA" = 1; then
34377 TOOLKIT=COCOA
34378 GUIDIST=COCOA_DIST
34379 fi
34380
34381 if test "$wxUSE_PM" = 1; then
34382 TOOLKIT=PM
34383 GUIDIST=PM_DIST
34384 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34385 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34386 if test "${wx_cv_spbcdata+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 else
34389
34390 cat >conftest.$ac_ext <<_ACEOF
34391 /* confdefs.h. */
34392 _ACEOF
34393 cat confdefs.h >>conftest.$ac_ext
34394 cat >>conftest.$ac_ext <<_ACEOF
34395 /* end confdefs.h. */
34396
34397 #define INCL_PM
34398 #include <os2.h>
34399
34400 int
34401 main ()
34402 {
34403
34404 SPBCDATA test;
34405
34406 ;
34407 return 0;
34408 }
34409 _ACEOF
34410 rm -f conftest.$ac_objext
34411 if { (ac_try="$ac_compile"
34412 case "(($ac_try" in
34413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34414 *) ac_try_echo=$ac_try;;
34415 esac
34416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34417 (eval "$ac_compile") 2>conftest.er1
34418 ac_status=$?
34419 grep -v '^ *+' conftest.er1 >conftest.err
34420 rm -f conftest.er1
34421 cat conftest.err >&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); } && {
34424 test -z "$ac_c_werror_flag" ||
34425 test ! -s conftest.err
34426 } && test -s conftest.$ac_objext; then
34427 wx_cv_spbcdata=yes
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34431
34432 wx_cv_spbcdata=no
34433
34434 fi
34435
34436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34437
34438
34439 fi
34440 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34441 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34442
34443 if test $wx_cv_spbcdata = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445 #define HAVE_SPBCDATA 1
34446 _ACEOF
34447
34448 fi
34449 fi
34450
34451 if test "$TOOLKIT" = "PM" ; then
34452 TOOLKIT_DIR="os2"
34453 else
34454 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34455 fi
34456
34457 if test "$wxUSE_UNIVERSAL" = "yes"; then
34458 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34459 WIDGET_SET=univ
34460 fi
34461
34462 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34463 DISTDIR="wx\$(TOOLKIT)"
34464 else
34465 USE_GUI=0
34466
34467 TOOLKIT_DIR="base"
34468
34469 if test "$USE_WIN32" = 1 ; then
34470 TOOLKIT="MSW"
34471 fi
34472
34473 GUIDIST="BASE_DIST"
34474 DISTDIR="wxBase"
34475 fi
34476
34477
34478
34479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34480 if test "$TOOLKIT" = "DFB" ; then
34481 wxUSE_UNICODE_UTF8=yes
34482 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34483 wxUSE_UNICODE_UTF8=yes
34484 elif test "$USE_OS2" = "1" ; then
34485 wxUSE_UNICODE_UTF8=yes
34486 else
34487 wxUSE_UNICODE_UTF8=no
34488 fi
34489 fi
34490
34491
34492 if test "$wxUSE_GUI" = "yes"; then
34493 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34494
34495 for ac_header in X11/Xlib.h
34496 do
34497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34501 echo $ECHO_N "(cached) $ECHO_C" >&6
34502 else
34503 cat >conftest.$ac_ext <<_ACEOF
34504 /* confdefs.h. */
34505 _ACEOF
34506 cat confdefs.h >>conftest.$ac_ext
34507 cat >>conftest.$ac_ext <<_ACEOF
34508 /* end confdefs.h. */
34509
34510
34511 #include <$ac_header>
34512 _ACEOF
34513 rm -f conftest.$ac_objext
34514 if { (ac_try="$ac_compile"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34518 esac
34519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 (eval "$ac_compile") 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } && {
34527 test -z "$ac_c_werror_flag" ||
34528 test ! -s conftest.err
34529 } && test -s conftest.$ac_objext; then
34530 eval "$as_ac_Header=yes"
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 eval "$as_ac_Header=no"
34536 fi
34537
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 fi
34540 ac_res=`eval echo '${'$as_ac_Header'}'`
34541 { echo "$as_me:$LINENO: result: $ac_res" >&5
34542 echo "${ECHO_T}$ac_res" >&6; }
34543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34544 cat >>confdefs.h <<_ACEOF
34545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34546 _ACEOF
34547
34548 fi
34549
34550 done
34551
34552
34553 for ac_header in X11/XKBlib.h
34554 do
34555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 else
34561 cat >conftest.$ac_ext <<_ACEOF
34562 /* confdefs.h. */
34563 _ACEOF
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34567
34568 #if HAVE_X11_XLIB_H
34569 #include <X11/Xlib.h>
34570 #endif
34571
34572
34573 #include <$ac_header>
34574 _ACEOF
34575 rm -f conftest.$ac_objext
34576 if { (ac_try="$ac_compile"
34577 case "(($ac_try" in
34578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34579 *) ac_try_echo=$ac_try;;
34580 esac
34581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34582 (eval "$ac_compile") 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } && {
34589 test -z "$ac_c_werror_flag" ||
34590 test ! -s conftest.err
34591 } && test -s conftest.$ac_objext; then
34592 eval "$as_ac_Header=yes"
34593 else
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34596
34597 eval "$as_ac_Header=no"
34598 fi
34599
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 fi
34602 ac_res=`eval echo '${'$as_ac_Header'}'`
34603 { echo "$as_me:$LINENO: result: $ac_res" >&5
34604 echo "${ECHO_T}$ac_res" >&6; }
34605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34606 cat >>confdefs.h <<_ACEOF
34607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34608 _ACEOF
34609
34610 fi
34611
34612 done
34613
34614 fi
34615 fi
34616
34617
34618
34619 IODBC_C_SRC=""
34620
34621
34622 if test "$TOOLKIT" != "MSW" ; then
34623
34624 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34625
34626 { echo "$as_me:$LINENO: checking for sql.h" >&5
34627 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34628 if test "${ac_cv_header_sql_h+set}" = set; then
34629 echo $ECHO_N "(cached) $ECHO_C" >&6
34630 else
34631 cat >conftest.$ac_ext <<_ACEOF
34632 /* confdefs.h. */
34633 _ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
34636 /* end confdefs.h. */
34637
34638
34639 #include <sql.h>
34640 _ACEOF
34641 rm -f conftest.$ac_objext
34642 if { (ac_try="$ac_compile"
34643 case "(($ac_try" in
34644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34645 *) ac_try_echo=$ac_try;;
34646 esac
34647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34648 (eval "$ac_compile") 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } && {
34655 test -z "$ac_c_werror_flag" ||
34656 test ! -s conftest.err
34657 } && test -s conftest.$ac_objext; then
34658 ac_cv_header_sql_h=yes
34659 else
34660 echo "$as_me: failed program was:" >&5
34661 sed 's/^/| /' conftest.$ac_ext >&5
34662
34663 ac_cv_header_sql_h=no
34664 fi
34665
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 fi
34668 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34669 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34670 if test $ac_cv_header_sql_h = yes; then
34671 found_sql_h=1
34672 fi
34673
34674
34675 if test "x$found_sql_h" = "x1" ; then
34676 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34677 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34678 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 else
34681 ac_check_lib_save_LIBS=$LIBS
34682 LIBS="-liodbc $LIBS"
34683 cat >conftest.$ac_ext <<_ACEOF
34684 /* confdefs.h. */
34685 _ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689
34690 /* Override any GCC internal prototype to avoid an error.
34691 Use char because int might match the return type of a GCC
34692 builtin and then its argument prototype would still apply. */
34693 #ifdef __cplusplus
34694 extern "C"
34695 #endif
34696 char SQLAllocEnv ();
34697 int
34698 main ()
34699 {
34700 return SQLAllocEnv ();
34701 ;
34702 return 0;
34703 }
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (ac_try="$ac_link"
34707 case "(($ac_try" in
34708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34709 *) ac_try_echo=$ac_try;;
34710 esac
34711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34712 (eval "$ac_link") 2>conftest.er1
34713 ac_status=$?
34714 grep -v '^ *+' conftest.er1 >conftest.err
34715 rm -f conftest.er1
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } && {
34719 test -z "$ac_c_werror_flag" ||
34720 test ! -s conftest.err
34721 } && test -s conftest$ac_exeext &&
34722 $as_test_x conftest$ac_exeext; then
34723 ac_cv_lib_iodbc_SQLAllocEnv=yes
34724 else
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728 ac_cv_lib_iodbc_SQLAllocEnv=no
34729 fi
34730
34731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34732 conftest$ac_exeext conftest.$ac_ext
34733 LIBS=$ac_check_lib_save_LIBS
34734 fi
34735 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34736 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34737 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34738 ODBC_LINK=" -liodbc"
34739 else
34740
34741 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34742 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34743 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 else
34746 ac_check_lib_save_LIBS=$LIBS
34747 LIBS="-lunixodbc $LIBS"
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754
34755 /* Override any GCC internal prototype to avoid an error.
34756 Use char because int might match the return type of a GCC
34757 builtin and then its argument prototype would still apply. */
34758 #ifdef __cplusplus
34759 extern "C"
34760 #endif
34761 char SQLAllocEnv ();
34762 int
34763 main ()
34764 {
34765 return SQLAllocEnv ();
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 rm -f conftest.$ac_objext conftest$ac_exeext
34771 if { (ac_try="$ac_link"
34772 case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34774 *) ac_try_echo=$ac_try;;
34775 esac
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_link") 2>conftest.er1
34778 ac_status=$?
34779 grep -v '^ *+' conftest.er1 >conftest.err
34780 rm -f conftest.er1
34781 cat conftest.err >&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } && {
34784 test -z "$ac_c_werror_flag" ||
34785 test ! -s conftest.err
34786 } && test -s conftest$ac_exeext &&
34787 $as_test_x conftest$ac_exeext; then
34788 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34792
34793 ac_cv_lib_unixodbc_SQLAllocEnv=no
34794 fi
34795
34796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34797 conftest$ac_exeext conftest.$ac_ext
34798 LIBS=$ac_check_lib_save_LIBS
34799 fi
34800 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34801 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34802 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34803 ODBC_LINK=" -lunixodbc"
34804 else
34805
34806 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34807 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34808 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34809 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 else
34811 ac_check_lib_save_LIBS=$LIBS
34812 LIBS="-lodbc $LIBS"
34813 cat >conftest.$ac_ext <<_ACEOF
34814 /* confdefs.h. */
34815 _ACEOF
34816 cat confdefs.h >>conftest.$ac_ext
34817 cat >>conftest.$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819
34820 /* Override any GCC internal prototype to avoid an error.
34821 Use char because int might match the return type of a GCC
34822 builtin and then its argument prototype would still apply. */
34823 #ifdef __cplusplus
34824 extern "C"
34825 #endif
34826 char SQLAllocEnv ();
34827 int
34828 main ()
34829 {
34830 return SQLAllocEnv ();
34831 ;
34832 return 0;
34833 }
34834 _ACEOF
34835 rm -f conftest.$ac_objext conftest$ac_exeext
34836 if { (ac_try="$ac_link"
34837 case "(($ac_try" in
34838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34839 *) ac_try_echo=$ac_try;;
34840 esac
34841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34842 (eval "$ac_link") 2>conftest.er1
34843 ac_status=$?
34844 grep -v '^ *+' conftest.er1 >conftest.err
34845 rm -f conftest.er1
34846 cat conftest.err >&5
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); } && {
34849 test -z "$ac_c_werror_flag" ||
34850 test ! -s conftest.err
34851 } && test -s conftest$ac_exeext &&
34852 $as_test_x conftest$ac_exeext; then
34853 ac_cv_lib_odbc_SQLAllocEnv=yes
34854 else
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.$ac_ext >&5
34857
34858 ac_cv_lib_odbc_SQLAllocEnv=no
34859 fi
34860
34861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34862 conftest$ac_exeext conftest.$ac_ext
34863 LIBS=$ac_check_lib_save_LIBS
34864 fi
34865 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34866 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34867 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34868 ODBC_LINK=" -lodbc"
34869 fi
34870
34871
34872 fi
34873
34874
34875 fi
34876
34877 fi
34878 if test "x$ODBC_LINK" = "x" ; then
34879 if test "$wxUSE_ODBC" = "sys" ; then
34880 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34881 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34882 { (exit 1); exit 1; }; }
34883 else
34884 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34885 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34886 wxUSE_ODBC=builtin
34887 fi
34888 else
34889 wxUSE_ODBC=sys
34890 fi
34891 fi
34892
34893 if test "$wxUSE_ODBC" = "builtin" ; then
34894 cat >>confdefs.h <<\_ACEOF
34895 #define wxUSE_BUILTIN_IODBC 1
34896 _ACEOF
34897
34898 fi
34899 fi
34900
34901 if test "$wxUSE_ODBC" != "no" ; then
34902 cat >>confdefs.h <<\_ACEOF
34903 #define wxUSE_ODBC 1
34904 _ACEOF
34905
34906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34907
34908 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34909 fi
34910
34911
34912 if test "$wxUSE_DISPLAY" = "yes"; then
34913 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34914 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34915 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34916
34917 ac_find_libraries=
34918 for ac_dir in $SEARCH_LIB;
34919 do
34920 for ac_extension in a so sl dylib dll.a; do
34921 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34922 ac_find_libraries=$ac_dir
34923 break 2
34924 fi
34925 done
34926 done
34927
34928 if test "$ac_find_libraries" != "" ; then
34929
34930 if test "$ac_find_libraries" = "default location"; then
34931 ac_path_to_link=""
34932 else
34933 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34934 result=$?
34935 if test $result = 0; then
34936 ac_path_to_link=""
34937 else
34938 ac_path_to_link=" -L$ac_find_libraries"
34939 fi
34940 fi
34941
34942 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34943 LDFLAGS="$LDFLAGS $ac_path_to_link"
34944 fi
34945 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34946 { echo "$as_me:$LINENO: result: yes" >&5
34947 echo "${ECHO_T}yes" >&6; }
34948
34949 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34950 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34951
34952 ac_find_libraries=
34953 for ac_dir in $SEARCH_LIB;
34954 do
34955 for ac_extension in a so sl dylib dll.a; do
34956 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34957 ac_find_libraries=$ac_dir
34958 break 2
34959 fi
34960 done
34961 done
34962
34963 if test "$ac_find_libraries" != "" ; then
34964 { echo "$as_me:$LINENO: result: yes" >&5
34965 echo "${ECHO_T}yes" >&6; }
34966
34967 for ac_header in X11/extensions/xf86vmode.h
34968 do
34969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 else
34975 cat >conftest.$ac_ext <<_ACEOF
34976 /* confdefs.h. */
34977 _ACEOF
34978 cat confdefs.h >>conftest.$ac_ext
34979 cat >>conftest.$ac_ext <<_ACEOF
34980 /* end confdefs.h. */
34981
34982 #if HAVE_X11_XLIB_H
34983 #include <X11/Xlib.h>
34984 #endif
34985
34986
34987 #include <$ac_header>
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (ac_try="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34994 esac
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34997 ac_status=$?
34998 grep -v '^ *+' conftest.er1 >conftest.err
34999 rm -f conftest.er1
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35006 eval "$as_ac_Header=yes"
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 eval "$as_ac_Header=no"
35012 fi
35013
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015 fi
35016 ac_res=`eval echo '${'$as_ac_Header'}'`
35017 { echo "$as_me:$LINENO: result: $ac_res" >&5
35018 echo "${ECHO_T}$ac_res" >&6; }
35019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35020 cat >>confdefs.h <<_ACEOF
35021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35022 _ACEOF
35023
35024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35025
35026 fi
35027
35028 done
35029
35030 else
35031 { echo "$as_me:$LINENO: result: no" >&5
35032 echo "${ECHO_T}no" >&6; }
35033 fi
35034
35035 else
35036 { echo "$as_me:$LINENO: result: no" >&5
35037 echo "${ECHO_T}no" >&6; }
35038 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35039 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35040 wxUSE_DISPLAY="no"
35041 fi
35042 elif test "$wxUSE_MSW" = 1; then
35043 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35044 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35045 if test "${ac_cv_header_ddraw_h+set}" = set; then
35046 echo $ECHO_N "(cached) $ECHO_C" >&6
35047 else
35048 cat >conftest.$ac_ext <<_ACEOF
35049 /* confdefs.h. */
35050 _ACEOF
35051 cat confdefs.h >>conftest.$ac_ext
35052 cat >>conftest.$ac_ext <<_ACEOF
35053 /* end confdefs.h. */
35054 #include <windows.h>
35055
35056 #include <ddraw.h>
35057 _ACEOF
35058 rm -f conftest.$ac_objext
35059 if { (ac_try="$ac_compile"
35060 case "(($ac_try" in
35061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35062 *) ac_try_echo=$ac_try;;
35063 esac
35064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35065 (eval "$ac_compile") 2>conftest.er1
35066 ac_status=$?
35067 grep -v '^ *+' conftest.er1 >conftest.err
35068 rm -f conftest.er1
35069 cat conftest.err >&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } && {
35072 test -z "$ac_c_werror_flag" ||
35073 test ! -s conftest.err
35074 } && test -s conftest.$ac_objext; then
35075 ac_cv_header_ddraw_h=yes
35076 else
35077 echo "$as_me: failed program was:" >&5
35078 sed 's/^/| /' conftest.$ac_ext >&5
35079
35080 ac_cv_header_ddraw_h=no
35081 fi
35082
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 fi
35085 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35086 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35087
35088
35089 fi
35090 fi
35091
35092 if test "$wxUSE_DETECT_SM" = "yes"; then
35093 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35094 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35095 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35096
35097 ac_find_libraries=
35098 for ac_dir in $SEARCH_LIB;
35099 do
35100 for ac_extension in a so sl dylib dll.a; do
35101 if test -f "$ac_dir/libSM.$ac_extension"; then
35102 ac_find_libraries=$ac_dir
35103 break 2
35104 fi
35105 done
35106 done
35107
35108 if test "$ac_find_libraries" != "" ; then
35109
35110 if test "$ac_find_libraries" = "default location"; then
35111 ac_path_to_link=""
35112 else
35113 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35114 result=$?
35115 if test $result = 0; then
35116 ac_path_to_link=""
35117 else
35118 ac_path_to_link=" -L$ac_find_libraries"
35119 fi
35120 fi
35121
35122 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35123 LDFLAGS="$LDFLAGS $ac_path_to_link"
35124 fi
35125 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35126 { echo "$as_me:$LINENO: result: yes" >&5
35127 echo "${ECHO_T}yes" >&6; }
35128 else
35129 { echo "$as_me:$LINENO: result: no" >&5
35130 echo "${ECHO_T}no" >&6; }
35131 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35132 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35133 wxUSE_DETECT_SM="no"
35134 fi
35135 else
35136 wxUSE_DETECT_SM="no"
35137 fi
35138 fi
35139
35140
35141
35142 USE_OPENGL=0
35143 if test "$wxUSE_OPENGL" = "yes"; then
35144 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35145 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35146 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35147 wxUSE_OPENGL="no"
35148 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35149 OPENGL_LIBS="-framework OpenGL -framework AGL"
35150 elif test "$wxUSE_MSW" = 1; then
35151 OPENGL_LIBS="-lopengl32 -lglu32"
35152 else
35153 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35154 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35155
35156 ac_find_includes=
35157 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35158 do
35159 if test -f "$ac_dir/GL/gl.h"; then
35160 ac_find_includes=$ac_dir
35161 break
35162 fi
35163 done
35164
35165 if test "$ac_find_includes" != "" ; then
35166 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35167 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35168
35169 if test "x$ac_find_includes" = "x/usr/include"; then
35170 ac_path_to_include=""
35171 else
35172 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35173 result=$?
35174 if test $result = 0; then
35175 ac_path_to_include=""
35176 else
35177 ac_path_to_include=" -I$ac_find_includes"
35178 fi
35179 fi
35180
35181 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35182 else
35183 { echo "$as_me:$LINENO: result: not found" >&5
35184 echo "${ECHO_T}not found" >&6; }
35185 fi
35186
35187 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35188 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35189 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 else
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198
35199
35200 #include <GL/gl.h>
35201 _ACEOF
35202 rm -f conftest.$ac_objext
35203 if { (ac_try="$ac_compile"
35204 case "(($ac_try" in
35205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35206 *) ac_try_echo=$ac_try;;
35207 esac
35208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35209 (eval "$ac_compile") 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } && {
35216 test -z "$ac_c_werror_flag" ||
35217 test ! -s conftest.err
35218 } && test -s conftest.$ac_objext; then
35219 ac_cv_header_GL_gl_h=yes
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224 ac_cv_header_GL_gl_h=no
35225 fi
35226
35227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35228 fi
35229 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35230 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35231 if test $ac_cv_header_GL_gl_h = yes; then
35232
35233 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35234 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35235 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35236 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35237 echo $ECHO_N "(cached) $ECHO_C" >&6
35238 fi
35239 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35240 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35241 else
35242 # Is the header compilable?
35243 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35244 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35245 cat >conftest.$ac_ext <<_ACEOF
35246 /* confdefs.h. */
35247 _ACEOF
35248 cat confdefs.h >>conftest.$ac_ext
35249 cat >>conftest.$ac_ext <<_ACEOF
35250 /* end confdefs.h. */
35251 $ac_includes_default
35252 #include <GL/glu.h>
35253 _ACEOF
35254 rm -f conftest.$ac_objext
35255 if { (ac_try="$ac_compile"
35256 case "(($ac_try" in
35257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35258 *) ac_try_echo=$ac_try;;
35259 esac
35260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35261 (eval "$ac_compile") 2>conftest.er1
35262 ac_status=$?
35263 grep -v '^ *+' conftest.er1 >conftest.err
35264 rm -f conftest.er1
35265 cat conftest.err >&5
35266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35267 (exit $ac_status); } && {
35268 test -z "$ac_c_werror_flag" ||
35269 test ! -s conftest.err
35270 } && test -s conftest.$ac_objext; then
35271 ac_header_compiler=yes
35272 else
35273 echo "$as_me: failed program was:" >&5
35274 sed 's/^/| /' conftest.$ac_ext >&5
35275
35276 ac_header_compiler=no
35277 fi
35278
35279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35280 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35281 echo "${ECHO_T}$ac_header_compiler" >&6; }
35282
35283 # Is the header present?
35284 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35285 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292 #include <GL/glu.h>
35293 _ACEOF
35294 if { (ac_try="$ac_cpp conftest.$ac_ext"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } >/dev/null && {
35307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 }; then
35310 ac_header_preproc=yes
35311 else
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35314
35315 ac_header_preproc=no
35316 fi
35317
35318 rm -f conftest.err conftest.$ac_ext
35319 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35320 echo "${ECHO_T}$ac_header_preproc" >&6; }
35321
35322 # So? What about this header?
35323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35324 yes:no: )
35325 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35326 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35327 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35328 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35329 ac_header_preproc=yes
35330 ;;
35331 no:yes:* )
35332 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35333 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35334 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35335 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35336 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35337 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35338 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35339 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35340 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35341 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35342 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35343 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35344 ( cat <<\_ASBOX
35345 ## ----------------------------------------- ##
35346 ## Report this to wx-dev@lists.wxwidgets.org ##
35347 ## ----------------------------------------- ##
35348 _ASBOX
35349 ) | sed "s/^/$as_me: WARNING: /" >&2
35350 ;;
35351 esac
35352 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35353 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35354 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 else
35357 ac_cv_header_GL_glu_h=$ac_header_preproc
35358 fi
35359 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35360 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35361
35362 fi
35363 if test $ac_cv_header_GL_glu_h = yes; then
35364
35365 found_gl=0
35366
35367 { echo "$as_me:$LINENO: checking for -lGL" >&5
35368 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35369
35370 ac_find_libraries=
35371 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35372 do
35373 for ac_extension in a so sl dylib dll.a; do
35374 if test -f "$ac_dir/libGL.$ac_extension"; then
35375 ac_find_libraries=$ac_dir
35376 break 2
35377 fi
35378 done
35379 done
35380
35381 if test "$ac_find_libraries" != "" ; then
35382 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35383 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35384
35385
35386 if test "$ac_find_libraries" = "default location"; then
35387 ac_path_to_link=""
35388 else
35389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35390 result=$?
35391 if test $result = 0; then
35392 ac_path_to_link=""
35393 else
35394 ac_path_to_link=" -L$ac_find_libraries"
35395 fi
35396 fi
35397
35398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35399 LDFLAGS_GL="$ac_path_to_link"
35400 fi
35401
35402 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35403 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35404
35405 ac_find_libraries=
35406 for ac_dir in $SEARCH_LIB;
35407 do
35408 for ac_extension in a so sl dylib dll.a; do
35409 if test -f "$ac_dir/libGLU.$ac_extension"; then
35410 ac_find_libraries=$ac_dir
35411 break 2
35412 fi
35413 done
35414 done
35415
35416 if test "$ac_find_libraries" != "" ; then
35417
35418 if test "$ac_find_libraries" = "default location"; then
35419 ac_path_to_link=""
35420 else
35421 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35422 result=$?
35423 if test $result = 0; then
35424 ac_path_to_link=""
35425 else
35426 ac_path_to_link=" -L$ac_find_libraries"
35427 fi
35428 fi
35429
35430 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35431 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35432 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35433 fi
35434
35435 found_gl=1
35436 OPENGL_LIBS="-lGL -lGLU"
35437 { echo "$as_me:$LINENO: result: yes" >&5
35438 echo "${ECHO_T}yes" >&6; }
35439 else
35440 { echo "$as_me:$LINENO: result: no" >&5
35441 echo "${ECHO_T}no" >&6; }
35442 fi
35443 else
35444 { echo "$as_me:$LINENO: result: no" >&5
35445 echo "${ECHO_T}no" >&6; }
35446 fi
35447
35448 if test "$found_gl" != 1; then
35449 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35450 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35451
35452 ac_find_libraries=
35453 for ac_dir in $SEARCH_LIB;
35454 do
35455 for ac_extension in a so sl dylib dll.a; do
35456 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35457 ac_find_libraries=$ac_dir
35458 break 2
35459 fi
35460 done
35461 done
35462
35463 if test "$ac_find_libraries" != "" ; then
35464
35465 if test "$ac_find_libraries" = "default location"; then
35466 ac_path_to_link=""
35467 else
35468 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35469 result=$?
35470 if test $result = 0; then
35471 ac_path_to_link=""
35472 else
35473 ac_path_to_link=" -L$ac_find_libraries"
35474 fi
35475 fi
35476
35477 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35478 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35479 { echo "$as_me:$LINENO: result: yes" >&5
35480 echo "${ECHO_T}yes" >&6; }
35481 else
35482 { echo "$as_me:$LINENO: result: no" >&5
35483 echo "${ECHO_T}no" >&6; }
35484 fi
35485 fi
35486
35487 fi
35488
35489
35490
35491 fi
35492
35493
35494
35495 if test "x$OPENGL_LIBS" = "x"; then
35496 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35497 echo "$as_me: error: OpenGL libraries not available" >&2;}
35498 { (exit 1); exit 1; }; }
35499 fi
35500 fi
35501
35502 if test "$wxUSE_OPENGL" = "yes"; then
35503 USE_OPENGL=1
35504 cat >>confdefs.h <<\_ACEOF
35505 #define wxUSE_OPENGL 1
35506 _ACEOF
35507
35508 cat >>confdefs.h <<\_ACEOF
35509 #define wxUSE_GLCANVAS 1
35510 _ACEOF
35511
35512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35513 fi
35514 fi
35515
35516
35517 if test -n "$TOOLKIT" ; then
35518 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35519 fi
35520
35521
35522
35523 if test "$wxUSE_SHARED" = "yes"; then
35524 case "${host}" in
35525 *-pc-msdosdjgpp )
35526 wxUSE_SHARED=no
35527 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35528 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35529 ;;
35530 esac
35531 fi
35532
35533 if test "$wxUSE_SHARED" = "yes"; then
35534
35535
35536 case "${host}" in
35537 *-*-cygwin* | *-*-mingw* )
35538 wx_cv_version_script=no
35539 ;;
35540
35541 *)
35542 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35543 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35544 if test "${wx_cv_version_script+set}" = set; then
35545 echo $ECHO_N "(cached) $ECHO_C" >&6
35546 else
35547
35548 echo "VER_1 { *; };" >conftest.sym
35549 echo "int main() { return 0; }" >conftest.cpp
35550
35551 if { ac_try='
35552 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35553 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; } ; then
35559 if test -s conftest.stderr ; then
35560 wx_cv_version_script=no
35561 else
35562 wx_cv_version_script=yes
35563 fi
35564 else
35565 wx_cv_version_script=no
35566 fi
35567
35568 if test $wx_cv_version_script = yes
35569 then
35570 echo "struct B { virtual ~B() { } }; \
35571 struct D : public B { }; \
35572 void F() { D d; }" > conftest.cpp
35573
35574 if { ac_try='
35575 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35576 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35578 (eval $ac_try) 2>&5
35579 ac_status=$?
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); }; } &&
35582 { ac_try='
35583 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35584 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35587 ac_status=$?
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; }
35590 then
35591 if { ac_try='
35592 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35593 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35596 ac_status=$?
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; }
35599 then
35600 wx_cv_version_script=yes
35601 else
35602 wx_cv_version_script=no
35603 fi
35604 fi
35605 fi
35606
35607 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35608 rm -f conftest1.output conftest2.output conftest3.output
35609
35610 fi
35611 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35612 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35613
35614 if test $wx_cv_version_script = yes ; then
35615 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35616 fi
35617 ;;
35618 esac
35619
35620
35621 if test "$wxUSE_VISIBILITY" != "no"; then
35622
35623
35624 if test -n "$GCC"; then
35625 CFLAGS_VISIBILITY="-fvisibility=hidden"
35626 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35627 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35628 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35629 if test "${wx_cv_cc_visibility+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632
35633 wx_save_CXXFLAGS="$CXXFLAGS"
35634 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35635 ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35640
35641 cat >conftest.$ac_ext <<_ACEOF
35642 /* confdefs.h. */
35643 _ACEOF
35644 cat confdefs.h >>conftest.$ac_ext
35645 cat >>conftest.$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35647
35648 /* we need gcc >= 4.0, older versions with visibility support
35649 didn't have class visibility: */
35650 #if defined(__GNUC__) && __GNUC__ < 4
35651 error this gcc is too old;
35652 #endif
35653
35654 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35655 extern __attribute__((__visibility__("default"))) int exportedvar;
35656 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35657 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35658 class __attribute__((__visibility__("default"))) Foo {
35659 Foo() {}
35660 };
35661
35662 int
35663 main ()
35664 {
35665
35666 ;
35667 return 0;
35668 }
35669 _ACEOF
35670 rm -f conftest.$ac_objext
35671 if { (ac_try="$ac_compile"
35672 case "(($ac_try" in
35673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35674 *) ac_try_echo=$ac_try;;
35675 esac
35676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35677 (eval "$ac_compile") 2>conftest.er1
35678 ac_status=$?
35679 grep -v '^ *+' conftest.er1 >conftest.err
35680 rm -f conftest.er1
35681 cat conftest.err >&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); } && {
35684 test -z "$ac_cxx_werror_flag" ||
35685 test ! -s conftest.err
35686 } && test -s conftest.$ac_objext; then
35687 wx_cv_cc_visibility=yes
35688 else
35689 echo "$as_me: failed program was:" >&5
35690 sed 's/^/| /' conftest.$ac_ext >&5
35691
35692 wx_cv_cc_visibility=no
35693 fi
35694
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35696 ac_ext=c
35697 ac_cpp='$CPP $CPPFLAGS'
35698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35701
35702 CXXFLAGS="$wx_save_CXXFLAGS"
35703 fi
35704
35705 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35706 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35707 if test $wx_cv_cc_visibility = yes; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_VISIBILITY 1
35710 _ACEOF
35711
35712 else
35713 CFLAGS_VISIBILITY=""
35714 CXXFLAGS_VISIBILITY=""
35715 fi
35716
35717
35718 fi
35719
35720 fi
35721
35722 if test "x$SUNCXX" = xyes; then
35723 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35724 WXCONFIG_RPATH="-R\$libdir"
35725 else
35726 case "${host}" in
35727 *-*-linux* | *-*-gnu* )
35728 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35729 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35730 ;;
35731
35732 *-*-solaris2* )
35733
35734 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35735
35736 saveLdflags="$LDFLAGS"
35737 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35738 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35739 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35740 cat >conftest.$ac_ext <<_ACEOF
35741 /* confdefs.h. */
35742 _ACEOF
35743 cat confdefs.h >>conftest.$ac_ext
35744 cat >>conftest.$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746
35747 int
35748 main ()
35749 {
35750
35751 ;
35752 return 0;
35753 }
35754 _ACEOF
35755 rm -f conftest.$ac_objext conftest$ac_exeext
35756 if { (ac_try="$ac_link"
35757 case "(($ac_try" in
35758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35759 *) ac_try_echo=$ac_try;;
35760 esac
35761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35762 (eval "$ac_link") 2>conftest.er1
35763 ac_status=$?
35764 grep -v '^ *+' conftest.er1 >conftest.err
35765 rm -f conftest.er1
35766 cat conftest.err >&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } && {
35769 test -z "$ac_c_werror_flag" ||
35770 test ! -s conftest.err
35771 } && test -s conftest$ac_exeext &&
35772 $as_test_x conftest$ac_exeext; then
35773
35774 { echo "$as_me:$LINENO: result: yes" >&5
35775 echo "${ECHO_T}yes" >&6; }
35776 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35777 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35778
35779 else
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.$ac_ext >&5
35782
35783
35784 { echo "$as_me:$LINENO: result: no" >&5
35785 echo "${ECHO_T}no" >&6; }
35786 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35787 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35788 LDFLAGS="$saveLdflags -Wl,-R,/"
35789 cat >conftest.$ac_ext <<_ACEOF
35790 /* confdefs.h. */
35791 _ACEOF
35792 cat confdefs.h >>conftest.$ac_ext
35793 cat >>conftest.$ac_ext <<_ACEOF
35794 /* end confdefs.h. */
35795
35796 int
35797 main ()
35798 {
35799
35800 ;
35801 return 0;
35802 }
35803 _ACEOF
35804 rm -f conftest.$ac_objext conftest$ac_exeext
35805 if { (ac_try="$ac_link"
35806 case "(($ac_try" in
35807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35808 *) ac_try_echo=$ac_try;;
35809 esac
35810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35811 (eval "$ac_link") 2>conftest.er1
35812 ac_status=$?
35813 grep -v '^ *+' conftest.er1 >conftest.err
35814 rm -f conftest.er1
35815 cat conftest.err >&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); } && {
35818 test -z "$ac_c_werror_flag" ||
35819 test ! -s conftest.err
35820 } && test -s conftest$ac_exeext &&
35821 $as_test_x conftest$ac_exeext; then
35822
35823 { echo "$as_me:$LINENO: result: yes" >&5
35824 echo "${ECHO_T}yes" >&6; }
35825 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35826 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35827
35828 else
35829 echo "$as_me: failed program was:" >&5
35830 sed 's/^/| /' conftest.$ac_ext >&5
35831
35832
35833 { echo "$as_me:$LINENO: result: no" >&5
35834 echo "${ECHO_T}no" >&6; }
35835
35836 fi
35837
35838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35839 conftest$ac_exeext conftest.$ac_ext
35840
35841 fi
35842
35843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35844 conftest$ac_exeext conftest.$ac_ext
35845 LDFLAGS="$saveLdflags"
35846 ;;
35847
35848 *-*-darwin* )
35849 install_name_tool=`which install_name_tool`
35850 if test "$install_name_tool" -a -x "$install_name_tool"; then
35851 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35852 cat <<EOF >change-install-names
35853 #!/bin/sh
35854 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35855 inst_cmd="install_name_tool "
35856 for i in \${libnames} ; do
35857 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35858 done
35859 \${inst_cmd} \${3}
35860 EOF
35861 chmod +x change-install-names
35862 fi
35863 ;;
35864
35865 *-*-cygwin* | *-*-mingw32* )
35866 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35867 ;;
35868
35869 *-*-hpux* )
35870 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35871 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35872 ;;
35873
35874 esac
35875 fi
35876
35877 if test $wxUSE_RPATH = "no"; then
35878 SAMPLES_RPATH_FLAG=''
35879 SAMPLES_RPATH_POSTLINK=''
35880 WXCONFIG_RPATH=''
35881 fi
35882
35883 SHARED=1
35884
35885 else
35886
35887 config_linkage_component="-static"
35888 SHARED=0
35889
35890 fi
35891
35892
35893 UNICODE=0
35894 lib_unicode_suffix=
35895 WX_CHARTYPE="ansi"
35896 if test "$wxUSE_UNICODE" = "yes"; then
35897 lib_unicode_suffix=u
35898 WX_CHARTYPE="unicode"
35899 UNICODE=1
35900 fi
35901
35902 lib_debug_suffix=
35903 WX_DEBUGTYPE="release"
35904 DEBUG_FLAG=0
35905 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35906 lib_debug_suffix=d
35907 WX_DEBUGTYPE="debug"
35908 DEBUG_FLAG=1
35909 fi
35910
35911 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35912 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35913
35914 DEBUG_INFO=0
35915 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35916 DEBUG_INFO=1
35917 fi
35918
35919 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35920
35921 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35922
35923 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35924
35925 if test "$cross_compiling" = "yes"; then
35926 HOST_SUFFIX="-$host_alias"
35927 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35928 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35929 fi
35930
35931 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35932 if test "${TOOLKIT_DIR}" = "os2"; then
35933 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35934 else
35935 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35936 fi
35937
35938
35939
35940 if test "$wxUSE_COCOA" = 1; then
35941
35942 ac_ext=c
35943 ac_cpp='$CPP $CPPFLAGS'
35944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35947
35948 ac_ext=m
35949
35950 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35951 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35952 cat >conftest.$ac_ext <<_ACEOF
35953 /* confdefs.h. */
35954 _ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958 #include <AppKit/NSEvent.h>
35959 #include <CoreFoundation/CoreFoundation.h>
35960
35961 int
35962 main ()
35963 {
35964
35965 ;
35966 return 0;
35967 }
35968 _ACEOF
35969 rm -f conftest.$ac_objext
35970 if { (ac_try="$ac_compile"
35971 case "(($ac_try" in
35972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35973 *) ac_try_echo=$ac_try;;
35974 esac
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976 (eval "$ac_compile") 2>conftest.er1
35977 ac_status=$?
35978 grep -v '^ *+' conftest.er1 >conftest.err
35979 rm -f conftest.er1
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } && {
35983 test -z "$ac_c_werror_flag" ||
35984 test ! -s conftest.err
35985 } && test -s conftest.$ac_objext; then
35986 { echo "$as_me:$LINENO: result: no" >&5
35987 echo "${ECHO_T}no" >&6; }
35988 else
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35991
35992 { echo "$as_me:$LINENO: result: yes" >&5
35993 echo "${ECHO_T}yes" >&6; }
35994 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35995 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35996 cat >conftest.$ac_ext <<_ACEOF
35997 /* confdefs.h. */
35998 _ACEOF
35999 cat confdefs.h >>conftest.$ac_ext
36000 cat >>conftest.$ac_ext <<_ACEOF
36001 /* end confdefs.h. */
36002 #define __Point__ 1
36003 #include <AppKit/NSEvent.h>
36004 #include <CoreFoundation/CoreFoundation.h>
36005
36006 int
36007 main ()
36008 {
36009
36010 ;
36011 return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext
36015 if { (ac_try="$ac_compile"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36019 esac
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_compile") 2>conftest.er1
36022 ac_status=$?
36023 grep -v '^ *+' conftest.er1 >conftest.err
36024 rm -f conftest.er1
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_c_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest.$ac_objext; then
36031 { echo "$as_me:$LINENO: result: yes" >&5
36032 echo "${ECHO_T}yes" >&6; }
36033 cat >>confdefs.h <<\_ACEOF
36034 #define __Point__ 1
36035 _ACEOF
36036
36037
36038 else
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36041
36042 { { echo "$as_me:$LINENO: error: no
36043 See \`config.log' for more details." >&5
36044 echo "$as_me: error: no
36045 See \`config.log' for more details." >&2;}
36046 { (exit 1); exit 1; }; }
36047
36048 fi
36049
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36051
36052 fi
36053
36054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36055 ac_ext=c
36056 ac_cpp='$CPP $CPPFLAGS'
36057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36060
36061 fi
36062
36063 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36064 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36065 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36066
36067 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36068
36069 # Extract the first word of "Rez", so it can be a program name with args.
36070 set dummy Rez; ac_word=$2
36071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36073 if test "${ac_cv_prog_REZ+set}" = set; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 else
36076 if test -n "$REZ"; then
36077 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36078 else
36079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36080 for as_dir in $PATH
36081 do
36082 IFS=$as_save_IFS
36083 test -z "$as_dir" && as_dir=.
36084 for ac_exec_ext in '' $ac_executable_extensions; do
36085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36086 ac_cv_prog_REZ="Rez"
36087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36088 break 2
36089 fi
36090 done
36091 done
36092 IFS=$as_save_IFS
36093
36094 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36095 fi
36096 fi
36097 REZ=$ac_cv_prog_REZ
36098 if test -n "$REZ"; then
36099 { echo "$as_me:$LINENO: result: $REZ" >&5
36100 echo "${ECHO_T}$REZ" >&6; }
36101 else
36102 { echo "$as_me:$LINENO: result: no" >&5
36103 echo "${ECHO_T}no" >&6; }
36104 fi
36105
36106
36107 # Extract the first word of "DeRez", so it can be a program name with args.
36108 set dummy DeRez; ac_word=$2
36109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36111 if test "${ac_cv_prog_DEREZ+set}" = set; then
36112 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 else
36114 if test -n "$DEREZ"; then
36115 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36116 else
36117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36118 for as_dir in $PATH
36119 do
36120 IFS=$as_save_IFS
36121 test -z "$as_dir" && as_dir=.
36122 for ac_exec_ext in '' $ac_executable_extensions; do
36123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36124 ac_cv_prog_DEREZ="DeRez"
36125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36126 break 2
36127 fi
36128 done
36129 done
36130 IFS=$as_save_IFS
36131
36132 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36133 fi
36134 fi
36135 DEREZ=$ac_cv_prog_DEREZ
36136 if test -n "$DEREZ"; then
36137 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36138 echo "${ECHO_T}$DEREZ" >&6; }
36139 else
36140 { echo "$as_me:$LINENO: result: no" >&5
36141 echo "${ECHO_T}no" >&6; }
36142 fi
36143
36144
36145 # Extract the first word of "SetFile", so it can be a program name with args.
36146 set dummy SetFile; ac_word=$2
36147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36149 if test "${ac_cv_prog_SETFILE+set}" = set; then
36150 echo $ECHO_N "(cached) $ECHO_C" >&6
36151 else
36152 if test -n "$SETFILE"; then
36153 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36154 else
36155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36156 for as_dir in $PATH
36157 do
36158 IFS=$as_save_IFS
36159 test -z "$as_dir" && as_dir=.
36160 for ac_exec_ext in '' $ac_executable_extensions; do
36161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36162 ac_cv_prog_SETFILE="SetFile"
36163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36164 break 2
36165 fi
36166 done
36167 done
36168 IFS=$as_save_IFS
36169
36170 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36171 fi
36172 fi
36173 SETFILE=$ac_cv_prog_SETFILE
36174 if test -n "$SETFILE"; then
36175 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36176 echo "${ECHO_T}$SETFILE" >&6; }
36177 else
36178 { echo "$as_me:$LINENO: result: no" >&5
36179 echo "${ECHO_T}no" >&6; }
36180 fi
36181
36182
36183
36184 MACSETFILE="\$(SETFILE)"
36185
36186 if test "$wxUSE_MAC" = 1; then
36187 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36188 RESCOMP="$REZ"
36189 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36190 else
36191 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36192 RESCOMP="echo -n \| $REZ"
36193 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36194 fi
36195
36196 else
36197 MACSETFILE="@true"
36198
36199 if test "$wxUSE_PM" = 1; then
36200 RESCOMP="emxbind"
36201 WXCONFIG_RESFLAGS="-ep"
36202
36203 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36204 else
36205 POSTLINK_COMMAND="@true"
36206 fi
36207
36208 fi
36209
36210
36211
36212 { echo "$as_me:$LINENO: checking for mode_t" >&5
36213 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36214 if test "${ac_cv_type_mode_t+set}" = set; then
36215 echo $ECHO_N "(cached) $ECHO_C" >&6
36216 else
36217 cat >conftest.$ac_ext <<_ACEOF
36218 /* confdefs.h. */
36219 _ACEOF
36220 cat confdefs.h >>conftest.$ac_ext
36221 cat >>conftest.$ac_ext <<_ACEOF
36222 /* end confdefs.h. */
36223 $ac_includes_default
36224 typedef mode_t ac__type_new_;
36225 int
36226 main ()
36227 {
36228 if ((ac__type_new_ *) 0)
36229 return 0;
36230 if (sizeof (ac__type_new_))
36231 return 0;
36232 ;
36233 return 0;
36234 }
36235 _ACEOF
36236 rm -f conftest.$ac_objext
36237 if { (ac_try="$ac_compile"
36238 case "(($ac_try" in
36239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36240 *) ac_try_echo=$ac_try;;
36241 esac
36242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36243 (eval "$ac_compile") 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } && {
36250 test -z "$ac_c_werror_flag" ||
36251 test ! -s conftest.err
36252 } && test -s conftest.$ac_objext; then
36253 ac_cv_type_mode_t=yes
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36257
36258 ac_cv_type_mode_t=no
36259 fi
36260
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262 fi
36263 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36264 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36265 if test $ac_cv_type_mode_t = yes; then
36266 :
36267 else
36268
36269 cat >>confdefs.h <<_ACEOF
36270 #define mode_t int
36271 _ACEOF
36272
36273 fi
36274
36275 { echo "$as_me:$LINENO: checking for off_t" >&5
36276 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36277 if test "${ac_cv_type_off_t+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 $ac_includes_default
36287 typedef off_t ac__type_new_;
36288 int
36289 main ()
36290 {
36291 if ((ac__type_new_ *) 0)
36292 return 0;
36293 if (sizeof (ac__type_new_))
36294 return 0;
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 rm -f conftest.$ac_objext
36300 if { (ac_try="$ac_compile"
36301 case "(($ac_try" in
36302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36303 *) ac_try_echo=$ac_try;;
36304 esac
36305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36306 (eval "$ac_compile") 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } && {
36313 test -z "$ac_c_werror_flag" ||
36314 test ! -s conftest.err
36315 } && test -s conftest.$ac_objext; then
36316 ac_cv_type_off_t=yes
36317 else
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36320
36321 ac_cv_type_off_t=no
36322 fi
36323
36324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36325 fi
36326 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36327 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36328 if test $ac_cv_type_off_t = yes; then
36329 :
36330 else
36331
36332 cat >>confdefs.h <<_ACEOF
36333 #define off_t long int
36334 _ACEOF
36335
36336 fi
36337
36338 { echo "$as_me:$LINENO: checking for pid_t" >&5
36339 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36340 if test "${ac_cv_type_pid_t+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 $ac_includes_default
36350 typedef pid_t ac__type_new_;
36351 int
36352 main ()
36353 {
36354 if ((ac__type_new_ *) 0)
36355 return 0;
36356 if (sizeof (ac__type_new_))
36357 return 0;
36358 ;
36359 return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext
36363 if { (ac_try="$ac_compile"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36366 *) ac_try_echo=$ac_try;;
36367 esac
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_compile") 2>conftest.er1
36370 ac_status=$?
36371 grep -v '^ *+' conftest.er1 >conftest.err
36372 rm -f conftest.er1
36373 cat conftest.err >&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_c_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest.$ac_objext; then
36379 ac_cv_type_pid_t=yes
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 ac_cv_type_pid_t=no
36385 fi
36386
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388 fi
36389 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36390 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36391 if test $ac_cv_type_pid_t = yes; then
36392 :
36393 else
36394
36395 cat >>confdefs.h <<_ACEOF
36396 #define pid_t int
36397 _ACEOF
36398
36399 fi
36400
36401 { echo "$as_me:$LINENO: checking for size_t" >&5
36402 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36403 if test "${ac_cv_type_size_t+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 else
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 $ac_includes_default
36413 typedef size_t ac__type_new_;
36414 int
36415 main ()
36416 {
36417 if ((ac__type_new_ *) 0)
36418 return 0;
36419 if (sizeof (ac__type_new_))
36420 return 0;
36421 ;
36422 return 0;
36423 }
36424 _ACEOF
36425 rm -f conftest.$ac_objext
36426 if { (ac_try="$ac_compile"
36427 case "(($ac_try" in
36428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36429 *) ac_try_echo=$ac_try;;
36430 esac
36431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36432 (eval "$ac_compile") 2>conftest.er1
36433 ac_status=$?
36434 grep -v '^ *+' conftest.er1 >conftest.err
36435 rm -f conftest.er1
36436 cat conftest.err >&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); } && {
36439 test -z "$ac_c_werror_flag" ||
36440 test ! -s conftest.err
36441 } && test -s conftest.$ac_objext; then
36442 ac_cv_type_size_t=yes
36443 else
36444 echo "$as_me: failed program was:" >&5
36445 sed 's/^/| /' conftest.$ac_ext >&5
36446
36447 ac_cv_type_size_t=no
36448 fi
36449
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 fi
36452 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36453 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36454 if test $ac_cv_type_size_t = yes; then
36455 :
36456 else
36457
36458 cat >>confdefs.h <<_ACEOF
36459 #define size_t unsigned int
36460 _ACEOF
36461
36462 fi
36463
36464 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36465 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36466 if test "${ac_cv_type_uid_t+set}" = set; then
36467 echo $ECHO_N "(cached) $ECHO_C" >&6
36468 else
36469 cat >conftest.$ac_ext <<_ACEOF
36470 /* confdefs.h. */
36471 _ACEOF
36472 cat confdefs.h >>conftest.$ac_ext
36473 cat >>conftest.$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36475 #include <sys/types.h>
36476
36477 _ACEOF
36478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36479 $EGREP "uid_t" >/dev/null 2>&1; then
36480 ac_cv_type_uid_t=yes
36481 else
36482 ac_cv_type_uid_t=no
36483 fi
36484 rm -f conftest*
36485
36486 fi
36487 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36488 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36489 if test $ac_cv_type_uid_t = no; then
36490
36491 cat >>confdefs.h <<\_ACEOF
36492 #define uid_t int
36493 _ACEOF
36494
36495
36496 cat >>confdefs.h <<\_ACEOF
36497 #define gid_t int
36498 _ACEOF
36499
36500 fi
36501
36502
36503 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36504 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36505 if test "${ac_cv_type_ssize_t+set}" = set; then
36506 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 else
36508 cat >conftest.$ac_ext <<_ACEOF
36509 /* confdefs.h. */
36510 _ACEOF
36511 cat confdefs.h >>conftest.$ac_ext
36512 cat >>conftest.$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36514 $ac_includes_default
36515 typedef ssize_t ac__type_new_;
36516 int
36517 main ()
36518 {
36519 if ((ac__type_new_ *) 0)
36520 return 0;
36521 if (sizeof (ac__type_new_))
36522 return 0;
36523 ;
36524 return 0;
36525 }
36526 _ACEOF
36527 rm -f conftest.$ac_objext
36528 if { (ac_try="$ac_compile"
36529 case "(($ac_try" in
36530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36531 *) ac_try_echo=$ac_try;;
36532 esac
36533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36534 (eval "$ac_compile") 2>conftest.er1
36535 ac_status=$?
36536 grep -v '^ *+' conftest.er1 >conftest.err
36537 rm -f conftest.er1
36538 cat conftest.err >&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } && {
36541 test -z "$ac_c_werror_flag" ||
36542 test ! -s conftest.err
36543 } && test -s conftest.$ac_objext; then
36544 ac_cv_type_ssize_t=yes
36545 else
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36548
36549 ac_cv_type_ssize_t=no
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553 fi
36554 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36555 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36556 if test $ac_cv_type_ssize_t = yes; then
36557
36558 cat >>confdefs.h <<_ACEOF
36559 #define HAVE_SSIZE_T 1
36560 _ACEOF
36561
36562
36563 fi
36564
36565
36566 ac_ext=cpp
36567 ac_cpp='$CXXCPP $CPPFLAGS'
36568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36571 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36572 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36573 if test "${wx_cv_size_t_is_uint+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 else
36576
36577 cat >conftest.$ac_ext <<_ACEOF
36578 /* confdefs.h. */
36579 _ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 #include <stddef.h>
36584 int
36585 main ()
36586 {
36587
36588 return 0; }
36589
36590 struct Foo { void foo(size_t); void foo(unsigned int); };
36591
36592 int bar() {
36593
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext
36599 if { (ac_try="$ac_compile"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602 *) ac_try_echo=$ac_try;;
36603 esac
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_compile") 2>conftest.er1
36606 ac_status=$?
36607 grep -v '^ *+' conftest.er1 >conftest.err
36608 rm -f conftest.er1
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_cxx_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest.$ac_objext; then
36615 wx_cv_size_t_is_uint=no
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 wx_cv_size_t_is_uint=yes
36621
36622 fi
36623
36624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36625
36626
36627 fi
36628 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36629 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36630
36631 if test "$wx_cv_size_t_is_uint" = "yes"; then
36632 cat >>confdefs.h <<\_ACEOF
36633 #define wxSIZE_T_IS_UINT 1
36634 _ACEOF
36635
36636 else
36637 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36638 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36639 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36640 echo $ECHO_N "(cached) $ECHO_C" >&6
36641 else
36642 cat >conftest.$ac_ext <<_ACEOF
36643 /* confdefs.h. */
36644 _ACEOF
36645 cat confdefs.h >>conftest.$ac_ext
36646 cat >>conftest.$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36648 #include <stddef.h>
36649 int
36650 main ()
36651 {
36652
36653 return 0; }
36654
36655 struct Foo { void foo(size_t); void foo(unsigned long); };
36656
36657 int bar() {
36658
36659 ;
36660 return 0;
36661 }
36662 _ACEOF
36663 rm -f conftest.$ac_objext
36664 if { (ac_try="$ac_compile"
36665 case "(($ac_try" in
36666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36667 *) ac_try_echo=$ac_try;;
36668 esac
36669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36670 (eval "$ac_compile") 2>conftest.er1
36671 ac_status=$?
36672 grep -v '^ *+' conftest.er1 >conftest.err
36673 rm -f conftest.er1
36674 cat conftest.err >&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } && {
36677 test -z "$ac_cxx_werror_flag" ||
36678 test ! -s conftest.err
36679 } && test -s conftest.$ac_objext; then
36680 wx_cv_size_t_is_ulong=no
36681 else
36682 echo "$as_me: failed program was:" >&5
36683 sed 's/^/| /' conftest.$ac_ext >&5
36684
36685 wx_cv_size_t_is_ulong=yes
36686
36687 fi
36688
36689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36690
36691 fi
36692 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36693 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36694
36695 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36696 cat >>confdefs.h <<\_ACEOF
36697 #define wxSIZE_T_IS_ULONG 1
36698 _ACEOF
36699
36700 fi
36701 fi
36702
36703 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36704 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36705 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36706 echo $ECHO_N "(cached) $ECHO_C" >&6
36707 else
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714 #include <wchar.h>
36715 int
36716 main ()
36717 {
36718
36719 return 0; }
36720
36721 struct Foo { void foo(wchar_t);
36722 void foo(unsigned short);
36723 void foo(unsigned int);
36724 void foo(unsigned long); };
36725
36726 int bar() {
36727
36728 ;
36729 return 0;
36730 }
36731 _ACEOF
36732 rm -f conftest.$ac_objext
36733 if { (ac_try="$ac_compile"
36734 case "(($ac_try" in
36735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36736 *) ac_try_echo=$ac_try;;
36737 esac
36738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36739 (eval "$ac_compile") 2>conftest.er1
36740 ac_status=$?
36741 grep -v '^ *+' conftest.er1 >conftest.err
36742 rm -f conftest.er1
36743 cat conftest.err >&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); } && {
36746 test -z "$ac_cxx_werror_flag" ||
36747 test ! -s conftest.err
36748 } && test -s conftest.$ac_objext; then
36749 wx_cv_wchar_t_is_separate_type=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 wx_cv_wchar_t_is_separate_type=no
36755
36756 fi
36757
36758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36759
36760 fi
36761 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36762 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36763
36764 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36765 cat >>confdefs.h <<\_ACEOF
36766 #define wxWCHAR_T_IS_REAL_TYPE 1
36767 _ACEOF
36768
36769 else
36770 cat >>confdefs.h <<\_ACEOF
36771 #define wxWCHAR_T_IS_REAL_TYPE 0
36772 _ACEOF
36773
36774 fi
36775
36776 ac_ext=c
36777 ac_cpp='$CPP $CPPFLAGS'
36778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781
36782
36783 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36784 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36785 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 else
36788
36789 cat >conftest.$ac_ext <<_ACEOF
36790 /* confdefs.h. */
36791 _ACEOF
36792 cat confdefs.h >>conftest.$ac_ext
36793 cat >>conftest.$ac_ext <<_ACEOF
36794 /* end confdefs.h. */
36795 #include <pwd.h>
36796 int
36797 main ()
36798 {
36799
36800 char *p;
36801 struct passwd *pw;
36802 p = pw->pw_gecos;
36803
36804 ;
36805 return 0;
36806 }
36807 _ACEOF
36808 rm -f conftest.$ac_objext
36809 if { (ac_try="$ac_compile"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36813 esac
36814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_compile") 2>conftest.er1
36816 ac_status=$?
36817 grep -v '^ *+' conftest.er1 >conftest.err
36818 rm -f conftest.er1
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_c_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest.$ac_objext; then
36825
36826 wx_cv_struct_pw_gecos=yes
36827
36828 else
36829 echo "$as_me: failed program was:" >&5
36830 sed 's/^/| /' conftest.$ac_ext >&5
36831
36832
36833 wx_cv_struct_pw_gecos=no
36834
36835
36836 fi
36837
36838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36839
36840
36841 fi
36842 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36843 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36844
36845 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36846 cat >>confdefs.h <<\_ACEOF
36847 #define HAVE_PW_GECOS 1
36848 _ACEOF
36849
36850 fi
36851
36852
36853 if test "$wxUSE_WCHAR_T" = "yes"; then
36854 cat >>confdefs.h <<\_ACEOF
36855 #define wxUSE_WCHAR_T 1
36856 _ACEOF
36857
36858
36859 WCSLEN_FOUND=0
36860 WCHAR_LINK=
36861
36862 for ac_func in wcslen
36863 do
36864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36868 echo $ECHO_N "(cached) $ECHO_C" >&6
36869 else
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36878 #define $ac_func innocuous_$ac_func
36879
36880 /* System header to define __stub macros and hopefully few prototypes,
36881 which can conflict with char $ac_func (); below.
36882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36883 <limits.h> exists even on freestanding compilers. */
36884
36885 #ifdef __STDC__
36886 # include <limits.h>
36887 #else
36888 # include <assert.h>
36889 #endif
36890
36891 #undef $ac_func
36892
36893 /* Override any GCC internal prototype to avoid an error.
36894 Use char because int might match the return type of a GCC
36895 builtin and then its argument prototype would still apply. */
36896 #ifdef __cplusplus
36897 extern "C"
36898 #endif
36899 char $ac_func ();
36900 /* The GNU C library defines this for functions which it implements
36901 to always fail with ENOSYS. Some functions are actually named
36902 something starting with __ and the normal name is an alias. */
36903 #if defined __stub_$ac_func || defined __stub___$ac_func
36904 choke me
36905 #endif
36906
36907 int
36908 main ()
36909 {
36910 return $ac_func ();
36911 ;
36912 return 0;
36913 }
36914 _ACEOF
36915 rm -f conftest.$ac_objext conftest$ac_exeext
36916 if { (ac_try="$ac_link"
36917 case "(($ac_try" in
36918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36919 *) ac_try_echo=$ac_try;;
36920 esac
36921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36922 (eval "$ac_link") 2>conftest.er1
36923 ac_status=$?
36924 grep -v '^ *+' conftest.er1 >conftest.err
36925 rm -f conftest.er1
36926 cat conftest.err >&5
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); } && {
36929 test -z "$ac_c_werror_flag" ||
36930 test ! -s conftest.err
36931 } && test -s conftest$ac_exeext &&
36932 $as_test_x conftest$ac_exeext; then
36933 eval "$as_ac_var=yes"
36934 else
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 eval "$as_ac_var=no"
36939 fi
36940
36941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36942 conftest$ac_exeext conftest.$ac_ext
36943 fi
36944 ac_res=`eval echo '${'$as_ac_var'}'`
36945 { echo "$as_me:$LINENO: result: $ac_res" >&5
36946 echo "${ECHO_T}$ac_res" >&6; }
36947 if test `eval echo '${'$as_ac_var'}'` = yes; then
36948 cat >>confdefs.h <<_ACEOF
36949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36950 _ACEOF
36951 WCSLEN_FOUND=1
36952 fi
36953 done
36954
36955
36956 if test "$WCSLEN_FOUND" = 0; then
36957 if test "$TOOLKIT" = "MSW"; then
36958 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36959 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36960 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 else
36963 ac_check_lib_save_LIBS=$LIBS
36964 LIBS="-lmsvcrt $LIBS"
36965 cat >conftest.$ac_ext <<_ACEOF
36966 /* confdefs.h. */
36967 _ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971
36972 /* Override any GCC internal prototype to avoid an error.
36973 Use char because int might match the return type of a GCC
36974 builtin and then its argument prototype would still apply. */
36975 #ifdef __cplusplus
36976 extern "C"
36977 #endif
36978 char wcslen ();
36979 int
36980 main ()
36981 {
36982 return wcslen ();
36983 ;
36984 return 0;
36985 }
36986 _ACEOF
36987 rm -f conftest.$ac_objext conftest$ac_exeext
36988 if { (ac_try="$ac_link"
36989 case "(($ac_try" in
36990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36991 *) ac_try_echo=$ac_try;;
36992 esac
36993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36994 (eval "$ac_link") 2>conftest.er1
36995 ac_status=$?
36996 grep -v '^ *+' conftest.er1 >conftest.err
36997 rm -f conftest.er1
36998 cat conftest.err >&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } && {
37001 test -z "$ac_c_werror_flag" ||
37002 test ! -s conftest.err
37003 } && test -s conftest$ac_exeext &&
37004 $as_test_x conftest$ac_exeext; then
37005 ac_cv_lib_msvcrt_wcslen=yes
37006 else
37007 echo "$as_me: failed program was:" >&5
37008 sed 's/^/| /' conftest.$ac_ext >&5
37009
37010 ac_cv_lib_msvcrt_wcslen=no
37011 fi
37012
37013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37014 conftest$ac_exeext conftest.$ac_ext
37015 LIBS=$ac_check_lib_save_LIBS
37016 fi
37017 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37018 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37019 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37020 WCHAR_OK=1
37021 fi
37022
37023 else
37024 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37025 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37026 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37027 echo $ECHO_N "(cached) $ECHO_C" >&6
37028 else
37029 ac_check_lib_save_LIBS=$LIBS
37030 LIBS="-lw $LIBS"
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h. */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037
37038 /* Override any GCC internal prototype to avoid an error.
37039 Use char because int might match the return type of a GCC
37040 builtin and then its argument prototype would still apply. */
37041 #ifdef __cplusplus
37042 extern "C"
37043 #endif
37044 char wcslen ();
37045 int
37046 main ()
37047 {
37048 return wcslen ();
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 rm -f conftest.$ac_objext conftest$ac_exeext
37054 if { (ac_try="$ac_link"
37055 case "(($ac_try" in
37056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37057 *) ac_try_echo=$ac_try;;
37058 esac
37059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_link") 2>conftest.er1
37061 ac_status=$?
37062 grep -v '^ *+' conftest.er1 >conftest.err
37063 rm -f conftest.er1
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_c_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest$ac_exeext &&
37070 $as_test_x conftest$ac_exeext; then
37071 ac_cv_lib_w_wcslen=yes
37072 else
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37075
37076 ac_cv_lib_w_wcslen=no
37077 fi
37078
37079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37080 conftest$ac_exeext conftest.$ac_ext
37081 LIBS=$ac_check_lib_save_LIBS
37082 fi
37083 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37084 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37085 if test $ac_cv_lib_w_wcslen = yes; then
37086
37087 WCHAR_LINK=" -lw"
37088 WCSLEN_FOUND=1
37089
37090 fi
37091
37092 fi
37093 fi
37094
37095 if test "$WCSLEN_FOUND" = 1; then
37096 cat >>confdefs.h <<\_ACEOF
37097 #define HAVE_WCSLEN 1
37098 _ACEOF
37099
37100 fi
37101
37102
37103 for ac_func in wcsdup
37104 do
37105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37106 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37108 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37109 echo $ECHO_N "(cached) $ECHO_C" >&6
37110 else
37111 cat >conftest.$ac_ext <<_ACEOF
37112 /* confdefs.h. */
37113 _ACEOF
37114 cat confdefs.h >>conftest.$ac_ext
37115 cat >>conftest.$ac_ext <<_ACEOF
37116 /* end confdefs.h. */
37117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37119 #define $ac_func innocuous_$ac_func
37120
37121 /* System header to define __stub macros and hopefully few prototypes,
37122 which can conflict with char $ac_func (); below.
37123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37124 <limits.h> exists even on freestanding compilers. */
37125
37126 #ifdef __STDC__
37127 # include <limits.h>
37128 #else
37129 # include <assert.h>
37130 #endif
37131
37132 #undef $ac_func
37133
37134 /* Override any GCC internal prototype to avoid an error.
37135 Use char because int might match the return type of a GCC
37136 builtin and then its argument prototype would still apply. */
37137 #ifdef __cplusplus
37138 extern "C"
37139 #endif
37140 char $ac_func ();
37141 /* The GNU C library defines this for functions which it implements
37142 to always fail with ENOSYS. Some functions are actually named
37143 something starting with __ and the normal name is an alias. */
37144 #if defined __stub_$ac_func || defined __stub___$ac_func
37145 choke me
37146 #endif
37147
37148 int
37149 main ()
37150 {
37151 return $ac_func ();
37152 ;
37153 return 0;
37154 }
37155 _ACEOF
37156 rm -f conftest.$ac_objext conftest$ac_exeext
37157 if { (ac_try="$ac_link"
37158 case "(($ac_try" in
37159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37160 *) ac_try_echo=$ac_try;;
37161 esac
37162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37163 (eval "$ac_link") 2>conftest.er1
37164 ac_status=$?
37165 grep -v '^ *+' conftest.er1 >conftest.err
37166 rm -f conftest.er1
37167 cat conftest.err >&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } && {
37170 test -z "$ac_c_werror_flag" ||
37171 test ! -s conftest.err
37172 } && test -s conftest$ac_exeext &&
37173 $as_test_x conftest$ac_exeext; then
37174 eval "$as_ac_var=yes"
37175 else
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37178
37179 eval "$as_ac_var=no"
37180 fi
37181
37182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37183 conftest$ac_exeext conftest.$ac_ext
37184 fi
37185 ac_res=`eval echo '${'$as_ac_var'}'`
37186 { echo "$as_me:$LINENO: result: $ac_res" >&5
37187 echo "${ECHO_T}$ac_res" >&6; }
37188 if test `eval echo '${'$as_ac_var'}'` = yes; then
37189 cat >>confdefs.h <<_ACEOF
37190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37191 _ACEOF
37192
37193 fi
37194 done
37195
37196
37197 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37198 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37199 fi
37200
37201 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37202 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37203 if test "${ac_cv_type_mbstate_t+set}" = set; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37205 else
37206 cat >conftest.$ac_ext <<_ACEOF
37207 /* confdefs.h. */
37208 _ACEOF
37209 cat confdefs.h >>conftest.$ac_ext
37210 cat >>conftest.$ac_ext <<_ACEOF
37211 /* end confdefs.h. */
37212 #include <wchar.h>
37213
37214 typedef mbstate_t ac__type_new_;
37215 int
37216 main ()
37217 {
37218 if ((ac__type_new_ *) 0)
37219 return 0;
37220 if (sizeof (ac__type_new_))
37221 return 0;
37222 ;
37223 return 0;
37224 }
37225 _ACEOF
37226 rm -f conftest.$ac_objext
37227 if { (ac_try="$ac_compile"
37228 case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37231 esac
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_compile") 2>conftest.er1
37234 ac_status=$?
37235 grep -v '^ *+' conftest.er1 >conftest.err
37236 rm -f conftest.er1
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_c_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest.$ac_objext; then
37243 ac_cv_type_mbstate_t=yes
37244 else
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37247
37248 ac_cv_type_mbstate_t=no
37249 fi
37250
37251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37252 fi
37253 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37254 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37255 if test $ac_cv_type_mbstate_t = yes; then
37256
37257 cat >>confdefs.h <<_ACEOF
37258 #define HAVE_MBSTATE_T 1
37259 _ACEOF
37260
37261
37262 for ac_func in wcsrtombs
37263 do
37264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37267 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 else
37270 cat >conftest.$ac_ext <<_ACEOF
37271 /* confdefs.h. */
37272 _ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37278 #define $ac_func innocuous_$ac_func
37279
37280 /* System header to define __stub macros and hopefully few prototypes,
37281 which can conflict with char $ac_func (); below.
37282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37283 <limits.h> exists even on freestanding compilers. */
37284
37285 #ifdef __STDC__
37286 # include <limits.h>
37287 #else
37288 # include <assert.h>
37289 #endif
37290
37291 #undef $ac_func
37292
37293 /* Override any GCC internal prototype to avoid an error.
37294 Use char because int might match the return type of a GCC
37295 builtin and then its argument prototype would still apply. */
37296 #ifdef __cplusplus
37297 extern "C"
37298 #endif
37299 char $ac_func ();
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined __stub_$ac_func || defined __stub___$ac_func
37304 choke me
37305 #endif
37306
37307 int
37308 main ()
37309 {
37310 return $ac_func ();
37311 ;
37312 return 0;
37313 }
37314 _ACEOF
37315 rm -f conftest.$ac_objext conftest$ac_exeext
37316 if { (ac_try="$ac_link"
37317 case "(($ac_try" in
37318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37319 *) ac_try_echo=$ac_try;;
37320 esac
37321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37322 (eval "$ac_link") 2>conftest.er1
37323 ac_status=$?
37324 grep -v '^ *+' conftest.er1 >conftest.err
37325 rm -f conftest.er1
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } && {
37329 test -z "$ac_c_werror_flag" ||
37330 test ! -s conftest.err
37331 } && test -s conftest$ac_exeext &&
37332 $as_test_x conftest$ac_exeext; then
37333 eval "$as_ac_var=yes"
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 eval "$as_ac_var=no"
37339 fi
37340
37341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37342 conftest$ac_exeext conftest.$ac_ext
37343 fi
37344 ac_res=`eval echo '${'$as_ac_var'}'`
37345 { echo "$as_me:$LINENO: result: $ac_res" >&5
37346 echo "${ECHO_T}$ac_res" >&6; }
37347 if test `eval echo '${'$as_ac_var'}'` = yes; then
37348 cat >>confdefs.h <<_ACEOF
37349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37350 _ACEOF
37351
37352 fi
37353 done
37354
37355 fi
37356
37357 else
37358 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37359 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37360 fi
37361
37362
37363
37364 for ac_func in snprintf vsnprintf
37365 do
37366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37370 echo $ECHO_N "(cached) $ECHO_C" >&6
37371 else
37372 cat >conftest.$ac_ext <<_ACEOF
37373 /* confdefs.h. */
37374 _ACEOF
37375 cat confdefs.h >>conftest.$ac_ext
37376 cat >>conftest.$ac_ext <<_ACEOF
37377 /* end confdefs.h. */
37378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37380 #define $ac_func innocuous_$ac_func
37381
37382 /* System header to define __stub macros and hopefully few prototypes,
37383 which can conflict with char $ac_func (); below.
37384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37385 <limits.h> exists even on freestanding compilers. */
37386
37387 #ifdef __STDC__
37388 # include <limits.h>
37389 #else
37390 # include <assert.h>
37391 #endif
37392
37393 #undef $ac_func
37394
37395 /* Override any GCC internal prototype to avoid an error.
37396 Use char because int might match the return type of a GCC
37397 builtin and then its argument prototype would still apply. */
37398 #ifdef __cplusplus
37399 extern "C"
37400 #endif
37401 char $ac_func ();
37402 /* The GNU C library defines this for functions which it implements
37403 to always fail with ENOSYS. Some functions are actually named
37404 something starting with __ and the normal name is an alias. */
37405 #if defined __stub_$ac_func || defined __stub___$ac_func
37406 choke me
37407 #endif
37408
37409 int
37410 main ()
37411 {
37412 return $ac_func ();
37413 ;
37414 return 0;
37415 }
37416 _ACEOF
37417 rm -f conftest.$ac_objext conftest$ac_exeext
37418 if { (ac_try="$ac_link"
37419 case "(($ac_try" in
37420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37421 *) ac_try_echo=$ac_try;;
37422 esac
37423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37424 (eval "$ac_link") 2>conftest.er1
37425 ac_status=$?
37426 grep -v '^ *+' conftest.er1 >conftest.err
37427 rm -f conftest.er1
37428 cat conftest.err >&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } && {
37431 test -z "$ac_c_werror_flag" ||
37432 test ! -s conftest.err
37433 } && test -s conftest$ac_exeext &&
37434 $as_test_x conftest$ac_exeext; then
37435 eval "$as_ac_var=yes"
37436 else
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37439
37440 eval "$as_ac_var=no"
37441 fi
37442
37443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37444 conftest$ac_exeext conftest.$ac_ext
37445 fi
37446 ac_res=`eval echo '${'$as_ac_var'}'`
37447 { echo "$as_me:$LINENO: result: $ac_res" >&5
37448 echo "${ECHO_T}$ac_res" >&6; }
37449 if test `eval echo '${'$as_ac_var'}'` = yes; then
37450 cat >>confdefs.h <<_ACEOF
37451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37452 _ACEOF
37453
37454 fi
37455 done
37456
37457
37458 if test "$ac_cv_func_vsnprintf" = "yes"; then
37459 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37460 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37461 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464
37465 cat >conftest.$ac_ext <<_ACEOF
37466 /* confdefs.h. */
37467 _ACEOF
37468 cat confdefs.h >>conftest.$ac_ext
37469 cat >>conftest.$ac_ext <<_ACEOF
37470 /* end confdefs.h. */
37471
37472 #include <stdio.h>
37473 #include <stdarg.h>
37474 #ifdef __MSL__
37475 #if __MSL__ >= 0x6000
37476 namespace std {}
37477 using namespace std;
37478 #endif
37479 #endif
37480
37481 int
37482 main ()
37483 {
37484
37485 char *buf;
37486 va_list ap;
37487 vsnprintf(buf, 10u, "%s", ap);
37488
37489 ;
37490 return 0;
37491 }
37492 _ACEOF
37493 rm -f conftest.$ac_objext
37494 if { (ac_try="$ac_compile"
37495 case "(($ac_try" in
37496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37497 *) ac_try_echo=$ac_try;;
37498 esac
37499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37500 (eval "$ac_compile") 2>conftest.er1
37501 ac_status=$?
37502 grep -v '^ *+' conftest.er1 >conftest.err
37503 rm -f conftest.er1
37504 cat conftest.err >&5
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); } && {
37507 test -z "$ac_c_werror_flag" ||
37508 test ! -s conftest.err
37509 } && test -s conftest.$ac_objext; then
37510 wx_cv_func_vsnprintf_decl=yes
37511 else
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37514
37515 wx_cv_func_vsnprintf_decl=no
37516
37517 fi
37518
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37520
37521
37522 fi
37523 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37524 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37525
37526 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37527 cat >>confdefs.h <<\_ACEOF
37528 #define HAVE_VSNPRINTF_DECL 1
37529 _ACEOF
37530
37531
37532 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37533 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37534 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 else
37537
37538 cat >conftest.$ac_ext <<_ACEOF
37539 /* confdefs.h. */
37540 _ACEOF
37541 cat confdefs.h >>conftest.$ac_ext
37542 cat >>conftest.$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544
37545 #include <stdio.h>
37546 #include <stdarg.h>
37547 #ifdef __MSL__
37548 #if __MSL__ >= 0x6000
37549 namespace std {}
37550 using namespace std;
37551 #endif
37552 #endif
37553
37554 int
37555 main ()
37556 {
37557
37558 char *buf;
37559 va_list ap;
37560 const char *fmt = "%s";
37561 vsnprintf(buf, 10u, fmt, ap);
37562
37563 ;
37564 return 0;
37565 }
37566 _ACEOF
37567 rm -f conftest.$ac_objext
37568 if { (ac_try="$ac_compile"
37569 case "(($ac_try" in
37570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37571 *) ac_try_echo=$ac_try;;
37572 esac
37573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37574 (eval "$ac_compile") 2>conftest.er1
37575 ac_status=$?
37576 grep -v '^ *+' conftest.er1 >conftest.err
37577 rm -f conftest.er1
37578 cat conftest.err >&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); } && {
37581 test -z "$ac_c_werror_flag" ||
37582 test ! -s conftest.err
37583 } && test -s conftest.$ac_objext; then
37584 wx_cv_func_broken_vsnprintf_decl=no
37585 else
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.$ac_ext >&5
37588
37589 wx_cv_func_broken_vsnprintf_decl=yes
37590
37591 fi
37592
37593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37594
37595
37596 fi
37597 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37598 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37599
37600 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37601 cat >>confdefs.h <<\_ACEOF
37602 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37603 _ACEOF
37604
37605 fi
37606 fi
37607 fi
37608
37609 if test "$ac_cv_func_snprintf" = "yes"; then
37610 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37611 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37612 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37613 echo $ECHO_N "(cached) $ECHO_C" >&6
37614 else
37615
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622
37623 #include <stdio.h>
37624 #include <stdarg.h>
37625 #ifdef __MSL__
37626 #if __MSL__ >= 0x6000
37627 namespace std {}
37628 using namespace std;
37629 #endif
37630 #endif
37631
37632 int
37633 main ()
37634 {
37635
37636 char *buf;
37637 snprintf(buf, 10u, "%s", "wx");
37638
37639 ;
37640 return 0;
37641 }
37642 _ACEOF
37643 rm -f conftest.$ac_objext
37644 if { (ac_try="$ac_compile"
37645 case "(($ac_try" in
37646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37647 *) ac_try_echo=$ac_try;;
37648 esac
37649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37650 (eval "$ac_compile") 2>conftest.er1
37651 ac_status=$?
37652 grep -v '^ *+' conftest.er1 >conftest.err
37653 rm -f conftest.er1
37654 cat conftest.err >&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); } && {
37657 test -z "$ac_c_werror_flag" ||
37658 test ! -s conftest.err
37659 } && test -s conftest.$ac_objext; then
37660 wx_cv_func_snprintf_decl=yes
37661 else
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.$ac_ext >&5
37664
37665 wx_cv_func_snprintf_decl=no
37666
37667 fi
37668
37669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670
37671
37672 fi
37673 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37674 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37675
37676 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37677 cat >>confdefs.h <<\_ACEOF
37678 #define HAVE_SNPRINTF_DECL 1
37679 _ACEOF
37680
37681
37682 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37683 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37684 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37685 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 else
37687
37688 cat >conftest.$ac_ext <<_ACEOF
37689 /* confdefs.h. */
37690 _ACEOF
37691 cat confdefs.h >>conftest.$ac_ext
37692 cat >>conftest.$ac_ext <<_ACEOF
37693 /* end confdefs.h. */
37694
37695 #include <stdio.h>
37696 #include <stdarg.h>
37697 #ifdef __MSL__
37698 #if __MSL__ >= 0x6000
37699 namespace std {}
37700 using namespace std;
37701 #endif
37702 #endif
37703
37704 int
37705 main ()
37706 {
37707
37708 char *buf;
37709 const char *fmt = "%s";
37710 snprintf(buf, 10u, fmt, "wx");
37711
37712 ;
37713 return 0;
37714 }
37715 _ACEOF
37716 rm -f conftest.$ac_objext
37717 if { (ac_try="$ac_compile"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37720 *) ac_try_echo=$ac_try;;
37721 esac
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_compile") 2>conftest.er1
37724 ac_status=$?
37725 grep -v '^ *+' conftest.er1 >conftest.err
37726 rm -f conftest.er1
37727 cat conftest.err >&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest.$ac_objext; then
37733 wx_cv_func_broken_snprintf_decl=no
37734 else
37735 echo "$as_me: failed program was:" >&5
37736 sed 's/^/| /' conftest.$ac_ext >&5
37737
37738 wx_cv_func_broken_snprintf_decl=yes
37739
37740 fi
37741
37742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743
37744
37745 fi
37746 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37747 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37748
37749 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37750 cat >>confdefs.h <<\_ACEOF
37751 #define HAVE_BROKEN_SNPRINTF_DECL 1
37752 _ACEOF
37753
37754 fi
37755 fi
37756
37757 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37758
37759 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37760 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37761 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37762 echo $ECHO_N "(cached) $ECHO_C" >&6
37763 else
37764
37765 if test "$cross_compiling" = yes; then
37766
37767 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37768 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37769 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37770 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37771 wx_cv_func_snprintf_pos_params=no
37772
37773
37774 else
37775 cat >conftest.$ac_ext <<_ACEOF
37776 /* confdefs.h. */
37777 _ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781
37782 #include <stdio.h>
37783
37784 int main (void)
37785 {
37786 char buffer[128];
37787 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37788 if (strcmp ("2 3 1", buffer) == 0)
37789 exit (0);
37790 exit (1);
37791 }
37792
37793 _ACEOF
37794 rm -f conftest$ac_exeext
37795 if { (ac_try="$ac_link"
37796 case "(($ac_try" in
37797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37798 *) ac_try_echo=$ac_try;;
37799 esac
37800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37801 (eval "$ac_link") 2>&5
37802 ac_status=$?
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37805 { (case "(($ac_try" in
37806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37807 *) ac_try_echo=$ac_try;;
37808 esac
37809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37810 (eval "$ac_try") 2>&5
37811 ac_status=$?
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); }; }; then
37814 wx_cv_func_snprintf_pos_params=no
37815 else
37816 echo "$as_me: program exited with status $ac_status" >&5
37817 echo "$as_me: failed program was:" >&5
37818 sed 's/^/| /' conftest.$ac_ext >&5
37819
37820 ( exit $ac_status )
37821 wx_cv_func_snprintf_pos_params=yes
37822 fi
37823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37824 fi
37825
37826
37827
37828
37829 fi
37830 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37831 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37832
37833 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37834 cat >>confdefs.h <<\_ACEOF
37835 #define HAVE_UNIX98_PRINTF 1
37836 _ACEOF
37837
37838 fi
37839 fi
37840 fi
37841
37842 if test "$wxUSE_UNICODE" = yes; then
37843
37844
37845 for ac_func in swprintf
37846 do
37847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 else
37853 cat >conftest.$ac_ext <<_ACEOF
37854 /* confdefs.h. */
37855 _ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37861 #define $ac_func innocuous_$ac_func
37862
37863 /* System header to define __stub macros and hopefully few prototypes,
37864 which can conflict with char $ac_func (); below.
37865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37866 <limits.h> exists even on freestanding compilers. */
37867
37868 #ifdef __STDC__
37869 # include <limits.h>
37870 #else
37871 # include <assert.h>
37872 #endif
37873
37874 #undef $ac_func
37875
37876 /* Override any GCC internal prototype to avoid an error.
37877 Use char because int might match the return type of a GCC
37878 builtin and then its argument prototype would still apply. */
37879 #ifdef __cplusplus
37880 extern "C"
37881 #endif
37882 char $ac_func ();
37883 /* The GNU C library defines this for functions which it implements
37884 to always fail with ENOSYS. Some functions are actually named
37885 something starting with __ and the normal name is an alias. */
37886 #if defined __stub_$ac_func || defined __stub___$ac_func
37887 choke me
37888 #endif
37889
37890 int
37891 main ()
37892 {
37893 return $ac_func ();
37894 ;
37895 return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (ac_try="$ac_link"
37900 case "(($ac_try" in
37901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37902 *) ac_try_echo=$ac_try;;
37903 esac
37904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37905 (eval "$ac_link") 2>conftest.er1
37906 ac_status=$?
37907 grep -v '^ *+' conftest.er1 >conftest.err
37908 rm -f conftest.er1
37909 cat conftest.err >&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } && {
37912 test -z "$ac_c_werror_flag" ||
37913 test ! -s conftest.err
37914 } && test -s conftest$ac_exeext &&
37915 $as_test_x conftest$ac_exeext; then
37916 eval "$as_ac_var=yes"
37917 else
37918 echo "$as_me: failed program was:" >&5
37919 sed 's/^/| /' conftest.$ac_ext >&5
37920
37921 eval "$as_ac_var=no"
37922 fi
37923
37924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37925 conftest$ac_exeext conftest.$ac_ext
37926 fi
37927 ac_res=`eval echo '${'$as_ac_var'}'`
37928 { echo "$as_me:$LINENO: result: $ac_res" >&5
37929 echo "${ECHO_T}$ac_res" >&6; }
37930 if test `eval echo '${'$as_ac_var'}'` = yes; then
37931 cat >>confdefs.h <<_ACEOF
37932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37933 _ACEOF
37934
37935 fi
37936 done
37937
37938
37939 if test "$ac_cv_func_swprintf" = "yes"; then
37940 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37941 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
37942 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945
37946 cat >conftest.$ac_ext <<_ACEOF
37947 /* confdefs.h. */
37948 _ACEOF
37949 cat confdefs.h >>conftest.$ac_ext
37950 cat >>conftest.$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37952
37953 #include <stdio.h>
37954 #include <stdarg.h>
37955 #include <wchar.h>
37956
37957 int
37958 main ()
37959 {
37960
37961 wchar_t *buf;
37962 const wchar_t *fmt = L"test";
37963 swprintf(buf, 10u, fmt);
37964
37965 ;
37966 return 0;
37967 }
37968 _ACEOF
37969 rm -f conftest.$ac_objext
37970 if { (ac_try="$ac_compile"
37971 case "(($ac_try" in
37972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37974 esac
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_compile") 2>conftest.er1
37977 ac_status=$?
37978 grep -v '^ *+' conftest.er1 >conftest.err
37979 rm -f conftest.er1
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest.$ac_objext; then
37986 wx_cv_func_broken_swprintf_decl=no
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 wx_cv_func_broken_swprintf_decl=yes
37992
37993 fi
37994
37995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37996
37997
37998 fi
37999 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38000 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38001
38002 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38003 cat >>confdefs.h <<\_ACEOF
38004 #define HAVE_BROKEN_SWPRINTF_DECL 1
38005 _ACEOF
38006
38007 fi
38008 fi
38009
38010 wchar_headers="#include <stdio.h>
38011 #include <wchar.h>"
38012 case "${host}" in
38013 *-*-solaris2* )
38014
38015 for ac_header in widec.h
38016 do
38017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 else
38023 cat >conftest.$ac_ext <<_ACEOF
38024 /* confdefs.h. */
38025 _ACEOF
38026 cat confdefs.h >>conftest.$ac_ext
38027 cat >>conftest.$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029 $ac_includes_default
38030
38031 #include <$ac_header>
38032 _ACEOF
38033 rm -f conftest.$ac_objext
38034 if { (ac_try="$ac_compile"
38035 case "(($ac_try" in
38036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38037 *) ac_try_echo=$ac_try;;
38038 esac
38039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38040 (eval "$ac_compile") 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } && {
38047 test -z "$ac_c_werror_flag" ||
38048 test ! -s conftest.err
38049 } && test -s conftest.$ac_objext; then
38050 eval "$as_ac_Header=yes"
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055 eval "$as_ac_Header=no"
38056 fi
38057
38058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38059 fi
38060 ac_res=`eval echo '${'$as_ac_Header'}'`
38061 { echo "$as_me:$LINENO: result: $ac_res" >&5
38062 echo "${ECHO_T}$ac_res" >&6; }
38063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38064 cat >>confdefs.h <<_ACEOF
38065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38066 _ACEOF
38067
38068 fi
38069
38070 done
38071
38072 if test "$ac_cv_header_widec_h" = "yes"; then
38073 wchar_headers="$wchar_headers
38074 #include <widec.h>"
38075 fi
38076 esac
38077
38078
38079 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38080 do
38081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086
38087 cat >conftest.$ac_ext <<_ACEOF
38088
38089 /* confdefs.h. */
38090 _ACEOF
38091 cat confdefs.h >>conftest.$ac_ext
38092 cat >>conftest.$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094
38095 $wchar_headers
38096 $ac_includes_default
38097
38098 int
38099 main ()
38100 {
38101
38102 #ifndef $wx_func
38103 &$wx_func;
38104 #endif
38105
38106
38107 ;
38108 return 0;
38109 }
38110
38111 _ACEOF
38112 rm -f conftest.$ac_objext conftest$ac_exeext
38113 if { (ac_try="$ac_link"
38114 case "(($ac_try" in
38115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38116 *) ac_try_echo=$ac_try;;
38117 esac
38118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38119 (eval "$ac_link") 2>conftest.er1
38120 ac_status=$?
38121 grep -v '^ *+' conftest.er1 >conftest.err
38122 rm -f conftest.er1
38123 cat conftest.err >&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } && {
38126 test -z "$ac_c_werror_flag" ||
38127 test ! -s conftest.err
38128 } && test -s conftest$ac_exeext &&
38129 $as_test_x conftest$ac_exeext; then
38130 eval wx_cv_func_$wx_func=yes
38131 else
38132 echo "$as_me: failed program was:" >&5
38133 sed 's/^/| /' conftest.$ac_ext >&5
38134
38135 eval wx_cv_func_$wx_func=no
38136 fi
38137
38138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38139 conftest$ac_exeext conftest.$ac_ext
38140
38141 fi
38142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38143 { echo "$as_me:$LINENO: result: $ac_res" >&5
38144 echo "${ECHO_T}$ac_res" >&6; }
38145
38146 if eval test \$wx_cv_func_$wx_func = yes
38147 then
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38150 _ACEOF
38151
38152
38153 else
38154 :
38155
38156 fi
38157 done
38158
38159
38160 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38161 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38162 cat >conftest.$ac_ext <<_ACEOF
38163 /* confdefs.h. */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38168 #include <wchar.h>
38169 int
38170 main ()
38171 {
38172 &_vsnwprintf;
38173 ;
38174 return 0;
38175 }
38176 _ACEOF
38177 rm -f conftest.$ac_objext
38178 if { (ac_try="$ac_compile"
38179 case "(($ac_try" in
38180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38181 *) ac_try_echo=$ac_try;;
38182 esac
38183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38184 (eval "$ac_compile") 2>conftest.er1
38185 ac_status=$?
38186 grep -v '^ *+' conftest.er1 >conftest.err
38187 rm -f conftest.er1
38188 cat conftest.err >&5
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); } && {
38191 test -z "$ac_c_werror_flag" ||
38192 test ! -s conftest.err
38193 } && test -s conftest.$ac_objext; then
38194 { echo "$as_me:$LINENO: result: yes" >&5
38195 echo "${ECHO_T}yes" >&6; }
38196 cat >>confdefs.h <<\_ACEOF
38197 #define HAVE__VSNWPRINTF 1
38198 _ACEOF
38199
38200 else
38201 echo "$as_me: failed program was:" >&5
38202 sed 's/^/| /' conftest.$ac_ext >&5
38203
38204 { echo "$as_me:$LINENO: result: no" >&5
38205 echo "${ECHO_T}no" >&6; }
38206 fi
38207
38208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38209 fi
38210
38211 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38212
38213 for wx_func in fnmatch
38214 do
38215 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38216 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38217 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38220
38221 cat >conftest.$ac_ext <<_ACEOF
38222
38223 /* confdefs.h. */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228
38229 #include <fnmatch.h>
38230 $ac_includes_default
38231
38232 int
38233 main ()
38234 {
38235
38236 #ifndef $wx_func
38237 &$wx_func;
38238 #endif
38239
38240
38241 ;
38242 return 0;
38243 }
38244
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (ac_try="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38251 esac
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 eval wx_cv_func_$wx_func=yes
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 eval wx_cv_func_$wx_func=no
38270 fi
38271
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38274
38275 fi
38276 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38277 { echo "$as_me:$LINENO: result: $ac_res" >&5
38278 echo "${ECHO_T}$ac_res" >&6; }
38279
38280 if eval test \$wx_cv_func_$wx_func = yes
38281 then
38282 cat >>confdefs.h <<_ACEOF
38283 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38284 _ACEOF
38285
38286
38287 else
38288 :
38289
38290 fi
38291 done
38292
38293 fi
38294
38295 if test "$wxUSE_FILE" = "yes"; then
38296
38297 for wx_func in fsync
38298 do
38299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304
38305 cat >conftest.$ac_ext <<_ACEOF
38306
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312
38313
38314 $ac_includes_default
38315
38316 int
38317 main ()
38318 {
38319
38320 #ifndef $wx_func
38321 &$wx_func;
38322 #endif
38323
38324
38325 ;
38326 return 0;
38327 }
38328
38329 _ACEOF
38330 rm -f conftest.$ac_objext conftest$ac_exeext
38331 if { (ac_try="$ac_link"
38332 case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38334 *) ac_try_echo=$ac_try;;
38335 esac
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_link") 2>conftest.er1
38338 ac_status=$?
38339 grep -v '^ *+' conftest.er1 >conftest.err
38340 rm -f conftest.er1
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_c_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest$ac_exeext &&
38347 $as_test_x conftest$ac_exeext; then
38348 eval wx_cv_func_$wx_func=yes
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 eval wx_cv_func_$wx_func=no
38354 fi
38355
38356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38357 conftest$ac_exeext conftest.$ac_ext
38358
38359 fi
38360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38361 { echo "$as_me:$LINENO: result: $ac_res" >&5
38362 echo "${ECHO_T}$ac_res" >&6; }
38363
38364 if eval test \$wx_cv_func_$wx_func = yes
38365 then
38366 cat >>confdefs.h <<_ACEOF
38367 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38368 _ACEOF
38369
38370
38371 else
38372 :
38373
38374 fi
38375 done
38376
38377 fi
38378
38379 ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38384
38385
38386 for wx_func in round
38387 do
38388 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38390 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393
38394 cat >conftest.$ac_ext <<_ACEOF
38395
38396 /* confdefs.h. */
38397 _ACEOF
38398 cat confdefs.h >>conftest.$ac_ext
38399 cat >>conftest.$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38401
38402 #include <math.h>
38403 $ac_includes_default
38404
38405 int
38406 main ()
38407 {
38408
38409 #ifndef $wx_func
38410 &$wx_func;
38411 #endif
38412
38413
38414 ;
38415 return 0;
38416 }
38417
38418 _ACEOF
38419 rm -f conftest.$ac_objext conftest$ac_exeext
38420 if { (ac_try="$ac_link"
38421 case "(($ac_try" in
38422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38424 esac
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_link") 2>conftest.er1
38427 ac_status=$?
38428 grep -v '^ *+' conftest.er1 >conftest.err
38429 rm -f conftest.er1
38430 cat conftest.err >&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } && {
38433 test -z "$ac_cxx_werror_flag" ||
38434 test ! -s conftest.err
38435 } && test -s conftest$ac_exeext &&
38436 $as_test_x conftest$ac_exeext; then
38437 eval wx_cv_func_$wx_func=yes
38438 else
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.$ac_ext >&5
38441
38442 eval wx_cv_func_$wx_func=no
38443 fi
38444
38445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38446 conftest$ac_exeext conftest.$ac_ext
38447
38448 fi
38449 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38450 { echo "$as_me:$LINENO: result: $ac_res" >&5
38451 echo "${ECHO_T}$ac_res" >&6; }
38452
38453 if eval test \$wx_cv_func_$wx_func = yes
38454 then
38455 cat >>confdefs.h <<_ACEOF
38456 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38457 _ACEOF
38458
38459
38460 else
38461 :
38462
38463 fi
38464 done
38465
38466 ac_ext=c
38467 ac_cpp='$CPP $CPPFLAGS'
38468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38471
38472
38473 if test "$TOOLKIT" != "MSW"; then
38474
38475
38476
38477
38478
38479 # Check whether --with-libiconv-prefix was given.
38480 if test "${with_libiconv_prefix+set}" = set; then
38481 withval=$with_libiconv_prefix;
38482 for dir in `echo "$withval" | tr : ' '`; do
38483 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38484 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38485 done
38486
38487 fi
38488
38489
38490 { echo "$as_me:$LINENO: checking for iconv" >&5
38491 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38492 if test "${am_cv_func_iconv+set}" = set; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 else
38495
38496 am_cv_func_iconv="no, consider installing GNU libiconv"
38497 am_cv_lib_iconv=no
38498 cat >conftest.$ac_ext <<_ACEOF
38499 /* confdefs.h. */
38500 _ACEOF
38501 cat confdefs.h >>conftest.$ac_ext
38502 cat >>conftest.$ac_ext <<_ACEOF
38503 /* end confdefs.h. */
38504 #include <stdlib.h>
38505 #include <iconv.h>
38506 int
38507 main ()
38508 {
38509 iconv_t cd = iconv_open("","");
38510 iconv(cd,NULL,NULL,NULL,NULL);
38511 iconv_close(cd);
38512 ;
38513 return 0;
38514 }
38515 _ACEOF
38516 rm -f conftest.$ac_objext conftest$ac_exeext
38517 if { (ac_try="$ac_link"
38518 case "(($ac_try" in
38519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38521 esac
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_link") 2>conftest.er1
38524 ac_status=$?
38525 grep -v '^ *+' conftest.er1 >conftest.err
38526 rm -f conftest.er1
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } && {
38530 test -z "$ac_c_werror_flag" ||
38531 test ! -s conftest.err
38532 } && test -s conftest$ac_exeext &&
38533 $as_test_x conftest$ac_exeext; then
38534 am_cv_func_iconv=yes
38535 else
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38538
38539
38540 fi
38541
38542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38543 conftest$ac_exeext conftest.$ac_ext
38544 if test "$am_cv_func_iconv" != yes; then
38545 am_save_LIBS="$LIBS"
38546 LIBS="$LIBS -liconv"
38547 cat >conftest.$ac_ext <<_ACEOF
38548 /* confdefs.h. */
38549 _ACEOF
38550 cat confdefs.h >>conftest.$ac_ext
38551 cat >>conftest.$ac_ext <<_ACEOF
38552 /* end confdefs.h. */
38553 #include <stdlib.h>
38554 #include <iconv.h>
38555 int
38556 main ()
38557 {
38558 iconv_t cd = iconv_open("","");
38559 iconv(cd,NULL,NULL,NULL,NULL);
38560 iconv_close(cd);
38561 ;
38562 return 0;
38563 }
38564 _ACEOF
38565 rm -f conftest.$ac_objext conftest$ac_exeext
38566 if { (ac_try="$ac_link"
38567 case "(($ac_try" in
38568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38569 *) ac_try_echo=$ac_try;;
38570 esac
38571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38572 (eval "$ac_link") 2>conftest.er1
38573 ac_status=$?
38574 grep -v '^ *+' conftest.er1 >conftest.err
38575 rm -f conftest.er1
38576 cat conftest.err >&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); } && {
38579 test -z "$ac_c_werror_flag" ||
38580 test ! -s conftest.err
38581 } && test -s conftest$ac_exeext &&
38582 $as_test_x conftest$ac_exeext; then
38583 am_cv_lib_iconv=yes
38584 am_cv_func_iconv=yes
38585 else
38586 echo "$as_me: failed program was:" >&5
38587 sed 's/^/| /' conftest.$ac_ext >&5
38588
38589
38590 fi
38591
38592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38593 conftest$ac_exeext conftest.$ac_ext
38594 LIBS="$am_save_LIBS"
38595 fi
38596
38597 fi
38598 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38599 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38600 if test "$am_cv_func_iconv" = yes; then
38601
38602 cat >>confdefs.h <<\_ACEOF
38603 #define HAVE_ICONV 1
38604 _ACEOF
38605
38606 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38607 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38608 if test "${wx_cv_func_iconv_const+set}" = set; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 else
38611 cat >conftest.$ac_ext <<_ACEOF
38612 /* confdefs.h. */
38613 _ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38617
38618 #include <stdlib.h>
38619 #include <iconv.h>
38620 extern
38621 #ifdef __cplusplus
38622 "C"
38623 #endif
38624 #if defined(__STDC__) || defined(__cplusplus)
38625 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38626 #else
38627 size_t iconv();
38628 #endif
38629
38630 int
38631 main ()
38632 {
38633
38634 ;
38635 return 0;
38636 }
38637 _ACEOF
38638 rm -f conftest.$ac_objext
38639 if { (ac_try="$ac_compile"
38640 case "(($ac_try" in
38641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38642 *) ac_try_echo=$ac_try;;
38643 esac
38644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38645 (eval "$ac_compile") 2>conftest.er1
38646 ac_status=$?
38647 grep -v '^ *+' conftest.er1 >conftest.err
38648 rm -f conftest.er1
38649 cat conftest.err >&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); } && {
38652 test -z "$ac_c_werror_flag" ||
38653 test ! -s conftest.err
38654 } && test -s conftest.$ac_objext; then
38655 wx_cv_func_iconv_const="no"
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38659
38660 wx_cv_func_iconv_const="yes"
38661
38662 fi
38663
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665
38666 fi
38667 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38668 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38669
38670 iconv_const=
38671 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38672 iconv_const="const"
38673 fi
38674
38675
38676 cat >>confdefs.h <<_ACEOF
38677 #define ICONV_CONST $iconv_const
38678 _ACEOF
38679
38680 fi
38681 LIBICONV=
38682 if test "$am_cv_lib_iconv" = yes; then
38683 LIBICONV="-liconv"
38684 fi
38685
38686
38687 LIBS="$LIBICONV $LIBS"
38688
38689 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38690
38691 for ac_func in sigaction
38692 do
38693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38697 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 else
38699 cat >conftest.$ac_ext <<_ACEOF
38700 /* confdefs.h. */
38701 _ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38707 #define $ac_func innocuous_$ac_func
38708
38709 /* System header to define __stub macros and hopefully few prototypes,
38710 which can conflict with char $ac_func (); below.
38711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38712 <limits.h> exists even on freestanding compilers. */
38713
38714 #ifdef __STDC__
38715 # include <limits.h>
38716 #else
38717 # include <assert.h>
38718 #endif
38719
38720 #undef $ac_func
38721
38722 /* Override any GCC internal prototype to avoid an error.
38723 Use char because int might match the return type of a GCC
38724 builtin and then its argument prototype would still apply. */
38725 #ifdef __cplusplus
38726 extern "C"
38727 #endif
38728 char $ac_func ();
38729 /* The GNU C library defines this for functions which it implements
38730 to always fail with ENOSYS. Some functions are actually named
38731 something starting with __ and the normal name is an alias. */
38732 #if defined __stub_$ac_func || defined __stub___$ac_func
38733 choke me
38734 #endif
38735
38736 int
38737 main ()
38738 {
38739 return $ac_func ();
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (ac_try="$ac_link"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38748 *) ac_try_echo=$ac_try;;
38749 esac
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_link") 2>conftest.er1
38752 ac_status=$?
38753 grep -v '^ *+' conftest.er1 >conftest.err
38754 rm -f conftest.er1
38755 cat conftest.err >&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest$ac_exeext &&
38761 $as_test_x conftest$ac_exeext; then
38762 eval "$as_ac_var=yes"
38763 else
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38766
38767 eval "$as_ac_var=no"
38768 fi
38769
38770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38771 conftest$ac_exeext conftest.$ac_ext
38772 fi
38773 ac_res=`eval echo '${'$as_ac_var'}'`
38774 { echo "$as_me:$LINENO: result: $ac_res" >&5
38775 echo "${ECHO_T}$ac_res" >&6; }
38776 if test `eval echo '${'$as_ac_var'}'` = yes; then
38777 cat >>confdefs.h <<_ACEOF
38778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38779 _ACEOF
38780
38781 fi
38782 done
38783
38784
38785 if test "$ac_cv_func_sigaction" = "no"; then
38786 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38787 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38788 wxUSE_ON_FATAL_EXCEPTION=no
38789 fi
38790
38791 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38792 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38793 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38794 if test "${wx_cv_type_sa_handler+set}" = set; then
38795 echo $ECHO_N "(cached) $ECHO_C" >&6
38796 else
38797
38798 ac_ext=cpp
38799 ac_cpp='$CXXCPP $CPPFLAGS'
38800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38803
38804 cat >conftest.$ac_ext <<_ACEOF
38805 /* confdefs.h. */
38806 _ACEOF
38807 cat confdefs.h >>conftest.$ac_ext
38808 cat >>conftest.$ac_ext <<_ACEOF
38809 /* end confdefs.h. */
38810 #include <signal.h>
38811 int
38812 main ()
38813 {
38814
38815 extern void testSigHandler(int);
38816
38817 struct sigaction sa;
38818 sa.sa_handler = testSigHandler;
38819
38820 ;
38821 return 0;
38822 }
38823 _ACEOF
38824 rm -f conftest.$ac_objext
38825 if { (ac_try="$ac_compile"
38826 case "(($ac_try" in
38827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38828 *) ac_try_echo=$ac_try;;
38829 esac
38830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38831 (eval "$ac_compile") 2>conftest.er1
38832 ac_status=$?
38833 grep -v '^ *+' conftest.er1 >conftest.err
38834 rm -f conftest.er1
38835 cat conftest.err >&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } && {
38838 test -z "$ac_cxx_werror_flag" ||
38839 test ! -s conftest.err
38840 } && test -s conftest.$ac_objext; then
38841
38842 wx_cv_type_sa_handler=int
38843
38844 else
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38847
38848
38849 wx_cv_type_sa_handler=void
38850
38851 fi
38852
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38859
38860
38861 fi
38862 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38863 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38864
38865 cat >>confdefs.h <<_ACEOF
38866 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38867 _ACEOF
38868
38869 fi
38870 fi
38871
38872 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38873 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38874 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38875 if test "${wx_cv_func_backtrace+set}" = set; then
38876 echo $ECHO_N "(cached) $ECHO_C" >&6
38877 else
38878
38879 ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38884
38885 cat >conftest.$ac_ext <<_ACEOF
38886 /* confdefs.h. */
38887 _ACEOF
38888 cat confdefs.h >>conftest.$ac_ext
38889 cat >>conftest.$ac_ext <<_ACEOF
38890 /* end confdefs.h. */
38891 #include <execinfo.h>
38892 int
38893 main ()
38894 {
38895
38896 void *trace[1];
38897 char **messages;
38898
38899 backtrace(trace, 1);
38900 messages = backtrace_symbols(trace, 1);
38901
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 rm -f conftest.$ac_objext
38907 if { (ac_try="$ac_compile"
38908 case "(($ac_try" in
38909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38910 *) ac_try_echo=$ac_try;;
38911 esac
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_compile") 2>conftest.er1
38914 ac_status=$?
38915 grep -v '^ *+' conftest.er1 >conftest.err
38916 rm -f conftest.er1
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_cxx_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest.$ac_objext; then
38923 wx_cv_func_backtrace=yes
38924 else
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.$ac_ext >&5
38927
38928 wx_cv_func_backtrace=no
38929
38930 fi
38931
38932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38933 ac_ext=c
38934 ac_cpp='$CPP $CPPFLAGS'
38935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38938
38939
38940
38941 fi
38942 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38943 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38944
38945
38946 if test "$wx_cv_func_backtrace" = "no"; then
38947 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38948 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38949 wxUSE_STACKWALKER=no
38950 else
38951 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38952 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38953 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38954 echo $ECHO_N "(cached) $ECHO_C" >&6
38955 else
38956
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962
38963 cat >conftest.$ac_ext <<_ACEOF
38964 /* confdefs.h. */
38965 _ACEOF
38966 cat confdefs.h >>conftest.$ac_ext
38967 cat >>conftest.$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38969 #include <cxxabi.h>
38970 int
38971 main ()
38972 {
38973
38974 int rc;
38975 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38976
38977 ;
38978 return 0;
38979 }
38980 _ACEOF
38981 rm -f conftest.$ac_objext conftest$ac_exeext
38982 if { (ac_try="$ac_link"
38983 case "(($ac_try" in
38984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38985 *) ac_try_echo=$ac_try;;
38986 esac
38987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38988 (eval "$ac_link") 2>conftest.er1
38989 ac_status=$?
38990 grep -v '^ *+' conftest.er1 >conftest.err
38991 rm -f conftest.er1
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } && {
38995 test -z "$ac_cxx_werror_flag" ||
38996 test ! -s conftest.err
38997 } && test -s conftest$ac_exeext &&
38998 $as_test_x conftest$ac_exeext; then
38999 wx_cv_func_cxa_demangle=yes
39000 else
39001 echo "$as_me: failed program was:" >&5
39002 sed 's/^/| /' conftest.$ac_ext >&5
39003
39004 wx_cv_func_cxa_demangle=no
39005
39006 fi
39007
39008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39009 conftest$ac_exeext conftest.$ac_ext
39010 ac_ext=c
39011 ac_cpp='$CPP $CPPFLAGS'
39012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015
39016
39017
39018 fi
39019 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39020 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39021
39022 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39023 cat >>confdefs.h <<\_ACEOF
39024 #define HAVE_CXA_DEMANGLE 1
39025 _ACEOF
39026
39027 fi
39028 fi
39029 fi
39030
39031 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39032 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39033 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39034 wxUSE_STACKWALKER=no
39035 fi
39036
39037
39038
39039
39040 for ac_func in mkstemp mktemp
39041 do
39042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39046 echo $ECHO_N "(cached) $ECHO_C" >&6
39047 else
39048 cat >conftest.$ac_ext <<_ACEOF
39049 /* confdefs.h. */
39050 _ACEOF
39051 cat confdefs.h >>conftest.$ac_ext
39052 cat >>conftest.$ac_ext <<_ACEOF
39053 /* end confdefs.h. */
39054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39056 #define $ac_func innocuous_$ac_func
39057
39058 /* System header to define __stub macros and hopefully few prototypes,
39059 which can conflict with char $ac_func (); below.
39060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39061 <limits.h> exists even on freestanding compilers. */
39062
39063 #ifdef __STDC__
39064 # include <limits.h>
39065 #else
39066 # include <assert.h>
39067 #endif
39068
39069 #undef $ac_func
39070
39071 /* Override any GCC internal prototype to avoid an error.
39072 Use char because int might match the return type of a GCC
39073 builtin and then its argument prototype would still apply. */
39074 #ifdef __cplusplus
39075 extern "C"
39076 #endif
39077 char $ac_func ();
39078 /* The GNU C library defines this for functions which it implements
39079 to always fail with ENOSYS. Some functions are actually named
39080 something starting with __ and the normal name is an alias. */
39081 #if defined __stub_$ac_func || defined __stub___$ac_func
39082 choke me
39083 #endif
39084
39085 int
39086 main ()
39087 {
39088 return $ac_func ();
39089 ;
39090 return 0;
39091 }
39092 _ACEOF
39093 rm -f conftest.$ac_objext conftest$ac_exeext
39094 if { (ac_try="$ac_link"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39098 esac
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_link") 2>conftest.er1
39101 ac_status=$?
39102 grep -v '^ *+' conftest.er1 >conftest.err
39103 rm -f conftest.er1
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest$ac_exeext &&
39110 $as_test_x conftest$ac_exeext; then
39111 eval "$as_ac_var=yes"
39112 else
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.$ac_ext >&5
39115
39116 eval "$as_ac_var=no"
39117 fi
39118
39119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39120 conftest$ac_exeext conftest.$ac_ext
39121 fi
39122 ac_res=`eval echo '${'$as_ac_var'}'`
39123 { echo "$as_me:$LINENO: result: $ac_res" >&5
39124 echo "${ECHO_T}$ac_res" >&6; }
39125 if test `eval echo '${'$as_ac_var'}'` = yes; then
39126 cat >>confdefs.h <<_ACEOF
39127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39128 _ACEOF
39129 break
39130 fi
39131 done
39132
39133
39134 { echo "$as_me:$LINENO: checking for statfs" >&5
39135 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39136 if test "${wx_cv_func_statfs+set}" = set; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 else
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145
39146 #if defined(__BSD__)
39147 #include <sys/param.h>
39148 #include <sys/mount.h>
39149 #else
39150 #include <sys/vfs.h>
39151 #endif
39152
39153 int
39154 main ()
39155 {
39156
39157 long l;
39158 struct statfs fs;
39159 statfs("/", &fs);
39160 l = fs.f_bsize;
39161 l += fs.f_blocks;
39162 l += fs.f_bavail;
39163
39164 ;
39165 return 0;
39166 }
39167 _ACEOF
39168 rm -f conftest.$ac_objext
39169 if { (ac_try="$ac_compile"
39170 case "(($ac_try" in
39171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39172 *) ac_try_echo=$ac_try;;
39173 esac
39174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39175 (eval "$ac_compile") 2>conftest.er1
39176 ac_status=$?
39177 grep -v '^ *+' conftest.er1 >conftest.err
39178 rm -f conftest.er1
39179 cat conftest.err >&5
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); } && {
39182 test -z "$ac_c_werror_flag" ||
39183 test ! -s conftest.err
39184 } && test -s conftest.$ac_objext; then
39185 wx_cv_func_statfs=yes
39186 else
39187 echo "$as_me: failed program was:" >&5
39188 sed 's/^/| /' conftest.$ac_ext >&5
39189
39190 wx_cv_func_statfs=no
39191
39192 fi
39193
39194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195
39196 fi
39197 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39198 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39199
39200 if test "$wx_cv_func_statfs" = "yes"; then
39201 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39202 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39203 if test "${wx_cv_func_statfs_decl+set}" = set; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 else
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211
39212 cat >conftest.$ac_ext <<_ACEOF
39213 /* confdefs.h. */
39214 _ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39218
39219 #if defined(__BSD__)
39220 #include <sys/param.h>
39221 #include <sys/mount.h>
39222 #else
39223 #include <sys/vfs.h>
39224 #endif
39225
39226 int
39227 main ()
39228 {
39229
39230 struct statfs fs;
39231 statfs("", &fs);
39232
39233 ;
39234 return 0;
39235 }
39236 _ACEOF
39237 rm -f conftest.$ac_objext
39238 if { (ac_try="$ac_compile"
39239 case "(($ac_try" in
39240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39241 *) ac_try_echo=$ac_try;;
39242 esac
39243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39244 (eval "$ac_compile") 2>conftest.er1
39245 ac_status=$?
39246 grep -v '^ *+' conftest.er1 >conftest.err
39247 rm -f conftest.er1
39248 cat conftest.err >&5
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); } && {
39251 test -z "$ac_cxx_werror_flag" ||
39252 test ! -s conftest.err
39253 } && test -s conftest.$ac_objext; then
39254 wx_cv_func_statfs_decl=yes
39255 else
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39258
39259 wx_cv_func_statfs_decl=no
39260
39261 fi
39262
39263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39264 ac_ext=c
39265 ac_cpp='$CPP $CPPFLAGS'
39266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39269
39270
39271 fi
39272 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39273 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39274
39275 if test "$wx_cv_func_statfs_decl" = "yes"; then
39276 cat >>confdefs.h <<\_ACEOF
39277 #define HAVE_STATFS_DECL 1
39278 _ACEOF
39279
39280 fi
39281
39282 wx_cv_type_statvfs_t="struct statfs"
39283 cat >>confdefs.h <<\_ACEOF
39284 #define HAVE_STATFS 1
39285 _ACEOF
39286
39287 else
39288 { echo "$as_me:$LINENO: checking for statvfs" >&5
39289 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39290 if test "${wx_cv_func_statvfs+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 cat >conftest.$ac_ext <<_ACEOF
39294 /* confdefs.h. */
39295 _ACEOF
39296 cat confdefs.h >>conftest.$ac_ext
39297 cat >>conftest.$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299
39300 #include <stddef.h>
39301 #include <sys/statvfs.h>
39302
39303 int
39304 main ()
39305 {
39306
39307 statvfs("/", NULL);
39308
39309 ;
39310 return 0;
39311 }
39312 _ACEOF
39313 rm -f conftest.$ac_objext
39314 if { (ac_try="$ac_compile"
39315 case "(($ac_try" in
39316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39317 *) ac_try_echo=$ac_try;;
39318 esac
39319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39320 (eval "$ac_compile") 2>conftest.er1
39321 ac_status=$?
39322 grep -v '^ *+' conftest.er1 >conftest.err
39323 rm -f conftest.er1
39324 cat conftest.err >&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } && {
39327 test -z "$ac_c_werror_flag" ||
39328 test ! -s conftest.err
39329 } && test -s conftest.$ac_objext; then
39330 wx_cv_func_statvfs=yes
39331 else
39332 echo "$as_me: failed program was:" >&5
39333 sed 's/^/| /' conftest.$ac_ext >&5
39334
39335 wx_cv_func_statvfs=no
39336
39337 fi
39338
39339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39340
39341 fi
39342 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39343 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39344
39345 if test "$wx_cv_func_statvfs" = "yes"; then
39346 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39347 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39348 if test "${wx_cv_type_statvfs_t+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 ac_ext=cpp
39352 ac_cpp='$CXXCPP $CPPFLAGS'
39353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39356
39357 cat >conftest.$ac_ext <<_ACEOF
39358 /* confdefs.h. */
39359 _ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363
39364 #include <sys/statvfs.h>
39365
39366 int
39367 main ()
39368 {
39369
39370 long l;
39371 statvfs_t fs;
39372 statvfs("/", &fs);
39373 l = fs.f_bsize;
39374 l += fs.f_blocks;
39375 l += fs.f_bavail;
39376
39377 ;
39378 return 0;
39379 }
39380 _ACEOF
39381 rm -f conftest.$ac_objext
39382 if { (ac_try="$ac_compile"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39385 *) ac_try_echo=$ac_try;;
39386 esac
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_compile") 2>conftest.er1
39389 ac_status=$?
39390 grep -v '^ *+' conftest.er1 >conftest.err
39391 rm -f conftest.er1
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_cxx_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest.$ac_objext; then
39398 wx_cv_type_statvfs_t=statvfs_t
39399 else
39400 echo "$as_me: failed program was:" >&5
39401 sed 's/^/| /' conftest.$ac_ext >&5
39402
39403
39404 cat >conftest.$ac_ext <<_ACEOF
39405 /* confdefs.h. */
39406 _ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39410
39411 #include <sys/statvfs.h>
39412
39413 int
39414 main ()
39415 {
39416
39417 long l;
39418 struct statvfs fs;
39419 statvfs("/", &fs);
39420 l = fs.f_bsize;
39421 l += fs.f_blocks;
39422 l += fs.f_bavail;
39423
39424 ;
39425 return 0;
39426 }
39427 _ACEOF
39428 rm -f conftest.$ac_objext
39429 if { (ac_try="$ac_compile"
39430 case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39432 *) ac_try_echo=$ac_try;;
39433 esac
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_compile") 2>conftest.er1
39436 ac_status=$?
39437 grep -v '^ *+' conftest.er1 >conftest.err
39438 rm -f conftest.er1
39439 cat conftest.err >&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } && {
39442 test -z "$ac_cxx_werror_flag" ||
39443 test ! -s conftest.err
39444 } && test -s conftest.$ac_objext; then
39445 wx_cv_type_statvfs_t="struct statvfs"
39446 else
39447 echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.$ac_ext >&5
39449
39450 wx_cv_type_statvfs_t="unknown"
39451
39452 fi
39453
39454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39455
39456
39457 fi
39458
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39460 ac_ext=c
39461 ac_cpp='$CPP $CPPFLAGS'
39462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39465
39466
39467 fi
39468 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39469 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39470
39471 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39472 cat >>confdefs.h <<\_ACEOF
39473 #define HAVE_STATVFS 1
39474 _ACEOF
39475
39476 fi
39477 else
39478 wx_cv_type_statvfs_t="unknown"
39479 fi
39480 fi
39481
39482 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39483 cat >>confdefs.h <<_ACEOF
39484 #define WX_STATFS_T $wx_cv_type_statvfs_t
39485 _ACEOF
39486
39487 else
39488 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39489 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39490 fi
39491
39492 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39493
39494
39495 for ac_func in fcntl flock
39496 do
39497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39498 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39500 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 else
39503 cat >conftest.$ac_ext <<_ACEOF
39504 /* confdefs.h. */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39511 #define $ac_func innocuous_$ac_func
39512
39513 /* System header to define __stub macros and hopefully few prototypes,
39514 which can conflict with char $ac_func (); below.
39515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39516 <limits.h> exists even on freestanding compilers. */
39517
39518 #ifdef __STDC__
39519 # include <limits.h>
39520 #else
39521 # include <assert.h>
39522 #endif
39523
39524 #undef $ac_func
39525
39526 /* Override any GCC internal prototype to avoid an error.
39527 Use char because int might match the return type of a GCC
39528 builtin and then its argument prototype would still apply. */
39529 #ifdef __cplusplus
39530 extern "C"
39531 #endif
39532 char $ac_func ();
39533 /* The GNU C library defines this for functions which it implements
39534 to always fail with ENOSYS. Some functions are actually named
39535 something starting with __ and the normal name is an alias. */
39536 #if defined __stub_$ac_func || defined __stub___$ac_func
39537 choke me
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 return $ac_func ();
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (ac_try="$ac_link"
39550 case "(($ac_try" in
39551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39552 *) ac_try_echo=$ac_try;;
39553 esac
39554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39555 (eval "$ac_link") 2>conftest.er1
39556 ac_status=$?
39557 grep -v '^ *+' conftest.er1 >conftest.err
39558 rm -f conftest.er1
39559 cat conftest.err >&5
39560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39561 (exit $ac_status); } && {
39562 test -z "$ac_c_werror_flag" ||
39563 test ! -s conftest.err
39564 } && test -s conftest$ac_exeext &&
39565 $as_test_x conftest$ac_exeext; then
39566 eval "$as_ac_var=yes"
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39570
39571 eval "$as_ac_var=no"
39572 fi
39573
39574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39575 conftest$ac_exeext conftest.$ac_ext
39576 fi
39577 ac_res=`eval echo '${'$as_ac_var'}'`
39578 { echo "$as_me:$LINENO: result: $ac_res" >&5
39579 echo "${ECHO_T}$ac_res" >&6; }
39580 if test `eval echo '${'$as_ac_var'}'` = yes; then
39581 cat >>confdefs.h <<_ACEOF
39582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39583 _ACEOF
39584 break
39585 fi
39586 done
39587
39588
39589 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39590 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39591 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39592 wxUSE_SNGLINST_CHECKER=no
39593 fi
39594 fi
39595
39596
39597 for ac_func in timegm
39598 do
39599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 else
39605 cat >conftest.$ac_ext <<_ACEOF
39606 /* confdefs.h. */
39607 _ACEOF
39608 cat confdefs.h >>conftest.$ac_ext
39609 cat >>conftest.$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39613 #define $ac_func innocuous_$ac_func
39614
39615 /* System header to define __stub macros and hopefully few prototypes,
39616 which can conflict with char $ac_func (); below.
39617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39618 <limits.h> exists even on freestanding compilers. */
39619
39620 #ifdef __STDC__
39621 # include <limits.h>
39622 #else
39623 # include <assert.h>
39624 #endif
39625
39626 #undef $ac_func
39627
39628 /* Override any GCC internal prototype to avoid an error.
39629 Use char because int might match the return type of a GCC
39630 builtin and then its argument prototype would still apply. */
39631 #ifdef __cplusplus
39632 extern "C"
39633 #endif
39634 char $ac_func ();
39635 /* The GNU C library defines this for functions which it implements
39636 to always fail with ENOSYS. Some functions are actually named
39637 something starting with __ and the normal name is an alias. */
39638 #if defined __stub_$ac_func || defined __stub___$ac_func
39639 choke me
39640 #endif
39641
39642 int
39643 main ()
39644 {
39645 return $ac_func ();
39646 ;
39647 return 0;
39648 }
39649 _ACEOF
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (ac_try="$ac_link"
39652 case "(($ac_try" in
39653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39654 *) ac_try_echo=$ac_try;;
39655 esac
39656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39657 (eval "$ac_link") 2>conftest.er1
39658 ac_status=$?
39659 grep -v '^ *+' conftest.er1 >conftest.err
39660 rm -f conftest.er1
39661 cat conftest.err >&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); } && {
39664 test -z "$ac_c_werror_flag" ||
39665 test ! -s conftest.err
39666 } && test -s conftest$ac_exeext &&
39667 $as_test_x conftest$ac_exeext; then
39668 eval "$as_ac_var=yes"
39669 else
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.$ac_ext >&5
39672
39673 eval "$as_ac_var=no"
39674 fi
39675
39676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39677 conftest$ac_exeext conftest.$ac_ext
39678 fi
39679 ac_res=`eval echo '${'$as_ac_var'}'`
39680 { echo "$as_me:$LINENO: result: $ac_res" >&5
39681 echo "${ECHO_T}$ac_res" >&6; }
39682 if test `eval echo '${'$as_ac_var'}'` = yes; then
39683 cat >>confdefs.h <<_ACEOF
39684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39685 _ACEOF
39686
39687 fi
39688 done
39689
39690
39691
39692
39693 for ac_func in setenv putenv
39694 do
39695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39699 echo $ECHO_N "(cached) $ECHO_C" >&6
39700 else
39701 cat >conftest.$ac_ext <<_ACEOF
39702 /* confdefs.h. */
39703 _ACEOF
39704 cat confdefs.h >>conftest.$ac_ext
39705 cat >>conftest.$ac_ext <<_ACEOF
39706 /* end confdefs.h. */
39707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39709 #define $ac_func innocuous_$ac_func
39710
39711 /* System header to define __stub macros and hopefully few prototypes,
39712 which can conflict with char $ac_func (); below.
39713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39714 <limits.h> exists even on freestanding compilers. */
39715
39716 #ifdef __STDC__
39717 # include <limits.h>
39718 #else
39719 # include <assert.h>
39720 #endif
39721
39722 #undef $ac_func
39723
39724 /* Override any GCC internal prototype to avoid an error.
39725 Use char because int might match the return type of a GCC
39726 builtin and then its argument prototype would still apply. */
39727 #ifdef __cplusplus
39728 extern "C"
39729 #endif
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined __stub_$ac_func || defined __stub___$ac_func
39735 choke me
39736 #endif
39737
39738 int
39739 main ()
39740 {
39741 return $ac_func ();
39742 ;
39743 return 0;
39744 }
39745 _ACEOF
39746 rm -f conftest.$ac_objext conftest$ac_exeext
39747 if { (ac_try="$ac_link"
39748 case "(($ac_try" in
39749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39750 *) ac_try_echo=$ac_try;;
39751 esac
39752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39753 (eval "$ac_link") 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } && {
39760 test -z "$ac_c_werror_flag" ||
39761 test ! -s conftest.err
39762 } && test -s conftest$ac_exeext &&
39763 $as_test_x conftest$ac_exeext; then
39764 eval "$as_ac_var=yes"
39765 else
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39768
39769 eval "$as_ac_var=no"
39770 fi
39771
39772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39773 conftest$ac_exeext conftest.$ac_ext
39774 fi
39775 ac_res=`eval echo '${'$as_ac_var'}'`
39776 { echo "$as_me:$LINENO: result: $ac_res" >&5
39777 echo "${ECHO_T}$ac_res" >&6; }
39778 if test `eval echo '${'$as_ac_var'}'` = yes; then
39779 cat >>confdefs.h <<_ACEOF
39780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39781 _ACEOF
39782 break
39783 fi
39784 done
39785
39786
39787 HAVE_SOME_SLEEP_FUNC=0
39788 if test "$USE_BEOS" = 1; then
39789 cat >>confdefs.h <<\_ACEOF
39790 #define HAVE_SLEEP 1
39791 _ACEOF
39792
39793 HAVE_SOME_SLEEP_FUNC=1
39794 fi
39795
39796 if test "$USE_DARWIN" = 1; then
39797 cat >>confdefs.h <<\_ACEOF
39798 #define HAVE_USLEEP 1
39799 _ACEOF
39800
39801 HAVE_SOME_SLEEP_FUNC=1
39802 fi
39803
39804 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39805 POSIX4_LINK=
39806
39807 for ac_func in nanosleep
39808 do
39809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define $ac_func innocuous_$ac_func
39824
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char $ac_func (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39829
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39835
39836 #undef $ac_func
39837
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39841 #ifdef __cplusplus
39842 extern "C"
39843 #endif
39844 char $ac_func ();
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_$ac_func || defined __stub___$ac_func
39849 choke me
39850 #endif
39851
39852 int
39853 main ()
39854 {
39855 return $ac_func ();
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 eval "$as_ac_var=yes"
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39882
39883 eval "$as_ac_var=no"
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39888 fi
39889 ac_res=`eval echo '${'$as_ac_var'}'`
39890 { echo "$as_me:$LINENO: result: $ac_res" >&5
39891 echo "${ECHO_T}$ac_res" >&6; }
39892 if test `eval echo '${'$as_ac_var'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39895 _ACEOF
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_NANOSLEEP 1
39898 _ACEOF
39899
39900 else
39901
39902 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39903 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39904 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39905 echo $ECHO_N "(cached) $ECHO_C" >&6
39906 else
39907 ac_check_lib_save_LIBS=$LIBS
39908 LIBS="-lposix4 $LIBS"
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915
39916 /* Override any GCC internal prototype to avoid an error.
39917 Use char because int might match the return type of a GCC
39918 builtin and then its argument prototype would still apply. */
39919 #ifdef __cplusplus
39920 extern "C"
39921 #endif
39922 char nanosleep ();
39923 int
39924 main ()
39925 {
39926 return nanosleep ();
39927 ;
39928 return 0;
39929 }
39930 _ACEOF
39931 rm -f conftest.$ac_objext conftest$ac_exeext
39932 if { (ac_try="$ac_link"
39933 case "(($ac_try" in
39934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39935 *) ac_try_echo=$ac_try;;
39936 esac
39937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39938 (eval "$ac_link") 2>conftest.er1
39939 ac_status=$?
39940 grep -v '^ *+' conftest.er1 >conftest.err
39941 rm -f conftest.er1
39942 cat conftest.err >&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } && {
39945 test -z "$ac_c_werror_flag" ||
39946 test ! -s conftest.err
39947 } && test -s conftest$ac_exeext &&
39948 $as_test_x conftest$ac_exeext; then
39949 ac_cv_lib_posix4_nanosleep=yes
39950 else
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39953
39954 ac_cv_lib_posix4_nanosleep=no
39955 fi
39956
39957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39958 conftest$ac_exeext conftest.$ac_ext
39959 LIBS=$ac_check_lib_save_LIBS
39960 fi
39961 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39962 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39963 if test $ac_cv_lib_posix4_nanosleep = yes; then
39964
39965 cat >>confdefs.h <<\_ACEOF
39966 #define HAVE_NANOSLEEP 1
39967 _ACEOF
39968
39969 POSIX4_LINK=" -lposix4"
39970
39971 else
39972
39973
39974 for wx_func in usleep
39975 do
39976 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39977 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39978 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39979 echo $ECHO_N "(cached) $ECHO_C" >&6
39980 else
39981
39982 cat >conftest.$ac_ext <<_ACEOF
39983
39984 /* confdefs.h. */
39985 _ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39989
39990
39991 $ac_includes_default
39992
39993 int
39994 main ()
39995 {
39996
39997 #ifndef $wx_func
39998 &$wx_func;
39999 #endif
40000
40001
40002 ;
40003 return 0;
40004 }
40005
40006 _ACEOF
40007 rm -f conftest.$ac_objext conftest$ac_exeext
40008 if { (ac_try="$ac_link"
40009 case "(($ac_try" in
40010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40011 *) ac_try_echo=$ac_try;;
40012 esac
40013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40014 (eval "$ac_link") 2>conftest.er1
40015 ac_status=$?
40016 grep -v '^ *+' conftest.er1 >conftest.err
40017 rm -f conftest.er1
40018 cat conftest.err >&5
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); } && {
40021 test -z "$ac_c_werror_flag" ||
40022 test ! -s conftest.err
40023 } && test -s conftest$ac_exeext &&
40024 $as_test_x conftest$ac_exeext; then
40025 eval wx_cv_func_$wx_func=yes
40026 else
40027 echo "$as_me: failed program was:" >&5
40028 sed 's/^/| /' conftest.$ac_ext >&5
40029
40030 eval wx_cv_func_$wx_func=no
40031 fi
40032
40033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40034 conftest$ac_exeext conftest.$ac_ext
40035
40036 fi
40037 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40038 { echo "$as_me:$LINENO: result: $ac_res" >&5
40039 echo "${ECHO_T}$ac_res" >&6; }
40040
40041 if eval test \$wx_cv_func_$wx_func = yes
40042 then
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40045 _ACEOF
40046
40047
40048 else
40049 :
40050 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40051 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40052
40053 fi
40054 done
40055
40056
40057
40058 fi
40059
40060
40061
40062 fi
40063 done
40064
40065 fi
40066
40067
40068 for wx_func in uname
40069 do
40070 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40071 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40072 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40073 echo $ECHO_N "(cached) $ECHO_C" >&6
40074 else
40075
40076 cat >conftest.$ac_ext <<_ACEOF
40077
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083
40084 #include <sys/utsname.h>
40085 $ac_includes_default
40086
40087 int
40088 main ()
40089 {
40090
40091 #ifndef $wx_func
40092 &$wx_func;
40093 #endif
40094
40095
40096 ;
40097 return 0;
40098 }
40099
40100 _ACEOF
40101 rm -f conftest.$ac_objext conftest$ac_exeext
40102 if { (ac_try="$ac_link"
40103 case "(($ac_try" in
40104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40105 *) ac_try_echo=$ac_try;;
40106 esac
40107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40108 (eval "$ac_link") 2>conftest.er1
40109 ac_status=$?
40110 grep -v '^ *+' conftest.er1 >conftest.err
40111 rm -f conftest.er1
40112 cat conftest.err >&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); } && {
40115 test -z "$ac_c_werror_flag" ||
40116 test ! -s conftest.err
40117 } && test -s conftest$ac_exeext &&
40118 $as_test_x conftest$ac_exeext; then
40119 eval wx_cv_func_$wx_func=yes
40120 else
40121 echo "$as_me: failed program was:" >&5
40122 sed 's/^/| /' conftest.$ac_ext >&5
40123
40124 eval wx_cv_func_$wx_func=no
40125 fi
40126
40127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40128 conftest$ac_exeext conftest.$ac_ext
40129
40130 fi
40131 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40132 { echo "$as_me:$LINENO: result: $ac_res" >&5
40133 echo "${ECHO_T}$ac_res" >&6; }
40134
40135 if eval test \$wx_cv_func_$wx_func = yes
40136 then
40137 cat >>confdefs.h <<_ACEOF
40138 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40139 _ACEOF
40140
40141
40142 else
40143 :
40144
40145 fi
40146 done
40147
40148 if test "$wx_cv_func_uname" != yes; then
40149
40150 for wx_func in gethostname
40151 do
40152 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40153 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40154 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40157
40158 cat >conftest.$ac_ext <<_ACEOF
40159
40160 /* confdefs.h. */
40161 _ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40165
40166
40167 $ac_includes_default
40168
40169 int
40170 main ()
40171 {
40172
40173 #ifndef $wx_func
40174 &$wx_func;
40175 #endif
40176
40177
40178 ;
40179 return 0;
40180 }
40181
40182 _ACEOF
40183 rm -f conftest.$ac_objext conftest$ac_exeext
40184 if { (ac_try="$ac_link"
40185 case "(($ac_try" in
40186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40187 *) ac_try_echo=$ac_try;;
40188 esac
40189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40190 (eval "$ac_link") 2>conftest.er1
40191 ac_status=$?
40192 grep -v '^ *+' conftest.er1 >conftest.err
40193 rm -f conftest.er1
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } && {
40197 test -z "$ac_c_werror_flag" ||
40198 test ! -s conftest.err
40199 } && test -s conftest$ac_exeext &&
40200 $as_test_x conftest$ac_exeext; then
40201 eval wx_cv_func_$wx_func=yes
40202 else
40203 echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40205
40206 eval wx_cv_func_$wx_func=no
40207 fi
40208
40209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40210 conftest$ac_exeext conftest.$ac_ext
40211
40212 fi
40213 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40214 { echo "$as_me:$LINENO: result: $ac_res" >&5
40215 echo "${ECHO_T}$ac_res" >&6; }
40216
40217 if eval test \$wx_cv_func_$wx_func = yes
40218 then
40219 cat >>confdefs.h <<_ACEOF
40220 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40221 _ACEOF
40222
40223
40224 else
40225 :
40226
40227 fi
40228 done
40229
40230 fi
40231
40232
40233 for wx_func in strtok_r
40234 do
40235 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40236 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40237 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40238 echo $ECHO_N "(cached) $ECHO_C" >&6
40239 else
40240
40241 cat >conftest.$ac_ext <<_ACEOF
40242
40243 /* confdefs.h. */
40244 _ACEOF
40245 cat confdefs.h >>conftest.$ac_ext
40246 cat >>conftest.$ac_ext <<_ACEOF
40247 /* end confdefs.h. */
40248
40249 #define _REENTRANT
40250 $ac_includes_default
40251
40252 int
40253 main ()
40254 {
40255
40256 #ifndef $wx_func
40257 &$wx_func;
40258 #endif
40259
40260
40261 ;
40262 return 0;
40263 }
40264
40265 _ACEOF
40266 rm -f conftest.$ac_objext conftest$ac_exeext
40267 if { (ac_try="$ac_link"
40268 case "(($ac_try" in
40269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40270 *) ac_try_echo=$ac_try;;
40271 esac
40272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40273 (eval "$ac_link") 2>conftest.er1
40274 ac_status=$?
40275 grep -v '^ *+' conftest.er1 >conftest.err
40276 rm -f conftest.er1
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } && {
40280 test -z "$ac_c_werror_flag" ||
40281 test ! -s conftest.err
40282 } && test -s conftest$ac_exeext &&
40283 $as_test_x conftest$ac_exeext; then
40284 eval wx_cv_func_$wx_func=yes
40285 else
40286 echo "$as_me: failed program was:" >&5
40287 sed 's/^/| /' conftest.$ac_ext >&5
40288
40289 eval wx_cv_func_$wx_func=no
40290 fi
40291
40292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40293 conftest$ac_exeext conftest.$ac_ext
40294
40295 fi
40296 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40297 { echo "$as_me:$LINENO: result: $ac_res" >&5
40298 echo "${ECHO_T}$ac_res" >&6; }
40299
40300 if eval test \$wx_cv_func_$wx_func = yes
40301 then
40302 cat >>confdefs.h <<_ACEOF
40303 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40304 _ACEOF
40305
40306
40307 else
40308 :
40309
40310 fi
40311 done
40312
40313
40314 INET_LINK=
40315
40316 for ac_func in inet_addr
40317 do
40318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40322 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 else
40324 cat >conftest.$ac_ext <<_ACEOF
40325 /* confdefs.h. */
40326 _ACEOF
40327 cat confdefs.h >>conftest.$ac_ext
40328 cat >>conftest.$ac_ext <<_ACEOF
40329 /* end confdefs.h. */
40330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40332 #define $ac_func innocuous_$ac_func
40333
40334 /* System header to define __stub macros and hopefully few prototypes,
40335 which can conflict with char $ac_func (); below.
40336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40337 <limits.h> exists even on freestanding compilers. */
40338
40339 #ifdef __STDC__
40340 # include <limits.h>
40341 #else
40342 # include <assert.h>
40343 #endif
40344
40345 #undef $ac_func
40346
40347 /* Override any GCC internal prototype to avoid an error.
40348 Use char because int might match the return type of a GCC
40349 builtin and then its argument prototype would still apply. */
40350 #ifdef __cplusplus
40351 extern "C"
40352 #endif
40353 char $ac_func ();
40354 /* The GNU C library defines this for functions which it implements
40355 to always fail with ENOSYS. Some functions are actually named
40356 something starting with __ and the normal name is an alias. */
40357 #if defined __stub_$ac_func || defined __stub___$ac_func
40358 choke me
40359 #endif
40360
40361 int
40362 main ()
40363 {
40364 return $ac_func ();
40365 ;
40366 return 0;
40367 }
40368 _ACEOF
40369 rm -f conftest.$ac_objext conftest$ac_exeext
40370 if { (ac_try="$ac_link"
40371 case "(($ac_try" in
40372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40373 *) ac_try_echo=$ac_try;;
40374 esac
40375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40376 (eval "$ac_link") 2>conftest.er1
40377 ac_status=$?
40378 grep -v '^ *+' conftest.er1 >conftest.err
40379 rm -f conftest.er1
40380 cat conftest.err >&5
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); } && {
40383 test -z "$ac_c_werror_flag" ||
40384 test ! -s conftest.err
40385 } && test -s conftest$ac_exeext &&
40386 $as_test_x conftest$ac_exeext; then
40387 eval "$as_ac_var=yes"
40388 else
40389 echo "$as_me: failed program was:" >&5
40390 sed 's/^/| /' conftest.$ac_ext >&5
40391
40392 eval "$as_ac_var=no"
40393 fi
40394
40395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40396 conftest$ac_exeext conftest.$ac_ext
40397 fi
40398 ac_res=`eval echo '${'$as_ac_var'}'`
40399 { echo "$as_me:$LINENO: result: $ac_res" >&5
40400 echo "${ECHO_T}$ac_res" >&6; }
40401 if test `eval echo '${'$as_ac_var'}'` = yes; then
40402 cat >>confdefs.h <<_ACEOF
40403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40404 _ACEOF
40405 cat >>confdefs.h <<\_ACEOF
40406 #define HAVE_INET_ADDR 1
40407 _ACEOF
40408
40409 else
40410
40411 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40412 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40413 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40414 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 else
40416 ac_check_lib_save_LIBS=$LIBS
40417 LIBS="-lnsl $LIBS"
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424
40425 /* Override any GCC internal prototype to avoid an error.
40426 Use char because int might match the return type of a GCC
40427 builtin and then its argument prototype would still apply. */
40428 #ifdef __cplusplus
40429 extern "C"
40430 #endif
40431 char inet_addr ();
40432 int
40433 main ()
40434 {
40435 return inet_addr ();
40436 ;
40437 return 0;
40438 }
40439 _ACEOF
40440 rm -f conftest.$ac_objext conftest$ac_exeext
40441 if { (ac_try="$ac_link"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40445 esac
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_link") 2>conftest.er1
40448 ac_status=$?
40449 grep -v '^ *+' conftest.er1 >conftest.err
40450 rm -f conftest.er1
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_c_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest$ac_exeext &&
40457 $as_test_x conftest$ac_exeext; then
40458 ac_cv_lib_nsl_inet_addr=yes
40459 else
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 ac_cv_lib_nsl_inet_addr=no
40464 fi
40465
40466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40467 conftest$ac_exeext conftest.$ac_ext
40468 LIBS=$ac_check_lib_save_LIBS
40469 fi
40470 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40471 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40472 if test $ac_cv_lib_nsl_inet_addr = yes; then
40473 INET_LINK="nsl"
40474 else
40475
40476 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40477 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40478 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40479 echo $ECHO_N "(cached) $ECHO_C" >&6
40480 else
40481 ac_check_lib_save_LIBS=$LIBS
40482 LIBS="-lresolv $LIBS"
40483 cat >conftest.$ac_ext <<_ACEOF
40484 /* confdefs.h. */
40485 _ACEOF
40486 cat confdefs.h >>conftest.$ac_ext
40487 cat >>conftest.$ac_ext <<_ACEOF
40488 /* end confdefs.h. */
40489
40490 /* Override any GCC internal prototype to avoid an error.
40491 Use char because int might match the return type of a GCC
40492 builtin and then its argument prototype would still apply. */
40493 #ifdef __cplusplus
40494 extern "C"
40495 #endif
40496 char inet_addr ();
40497 int
40498 main ()
40499 {
40500 return inet_addr ();
40501 ;
40502 return 0;
40503 }
40504 _ACEOF
40505 rm -f conftest.$ac_objext conftest$ac_exeext
40506 if { (ac_try="$ac_link"
40507 case "(($ac_try" in
40508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40509 *) ac_try_echo=$ac_try;;
40510 esac
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_link") 2>conftest.er1
40513 ac_status=$?
40514 grep -v '^ *+' conftest.er1 >conftest.err
40515 rm -f conftest.er1
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_c_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest$ac_exeext &&
40522 $as_test_x conftest$ac_exeext; then
40523 ac_cv_lib_resolv_inet_addr=yes
40524 else
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.$ac_ext >&5
40527
40528 ac_cv_lib_resolv_inet_addr=no
40529 fi
40530
40531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40532 conftest$ac_exeext conftest.$ac_ext
40533 LIBS=$ac_check_lib_save_LIBS
40534 fi
40535 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40536 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40537 if test $ac_cv_lib_resolv_inet_addr = yes; then
40538 INET_LINK="resolv"
40539 else
40540
40541 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40542 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40543 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40544 echo $ECHO_N "(cached) $ECHO_C" >&6
40545 else
40546 ac_check_lib_save_LIBS=$LIBS
40547 LIBS="-lsocket $LIBS"
40548 cat >conftest.$ac_ext <<_ACEOF
40549 /* confdefs.h. */
40550 _ACEOF
40551 cat confdefs.h >>conftest.$ac_ext
40552 cat >>conftest.$ac_ext <<_ACEOF
40553 /* end confdefs.h. */
40554
40555 /* Override any GCC internal prototype to avoid an error.
40556 Use char because int might match the return type of a GCC
40557 builtin and then its argument prototype would still apply. */
40558 #ifdef __cplusplus
40559 extern "C"
40560 #endif
40561 char inet_addr ();
40562 int
40563 main ()
40564 {
40565 return inet_addr ();
40566 ;
40567 return 0;
40568 }
40569 _ACEOF
40570 rm -f conftest.$ac_objext conftest$ac_exeext
40571 if { (ac_try="$ac_link"
40572 case "(($ac_try" in
40573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40574 *) ac_try_echo=$ac_try;;
40575 esac
40576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40577 (eval "$ac_link") 2>conftest.er1
40578 ac_status=$?
40579 grep -v '^ *+' conftest.er1 >conftest.err
40580 rm -f conftest.er1
40581 cat conftest.err >&5
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); } && {
40584 test -z "$ac_c_werror_flag" ||
40585 test ! -s conftest.err
40586 } && test -s conftest$ac_exeext &&
40587 $as_test_x conftest$ac_exeext; then
40588 ac_cv_lib_socket_inet_addr=yes
40589 else
40590 echo "$as_me: failed program was:" >&5
40591 sed 's/^/| /' conftest.$ac_ext >&5
40592
40593 ac_cv_lib_socket_inet_addr=no
40594 fi
40595
40596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40597 conftest$ac_exeext conftest.$ac_ext
40598 LIBS=$ac_check_lib_save_LIBS
40599 fi
40600 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40601 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40602 if test $ac_cv_lib_socket_inet_addr = yes; then
40603 INET_LINK="socket"
40604
40605 fi
40606
40607
40608
40609 fi
40610
40611
40612
40613 fi
40614
40615
40616
40617 fi
40618 done
40619
40620
40621
40622 for ac_func in inet_aton
40623 do
40624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40628 echo $ECHO_N "(cached) $ECHO_C" >&6
40629 else
40630 cat >conftest.$ac_ext <<_ACEOF
40631 /* confdefs.h. */
40632 _ACEOF
40633 cat confdefs.h >>conftest.$ac_ext
40634 cat >>conftest.$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40638 #define $ac_func innocuous_$ac_func
40639
40640 /* System header to define __stub macros and hopefully few prototypes,
40641 which can conflict with char $ac_func (); below.
40642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40643 <limits.h> exists even on freestanding compilers. */
40644
40645 #ifdef __STDC__
40646 # include <limits.h>
40647 #else
40648 # include <assert.h>
40649 #endif
40650
40651 #undef $ac_func
40652
40653 /* Override any GCC internal prototype to avoid an error.
40654 Use char because int might match the return type of a GCC
40655 builtin and then its argument prototype would still apply. */
40656 #ifdef __cplusplus
40657 extern "C"
40658 #endif
40659 char $ac_func ();
40660 /* The GNU C library defines this for functions which it implements
40661 to always fail with ENOSYS. Some functions are actually named
40662 something starting with __ and the normal name is an alias. */
40663 #if defined __stub_$ac_func || defined __stub___$ac_func
40664 choke me
40665 #endif
40666
40667 int
40668 main ()
40669 {
40670 return $ac_func ();
40671 ;
40672 return 0;
40673 }
40674 _ACEOF
40675 rm -f conftest.$ac_objext conftest$ac_exeext
40676 if { (ac_try="$ac_link"
40677 case "(($ac_try" in
40678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40679 *) ac_try_echo=$ac_try;;
40680 esac
40681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40682 (eval "$ac_link") 2>conftest.er1
40683 ac_status=$?
40684 grep -v '^ *+' conftest.er1 >conftest.err
40685 rm -f conftest.er1
40686 cat conftest.err >&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); } && {
40689 test -z "$ac_c_werror_flag" ||
40690 test ! -s conftest.err
40691 } && test -s conftest$ac_exeext &&
40692 $as_test_x conftest$ac_exeext; then
40693 eval "$as_ac_var=yes"
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40697
40698 eval "$as_ac_var=no"
40699 fi
40700
40701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40702 conftest$ac_exeext conftest.$ac_ext
40703 fi
40704 ac_res=`eval echo '${'$as_ac_var'}'`
40705 { echo "$as_me:$LINENO: result: $ac_res" >&5
40706 echo "${ECHO_T}$ac_res" >&6; }
40707 if test `eval echo '${'$as_ac_var'}'` = yes; then
40708 cat >>confdefs.h <<_ACEOF
40709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40710 _ACEOF
40711 cat >>confdefs.h <<\_ACEOF
40712 #define HAVE_INET_ATON 1
40713 _ACEOF
40714
40715 else
40716
40717 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40718 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40719 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40720 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40721 echo $ECHO_N "(cached) $ECHO_C" >&6
40722 else
40723 ac_check_lib_save_LIBS=$LIBS
40724 LIBS="-l$INET_LINK $LIBS"
40725 cat >conftest.$ac_ext <<_ACEOF
40726 /* confdefs.h. */
40727 _ACEOF
40728 cat confdefs.h >>conftest.$ac_ext
40729 cat >>conftest.$ac_ext <<_ACEOF
40730 /* end confdefs.h. */
40731
40732 /* Override any GCC internal prototype to avoid an error.
40733 Use char because int might match the return type of a GCC
40734 builtin and then its argument prototype would still apply. */
40735 #ifdef __cplusplus
40736 extern "C"
40737 #endif
40738 char inet_aton ();
40739 int
40740 main ()
40741 {
40742 return inet_aton ();
40743 ;
40744 return 0;
40745 }
40746 _ACEOF
40747 rm -f conftest.$ac_objext conftest$ac_exeext
40748 if { (ac_try="$ac_link"
40749 case "(($ac_try" in
40750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40751 *) ac_try_echo=$ac_try;;
40752 esac
40753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40754 (eval "$ac_link") 2>conftest.er1
40755 ac_status=$?
40756 grep -v '^ *+' conftest.er1 >conftest.err
40757 rm -f conftest.er1
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } && {
40761 test -z "$ac_c_werror_flag" ||
40762 test ! -s conftest.err
40763 } && test -s conftest$ac_exeext &&
40764 $as_test_x conftest$ac_exeext; then
40765 eval "$as_ac_Lib=yes"
40766 else
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40769
40770 eval "$as_ac_Lib=no"
40771 fi
40772
40773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40774 conftest$ac_exeext conftest.$ac_ext
40775 LIBS=$ac_check_lib_save_LIBS
40776 fi
40777 ac_res=`eval echo '${'$as_ac_Lib'}'`
40778 { echo "$as_me:$LINENO: result: $ac_res" >&5
40779 echo "${ECHO_T}$ac_res" >&6; }
40780 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40781 cat >>confdefs.h <<\_ACEOF
40782 #define HAVE_INET_ATON 1
40783 _ACEOF
40784
40785 fi
40786
40787
40788 fi
40789 done
40790
40791
40792 if test "x$INET_LINK" != "x"; then
40793 cat >>confdefs.h <<\_ACEOF
40794 #define HAVE_INET_ADDR 1
40795 _ACEOF
40796
40797 INET_LINK=" -l$INET_LINK"
40798 fi
40799
40800
40801 for wx_func in fdopen
40802 do
40803 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40804 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40805 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40806 echo $ECHO_N "(cached) $ECHO_C" >&6
40807 else
40808
40809 cat >conftest.$ac_ext <<_ACEOF
40810
40811 /* confdefs.h. */
40812 _ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816
40817
40818 $ac_includes_default
40819
40820 int
40821 main ()
40822 {
40823
40824 #ifndef $wx_func
40825 &$wx_func;
40826 #endif
40827
40828
40829 ;
40830 return 0;
40831 }
40832
40833 _ACEOF
40834 rm -f conftest.$ac_objext conftest$ac_exeext
40835 if { (ac_try="$ac_link"
40836 case "(($ac_try" in
40837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40838 *) ac_try_echo=$ac_try;;
40839 esac
40840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40841 (eval "$ac_link") 2>conftest.er1
40842 ac_status=$?
40843 grep -v '^ *+' conftest.er1 >conftest.err
40844 rm -f conftest.er1
40845 cat conftest.err >&5
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); } && {
40848 test -z "$ac_c_werror_flag" ||
40849 test ! -s conftest.err
40850 } && test -s conftest$ac_exeext &&
40851 $as_test_x conftest$ac_exeext; then
40852 eval wx_cv_func_$wx_func=yes
40853 else
40854 echo "$as_me: failed program was:" >&5
40855 sed 's/^/| /' conftest.$ac_ext >&5
40856
40857 eval wx_cv_func_$wx_func=no
40858 fi
40859
40860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40861 conftest$ac_exeext conftest.$ac_ext
40862
40863 fi
40864 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40865 { echo "$as_me:$LINENO: result: $ac_res" >&5
40866 echo "${ECHO_T}$ac_res" >&6; }
40867
40868 if eval test \$wx_cv_func_$wx_func = yes
40869 then
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40872 _ACEOF
40873
40874
40875 else
40876 :
40877
40878 fi
40879 done
40880
40881
40882 fi
40883
40884
40885
40886 cat >confcache <<\_ACEOF
40887 # This file is a shell script that caches the results of configure
40888 # tests run on this system so they can be shared between configure
40889 # scripts and configure runs, see configure's option --config-cache.
40890 # It is not useful on other systems. If it contains results you don't
40891 # want to keep, you may remove or edit it.
40892 #
40893 # config.status only pays attention to the cache file if you give it
40894 # the --recheck option to rerun configure.
40895 #
40896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40898 # following values.
40899
40900 _ACEOF
40901
40902 # The following way of writing the cache mishandles newlines in values,
40903 # but we know of no workaround that is simple, portable, and efficient.
40904 # So, we kill variables containing newlines.
40905 # Ultrix sh set writes to stderr and can't be redirected directly,
40906 # and sets the high bit in the cache file unless we assign to the vars.
40907 (
40908 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40909 eval ac_val=\$$ac_var
40910 case $ac_val in #(
40911 *${as_nl}*)
40912 case $ac_var in #(
40913 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40914 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40915 esac
40916 case $ac_var in #(
40917 _ | IFS | as_nl) ;; #(
40918 *) $as_unset $ac_var ;;
40919 esac ;;
40920 esac
40921 done
40922
40923 (set) 2>&1 |
40924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40925 *${as_nl}ac_space=\ *)
40926 # `set' does not quote correctly, so add quotes (double-quote
40927 # substitution turns \\\\ into \\, and sed turns \\ into \).
40928 sed -n \
40929 "s/'/'\\\\''/g;
40930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40931 ;; #(
40932 *)
40933 # `set' quotes correctly as required by POSIX, so do not add quotes.
40934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40935 ;;
40936 esac |
40937 sort
40938 ) |
40939 sed '
40940 /^ac_cv_env_/b end
40941 t clear
40942 :clear
40943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40944 t end
40945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40946 :end' >>confcache
40947 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40948 if test -w "$cache_file"; then
40949 test "x$cache_file" != "x/dev/null" &&
40950 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40951 echo "$as_me: updating cache $cache_file" >&6;}
40952 cat confcache >$cache_file
40953 else
40954 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40955 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40956 fi
40957 fi
40958 rm -f confcache
40959
40960
40961 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40962
40963
40964 THREADS_LINK=
40965 THREADS_CFLAGS=
40966
40967 if test "$wxUSE_THREADS" = "yes" ; then
40968 if test "$USE_BEOS" = 1; then
40969 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40970 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40971 wxUSE_THREADS="no"
40972 fi
40973 fi
40974
40975 if test "$wxUSE_THREADS" = "yes" ; then
40976
40977
40978 THREAD_OPTS="-pthread"
40979 if test "x$SUNCXX" = xyes; then
40980 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40981 fi
40982
40983 case "${host}" in
40984 *-*-solaris2* | *-*-sunos4* )
40985 if test "x$GCC" = "xyes"; then
40986 THREAD_OPTS="-pthreads $THREAD_OPTS"
40987 fi
40988 ;;
40989 *-*-freebsd*)
40990 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40991 ;;
40992 *-*-darwin* | *-*-cygwin* )
40993 THREAD_OPTS=""
40994 ;;
40995 *-*-aix*)
40996 THREAD_OPTS="pthreads"
40997 ;;
40998 *-hp-hpux* )
40999 if test "x$GCC" = "xyes"; then
41000 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41001 THREAD_OPTS=""
41002 else
41003 THREAD_OPTS="-mt"
41004 fi
41005 ;;
41006
41007 *-*-irix* )
41008 if test "x$GCC" = "xyes"; then
41009 THREAD_OPTS=""
41010 fi
41011 ;;
41012
41013 *-*-*UnixWare*)
41014 if test "x$GCC" != "xyes"; then
41015 THREAD_OPTS="-Ethread"
41016 fi
41017 ;;
41018 esac
41019
41020 THREAD_OPTS="$THREAD_OPTS pthread none"
41021
41022 THREADS_OK=no
41023 for flag in $THREAD_OPTS; do
41024 case $flag in
41025 none)
41026 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41027 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41028 ;;
41029
41030 -*)
41031 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41032 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41033 THREADS_CFLAGS="$flag"
41034 ;;
41035
41036 *)
41037 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41038 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41039 THREADS_LINK="-l$flag"
41040 ;;
41041 esac
41042
41043 save_LIBS="$LIBS"
41044 save_CFLAGS="$CFLAGS"
41045 LIBS="$THREADS_LINK $LIBS"
41046 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41047
41048 cat >conftest.$ac_ext <<_ACEOF
41049 /* confdefs.h. */
41050 _ACEOF
41051 cat confdefs.h >>conftest.$ac_ext
41052 cat >>conftest.$ac_ext <<_ACEOF
41053 /* end confdefs.h. */
41054 #include <pthread.h>
41055 int
41056 main ()
41057 {
41058 pthread_create(0,0,0,0);
41059 ;
41060 return 0;
41061 }
41062 _ACEOF
41063 rm -f conftest.$ac_objext conftest$ac_exeext
41064 if { (ac_try="$ac_link"
41065 case "(($ac_try" in
41066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41067 *) ac_try_echo=$ac_try;;
41068 esac
41069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41070 (eval "$ac_link") 2>conftest.er1
41071 ac_status=$?
41072 grep -v '^ *+' conftest.er1 >conftest.err
41073 rm -f conftest.er1
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && {
41077 test -z "$ac_c_werror_flag" ||
41078 test ! -s conftest.err
41079 } && test -s conftest$ac_exeext &&
41080 $as_test_x conftest$ac_exeext; then
41081 THREADS_OK=yes
41082 else
41083 echo "$as_me: failed program was:" >&5
41084 sed 's/^/| /' conftest.$ac_ext >&5
41085
41086
41087 fi
41088
41089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41090 conftest$ac_exeext conftest.$ac_ext
41091
41092 LIBS="$save_LIBS"
41093 CFLAGS="$save_CFLAGS"
41094
41095 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41096 echo "${ECHO_T}$THREADS_OK" >&6; }
41097 if test "x$THREADS_OK" = "xyes"; then
41098 break;
41099 fi
41100
41101 THREADS_LINK=""
41102 THREADS_CFLAGS=""
41103 done
41104
41105 if test "x$THREADS_OK" != "xyes"; then
41106 wxUSE_THREADS=no
41107 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41108 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41109 else
41110 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41111 LIBS="$THREADS_LINK $LIBS"
41112
41113 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41114 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41115 flag=no
41116 case "${host}" in
41117 *-aix*)
41118 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41119 flag="-D_THREAD_SAFE"
41120 ;;
41121 *-freebsd*)
41122 flag="-D_THREAD_SAFE"
41123 ;;
41124 *-hp-hpux* )
41125 flag="-D_REENTRANT"
41126 if test "x$GCC" != "xyes"; then
41127 flag="$flag -D_RWSTD_MULTI_THREAD"
41128 fi
41129 ;;
41130 *solaris* | alpha*-osf*)
41131 flag="-D_REENTRANT"
41132 ;;
41133 esac
41134 { echo "$as_me:$LINENO: result: ${flag}" >&5
41135 echo "${ECHO_T}${flag}" >&6; }
41136 if test "x$flag" != xno; then
41137 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41138 fi
41139
41140 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41141 fi
41142 fi
41143
41144 if test "$wxUSE_THREADS" = "yes" ; then
41145
41146 for ac_func in thr_setconcurrency
41147 do
41148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41152 echo $ECHO_N "(cached) $ECHO_C" >&6
41153 else
41154 cat >conftest.$ac_ext <<_ACEOF
41155 /* confdefs.h. */
41156 _ACEOF
41157 cat confdefs.h >>conftest.$ac_ext
41158 cat >>conftest.$ac_ext <<_ACEOF
41159 /* end confdefs.h. */
41160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41162 #define $ac_func innocuous_$ac_func
41163
41164 /* System header to define __stub macros and hopefully few prototypes,
41165 which can conflict with char $ac_func (); below.
41166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41167 <limits.h> exists even on freestanding compilers. */
41168
41169 #ifdef __STDC__
41170 # include <limits.h>
41171 #else
41172 # include <assert.h>
41173 #endif
41174
41175 #undef $ac_func
41176
41177 /* Override any GCC internal prototype to avoid an error.
41178 Use char because int might match the return type of a GCC
41179 builtin and then its argument prototype would still apply. */
41180 #ifdef __cplusplus
41181 extern "C"
41182 #endif
41183 char $ac_func ();
41184 /* The GNU C library defines this for functions which it implements
41185 to always fail with ENOSYS. Some functions are actually named
41186 something starting with __ and the normal name is an alias. */
41187 #if defined __stub_$ac_func || defined __stub___$ac_func
41188 choke me
41189 #endif
41190
41191 int
41192 main ()
41193 {
41194 return $ac_func ();
41195 ;
41196 return 0;
41197 }
41198 _ACEOF
41199 rm -f conftest.$ac_objext conftest$ac_exeext
41200 if { (ac_try="$ac_link"
41201 case "(($ac_try" in
41202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41203 *) ac_try_echo=$ac_try;;
41204 esac
41205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41206 (eval "$ac_link") 2>conftest.er1
41207 ac_status=$?
41208 grep -v '^ *+' conftest.er1 >conftest.err
41209 rm -f conftest.er1
41210 cat conftest.err >&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } && {
41213 test -z "$ac_c_werror_flag" ||
41214 test ! -s conftest.err
41215 } && test -s conftest$ac_exeext &&
41216 $as_test_x conftest$ac_exeext; then
41217 eval "$as_ac_var=yes"
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222 eval "$as_ac_var=no"
41223 fi
41224
41225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41226 conftest$ac_exeext conftest.$ac_ext
41227 fi
41228 ac_res=`eval echo '${'$as_ac_var'}'`
41229 { echo "$as_me:$LINENO: result: $ac_res" >&5
41230 echo "${ECHO_T}$ac_res" >&6; }
41231 if test `eval echo '${'$as_ac_var'}'` = yes; then
41232 cat >>confdefs.h <<_ACEOF
41233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41234 _ACEOF
41235
41236 fi
41237 done
41238
41239
41240 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41241 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41242 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41243 echo $ECHO_N "(cached) $ECHO_C" >&6
41244 else
41245
41246 ac_ext=cpp
41247 ac_cpp='$CXXCPP $CPPFLAGS'
41248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41251
41252 cat >conftest.$ac_ext <<_ACEOF
41253 /* confdefs.h. */
41254 _ACEOF
41255 cat confdefs.h >>conftest.$ac_ext
41256 cat >>conftest.$ac_ext <<_ACEOF
41257 /* end confdefs.h. */
41258 #include <pthread.h>
41259 void ThreadCleanupFunc(void *p);
41260
41261 int
41262 main ()
41263 {
41264
41265 void *p;
41266 pthread_cleanup_push(ThreadCleanupFunc, p);
41267 pthread_cleanup_pop(0);
41268
41269 ;
41270 return 0;
41271 }
41272 _ACEOF
41273 rm -f conftest.$ac_objext
41274 if { (ac_try="$ac_compile"
41275 case "(($ac_try" in
41276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41277 *) ac_try_echo=$ac_try;;
41278 esac
41279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41280 (eval "$ac_compile") 2>conftest.er1
41281 ac_status=$?
41282 grep -v '^ *+' conftest.er1 >conftest.err
41283 rm -f conftest.er1
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } && {
41287 test -z "$ac_cxx_werror_flag" ||
41288 test ! -s conftest.err
41289 } && test -s conftest.$ac_objext; then
41290
41291 wx_cv_func_pthread_cleanup=yes
41292
41293 else
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41296
41297
41298 wx_cv_func_pthread_cleanup=no
41299
41300
41301 fi
41302
41303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41304 ac_ext=c
41305 ac_cpp='$CPP $CPPFLAGS'
41306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41309
41310
41311 fi
41312 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41313 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41314 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41315 cat >>confdefs.h <<\_ACEOF
41316 #define wxHAVE_PTHREAD_CLEANUP 1
41317 _ACEOF
41318
41319 fi
41320
41321
41322 for ac_header in sched.h
41323 do
41324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41325 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41328 echo $ECHO_N "(cached) $ECHO_C" >&6
41329 else
41330 cat >conftest.$ac_ext <<_ACEOF
41331 /* confdefs.h. */
41332 _ACEOF
41333 cat confdefs.h >>conftest.$ac_ext
41334 cat >>conftest.$ac_ext <<_ACEOF
41335 /* end confdefs.h. */
41336 $ac_includes_default
41337
41338 #include <$ac_header>
41339 _ACEOF
41340 rm -f conftest.$ac_objext
41341 if { (ac_try="$ac_compile"
41342 case "(($ac_try" in
41343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41344 *) ac_try_echo=$ac_try;;
41345 esac
41346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41347 (eval "$ac_compile") 2>conftest.er1
41348 ac_status=$?
41349 grep -v '^ *+' conftest.er1 >conftest.err
41350 rm -f conftest.er1
41351 cat conftest.err >&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); } && {
41354 test -z "$ac_c_werror_flag" ||
41355 test ! -s conftest.err
41356 } && test -s conftest.$ac_objext; then
41357 eval "$as_ac_Header=yes"
41358 else
41359 echo "$as_me: failed program was:" >&5
41360 sed 's/^/| /' conftest.$ac_ext >&5
41361
41362 eval "$as_ac_Header=no"
41363 fi
41364
41365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41366 fi
41367 ac_res=`eval echo '${'$as_ac_Header'}'`
41368 { echo "$as_me:$LINENO: result: $ac_res" >&5
41369 echo "${ECHO_T}$ac_res" >&6; }
41370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41371 cat >>confdefs.h <<_ACEOF
41372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41373 _ACEOF
41374
41375 fi
41376
41377 done
41378
41379 if test "$ac_cv_header_sched_h" = "yes"; then
41380 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41381 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41382 if test "${ac_cv_func_sched_yield+set}" = set; then
41383 echo $ECHO_N "(cached) $ECHO_C" >&6
41384 else
41385 cat >conftest.$ac_ext <<_ACEOF
41386 /* confdefs.h. */
41387 _ACEOF
41388 cat confdefs.h >>conftest.$ac_ext
41389 cat >>conftest.$ac_ext <<_ACEOF
41390 /* end confdefs.h. */
41391 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41393 #define sched_yield innocuous_sched_yield
41394
41395 /* System header to define __stub macros and hopefully few prototypes,
41396 which can conflict with char sched_yield (); below.
41397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41398 <limits.h> exists even on freestanding compilers. */
41399
41400 #ifdef __STDC__
41401 # include <limits.h>
41402 #else
41403 # include <assert.h>
41404 #endif
41405
41406 #undef sched_yield
41407
41408 /* Override any GCC internal prototype to avoid an error.
41409 Use char because int might match the return type of a GCC
41410 builtin and then its argument prototype would still apply. */
41411 #ifdef __cplusplus
41412 extern "C"
41413 #endif
41414 char sched_yield ();
41415 /* The GNU C library defines this for functions which it implements
41416 to always fail with ENOSYS. Some functions are actually named
41417 something starting with __ and the normal name is an alias. */
41418 #if defined __stub_sched_yield || defined __stub___sched_yield
41419 choke me
41420 #endif
41421
41422 int
41423 main ()
41424 {
41425 return sched_yield ();
41426 ;
41427 return 0;
41428 }
41429 _ACEOF
41430 rm -f conftest.$ac_objext conftest$ac_exeext
41431 if { (ac_try="$ac_link"
41432 case "(($ac_try" in
41433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41434 *) ac_try_echo=$ac_try;;
41435 esac
41436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41437 (eval "$ac_link") 2>conftest.er1
41438 ac_status=$?
41439 grep -v '^ *+' conftest.er1 >conftest.err
41440 rm -f conftest.er1
41441 cat conftest.err >&5
41442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41443 (exit $ac_status); } && {
41444 test -z "$ac_c_werror_flag" ||
41445 test ! -s conftest.err
41446 } && test -s conftest$ac_exeext &&
41447 $as_test_x conftest$ac_exeext; then
41448 ac_cv_func_sched_yield=yes
41449 else
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41452
41453 ac_cv_func_sched_yield=no
41454 fi
41455
41456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41457 conftest$ac_exeext conftest.$ac_ext
41458 fi
41459 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41460 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41461 if test $ac_cv_func_sched_yield = yes; then
41462 cat >>confdefs.h <<\_ACEOF
41463 #define HAVE_SCHED_YIELD 1
41464 _ACEOF
41465
41466 else
41467
41468 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41469 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41470 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41471 echo $ECHO_N "(cached) $ECHO_C" >&6
41472 else
41473 ac_check_lib_save_LIBS=$LIBS
41474 LIBS="-lposix4 $LIBS"
41475 cat >conftest.$ac_ext <<_ACEOF
41476 /* confdefs.h. */
41477 _ACEOF
41478 cat confdefs.h >>conftest.$ac_ext
41479 cat >>conftest.$ac_ext <<_ACEOF
41480 /* end confdefs.h. */
41481
41482 /* Override any GCC internal prototype to avoid an error.
41483 Use char because int might match the return type of a GCC
41484 builtin and then its argument prototype would still apply. */
41485 #ifdef __cplusplus
41486 extern "C"
41487 #endif
41488 char sched_yield ();
41489 int
41490 main ()
41491 {
41492 return sched_yield ();
41493 ;
41494 return 0;
41495 }
41496 _ACEOF
41497 rm -f conftest.$ac_objext conftest$ac_exeext
41498 if { (ac_try="$ac_link"
41499 case "(($ac_try" in
41500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41501 *) ac_try_echo=$ac_try;;
41502 esac
41503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41504 (eval "$ac_link") 2>conftest.er1
41505 ac_status=$?
41506 grep -v '^ *+' conftest.er1 >conftest.err
41507 rm -f conftest.er1
41508 cat conftest.err >&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); } && {
41511 test -z "$ac_c_werror_flag" ||
41512 test ! -s conftest.err
41513 } && test -s conftest$ac_exeext &&
41514 $as_test_x conftest$ac_exeext; then
41515 ac_cv_lib_posix4_sched_yield=yes
41516 else
41517 echo "$as_me: failed program was:" >&5
41518 sed 's/^/| /' conftest.$ac_ext >&5
41519
41520 ac_cv_lib_posix4_sched_yield=no
41521 fi
41522
41523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41524 conftest$ac_exeext conftest.$ac_ext
41525 LIBS=$ac_check_lib_save_LIBS
41526 fi
41527 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41528 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41529 if test $ac_cv_lib_posix4_sched_yield = yes; then
41530 cat >>confdefs.h <<\_ACEOF
41531 #define HAVE_SCHED_YIELD 1
41532 _ACEOF
41533 POSIX4_LINK=" -lposix4"
41534 else
41535 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41536 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41537
41538 fi
41539
41540
41541
41542 fi
41543
41544 fi
41545
41546 HAVE_PRIOR_FUNCS=0
41547 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41548 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41549 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41550 echo $ECHO_N "(cached) $ECHO_C" >&6
41551 else
41552 cat >conftest.$ac_ext <<_ACEOF
41553 /* confdefs.h. */
41554 _ACEOF
41555 cat confdefs.h >>conftest.$ac_ext
41556 cat >>conftest.$ac_ext <<_ACEOF
41557 /* end confdefs.h. */
41558 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41560 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41561
41562 /* System header to define __stub macros and hopefully few prototypes,
41563 which can conflict with char pthread_attr_getschedpolicy (); below.
41564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41565 <limits.h> exists even on freestanding compilers. */
41566
41567 #ifdef __STDC__
41568 # include <limits.h>
41569 #else
41570 # include <assert.h>
41571 #endif
41572
41573 #undef pthread_attr_getschedpolicy
41574
41575 /* Override any GCC internal prototype to avoid an error.
41576 Use char because int might match the return type of a GCC
41577 builtin and then its argument prototype would still apply. */
41578 #ifdef __cplusplus
41579 extern "C"
41580 #endif
41581 char pthread_attr_getschedpolicy ();
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41586 choke me
41587 #endif
41588
41589 int
41590 main ()
41591 {
41592 return pthread_attr_getschedpolicy ();
41593 ;
41594 return 0;
41595 }
41596 _ACEOF
41597 rm -f conftest.$ac_objext conftest$ac_exeext
41598 if { (ac_try="$ac_link"
41599 case "(($ac_try" in
41600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41601 *) ac_try_echo=$ac_try;;
41602 esac
41603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41604 (eval "$ac_link") 2>conftest.er1
41605 ac_status=$?
41606 grep -v '^ *+' conftest.er1 >conftest.err
41607 rm -f conftest.er1
41608 cat conftest.err >&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } && {
41611 test -z "$ac_c_werror_flag" ||
41612 test ! -s conftest.err
41613 } && test -s conftest$ac_exeext &&
41614 $as_test_x conftest$ac_exeext; then
41615 ac_cv_func_pthread_attr_getschedpolicy=yes
41616 else
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620 ac_cv_func_pthread_attr_getschedpolicy=no
41621 fi
41622
41623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41624 conftest$ac_exeext conftest.$ac_ext
41625 fi
41626 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41627 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41628 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41629 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41630 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41631 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41632 echo $ECHO_N "(cached) $ECHO_C" >&6
41633 else
41634 cat >conftest.$ac_ext <<_ACEOF
41635 /* confdefs.h. */
41636 _ACEOF
41637 cat confdefs.h >>conftest.$ac_ext
41638 cat >>conftest.$ac_ext <<_ACEOF
41639 /* end confdefs.h. */
41640 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41642 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41643
41644 /* System header to define __stub macros and hopefully few prototypes,
41645 which can conflict with char pthread_attr_setschedparam (); below.
41646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41647 <limits.h> exists even on freestanding compilers. */
41648
41649 #ifdef __STDC__
41650 # include <limits.h>
41651 #else
41652 # include <assert.h>
41653 #endif
41654
41655 #undef pthread_attr_setschedparam
41656
41657 /* Override any GCC internal prototype to avoid an error.
41658 Use char because int might match the return type of a GCC
41659 builtin and then its argument prototype would still apply. */
41660 #ifdef __cplusplus
41661 extern "C"
41662 #endif
41663 char pthread_attr_setschedparam ();
41664 /* The GNU C library defines this for functions which it implements
41665 to always fail with ENOSYS. Some functions are actually named
41666 something starting with __ and the normal name is an alias. */
41667 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41668 choke me
41669 #endif
41670
41671 int
41672 main ()
41673 {
41674 return pthread_attr_setschedparam ();
41675 ;
41676 return 0;
41677 }
41678 _ACEOF
41679 rm -f conftest.$ac_objext conftest$ac_exeext
41680 if { (ac_try="$ac_link"
41681 case "(($ac_try" in
41682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41683 *) ac_try_echo=$ac_try;;
41684 esac
41685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41686 (eval "$ac_link") 2>conftest.er1
41687 ac_status=$?
41688 grep -v '^ *+' conftest.er1 >conftest.err
41689 rm -f conftest.er1
41690 cat conftest.err >&5
41691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692 (exit $ac_status); } && {
41693 test -z "$ac_c_werror_flag" ||
41694 test ! -s conftest.err
41695 } && test -s conftest$ac_exeext &&
41696 $as_test_x conftest$ac_exeext; then
41697 ac_cv_func_pthread_attr_setschedparam=yes
41698 else
41699 echo "$as_me: failed program was:" >&5
41700 sed 's/^/| /' conftest.$ac_ext >&5
41701
41702 ac_cv_func_pthread_attr_setschedparam=no
41703 fi
41704
41705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41706 conftest$ac_exeext conftest.$ac_ext
41707 fi
41708 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41709 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41710 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41711 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41712 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41713 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41714 echo $ECHO_N "(cached) $ECHO_C" >&6
41715 else
41716 cat >conftest.$ac_ext <<_ACEOF
41717 /* confdefs.h. */
41718 _ACEOF
41719 cat confdefs.h >>conftest.$ac_ext
41720 cat >>conftest.$ac_ext <<_ACEOF
41721 /* end confdefs.h. */
41722 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41724 #define sched_get_priority_max innocuous_sched_get_priority_max
41725
41726 /* System header to define __stub macros and hopefully few prototypes,
41727 which can conflict with char sched_get_priority_max (); below.
41728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41729 <limits.h> exists even on freestanding compilers. */
41730
41731 #ifdef __STDC__
41732 # include <limits.h>
41733 #else
41734 # include <assert.h>
41735 #endif
41736
41737 #undef sched_get_priority_max
41738
41739 /* Override any GCC internal prototype to avoid an error.
41740 Use char because int might match the return type of a GCC
41741 builtin and then its argument prototype would still apply. */
41742 #ifdef __cplusplus
41743 extern "C"
41744 #endif
41745 char sched_get_priority_max ();
41746 /* The GNU C library defines this for functions which it implements
41747 to always fail with ENOSYS. Some functions are actually named
41748 something starting with __ and the normal name is an alias. */
41749 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41750 choke me
41751 #endif
41752
41753 int
41754 main ()
41755 {
41756 return sched_get_priority_max ();
41757 ;
41758 return 0;
41759 }
41760 _ACEOF
41761 rm -f conftest.$ac_objext conftest$ac_exeext
41762 if { (ac_try="$ac_link"
41763 case "(($ac_try" in
41764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41765 *) ac_try_echo=$ac_try;;
41766 esac
41767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41768 (eval "$ac_link") 2>conftest.er1
41769 ac_status=$?
41770 grep -v '^ *+' conftest.er1 >conftest.err
41771 rm -f conftest.er1
41772 cat conftest.err >&5
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); } && {
41775 test -z "$ac_c_werror_flag" ||
41776 test ! -s conftest.err
41777 } && test -s conftest$ac_exeext &&
41778 $as_test_x conftest$ac_exeext; then
41779 ac_cv_func_sched_get_priority_max=yes
41780 else
41781 echo "$as_me: failed program was:" >&5
41782 sed 's/^/| /' conftest.$ac_ext >&5
41783
41784 ac_cv_func_sched_get_priority_max=no
41785 fi
41786
41787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41788 conftest$ac_exeext conftest.$ac_ext
41789 fi
41790 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41791 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41792 if test $ac_cv_func_sched_get_priority_max = yes; then
41793 HAVE_PRIOR_FUNCS=1
41794 else
41795 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41796 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41797 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41798 echo $ECHO_N "(cached) $ECHO_C" >&6
41799 else
41800 ac_check_lib_save_LIBS=$LIBS
41801 LIBS="-lposix4 $LIBS"
41802 cat >conftest.$ac_ext <<_ACEOF
41803 /* confdefs.h. */
41804 _ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808
41809 /* Override any GCC internal prototype to avoid an error.
41810 Use char because int might match the return type of a GCC
41811 builtin and then its argument prototype would still apply. */
41812 #ifdef __cplusplus
41813 extern "C"
41814 #endif
41815 char sched_get_priority_max ();
41816 int
41817 main ()
41818 {
41819 return sched_get_priority_max ();
41820 ;
41821 return 0;
41822 }
41823 _ACEOF
41824 rm -f conftest.$ac_objext conftest$ac_exeext
41825 if { (ac_try="$ac_link"
41826 case "(($ac_try" in
41827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41828 *) ac_try_echo=$ac_try;;
41829 esac
41830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41831 (eval "$ac_link") 2>conftest.er1
41832 ac_status=$?
41833 grep -v '^ *+' conftest.er1 >conftest.err
41834 rm -f conftest.er1
41835 cat conftest.err >&5
41836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837 (exit $ac_status); } && {
41838 test -z "$ac_c_werror_flag" ||
41839 test ! -s conftest.err
41840 } && test -s conftest$ac_exeext &&
41841 $as_test_x conftest$ac_exeext; then
41842 ac_cv_lib_posix4_sched_get_priority_max=yes
41843 else
41844 echo "$as_me: failed program was:" >&5
41845 sed 's/^/| /' conftest.$ac_ext >&5
41846
41847 ac_cv_lib_posix4_sched_get_priority_max=no
41848 fi
41849
41850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41851 conftest$ac_exeext conftest.$ac_ext
41852 LIBS=$ac_check_lib_save_LIBS
41853 fi
41854 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41855 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41856 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41857
41858 HAVE_PRIOR_FUNCS=1
41859 POSIX4_LINK=" -lposix4"
41860
41861 fi
41862
41863
41864 fi
41865
41866
41867 fi
41868
41869
41870 fi
41871
41872
41873 if test "$HAVE_PRIOR_FUNCS" = 1; then
41874 cat >>confdefs.h <<\_ACEOF
41875 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41876 _ACEOF
41877
41878 else
41879 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41880 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41881 fi
41882
41883 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41884 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41885 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 else
41888 cat >conftest.$ac_ext <<_ACEOF
41889 /* confdefs.h. */
41890 _ACEOF
41891 cat confdefs.h >>conftest.$ac_ext
41892 cat >>conftest.$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41894 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41896 #define pthread_cancel innocuous_pthread_cancel
41897
41898 /* System header to define __stub macros and hopefully few prototypes,
41899 which can conflict with char pthread_cancel (); below.
41900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41901 <limits.h> exists even on freestanding compilers. */
41902
41903 #ifdef __STDC__
41904 # include <limits.h>
41905 #else
41906 # include <assert.h>
41907 #endif
41908
41909 #undef pthread_cancel
41910
41911 /* Override any GCC internal prototype to avoid an error.
41912 Use char because int might match the return type of a GCC
41913 builtin and then its argument prototype would still apply. */
41914 #ifdef __cplusplus
41915 extern "C"
41916 #endif
41917 char pthread_cancel ();
41918 /* The GNU C library defines this for functions which it implements
41919 to always fail with ENOSYS. Some functions are actually named
41920 something starting with __ and the normal name is an alias. */
41921 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41922 choke me
41923 #endif
41924
41925 int
41926 main ()
41927 {
41928 return pthread_cancel ();
41929 ;
41930 return 0;
41931 }
41932 _ACEOF
41933 rm -f conftest.$ac_objext conftest$ac_exeext
41934 if { (ac_try="$ac_link"
41935 case "(($ac_try" in
41936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41937 *) ac_try_echo=$ac_try;;
41938 esac
41939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41940 (eval "$ac_link") 2>conftest.er1
41941 ac_status=$?
41942 grep -v '^ *+' conftest.er1 >conftest.err
41943 rm -f conftest.er1
41944 cat conftest.err >&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); } && {
41947 test -z "$ac_c_werror_flag" ||
41948 test ! -s conftest.err
41949 } && test -s conftest$ac_exeext &&
41950 $as_test_x conftest$ac_exeext; then
41951 ac_cv_func_pthread_cancel=yes
41952 else
41953 echo "$as_me: failed program was:" >&5
41954 sed 's/^/| /' conftest.$ac_ext >&5
41955
41956 ac_cv_func_pthread_cancel=no
41957 fi
41958
41959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41960 conftest$ac_exeext conftest.$ac_ext
41961 fi
41962 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41963 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41964 if test $ac_cv_func_pthread_cancel = yes; then
41965 cat >>confdefs.h <<\_ACEOF
41966 #define HAVE_PTHREAD_CANCEL 1
41967 _ACEOF
41968
41969 else
41970 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41971 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41972 fi
41973
41974
41975 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41976 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41977 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41980 cat >conftest.$ac_ext <<_ACEOF
41981 /* confdefs.h. */
41982 _ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41988 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41989
41990 /* System header to define __stub macros and hopefully few prototypes,
41991 which can conflict with char pthread_mutex_timedlock (); below.
41992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41993 <limits.h> exists even on freestanding compilers. */
41994
41995 #ifdef __STDC__
41996 # include <limits.h>
41997 #else
41998 # include <assert.h>
41999 #endif
42000
42001 #undef pthread_mutex_timedlock
42002
42003 /* Override any GCC internal prototype to avoid an error.
42004 Use char because int might match the return type of a GCC
42005 builtin and then its argument prototype would still apply. */
42006 #ifdef __cplusplus
42007 extern "C"
42008 #endif
42009 char pthread_mutex_timedlock ();
42010 /* The GNU C library defines this for functions which it implements
42011 to always fail with ENOSYS. Some functions are actually named
42012 something starting with __ and the normal name is an alias. */
42013 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42014 choke me
42015 #endif
42016
42017 int
42018 main ()
42019 {
42020 return pthread_mutex_timedlock ();
42021 ;
42022 return 0;
42023 }
42024 _ACEOF
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42030 esac
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42033 ac_status=$?
42034 grep -v '^ *+' conftest.er1 >conftest.err
42035 rm -f conftest.er1
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_func_pthread_mutex_timedlock=yes
42044 else
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42047
42048 ac_cv_func_pthread_mutex_timedlock=no
42049 fi
42050
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42053 fi
42054 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42055 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42056 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42057 cat >>confdefs.h <<\_ACEOF
42058 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42059 _ACEOF
42060
42061 else
42062 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42063 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42064 fi
42065
42066
42067 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42068 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42069 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 else
42072 cat >conftest.$ac_ext <<_ACEOF
42073 /* confdefs.h. */
42074 _ACEOF
42075 cat confdefs.h >>conftest.$ac_ext
42076 cat >>conftest.$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42078 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42080 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42081
42082 /* System header to define __stub macros and hopefully few prototypes,
42083 which can conflict with char pthread_attr_setstacksize (); below.
42084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42085 <limits.h> exists even on freestanding compilers. */
42086
42087 #ifdef __STDC__
42088 # include <limits.h>
42089 #else
42090 # include <assert.h>
42091 #endif
42092
42093 #undef pthread_attr_setstacksize
42094
42095 /* Override any GCC internal prototype to avoid an error.
42096 Use char because int might match the return type of a GCC
42097 builtin and then its argument prototype would still apply. */
42098 #ifdef __cplusplus
42099 extern "C"
42100 #endif
42101 char pthread_attr_setstacksize ();
42102 /* The GNU C library defines this for functions which it implements
42103 to always fail with ENOSYS. Some functions are actually named
42104 something starting with __ and the normal name is an alias. */
42105 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42106 choke me
42107 #endif
42108
42109 int
42110 main ()
42111 {
42112 return pthread_attr_setstacksize ();
42113 ;
42114 return 0;
42115 }
42116 _ACEOF
42117 rm -f conftest.$ac_objext conftest$ac_exeext
42118 if { (ac_try="$ac_link"
42119 case "(($ac_try" in
42120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42121 *) ac_try_echo=$ac_try;;
42122 esac
42123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42124 (eval "$ac_link") 2>conftest.er1
42125 ac_status=$?
42126 grep -v '^ *+' conftest.er1 >conftest.err
42127 rm -f conftest.er1
42128 cat conftest.err >&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } && {
42131 test -z "$ac_c_werror_flag" ||
42132 test ! -s conftest.err
42133 } && test -s conftest$ac_exeext &&
42134 $as_test_x conftest$ac_exeext; then
42135 ac_cv_func_pthread_attr_setstacksize=yes
42136 else
42137 echo "$as_me: failed program was:" >&5
42138 sed 's/^/| /' conftest.$ac_ext >&5
42139
42140 ac_cv_func_pthread_attr_setstacksize=no
42141 fi
42142
42143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42144 conftest$ac_exeext conftest.$ac_ext
42145 fi
42146 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42147 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42148 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42149 cat >>confdefs.h <<\_ACEOF
42150 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42151 _ACEOF
42152
42153 fi
42154
42155
42156
42157 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42158 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42159 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162
42163 cat >conftest.$ac_ext <<_ACEOF
42164 /* confdefs.h. */
42165 _ACEOF
42166 cat confdefs.h >>conftest.$ac_ext
42167 cat >>conftest.$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42169 #include <pthread.h>
42170 int
42171 main ()
42172 {
42173
42174 pthread_mutexattr_t attr;
42175 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42176
42177 ;
42178 return 0;
42179 }
42180 _ACEOF
42181 rm -f conftest.$ac_objext
42182 if { (ac_try="$ac_compile"
42183 case "(($ac_try" in
42184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42185 *) ac_try_echo=$ac_try;;
42186 esac
42187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42188 (eval "$ac_compile") 2>conftest.er1
42189 ac_status=$?
42190 grep -v '^ *+' conftest.er1 >conftest.err
42191 rm -f conftest.er1
42192 cat conftest.err >&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); } && {
42195 test -z "$ac_c_werror_flag" ||
42196 test ! -s conftest.err
42197 } && test -s conftest.$ac_objext; then
42198 wx_cv_type_pthread_mutexattr_t=yes
42199 else
42200 echo "$as_me: failed program was:" >&5
42201 sed 's/^/| /' conftest.$ac_ext >&5
42202
42203 wx_cv_type_pthread_mutexattr_t=no
42204
42205 fi
42206
42207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42208
42209 fi
42210 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42211 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42212
42213 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42214 cat >>confdefs.h <<\_ACEOF
42215 #define HAVE_PTHREAD_MUTEXATTR_T 1
42216 _ACEOF
42217
42218
42219 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42220 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42221 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42222 echo $ECHO_N "(cached) $ECHO_C" >&6
42223 else
42224
42225 cat >conftest.$ac_ext <<_ACEOF
42226 /* confdefs.h. */
42227 _ACEOF
42228 cat confdefs.h >>conftest.$ac_ext
42229 cat >>conftest.$ac_ext <<_ACEOF
42230 /* end confdefs.h. */
42231 #include <pthread.h>
42232 int
42233 main ()
42234 {
42235
42236 pthread_mutexattr_t attr;
42237 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42238
42239 ;
42240 return 0;
42241 }
42242 _ACEOF
42243 rm -f conftest.$ac_objext
42244 if { (ac_try="$ac_compile"
42245 case "(($ac_try" in
42246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42247 *) ac_try_echo=$ac_try;;
42248 esac
42249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42250 (eval "$ac_compile") 2>conftest.er1
42251 ac_status=$?
42252 grep -v '^ *+' conftest.er1 >conftest.err
42253 rm -f conftest.er1
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && {
42257 test -z "$ac_c_werror_flag" ||
42258 test ! -s conftest.err
42259 } && test -s conftest.$ac_objext; then
42260 wx_cv_func_pthread_mutexattr_settype_decl=yes
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265 wx_cv_func_pthread_mutexattr_settype_decl=no
42266
42267 fi
42268
42269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42270
42271 fi
42272 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42273 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42274 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42275 cat >>confdefs.h <<\_ACEOF
42276 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42277 _ACEOF
42278
42279 fi
42280 else
42281 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42282 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42283 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 else
42286
42287 cat >conftest.$ac_ext <<_ACEOF
42288 /* confdefs.h. */
42289 _ACEOF
42290 cat confdefs.h >>conftest.$ac_ext
42291 cat >>conftest.$ac_ext <<_ACEOF
42292 /* end confdefs.h. */
42293 #include <pthread.h>
42294 int
42295 main ()
42296 {
42297
42298 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42299
42300 ;
42301 return 0;
42302 }
42303 _ACEOF
42304 rm -f conftest.$ac_objext
42305 if { (ac_try="$ac_compile"
42306 case "(($ac_try" in
42307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42309 esac
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_compile") 2>conftest.er1
42312 ac_status=$?
42313 grep -v '^ *+' conftest.er1 >conftest.err
42314 rm -f conftest.er1
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_c_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest.$ac_objext; then
42321
42322 wx_cv_type_pthread_rec_mutex_init=yes
42323
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328
42329 wx_cv_type_pthread_rec_mutex_init=no
42330
42331
42332 fi
42333
42334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42335
42336 fi
42337 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42338 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42339 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42340 cat >>confdefs.h <<\_ACEOF
42341 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42342 _ACEOF
42343
42344 else
42345 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42346 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42347 fi
42348 fi
42349 fi
42350
42351 else
42352 if test "$wxUSE_THREADS" = "yes" ; then
42353 case "${host}" in
42354 *-*-mingw32* )
42355 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42356 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42357 if test "${wx_cv_cflags_mthread+set}" = set; then
42358 echo $ECHO_N "(cached) $ECHO_C" >&6
42359 else
42360
42361 CFLAGS_OLD="$CFLAGS"
42362 CFLAGS="-mthreads $CFLAGS"
42363 cat >conftest.$ac_ext <<_ACEOF
42364 /* confdefs.h. */
42365 _ACEOF
42366 cat confdefs.h >>conftest.$ac_ext
42367 cat >>conftest.$ac_ext <<_ACEOF
42368 /* end confdefs.h. */
42369
42370 int
42371 main ()
42372 {
42373
42374 ;
42375 return 0;
42376 }
42377 _ACEOF
42378 rm -f conftest.$ac_objext
42379 if { (ac_try="$ac_compile"
42380 case "(($ac_try" in
42381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42382 *) ac_try_echo=$ac_try;;
42383 esac
42384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42385 (eval "$ac_compile") 2>conftest.er1
42386 ac_status=$?
42387 grep -v '^ *+' conftest.er1 >conftest.err
42388 rm -f conftest.er1
42389 cat conftest.err >&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); } && {
42392 test -z "$ac_c_werror_flag" ||
42393 test ! -s conftest.err
42394 } && test -s conftest.$ac_objext; then
42395 wx_cv_cflags_mthread=yes
42396 else
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42399
42400 wx_cv_cflags_mthread=no
42401
42402 fi
42403
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405
42406
42407 fi
42408 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42409 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42410
42411 if test "$wx_cv_cflags_mthread" = "yes"; then
42412 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42413 LDFLAGS="$LDFLAGS -mthreads"
42414 else
42415 CFLAGS="$CFLAGS_OLD"
42416 fi
42417 ;;
42418 *-pc-os2*emx )
42419 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42420 LDFLAGS="$LDFLAGS -Zmt"
42421 ;;
42422 esac
42423 fi
42424 fi
42425
42426 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42427 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42428 if test "${ac_cv_func_localtime_r+set}" = set; then
42429 echo $ECHO_N "(cached) $ECHO_C" >&6
42430 else
42431 cat >conftest.$ac_ext <<_ACEOF
42432 /* confdefs.h. */
42433 _ACEOF
42434 cat confdefs.h >>conftest.$ac_ext
42435 cat >>conftest.$ac_ext <<_ACEOF
42436 /* end confdefs.h. */
42437 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42439 #define localtime_r innocuous_localtime_r
42440
42441 /* System header to define __stub macros and hopefully few prototypes,
42442 which can conflict with char localtime_r (); below.
42443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42444 <limits.h> exists even on freestanding compilers. */
42445
42446 #ifdef __STDC__
42447 # include <limits.h>
42448 #else
42449 # include <assert.h>
42450 #endif
42451
42452 #undef localtime_r
42453
42454 /* Override any GCC internal prototype to avoid an error.
42455 Use char because int might match the return type of a GCC
42456 builtin and then its argument prototype would still apply. */
42457 #ifdef __cplusplus
42458 extern "C"
42459 #endif
42460 char localtime_r ();
42461 /* The GNU C library defines this for functions which it implements
42462 to always fail with ENOSYS. Some functions are actually named
42463 something starting with __ and the normal name is an alias. */
42464 #if defined __stub_localtime_r || defined __stub___localtime_r
42465 choke me
42466 #endif
42467
42468 int
42469 main ()
42470 {
42471 return localtime_r ();
42472 ;
42473 return 0;
42474 }
42475 _ACEOF
42476 rm -f conftest.$ac_objext conftest$ac_exeext
42477 if { (ac_try="$ac_link"
42478 case "(($ac_try" in
42479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42480 *) ac_try_echo=$ac_try;;
42481 esac
42482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42483 (eval "$ac_link") 2>conftest.er1
42484 ac_status=$?
42485 grep -v '^ *+' conftest.er1 >conftest.err
42486 rm -f conftest.er1
42487 cat conftest.err >&5
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); } && {
42490 test -z "$ac_c_werror_flag" ||
42491 test ! -s conftest.err
42492 } && test -s conftest$ac_exeext &&
42493 $as_test_x conftest$ac_exeext; then
42494 ac_cv_func_localtime_r=yes
42495 else
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.$ac_ext >&5
42498
42499 ac_cv_func_localtime_r=no
42500 fi
42501
42502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42503 conftest$ac_exeext conftest.$ac_ext
42504 fi
42505 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42506 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42507 if test $ac_cv_func_localtime_r = yes; then
42508 cat >>confdefs.h <<\_ACEOF
42509 #define HAVE_LOCALTIME_R 1
42510 _ACEOF
42511
42512 fi
42513
42514 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42515 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42516 if test "${ac_cv_func_gmtime_r+set}" = set; then
42517 echo $ECHO_N "(cached) $ECHO_C" >&6
42518 else
42519 cat >conftest.$ac_ext <<_ACEOF
42520 /* confdefs.h. */
42521 _ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42525 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42527 #define gmtime_r innocuous_gmtime_r
42528
42529 /* System header to define __stub macros and hopefully few prototypes,
42530 which can conflict with char gmtime_r (); below.
42531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42532 <limits.h> exists even on freestanding compilers. */
42533
42534 #ifdef __STDC__
42535 # include <limits.h>
42536 #else
42537 # include <assert.h>
42538 #endif
42539
42540 #undef gmtime_r
42541
42542 /* Override any GCC internal prototype to avoid an error.
42543 Use char because int might match the return type of a GCC
42544 builtin and then its argument prototype would still apply. */
42545 #ifdef __cplusplus
42546 extern "C"
42547 #endif
42548 char gmtime_r ();
42549 /* The GNU C library defines this for functions which it implements
42550 to always fail with ENOSYS. Some functions are actually named
42551 something starting with __ and the normal name is an alias. */
42552 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42553 choke me
42554 #endif
42555
42556 int
42557 main ()
42558 {
42559 return gmtime_r ();
42560 ;
42561 return 0;
42562 }
42563 _ACEOF
42564 rm -f conftest.$ac_objext conftest$ac_exeext
42565 if { (ac_try="$ac_link"
42566 case "(($ac_try" in
42567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42568 *) ac_try_echo=$ac_try;;
42569 esac
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_link") 2>conftest.er1
42572 ac_status=$?
42573 grep -v '^ *+' conftest.er1 >conftest.err
42574 rm -f conftest.er1
42575 cat conftest.err >&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); } && {
42578 test -z "$ac_c_werror_flag" ||
42579 test ! -s conftest.err
42580 } && test -s conftest$ac_exeext &&
42581 $as_test_x conftest$ac_exeext; then
42582 ac_cv_func_gmtime_r=yes
42583 else
42584 echo "$as_me: failed program was:" >&5
42585 sed 's/^/| /' conftest.$ac_ext >&5
42586
42587 ac_cv_func_gmtime_r=no
42588 fi
42589
42590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42591 conftest$ac_exeext conftest.$ac_ext
42592 fi
42593 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42594 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42595 if test $ac_cv_func_gmtime_r = yes; then
42596 cat >>confdefs.h <<\_ACEOF
42597 #define HAVE_GMTIME_R 1
42598 _ACEOF
42599
42600 fi
42601
42602 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42603 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42604 if test "${ac_cv_func_readdir_r+set}" = set; then
42605 echo $ECHO_N "(cached) $ECHO_C" >&6
42606 else
42607 cat >conftest.$ac_ext <<_ACEOF
42608 /* confdefs.h. */
42609 _ACEOF
42610 cat confdefs.h >>conftest.$ac_ext
42611 cat >>conftest.$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42615 #define readdir_r innocuous_readdir_r
42616
42617 /* System header to define __stub macros and hopefully few prototypes,
42618 which can conflict with char readdir_r (); below.
42619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42620 <limits.h> exists even on freestanding compilers. */
42621
42622 #ifdef __STDC__
42623 # include <limits.h>
42624 #else
42625 # include <assert.h>
42626 #endif
42627
42628 #undef readdir_r
42629
42630 /* Override any GCC internal prototype to avoid an error.
42631 Use char because int might match the return type of a GCC
42632 builtin and then its argument prototype would still apply. */
42633 #ifdef __cplusplus
42634 extern "C"
42635 #endif
42636 char readdir_r ();
42637 /* The GNU C library defines this for functions which it implements
42638 to always fail with ENOSYS. Some functions are actually named
42639 something starting with __ and the normal name is an alias. */
42640 #if defined __stub_readdir_r || defined __stub___readdir_r
42641 choke me
42642 #endif
42643
42644 int
42645 main ()
42646 {
42647 return readdir_r ();
42648 ;
42649 return 0;
42650 }
42651 _ACEOF
42652 rm -f conftest.$ac_objext conftest$ac_exeext
42653 if { (ac_try="$ac_link"
42654 case "(($ac_try" in
42655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42657 esac
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_link") 2>conftest.er1
42660 ac_status=$?
42661 grep -v '^ *+' conftest.er1 >conftest.err
42662 rm -f conftest.er1
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest$ac_exeext &&
42669 $as_test_x conftest$ac_exeext; then
42670 ac_cv_func_readdir_r=yes
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 ac_cv_func_readdir_r=no
42676 fi
42677
42678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42679 conftest$ac_exeext conftest.$ac_ext
42680 fi
42681 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42682 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42683 if test $ac_cv_func_readdir_r = yes; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define HAVE_READDIR_R 1
42686 _ACEOF
42687
42688 fi
42689
42690
42691
42692
42693 ac_ext=c
42694 ac_cpp='$CPP $CPPFLAGS'
42695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42698
42699 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42700 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42701
42702 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42704 else
42705
42706
42707 ################################################################
42708
42709 ac_cv_func_which_gethostbyname_r=unknown
42710
42711 #
42712 # ONE ARGUMENT (sanity check)
42713 #
42714
42715 # This should fail, as there is no variant of gethostbyname_r() that takes
42716 # a single argument. If it actually compiles, then we can assume that
42717 # netdb.h is not declaring the function, and the compiler is thereby
42718 # assuming an implicit prototype. In which case, we're out of luck.
42719 #
42720 cat >conftest.$ac_ext <<_ACEOF
42721 /* confdefs.h. */
42722 _ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 #include <netdb.h>
42727 int
42728 main ()
42729 {
42730
42731 char *name = "www.gnu.org";
42732 (void)gethostbyname_r(name) /* ; */
42733
42734 ;
42735 return 0;
42736 }
42737 _ACEOF
42738 rm -f conftest.$ac_objext
42739 if { (ac_try="$ac_compile"
42740 case "(($ac_try" in
42741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42742 *) ac_try_echo=$ac_try;;
42743 esac
42744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42745 (eval "$ac_compile") 2>conftest.er1
42746 ac_status=$?
42747 grep -v '^ *+' conftest.er1 >conftest.err
42748 rm -f conftest.er1
42749 cat conftest.err >&5
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); } && {
42752 test -z "$ac_c_werror_flag" ||
42753 test ! -s conftest.err
42754 } && test -s conftest.$ac_objext; then
42755 ac_cv_func_which_gethostbyname_r=no
42756 else
42757 echo "$as_me: failed program was:" >&5
42758 sed 's/^/| /' conftest.$ac_ext >&5
42759
42760
42761 fi
42762
42763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42764
42765 #
42766 # SIX ARGUMENTS
42767 # (e.g. Linux)
42768 #
42769
42770 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42771
42772 cat >conftest.$ac_ext <<_ACEOF
42773 /* confdefs.h. */
42774 _ACEOF
42775 cat confdefs.h >>conftest.$ac_ext
42776 cat >>conftest.$ac_ext <<_ACEOF
42777 /* end confdefs.h. */
42778 #include <netdb.h>
42779 int
42780 main ()
42781 {
42782
42783 char *name = "www.gnu.org";
42784 struct hostent ret, *retp;
42785 char buf[1024];
42786 int buflen = 1024;
42787 int my_h_errno;
42788 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42789
42790 ;
42791 return 0;
42792 }
42793 _ACEOF
42794 rm -f conftest.$ac_objext
42795 if { (ac_try="$ac_compile"
42796 case "(($ac_try" in
42797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42799 esac
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_compile") 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest.$ac_objext; then
42811 ac_cv_func_which_gethostbyname_r=six
42812 else
42813 echo "$as_me: failed program was:" >&5
42814 sed 's/^/| /' conftest.$ac_ext >&5
42815
42816
42817 fi
42818
42819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42820
42821 fi
42822
42823 #
42824 # FIVE ARGUMENTS
42825 # (e.g. Solaris)
42826 #
42827
42828 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42829
42830 cat >conftest.$ac_ext <<_ACEOF
42831 /* confdefs.h. */
42832 _ACEOF
42833 cat confdefs.h >>conftest.$ac_ext
42834 cat >>conftest.$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42836 #include <netdb.h>
42837 int
42838 main ()
42839 {
42840
42841 char *name = "www.gnu.org";
42842 struct hostent ret;
42843 char buf[1024];
42844 int buflen = 1024;
42845 int my_h_errno;
42846 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42847
42848 ;
42849 return 0;
42850 }
42851 _ACEOF
42852 rm -f conftest.$ac_objext
42853 if { (ac_try="$ac_compile"
42854 case "(($ac_try" in
42855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42856 *) ac_try_echo=$ac_try;;
42857 esac
42858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42859 (eval "$ac_compile") 2>conftest.er1
42860 ac_status=$?
42861 grep -v '^ *+' conftest.er1 >conftest.err
42862 rm -f conftest.er1
42863 cat conftest.err >&5
42864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42865 (exit $ac_status); } && {
42866 test -z "$ac_c_werror_flag" ||
42867 test ! -s conftest.err
42868 } && test -s conftest.$ac_objext; then
42869 ac_cv_func_which_gethostbyname_r=five
42870 else
42871 echo "$as_me: failed program was:" >&5
42872 sed 's/^/| /' conftest.$ac_ext >&5
42873
42874
42875 fi
42876
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878
42879 fi
42880
42881 #
42882 # THREE ARGUMENTS
42883 # (e.g. AIX, HP-UX, Tru64)
42884 #
42885
42886 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42887
42888 cat >conftest.$ac_ext <<_ACEOF
42889 /* confdefs.h. */
42890 _ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h. */
42894 #include <netdb.h>
42895 int
42896 main ()
42897 {
42898
42899 char *name = "www.gnu.org";
42900 struct hostent ret;
42901 struct hostent_data data;
42902 (void)gethostbyname_r(name, &ret, &data) /* ; */
42903
42904 ;
42905 return 0;
42906 }
42907 _ACEOF
42908 rm -f conftest.$ac_objext
42909 if { (ac_try="$ac_compile"
42910 case "(($ac_try" in
42911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42912 *) ac_try_echo=$ac_try;;
42913 esac
42914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42915 (eval "$ac_compile") 2>conftest.er1
42916 ac_status=$?
42917 grep -v '^ *+' conftest.er1 >conftest.err
42918 rm -f conftest.er1
42919 cat conftest.err >&5
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); } && {
42922 test -z "$ac_c_werror_flag" ||
42923 test ! -s conftest.err
42924 } && test -s conftest.$ac_objext; then
42925 ac_cv_func_which_gethostbyname_r=three
42926 else
42927 echo "$as_me: failed program was:" >&5
42928 sed 's/^/| /' conftest.$ac_ext >&5
42929
42930
42931 fi
42932
42933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42934
42935 fi
42936
42937 ################################################################
42938
42939
42940 fi
42941
42942 case "$ac_cv_func_which_gethostbyname_r" in
42943 three)
42944 { echo "$as_me:$LINENO: result: three" >&5
42945 echo "${ECHO_T}three" >&6; }
42946 cat >>confdefs.h <<\_ACEOF
42947 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42948 _ACEOF
42949
42950 ;;
42951
42952 five)
42953 { echo "$as_me:$LINENO: result: five" >&5
42954 echo "${ECHO_T}five" >&6; }
42955 cat >>confdefs.h <<\_ACEOF
42956 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42957 _ACEOF
42958
42959 ;;
42960
42961 six)
42962 { echo "$as_me:$LINENO: result: six" >&5
42963 echo "${ECHO_T}six" >&6; }
42964 cat >>confdefs.h <<\_ACEOF
42965 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42966 _ACEOF
42967
42968 ;;
42969
42970 no)
42971 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42972 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42973 ;;
42974
42975 unknown)
42976 { echo "$as_me:$LINENO: result: can't tell" >&5
42977 echo "${ECHO_T}can't tell" >&6; }
42978 ;;
42979
42980 *)
42981 { { echo "$as_me:$LINENO: error: internal error" >&5
42982 echo "$as_me: error: internal error" >&2;}
42983 { (exit 1); exit 1; }; }
42984 ;;
42985 esac
42986
42987 ac_ext=c
42988 ac_cpp='$CPP $CPPFLAGS'
42989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42992
42993
42994
42995 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42996 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42997 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42998 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42999 if test "${ac_cv_func_gethostbyname+set}" = set; then
43000 echo $ECHO_N "(cached) $ECHO_C" >&6
43001 else
43002 cat >conftest.$ac_ext <<_ACEOF
43003 /* confdefs.h. */
43004 _ACEOF
43005 cat confdefs.h >>conftest.$ac_ext
43006 cat >>conftest.$ac_ext <<_ACEOF
43007 /* end confdefs.h. */
43008 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43010 #define gethostbyname innocuous_gethostbyname
43011
43012 /* System header to define __stub macros and hopefully few prototypes,
43013 which can conflict with char gethostbyname (); below.
43014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43015 <limits.h> exists even on freestanding compilers. */
43016
43017 #ifdef __STDC__
43018 # include <limits.h>
43019 #else
43020 # include <assert.h>
43021 #endif
43022
43023 #undef gethostbyname
43024
43025 /* Override any GCC internal prototype to avoid an error.
43026 Use char because int might match the return type of a GCC
43027 builtin and then its argument prototype would still apply. */
43028 #ifdef __cplusplus
43029 extern "C"
43030 #endif
43031 char gethostbyname ();
43032 /* The GNU C library defines this for functions which it implements
43033 to always fail with ENOSYS. Some functions are actually named
43034 something starting with __ and the normal name is an alias. */
43035 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43036 choke me
43037 #endif
43038
43039 int
43040 main ()
43041 {
43042 return gethostbyname ();
43043 ;
43044 return 0;
43045 }
43046 _ACEOF
43047 rm -f conftest.$ac_objext conftest$ac_exeext
43048 if { (ac_try="$ac_link"
43049 case "(($ac_try" in
43050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43051 *) ac_try_echo=$ac_try;;
43052 esac
43053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43054 (eval "$ac_link") 2>conftest.er1
43055 ac_status=$?
43056 grep -v '^ *+' conftest.er1 >conftest.err
43057 rm -f conftest.er1
43058 cat conftest.err >&5
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); } && {
43061 test -z "$ac_c_werror_flag" ||
43062 test ! -s conftest.err
43063 } && test -s conftest$ac_exeext &&
43064 $as_test_x conftest$ac_exeext; then
43065 ac_cv_func_gethostbyname=yes
43066 else
43067 echo "$as_me: failed program was:" >&5
43068 sed 's/^/| /' conftest.$ac_ext >&5
43069
43070 ac_cv_func_gethostbyname=no
43071 fi
43072
43073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43074 conftest$ac_exeext conftest.$ac_ext
43075 fi
43076 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43077 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43078 if test $ac_cv_func_gethostbyname = yes; then
43079 cat >>confdefs.h <<\_ACEOF
43080 #define HAVE_GETHOSTBYNAME 1
43081 _ACEOF
43082
43083 fi
43084
43085 fi
43086
43087 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43088 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43089 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43090 echo $ECHO_N "(cached) $ECHO_C" >&6
43091 else
43092
43093 ac_ext=cpp
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43098
43099
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h. */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 #include <netdb.h>
43107 int
43108 main ()
43109 {
43110
43111 char *name;
43112 char *proto;
43113 struct servent *se, *res;
43114 char buffer[2048];
43115 int buflen = 2048;
43116 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43117
43118 ;
43119 return 0;
43120 }
43121 _ACEOF
43122 rm -f conftest.$ac_objext
43123 if { (ac_try="$ac_compile"
43124 case "(($ac_try" in
43125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43126 *) ac_try_echo=$ac_try;;
43127 esac
43128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43129 (eval "$ac_compile") 2>conftest.er1
43130 ac_status=$?
43131 grep -v '^ *+' conftest.er1 >conftest.err
43132 rm -f conftest.er1
43133 cat conftest.err >&5
43134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43135 (exit $ac_status); } && {
43136 test -z "$ac_cxx_werror_flag" ||
43137 test ! -s conftest.err
43138 } && test -s conftest.$ac_objext; then
43139 ac_cv_func_which_getservbyname_r=six
43140 else
43141 echo "$as_me: failed program was:" >&5
43142 sed 's/^/| /' conftest.$ac_ext >&5
43143
43144
43145 cat >conftest.$ac_ext <<_ACEOF
43146 /* confdefs.h. */
43147 _ACEOF
43148 cat confdefs.h >>conftest.$ac_ext
43149 cat >>conftest.$ac_ext <<_ACEOF
43150 /* end confdefs.h. */
43151 #include <netdb.h>
43152 int
43153 main ()
43154 {
43155
43156 char *name;
43157 char *proto;
43158 struct servent *se;
43159 char buffer[2048];
43160 int buflen = 2048;
43161 (void) getservbyname_r(name, proto, se, buffer, buflen)
43162
43163 ;
43164 return 0;
43165 }
43166 _ACEOF
43167 rm -f conftest.$ac_objext
43168 if { (ac_try="$ac_compile"
43169 case "(($ac_try" in
43170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43171 *) ac_try_echo=$ac_try;;
43172 esac
43173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43174 (eval "$ac_compile") 2>conftest.er1
43175 ac_status=$?
43176 grep -v '^ *+' conftest.er1 >conftest.err
43177 rm -f conftest.er1
43178 cat conftest.err >&5
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); } && {
43181 test -z "$ac_cxx_werror_flag" ||
43182 test ! -s conftest.err
43183 } && test -s conftest.$ac_objext; then
43184 ac_cv_func_which_getservbyname_r=five
43185 else
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.$ac_ext >&5
43188
43189
43190 cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 #include <netdb.h>
43197 int
43198 main ()
43199 {
43200
43201 char *name;
43202 char *proto;
43203 struct servent *se;
43204 struct servent_data data;
43205 (void) getservbyname_r(name, proto, se, &data);
43206
43207 ;
43208 return 0;
43209 }
43210 _ACEOF
43211 rm -f conftest.$ac_objext
43212 if { (ac_try="$ac_compile"
43213 case "(($ac_try" in
43214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43215 *) ac_try_echo=$ac_try;;
43216 esac
43217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43218 (eval "$ac_compile") 2>conftest.er1
43219 ac_status=$?
43220 grep -v '^ *+' conftest.er1 >conftest.err
43221 rm -f conftest.er1
43222 cat conftest.err >&5
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); } && {
43225 test -z "$ac_cxx_werror_flag" ||
43226 test ! -s conftest.err
43227 } && test -s conftest.$ac_objext; then
43228 ac_cv_func_which_getservbyname_r=four
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43232
43233 ac_cv_func_which_getservbyname_r=no
43234
43235 fi
43236
43237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43238
43239
43240 fi
43241
43242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43243
43244
43245 fi
43246
43247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248 ac_ext=c
43249 ac_cpp='$CPP $CPPFLAGS'
43250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43253
43254
43255
43256 fi
43257 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43258 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43259
43260 if test $ac_cv_func_which_getservbyname_r = six; then
43261 cat >>confdefs.h <<\_ACEOF
43262 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43263 _ACEOF
43264
43265 elif test $ac_cv_func_which_getservbyname_r = five; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43268 _ACEOF
43269
43270 elif test $ac_cv_func_which_getservbyname_r = four; then
43271 cat >>confdefs.h <<\_ACEOF
43272 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43273 _ACEOF
43274
43275 fi
43276
43277
43278 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43279 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43280
43281 for ac_func in getservbyname
43282 do
43283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43287 echo $ECHO_N "(cached) $ECHO_C" >&6
43288 else
43289 cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h. */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43297 #define $ac_func innocuous_$ac_func
43298
43299 /* System header to define __stub macros and hopefully few prototypes,
43300 which can conflict with char $ac_func (); below.
43301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43302 <limits.h> exists even on freestanding compilers. */
43303
43304 #ifdef __STDC__
43305 # include <limits.h>
43306 #else
43307 # include <assert.h>
43308 #endif
43309
43310 #undef $ac_func
43311
43312 /* Override any GCC internal prototype to avoid an error.
43313 Use char because int might match the return type of a GCC
43314 builtin and then its argument prototype would still apply. */
43315 #ifdef __cplusplus
43316 extern "C"
43317 #endif
43318 char $ac_func ();
43319 /* The GNU C library defines this for functions which it implements
43320 to always fail with ENOSYS. Some functions are actually named
43321 something starting with __ and the normal name is an alias. */
43322 #if defined __stub_$ac_func || defined __stub___$ac_func
43323 choke me
43324 #endif
43325
43326 int
43327 main ()
43328 {
43329 return $ac_func ();
43330 ;
43331 return 0;
43332 }
43333 _ACEOF
43334 rm -f conftest.$ac_objext conftest$ac_exeext
43335 if { (ac_try="$ac_link"
43336 case "(($ac_try" in
43337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43338 *) ac_try_echo=$ac_try;;
43339 esac
43340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43341 (eval "$ac_link") 2>conftest.er1
43342 ac_status=$?
43343 grep -v '^ *+' conftest.er1 >conftest.err
43344 rm -f conftest.er1
43345 cat conftest.err >&5
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); } && {
43348 test -z "$ac_c_werror_flag" ||
43349 test ! -s conftest.err
43350 } && test -s conftest$ac_exeext &&
43351 $as_test_x conftest$ac_exeext; then
43352 eval "$as_ac_var=yes"
43353 else
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43356
43357 eval "$as_ac_var=no"
43358 fi
43359
43360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43361 conftest$ac_exeext conftest.$ac_ext
43362 fi
43363 ac_res=`eval echo '${'$as_ac_var'}'`
43364 { echo "$as_me:$LINENO: result: $ac_res" >&5
43365 echo "${ECHO_T}$ac_res" >&6; }
43366 if test `eval echo '${'$as_ac_var'}'` = yes; then
43367 cat >>confdefs.h <<_ACEOF
43368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43369 _ACEOF
43370 cat >>confdefs.h <<\_ACEOF
43371 #define HAVE_GETSERVBYNAME 1
43372 _ACEOF
43373
43374 fi
43375 done
43376
43377 fi
43378
43379 if test "$wxUSE_THREADS" = "yes"; then
43380 cat >>confdefs.h <<\_ACEOF
43381 #define wxUSE_THREADS 1
43382 _ACEOF
43383
43384
43385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43386 else
43387 if test "$wx_cv_func_strtok_r" = "yes"; then
43388 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43389 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43390 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43391 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43392 { echo "$as_me:$LINENO: result: yes" >&5
43393 echo "${ECHO_T}yes" >&6; }
43394 else
43395 { echo "$as_me:$LINENO: result: no" >&5
43396 echo "${ECHO_T}no" >&6; }
43397 fi
43398 fi
43399 fi
43400
43401 if test "$WXGTK20" = 1 ; then
43402 cat >>confdefs.h <<_ACEOF
43403 #define __WXGTK20__ $WXGTK20
43404 _ACEOF
43405
43406 WXGTK12=1
43407 fi
43408
43409 if test "$WXGTK12" = 1 ; then
43410 cat >>confdefs.h <<_ACEOF
43411 #define __WXGTK12__ $WXGTK12
43412 _ACEOF
43413
43414 fi
43415
43416 if test "$WXGTK127" = 1 ; then
43417 cat >>confdefs.h <<_ACEOF
43418 #define __WXGTK127__ $WXGTK127
43419 _ACEOF
43420
43421 fi
43422
43423 if test "$WXGPE" = 1 ; then
43424 cat >>confdefs.h <<_ACEOF
43425 #define __WXGPE__ $WXGPE
43426 _ACEOF
43427
43428 fi
43429
43430 DEBUG_CFLAGS=
43431 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43432 DEBUG_CFLAGS="-g"
43433 wxUSE_OPTIMISE=no
43434 fi
43435
43436 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43437 wxUSE_DEBUG_INFO=yes
43438 if test "$GCC" = yes; then
43439 DEBUG_CFLAGS="-ggdb"
43440 fi
43441 fi
43442
43443 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43444 cat >>confdefs.h <<\_ACEOF
43445 #define WXDEBUG 1
43446 _ACEOF
43447
43448 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43449 else
43450 if test "$wxUSE_GTK" = 1 ; then
43451 if test "x$wxGTK_VERSION" = "x1" ; then
43452 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43453 fi
43454 fi
43455 fi
43456
43457 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_MEMORY_TRACING 1
43460 _ACEOF
43461
43462 cat >>confdefs.h <<\_ACEOF
43463 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43464 _ACEOF
43465
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_DEBUG_NEW_ALWAYS 1
43468 _ACEOF
43469
43470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43471 fi
43472
43473 if test "$wxUSE_DMALLOC" = "yes" ; then
43474 DMALLOC_LIBS="-ldmallocthcxx"
43475 fi
43476
43477 PROFILE_FLAGS=
43478 if test "$wxUSE_PROFILE" = "yes" ; then
43479 PROFILE_FLAGS=" -pg"
43480 fi
43481
43482 if test "$GCC" = "yes" ; then
43483 if test "$wxUSE_NO_RTTI" = "yes" ; then
43484 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43485 fi
43486 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43487 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43488 fi
43489 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43490 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43491 fi
43492
43493 case "${host}" in
43494 powerpc*-*-aix* )
43495 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43496 ;;
43497 *-hppa* )
43498 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43499 ;;
43500 esac
43501 fi
43502
43503 OPTIMISE_CFLAGS=
43504 if test "$wxUSE_OPTIMISE" = "no" ; then
43505 if test "$GCC" = yes ; then
43506 OPTIMISE_CFLAGS="-O0"
43507 fi
43508 else
43509 if test "$GCC" = yes ; then
43510 case "${host}" in
43511 *-pc-os2_emx | *-pc-os2-emx )
43512 OPTIMISE_CFLAGS="-O2"
43513 ;;
43514 *)
43515 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43516 ;;
43517 esac
43518 else
43519 OPTIMISE_CFLAGS="-O"
43520 fi
43521 fi
43522
43523
43524 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43525 cat >>confdefs.h <<\_ACEOF
43526 #define WXWIN_COMPATIBILITY_2_6 1
43527 _ACEOF
43528
43529
43530 WXWIN_COMPATIBILITY_2_8="yes"
43531 fi
43532
43533 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define WXWIN_COMPATIBILITY_2_8 1
43536 _ACEOF
43537
43538 fi
43539
43540
43541 if test "$wxUSE_GUI" = "yes"; then
43542 cat >>confdefs.h <<\_ACEOF
43543 #define wxUSE_GUI 1
43544 _ACEOF
43545
43546
43547 fi
43548
43549
43550 if test "$wxUSE_UNIX" = "yes"; then
43551 cat >>confdefs.h <<\_ACEOF
43552 #define wxUSE_UNIX 1
43553 _ACEOF
43554
43555 fi
43556
43557
43558 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43559
43560 HAVE_DL_FUNCS=0
43561 HAVE_SHL_FUNCS=0
43562 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43563 if test "$USE_DARWIN" = 1; then
43564 HAVE_DL_FUNCS=1
43565 elif test "$USE_DOS" = 1; then
43566 HAVE_DL_FUNCS=0
43567 else
43568
43569 for ac_func in dlopen
43570 do
43571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43577 cat >conftest.$ac_ext <<_ACEOF
43578 /* confdefs.h. */
43579 _ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43585 #define $ac_func innocuous_$ac_func
43586
43587 /* System header to define __stub macros and hopefully few prototypes,
43588 which can conflict with char $ac_func (); below.
43589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43590 <limits.h> exists even on freestanding compilers. */
43591
43592 #ifdef __STDC__
43593 # include <limits.h>
43594 #else
43595 # include <assert.h>
43596 #endif
43597
43598 #undef $ac_func
43599
43600 /* Override any GCC internal prototype to avoid an error.
43601 Use char because int might match the return type of a GCC
43602 builtin and then its argument prototype would still apply. */
43603 #ifdef __cplusplus
43604 extern "C"
43605 #endif
43606 char $ac_func ();
43607 /* The GNU C library defines this for functions which it implements
43608 to always fail with ENOSYS. Some functions are actually named
43609 something starting with __ and the normal name is an alias. */
43610 #if defined __stub_$ac_func || defined __stub___$ac_func
43611 choke me
43612 #endif
43613
43614 int
43615 main ()
43616 {
43617 return $ac_func ();
43618 ;
43619 return 0;
43620 }
43621 _ACEOF
43622 rm -f conftest.$ac_objext conftest$ac_exeext
43623 if { (ac_try="$ac_link"
43624 case "(($ac_try" in
43625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43627 esac
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_link") 2>conftest.er1
43630 ac_status=$?
43631 grep -v '^ *+' conftest.er1 >conftest.err
43632 rm -f conftest.er1
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_c_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest$ac_exeext &&
43639 $as_test_x conftest$ac_exeext; then
43640 eval "$as_ac_var=yes"
43641 else
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43644
43645 eval "$as_ac_var=no"
43646 fi
43647
43648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43649 conftest$ac_exeext conftest.$ac_ext
43650 fi
43651 ac_res=`eval echo '${'$as_ac_var'}'`
43652 { echo "$as_me:$LINENO: result: $ac_res" >&5
43653 echo "${ECHO_T}$ac_res" >&6; }
43654 if test `eval echo '${'$as_ac_var'}'` = yes; then
43655 cat >>confdefs.h <<_ACEOF
43656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43657 _ACEOF
43658
43659 cat >>confdefs.h <<\_ACEOF
43660 #define HAVE_DLOPEN 1
43661 _ACEOF
43662
43663 HAVE_DL_FUNCS=1
43664
43665 else
43666
43667 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43668 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43669 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43670 echo $ECHO_N "(cached) $ECHO_C" >&6
43671 else
43672 ac_check_lib_save_LIBS=$LIBS
43673 LIBS="-ldl $LIBS"
43674 cat >conftest.$ac_ext <<_ACEOF
43675 /* confdefs.h. */
43676 _ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43680
43681 /* Override any GCC internal prototype to avoid an error.
43682 Use char because int might match the return type of a GCC
43683 builtin and then its argument prototype would still apply. */
43684 #ifdef __cplusplus
43685 extern "C"
43686 #endif
43687 char dlopen ();
43688 int
43689 main ()
43690 {
43691 return dlopen ();
43692 ;
43693 return 0;
43694 }
43695 _ACEOF
43696 rm -f conftest.$ac_objext conftest$ac_exeext
43697 if { (ac_try="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43701 esac
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>conftest.er1
43704 ac_status=$?
43705 grep -v '^ *+' conftest.er1 >conftest.err
43706 rm -f conftest.er1
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_c_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest$ac_exeext &&
43713 $as_test_x conftest$ac_exeext; then
43714 ac_cv_lib_dl_dlopen=yes
43715 else
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43718
43719 ac_cv_lib_dl_dlopen=no
43720 fi
43721
43722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43723 conftest$ac_exeext conftest.$ac_ext
43724 LIBS=$ac_check_lib_save_LIBS
43725 fi
43726 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43727 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43728 if test $ac_cv_lib_dl_dlopen = yes; then
43729
43730 cat >>confdefs.h <<\_ACEOF
43731 #define HAVE_DLOPEN 1
43732 _ACEOF
43733
43734 HAVE_DL_FUNCS=1
43735 DL_LINK=" -ldl$DL_LINK"
43736
43737 else
43738
43739
43740 for ac_func in shl_load
43741 do
43742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43747 else
43748 cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h. */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43756 #define $ac_func innocuous_$ac_func
43757
43758 /* System header to define __stub macros and hopefully few prototypes,
43759 which can conflict with char $ac_func (); below.
43760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43761 <limits.h> exists even on freestanding compilers. */
43762
43763 #ifdef __STDC__
43764 # include <limits.h>
43765 #else
43766 # include <assert.h>
43767 #endif
43768
43769 #undef $ac_func
43770
43771 /* Override any GCC internal prototype to avoid an error.
43772 Use char because int might match the return type of a GCC
43773 builtin and then its argument prototype would still apply. */
43774 #ifdef __cplusplus
43775 extern "C"
43776 #endif
43777 char $ac_func ();
43778 /* The GNU C library defines this for functions which it implements
43779 to always fail with ENOSYS. Some functions are actually named
43780 something starting with __ and the normal name is an alias. */
43781 #if defined __stub_$ac_func || defined __stub___$ac_func
43782 choke me
43783 #endif
43784
43785 int
43786 main ()
43787 {
43788 return $ac_func ();
43789 ;
43790 return 0;
43791 }
43792 _ACEOF
43793 rm -f conftest.$ac_objext conftest$ac_exeext
43794 if { (ac_try="$ac_link"
43795 case "(($ac_try" in
43796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43797 *) ac_try_echo=$ac_try;;
43798 esac
43799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43800 (eval "$ac_link") 2>conftest.er1
43801 ac_status=$?
43802 grep -v '^ *+' conftest.er1 >conftest.err
43803 rm -f conftest.er1
43804 cat conftest.err >&5
43805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43806 (exit $ac_status); } && {
43807 test -z "$ac_c_werror_flag" ||
43808 test ! -s conftest.err
43809 } && test -s conftest$ac_exeext &&
43810 $as_test_x conftest$ac_exeext; then
43811 eval "$as_ac_var=yes"
43812 else
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43815
43816 eval "$as_ac_var=no"
43817 fi
43818
43819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43820 conftest$ac_exeext conftest.$ac_ext
43821 fi
43822 ac_res=`eval echo '${'$as_ac_var'}'`
43823 { echo "$as_me:$LINENO: result: $ac_res" >&5
43824 echo "${ECHO_T}$ac_res" >&6; }
43825 if test `eval echo '${'$as_ac_var'}'` = yes; then
43826 cat >>confdefs.h <<_ACEOF
43827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43828 _ACEOF
43829
43830 cat >>confdefs.h <<\_ACEOF
43831 #define HAVE_SHL_LOAD 1
43832 _ACEOF
43833
43834 HAVE_SHL_FUNCS=1
43835
43836 else
43837
43838 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43839 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43840 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43841 echo $ECHO_N "(cached) $ECHO_C" >&6
43842 else
43843 ac_check_lib_save_LIBS=$LIBS
43844 LIBS="-lshl_load $LIBS"
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
43852 /* Override any GCC internal prototype to avoid an error.
43853 Use char because int might match the return type of a GCC
43854 builtin and then its argument prototype would still apply. */
43855 #ifdef __cplusplus
43856 extern "C"
43857 #endif
43858 char dld ();
43859 int
43860 main ()
43861 {
43862 return dld ();
43863 ;
43864 return 0;
43865 }
43866 _ACEOF
43867 rm -f conftest.$ac_objext conftest$ac_exeext
43868 if { (ac_try="$ac_link"
43869 case "(($ac_try" in
43870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43871 *) ac_try_echo=$ac_try;;
43872 esac
43873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43874 (eval "$ac_link") 2>conftest.er1
43875 ac_status=$?
43876 grep -v '^ *+' conftest.er1 >conftest.err
43877 rm -f conftest.er1
43878 cat conftest.err >&5
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); } && {
43881 test -z "$ac_c_werror_flag" ||
43882 test ! -s conftest.err
43883 } && test -s conftest$ac_exeext &&
43884 $as_test_x conftest$ac_exeext; then
43885 ac_cv_lib_shl_load_dld=yes
43886 else
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.$ac_ext >&5
43889
43890 ac_cv_lib_shl_load_dld=no
43891 fi
43892
43893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43894 conftest$ac_exeext conftest.$ac_ext
43895 LIBS=$ac_check_lib_save_LIBS
43896 fi
43897 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43898 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43899 if test $ac_cv_lib_shl_load_dld = yes; then
43900
43901 HAVE_SHL_FUNCS=1
43902 DL_LINK=" -ldld$DL_LINK"
43903
43904 fi
43905
43906
43907 fi
43908 done
43909
43910
43911 fi
43912
43913
43914 fi
43915 done
43916
43917
43918 if test "$HAVE_DL_FUNCS" = 1; then
43919
43920 for ac_func in dlerror
43921 do
43922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43926 echo $ECHO_N "(cached) $ECHO_C" >&6
43927 else
43928 cat >conftest.$ac_ext <<_ACEOF
43929 /* confdefs.h. */
43930 _ACEOF
43931 cat confdefs.h >>conftest.$ac_ext
43932 cat >>conftest.$ac_ext <<_ACEOF
43933 /* end confdefs.h. */
43934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43936 #define $ac_func innocuous_$ac_func
43937
43938 /* System header to define __stub macros and hopefully few prototypes,
43939 which can conflict with char $ac_func (); below.
43940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43941 <limits.h> exists even on freestanding compilers. */
43942
43943 #ifdef __STDC__
43944 # include <limits.h>
43945 #else
43946 # include <assert.h>
43947 #endif
43948
43949 #undef $ac_func
43950
43951 /* Override any GCC internal prototype to avoid an error.
43952 Use char because int might match the return type of a GCC
43953 builtin and then its argument prototype would still apply. */
43954 #ifdef __cplusplus
43955 extern "C"
43956 #endif
43957 char $ac_func ();
43958 /* The GNU C library defines this for functions which it implements
43959 to always fail with ENOSYS. Some functions are actually named
43960 something starting with __ and the normal name is an alias. */
43961 #if defined __stub_$ac_func || defined __stub___$ac_func
43962 choke me
43963 #endif
43964
43965 int
43966 main ()
43967 {
43968 return $ac_func ();
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 rm -f conftest.$ac_objext conftest$ac_exeext
43974 if { (ac_try="$ac_link"
43975 case "(($ac_try" in
43976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43977 *) ac_try_echo=$ac_try;;
43978 esac
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_link") 2>conftest.er1
43981 ac_status=$?
43982 grep -v '^ *+' conftest.er1 >conftest.err
43983 rm -f conftest.er1
43984 cat conftest.err >&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_c_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest$ac_exeext &&
43990 $as_test_x conftest$ac_exeext; then
43991 eval "$as_ac_var=yes"
43992 else
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996 eval "$as_ac_var=no"
43997 fi
43998
43999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44000 conftest$ac_exeext conftest.$ac_ext
44001 fi
44002 ac_res=`eval echo '${'$as_ac_var'}'`
44003 { echo "$as_me:$LINENO: result: $ac_res" >&5
44004 echo "${ECHO_T}$ac_res" >&6; }
44005 if test `eval echo '${'$as_ac_var'}'` = yes; then
44006 cat >>confdefs.h <<_ACEOF
44007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44008 _ACEOF
44009 cat >>confdefs.h <<\_ACEOF
44010 #define HAVE_DLERROR 1
44011 _ACEOF
44012
44013 else
44014
44015 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44016 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44017 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44018 echo $ECHO_N "(cached) $ECHO_C" >&6
44019 else
44020 ac_check_lib_save_LIBS=$LIBS
44021 LIBS="-ldl $LIBS"
44022 cat >conftest.$ac_ext <<_ACEOF
44023 /* confdefs.h. */
44024 _ACEOF
44025 cat confdefs.h >>conftest.$ac_ext
44026 cat >>conftest.$ac_ext <<_ACEOF
44027 /* end confdefs.h. */
44028
44029 /* Override any GCC internal prototype to avoid an error.
44030 Use char because int might match the return type of a GCC
44031 builtin and then its argument prototype would still apply. */
44032 #ifdef __cplusplus
44033 extern "C"
44034 #endif
44035 char dlerror ();
44036 int
44037 main ()
44038 {
44039 return dlerror ();
44040 ;
44041 return 0;
44042 }
44043 _ACEOF
44044 rm -f conftest.$ac_objext conftest$ac_exeext
44045 if { (ac_try="$ac_link"
44046 case "(($ac_try" in
44047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44048 *) ac_try_echo=$ac_try;;
44049 esac
44050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44051 (eval "$ac_link") 2>conftest.er1
44052 ac_status=$?
44053 grep -v '^ *+' conftest.er1 >conftest.err
44054 rm -f conftest.er1
44055 cat conftest.err >&5
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); } && {
44058 test -z "$ac_c_werror_flag" ||
44059 test ! -s conftest.err
44060 } && test -s conftest$ac_exeext &&
44061 $as_test_x conftest$ac_exeext; then
44062 ac_cv_lib_dl_dlerror=yes
44063 else
44064 echo "$as_me: failed program was:" >&5
44065 sed 's/^/| /' conftest.$ac_ext >&5
44066
44067 ac_cv_lib_dl_dlerror=no
44068 fi
44069
44070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44071 conftest$ac_exeext conftest.$ac_ext
44072 LIBS=$ac_check_lib_save_LIBS
44073 fi
44074 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44075 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44076 if test $ac_cv_lib_dl_dlerror = yes; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define HAVE_DLERROR 1
44079 _ACEOF
44080
44081 fi
44082
44083
44084
44085 fi
44086 done
44087
44088 fi
44089 fi
44090
44091 if test "$HAVE_DL_FUNCS" = 0; then
44092 if test "$HAVE_SHL_FUNCS" = 0; then
44093 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44094 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44095 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44096 wxUSE_DYNAMIC_LOADER=no
44097 wxUSE_DYNLIB_CLASS=no
44098 else
44099 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44100 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44101 fi
44102 fi
44103 fi
44104 fi
44105 fi
44106
44107 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_DYNAMIC_LOADER 1
44110 _ACEOF
44111
44112 fi
44113 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44114 cat >>confdefs.h <<\_ACEOF
44115 #define wxUSE_DYNLIB_CLASS 1
44116 _ACEOF
44117
44118 fi
44119
44120
44121
44122 if test "$wxUSE_PLUGINS" = "yes" ; then
44123 if test "$wxUSE_SHARED" = "no" ; then
44124 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44125 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44126 wxUSE_PLUGINS=no
44127 fi
44128 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44129 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44130 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44131 wxUSE_PLUGINS=no
44132 fi
44133 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44134 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44135 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44136 wxUSE_PLUGINS=no
44137 fi
44138 if test "$wxUSE_PLUGINS" = "yes" ; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_PLUGINS 1
44141 _ACEOF
44142
44143 fi
44144 fi
44145
44146
44147 if test "$wxUSE_STL" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_STL 1
44150 _ACEOF
44151
44152 fi
44153
44154 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_EXTENDED_RTTI 1
44157 _ACEOF
44158
44159 fi
44160
44161 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_APPLE_IEEE 1
44164 _ACEOF
44165
44166 fi
44167
44168 if test "$wxUSE_TIMER" = "yes"; then
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_TIMER 1
44171 _ACEOF
44172
44173 fi
44174
44175 if test "$USE_UNIX" = "1" ; then
44176 if test "$wxUSE_MGL" != 1; then
44177 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44178 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44179 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44180 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 else
44182
44183 cat >conftest.$ac_ext <<_ACEOF
44184 /* confdefs.h. */
44185 _ACEOF
44186 cat confdefs.h >>conftest.$ac_ext
44187 cat >>conftest.$ac_ext <<_ACEOF
44188 /* end confdefs.h. */
44189
44190 #include <sys/ioctl.h>
44191 #include <sys/soundcard.h>
44192
44193 int
44194 main ()
44195 {
44196
44197 ioctl(0, SNDCTL_DSP_SPEED, 0);
44198
44199 ;
44200 return 0;
44201 }
44202 _ACEOF
44203 rm -f conftest.$ac_objext conftest$ac_exeext
44204 if { (ac_try="$ac_link"
44205 case "(($ac_try" in
44206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44207 *) ac_try_echo=$ac_try;;
44208 esac
44209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44210 (eval "$ac_link") 2>conftest.er1
44211 ac_status=$?
44212 grep -v '^ *+' conftest.er1 >conftest.err
44213 rm -f conftest.er1
44214 cat conftest.err >&5
44215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216 (exit $ac_status); } && {
44217 test -z "$ac_c_werror_flag" ||
44218 test ! -s conftest.err
44219 } && test -s conftest$ac_exeext &&
44220 $as_test_x conftest$ac_exeext; then
44221 ac_cv_header_sys_soundcard=yes
44222 else
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.$ac_ext >&5
44225
44226
44227 saveLibs="$LIBS"
44228 LIBS="$saveLibs -lossaudio"
44229 cat >conftest.$ac_ext <<_ACEOF
44230 /* confdefs.h. */
44231 _ACEOF
44232 cat confdefs.h >>conftest.$ac_ext
44233 cat >>conftest.$ac_ext <<_ACEOF
44234 /* end confdefs.h. */
44235
44236 #include <sys/ioctl.h>
44237 #include <sys/soundcard.h>
44238
44239 int
44240 main ()
44241 {
44242
44243 ioctl(0, SNDCTL_DSP_SPEED, 0);
44244
44245 ;
44246 return 0;
44247 }
44248 _ACEOF
44249 rm -f conftest.$ac_objext conftest$ac_exeext
44250 if { (ac_try="$ac_link"
44251 case "(($ac_try" in
44252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44253 *) ac_try_echo=$ac_try;;
44254 esac
44255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44256 (eval "$ac_link") 2>conftest.er1
44257 ac_status=$?
44258 grep -v '^ *+' conftest.er1 >conftest.err
44259 rm -f conftest.er1
44260 cat conftest.err >&5
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); } && {
44263 test -z "$ac_c_werror_flag" ||
44264 test ! -s conftest.err
44265 } && test -s conftest$ac_exeext &&
44266 $as_test_x conftest$ac_exeext; then
44267 ac_cv_header_sys_soundcard=yes
44268 else
44269 echo "$as_me: failed program was:" >&5
44270 sed 's/^/| /' conftest.$ac_ext >&5
44271
44272
44273 LIBS="$saveLibs"
44274 ac_cv_header_sys_soundcard=no
44275
44276
44277 fi
44278
44279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44280 conftest$ac_exeext conftest.$ac_ext
44281
44282
44283 fi
44284
44285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44286 conftest$ac_exeext conftest.$ac_ext
44287
44288 fi
44289 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44290 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44291 fi
44292
44293 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define HAVE_SYS_SOUNDCARD_H 1
44296 _ACEOF
44297
44298 fi
44299 fi
44300
44301 WITH_PLUGIN_SDL=0
44302 if test "$wxUSE_SOUND" = "yes"; then
44303 if test "$USE_UNIX" = "1" ; then
44304 if test "$wxUSE_LIBSDL" != "no"; then
44305
44306 # Check whether --with-sdl-prefix was given.
44307 if test "${with_sdl_prefix+set}" = set; then
44308 withval=$with_sdl_prefix; sdl_prefix="$withval"
44309 else
44310 sdl_prefix=""
44311 fi
44312
44313
44314 # Check whether --with-sdl-exec-prefix was given.
44315 if test "${with_sdl_exec_prefix+set}" = set; then
44316 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44317 else
44318 sdl_exec_prefix=""
44319 fi
44320
44321 # Check whether --enable-sdltest was given.
44322 if test "${enable_sdltest+set}" = set; then
44323 enableval=$enable_sdltest;
44324 else
44325 enable_sdltest=yes
44326 fi
44327
44328
44329 if test x$sdl_exec_prefix != x ; then
44330 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44331 if test x${SDL_CONFIG+set} != xset ; then
44332 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44333 fi
44334 fi
44335 if test x$sdl_prefix != x ; then
44336 sdl_args="$sdl_args --prefix=$sdl_prefix"
44337 if test x${SDL_CONFIG+set} != xset ; then
44338 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44339 fi
44340 fi
44341
44342 if test "x$prefix" != xNONE; then
44343 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44344 fi
44345 # Extract the first word of "sdl-config", so it can be a program name with args.
44346 set dummy sdl-config; ac_word=$2
44347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44349 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44350 echo $ECHO_N "(cached) $ECHO_C" >&6
44351 else
44352 case $SDL_CONFIG in
44353 [\\/]* | ?:[\\/]*)
44354 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44355 ;;
44356 *)
44357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44358 for as_dir in $PATH
44359 do
44360 IFS=$as_save_IFS
44361 test -z "$as_dir" && as_dir=.
44362 for ac_exec_ext in '' $ac_executable_extensions; do
44363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44364 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44366 break 2
44367 fi
44368 done
44369 done
44370 IFS=$as_save_IFS
44371
44372 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44373 ;;
44374 esac
44375 fi
44376 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44377 if test -n "$SDL_CONFIG"; then
44378 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44379 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44380 else
44381 { echo "$as_me:$LINENO: result: no" >&5
44382 echo "${ECHO_T}no" >&6; }
44383 fi
44384
44385
44386 min_sdl_version=1.2.0
44387 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44388 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44389 no_sdl=""
44390 if test "$SDL_CONFIG" = "no" ; then
44391 no_sdl=yes
44392 else
44393 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44394 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44395
44396 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44398 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44400 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44402 if test "x$enable_sdltest" = "xyes" ; then
44403 ac_save_CFLAGS="$CFLAGS"
44404 ac_save_CXXFLAGS="$CXXFLAGS"
44405 ac_save_LIBS="$LIBS"
44406 CFLAGS="$CFLAGS $SDL_CFLAGS"
44407 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44408 LIBS="$LIBS $SDL_LIBS"
44409 rm -f conf.sdltest
44410 if test "$cross_compiling" = yes; then
44411 echo $ac_n "cross compiling; assumed OK... $ac_c"
44412 else
44413 cat >conftest.$ac_ext <<_ACEOF
44414 /* confdefs.h. */
44415 _ACEOF
44416 cat confdefs.h >>conftest.$ac_ext
44417 cat >>conftest.$ac_ext <<_ACEOF
44418 /* end confdefs.h. */
44419
44420 #include <stdio.h>
44421 #include <stdlib.h>
44422 #include <string.h>
44423 #include "SDL.h"
44424
44425 char*
44426 my_strdup (char *str)
44427 {
44428 char *new_str;
44429
44430 if (str)
44431 {
44432 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44433 strcpy (new_str, str);
44434 }
44435 else
44436 new_str = NULL;
44437
44438 return new_str;
44439 }
44440
44441 int main (int argc, char *argv[])
44442 {
44443 int major, minor, micro;
44444 char *tmp_version;
44445
44446 /* This hangs on some systems (?)
44447 system ("touch conf.sdltest");
44448 */
44449 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44450
44451 /* HP/UX 9 (%@#!) writes to sscanf strings */
44452 tmp_version = my_strdup("$min_sdl_version");
44453 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44454 printf("%s, bad version string\n", "$min_sdl_version");
44455 exit(1);
44456 }
44457
44458 if (($sdl_major_version > major) ||
44459 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44460 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44461 {
44462 return 0;
44463 }
44464 else
44465 {
44466 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44467 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44468 printf("*** best to upgrade to the required version.\n");
44469 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44470 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44471 printf("*** config.cache before re-running configure\n");
44472 return 1;
44473 }
44474 }
44475
44476
44477 _ACEOF
44478 rm -f conftest$ac_exeext
44479 if { (ac_try="$ac_link"
44480 case "(($ac_try" in
44481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44482 *) ac_try_echo=$ac_try;;
44483 esac
44484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44485 (eval "$ac_link") 2>&5
44486 ac_status=$?
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44489 { (case "(($ac_try" in
44490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44491 *) ac_try_echo=$ac_try;;
44492 esac
44493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44494 (eval "$ac_try") 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; }; then
44498 :
44499 else
44500 echo "$as_me: program exited with status $ac_status" >&5
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44503
44504 ( exit $ac_status )
44505 no_sdl=yes
44506 fi
44507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44508 fi
44509
44510
44511 CFLAGS="$ac_save_CFLAGS"
44512 CXXFLAGS="$ac_save_CXXFLAGS"
44513 LIBS="$ac_save_LIBS"
44514 fi
44515 fi
44516 if test "x$no_sdl" = x ; then
44517 { echo "$as_me:$LINENO: result: yes" >&5
44518 echo "${ECHO_T}yes" >&6; }
44519
44520 EXTRALIBS_SDL="$SDL_LIBS"
44521 CFLAGS="$SDL_CFLAGS $CFLAGS"
44522 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_LIBSDL 1
44525 _ACEOF
44526
44527
44528 else
44529 { echo "$as_me:$LINENO: result: no" >&5
44530 echo "${ECHO_T}no" >&6; }
44531 if test "$SDL_CONFIG" = "no" ; then
44532 echo "*** The sdl-config script installed by SDL could not be found"
44533 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44534 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44535 echo "*** full path to sdl-config."
44536 else
44537 if test -f conf.sdltest ; then
44538 :
44539 else
44540 echo "*** Could not run SDL test program, checking why..."
44541 CFLAGS="$CFLAGS $SDL_CFLAGS"
44542 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44543 LIBS="$LIBS $SDL_LIBS"
44544 cat >conftest.$ac_ext <<_ACEOF
44545 /* confdefs.h. */
44546 _ACEOF
44547 cat confdefs.h >>conftest.$ac_ext
44548 cat >>conftest.$ac_ext <<_ACEOF
44549 /* end confdefs.h. */
44550
44551 #include <stdio.h>
44552 #include "SDL.h"
44553
44554 int main(int argc, char *argv[])
44555 { return 0; }
44556 #undef main
44557 #define main K_and_R_C_main
44558
44559 int
44560 main ()
44561 {
44562 return 0;
44563 ;
44564 return 0;
44565 }
44566 _ACEOF
44567 rm -f conftest.$ac_objext conftest$ac_exeext
44568 if { (ac_try="$ac_link"
44569 case "(($ac_try" in
44570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44571 *) ac_try_echo=$ac_try;;
44572 esac
44573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44574 (eval "$ac_link") 2>conftest.er1
44575 ac_status=$?
44576 grep -v '^ *+' conftest.er1 >conftest.err
44577 rm -f conftest.er1
44578 cat conftest.err >&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } && {
44581 test -z "$ac_c_werror_flag" ||
44582 test ! -s conftest.err
44583 } && test -s conftest$ac_exeext &&
44584 $as_test_x conftest$ac_exeext; then
44585 echo "*** The test program compiled, but did not run. This usually means"
44586 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44587 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44588 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44589 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44590 echo "*** is required on your system"
44591 echo "***"
44592 echo "*** If you have an old version installed, it is best to remove it, although"
44593 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44594 else
44595 echo "$as_me: failed program was:" >&5
44596 sed 's/^/| /' conftest.$ac_ext >&5
44597
44598 echo "*** The test program failed to compile or link. See the file config.log for the"
44599 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44600 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44601 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44602 fi
44603
44604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44605 conftest$ac_exeext conftest.$ac_ext
44606 CFLAGS="$ac_save_CFLAGS"
44607 CXXFLAGS="$ac_save_CXXFLAGS"
44608 LIBS="$ac_save_LIBS"
44609 fi
44610 fi
44611 SDL_CFLAGS=""
44612 SDL_LIBS=""
44613 wxUSE_LIBSDL="no"
44614 fi
44615
44616
44617 rm -f conf.sdltest
44618
44619 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44620 WITH_PLUGIN_SDL=1
44621 fi
44622 fi
44623 else
44624 if test "$wxUSE_MGL" = 1; then
44625 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44626 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44627 wxUSE_SOUND="no"
44628 fi
44629 fi
44630 fi
44631
44632 if test "$wxUSE_SOUND" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_SOUND 1
44635 _ACEOF
44636
44637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44638 fi
44639
44640 if test "$WXGTK20" = 1; then
44641
44642
44643 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44644 if test -n "$ac_tool_prefix"; then
44645 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44646 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44649 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44650 echo $ECHO_N "(cached) $ECHO_C" >&6
44651 else
44652 case $PKG_CONFIG in
44653 [\\/]* | ?:[\\/]*)
44654 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44655 ;;
44656 *)
44657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44658 for as_dir in $PATH
44659 do
44660 IFS=$as_save_IFS
44661 test -z "$as_dir" && as_dir=.
44662 for ac_exec_ext in '' $ac_executable_extensions; do
44663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44664 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44666 break 2
44667 fi
44668 done
44669 done
44670 IFS=$as_save_IFS
44671
44672 ;;
44673 esac
44674 fi
44675 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44676 if test -n "$PKG_CONFIG"; then
44677 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44678 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44679 else
44680 { echo "$as_me:$LINENO: result: no" >&5
44681 echo "${ECHO_T}no" >&6; }
44682 fi
44683
44684
44685 fi
44686 if test -z "$ac_cv_path_PKG_CONFIG"; then
44687 ac_pt_PKG_CONFIG=$PKG_CONFIG
44688 # Extract the first word of "pkg-config", so it can be a program name with args.
44689 set dummy pkg-config; ac_word=$2
44690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44692 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44693 echo $ECHO_N "(cached) $ECHO_C" >&6
44694 else
44695 case $ac_pt_PKG_CONFIG in
44696 [\\/]* | ?:[\\/]*)
44697 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44698 ;;
44699 *)
44700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44701 for as_dir in $PATH
44702 do
44703 IFS=$as_save_IFS
44704 test -z "$as_dir" && as_dir=.
44705 for ac_exec_ext in '' $ac_executable_extensions; do
44706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44707 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44709 break 2
44710 fi
44711 done
44712 done
44713 IFS=$as_save_IFS
44714
44715 ;;
44716 esac
44717 fi
44718 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44719 if test -n "$ac_pt_PKG_CONFIG"; then
44720 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44721 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44722 else
44723 { echo "$as_me:$LINENO: result: no" >&5
44724 echo "${ECHO_T}no" >&6; }
44725 fi
44726
44727 if test "x$ac_pt_PKG_CONFIG" = x; then
44728 PKG_CONFIG=""
44729 else
44730 case $cross_compiling:$ac_tool_warned in
44731 yes:)
44732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44733 whose name does not start with the host triplet. If you think this
44734 configuration is useful to you, please write to autoconf@gnu.org." >&5
44735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44736 whose name does not start with the host triplet. If you think this
44737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44738 ac_tool_warned=yes ;;
44739 esac
44740 PKG_CONFIG=$ac_pt_PKG_CONFIG
44741 fi
44742 else
44743 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44744 fi
44745
44746 fi
44747 if test -n "$PKG_CONFIG"; then
44748 _pkg_min_version=0.9.0
44749 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44750 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44751 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44752 { echo "$as_me:$LINENO: result: yes" >&5
44753 echo "${ECHO_T}yes" >&6; }
44754 else
44755 { echo "$as_me:$LINENO: result: no" >&5
44756 echo "${ECHO_T}no" >&6; }
44757 PKG_CONFIG=""
44758 fi
44759
44760 fi
44761
44762 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44763 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44764
44765
44766 pkg_failed=no
44767 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44768 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44769
44770 if test -n "$PKG_CONFIG"; then
44771 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44772 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44773 else
44774 if test -n "$PKG_CONFIG" && \
44775 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44776 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44777 ac_status=$?
44778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44779 (exit $ac_status); }; then
44780 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44781 else
44782 pkg_failed=yes
44783 fi
44784 fi
44785 else
44786 pkg_failed=untried
44787 fi
44788 if test -n "$PKG_CONFIG"; then
44789 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44790 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44791 else
44792 if test -n "$PKG_CONFIG" && \
44793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44794 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44795 ac_status=$?
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); }; then
44798 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44799 else
44800 pkg_failed=yes
44801 fi
44802 fi
44803 else
44804 pkg_failed=untried
44805 fi
44806
44807
44808
44809 if test $pkg_failed = yes; then
44810
44811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44812 _pkg_short_errors_supported=yes
44813 else
44814 _pkg_short_errors_supported=no
44815 fi
44816 if test $_pkg_short_errors_supported = yes; then
44817 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44818 else
44819 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44820 fi
44821 # Put the nasty error message in config.log where it belongs
44822 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44823
44824
44825 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44826 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44827 wxUSE_LIBGNOMEPRINT="no"
44828
44829
44830 elif test $pkg_failed = untried; then
44831
44832 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44833 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44834 wxUSE_LIBGNOMEPRINT="no"
44835
44836
44837 else
44838 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44839 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44840 { echo "$as_me:$LINENO: result: yes" >&5
44841 echo "${ECHO_T}yes" >&6; }
44842
44843 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44844 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_LIBGNOMEPRINT 1
44847 _ACEOF
44848
44849
44850 fi
44851 fi
44852 fi
44853
44854 if test "$wxUSE_MIMETYPE" = "yes" ; then
44855 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44856
44857
44858 pkg_failed=no
44859 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44860 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44861
44862 if test -n "$PKG_CONFIG"; then
44863 if test -n "$GNOMEVFS_CFLAGS"; then
44864 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44865 else
44866 if test -n "$PKG_CONFIG" && \
44867 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44868 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; then
44872 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44873 else
44874 pkg_failed=yes
44875 fi
44876 fi
44877 else
44878 pkg_failed=untried
44879 fi
44880 if test -n "$PKG_CONFIG"; then
44881 if test -n "$GNOMEVFS_LIBS"; then
44882 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44883 else
44884 if test -n "$PKG_CONFIG" && \
44885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44886 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44887 ac_status=$?
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); }; then
44890 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44891 else
44892 pkg_failed=yes
44893 fi
44894 fi
44895 else
44896 pkg_failed=untried
44897 fi
44898
44899
44900
44901 if test $pkg_failed = yes; then
44902
44903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44904 _pkg_short_errors_supported=yes
44905 else
44906 _pkg_short_errors_supported=no
44907 fi
44908 if test $_pkg_short_errors_supported = yes; then
44909 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44910 else
44911 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44912 fi
44913 # Put the nasty error message in config.log where it belongs
44914 echo "$GNOMEVFS_PKG_ERRORS" >&5
44915
44916
44917 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44918 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44919 wxUSE_LIBGNOMEVFS="no"
44920
44921
44922 elif test $pkg_failed = untried; then
44923
44924 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44925 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44926 wxUSE_LIBGNOMEVFS="no"
44927
44928
44929 else
44930 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44931 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44932 { echo "$as_me:$LINENO: result: yes" >&5
44933 echo "${ECHO_T}yes" >&6; }
44934
44935 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44936 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_LIBGNOMEVFS 1
44939 _ACEOF
44940
44941
44942 fi
44943 fi
44944 fi
44945
44946 if test "$wxUSE_LIBHILDON" = "yes" ; then
44947
44948 pkg_failed=no
44949 { echo "$as_me:$LINENO: checking for HILDON" >&5
44950 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44951
44952 if test -n "$PKG_CONFIG"; then
44953 if test -n "$HILDON_CFLAGS"; then
44954 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44955 else
44956 if test -n "$PKG_CONFIG" && \
44957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44958 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44959 ac_status=$?
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); }; then
44962 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44963 else
44964 pkg_failed=yes
44965 fi
44966 fi
44967 else
44968 pkg_failed=untried
44969 fi
44970 if test -n "$PKG_CONFIG"; then
44971 if test -n "$HILDON_LIBS"; then
44972 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44973 else
44974 if test -n "$PKG_CONFIG" && \
44975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44976 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44977 ac_status=$?
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; then
44980 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44981 else
44982 pkg_failed=yes
44983 fi
44984 fi
44985 else
44986 pkg_failed=untried
44987 fi
44988
44989
44990
44991 if test $pkg_failed = yes; then
44992
44993 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44994 _pkg_short_errors_supported=yes
44995 else
44996 _pkg_short_errors_supported=no
44997 fi
44998 if test $_pkg_short_errors_supported = yes; then
44999 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45000 else
45001 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45002 fi
45003 # Put the nasty error message in config.log where it belongs
45004 echo "$HILDON_PKG_ERRORS" >&5
45005
45006
45007 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45008 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45009 wxUSE_LIBHILDON="no"
45010
45011
45012 elif test $pkg_failed = untried; then
45013
45014 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45015 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45016 wxUSE_LIBHILDON="no"
45017
45018
45019 else
45020 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45021 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45022 { echo "$as_me:$LINENO: result: yes" >&5
45023 echo "${ECHO_T}yes" >&6; }
45024
45025 EXTRALIBS_HILDON="$HILDON_LIBS"
45026 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45027 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_LIBHILDON 1
45030 _ACEOF
45031
45032
45033 fi
45034 fi
45035 fi
45036
45037 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_CMDLINE_PARSER 1
45040 _ACEOF
45041
45042 fi
45043
45044 if test "$wxUSE_STOPWATCH" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_STOPWATCH 1
45047 _ACEOF
45048
45049 fi
45050
45051 if test "$wxUSE_DATETIME" = "yes"; then
45052 cat >>confdefs.h <<\_ACEOF
45053 #define wxUSE_DATETIME 1
45054 _ACEOF
45055
45056 fi
45057
45058 if test "$wxUSE_FILE" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_FILE 1
45061 _ACEOF
45062
45063 fi
45064
45065 if test "$wxUSE_FFILE" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_FFILE 1
45068 _ACEOF
45069
45070 fi
45071
45072 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45073 if test "$wxUSE_STREAMS" != yes; then
45074 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45075 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45076 wxUSE_ARCHIVE_STREAMS=no
45077 else
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_ARCHIVE_STREAMS 1
45080 _ACEOF
45081
45082 fi
45083 fi
45084
45085 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45086 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45087 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45088 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45089 elif test "$wxUSE_ZLIB" = "no"; then
45090 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45091 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45092 else
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_ZIPSTREAM 1
45095 _ACEOF
45096
45097 fi
45098 fi
45099
45100 if test "$wxUSE_TARSTREAM" = "yes"; then
45101 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45102 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45103 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45104 else
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_TARSTREAM 1
45107 _ACEOF
45108
45109 fi
45110 fi
45111
45112 if test "$wxUSE_FILESYSTEM" = "yes"; then
45113 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45114 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45115 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45116 wxUSE_FILESYSTEM=no
45117 else
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_FILESYSTEM 1
45120 _ACEOF
45121
45122 fi
45123 fi
45124
45125 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45126 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45127 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45128 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45129 else
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_FS_ARCHIVE 1
45132 _ACEOF
45133
45134 fi
45135 fi
45136
45137 if test "$wxUSE_FS_ZIP" = "yes"; then
45138 if test "$wxUSE_FS_ARCHIVE" != yes; then
45139 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45140 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45141 else
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_FS_ZIP 1
45144 _ACEOF
45145
45146 fi
45147 fi
45148
45149 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45150 if test "$USE_UNIX" != 1; then
45151 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45152 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45153 wxUSE_ON_FATAL_EXCEPTION=no
45154 else
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_ON_FATAL_EXCEPTION 1
45157 _ACEOF
45158
45159 fi
45160 fi
45161
45162 if test "$wxUSE_STACKWALKER" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_STACKWALKER 1
45165 _ACEOF
45166
45167 fi
45168
45169 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45170 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45171 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45172 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45173 wxUSE_DEBUGREPORT=no
45174 else
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_DEBUGREPORT 1
45177 _ACEOF
45178
45179 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45181 fi
45182 fi
45183 fi
45184
45185 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_SNGLINST_CHECKER 1
45188 _ACEOF
45189
45190 fi
45191
45192 if test "$wxUSE_BUSYINFO" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_BUSYINFO 1
45195 _ACEOF
45196
45197 fi
45198
45199 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_STD_IOSTREAM 1
45202 _ACEOF
45203
45204 fi
45205
45206 if test "$wxUSE_STD_STRING" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_STD_STRING 1
45209 _ACEOF
45210
45211 fi
45212
45213 if test "$wxUSE_STDPATHS" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_STDPATHS 1
45216 _ACEOF
45217
45218 fi
45219
45220 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_TEXTBUFFER 1
45223 _ACEOF
45224
45225 fi
45226
45227 if test "$wxUSE_TEXTFILE" = "yes"; then
45228 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45229 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45230 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45231 else
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_TEXTFILE 1
45234 _ACEOF
45235
45236 fi
45237 fi
45238
45239 if test "$wxUSE_CONFIG" = "yes" ; then
45240 if test "$wxUSE_TEXTFILE" != "yes"; then
45241 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45242 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45243 else
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_CONFIG 1
45246 _ACEOF
45247
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_CONFIG_NATIVE 1
45250 _ACEOF
45251
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45253 fi
45254 fi
45255
45256 if test "$wxUSE_INTL" = "yes" ; then
45257 if test "$wxUSE_FILE" != "yes"; then
45258 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45259 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45260 else
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_INTL 1
45263 _ACEOF
45264
45265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45266 GUIDIST="$GUIDIST INTL_DIST"
45267 fi
45268 fi
45269
45270 if test "$wxUSE_LOG" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_LOG 1
45273 _ACEOF
45274
45275
45276 if test "$wxUSE_LOGGUI" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_LOGGUI 1
45279 _ACEOF
45280
45281 fi
45282
45283 if test "$wxUSE_LOGWINDOW" = "yes"; then
45284 cat >>confdefs.h <<\_ACEOF
45285 #define wxUSE_LOGWINDOW 1
45286 _ACEOF
45287
45288 fi
45289
45290 if test "$wxUSE_LOGDIALOG" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_LOG_DIALOG 1
45293 _ACEOF
45294
45295 fi
45296
45297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45298 fi
45299
45300 if test "$wxUSE_LONGLONG" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_LONGLONG 1
45303 _ACEOF
45304
45305 fi
45306
45307 if test "$wxUSE_GEOMETRY" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_GEOMETRY 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_BASE64" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_BASE64 1
45317 _ACEOF
45318
45319 fi
45320
45321 if test "$wxUSE_STREAMS" = "yes" ; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_STREAMS 1
45324 _ACEOF
45325
45326 fi
45327
45328 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_PRINTF_POS_PARAMS 1
45331 _ACEOF
45332
45333 fi
45334
45335 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_OBJC_UNIQUIFYING 1
45338 _ACEOF
45339
45340 fi
45341
45342
45343 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_CONSOLE_EVENTLOOP 1
45346 _ACEOF
45347
45348
45349 if test "$wxUSE_UNIX" = "yes"; then
45350 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_SELECT_DISPATCHER 1
45353 _ACEOF
45354
45355 fi
45356
45357 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45358
45359 for ac_header in sys/epoll.h
45360 do
45361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45366 echo $ECHO_N "(cached) $ECHO_C" >&6
45367 fi
45368 ac_res=`eval echo '${'$as_ac_Header'}'`
45369 { echo "$as_me:$LINENO: result: $ac_res" >&5
45370 echo "${ECHO_T}$ac_res" >&6; }
45371 else
45372 # Is the header compilable?
45373 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45375 cat >conftest.$ac_ext <<_ACEOF
45376 /* confdefs.h. */
45377 _ACEOF
45378 cat confdefs.h >>conftest.$ac_ext
45379 cat >>conftest.$ac_ext <<_ACEOF
45380 /* end confdefs.h. */
45381 $ac_includes_default
45382 #include <$ac_header>
45383 _ACEOF
45384 rm -f conftest.$ac_objext
45385 if { (ac_try="$ac_compile"
45386 case "(($ac_try" in
45387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45388 *) ac_try_echo=$ac_try;;
45389 esac
45390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45391 (eval "$ac_compile") 2>conftest.er1
45392 ac_status=$?
45393 grep -v '^ *+' conftest.er1 >conftest.err
45394 rm -f conftest.er1
45395 cat conftest.err >&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } && {
45398 test -z "$ac_c_werror_flag" ||
45399 test ! -s conftest.err
45400 } && test -s conftest.$ac_objext; then
45401 ac_header_compiler=yes
45402 else
45403 echo "$as_me: failed program was:" >&5
45404 sed 's/^/| /' conftest.$ac_ext >&5
45405
45406 ac_header_compiler=no
45407 fi
45408
45409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45410 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45411 echo "${ECHO_T}$ac_header_compiler" >&6; }
45412
45413 # Is the header present?
45414 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45416 cat >conftest.$ac_ext <<_ACEOF
45417 /* confdefs.h. */
45418 _ACEOF
45419 cat confdefs.h >>conftest.$ac_ext
45420 cat >>conftest.$ac_ext <<_ACEOF
45421 /* end confdefs.h. */
45422 #include <$ac_header>
45423 _ACEOF
45424 if { (ac_try="$ac_cpp conftest.$ac_ext"
45425 case "(($ac_try" in
45426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45427 *) ac_try_echo=$ac_try;;
45428 esac
45429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45431 ac_status=$?
45432 grep -v '^ *+' conftest.er1 >conftest.err
45433 rm -f conftest.er1
45434 cat conftest.err >&5
45435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45436 (exit $ac_status); } >/dev/null && {
45437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45438 test ! -s conftest.err
45439 }; then
45440 ac_header_preproc=yes
45441 else
45442 echo "$as_me: failed program was:" >&5
45443 sed 's/^/| /' conftest.$ac_ext >&5
45444
45445 ac_header_preproc=no
45446 fi
45447
45448 rm -f conftest.err conftest.$ac_ext
45449 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45450 echo "${ECHO_T}$ac_header_preproc" >&6; }
45451
45452 # So? What about this header?
45453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45454 yes:no: )
45455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45459 ac_header_preproc=yes
45460 ;;
45461 no:yes:* )
45462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45474 ( cat <<\_ASBOX
45475 ## ----------------------------------------- ##
45476 ## Report this to wx-dev@lists.wxwidgets.org ##
45477 ## ----------------------------------------- ##
45478 _ASBOX
45479 ) | sed "s/^/$as_me: WARNING: /" >&2
45480 ;;
45481 esac
45482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45486 else
45487 eval "$as_ac_Header=\$ac_header_preproc"
45488 fi
45489 ac_res=`eval echo '${'$as_ac_Header'}'`
45490 { echo "$as_me:$LINENO: result: $ac_res" >&5
45491 echo "${ECHO_T}$ac_res" >&6; }
45492
45493 fi
45494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45495 cat >>confdefs.h <<_ACEOF
45496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45497 _ACEOF
45498
45499 fi
45500
45501 done
45502
45503 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_EPOLL_DISPATCHER 1
45506 _ACEOF
45507
45508 else
45509 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45510 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45511 fi
45512 fi
45513 fi
45514 fi
45515
45516
45517
45518
45519 for ac_func in gettimeofday ftime
45520 do
45521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45525 echo $ECHO_N "(cached) $ECHO_C" >&6
45526 else
45527 cat >conftest.$ac_ext <<_ACEOF
45528 /* confdefs.h. */
45529 _ACEOF
45530 cat confdefs.h >>conftest.$ac_ext
45531 cat >>conftest.$ac_ext <<_ACEOF
45532 /* end confdefs.h. */
45533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45535 #define $ac_func innocuous_$ac_func
45536
45537 /* System header to define __stub macros and hopefully few prototypes,
45538 which can conflict with char $ac_func (); below.
45539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45540 <limits.h> exists even on freestanding compilers. */
45541
45542 #ifdef __STDC__
45543 # include <limits.h>
45544 #else
45545 # include <assert.h>
45546 #endif
45547
45548 #undef $ac_func
45549
45550 /* Override any GCC internal prototype to avoid an error.
45551 Use char because int might match the return type of a GCC
45552 builtin and then its argument prototype would still apply. */
45553 #ifdef __cplusplus
45554 extern "C"
45555 #endif
45556 char $ac_func ();
45557 /* The GNU C library defines this for functions which it implements
45558 to always fail with ENOSYS. Some functions are actually named
45559 something starting with __ and the normal name is an alias. */
45560 #if defined __stub_$ac_func || defined __stub___$ac_func
45561 choke me
45562 #endif
45563
45564 int
45565 main ()
45566 {
45567 return $ac_func ();
45568 ;
45569 return 0;
45570 }
45571 _ACEOF
45572 rm -f conftest.$ac_objext conftest$ac_exeext
45573 if { (ac_try="$ac_link"
45574 case "(($ac_try" in
45575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45576 *) ac_try_echo=$ac_try;;
45577 esac
45578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45579 (eval "$ac_link") 2>conftest.er1
45580 ac_status=$?
45581 grep -v '^ *+' conftest.er1 >conftest.err
45582 rm -f conftest.er1
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } && {
45586 test -z "$ac_c_werror_flag" ||
45587 test ! -s conftest.err
45588 } && test -s conftest$ac_exeext &&
45589 $as_test_x conftest$ac_exeext; then
45590 eval "$as_ac_var=yes"
45591 else
45592 echo "$as_me: failed program was:" >&5
45593 sed 's/^/| /' conftest.$ac_ext >&5
45594
45595 eval "$as_ac_var=no"
45596 fi
45597
45598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45599 conftest$ac_exeext conftest.$ac_ext
45600 fi
45601 ac_res=`eval echo '${'$as_ac_var'}'`
45602 { echo "$as_me:$LINENO: result: $ac_res" >&5
45603 echo "${ECHO_T}$ac_res" >&6; }
45604 if test `eval echo '${'$as_ac_var'}'` = yes; then
45605 cat >>confdefs.h <<_ACEOF
45606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45607 _ACEOF
45608 break
45609 fi
45610 done
45611
45612
45613 if test "$ac_cv_func_gettimeofday" = "yes"; then
45614 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45615 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45616 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45617 echo $ECHO_N "(cached) $ECHO_C" >&6
45618 else
45619
45620 cat >conftest.$ac_ext <<_ACEOF
45621 /* confdefs.h. */
45622 _ACEOF
45623 cat confdefs.h >>conftest.$ac_ext
45624 cat >>conftest.$ac_ext <<_ACEOF
45625 /* end confdefs.h. */
45626
45627 #include <sys/time.h>
45628 #include <unistd.h>
45629
45630 int
45631 main ()
45632 {
45633
45634 struct timeval tv;
45635 gettimeofday(&tv, NULL);
45636
45637 ;
45638 return 0;
45639 }
45640 _ACEOF
45641 rm -f conftest.$ac_objext
45642 if { (ac_try="$ac_compile"
45643 case "(($ac_try" in
45644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45645 *) ac_try_echo=$ac_try;;
45646 esac
45647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45648 (eval "$ac_compile") 2>conftest.er1
45649 ac_status=$?
45650 grep -v '^ *+' conftest.er1 >conftest.err
45651 rm -f conftest.er1
45652 cat conftest.err >&5
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); } && {
45655 test -z "$ac_c_werror_flag" ||
45656 test ! -s conftest.err
45657 } && test -s conftest.$ac_objext; then
45658 wx_cv_func_gettimeofday_has_2_args=yes
45659 else
45660 echo "$as_me: failed program was:" >&5
45661 sed 's/^/| /' conftest.$ac_ext >&5
45662
45663 cat >conftest.$ac_ext <<_ACEOF
45664 /* confdefs.h. */
45665 _ACEOF
45666 cat confdefs.h >>conftest.$ac_ext
45667 cat >>conftest.$ac_ext <<_ACEOF
45668 /* end confdefs.h. */
45669
45670 #include <sys/time.h>
45671 #include <unistd.h>
45672
45673 int
45674 main ()
45675 {
45676
45677 struct timeval tv;
45678 gettimeofday(&tv);
45679
45680 ;
45681 return 0;
45682 }
45683 _ACEOF
45684 rm -f conftest.$ac_objext
45685 if { (ac_try="$ac_compile"
45686 case "(($ac_try" in
45687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45688 *) ac_try_echo=$ac_try;;
45689 esac
45690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45691 (eval "$ac_compile") 2>conftest.er1
45692 ac_status=$?
45693 grep -v '^ *+' conftest.er1 >conftest.err
45694 rm -f conftest.er1
45695 cat conftest.err >&5
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); } && {
45698 test -z "$ac_c_werror_flag" ||
45699 test ! -s conftest.err
45700 } && test -s conftest.$ac_objext; then
45701 wx_cv_func_gettimeofday_has_2_args=no
45702 else
45703 echo "$as_me: failed program was:" >&5
45704 sed 's/^/| /' conftest.$ac_ext >&5
45705
45706
45707 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45708 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45709 wx_cv_func_gettimeofday_has_2_args=unknown
45710
45711
45712 fi
45713
45714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45715
45716 fi
45717
45718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45719
45720 fi
45721 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45722 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45723
45724 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define WX_GETTIMEOFDAY_NO_TZ 1
45727 _ACEOF
45728
45729 fi
45730 fi
45731
45732 if test "$wxUSE_DATETIME" = "yes"; then
45733 { echo "$as_me:$LINENO: checking for strptime" >&5
45734 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45735 if test "${ac_cv_func_strptime+set}" = set; then
45736 echo $ECHO_N "(cached) $ECHO_C" >&6
45737 else
45738 cat >conftest.$ac_ext <<_ACEOF
45739 /* confdefs.h. */
45740 _ACEOF
45741 cat confdefs.h >>conftest.$ac_ext
45742 cat >>conftest.$ac_ext <<_ACEOF
45743 /* end confdefs.h. */
45744 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45746 #define strptime innocuous_strptime
45747
45748 /* System header to define __stub macros and hopefully few prototypes,
45749 which can conflict with char strptime (); below.
45750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45751 <limits.h> exists even on freestanding compilers. */
45752
45753 #ifdef __STDC__
45754 # include <limits.h>
45755 #else
45756 # include <assert.h>
45757 #endif
45758
45759 #undef strptime
45760
45761 /* Override any GCC internal prototype to avoid an error.
45762 Use char because int might match the return type of a GCC
45763 builtin and then its argument prototype would still apply. */
45764 #ifdef __cplusplus
45765 extern "C"
45766 #endif
45767 char strptime ();
45768 /* The GNU C library defines this for functions which it implements
45769 to always fail with ENOSYS. Some functions are actually named
45770 something starting with __ and the normal name is an alias. */
45771 #if defined __stub_strptime || defined __stub___strptime
45772 choke me
45773 #endif
45774
45775 int
45776 main ()
45777 {
45778 return strptime ();
45779 ;
45780 return 0;
45781 }
45782 _ACEOF
45783 rm -f conftest.$ac_objext conftest$ac_exeext
45784 if { (ac_try="$ac_link"
45785 case "(($ac_try" in
45786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45787 *) ac_try_echo=$ac_try;;
45788 esac
45789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45790 (eval "$ac_link") 2>conftest.er1
45791 ac_status=$?
45792 grep -v '^ *+' conftest.er1 >conftest.err
45793 rm -f conftest.er1
45794 cat conftest.err >&5
45795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796 (exit $ac_status); } && {
45797 test -z "$ac_c_werror_flag" ||
45798 test ! -s conftest.err
45799 } && test -s conftest$ac_exeext &&
45800 $as_test_x conftest$ac_exeext; then
45801 ac_cv_func_strptime=yes
45802 else
45803 echo "$as_me: failed program was:" >&5
45804 sed 's/^/| /' conftest.$ac_ext >&5
45805
45806 ac_cv_func_strptime=no
45807 fi
45808
45809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45810 conftest$ac_exeext conftest.$ac_ext
45811 fi
45812 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45813 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45814
45815 if test "$ac_cv_func_strptime" = "yes"; then
45816 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45817 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45818 if test "${wx_cv_func_strptime_decl+set}" = set; then
45819 echo $ECHO_N "(cached) $ECHO_C" >&6
45820 else
45821
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827
45828 cat >conftest.$ac_ext <<_ACEOF
45829 /* confdefs.h. */
45830 _ACEOF
45831 cat confdefs.h >>conftest.$ac_ext
45832 cat >>conftest.$ac_ext <<_ACEOF
45833 /* end confdefs.h. */
45834
45835 #include <time.h>
45836
45837 int
45838 main ()
45839 {
45840
45841 struct tm t;
45842 strptime("foo", "bar", &t);
45843
45844 ;
45845 return 0;
45846 }
45847 _ACEOF
45848 rm -f conftest.$ac_objext
45849 if { (ac_try="$ac_compile"
45850 case "(($ac_try" in
45851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45852 *) ac_try_echo=$ac_try;;
45853 esac
45854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45855 (eval "$ac_compile") 2>conftest.er1
45856 ac_status=$?
45857 grep -v '^ *+' conftest.er1 >conftest.err
45858 rm -f conftest.er1
45859 cat conftest.err >&5
45860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45861 (exit $ac_status); } && {
45862 test -z "$ac_cxx_werror_flag" ||
45863 test ! -s conftest.err
45864 } && test -s conftest.$ac_objext; then
45865 wx_cv_func_strptime_decl=yes
45866 else
45867 echo "$as_me: failed program was:" >&5
45868 sed 's/^/| /' conftest.$ac_ext >&5
45869
45870 wx_cv_func_strptime_decl=no
45871
45872 fi
45873
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45880
45881
45882
45883 fi
45884 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45885 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45886 fi
45887 if test "$wx_cv_func_strptime_decl" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define HAVE_STRPTIME_DECL 1
45890 _ACEOF
45891
45892 else
45893 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45894 fi
45895 if test "$ac_cv_func_strptime" = "yes"; then
45896 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45897 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45898 if test "${wx_cv_func_strptime_ok+set}" = set; then
45899 echo $ECHO_N "(cached) $ECHO_C" >&6
45900 else
45901 if test "$cross_compiling" = yes; then
45902 wx_cv_func_strptime_ok=no
45903
45904 else
45905 cat >conftest.$ac_ext <<_ACEOF
45906
45907 #include <stdlib.h>
45908 #include <time.h>
45909 #include "confdefs.h"
45910
45911 $wx_strptime_decl
45912
45913 int main()
45914 {
45915 struct tm t;
45916 return !!strptime("", "%x", &t);
45917 }
45918
45919 _ACEOF
45920 rm -f conftest$ac_exeext
45921 if { (ac_try="$ac_link"
45922 case "(($ac_try" in
45923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45924 *) ac_try_echo=$ac_try;;
45925 esac
45926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45927 (eval "$ac_link") 2>&5
45928 ac_status=$?
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45931 { (case "(($ac_try" in
45932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45933 *) ac_try_echo=$ac_try;;
45934 esac
45935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45936 (eval "$ac_try") 2>&5
45937 ac_status=$?
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); }; }; then
45940 wx_cv_func_strptime_ok=yes
45941 else
45942 echo "$as_me: program exited with status $ac_status" >&5
45943 echo "$as_me: failed program was:" >&5
45944 sed 's/^/| /' conftest.$ac_ext >&5
45945
45946 ( exit $ac_status )
45947 wx_cv_func_strptime_ok=no
45948 fi
45949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45950 fi
45951
45952
45953
45954 fi
45955 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45956 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45957
45958 if test "$wx_cv_func_strptime_ok" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define HAVE_STRPTIME 1
45961 _ACEOF
45962
45963 fi
45964 fi
45965
45966 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45967 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45968 if test "${wx_cv_var_timezone+set}" = set; then
45969 echo $ECHO_N "(cached) $ECHO_C" >&6
45970 else
45971
45972 ac_ext=cpp
45973 ac_cpp='$CXXCPP $CPPFLAGS'
45974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45977
45978 cat >conftest.$ac_ext <<_ACEOF
45979 /* confdefs.h. */
45980 _ACEOF
45981 cat confdefs.h >>conftest.$ac_ext
45982 cat >>conftest.$ac_ext <<_ACEOF
45983 /* end confdefs.h. */
45984
45985 #include <time.h>
45986
45987 int
45988 main ()
45989 {
45990
45991 int tz;
45992 tz = timezone;
45993
45994 ;
45995 return 0;
45996 }
45997 _ACEOF
45998 rm -f conftest.$ac_objext
45999 if { (ac_try="$ac_compile"
46000 case "(($ac_try" in
46001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46002 *) ac_try_echo=$ac_try;;
46003 esac
46004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46005 (eval "$ac_compile") 2>conftest.er1
46006 ac_status=$?
46007 grep -v '^ *+' conftest.er1 >conftest.err
46008 rm -f conftest.er1
46009 cat conftest.err >&5
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); } && {
46012 test -z "$ac_cxx_werror_flag" ||
46013 test ! -s conftest.err
46014 } && test -s conftest.$ac_objext; then
46015
46016 wx_cv_var_timezone=timezone
46017
46018 else
46019 echo "$as_me: failed program was:" >&5
46020 sed 's/^/| /' conftest.$ac_ext >&5
46021
46022
46023 cat >conftest.$ac_ext <<_ACEOF
46024 /* confdefs.h. */
46025 _ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h. */
46029
46030 #include <time.h>
46031
46032 int
46033 main ()
46034 {
46035
46036 int tz;
46037 tz = _timezone;
46038
46039 ;
46040 return 0;
46041 }
46042 _ACEOF
46043 rm -f conftest.$ac_objext
46044 if { (ac_try="$ac_compile"
46045 case "(($ac_try" in
46046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46047 *) ac_try_echo=$ac_try;;
46048 esac
46049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46050 (eval "$ac_compile") 2>conftest.er1
46051 ac_status=$?
46052 grep -v '^ *+' conftest.er1 >conftest.err
46053 rm -f conftest.er1
46054 cat conftest.err >&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); } && {
46057 test -z "$ac_cxx_werror_flag" ||
46058 test ! -s conftest.err
46059 } && test -s conftest.$ac_objext; then
46060
46061 wx_cv_var_timezone=_timezone
46062
46063 else
46064 echo "$as_me: failed program was:" >&5
46065 sed 's/^/| /' conftest.$ac_ext >&5
46066
46067
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h. */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h. */
46074
46075 #include <time.h>
46076
46077 int
46078 main ()
46079 {
46080
46081 int tz;
46082 tz = __timezone;
46083
46084 ;
46085 return 0;
46086 }
46087 _ACEOF
46088 rm -f conftest.$ac_objext
46089 if { (ac_try="$ac_compile"
46090 case "(($ac_try" in
46091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46092 *) ac_try_echo=$ac_try;;
46093 esac
46094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46095 (eval "$ac_compile") 2>conftest.er1
46096 ac_status=$?
46097 grep -v '^ *+' conftest.er1 >conftest.err
46098 rm -f conftest.er1
46099 cat conftest.err >&5
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); } && {
46102 test -z "$ac_cxx_werror_flag" ||
46103 test ! -s conftest.err
46104 } && test -s conftest.$ac_objext; then
46105
46106 wx_cv_var_timezone=__timezone
46107
46108 else
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46111
46112
46113 if test "$USE_DOS" = 0 ; then
46114 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46115 echo "$as_me: WARNING: no timezone variable" >&2;}
46116 fi
46117
46118
46119 fi
46120
46121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46122
46123
46124 fi
46125
46126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46127
46128
46129 fi
46130
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132 ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137
46138
46139
46140 fi
46141 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46142 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46143
46144 if test "x$wx_cv_var_timezone" != x ; then
46145 cat >>confdefs.h <<_ACEOF
46146 #define WX_TIMEZONE $wx_cv_var_timezone
46147 _ACEOF
46148
46149 fi
46150
46151
46152 for ac_func in localtime
46153 do
46154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46155 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46157 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46158 echo $ECHO_N "(cached) $ECHO_C" >&6
46159 else
46160 cat >conftest.$ac_ext <<_ACEOF
46161 /* confdefs.h. */
46162 _ACEOF
46163 cat confdefs.h >>conftest.$ac_ext
46164 cat >>conftest.$ac_ext <<_ACEOF
46165 /* end confdefs.h. */
46166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46168 #define $ac_func innocuous_$ac_func
46169
46170 /* System header to define __stub macros and hopefully few prototypes,
46171 which can conflict with char $ac_func (); below.
46172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46173 <limits.h> exists even on freestanding compilers. */
46174
46175 #ifdef __STDC__
46176 # include <limits.h>
46177 #else
46178 # include <assert.h>
46179 #endif
46180
46181 #undef $ac_func
46182
46183 /* Override any GCC internal prototype to avoid an error.
46184 Use char because int might match the return type of a GCC
46185 builtin and then its argument prototype would still apply. */
46186 #ifdef __cplusplus
46187 extern "C"
46188 #endif
46189 char $ac_func ();
46190 /* The GNU C library defines this for functions which it implements
46191 to always fail with ENOSYS. Some functions are actually named
46192 something starting with __ and the normal name is an alias. */
46193 #if defined __stub_$ac_func || defined __stub___$ac_func
46194 choke me
46195 #endif
46196
46197 int
46198 main ()
46199 {
46200 return $ac_func ();
46201 ;
46202 return 0;
46203 }
46204 _ACEOF
46205 rm -f conftest.$ac_objext conftest$ac_exeext
46206 if { (ac_try="$ac_link"
46207 case "(($ac_try" in
46208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46209 *) ac_try_echo=$ac_try;;
46210 esac
46211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46212 (eval "$ac_link") 2>conftest.er1
46213 ac_status=$?
46214 grep -v '^ *+' conftest.er1 >conftest.err
46215 rm -f conftest.er1
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } && {
46219 test -z "$ac_c_werror_flag" ||
46220 test ! -s conftest.err
46221 } && test -s conftest$ac_exeext &&
46222 $as_test_x conftest$ac_exeext; then
46223 eval "$as_ac_var=yes"
46224 else
46225 echo "$as_me: failed program was:" >&5
46226 sed 's/^/| /' conftest.$ac_ext >&5
46227
46228 eval "$as_ac_var=no"
46229 fi
46230
46231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46232 conftest$ac_exeext conftest.$ac_ext
46233 fi
46234 ac_res=`eval echo '${'$as_ac_var'}'`
46235 { echo "$as_me:$LINENO: result: $ac_res" >&5
46236 echo "${ECHO_T}$ac_res" >&6; }
46237 if test `eval echo '${'$as_ac_var'}'` = yes; then
46238 cat >>confdefs.h <<_ACEOF
46239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46240 _ACEOF
46241
46242 fi
46243 done
46244
46245
46246 if test "$ac_cv_func_localtime" = "yes"; then
46247 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46248 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46249 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46251 else
46252
46253 cat >conftest.$ac_ext <<_ACEOF
46254 /* confdefs.h. */
46255 _ACEOF
46256 cat confdefs.h >>conftest.$ac_ext
46257 cat >>conftest.$ac_ext <<_ACEOF
46258 /* end confdefs.h. */
46259
46260 #include <time.h>
46261
46262 int
46263 main ()
46264 {
46265
46266 struct tm tm;
46267 tm.tm_gmtoff++;
46268
46269 ;
46270 return 0;
46271 }
46272 _ACEOF
46273 rm -f conftest.$ac_objext
46274 if { (ac_try="$ac_compile"
46275 case "(($ac_try" in
46276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46277 *) ac_try_echo=$ac_try;;
46278 esac
46279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46280 (eval "$ac_compile") 2>conftest.er1
46281 ac_status=$?
46282 grep -v '^ *+' conftest.er1 >conftest.err
46283 rm -f conftest.er1
46284 cat conftest.err >&5
46285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286 (exit $ac_status); } && {
46287 test -z "$ac_c_werror_flag" ||
46288 test ! -s conftest.err
46289 } && test -s conftest.$ac_objext; then
46290
46291 wx_cv_struct_tm_has_gmtoff=yes
46292
46293 else
46294 echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46296
46297 wx_cv_struct_tm_has_gmtoff=no
46298
46299 fi
46300
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302
46303 fi
46304 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46305 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46306 fi
46307
46308 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define WX_GMTOFF_IN_TM 1
46311 _ACEOF
46312
46313 fi
46314
46315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46316 fi
46317
46318
46319 if test "$wxUSE_SOCKETS" = "yes"; then
46320 if test "$wxUSE_MGL" = "1"; then
46321 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46322 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46323 wxUSE_SOCKETS="no"
46324 fi
46325 fi
46326
46327 if test "$wxUSE_SOCKETS" = "yes"; then
46328 if test "$TOOLKIT" != "MSW"; then
46329 { echo "$as_me:$LINENO: checking for socket" >&5
46330 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46331 if test "${ac_cv_func_socket+set}" = set; then
46332 echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46334 cat >conftest.$ac_ext <<_ACEOF
46335 /* confdefs.h. */
46336 _ACEOF
46337 cat confdefs.h >>conftest.$ac_ext
46338 cat >>conftest.$ac_ext <<_ACEOF
46339 /* end confdefs.h. */
46340 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46342 #define socket innocuous_socket
46343
46344 /* System header to define __stub macros and hopefully few prototypes,
46345 which can conflict with char socket (); below.
46346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46347 <limits.h> exists even on freestanding compilers. */
46348
46349 #ifdef __STDC__
46350 # include <limits.h>
46351 #else
46352 # include <assert.h>
46353 #endif
46354
46355 #undef socket
46356
46357 /* Override any GCC internal prototype to avoid an error.
46358 Use char because int might match the return type of a GCC
46359 builtin and then its argument prototype would still apply. */
46360 #ifdef __cplusplus
46361 extern "C"
46362 #endif
46363 char socket ();
46364 /* The GNU C library defines this for functions which it implements
46365 to always fail with ENOSYS. Some functions are actually named
46366 something starting with __ and the normal name is an alias. */
46367 #if defined __stub_socket || defined __stub___socket
46368 choke me
46369 #endif
46370
46371 int
46372 main ()
46373 {
46374 return socket ();
46375 ;
46376 return 0;
46377 }
46378 _ACEOF
46379 rm -f conftest.$ac_objext conftest$ac_exeext
46380 if { (ac_try="$ac_link"
46381 case "(($ac_try" in
46382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46383 *) ac_try_echo=$ac_try;;
46384 esac
46385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46386 (eval "$ac_link") 2>conftest.er1
46387 ac_status=$?
46388 grep -v '^ *+' conftest.er1 >conftest.err
46389 rm -f conftest.er1
46390 cat conftest.err >&5
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); } && {
46393 test -z "$ac_c_werror_flag" ||
46394 test ! -s conftest.err
46395 } && test -s conftest$ac_exeext &&
46396 $as_test_x conftest$ac_exeext; then
46397 ac_cv_func_socket=yes
46398 else
46399 echo "$as_me: failed program was:" >&5
46400 sed 's/^/| /' conftest.$ac_ext >&5
46401
46402 ac_cv_func_socket=no
46403 fi
46404
46405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46406 conftest$ac_exeext conftest.$ac_ext
46407 fi
46408 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46409 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46410 if test $ac_cv_func_socket = yes; then
46411 :
46412 else
46413
46414 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46415 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46416 if test "${ac_cv_lib_socket_socket+set}" = set; then
46417 echo $ECHO_N "(cached) $ECHO_C" >&6
46418 else
46419 ac_check_lib_save_LIBS=$LIBS
46420 LIBS="-lsocket $LIBS"
46421 cat >conftest.$ac_ext <<_ACEOF
46422 /* confdefs.h. */
46423 _ACEOF
46424 cat confdefs.h >>conftest.$ac_ext
46425 cat >>conftest.$ac_ext <<_ACEOF
46426 /* end confdefs.h. */
46427
46428 /* Override any GCC internal prototype to avoid an error.
46429 Use char because int might match the return type of a GCC
46430 builtin and then its argument prototype would still apply. */
46431 #ifdef __cplusplus
46432 extern "C"
46433 #endif
46434 char socket ();
46435 int
46436 main ()
46437 {
46438 return socket ();
46439 ;
46440 return 0;
46441 }
46442 _ACEOF
46443 rm -f conftest.$ac_objext conftest$ac_exeext
46444 if { (ac_try="$ac_link"
46445 case "(($ac_try" in
46446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46447 *) ac_try_echo=$ac_try;;
46448 esac
46449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46450 (eval "$ac_link") 2>conftest.er1
46451 ac_status=$?
46452 grep -v '^ *+' conftest.er1 >conftest.err
46453 rm -f conftest.er1
46454 cat conftest.err >&5
46455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46456 (exit $ac_status); } && {
46457 test -z "$ac_c_werror_flag" ||
46458 test ! -s conftest.err
46459 } && test -s conftest$ac_exeext &&
46460 $as_test_x conftest$ac_exeext; then
46461 ac_cv_lib_socket_socket=yes
46462 else
46463 echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46465
46466 ac_cv_lib_socket_socket=no
46467 fi
46468
46469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46470 conftest$ac_exeext conftest.$ac_ext
46471 LIBS=$ac_check_lib_save_LIBS
46472 fi
46473 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46474 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46475 if test $ac_cv_lib_socket_socket = yes; then
46476 if test "$INET_LINK" != " -lsocket"; then
46477 INET_LINK="$INET_LINK -lsocket"
46478 fi
46479 else
46480
46481 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46482 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46483 wxUSE_SOCKETS=no
46484
46485
46486 fi
46487
46488
46489
46490 fi
46491
46492 fi
46493 fi
46494
46495 if test "$wxUSE_SOCKETS" = "yes" ; then
46496 if test "$TOOLKIT" != "MSW"; then
46497 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46498 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46499 if test "${wx_cv_type_getsockname3+set}" = set; then
46500 echo $ECHO_N "(cached) $ECHO_C" >&6
46501 else
46502
46503 ac_ext=cpp
46504 ac_cpp='$CXXCPP $CPPFLAGS'
46505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46508
46509 cat >conftest.$ac_ext <<_ACEOF
46510 /* confdefs.h. */
46511 _ACEOF
46512 cat confdefs.h >>conftest.$ac_ext
46513 cat >>conftest.$ac_ext <<_ACEOF
46514 /* end confdefs.h. */
46515
46516 #include <sys/types.h>
46517 #include <sys/socket.h>
46518
46519 int
46520 main ()
46521 {
46522
46523 socklen_t len;
46524 getsockname(0, 0, &len);
46525
46526 ;
46527 return 0;
46528 }
46529 _ACEOF
46530 rm -f conftest.$ac_objext
46531 if { (ac_try="$ac_compile"
46532 case "(($ac_try" in
46533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46534 *) ac_try_echo=$ac_try;;
46535 esac
46536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46537 (eval "$ac_compile") 2>conftest.er1
46538 ac_status=$?
46539 grep -v '^ *+' conftest.er1 >conftest.err
46540 rm -f conftest.er1
46541 cat conftest.err >&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); } && {
46544 test -z "$ac_cxx_werror_flag" ||
46545 test ! -s conftest.err
46546 } && test -s conftest.$ac_objext; then
46547 wx_cv_type_getsockname3=socklen_t
46548 else
46549 echo "$as_me: failed program was:" >&5
46550 sed 's/^/| /' conftest.$ac_ext >&5
46551
46552
46553 CFLAGS_OLD="$CFLAGS"
46554 if test "$GCC" = yes ; then
46555 CFLAGS="-Werror $CFLAGS"
46556 fi
46557
46558 cat >conftest.$ac_ext <<_ACEOF
46559 /* confdefs.h. */
46560 _ACEOF
46561 cat confdefs.h >>conftest.$ac_ext
46562 cat >>conftest.$ac_ext <<_ACEOF
46563 /* end confdefs.h. */
46564
46565 #include <sys/types.h>
46566 #include <sys/socket.h>
46567
46568 int
46569 main ()
46570 {
46571
46572 size_t len;
46573 getsockname(0, 0, &len);
46574
46575 ;
46576 return 0;
46577 }
46578 _ACEOF
46579 rm -f conftest.$ac_objext
46580 if { (ac_try="$ac_compile"
46581 case "(($ac_try" in
46582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46583 *) ac_try_echo=$ac_try;;
46584 esac
46585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46586 (eval "$ac_compile") 2>conftest.er1
46587 ac_status=$?
46588 grep -v '^ *+' conftest.er1 >conftest.err
46589 rm -f conftest.er1
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } && {
46593 test -z "$ac_cxx_werror_flag" ||
46594 test ! -s conftest.err
46595 } && test -s conftest.$ac_objext; then
46596 wx_cv_type_getsockname3=size_t
46597 else
46598 echo "$as_me: failed program was:" >&5
46599 sed 's/^/| /' conftest.$ac_ext >&5
46600
46601 cat >conftest.$ac_ext <<_ACEOF
46602 /* confdefs.h. */
46603 _ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607
46608 #include <sys/types.h>
46609 #include <sys/socket.h>
46610
46611 int
46612 main ()
46613 {
46614
46615 int len;
46616 getsockname(0, 0, &len);
46617
46618 ;
46619 return 0;
46620 }
46621 _ACEOF
46622 rm -f conftest.$ac_objext
46623 if { (ac_try="$ac_compile"
46624 case "(($ac_try" in
46625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46626 *) ac_try_echo=$ac_try;;
46627 esac
46628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46629 (eval "$ac_compile") 2>conftest.er1
46630 ac_status=$?
46631 grep -v '^ *+' conftest.er1 >conftest.err
46632 rm -f conftest.er1
46633 cat conftest.err >&5
46634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46635 (exit $ac_status); } && {
46636 test -z "$ac_cxx_werror_flag" ||
46637 test ! -s conftest.err
46638 } && test -s conftest.$ac_objext; then
46639 wx_cv_type_getsockname3=int
46640 else
46641 echo "$as_me: failed program was:" >&5
46642 sed 's/^/| /' conftest.$ac_ext >&5
46643
46644 wx_cv_type_getsockname3=unknown
46645
46646 fi
46647
46648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46649
46650 fi
46651
46652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46653
46654 CFLAGS="$CFLAGS_OLD"
46655
46656
46657 fi
46658
46659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46660 ac_ext=c
46661 ac_cpp='$CPP $CPPFLAGS'
46662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46665
46666
46667 fi
46668 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46669 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46670
46671 if test "$wx_cv_type_getsockname3" = "unknown"; then
46672 wxUSE_SOCKETS=no
46673 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46674 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46675 else
46676 cat >>confdefs.h <<_ACEOF
46677 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46678 _ACEOF
46679
46680 fi
46681 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46682 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46683 if test "${wx_cv_type_getsockopt5+set}" = set; then
46684 echo $ECHO_N "(cached) $ECHO_C" >&6
46685 else
46686
46687 ac_ext=cpp
46688 ac_cpp='$CXXCPP $CPPFLAGS'
46689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46692
46693 cat >conftest.$ac_ext <<_ACEOF
46694 /* confdefs.h. */
46695 _ACEOF
46696 cat confdefs.h >>conftest.$ac_ext
46697 cat >>conftest.$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46699
46700 #include <sys/types.h>
46701 #include <sys/socket.h>
46702
46703 int
46704 main ()
46705 {
46706
46707 socklen_t len;
46708 getsockopt(0, 0, 0, 0, &len);
46709
46710 ;
46711 return 0;
46712 }
46713 _ACEOF
46714 rm -f conftest.$ac_objext
46715 if { (ac_try="$ac_compile"
46716 case "(($ac_try" in
46717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46718 *) ac_try_echo=$ac_try;;
46719 esac
46720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46721 (eval "$ac_compile") 2>conftest.er1
46722 ac_status=$?
46723 grep -v '^ *+' conftest.er1 >conftest.err
46724 rm -f conftest.er1
46725 cat conftest.err >&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); } && {
46728 test -z "$ac_cxx_werror_flag" ||
46729 test ! -s conftest.err
46730 } && test -s conftest.$ac_objext; then
46731 wx_cv_type_getsockopt5=socklen_t
46732 else
46733 echo "$as_me: failed program was:" >&5
46734 sed 's/^/| /' conftest.$ac_ext >&5
46735
46736
46737 cat >conftest.$ac_ext <<_ACEOF
46738 /* confdefs.h. */
46739 _ACEOF
46740 cat confdefs.h >>conftest.$ac_ext
46741 cat >>conftest.$ac_ext <<_ACEOF
46742 /* end confdefs.h. */
46743
46744 #include <sys/types.h>
46745 #include <sys/socket.h>
46746
46747 int
46748 main ()
46749 {
46750
46751 size_t len;
46752 getsockopt(0, 0, 0, 0, &len);
46753
46754 ;
46755 return 0;
46756 }
46757 _ACEOF
46758 rm -f conftest.$ac_objext
46759 if { (ac_try="$ac_compile"
46760 case "(($ac_try" in
46761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46762 *) ac_try_echo=$ac_try;;
46763 esac
46764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46765 (eval "$ac_compile") 2>conftest.er1
46766 ac_status=$?
46767 grep -v '^ *+' conftest.er1 >conftest.err
46768 rm -f conftest.er1
46769 cat conftest.err >&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); } && {
46772 test -z "$ac_cxx_werror_flag" ||
46773 test ! -s conftest.err
46774 } && test -s conftest.$ac_objext; then
46775 wx_cv_type_getsockopt5=size_t
46776 else
46777 echo "$as_me: failed program was:" >&5
46778 sed 's/^/| /' conftest.$ac_ext >&5
46779
46780 cat >conftest.$ac_ext <<_ACEOF
46781 /* confdefs.h. */
46782 _ACEOF
46783 cat confdefs.h >>conftest.$ac_ext
46784 cat >>conftest.$ac_ext <<_ACEOF
46785 /* end confdefs.h. */
46786
46787 #include <sys/types.h>
46788 #include <sys/socket.h>
46789
46790 int
46791 main ()
46792 {
46793
46794 int len;
46795 getsockopt(0, 0, 0, 0, &len);
46796
46797 ;
46798 return 0;
46799 }
46800 _ACEOF
46801 rm -f conftest.$ac_objext
46802 if { (ac_try="$ac_compile"
46803 case "(($ac_try" in
46804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46805 *) ac_try_echo=$ac_try;;
46806 esac
46807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46808 (eval "$ac_compile") 2>conftest.er1
46809 ac_status=$?
46810 grep -v '^ *+' conftest.er1 >conftest.err
46811 rm -f conftest.er1
46812 cat conftest.err >&5
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); } && {
46815 test -z "$ac_cxx_werror_flag" ||
46816 test ! -s conftest.err
46817 } && test -s conftest.$ac_objext; then
46818 wx_cv_type_getsockopt5=int
46819 else
46820 echo "$as_me: failed program was:" >&5
46821 sed 's/^/| /' conftest.$ac_ext >&5
46822
46823 wx_cv_type_getsockopt5=unknown
46824
46825 fi
46826
46827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46828
46829 fi
46830
46831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46832
46833
46834 fi
46835
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837 ac_ext=c
46838 ac_cpp='$CPP $CPPFLAGS'
46839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46842
46843
46844 fi
46845 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46846 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46847
46848 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46849 wxUSE_SOCKETS=no
46850 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46851 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46852 else
46853 cat >>confdefs.h <<_ACEOF
46854 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46855 _ACEOF
46856
46857 fi
46858 fi
46859 fi
46860
46861 if test "$wxUSE_SOCKETS" = "yes" ; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_SOCKETS 1
46864 _ACEOF
46865
46866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46867 fi
46868
46869 if test "$wxUSE_PROTOCOL" = "yes"; then
46870 if test "$wxUSE_SOCKETS" != "yes"; then
46871 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46872 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46873 wxUSE_PROTOCOL=no
46874 fi
46875 fi
46876
46877 if test "$wxUSE_PROTOCOL" = "yes"; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_PROTOCOL 1
46880 _ACEOF
46881
46882
46883 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_PROTOCOL_HTTP 1
46886 _ACEOF
46887
46888 fi
46889 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46890 cat >>confdefs.h <<\_ACEOF
46891 #define wxUSE_PROTOCOL_FTP 1
46892 _ACEOF
46893
46894 fi
46895 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_PROTOCOL_FILE 1
46898 _ACEOF
46899
46900 fi
46901 else
46902 if test "$wxUSE_FS_INET" = "yes"; then
46903 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46904 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46905 wxUSE_FS_INET="no"
46906 fi
46907 fi
46908
46909 if test "$wxUSE_URL" = "yes"; then
46910 if test "$wxUSE_PROTOCOL" != "yes"; then
46911 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46912 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46913 wxUSE_URL=no
46914 fi
46915 if test "$wxUSE_URL" = "yes"; then
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_URL 1
46918 _ACEOF
46919
46920 fi
46921 fi
46922
46923 if test "$wxUSE_VARIANT" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_VARIANT 1
46926 _ACEOF
46927
46928 fi
46929
46930 if test "$wxUSE_FS_INET" = "yes"; then
46931 cat >>confdefs.h <<\_ACEOF
46932 #define wxUSE_FS_INET 1
46933 _ACEOF
46934
46935 fi
46936
46937
46938 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46939 wxUSE_JOYSTICK=no
46940
46941 if test "$TOOLKIT" = "MSW"; then
46942 wxUSE_JOYSTICK=yes
46943
46944 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46945 if test "$USE_DARWIN" = 1; then
46946 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46947 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46948 ac_ext=cpp
46949 ac_cpp='$CXXCPP $CPPFLAGS'
46950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46953
46954 cat >conftest.$ac_ext <<_ACEOF
46955 /* confdefs.h. */
46956 _ACEOF
46957 cat confdefs.h >>conftest.$ac_ext
46958 cat >>conftest.$ac_ext <<_ACEOF
46959 /* end confdefs.h. */
46960 #include <IOKit/hid/IOHIDLib.h>
46961 int
46962 main ()
46963 {
46964 IOHIDQueueInterface *qi = NULL;
46965 IOHIDCallbackFunction cb = NULL;
46966 qi->setEventCallout(NULL, cb, NULL, NULL);
46967 ;
46968 return 0;
46969 }
46970 _ACEOF
46971 rm -f conftest.$ac_objext
46972 if { (ac_try="$ac_compile"
46973 case "(($ac_try" in
46974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46975 *) ac_try_echo=$ac_try;;
46976 esac
46977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46978 (eval "$ac_compile") 2>conftest.er1
46979 ac_status=$?
46980 grep -v '^ *+' conftest.er1 >conftest.err
46981 rm -f conftest.er1
46982 cat conftest.err >&5
46983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46984 (exit $ac_status); } && {
46985 test -z "$ac_cxx_werror_flag" ||
46986 test ! -s conftest.err
46987 } && test -s conftest.$ac_objext; then
46988 wxUSE_JOYSTICK=yes
46989
46990 else
46991 echo "$as_me: failed program was:" >&5
46992 sed 's/^/| /' conftest.$ac_ext >&5
46993
46994
46995 fi
46996
46997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46998 ac_ext=c
46999 ac_cpp='$CPP $CPPFLAGS'
47000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47003
47004 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47005 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47006 fi
47007
47008 else
47009 if test "$wxUSE_MGL" != "1"; then
47010
47011 for ac_header in linux/joystick.h
47012 do
47013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47017 echo $ECHO_N "(cached) $ECHO_C" >&6
47018 else
47019 cat >conftest.$ac_ext <<_ACEOF
47020 /* confdefs.h. */
47021 _ACEOF
47022 cat confdefs.h >>conftest.$ac_ext
47023 cat >>conftest.$ac_ext <<_ACEOF
47024 /* end confdefs.h. */
47025 $ac_includes_default
47026
47027 #include <$ac_header>
47028 _ACEOF
47029 rm -f conftest.$ac_objext
47030 if { (ac_try="$ac_compile"
47031 case "(($ac_try" in
47032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47033 *) ac_try_echo=$ac_try;;
47034 esac
47035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47036 (eval "$ac_compile") 2>conftest.er1
47037 ac_status=$?
47038 grep -v '^ *+' conftest.er1 >conftest.err
47039 rm -f conftest.er1
47040 cat conftest.err >&5
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); } && {
47043 test -z "$ac_c_werror_flag" ||
47044 test ! -s conftest.err
47045 } && test -s conftest.$ac_objext; then
47046 eval "$as_ac_Header=yes"
47047 else
47048 echo "$as_me: failed program was:" >&5
47049 sed 's/^/| /' conftest.$ac_ext >&5
47050
47051 eval "$as_ac_Header=no"
47052 fi
47053
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055 fi
47056 ac_res=`eval echo '${'$as_ac_Header'}'`
47057 { echo "$as_me:$LINENO: result: $ac_res" >&5
47058 echo "${ECHO_T}$ac_res" >&6; }
47059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47060 cat >>confdefs.h <<_ACEOF
47061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47062 _ACEOF
47063 wxUSE_JOYSTICK=yes
47064 fi
47065
47066 done
47067
47068 fi
47069 fi
47070
47071 if test "$wxUSE_JOYSTICK" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_JOYSTICK 1
47074 _ACEOF
47075
47076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47077 else
47078 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47079 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47080 fi
47081 fi
47082
47083
47084
47085 if test "$wxUSE_FONTENUM" = "yes" ; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_FONTENUM 1
47088 _ACEOF
47089
47090 fi
47091
47092 if test "$wxUSE_FONTMAP" = "yes" ; then
47093 cat >>confdefs.h <<\_ACEOF
47094 #define wxUSE_FONTMAP 1
47095 _ACEOF
47096
47097 fi
47098
47099 if test "$wxUSE_UNICODE" = "yes" ; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_UNICODE 1
47102 _ACEOF
47103
47104
47105 if test "$USE_WIN32" != 1; then
47106 wxUSE_UNICODE_MSLU=no
47107 fi
47108
47109 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47110 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47111 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47112 if test "${ac_cv_lib_unicows_main+set}" = set; then
47113 echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115 ac_check_lib_save_LIBS=$LIBS
47116 LIBS="-lunicows $LIBS"
47117 cat >conftest.$ac_ext <<_ACEOF
47118 /* confdefs.h. */
47119 _ACEOF
47120 cat confdefs.h >>conftest.$ac_ext
47121 cat >>conftest.$ac_ext <<_ACEOF
47122 /* end confdefs.h. */
47123
47124
47125 int
47126 main ()
47127 {
47128 return main ();
47129 ;
47130 return 0;
47131 }
47132 _ACEOF
47133 rm -f conftest.$ac_objext conftest$ac_exeext
47134 if { (ac_try="$ac_link"
47135 case "(($ac_try" in
47136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47137 *) ac_try_echo=$ac_try;;
47138 esac
47139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47140 (eval "$ac_link") 2>conftest.er1
47141 ac_status=$?
47142 grep -v '^ *+' conftest.er1 >conftest.err
47143 rm -f conftest.er1
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } && {
47147 test -z "$ac_c_werror_flag" ||
47148 test ! -s conftest.err
47149 } && test -s conftest$ac_exeext &&
47150 $as_test_x conftest$ac_exeext; then
47151 ac_cv_lib_unicows_main=yes
47152 else
47153 echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.$ac_ext >&5
47155
47156 ac_cv_lib_unicows_main=no
47157 fi
47158
47159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47160 conftest$ac_exeext conftest.$ac_ext
47161 LIBS=$ac_check_lib_save_LIBS
47162 fi
47163 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47164 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47165 if test $ac_cv_lib_unicows_main = yes; then
47166
47167 cat >>confdefs.h <<\_ACEOF
47168 #define wxUSE_UNICODE_MSLU 1
47169 _ACEOF
47170
47171
47172 else
47173
47174 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47175 Applications will only run on Windows NT/2000/XP!" >&5
47176 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47177 Applications will only run on Windows NT/2000/XP!" >&2;}
47178 wxUSE_UNICODE_MSLU=no
47179
47180 fi
47181
47182 fi
47183 fi
47184
47185 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47186 cat >>confdefs.h <<\_ACEOF
47187 #define wxUSE_UNICODE_UTF8 1
47188 _ACEOF
47189
47190
47191 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_UTF8_LOCALE_ONLY 1
47194 _ACEOF
47195
47196 fi
47197 fi
47198
47199 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_EXPERIMENTAL_PRINTF 1
47202 _ACEOF
47203
47204 fi
47205
47206
47207 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_CONSTRAINTS 1
47210 _ACEOF
47211
47212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47213 fi
47214
47215 if test "$wxUSE_MDI" = "yes"; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_MDI 1
47218 _ACEOF
47219
47220
47221 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_MDI_ARCHITECTURE 1
47224 _ACEOF
47225
47226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47227 fi
47228 fi
47229
47230 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47233 _ACEOF
47234
47235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47236 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47238 fi
47239 fi
47240
47241 if test "$wxUSE_HELP" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_HELP 1
47244 _ACEOF
47245
47246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47247
47248 if test "$wxUSE_MSW" = 1; then
47249 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47250 cat >>confdefs.h <<\_ACEOF
47251 #define wxUSE_MS_HTML_HELP 1
47252 _ACEOF
47253
47254 fi
47255 fi
47256
47257 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47258 if test "$wxUSE_HTML" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_WXHTML_HELP 1
47261 _ACEOF
47262
47263 else
47264 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47265 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47266 wxUSE_WXHTML_HELP=no
47267 fi
47268 fi
47269 fi
47270
47271 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47272 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47273 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47274 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47275 else
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_PRINTING_ARCHITECTURE 1
47278 _ACEOF
47279
47280 fi
47281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47282 fi
47283
47284 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_POSTSCRIPT 1
47287 _ACEOF
47288
47289 fi
47290
47291 cat >>confdefs.h <<\_ACEOF
47292 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47293 _ACEOF
47294
47295
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_NORMALIZED_PS_FONTS 1
47298 _ACEOF
47299
47300
47301 if test "$wxUSE_SVG" = "yes"; then
47302 cat >>confdefs.h <<\_ACEOF
47303 #define wxUSE_SVG 1
47304 _ACEOF
47305
47306 fi
47307
47308
47309 if test "$wxUSE_METAFILE" = "yes"; then
47310 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47311 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47312 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47313 wxUSE_METAFILE=no
47314 fi
47315 fi
47316
47317
47318 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47319 -o "$wxUSE_CLIPBOARD" = "yes" \
47320 -o "$wxUSE_OLE" = "yes" \
47321 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47322 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47323 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47324 if test "${ac_cv_header_ole2_h+set}" = set; then
47325 echo $ECHO_N "(cached) $ECHO_C" >&6
47326 else
47327 cat >conftest.$ac_ext <<_ACEOF
47328 /* confdefs.h. */
47329 _ACEOF
47330 cat confdefs.h >>conftest.$ac_ext
47331 cat >>conftest.$ac_ext <<_ACEOF
47332 /* end confdefs.h. */
47333
47334
47335 #include <ole2.h>
47336 _ACEOF
47337 rm -f conftest.$ac_objext
47338 if { (ac_try="$ac_compile"
47339 case "(($ac_try" in
47340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47341 *) ac_try_echo=$ac_try;;
47342 esac
47343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47344 (eval "$ac_compile") 2>conftest.er1
47345 ac_status=$?
47346 grep -v '^ *+' conftest.er1 >conftest.err
47347 rm -f conftest.er1
47348 cat conftest.err >&5
47349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350 (exit $ac_status); } && {
47351 test -z "$ac_c_werror_flag" ||
47352 test ! -s conftest.err
47353 } && test -s conftest.$ac_objext; then
47354 ac_cv_header_ole2_h=yes
47355 else
47356 echo "$as_me: failed program was:" >&5
47357 sed 's/^/| /' conftest.$ac_ext >&5
47358
47359 ac_cv_header_ole2_h=no
47360 fi
47361
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 fi
47364 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47365 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47366
47367
47368
47369 if test "$ac_cv_header_ole2_h" = "yes" ; then
47370 if test "$GCC" = yes ; then
47371 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47372 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47373 cat >conftest.$ac_ext <<_ACEOF
47374 /* confdefs.h. */
47375 _ACEOF
47376 cat confdefs.h >>conftest.$ac_ext
47377 cat >>conftest.$ac_ext <<_ACEOF
47378 /* end confdefs.h. */
47379 #include <windows.h>
47380 #include <ole2.h>
47381 int
47382 main ()
47383 {
47384
47385 ;
47386 return 0;
47387 }
47388 _ACEOF
47389 rm -f conftest.$ac_objext
47390 if { (ac_try="$ac_compile"
47391 case "(($ac_try" in
47392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47393 *) ac_try_echo=$ac_try;;
47394 esac
47395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47396 (eval "$ac_compile") 2>conftest.er1
47397 ac_status=$?
47398 grep -v '^ *+' conftest.er1 >conftest.err
47399 rm -f conftest.er1
47400 cat conftest.err >&5
47401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402 (exit $ac_status); } && {
47403 test -z "$ac_c_werror_flag" ||
47404 test ! -s conftest.err
47405 } && test -s conftest.$ac_objext; then
47406 { echo "$as_me:$LINENO: result: no" >&5
47407 echo "${ECHO_T}no" >&6; }
47408 else
47409 echo "$as_me: failed program was:" >&5
47410 sed 's/^/| /' conftest.$ac_ext >&5
47411
47412 { echo "$as_me:$LINENO: result: yes" >&5
47413 echo "${ECHO_T}yes" >&6; }
47414 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47415 fi
47416
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47419 if test "$wxUSE_OLE" = "yes" ; then
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_OLE 1
47422 _ACEOF
47423
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_OLE_AUTOMATION 1
47426 _ACEOF
47427
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_ACTIVEX 1
47430 _ACEOF
47431
47432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47433 fi
47434 fi
47435
47436 if test "$wxUSE_DATAOBJ" = "yes" ; then
47437 cat >>confdefs.h <<\_ACEOF
47438 #define wxUSE_DATAOBJ 1
47439 _ACEOF
47440
47441 fi
47442 else
47443 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47444 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47445
47446 wxUSE_CLIPBOARD=no
47447 wxUSE_DRAG_AND_DROP=no
47448 wxUSE_DATAOBJ=no
47449 wxUSE_OLE=no
47450 fi
47451
47452 if test "$wxUSE_METAFILE" = "yes"; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_METAFILE 1
47455 _ACEOF
47456
47457
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_ENH_METAFILE 1
47460 _ACEOF
47461
47462 fi
47463 fi
47464
47465 if test "$wxUSE_IPC" = "yes"; then
47466 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47467 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47468 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47469 wxUSE_IPC=no
47470 fi
47471
47472 if test "$wxUSE_IPC" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_IPC 1
47475 _ACEOF
47476
47477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47478 fi
47479 fi
47480
47481 if test "$wxUSE_DATAOBJ" = "yes"; then
47482 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47483 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47484 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47485 wxUSE_DATAOBJ=no
47486 else
47487 cat >>confdefs.h <<\_ACEOF
47488 #define wxUSE_DATAOBJ 1
47489 _ACEOF
47490
47491 fi
47492 else
47493 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47494 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47495 wxUSE_CLIPBOARD=no
47496 wxUSE_DRAG_AND_DROP=no
47497 fi
47498
47499 if test "$wxUSE_CLIPBOARD" = "yes"; then
47500 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47501 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47502 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47503 wxUSE_CLIPBOARD=no
47504 fi
47505
47506 if test "$wxUSE_CLIPBOARD" = "yes"; then
47507 cat >>confdefs.h <<\_ACEOF
47508 #define wxUSE_CLIPBOARD 1
47509 _ACEOF
47510
47511 fi
47512 fi
47513
47514 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47515 if test "$wxUSE_GTK" = 1; then
47516 if test "$WXGTK12" != 1; then
47517 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47518 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47519 wxUSE_DRAG_AND_DROP=no
47520 fi
47521 fi
47522
47523 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47524 "$wxUSE_DFB" = 1; then
47525 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47526 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47527 wxUSE_DRAG_AND_DROP=no
47528 fi
47529
47530 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_DRAG_AND_DROP 1
47533 _ACEOF
47534
47535 fi
47536
47537 fi
47538
47539 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47541 fi
47542
47543 if test "$wxUSE_SPLINES" = "yes" ; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_SPLINES 1
47546 _ACEOF
47547
47548 fi
47549
47550 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_MOUSEWHEEL 1
47553 _ACEOF
47554
47555 fi
47556
47557
47558 USES_CONTROLS=0
47559 if test "$wxUSE_CONTROLS" = "yes"; then
47560 USES_CONTROLS=1
47561 fi
47562
47563 if test "$wxUSE_ACCEL" = "yes"; then
47564 cat >>confdefs.h <<\_ACEOF
47565 #define wxUSE_ACCEL 1
47566 _ACEOF
47567
47568 USES_CONTROLS=1
47569 fi
47570
47571 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47572 cat >>confdefs.h <<\_ACEOF
47573 #define wxUSE_ANIMATIONCTRL 1
47574 _ACEOF
47575
47576 USES_CONTROLS=1
47577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47578 fi
47579
47580 if test "$wxUSE_BUTTON" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_BUTTON 1
47583 _ACEOF
47584
47585 USES_CONTROLS=1
47586 fi
47587
47588 if test "$wxUSE_BMPBUTTON" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_BMPBUTTON 1
47591 _ACEOF
47592
47593 USES_CONTROLS=1
47594 fi
47595
47596 if test "$wxUSE_CALCTRL" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_CALENDARCTRL 1
47599 _ACEOF
47600
47601 USES_CONTROLS=1
47602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47603 fi
47604
47605 if test "$wxUSE_CARET" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_CARET 1
47608 _ACEOF
47609
47610 USES_CONTROLS=1
47611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47612 fi
47613
47614 if test "$wxUSE_COLLPANE" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_COLLPANE 1
47617 _ACEOF
47618
47619 USES_CONTROLS=1
47620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47621 fi
47622
47623 if test "$wxUSE_COMBOBOX" = "yes"; then
47624 cat >>confdefs.h <<\_ACEOF
47625 #define wxUSE_COMBOBOX 1
47626 _ACEOF
47627
47628 USES_CONTROLS=1
47629 fi
47630
47631 if test "$wxUSE_COMBOCTRL" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_COMBOCTRL 1
47634 _ACEOF
47635
47636 USES_CONTROLS=1
47637 fi
47638
47639 if test "$wxUSE_CHOICE" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_CHOICE 1
47642 _ACEOF
47643
47644 USES_CONTROLS=1
47645 fi
47646
47647 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47648 cat >>confdefs.h <<\_ACEOF
47649 #define wxUSE_CHOICEBOOK 1
47650 _ACEOF
47651
47652 USES_CONTROLS=1
47653 fi
47654
47655 if test "$wxUSE_CHECKBOX" = "yes"; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_CHECKBOX 1
47658 _ACEOF
47659
47660 USES_CONTROLS=1
47661 fi
47662
47663 if test "$wxUSE_CHECKLST" = "yes"; then
47664 cat >>confdefs.h <<\_ACEOF
47665 #define wxUSE_CHECKLISTBOX 1
47666 _ACEOF
47667
47668 USES_CONTROLS=1
47669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47670 fi
47671
47672 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47673 cat >>confdefs.h <<\_ACEOF
47674 #define wxUSE_COLOURPICKERCTRL 1
47675 _ACEOF
47676
47677 USES_CONTROLS=1
47678 fi
47679
47680 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_DATEPICKCTRL 1
47683 _ACEOF
47684
47685 USES_CONTROLS=1
47686 fi
47687
47688 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_DIRPICKERCTRL 1
47691 _ACEOF
47692
47693 USES_CONTROLS=1
47694 fi
47695
47696 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_FILEPICKERCTRL 1
47699 _ACEOF
47700
47701 USES_CONTROLS=1
47702 fi
47703
47704 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_FONTPICKERCTRL 1
47707 _ACEOF
47708
47709 USES_CONTROLS=1
47710 fi
47711
47712 if test "$wxUSE_DISPLAY" = "yes"; then
47713 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47714 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47715 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47716 wxUSE_DISPLAY=no
47717 else
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_DISPLAY 1
47720 _ACEOF
47721
47722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47723 fi
47724 fi
47725
47726 if test "$wxUSE_DETECT_SM" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_DETECT_SM 1
47729 _ACEOF
47730
47731 fi
47732
47733 if test "$wxUSE_GAUGE" = "yes"; then
47734 cat >>confdefs.h <<\_ACEOF
47735 #define wxUSE_GAUGE 1
47736 _ACEOF
47737
47738 USES_CONTROLS=1
47739 fi
47740
47741 if test "$wxUSE_GRID" = "yes"; then
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_GRID 1
47744 _ACEOF
47745
47746 USES_CONTROLS=1
47747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47748 fi
47749
47750 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_HYPERLINKCTRL 1
47753 _ACEOF
47754
47755 USES_CONTROLS=1
47756 fi
47757
47758 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_BITMAPCOMBOBOX 1
47761 _ACEOF
47762
47763 USES_CONTROLS=1
47764 fi
47765
47766 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_DATAVIEWCTRL 1
47769 _ACEOF
47770
47771 USES_CONTROLS=1
47772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47773 fi
47774
47775 if test "$wxUSE_IMAGLIST" = "yes"; then
47776 cat >>confdefs.h <<\_ACEOF
47777 #define wxUSE_IMAGLIST 1
47778 _ACEOF
47779
47780 fi
47781
47782 if test "$wxUSE_LISTBOOK" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_LISTBOOK 1
47785 _ACEOF
47786
47787 USES_CONTROLS=1
47788 fi
47789
47790 if test "$wxUSE_LISTBOX" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_LISTBOX 1
47793 _ACEOF
47794
47795 USES_CONTROLS=1
47796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47797 fi
47798
47799 if test "$wxUSE_LISTCTRL" = "yes"; then
47800 if test "$wxUSE_IMAGLIST" = "yes"; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_LISTCTRL 1
47803 _ACEOF
47804
47805 USES_CONTROLS=1
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47807 else
47808 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47809 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47810 fi
47811 fi
47812
47813 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_EDITABLELISTBOX 1
47816 _ACEOF
47817
47818 USES_CONTROLS=1
47819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47820 fi
47821
47822 if test "$wxUSE_NOTEBOOK" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_NOTEBOOK 1
47825 _ACEOF
47826
47827 USES_CONTROLS=1
47828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47829 fi
47830
47831 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_ODCOMBOBOX 1
47834 _ACEOF
47835
47836 USES_CONTROLS=1
47837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47838 fi
47839
47840
47841 if test "$wxUSE_RADIOBOX" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_RADIOBOX 1
47844 _ACEOF
47845
47846 USES_CONTROLS=1
47847 fi
47848
47849 if test "$wxUSE_RADIOBTN" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_RADIOBTN 1
47852 _ACEOF
47853
47854 USES_CONTROLS=1
47855 fi
47856
47857 if test "$wxUSE_SASH" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_SASH 1
47860 _ACEOF
47861
47862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47863 fi
47864
47865 if test "$wxUSE_SCROLLBAR" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_SCROLLBAR 1
47868 _ACEOF
47869
47870 USES_CONTROLS=1
47871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47872 fi
47873
47874 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_SEARCHCTRL 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 fi
47881
47882 if test "$wxUSE_SLIDER" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_SLIDER 1
47885 _ACEOF
47886
47887 USES_CONTROLS=1
47888 fi
47889
47890 if test "$wxUSE_SPINBTN" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_SPINBTN 1
47893 _ACEOF
47894
47895 USES_CONTROLS=1
47896 fi
47897
47898 if test "$wxUSE_SPINCTRL" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_SPINCTRL 1
47901 _ACEOF
47902
47903 USES_CONTROLS=1
47904 fi
47905
47906 if test "$wxUSE_SPLITTER" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_SPLITTER 1
47909 _ACEOF
47910
47911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47912 fi
47913
47914 if test "$wxUSE_STATBMP" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_STATBMP 1
47917 _ACEOF
47918
47919 USES_CONTROLS=1
47920 fi
47921
47922 if test "$wxUSE_STATBOX" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_STATBOX 1
47925 _ACEOF
47926
47927 USES_CONTROLS=1
47928 fi
47929
47930 if test "$wxUSE_STATTEXT" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_STATTEXT 1
47933 _ACEOF
47934
47935 USES_CONTROLS=1
47936 fi
47937
47938 if test "$wxUSE_STATLINE" = "yes"; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_STATLINE 1
47941 _ACEOF
47942
47943 USES_CONTROLS=1
47944 fi
47945
47946 if test "$wxUSE_STATUSBAR" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_NATIVE_STATUSBAR 1
47949 _ACEOF
47950
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_STATUSBAR 1
47953 _ACEOF
47954
47955 USES_CONTROLS=1
47956
47957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47958 fi
47959
47960 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_TAB_DIALOG 1
47963 _ACEOF
47964
47965 fi
47966
47967 if test "$wxUSE_TEXTCTRL" = "yes"; then
47968 cat >>confdefs.h <<\_ACEOF
47969 #define wxUSE_TEXTCTRL 1
47970 _ACEOF
47971
47972 USES_CONTROLS=1
47973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47974 fi
47975
47976 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47977 if test "$wxUSE_COCOA" = 1 ; then
47978 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47979 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47980 wxUSE_TOGGLEBTN=no
47981 fi
47982
47983 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_TOGGLEBTN 1
47986 _ACEOF
47987
47988 USES_CONTROLS=1
47989 fi
47990 fi
47991
47992 if test "$wxUSE_TOOLBAR" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_TOOLBAR 1
47995 _ACEOF
47996
47997 USES_CONTROLS=1
47998
47999 if test "$wxUSE_UNIVERSAL" = "yes"; then
48000 wxUSE_TOOLBAR_NATIVE="no"
48001 else
48002 wxUSE_TOOLBAR_NATIVE="yes"
48003 cat >>confdefs.h <<\_ACEOF
48004 #define wxUSE_TOOLBAR_NATIVE 1
48005 _ACEOF
48006
48007 fi
48008
48009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48010 fi
48011
48012 if test "$wxUSE_TOOLTIPS" = "yes"; then
48013 if test "$wxUSE_MOTIF" = 1; then
48014 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48015 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48016 else
48017 if test "$wxUSE_UNIVERSAL" = "yes"; then
48018 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48019 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48020 else
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_TOOLTIPS 1
48023 _ACEOF
48024
48025 fi
48026 fi
48027 fi
48028
48029 if test "$wxUSE_TREEBOOK" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_TREEBOOK 1
48032 _ACEOF
48033
48034 USES_CONTROLS=1
48035 fi
48036
48037 if test "$wxUSE_TOOLBOOK" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_TOOLBOOK 1
48040 _ACEOF
48041
48042 USES_CONTROLS=1
48043 fi
48044
48045 if test "$wxUSE_TREECTRL" = "yes"; then
48046 if test "$wxUSE_IMAGLIST" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_TREECTRL 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48053 else
48054 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48055 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48056 fi
48057 fi
48058
48059 if test "$wxUSE_POPUPWIN" = "yes"; then
48060 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48061 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48062 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48063 else
48064 if test "$wxUSE_PM" = 1; then
48065 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48066 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48067 else
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_POPUPWIN 1
48070 _ACEOF
48071
48072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48073
48074 USES_CONTROLS=1
48075 fi
48076 fi
48077 fi
48078
48079 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48080 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48081 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48082 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48083 else
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_DIALUP_MANAGER 1
48086 _ACEOF
48087
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48089 fi
48090 fi
48091
48092 if test "$wxUSE_TIPWINDOW" = "yes"; then
48093 if test "$wxUSE_PM" = 1; then
48094 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48095 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48096 else
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_TIPWINDOW 1
48099 _ACEOF
48100
48101 fi
48102 fi
48103
48104 if test "$USES_CONTROLS" = 1; then
48105 cat >>confdefs.h <<\_ACEOF
48106 #define wxUSE_CONTROLS 1
48107 _ACEOF
48108
48109 fi
48110
48111
48112 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_ACCESSIBILITY 1
48115 _ACEOF
48116
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48118 fi
48119
48120 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_DRAGIMAGE 1
48123 _ACEOF
48124
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48126 fi
48127
48128 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48129 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48130 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48131 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48132 else
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_EXCEPTIONS 1
48135 _ACEOF
48136
48137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48138 fi
48139 fi
48140
48141 USE_HTML=0
48142 if test "$wxUSE_HTML" = "yes"; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_HTML 1
48145 _ACEOF
48146
48147 USE_HTML=1
48148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48149 if test "$wxUSE_MAC" = 1; then
48150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48151 fi
48152 fi
48153 if test "$wxUSE_WEBKIT" = "yes"; then
48154 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48155 old_CPPFLAGS="$CPPFLAGS"
48156 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48157 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48158 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48159 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48160 echo $ECHO_N "(cached) $ECHO_C" >&6
48161 else
48162 cat >conftest.$ac_ext <<_ACEOF
48163 /* confdefs.h. */
48164 _ACEOF
48165 cat confdefs.h >>conftest.$ac_ext
48166 cat >>conftest.$ac_ext <<_ACEOF
48167 /* end confdefs.h. */
48168
48169 #include <Carbon/Carbon.h>
48170 #include <WebKit/WebKit.h>
48171
48172
48173 #include <WebKit/HIWebView.h>
48174 _ACEOF
48175 rm -f conftest.$ac_objext
48176 if { (ac_try="$ac_compile"
48177 case "(($ac_try" in
48178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48179 *) ac_try_echo=$ac_try;;
48180 esac
48181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48182 (eval "$ac_compile") 2>conftest.er1
48183 ac_status=$?
48184 grep -v '^ *+' conftest.er1 >conftest.err
48185 rm -f conftest.er1
48186 cat conftest.err >&5
48187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48188 (exit $ac_status); } && {
48189 test -z "$ac_c_werror_flag" ||
48190 test ! -s conftest.err
48191 } && test -s conftest.$ac_objext; then
48192 ac_cv_header_WebKit_HIWebView_h=yes
48193 else
48194 echo "$as_me: failed program was:" >&5
48195 sed 's/^/| /' conftest.$ac_ext >&5
48196
48197 ac_cv_header_WebKit_HIWebView_h=no
48198 fi
48199
48200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48201 fi
48202 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48203 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48204 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48205
48206 cat >>confdefs.h <<\_ACEOF
48207 #define wxUSE_WEBKIT 1
48208 _ACEOF
48209
48210 WEBKIT_LINK="-framework WebKit"
48211
48212 else
48213
48214 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48215 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48216 wxUSE_WEBKIT=no
48217
48218 fi
48219
48220
48221 CPPFLAGS="$old_CPPFLAGS"
48222 elif test "$wxUSE_COCOA" = 1; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_WEBKIT 1
48225 _ACEOF
48226
48227 else
48228 wxUSE_WEBKIT=no
48229 fi
48230 fi
48231
48232 USE_XRC=0
48233 if test "$wxUSE_XRC" = "yes"; then
48234 if test "$wxUSE_XML" != "yes"; then
48235 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48236 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48237 wxUSE_XRC=no
48238 else
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_XRC 1
48241 _ACEOF
48242
48243 USE_XRC=1
48244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48245 fi
48246 fi
48247
48248 USE_AUI=0
48249 if test "$wxUSE_AUI" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_AUI 1
48252 _ACEOF
48253
48254 USE_AUI=1
48255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48256 fi
48257
48258 USE_STC=0
48259 if test "$wxUSE_STC" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_STC 1
48262 _ACEOF
48263
48264 USE_STC=1
48265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48266 fi
48267
48268 if test "$wxUSE_MENUS" = "yes"; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_MENUS 1
48271 _ACEOF
48272
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48274 fi
48275
48276 if test "$wxUSE_METAFILE" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_METAFILE 1
48279 _ACEOF
48280
48281 fi
48282
48283 if test "$wxUSE_MIMETYPE" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_MIMETYPE 1
48286 _ACEOF
48287
48288 fi
48289
48290 if test "$wxUSE_MINIFRAME" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_MINIFRAME 1
48293 _ACEOF
48294
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48296 fi
48297
48298 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_SYSTEM_OPTIONS 1
48301 _ACEOF
48302
48303 fi
48304
48305 if test "$wxUSE_TASKBARICON" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_TASKBARICON 1
48308 _ACEOF
48309
48310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48311 fi
48312
48313
48314 if test "$wxUSE_VALIDATORS" = "yes"; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_VALIDATORS 1
48317 _ACEOF
48318
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48320 fi
48321
48322 if test "$wxUSE_PALETTE" = "yes" ; then
48323 if test "$wxUSE_DFB" = 1; then
48324 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48325 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48326 wxUSE_PALETTE=no
48327 else
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_PALETTE 1
48330 _ACEOF
48331
48332 fi
48333 fi
48334
48335 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48336 LIBS=" -lunicows $LIBS"
48337 fi
48338
48339 USE_RICHTEXT=0
48340 if test "$wxUSE_RICHTEXT" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_RICHTEXT 1
48343 _ACEOF
48344
48345 USE_RICHTEXT=1
48346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48347 fi
48348
48349
48350 if test "$wxUSE_IMAGE" = "yes" ; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_IMAGE 1
48353 _ACEOF
48354
48355
48356 if test "$wxUSE_GIF" = "yes" ; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_GIF 1
48359 _ACEOF
48360
48361 fi
48362
48363 if test "$wxUSE_PCX" = "yes" ; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_PCX 1
48366 _ACEOF
48367
48368 fi
48369
48370 if test "$wxUSE_TGA" = "yes" ; then
48371 cat >>confdefs.h <<\_ACEOF
48372 #define wxUSE_TGA 1
48373 _ACEOF
48374
48375 fi
48376
48377 if test "$wxUSE_IFF" = "yes" ; then
48378 cat >>confdefs.h <<\_ACEOF
48379 #define wxUSE_IFF 1
48380 _ACEOF
48381
48382 fi
48383
48384 if test "$wxUSE_PNM" = "yes" ; then
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_PNM 1
48387 _ACEOF
48388
48389 fi
48390
48391 if test "$wxUSE_XPM" = "yes" ; then
48392 cat >>confdefs.h <<\_ACEOF
48393 #define wxUSE_XPM 1
48394 _ACEOF
48395
48396 fi
48397
48398 if test "$wxUSE_ICO_CUR" = "yes" ; then
48399 cat >>confdefs.h <<\_ACEOF
48400 #define wxUSE_ICO_CUR 1
48401 _ACEOF
48402
48403 fi
48404 fi
48405
48406
48407 if test "$wxUSE_ABOUTDLG" = "yes"; then
48408 cat >>confdefs.h <<\_ACEOF
48409 #define wxUSE_ABOUTDLG 1
48410 _ACEOF
48411
48412 fi
48413
48414 if test "$wxUSE_CHOICEDLG" = "yes"; then
48415 cat >>confdefs.h <<\_ACEOF
48416 #define wxUSE_CHOICEDLG 1
48417 _ACEOF
48418
48419 fi
48420
48421 if test "$wxUSE_COLOURDLG" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_COLOURDLG 1
48424 _ACEOF
48425
48426 fi
48427
48428 if test "$wxUSE_FILEDLG" = "yes"; then
48429 cat >>confdefs.h <<\_ACEOF
48430 #define wxUSE_FILEDLG 1
48431 _ACEOF
48432
48433 fi
48434
48435 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48436 cat >>confdefs.h <<\_ACEOF
48437 #define wxUSE_FINDREPLDLG 1
48438 _ACEOF
48439
48440 fi
48441
48442 if test "$wxUSE_FONTDLG" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_FONTDLG 1
48445 _ACEOF
48446
48447 fi
48448
48449 if test "$wxUSE_DIRDLG" = "yes"; then
48450 if test "$wxUSE_TREECTRL" != "yes"; then
48451 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48452 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48453 else
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_DIRDLG 1
48456 _ACEOF
48457
48458 fi
48459 fi
48460
48461 if test "$wxUSE_MSGDLG" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_MSGDLG 1
48464 _ACEOF
48465
48466 fi
48467
48468 if test "$wxUSE_NUMBERDLG" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_NUMBERDLG 1
48471 _ACEOF
48472
48473 fi
48474
48475 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48476 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48477 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48478 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48479 else
48480 cat >>confdefs.h <<\_ACEOF
48481 #define wxUSE_PROGRESSDLG 1
48482 _ACEOF
48483
48484 fi
48485 fi
48486
48487 if test "$wxUSE_SPLASH" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_SPLASH 1
48490 _ACEOF
48491
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48493 fi
48494
48495 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48496 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48497 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48498 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48499 else
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_STARTUP_TIPS 1
48502 _ACEOF
48503
48504 fi
48505 fi
48506
48507 if test "$wxUSE_TEXTDLG" = "yes"; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_TEXTDLG 1
48510 _ACEOF
48511
48512 fi
48513
48514 if test "$wxUSE_WIZARDDLG" = "yes"; then
48515 cat >>confdefs.h <<\_ACEOF
48516 #define wxUSE_WIZARDDLG 1
48517 _ACEOF
48518
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48520 fi
48521
48522
48523 if test "$wxUSE_MSW" = 1 ; then
48524
48525 if test "$wxUSE_DC_CACHEING" = "yes"; then
48526 cat >>confdefs.h <<\_ACEOF
48527 #define wxUSE_DC_CACHEING 1
48528 _ACEOF
48529
48530 fi
48531
48532 if test "$wxUSE_UXTHEME" = "yes"; then
48533 cat >>confdefs.h <<\_ACEOF
48534 #define wxUSE_UXTHEME 1
48535 _ACEOF
48536
48537 fi
48538
48539 fi
48540
48541
48542 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48543 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_GRAPHICS_CONTEXT 1
48546 _ACEOF
48547
48548 elif test "$wxUSE_GTK" != 1; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_GRAPHICS_CONTEXT 1
48551 _ACEOF
48552
48553 else
48554
48555 pkg_failed=no
48556 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48557 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48558
48559 if test -n "$PKG_CONFIG"; then
48560 if test -n "$CAIRO_CFLAGS"; then
48561 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48562 else
48563 if test -n "$PKG_CONFIG" && \
48564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48565 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48566 ac_status=$?
48567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48568 (exit $ac_status); }; then
48569 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48570 else
48571 pkg_failed=yes
48572 fi
48573 fi
48574 else
48575 pkg_failed=untried
48576 fi
48577 if test -n "$PKG_CONFIG"; then
48578 if test -n "$CAIRO_LIBS"; then
48579 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48580 else
48581 if test -n "$PKG_CONFIG" && \
48582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48583 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48584 ac_status=$?
48585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48586 (exit $ac_status); }; then
48587 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48588 else
48589 pkg_failed=yes
48590 fi
48591 fi
48592 else
48593 pkg_failed=untried
48594 fi
48595
48596
48597
48598 if test $pkg_failed = yes; then
48599
48600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48601 _pkg_short_errors_supported=yes
48602 else
48603 _pkg_short_errors_supported=no
48604 fi
48605 if test $_pkg_short_errors_supported = yes; then
48606 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48607 else
48608 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48609 fi
48610 # Put the nasty error message in config.log where it belongs
48611 echo "$CAIRO_PKG_ERRORS" >&5
48612
48613 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48614 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48615
48616 elif test $pkg_failed = untried; then
48617 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48618 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48619
48620 else
48621 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48622 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48623 { echo "$as_me:$LINENO: result: yes" >&5
48624 echo "${ECHO_T}yes" >&6; }
48625 cat >>confdefs.h <<\_ACEOF
48626 #define wxUSE_GRAPHICS_CONTEXT 1
48627 _ACEOF
48628
48629 fi
48630 fi
48631 fi
48632
48633
48634 USE_MEDIA=0
48635
48636 if test "$wxUSE_MEDIACTRL" = "yes"; then
48637 USE_MEDIA=1
48638
48639 if test "$wxUSE_GTK" = 1; then
48640 wxUSE_GSTREAMER="no"
48641
48642 GST_VERSION_MAJOR=0
48643 GST_VERSION_MINOR=10
48644 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48645
48646 if test "$wxUSE_GSTREAMER8" = "no"; then
48647
48648 pkg_failed=no
48649 { echo "$as_me:$LINENO: checking for GST" >&5
48650 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48651
48652 if test -n "$PKG_CONFIG"; then
48653 if test -n "$GST_CFLAGS"; then
48654 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48655 else
48656 if test -n "$PKG_CONFIG" && \
48657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48658 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48659 ac_status=$?
48660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48661 (exit $ac_status); }; then
48662 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48663 else
48664 pkg_failed=yes
48665 fi
48666 fi
48667 else
48668 pkg_failed=untried
48669 fi
48670 if test -n "$PKG_CONFIG"; then
48671 if test -n "$GST_LIBS"; then
48672 pkg_cv_GST_LIBS="$GST_LIBS"
48673 else
48674 if test -n "$PKG_CONFIG" && \
48675 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48676 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48677 ac_status=$?
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); }; then
48680 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48681 else
48682 pkg_failed=yes
48683 fi
48684 fi
48685 else
48686 pkg_failed=untried
48687 fi
48688
48689
48690
48691 if test $pkg_failed = yes; then
48692
48693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48694 _pkg_short_errors_supported=yes
48695 else
48696 _pkg_short_errors_supported=no
48697 fi
48698 if test $_pkg_short_errors_supported = yes; then
48699 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48700 else
48701 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48702 fi
48703 # Put the nasty error message in config.log where it belongs
48704 echo "$GST_PKG_ERRORS" >&5
48705
48706
48707 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48708 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48709 GST_VERSION_MINOR=8
48710
48711
48712 elif test $pkg_failed = untried; then
48713
48714 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48715 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48716 GST_VERSION_MINOR=8
48717
48718
48719 else
48720 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48721 GST_LIBS=$pkg_cv_GST_LIBS
48722 { echo "$as_me:$LINENO: result: yes" >&5
48723 echo "${ECHO_T}yes" >&6; }
48724
48725 wxUSE_GSTREAMER="yes"
48726 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48727
48728 fi
48729 else
48730 GST_VERSION_MINOR=8
48731 fi
48732
48733 if test $GST_VERSION_MINOR = "8"; then
48734 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48735
48736 pkg_failed=no
48737 { echo "$as_me:$LINENO: checking for GST" >&5
48738 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48739
48740 if test -n "$PKG_CONFIG"; then
48741 if test -n "$GST_CFLAGS"; then
48742 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48743 else
48744 if test -n "$PKG_CONFIG" && \
48745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48746 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48747 ac_status=$?
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; then
48750 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48751 else
48752 pkg_failed=yes
48753 fi
48754 fi
48755 else
48756 pkg_failed=untried
48757 fi
48758 if test -n "$PKG_CONFIG"; then
48759 if test -n "$GST_LIBS"; then
48760 pkg_cv_GST_LIBS="$GST_LIBS"
48761 else
48762 if test -n "$PKG_CONFIG" && \
48763 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48764 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48765 ac_status=$?
48766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48767 (exit $ac_status); }; then
48768 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48769 else
48770 pkg_failed=yes
48771 fi
48772 fi
48773 else
48774 pkg_failed=untried
48775 fi
48776
48777
48778
48779 if test $pkg_failed = yes; then
48780
48781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48782 _pkg_short_errors_supported=yes
48783 else
48784 _pkg_short_errors_supported=no
48785 fi
48786 if test $_pkg_short_errors_supported = yes; then
48787 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48788 else
48789 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48790 fi
48791 # Put the nasty error message in config.log where it belongs
48792 echo "$GST_PKG_ERRORS" >&5
48793
48794
48795 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48796 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48797
48798 elif test $pkg_failed = untried; then
48799
48800 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48801 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48802
48803 else
48804 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48805 GST_LIBS=$pkg_cv_GST_LIBS
48806 { echo "$as_me:$LINENO: result: yes" >&5
48807 echo "${ECHO_T}yes" >&6; }
48808 wxUSE_GSTREAMER="yes"
48809 fi
48810 fi
48811
48812
48813 if test "$wxUSE_GSTREAMER" = "yes"; then
48814 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48815 LIBS="$GST_LIBS $LIBS"
48816
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_GSTREAMER 1
48819 _ACEOF
48820
48821 else
48822 USE_MEDIA=0
48823 fi
48824 fi
48825
48826 if test $USE_MEDIA = 1; then
48827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48828 cat >>confdefs.h <<\_ACEOF
48829 #define wxUSE_MEDIACTRL 1
48830 _ACEOF
48831
48832 fi
48833 fi
48834
48835
48836 if test "$cross_compiling" = "yes"; then
48837 OSINFO="\"$host\""
48838 else
48839 OSINFO=`uname -s -r -m`
48840 OSINFO="\"$OSINFO\""
48841 fi
48842
48843 cat >>confdefs.h <<_ACEOF
48844 #define WXWIN_OS_DESCRIPTION $OSINFO
48845 _ACEOF
48846
48847
48848
48849 if test "x$prefix" != "xNONE"; then
48850 wxPREFIX=$prefix
48851 else
48852 wxPREFIX=$ac_default_prefix
48853 fi
48854
48855 cat >>confdefs.h <<_ACEOF
48856 #define wxINSTALL_PREFIX "$wxPREFIX"
48857 _ACEOF
48858
48859
48860
48861
48862 STD_BASE_LIBS="base"
48863 STD_GUI_LIBS=""
48864 BUILT_WX_LIBS="base"
48865 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48866
48867 if test "$wxUSE_SOCKETS" = "yes" ; then
48868 STD_BASE_LIBS="net $STD_BASE_LIBS"
48869 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48870 fi
48871 if test "$wxUSE_ODBC" != "no" ; then
48872 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48873 fi
48874 if test "$wxUSE_XML" = "yes" ; then
48875 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48876 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48877 fi
48878
48879 if test "$wxUSE_GUI" = "yes"; then
48880 STD_GUI_LIBS="adv core"
48881 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48882
48883 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48884 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48885 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48886 fi
48887 if test "$wxUSE_ODBC" != "no" ; then
48888 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48889 fi
48890 if test "$wxUSE_HTML" = "yes" ; then
48891 STD_GUI_LIBS="html $STD_GUI_LIBS"
48892 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48893 fi
48894 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48895 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48896 fi
48897 if test "$wxUSE_OPENGL" = "yes" ; then
48898 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48899 fi
48900 if test "$wxUSE_AUI" = "yes" ; then
48901 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48902 fi
48903 if test "$wxUSE_STC" = "yes" ; then
48904 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48905 fi
48906 if test "$wxUSE_XRC" = "yes" ; then
48907 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48908 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48909 fi
48910 fi
48911
48912
48913
48914
48915
48916
48917
48918
48919 if test "$wxUSE_MAC" = 1 ; then
48920 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48921 if test "$USE_DARWIN" = 1; then
48922 LDFLAGS="$LDFLAGS -framework QuickTime"
48923 else
48924 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48925 fi
48926 fi
48927 if test "$USE_DARWIN" = 1; then
48928 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48929 else
48930 LDFLAGS="$LDFLAGS -lCarbonLib"
48931 fi
48932 fi
48933 if test "$wxUSE_COCOA" = 1 ; then
48934 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48935 if test "$wxUSE_MEDIACTRL" = "yes"; then
48936 LDFLAGS="$LDFLAGS -framework QuickTime"
48937 fi
48938 fi
48939 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48940 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48941 fi
48942
48943 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48944
48945 if test "$wxUSE_GUI" = "yes"; then
48946
48947
48948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48949 dynamic erase event exec font image minimal mobile \
48950 mobile/wxedit mobile/styles propsize render \
48951 rotate shaped svg taborder vscroll widgets"
48952
48953 if test "$wxUSE_MONOLITHIC" != "yes"; then
48954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48955 fi
48956 if test "$TOOLKIT" = "MSW"; then
48957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48958 if test "$wxUSE_UNIVERSAL" != "yes"; then
48959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48960 fi
48961 fi
48962 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48964 fi
48965 else
48966 SAMPLES_SUBDIRS="console"
48967 fi
48968
48969
48970 if test "x$INTELCC" = "xyes" ; then
48971 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48972 elif test "$GCC" = yes ; then
48973 CWARNINGS="-Wall -Wundef"
48974 fi
48975
48976 if test "x$INTELCXX" = "xyes" ; then
48977 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48978 elif test "$GXX" = yes ; then
48979 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48980 fi
48981
48982
48983 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48984 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48985
48986
48987 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48988 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48989 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48990 $CPPFLAGS `
48991
48992 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48993 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48994 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48995
48996 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48997
48998
48999 if test "x$MWCC" = "xyes"; then
49000
49001 CC="$CC -cwd source -I-"
49002 CXX="$CXX -cwd source -I-"
49003 fi
49004
49005
49006 LIBS=`echo $LIBS`
49007 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49008 EXTRALIBS_XML="$EXPAT_LINK"
49009 EXTRALIBS_HTML="$MSPACK_LINK"
49010 EXTRALIBS_ODBC="$ODBC_LINK"
49011 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49012 if test "$wxUSE_GUI" = "yes"; then
49013 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49014 fi
49015 if test "$wxUSE_OPENGL" = "yes"; then
49016 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49017 fi
49018
49019 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49020
49021 WXCONFIG_LIBS="$LIBS"
49022
49023 if test "$wxUSE_REGEX" = "builtin" ; then
49024 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49025 fi
49026 if test "$wxUSE_EXPAT" = "builtin" ; then
49027 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49028 fi
49029 if test "$wxUSE_ODBC" = "builtin" ; then
49030 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49031 fi
49032 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49033 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49034 fi
49035 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49036 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49037 fi
49038 if test "$wxUSE_LIBPNG" = "builtin" ; then
49039 wxconfig_3rdparty="png $wxconfig_3rdparty"
49040 fi
49041 if test "$wxUSE_ZLIB" = "builtin" ; then
49042 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49043 fi
49044
49045 for i in $wxconfig_3rdparty ; do
49046 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49047 done
49048
49049
49050 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49051 WXUNIV=1
49052
49053 case "$wxUNIV_THEMES" in
49054 ''|all)
49055 cat >>confdefs.h <<\_ACEOF
49056 #define wxUSE_ALL_THEMES 1
49057 _ACEOF
49058
49059 ;;
49060
49061 *)
49062 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49063 cat >>confdefs.h <<_ACEOF
49064 #define wxUSE_THEME_$t 1
49065 _ACEOF
49066
49067 done
49068 esac
49069 else
49070 WXUNIV=0
49071 fi
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081 if test $wxUSE_MONOLITHIC = "yes" ; then
49082 MONOLITHIC=1
49083 else
49084 MONOLITHIC=0
49085 fi
49086
49087 if test $wxUSE_PLUGINS = "yes" ; then
49088 USE_PLUGINS=1
49089 else
49090 USE_PLUGINS=0
49091 fi
49092
49093 if test $wxUSE_ODBC != "no" ; then
49094 USE_ODBC=1
49095 else
49096 USE_ODBC=0
49097 fi
49098
49099 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49100 USE_QA=1
49101 else
49102 USE_QA=0
49103 fi
49104
49105 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49106 OFFICIAL_BUILD=1
49107 else
49108 OFFICIAL_BUILD=0
49109 fi
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 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49137
49138
49139
49140
49141
49142
49143
49144
49145 case "$TOOLKIT" in
49146 GTK)
49147 TOOLKIT_DESC="GTK+"
49148 if test "$WXGTK20" = 1; then
49149 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49150 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49151 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49152 fi
49153 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49154 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49155 fi
49156 if test "$wxUSE_LIBHILDON" = "yes"; then
49157 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49158 fi
49159
49160 if test "$TOOLKIT_EXTRA" != ""; then
49161 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49162 fi
49163 fi
49164 ;;
49165
49166 ?*)
49167 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49168 ;;
49169
49170 *)
49171 TOOLKIT_DESC="base only"
49172 ;;
49173 esac
49174
49175 if test "$wxUSE_WINE" = "yes"; then
49176 BAKEFILE_FORCE_PLATFORM=win32
49177 fi
49178
49179 if test "$wxUSE_MAC" = 1 ; then
49180 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49181 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49182 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49183 else
49184 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49185 fi
49186 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49187 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49188 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49189 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49190 bk_use_pch=no
49191 fi
49192 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49193 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49194 fi
49195
49196 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49197 then
49198 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49199 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49200 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49203
49204 echo '#include <stdio.h>
49205 const wchar_t test_var[] = L"awidetest";' > conftest.h
49206
49207 echo '#include "conftest.h"
49208 int main()
49209 {
49210 printf("%ls", test_var);
49211 return 0;
49212 }' > conftest.cpp
49213
49214 wx_cv_gcc_pch_bug="pch not supported"
49215
49216 if $CXX conftest.h >/dev/null 2>&1
49217 then
49218 wx_cv_gcc_pch_bug=
49219
49220 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49221 then
49222 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49223 grep awidetest >/dev/null
49224 then
49225 wx_cv_gcc_pch_bug=no
49226 else
49227 wx_cv_gcc_pch_bug=yes
49228 fi
49229 fi
49230 fi
49231
49232 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49233
49234 fi
49235 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49236 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49237
49238 if test "$wx_cv_gcc_pch_bug" = yes; then
49239 bk_use_pch=no
49240 fi
49241 fi
49242
49243
49244
49245
49246 if test "x$BAKEFILE_HOST" = "x"; then
49247 if test "x${host}" = "x" ; then
49248 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49249 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49250 { (exit 1); exit 1; }; }
49251 fi
49252
49253 BAKEFILE_HOST="${host}"
49254 fi
49255
49256 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49257
49258 if test -n "$ac_tool_prefix"; then
49259 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49260 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49263 if test "${ac_cv_prog_RANLIB+set}" = set; then
49264 echo $ECHO_N "(cached) $ECHO_C" >&6
49265 else
49266 if test -n "$RANLIB"; then
49267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49268 else
49269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49270 for as_dir in $PATH
49271 do
49272 IFS=$as_save_IFS
49273 test -z "$as_dir" && as_dir=.
49274 for ac_exec_ext in '' $ac_executable_extensions; do
49275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49276 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49278 break 2
49279 fi
49280 done
49281 done
49282 IFS=$as_save_IFS
49283
49284 fi
49285 fi
49286 RANLIB=$ac_cv_prog_RANLIB
49287 if test -n "$RANLIB"; then
49288 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49289 echo "${ECHO_T}$RANLIB" >&6; }
49290 else
49291 { echo "$as_me:$LINENO: result: no" >&5
49292 echo "${ECHO_T}no" >&6; }
49293 fi
49294
49295
49296 fi
49297 if test -z "$ac_cv_prog_RANLIB"; then
49298 ac_ct_RANLIB=$RANLIB
49299 # Extract the first word of "ranlib", so it can be a program name with args.
49300 set dummy ranlib; ac_word=$2
49301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49304 echo $ECHO_N "(cached) $ECHO_C" >&6
49305 else
49306 if test -n "$ac_ct_RANLIB"; then
49307 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49308 else
49309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49310 for as_dir in $PATH
49311 do
49312 IFS=$as_save_IFS
49313 test -z "$as_dir" && as_dir=.
49314 for ac_exec_ext in '' $ac_executable_extensions; do
49315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49316 ac_cv_prog_ac_ct_RANLIB="ranlib"
49317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49318 break 2
49319 fi
49320 done
49321 done
49322 IFS=$as_save_IFS
49323
49324 fi
49325 fi
49326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49327 if test -n "$ac_ct_RANLIB"; then
49328 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49329 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49330 else
49331 { echo "$as_me:$LINENO: result: no" >&5
49332 echo "${ECHO_T}no" >&6; }
49333 fi
49334
49335 if test "x$ac_ct_RANLIB" = x; then
49336 RANLIB=":"
49337 else
49338 case $cross_compiling:$ac_tool_warned in
49339 yes:)
49340 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49341 whose name does not start with the host triplet. If you think this
49342 configuration is useful to you, please write to autoconf@gnu.org." >&5
49343 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49344 whose name does not start with the host triplet. If you think this
49345 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49346 ac_tool_warned=yes ;;
49347 esac
49348 RANLIB=$ac_ct_RANLIB
49349 fi
49350 else
49351 RANLIB="$ac_cv_prog_RANLIB"
49352 fi
49353
49354 # Find a good install program. We prefer a C program (faster),
49355 # so one script is as good as another. But avoid the broken or
49356 # incompatible versions:
49357 # SysV /etc/install, /usr/sbin/install
49358 # SunOS /usr/etc/install
49359 # IRIX /sbin/install
49360 # AIX /bin/install
49361 # AmigaOS /C/install, which installs bootblocks on floppy discs
49362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49365 # OS/2's system install, which has a completely different semantic
49366 # ./install, which can be erroneously created by make from ./install.sh.
49367 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49368 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49369 if test -z "$INSTALL"; then
49370 if test "${ac_cv_path_install+set}" = set; then
49371 echo $ECHO_N "(cached) $ECHO_C" >&6
49372 else
49373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49374 for as_dir in $PATH
49375 do
49376 IFS=$as_save_IFS
49377 test -z "$as_dir" && as_dir=.
49378 # Account for people who put trailing slashes in PATH elements.
49379 case $as_dir/ in
49380 ./ | .// | /cC/* | \
49381 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49382 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49383 /usr/ucb/* ) ;;
49384 *)
49385 # OSF1 and SCO ODT 3.0 have their own names for install.
49386 # Don't use installbsd from OSF since it installs stuff as root
49387 # by default.
49388 for ac_prog in ginstall scoinst install; do
49389 for ac_exec_ext in '' $ac_executable_extensions; do
49390 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49391 if test $ac_prog = install &&
49392 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49393 # AIX install. It has an incompatible calling convention.
49394 :
49395 elif test $ac_prog = install &&
49396 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49397 # program-specific install script used by HP pwplus--don't use.
49398 :
49399 else
49400 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49401 break 3
49402 fi
49403 fi
49404 done
49405 done
49406 ;;
49407 esac
49408 done
49409 IFS=$as_save_IFS
49410
49411
49412 fi
49413 if test "${ac_cv_path_install+set}" = set; then
49414 INSTALL=$ac_cv_path_install
49415 else
49416 # As a last resort, use the slow shell script. Don't cache a
49417 # value for INSTALL within a source directory, because that will
49418 # break other packages using the cache if that directory is
49419 # removed, or if the value is a relative name.
49420 INSTALL=$ac_install_sh
49421 fi
49422 fi
49423 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49424 echo "${ECHO_T}$INSTALL" >&6; }
49425
49426 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49427 # It thinks the first close brace ends the variable substitution.
49428 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49429
49430 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49431
49432 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49433
49434 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49435 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49436 LN_S=$as_ln_s
49437 if test "$LN_S" = "ln -s"; then
49438 { echo "$as_me:$LINENO: result: yes" >&5
49439 echo "${ECHO_T}yes" >&6; }
49440 else
49441 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49442 echo "${ECHO_T}no, using $LN_S" >&6; }
49443 fi
49444
49445
49446 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49447 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49448 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49449 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49451 else
49452 cat >conftest.make <<\_ACEOF
49453 SHELL = /bin/sh
49454 all:
49455 @echo '@@@%%%=$(MAKE)=@@@%%%'
49456 _ACEOF
49457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49459 *@@@%%%=?*=@@@%%%*)
49460 eval ac_cv_prog_make_${ac_make}_set=yes;;
49461 *)
49462 eval ac_cv_prog_make_${ac_make}_set=no;;
49463 esac
49464 rm -f conftest.make
49465 fi
49466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49467 { echo "$as_me:$LINENO: result: yes" >&5
49468 echo "${ECHO_T}yes" >&6; }
49469 SET_MAKE=
49470 else
49471 { echo "$as_me:$LINENO: result: no" >&5
49472 echo "${ECHO_T}no" >&6; }
49473 SET_MAKE="MAKE=${MAKE-make}"
49474 fi
49475
49476
49477
49478 if test "x$SUNCXX" = "xyes"; then
49479 AR=$CXX
49480 AROPTIONS="-xar -o"
49481
49482 elif test "x$SGICC" = "xyes"; then
49483 AR=$CXX
49484 AROPTIONS="-ar -o"
49485
49486 else
49487 if test -n "$ac_tool_prefix"; then
49488 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49489 set dummy ${ac_tool_prefix}ar; ac_word=$2
49490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49492 if test "${ac_cv_prog_AR+set}" = set; then
49493 echo $ECHO_N "(cached) $ECHO_C" >&6
49494 else
49495 if test -n "$AR"; then
49496 ac_cv_prog_AR="$AR" # Let the user override the test.
49497 else
49498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49499 for as_dir in $PATH
49500 do
49501 IFS=$as_save_IFS
49502 test -z "$as_dir" && as_dir=.
49503 for ac_exec_ext in '' $ac_executable_extensions; do
49504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49505 ac_cv_prog_AR="${ac_tool_prefix}ar"
49506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49507 break 2
49508 fi
49509 done
49510 done
49511 IFS=$as_save_IFS
49512
49513 fi
49514 fi
49515 AR=$ac_cv_prog_AR
49516 if test -n "$AR"; then
49517 { echo "$as_me:$LINENO: result: $AR" >&5
49518 echo "${ECHO_T}$AR" >&6; }
49519 else
49520 { echo "$as_me:$LINENO: result: no" >&5
49521 echo "${ECHO_T}no" >&6; }
49522 fi
49523
49524
49525 fi
49526 if test -z "$ac_cv_prog_AR"; then
49527 ac_ct_AR=$AR
49528 # Extract the first word of "ar", so it can be a program name with args.
49529 set dummy ar; ac_word=$2
49530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49532 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49533 echo $ECHO_N "(cached) $ECHO_C" >&6
49534 else
49535 if test -n "$ac_ct_AR"; then
49536 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49537 else
49538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49539 for as_dir in $PATH
49540 do
49541 IFS=$as_save_IFS
49542 test -z "$as_dir" && as_dir=.
49543 for ac_exec_ext in '' $ac_executable_extensions; do
49544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49545 ac_cv_prog_ac_ct_AR="ar"
49546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49547 break 2
49548 fi
49549 done
49550 done
49551 IFS=$as_save_IFS
49552
49553 fi
49554 fi
49555 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49556 if test -n "$ac_ct_AR"; then
49557 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49558 echo "${ECHO_T}$ac_ct_AR" >&6; }
49559 else
49560 { echo "$as_me:$LINENO: result: no" >&5
49561 echo "${ECHO_T}no" >&6; }
49562 fi
49563
49564 if test "x$ac_ct_AR" = x; then
49565 AR="ar"
49566 else
49567 case $cross_compiling:$ac_tool_warned in
49568 yes:)
49569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49570 whose name does not start with the host triplet. If you think this
49571 configuration is useful to you, please write to autoconf@gnu.org." >&5
49572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49573 whose name does not start with the host triplet. If you think this
49574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49575 ac_tool_warned=yes ;;
49576 esac
49577 AR=$ac_ct_AR
49578 fi
49579 else
49580 AR="$ac_cv_prog_AR"
49581 fi
49582
49583 AROPTIONS=rcu
49584 fi
49585
49586
49587 if test -n "$ac_tool_prefix"; then
49588 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49589 set dummy ${ac_tool_prefix}strip; ac_word=$2
49590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49592 if test "${ac_cv_prog_STRIP+set}" = set; then
49593 echo $ECHO_N "(cached) $ECHO_C" >&6
49594 else
49595 if test -n "$STRIP"; then
49596 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49597 else
49598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49599 for as_dir in $PATH
49600 do
49601 IFS=$as_save_IFS
49602 test -z "$as_dir" && as_dir=.
49603 for ac_exec_ext in '' $ac_executable_extensions; do
49604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49605 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49607 break 2
49608 fi
49609 done
49610 done
49611 IFS=$as_save_IFS
49612
49613 fi
49614 fi
49615 STRIP=$ac_cv_prog_STRIP
49616 if test -n "$STRIP"; then
49617 { echo "$as_me:$LINENO: result: $STRIP" >&5
49618 echo "${ECHO_T}$STRIP" >&6; }
49619 else
49620 { echo "$as_me:$LINENO: result: no" >&5
49621 echo "${ECHO_T}no" >&6; }
49622 fi
49623
49624
49625 fi
49626 if test -z "$ac_cv_prog_STRIP"; then
49627 ac_ct_STRIP=$STRIP
49628 # Extract the first word of "strip", so it can be a program name with args.
49629 set dummy strip; ac_word=$2
49630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49632 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49633 echo $ECHO_N "(cached) $ECHO_C" >&6
49634 else
49635 if test -n "$ac_ct_STRIP"; then
49636 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49637 else
49638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49639 for as_dir in $PATH
49640 do
49641 IFS=$as_save_IFS
49642 test -z "$as_dir" && as_dir=.
49643 for ac_exec_ext in '' $ac_executable_extensions; do
49644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49645 ac_cv_prog_ac_ct_STRIP="strip"
49646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49647 break 2
49648 fi
49649 done
49650 done
49651 IFS=$as_save_IFS
49652
49653 fi
49654 fi
49655 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49656 if test -n "$ac_ct_STRIP"; then
49657 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49658 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49659 else
49660 { echo "$as_me:$LINENO: result: no" >&5
49661 echo "${ECHO_T}no" >&6; }
49662 fi
49663
49664 if test "x$ac_ct_STRIP" = x; then
49665 STRIP=":"
49666 else
49667 case $cross_compiling:$ac_tool_warned in
49668 yes:)
49669 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49670 whose name does not start with the host triplet. If you think this
49671 configuration is useful to you, please write to autoconf@gnu.org." >&5
49672 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49673 whose name does not start with the host triplet. If you think this
49674 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49675 ac_tool_warned=yes ;;
49676 esac
49677 STRIP=$ac_ct_STRIP
49678 fi
49679 else
49680 STRIP="$ac_cv_prog_STRIP"
49681 fi
49682
49683 if test -n "$ac_tool_prefix"; then
49684 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49685 set dummy ${ac_tool_prefix}nm; ac_word=$2
49686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49688 if test "${ac_cv_prog_NM+set}" = set; then
49689 echo $ECHO_N "(cached) $ECHO_C" >&6
49690 else
49691 if test -n "$NM"; then
49692 ac_cv_prog_NM="$NM" # Let the user override the test.
49693 else
49694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49695 for as_dir in $PATH
49696 do
49697 IFS=$as_save_IFS
49698 test -z "$as_dir" && as_dir=.
49699 for ac_exec_ext in '' $ac_executable_extensions; do
49700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49701 ac_cv_prog_NM="${ac_tool_prefix}nm"
49702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49703 break 2
49704 fi
49705 done
49706 done
49707 IFS=$as_save_IFS
49708
49709 fi
49710 fi
49711 NM=$ac_cv_prog_NM
49712 if test -n "$NM"; then
49713 { echo "$as_me:$LINENO: result: $NM" >&5
49714 echo "${ECHO_T}$NM" >&6; }
49715 else
49716 { echo "$as_me:$LINENO: result: no" >&5
49717 echo "${ECHO_T}no" >&6; }
49718 fi
49719
49720
49721 fi
49722 if test -z "$ac_cv_prog_NM"; then
49723 ac_ct_NM=$NM
49724 # Extract the first word of "nm", so it can be a program name with args.
49725 set dummy nm; ac_word=$2
49726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49728 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49729 echo $ECHO_N "(cached) $ECHO_C" >&6
49730 else
49731 if test -n "$ac_ct_NM"; then
49732 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49733 else
49734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49735 for as_dir in $PATH
49736 do
49737 IFS=$as_save_IFS
49738 test -z "$as_dir" && as_dir=.
49739 for ac_exec_ext in '' $ac_executable_extensions; do
49740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49741 ac_cv_prog_ac_ct_NM="nm"
49742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49743 break 2
49744 fi
49745 done
49746 done
49747 IFS=$as_save_IFS
49748
49749 fi
49750 fi
49751 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49752 if test -n "$ac_ct_NM"; then
49753 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49754 echo "${ECHO_T}$ac_ct_NM" >&6; }
49755 else
49756 { echo "$as_me:$LINENO: result: no" >&5
49757 echo "${ECHO_T}no" >&6; }
49758 fi
49759
49760 if test "x$ac_ct_NM" = x; then
49761 NM=":"
49762 else
49763 case $cross_compiling:$ac_tool_warned in
49764 yes:)
49765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49766 whose name does not start with the host triplet. If you think this
49767 configuration is useful to you, please write to autoconf@gnu.org." >&5
49768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49769 whose name does not start with the host triplet. If you think this
49770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49771 ac_tool_warned=yes ;;
49772 esac
49773 NM=$ac_ct_NM
49774 fi
49775 else
49776 NM="$ac_cv_prog_NM"
49777 fi
49778
49779
49780 case ${BAKEFILE_HOST} in
49781 *-hp-hpux* )
49782 INSTALL_DIR="mkdir -p"
49783 ;;
49784 * )
49785 INSTALL_DIR='$(INSTALL) -d'
49786 ;;
49787 esac
49788
49789
49790 LDFLAGS_GUI=
49791 case ${BAKEFILE_HOST} in
49792 *-*-cygwin* | *-*-mingw32* )
49793 LDFLAGS_GUI="-mwindows"
49794 esac
49795
49796
49797 fi
49798
49799 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49800 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49801 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49802 echo $ECHO_N "(cached) $ECHO_C" >&6
49803 else
49804
49805 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49806 egrep -s GNU > /dev/null); then
49807 bakefile_cv_prog_makeisgnu="yes"
49808 else
49809 bakefile_cv_prog_makeisgnu="no"
49810 fi
49811
49812 fi
49813 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49814 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49815
49816 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49817 IF_GNU_MAKE=""
49818 else
49819 IF_GNU_MAKE="#"
49820 fi
49821
49822
49823
49824 PLATFORM_UNIX=0
49825 PLATFORM_WIN32=0
49826 PLATFORM_MSDOS=0
49827 PLATFORM_MAC=0
49828 PLATFORM_MACOS=0
49829 PLATFORM_MACOSX=0
49830 PLATFORM_OS2=0
49831 PLATFORM_BEOS=0
49832
49833 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49834 case "${BAKEFILE_HOST}" in
49835 *-*-mingw32* )
49836 PLATFORM_WIN32=1
49837 ;;
49838 *-pc-msdosdjgpp )
49839 PLATFORM_MSDOS=1
49840 ;;
49841 *-pc-os2_emx | *-pc-os2-emx )
49842 PLATFORM_OS2=1
49843 ;;
49844 *-*-darwin* )
49845 PLATFORM_MAC=1
49846 PLATFORM_MACOSX=1
49847 ;;
49848 *-*-beos* )
49849 PLATFORM_BEOS=1
49850 ;;
49851 powerpc-apple-macos* )
49852 PLATFORM_MAC=1
49853 PLATFORM_MACOS=1
49854 ;;
49855 * )
49856 PLATFORM_UNIX=1
49857 ;;
49858 esac
49859 else
49860 case "$BAKEFILE_FORCE_PLATFORM" in
49861 win32 )
49862 PLATFORM_WIN32=1
49863 ;;
49864 msdos )
49865 PLATFORM_MSDOS=1
49866 ;;
49867 os2 )
49868 PLATFORM_OS2=1
49869 ;;
49870 darwin )
49871 PLATFORM_MAC=1
49872 PLATFORM_MACOSX=1
49873 ;;
49874 unix )
49875 PLATFORM_UNIX=1
49876 ;;
49877 beos )
49878 PLATFORM_BEOS=1
49879 ;;
49880 * )
49881 ;;
49882 esac
49883 fi
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895 # Check whether --enable-omf was given.
49896 if test "${enable_omf+set}" = set; then
49897 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49898 fi
49899
49900
49901 case "${BAKEFILE_HOST}" in
49902 *-*-darwin* )
49903 if test "x$GCC" = "xyes"; then
49904 CFLAGS="$CFLAGS -fno-common"
49905 CXXFLAGS="$CXXFLAGS -fno-common"
49906 fi
49907 if test "x$XLCC" = "xyes"; then
49908 CFLAGS="$CFLAGS -qnocommon"
49909 CXXFLAGS="$CXXFLAGS -qnocommon"
49910 fi
49911 ;;
49912
49913 *-pc-os2_emx | *-pc-os2-emx )
49914 if test "x$bk_os2_use_omf" = "xyes" ; then
49915 AR=emxomfar
49916 RANLIB=:
49917 LDFLAGS="-Zomf $LDFLAGS"
49918 CFLAGS="-Zomf $CFLAGS"
49919 CXXFLAGS="-Zomf $CXXFLAGS"
49920 OS2_LIBEXT="lib"
49921 else
49922 OS2_LIBEXT="a"
49923 fi
49924 ;;
49925
49926 i*86-*-beos* )
49927 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49928 ;;
49929 esac
49930
49931
49932 SO_SUFFIX="so"
49933 SO_SUFFIX_MODULE="so"
49934 EXEEXT=""
49935 LIBPREFIX="lib"
49936 LIBEXT=".a"
49937 DLLPREFIX="lib"
49938 DLLPREFIX_MODULE=""
49939 DLLIMP_SUFFIX=""
49940 dlldir="$libdir"
49941
49942 case "${BAKEFILE_HOST}" in
49943 *-hp-hpux* )
49944 SO_SUFFIX="sl"
49945 SO_SUFFIX_MODULE="sl"
49946 ;;
49947 *-*-aix* )
49948 SO_SUFFIX="a"
49949 SO_SUFFIX_MODULE="a"
49950 ;;
49951 *-*-cygwin* )
49952 SO_SUFFIX="dll"
49953 SO_SUFFIX_MODULE="dll"
49954 DLLIMP_SUFFIX="dll.a"
49955 EXEEXT=".exe"
49956 DLLPREFIX="cyg"
49957 dlldir="$bindir"
49958 ;;
49959 *-*-mingw32* )
49960 SO_SUFFIX="dll"
49961 SO_SUFFIX_MODULE="dll"
49962 DLLIMP_SUFFIX="dll.a"
49963 EXEEXT=".exe"
49964 DLLPREFIX=""
49965 dlldir="$bindir"
49966 ;;
49967 *-pc-msdosdjgpp )
49968 EXEEXT=".exe"
49969 DLLPREFIX=""
49970 dlldir="$bindir"
49971 ;;
49972 *-pc-os2_emx | *-pc-os2-emx )
49973 SO_SUFFIX="dll"
49974 SO_SUFFIX_MODULE="dll"
49975 DLLIMP_SUFFIX=$OS2_LIBEXT
49976 EXEEXT=".exe"
49977 DLLPREFIX=""
49978 LIBPREFIX=""
49979 LIBEXT=".$OS2_LIBEXT"
49980 dlldir="$bindir"
49981 ;;
49982 *-*-darwin* )
49983 SO_SUFFIX="dylib"
49984 SO_SUFFIX_MODULE="bundle"
49985 ;;
49986 esac
49987
49988 if test "x$DLLIMP_SUFFIX" = "x" ; then
49989 DLLIMP_SUFFIX="$SO_SUFFIX"
49990 fi
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003 PIC_FLAG=""
50004 if test "x$GCC" = "xyes"; then
50005 PIC_FLAG="-fPIC"
50006 fi
50007
50008 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50009 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50010 WINDOWS_IMPLIB=0
50011
50012 case "${BAKEFILE_HOST}" in
50013 *-hp-hpux* )
50014 if test "x$GCC" != "xyes"; then
50015 LDFLAGS="$LDFLAGS -L/usr/lib"
50016
50017 SHARED_LD_CC="${CC} -b -o"
50018 SHARED_LD_CXX="${CXX} -b -o"
50019 PIC_FLAG="+Z"
50020 fi
50021 ;;
50022
50023 *-*-linux* )
50024 if test "$INTELCC" = "yes"; then
50025 PIC_FLAG="-KPIC"
50026 elif test "x$SUNCXX" = "xyes"; then
50027 SHARED_LD_CC="${CC} -G -o"
50028 SHARED_LD_CXX="${CXX} -G -o"
50029 PIC_FLAG="-KPIC"
50030 fi
50031 ;;
50032
50033 *-*-solaris2* )
50034 if test "x$SUNCXX" = xyes ; then
50035 SHARED_LD_CC="${CC} -G -o"
50036 SHARED_LD_CXX="${CXX} -G -o"
50037 PIC_FLAG="-KPIC"
50038 fi
50039 ;;
50040
50041 *-*-darwin* )
50042
50043 D='$'
50044 cat <<EOF >shared-ld-sh
50045 #!/bin/sh
50046 #-----------------------------------------------------------------------------
50047 #-- Name: distrib/mac/shared-ld-sh
50048 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50049 #-- Author: Gilles Depeyrot
50050 #-- Copyright: (c) 2002 Gilles Depeyrot
50051 #-- Licence: any use permitted
50052 #-----------------------------------------------------------------------------
50053
50054 verbose=0
50055 args=""
50056 objects=""
50057 linking_flag="-dynamiclib"
50058 ldargs="-r -keep_private_externs -nostdlib"
50059
50060 while test ${D}# -gt 0; do
50061 case ${D}1 in
50062
50063 -v)
50064 verbose=1
50065 ;;
50066
50067 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50068 # collect these options and values
50069 args="${D}{args} ${D}1 ${D}2"
50070 shift
50071 ;;
50072
50073 -s|-Wl,*)
50074 # collect these load args
50075 ldargs="${D}{ldargs} ${D}1"
50076 ;;
50077
50078 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50079 # collect these options
50080 args="${D}{args} ${D}1"
50081 ;;
50082
50083 -dynamiclib|-bundle)
50084 linking_flag="${D}1"
50085 ;;
50086
50087 -*)
50088 echo "shared-ld: unhandled option '${D}1'"
50089 exit 1
50090 ;;
50091
50092 *.o | *.a | *.dylib)
50093 # collect object files
50094 objects="${D}{objects} ${D}1"
50095 ;;
50096
50097 *)
50098 echo "shared-ld: unhandled argument '${D}1'"
50099 exit 1
50100 ;;
50101
50102 esac
50103 shift
50104 done
50105
50106 status=0
50107
50108 #
50109 # Link one module containing all the others
50110 #
50111 if test ${D}{verbose} = 1; then
50112 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50113 fi
50114 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50115 status=${D}?
50116
50117 #
50118 # Link the shared library from the single module created, but only if the
50119 # previous command didn't fail:
50120 #
50121 if test ${D}{status} = 0; then
50122 if test ${D}{verbose} = 1; then
50123 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50124 fi
50125 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50126 status=${D}?
50127 fi
50128
50129 #
50130 # Remove intermediate module
50131 #
50132 rm -f master.${D}${D}.o
50133
50134 exit ${D}status
50135 EOF
50136
50137 chmod +x shared-ld-sh
50138
50139 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50140 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50141
50142
50143 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50144 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50145 if test "${bakefile_cv_gcc31+set}" = set; then
50146 echo $ECHO_N "(cached) $ECHO_C" >&6
50147 else
50148
50149 cat >conftest.$ac_ext <<_ACEOF
50150 /* confdefs.h. */
50151 _ACEOF
50152 cat confdefs.h >>conftest.$ac_ext
50153 cat >>conftest.$ac_ext <<_ACEOF
50154 /* end confdefs.h. */
50155
50156 int
50157 main ()
50158 {
50159
50160 #if (__GNUC__ < 3) || \
50161 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50162 This is old gcc
50163 #endif
50164
50165 ;
50166 return 0;
50167 }
50168 _ACEOF
50169 rm -f conftest.$ac_objext
50170 if { (ac_try="$ac_compile"
50171 case "(($ac_try" in
50172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50173 *) ac_try_echo=$ac_try;;
50174 esac
50175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50176 (eval "$ac_compile") 2>conftest.er1
50177 ac_status=$?
50178 grep -v '^ *+' conftest.er1 >conftest.err
50179 rm -f conftest.er1
50180 cat conftest.err >&5
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); } && {
50183 test -z "$ac_c_werror_flag" ||
50184 test ! -s conftest.err
50185 } && test -s conftest.$ac_objext; then
50186
50187 bakefile_cv_gcc31=yes
50188
50189 else
50190 echo "$as_me: failed program was:" >&5
50191 sed 's/^/| /' conftest.$ac_ext >&5
50192
50193
50194 bakefile_cv_gcc31=no
50195
50196
50197 fi
50198
50199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50200
50201 fi
50202 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50203 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50204 if test "$bakefile_cv_gcc31" = "no"; then
50205 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50206 SHARED_LD_CXX="$SHARED_LD_CC"
50207 else
50208 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50209 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50210 fi
50211
50212 if test "x$GCC" == "xyes"; then
50213 PIC_FLAG="-dynamic -fPIC"
50214 fi
50215 if test "x$XLCC" = "xyes"; then
50216 PIC_FLAG="-dynamic -DPIC"
50217 fi
50218 ;;
50219
50220 *-*-aix* )
50221 if test "x$GCC" = "xyes"; then
50222 PIC_FLAG=""
50223
50224 case "${BAKEFILE_HOST}" in
50225 *-*-aix5* )
50226 LD_EXPFULL="-Wl,-bexpfull"
50227 ;;
50228 esac
50229
50230 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50231 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50232 else
50233 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50234 set dummy makeC++SharedLib; ac_word=$2
50235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50237 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50238 echo $ECHO_N "(cached) $ECHO_C" >&6
50239 else
50240 if test -n "$AIX_CXX_LD"; then
50241 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50242 else
50243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50244 for as_dir in $PATH
50245 do
50246 IFS=$as_save_IFS
50247 test -z "$as_dir" && as_dir=.
50248 for ac_exec_ext in '' $ac_executable_extensions; do
50249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50250 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50252 break 2
50253 fi
50254 done
50255 done
50256 IFS=$as_save_IFS
50257
50258 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50259 fi
50260 fi
50261 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50262 if test -n "$AIX_CXX_LD"; then
50263 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50264 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50265 else
50266 { echo "$as_me:$LINENO: result: no" >&5
50267 echo "${ECHO_T}no" >&6; }
50268 fi
50269
50270
50271 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50272 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50273 fi
50274 ;;
50275
50276 *-*-beos* )
50277 SHARED_LD_CC="${LD} -nostart -o"
50278 SHARED_LD_CXX="${LD} -nostart -o"
50279 ;;
50280
50281 *-*-irix* )
50282 if test "x$GCC" != "xyes"; then
50283 PIC_FLAG="-KPIC"
50284 fi
50285 ;;
50286
50287 *-*-cygwin* | *-*-mingw32* )
50288 PIC_FLAG=""
50289 SHARED_LD_CC="\$(CC) -shared -o"
50290 SHARED_LD_CXX="\$(CXX) -shared -o"
50291 WINDOWS_IMPLIB=1
50292 ;;
50293
50294 *-pc-os2_emx | *-pc-os2-emx )
50295 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50296 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50297 PIC_FLAG=""
50298
50299 D='$'
50300 cat <<EOF >dllar.sh
50301 #!/bin/sh
50302 #
50303 # dllar - a tool to build both a .dll and an .a file
50304 # from a set of object (.o) files for EMX/OS2.
50305 #
50306 # Written by Andrew Zabolotny, bit@freya.etu.ru
50307 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50308 #
50309 # This script will accept a set of files on the command line.
50310 # All the public symbols from the .o files will be exported into
50311 # a .DEF file, then linker will be run (through gcc) against them to
50312 # build a shared library consisting of all given .o files. All libraries
50313 # (.a) will be first decompressed into component .o files then act as
50314 # described above. You can optionally give a description (-d "description")
50315 # which will be put into .DLL. To see the list of accepted options (as well
50316 # as command-line format) simply run this program without options. The .DLL
50317 # is built to be imported by name (there is no guarantee that new versions
50318 # of the library you build will have same ordinals for same symbols).
50319 #
50320 # dllar is free software; you can redistribute it and/or modify
50321 # it under the terms of the GNU General Public License as published by
50322 # the Free Software Foundation; either version 2, or (at your option)
50323 # any later version.
50324 #
50325 # dllar is distributed in the hope that it will be useful,
50326 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50327 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50328 # GNU General Public License for more details.
50329 #
50330 # You should have received a copy of the GNU General Public License
50331 # along with dllar; see the file COPYING. If not, write to the Free
50332 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50333 # 02111-1307, USA.
50334
50335 # To successfuly run this program you will need:
50336 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50337 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50338 # - gcc
50339 # (used to build the .dll)
50340 # - emxexp
50341 # (used to create .def file from .o files)
50342 # - emximp
50343 # (used to create .a file from .def file)
50344 # - GNU text utilites (cat, sort, uniq)
50345 # used to process emxexp output
50346 # - GNU file utilities (mv, rm)
50347 # - GNU sed
50348 # - lxlite (optional, see flag below)
50349 # (used for general .dll cleanup)
50350 #
50351
50352 flag_USE_LXLITE=1;
50353
50354 #
50355 # helper functions
50356 # basnam, variant of basename, which does _not_ remove the path, _iff_
50357 # second argument (suffix to remove) is given
50358 basnam(){
50359 case ${D}# in
50360 1)
50361 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50362 ;;
50363 2)
50364 echo ${D}1 | sed 's/'${D}2'${D}//'
50365 ;;
50366 *)
50367 echo "error in basnam ${D}*"
50368 exit 8
50369 ;;
50370 esac
50371 }
50372
50373 # Cleanup temporary files and output
50374 CleanUp() {
50375 cd ${D}curDir
50376 for i in ${D}inputFiles ; do
50377 case ${D}i in
50378 *!)
50379 rm -rf \`basnam ${D}i !\`
50380 ;;
50381 *)
50382 ;;
50383 esac
50384 done
50385
50386 # Kill result in case of failure as there is just to many stupid make/nmake
50387 # things out there which doesn't do this.
50388 if [ ${D}# -eq 0 ]; then
50389 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50390 fi
50391 }
50392
50393 # Print usage and exit script with rc=1.
50394 PrintHelp() {
50395 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50396 echo ' [-name-mangler-script script.sh]'
50397 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50398 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50399 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50400 echo ' [*.o] [*.a]'
50401 echo '*> "output_file" should have no extension.'
50402 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50403 echo ' The import library name is derived from this and is set to "name".a,'
50404 echo ' unless overridden by -import'
50405 echo '*> "importlib_name" should have no extension.'
50406 echo ' If it has the .o, or .a extension, it is automatically removed.'
50407 echo ' This name is used as the import library name and may be longer and'
50408 echo ' more descriptive than the DLL name which has to follow the old '
50409 echo ' 8.3 convention of FAT.'
50410 echo '*> "script.sh may be given to override the output_file name by a'
50411 echo ' different name. It is mainly useful if the regular make process'
50412 echo ' of some package does not take into account OS/2 restriction of'
50413 echo ' DLL name lengths. It takes the importlib name as input and is'
50414 echo ' supposed to procude a shorter name as output. The script should'
50415 echo ' expect to get importlib_name without extension and should produce'
50416 echo ' a (max.) 8 letter name without extension.'
50417 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50418 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50419 echo ' These flags will be put at the start of GCC command line.'
50420 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50421 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50422 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50423 echo ' If the last character of a symbol is "*", all symbols beginning'
50424 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50425 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50426 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50427 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50428 echo ' C runtime DLLs.'
50429 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50430 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50431 echo ' unchanged to GCC at the end of command line.'
50432 echo '*> If you create a DLL from a library and you do not specify -o,'
50433 echo ' the basename for DLL and import library will be set to library name,'
50434 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50435 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50436 echo ' library will be renamed into gcc_s.a.'
50437 echo '--------'
50438 echo 'Example:'
50439 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50440 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50441 CleanUp
50442 exit 1
50443 }
50444
50445 # Execute a command.
50446 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50447 # @Uses Whatever CleanUp() uses.
50448 doCommand() {
50449 echo "${D}*"
50450 eval ${D}*
50451 rcCmd=${D}?
50452
50453 if [ ${D}rcCmd -ne 0 ]; then
50454 echo "command failed, exit code="${D}rcCmd
50455 CleanUp
50456 exit ${D}rcCmd
50457 fi
50458 }
50459
50460 # main routine
50461 # setup globals
50462 cmdLine=${D}*
50463 outFile=""
50464 outimpFile=""
50465 inputFiles=""
50466 renameScript=""
50467 description=""
50468 CC=gcc.exe
50469 CFLAGS="-s -Zcrtdll"
50470 EXTRA_CFLAGS=""
50471 EXPORT_BY_ORDINALS=0
50472 exclude_symbols=""
50473 library_flags=""
50474 curDir=\`pwd\`
50475 curDirS=curDir
50476 case ${D}curDirS in
50477 */)
50478 ;;
50479 *)
50480 curDirS=${D}{curDirS}"/"
50481 ;;
50482 esac
50483 # Parse commandline
50484 libsToLink=0
50485 omfLinking=0
50486 while [ ${D}1 ]; do
50487 case ${D}1 in
50488 -ord*)
50489 EXPORT_BY_ORDINALS=1;
50490 ;;
50491 -o*)
50492 shift
50493 outFile=${D}1
50494 ;;
50495 -i*)
50496 shift
50497 outimpFile=${D}1
50498 ;;
50499 -name-mangler-script)
50500 shift
50501 renameScript=${D}1
50502 ;;
50503 -d*)
50504 shift
50505 description=${D}1
50506 ;;
50507 -f*)
50508 shift
50509 CFLAGS=${D}1
50510 ;;
50511 -c*)
50512 shift
50513 CC=${D}1
50514 ;;
50515 -h*)
50516 PrintHelp
50517 ;;
50518 -ex*)
50519 shift
50520 exclude_symbols=${D}{exclude_symbols}${D}1" "
50521 ;;
50522 -libf*)
50523 shift
50524 library_flags=${D}{library_flags}${D}1" "
50525 ;;
50526 -nocrt*)
50527 CFLAGS="-s"
50528 ;;
50529 -nolxl*)
50530 flag_USE_LXLITE=0
50531 ;;
50532 -* | /*)
50533 case ${D}1 in
50534 -L* | -l*)
50535 libsToLink=1
50536 ;;
50537 -Zomf)
50538 omfLinking=1
50539 ;;
50540 *)
50541 ;;
50542 esac
50543 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50544 ;;
50545 *.dll)
50546 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50547 if [ ${D}omfLinking -eq 1 ]; then
50548 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50549 else
50550 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50551 fi
50552 ;;
50553 *)
50554 found=0;
50555 if [ ${D}libsToLink -ne 0 ]; then
50556 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50557 else
50558 for file in ${D}1 ; do
50559 if [ -f ${D}file ]; then
50560 inputFiles="${D}{inputFiles} ${D}file"
50561 found=1
50562 fi
50563 done
50564 if [ ${D}found -eq 0 ]; then
50565 echo "ERROR: No file(s) found: "${D}1
50566 exit 8
50567 fi
50568 fi
50569 ;;
50570 esac
50571 shift
50572 done # iterate cmdline words
50573
50574 #
50575 if [ -z "${D}inputFiles" ]; then
50576 echo "dllar: no input files"
50577 PrintHelp
50578 fi
50579
50580 # Now extract all .o files from .a files
50581 newInputFiles=""
50582 for file in ${D}inputFiles ; do
50583 case ${D}file in
50584 *.a | *.lib)
50585 case ${D}file in
50586 *.a)
50587 suffix=".a"
50588 AR="ar"
50589 ;;
50590 *.lib)
50591 suffix=".lib"
50592 AR="emxomfar"
50593 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50594 ;;
50595 *)
50596 ;;
50597 esac
50598 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50599 mkdir ${D}dirname
50600 if [ ${D}? -ne 0 ]; then
50601 echo "Failed to create subdirectory ./${D}dirname"
50602 CleanUp
50603 exit 8;
50604 fi
50605 # Append '!' to indicate archive
50606 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50607 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50608 cd ${D}curDir
50609 found=0;
50610 for subfile in ${D}dirname/*.o* ; do
50611 if [ -f ${D}subfile ]; then
50612 found=1
50613 if [ -s ${D}subfile ]; then
50614 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50615 newInputFiles="${D}newInputFiles ${D}subfile"
50616 fi
50617 fi
50618 done
50619 if [ ${D}found -eq 0 ]; then
50620 echo "WARNING: there are no files in archive \\'${D}file\\'"
50621 fi
50622 ;;
50623 *)
50624 newInputFiles="${D}{newInputFiles} ${D}file"
50625 ;;
50626 esac
50627 done
50628 inputFiles="${D}newInputFiles"
50629
50630 # Output filename(s).
50631 do_backup=0;
50632 if [ -z ${D}outFile ]; then
50633 do_backup=1;
50634 set outFile ${D}inputFiles; outFile=${D}2
50635 fi
50636
50637 # If it is an archive, remove the '!' and the '_%' suffixes
50638 case ${D}outFile in
50639 *_%!)
50640 outFile=\`basnam ${D}outFile _%!\`
50641 ;;
50642 *)
50643 ;;
50644 esac
50645 case ${D}outFile in
50646 *.dll)
50647 outFile=\`basnam ${D}outFile .dll\`
50648 ;;
50649 *.DLL)
50650 outFile=\`basnam ${D}outFile .DLL\`
50651 ;;
50652 *.o)
50653 outFile=\`basnam ${D}outFile .o\`
50654 ;;
50655 *.obj)
50656 outFile=\`basnam ${D}outFile .obj\`
50657 ;;
50658 *.a)
50659 outFile=\`basnam ${D}outFile .a\`
50660 ;;
50661 *.lib)
50662 outFile=\`basnam ${D}outFile .lib\`
50663 ;;
50664 *)
50665 ;;
50666 esac
50667 case ${D}outimpFile in
50668 *.a)
50669 outimpFile=\`basnam ${D}outimpFile .a\`
50670 ;;
50671 *.lib)
50672 outimpFile=\`basnam ${D}outimpFile .lib\`
50673 ;;
50674 *)
50675 ;;
50676 esac
50677 if [ -z ${D}outimpFile ]; then
50678 outimpFile=${D}outFile
50679 fi
50680 defFile="${D}{outFile}.def"
50681 arcFile="${D}{outimpFile}.a"
50682 arcFile2="${D}{outimpFile}.lib"
50683
50684 #create ${D}dllFile as something matching 8.3 restrictions,
50685 if [ -z ${D}renameScript ] ; then
50686 dllFile="${D}outFile"
50687 else
50688 dllFile=\`${D}renameScript ${D}outimpFile\`
50689 fi
50690
50691 if [ ${D}do_backup -ne 0 ] ; then
50692 if [ -f ${D}arcFile ] ; then
50693 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50694 fi
50695 if [ -f ${D}arcFile2 ] ; then
50696 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50697 fi
50698 fi
50699
50700 # Extract public symbols from all the object files.
50701 tmpdefFile=${D}{defFile}_%
50702 rm -f ${D}tmpdefFile
50703 for file in ${D}inputFiles ; do
50704 case ${D}file in
50705 *!)
50706 ;;
50707 *)
50708 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50709 ;;
50710 esac
50711 done
50712
50713 # Create the def file.
50714 rm -f ${D}defFile
50715 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50716 dllFile="${D}{dllFile}.dll"
50717 if [ ! -z ${D}description ]; then
50718 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50719 fi
50720 echo "EXPORTS" >> ${D}defFile
50721
50722 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50723 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50724
50725 # Checks if the export is ok or not.
50726 for word in ${D}exclude_symbols; do
50727 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50728 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50729 done
50730
50731
50732 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50733 sed "=" < ${D}tmpdefFile | \\
50734 sed '
50735 N
50736 : loop
50737 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50738 t loop
50739 ' > ${D}{tmpdefFile}%
50740 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50741 else
50742 rm -f ${D}{tmpdefFile}%
50743 fi
50744 cat ${D}tmpdefFile >> ${D}defFile
50745 rm -f ${D}tmpdefFile
50746
50747 # Do linking, create implib, and apply lxlite.
50748 gccCmdl="";
50749 for file in ${D}inputFiles ; do
50750 case ${D}file in
50751 *!)
50752 ;;
50753 *)
50754 gccCmdl="${D}gccCmdl ${D}file"
50755 ;;
50756 esac
50757 done
50758 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50759 touch "${D}{outFile}.dll"
50760
50761 doCommand "emximp -o ${D}arcFile ${D}defFile"
50762 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50763 add_flags="";
50764 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50765 add_flags="-ynd"
50766 fi
50767 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50768 fi
50769 doCommand "emxomf -s -l ${D}arcFile"
50770
50771 # Successful exit.
50772 CleanUp 1
50773 exit 0
50774 EOF
50775
50776 chmod +x dllar.sh
50777 ;;
50778
50779 powerpc-apple-macos* | \
50780 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50781 *-*-mirbsd* | \
50782 *-*-sunos4* | \
50783 *-*-osf* | \
50784 *-*-dgux5* | \
50785 *-*-sysv5* | \
50786 *-pc-msdosdjgpp )
50787 ;;
50788
50789 *)
50790 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50791 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50792 { (exit 1); exit 1; }; }
50793 esac
50794
50795 if test "x$PIC_FLAG" != "x" ; then
50796 PIC_FLAG="$PIC_FLAG -DPIC"
50797 fi
50798
50799 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50800 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50801 fi
50802 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50803 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50804 fi
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814 USE_SOVERSION=0
50815 USE_SOVERLINUX=0
50816 USE_SOVERSOLARIS=0
50817 USE_SOVERCYGWIN=0
50818 USE_SOSYMLINKS=0
50819 USE_MACVERSION=0
50820 SONAME_FLAG=
50821
50822 case "${BAKEFILE_HOST}" in
50823 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50824 if test "x$SUNCXX" = "xyes"; then
50825 SONAME_FLAG="-h "
50826 else
50827 SONAME_FLAG="-Wl,-soname,"
50828 fi
50829 USE_SOVERSION=1
50830 USE_SOVERLINUX=1
50831 USE_SOSYMLINKS=1
50832 ;;
50833
50834 *-*-solaris2* )
50835 SONAME_FLAG="-h "
50836 USE_SOVERSION=1
50837 USE_SOVERSOLARIS=1
50838 USE_SOSYMLINKS=1
50839 ;;
50840
50841 *-*-darwin* )
50842 USE_MACVERSION=1
50843 USE_SOVERSION=1
50844 USE_SOSYMLINKS=1
50845 ;;
50846
50847 *-*-cygwin* )
50848 USE_SOVERSION=1
50849 USE_SOVERCYGWIN=1
50850 ;;
50851 esac
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862 # Check whether --enable-dependency-tracking was given.
50863 if test "${enable_dependency_tracking+set}" = set; then
50864 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50865 fi
50866
50867
50868 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50869 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50870
50871 BK_DEPS=""
50872 if test "x$bk_use_trackdeps" = "xno" ; then
50873 DEPS_TRACKING=0
50874 { echo "$as_me:$LINENO: result: disabled" >&5
50875 echo "${ECHO_T}disabled" >&6; }
50876 else
50877 DEPS_TRACKING=1
50878
50879 if test "x$GCC" = "xyes"; then
50880 DEPSMODE=gcc
50881 case "${BAKEFILE_HOST}" in
50882 *-*-darwin* )
50883 DEPSFLAG="-no-cpp-precomp -MMD"
50884 ;;
50885 * )
50886 DEPSFLAG="-MMD"
50887 ;;
50888 esac
50889 { echo "$as_me:$LINENO: result: gcc" >&5
50890 echo "${ECHO_T}gcc" >&6; }
50891 elif test "x$MWCC" = "xyes"; then
50892 DEPSMODE=mwcc
50893 DEPSFLAG="-MM"
50894 { echo "$as_me:$LINENO: result: mwcc" >&5
50895 echo "${ECHO_T}mwcc" >&6; }
50896 elif test "x$SUNCC" = "xyes"; then
50897 DEPSMODE=unixcc
50898 DEPSFLAG="-xM1"
50899 { echo "$as_me:$LINENO: result: Sun cc" >&5
50900 echo "${ECHO_T}Sun cc" >&6; }
50901 elif test "x$SGICC" = "xyes"; then
50902 DEPSMODE=unixcc
50903 DEPSFLAG="-M"
50904 { echo "$as_me:$LINENO: result: SGI cc" >&5
50905 echo "${ECHO_T}SGI cc" >&6; }
50906 elif test "x$HPCC" = "xyes"; then
50907 DEPSMODE=unixcc
50908 DEPSFLAG="+make"
50909 { echo "$as_me:$LINENO: result: HP cc" >&5
50910 echo "${ECHO_T}HP cc" >&6; }
50911 elif test "x$COMPAQCC" = "xyes"; then
50912 DEPSMODE=gcc
50913 DEPSFLAG="-MD"
50914 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50915 echo "${ECHO_T}Compaq cc" >&6; }
50916 else
50917 DEPS_TRACKING=0
50918 { echo "$as_me:$LINENO: result: none" >&5
50919 echo "${ECHO_T}none" >&6; }
50920 fi
50921
50922 if test $DEPS_TRACKING = 1 ; then
50923
50924 D='$'
50925 cat <<EOF >bk-deps
50926 #!/bin/sh
50927
50928 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50929 # script. It is used to track C/C++ files dependencies in portable way.
50930 #
50931 # Permission is given to use this file in any way.
50932
50933 DEPSMODE=${DEPSMODE}
50934 DEPSDIR=.deps
50935 DEPSFLAG="${DEPSFLAG}"
50936
50937 mkdir -p ${D}DEPSDIR
50938
50939 if test ${D}DEPSMODE = gcc ; then
50940 ${D}* ${D}{DEPSFLAG}
50941 status=${D}?
50942 if test ${D}{status} != 0 ; then
50943 exit ${D}{status}
50944 fi
50945 # move created file to the location we want it in:
50946 while test ${D}# -gt 0; do
50947 case "${D}1" in
50948 -o )
50949 shift
50950 objfile=${D}1
50951 ;;
50952 -* )
50953 ;;
50954 * )
50955 srcfile=${D}1
50956 ;;
50957 esac
50958 shift
50959 done
50960 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50961 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50962 if test -f ${D}depfile ; then
50963 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50964 rm -f ${D}depfile
50965 else
50966 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50967 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50968 if test ! -f ${D}depfile ; then
50969 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50970 depfile="${D}objfile.d"
50971 fi
50972 if test -f ${D}depfile ; then
50973 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50974 rm -f ${D}depfile
50975 fi
50976 fi
50977 exit 0
50978 elif test ${D}DEPSMODE = mwcc ; then
50979 ${D}* || exit ${D}?
50980 # Run mwcc again with -MM and redirect into the dep file we want
50981 # NOTE: We can't use shift here because we need ${D}* to be valid
50982 prevarg=
50983 for arg in ${D}* ; do
50984 if test "${D}prevarg" = "-o"; then
50985 objfile=${D}arg
50986 else
50987 case "${D}arg" in
50988 -* )
50989 ;;
50990 * )
50991 srcfile=${D}arg
50992 ;;
50993 esac
50994 fi
50995 prevarg="${D}arg"
50996 done
50997 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50998 exit 0
50999 elif test ${D}DEPSMODE = unixcc; then
51000 ${D}* || exit ${D}?
51001 # Run compiler again with deps flag and redirect into the dep file.
51002 # It doesn't work if the '-o FILE' option is used, but without it the
51003 # dependency file will contain the wrong name for the object. So it is
51004 # removed from the command line, and the dep file is fixed with sed.
51005 cmd=""
51006 while test ${D}# -gt 0; do
51007 case "${D}1" in
51008 -o )
51009 shift
51010 objfile=${D}1
51011 ;;
51012 * )
51013 eval arg${D}#=\\${D}1
51014 cmd="${D}cmd \\${D}arg${D}#"
51015 ;;
51016 esac
51017 shift
51018 done
51019 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51020 exit 0
51021 else
51022 ${D}*
51023 exit ${D}?
51024 fi
51025 EOF
51026
51027 chmod +x bk-deps
51028 BK_DEPS="`pwd`/bk-deps"
51029 fi
51030 fi
51031
51032
51033
51034
51035
51036 case ${BAKEFILE_HOST} in
51037 *-*-cygwin* | *-*-mingw32* )
51038 if test -n "$ac_tool_prefix"; then
51039 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51040 set dummy ${ac_tool_prefix}windres; ac_word=$2
51041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51043 if test "${ac_cv_prog_WINDRES+set}" = set; then
51044 echo $ECHO_N "(cached) $ECHO_C" >&6
51045 else
51046 if test -n "$WINDRES"; then
51047 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51048 else
51049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51050 for as_dir in $PATH
51051 do
51052 IFS=$as_save_IFS
51053 test -z "$as_dir" && as_dir=.
51054 for ac_exec_ext in '' $ac_executable_extensions; do
51055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51056 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51058 break 2
51059 fi
51060 done
51061 done
51062 IFS=$as_save_IFS
51063
51064 fi
51065 fi
51066 WINDRES=$ac_cv_prog_WINDRES
51067 if test -n "$WINDRES"; then
51068 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51069 echo "${ECHO_T}$WINDRES" >&6; }
51070 else
51071 { echo "$as_me:$LINENO: result: no" >&5
51072 echo "${ECHO_T}no" >&6; }
51073 fi
51074
51075
51076 fi
51077 if test -z "$ac_cv_prog_WINDRES"; then
51078 ac_ct_WINDRES=$WINDRES
51079 # Extract the first word of "windres", so it can be a program name with args.
51080 set dummy windres; ac_word=$2
51081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51083 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51084 echo $ECHO_N "(cached) $ECHO_C" >&6
51085 else
51086 if test -n "$ac_ct_WINDRES"; then
51087 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51088 else
51089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51090 for as_dir in $PATH
51091 do
51092 IFS=$as_save_IFS
51093 test -z "$as_dir" && as_dir=.
51094 for ac_exec_ext in '' $ac_executable_extensions; do
51095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51096 ac_cv_prog_ac_ct_WINDRES="windres"
51097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51098 break 2
51099 fi
51100 done
51101 done
51102 IFS=$as_save_IFS
51103
51104 fi
51105 fi
51106 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51107 if test -n "$ac_ct_WINDRES"; then
51108 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51109 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51110 else
51111 { echo "$as_me:$LINENO: result: no" >&5
51112 echo "${ECHO_T}no" >&6; }
51113 fi
51114
51115 if test "x$ac_ct_WINDRES" = x; then
51116 WINDRES=""
51117 else
51118 case $cross_compiling:$ac_tool_warned in
51119 yes:)
51120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51121 whose name does not start with the host triplet. If you think this
51122 configuration is useful to you, please write to autoconf@gnu.org." >&5
51123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51124 whose name does not start with the host triplet. If you think this
51125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51126 ac_tool_warned=yes ;;
51127 esac
51128 WINDRES=$ac_ct_WINDRES
51129 fi
51130 else
51131 WINDRES="$ac_cv_prog_WINDRES"
51132 fi
51133
51134 ;;
51135
51136 *-*-darwin* | powerpc-apple-macos* )
51137 # Extract the first word of "Rez", so it can be a program name with args.
51138 set dummy Rez; ac_word=$2
51139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51141 if test "${ac_cv_prog_REZ+set}" = set; then
51142 echo $ECHO_N "(cached) $ECHO_C" >&6
51143 else
51144 if test -n "$REZ"; then
51145 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51146 else
51147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51148 for as_dir in $PATH
51149 do
51150 IFS=$as_save_IFS
51151 test -z "$as_dir" && as_dir=.
51152 for ac_exec_ext in '' $ac_executable_extensions; do
51153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51154 ac_cv_prog_REZ="Rez"
51155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51156 break 2
51157 fi
51158 done
51159 done
51160 IFS=$as_save_IFS
51161
51162 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51163 fi
51164 fi
51165 REZ=$ac_cv_prog_REZ
51166 if test -n "$REZ"; then
51167 { echo "$as_me:$LINENO: result: $REZ" >&5
51168 echo "${ECHO_T}$REZ" >&6; }
51169 else
51170 { echo "$as_me:$LINENO: result: no" >&5
51171 echo "${ECHO_T}no" >&6; }
51172 fi
51173
51174
51175 # Extract the first word of "SetFile", so it can be a program name with args.
51176 set dummy SetFile; ac_word=$2
51177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51179 if test "${ac_cv_prog_SETFILE+set}" = set; then
51180 echo $ECHO_N "(cached) $ECHO_C" >&6
51181 else
51182 if test -n "$SETFILE"; then
51183 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51184 else
51185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51186 for as_dir in $PATH
51187 do
51188 IFS=$as_save_IFS
51189 test -z "$as_dir" && as_dir=.
51190 for ac_exec_ext in '' $ac_executable_extensions; do
51191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51192 ac_cv_prog_SETFILE="SetFile"
51193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51194 break 2
51195 fi
51196 done
51197 done
51198 IFS=$as_save_IFS
51199
51200 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51201 fi
51202 fi
51203 SETFILE=$ac_cv_prog_SETFILE
51204 if test -n "$SETFILE"; then
51205 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51206 echo "${ECHO_T}$SETFILE" >&6; }
51207 else
51208 { echo "$as_me:$LINENO: result: no" >&5
51209 echo "${ECHO_T}no" >&6; }
51210 fi
51211
51212
51213 ;;
51214 esac
51215
51216
51217
51218
51219
51220
51221 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51222
51223
51224 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51225
51226
51227
51228 # Check whether --enable-precomp-headers was given.
51229 if test "${enable_precomp_headers+set}" = set; then
51230 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51231 fi
51232
51233
51234 GCC_PCH=0
51235 ICC_PCH=0
51236 USE_PCH=0
51237 BK_MAKE_PCH=""
51238
51239 case ${BAKEFILE_HOST} in
51240 *-*-cygwin* )
51241 bk_use_pch="no"
51242 ;;
51243 esac
51244
51245 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51246 if test "x$GCC" = "xyes"; then
51247 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51248 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51249 cat >conftest.$ac_ext <<_ACEOF
51250 /* confdefs.h. */
51251 _ACEOF
51252 cat confdefs.h >>conftest.$ac_ext
51253 cat >>conftest.$ac_ext <<_ACEOF
51254 /* end confdefs.h. */
51255
51256 int
51257 main ()
51258 {
51259
51260 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51261 There is no PCH support
51262 #endif
51263 #if (__GNUC__ < 3)
51264 There is no PCH support
51265 #endif
51266 #if (__GNUC__ == 3) && \
51267 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51268 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51269 ( defined(__INTEL_COMPILER) )
51270 There is no PCH support
51271 #endif
51272
51273 ;
51274 return 0;
51275 }
51276 _ACEOF
51277 rm -f conftest.$ac_objext
51278 if { (ac_try="$ac_compile"
51279 case "(($ac_try" in
51280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51281 *) ac_try_echo=$ac_try;;
51282 esac
51283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51284 (eval "$ac_compile") 2>conftest.er1
51285 ac_status=$?
51286 grep -v '^ *+' conftest.er1 >conftest.err
51287 rm -f conftest.er1
51288 cat conftest.err >&5
51289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51290 (exit $ac_status); } && {
51291 test -z "$ac_c_werror_flag" ||
51292 test ! -s conftest.err
51293 } && test -s conftest.$ac_objext; then
51294
51295 { echo "$as_me:$LINENO: result: yes" >&5
51296 echo "${ECHO_T}yes" >&6; }
51297 GCC_PCH=1
51298
51299 else
51300 echo "$as_me: failed program was:" >&5
51301 sed 's/^/| /' conftest.$ac_ext >&5
51302
51303
51304 cat >conftest.$ac_ext <<_ACEOF
51305 /* confdefs.h. */
51306 _ACEOF
51307 cat confdefs.h >>conftest.$ac_ext
51308 cat >>conftest.$ac_ext <<_ACEOF
51309 /* end confdefs.h. */
51310
51311 int
51312 main ()
51313 {
51314
51315 #if !defined(__INTEL_COMPILER) || \
51316 (__INTEL_COMPILER < 800)
51317 There is no PCH support
51318 #endif
51319
51320 ;
51321 return 0;
51322 }
51323 _ACEOF
51324 rm -f conftest.$ac_objext
51325 if { (ac_try="$ac_compile"
51326 case "(($ac_try" in
51327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51328 *) ac_try_echo=$ac_try;;
51329 esac
51330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51331 (eval "$ac_compile") 2>conftest.er1
51332 ac_status=$?
51333 grep -v '^ *+' conftest.er1 >conftest.err
51334 rm -f conftest.er1
51335 cat conftest.err >&5
51336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337 (exit $ac_status); } && {
51338 test -z "$ac_c_werror_flag" ||
51339 test ! -s conftest.err
51340 } && test -s conftest.$ac_objext; then
51341
51342 { echo "$as_me:$LINENO: result: yes" >&5
51343 echo "${ECHO_T}yes" >&6; }
51344 ICC_PCH=1
51345
51346 else
51347 echo "$as_me: failed program was:" >&5
51348 sed 's/^/| /' conftest.$ac_ext >&5
51349
51350
51351 { echo "$as_me:$LINENO: result: no" >&5
51352 echo "${ECHO_T}no" >&6; }
51353
51354 fi
51355
51356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51357
51358 fi
51359
51360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51361 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51362 USE_PCH=1
51363
51364 D='$'
51365 cat <<EOF >bk-make-pch
51366 #!/bin/sh
51367
51368 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51369 # script. It is used to generated precompiled headers.
51370 #
51371 # Permission is given to use this file in any way.
51372
51373 outfile="${D}{1}"
51374 header="${D}{2}"
51375 shift
51376 shift
51377
51378 compiler=""
51379 headerfile=""
51380
51381 while test ${D}{#} -gt 0; do
51382 add_to_cmdline=1
51383 case "${D}{1}" in
51384 -I* )
51385 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51386 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51387 headerfile="${D}{incdir}/${D}{header}"
51388 fi
51389 ;;
51390 -use-pch|-use_pch )
51391 shift
51392 add_to_cmdline=0
51393 ;;
51394 esac
51395 if test ${D}add_to_cmdline = 1 ; then
51396 compiler="${D}{compiler} ${D}{1}"
51397 fi
51398 shift
51399 done
51400
51401 if test "x${D}{headerfile}" = "x" ; then
51402 echo "error: can't find header ${D}{header} in include paths" >&2
51403 else
51404 if test -f ${D}{outfile} ; then
51405 rm -f ${D}{outfile}
51406 else
51407 mkdir -p \`dirname ${D}{outfile}\`
51408 fi
51409 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51410 mkdir -p .deps
51411 if test "x${GCC_PCH}" = "x1" ; then
51412 # can do this because gcc is >= 3.4:
51413 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51414 elif test "x${ICC_PCH}" = "x1" ; then
51415 filename=pch_gen-${D}${D}
51416 file=${D}{filename}.c
51417 dfile=${D}{filename}.d
51418 cat > ${D}file <<EOT
51419 #include "${D}header"
51420 EOT
51421 # using -MF icc complains about differing command lines in creation/use
51422 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51423 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51424 rm -f ${D}file ${D}dfile ${D}{filename}.o
51425 fi
51426 exit ${D}{?}
51427 fi
51428 EOF
51429
51430 chmod +x bk-make-pch
51431 BK_MAKE_PCH="`pwd`/bk-make-pch"
51432 fi
51433 fi
51434 fi
51435
51436
51437
51438
51439
51440 COND_BUILD_DEBUG="#"
51441 if test "x$BUILD" = "xdebug" ; then
51442 COND_BUILD_DEBUG=""
51443 fi
51444
51445 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51446 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51447 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51448 fi
51449
51450 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51451 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51452 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51453 fi
51454
51455 COND_BUILD_DEBUG_UNICODE_0="#"
51456 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51457 COND_BUILD_DEBUG_UNICODE_0=""
51458 fi
51459
51460 COND_BUILD_DEBUG_UNICODE_1="#"
51461 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51462 COND_BUILD_DEBUG_UNICODE_1=""
51463 fi
51464
51465 COND_BUILD_RELEASE="#"
51466 if test "x$BUILD" = "xrelease" ; then
51467 COND_BUILD_RELEASE=""
51468 fi
51469
51470 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51471 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51472 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51473 fi
51474
51475 COND_BUILD_RELEASE_UNICODE_0="#"
51476 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51477 COND_BUILD_RELEASE_UNICODE_0=""
51478 fi
51479
51480 COND_BUILD_RELEASE_UNICODE_1="#"
51481 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51482 COND_BUILD_RELEASE_UNICODE_1=""
51483 fi
51484
51485 COND_DEBUG_FLAG_1="#"
51486 if test "x$DEBUG_FLAG" = "x1" ; then
51487 COND_DEBUG_FLAG_1=""
51488 fi
51489
51490 COND_DEBUG_INFO_0="#"
51491 if test "x$DEBUG_INFO" = "x0" ; then
51492 COND_DEBUG_INFO_0=""
51493 fi
51494
51495 COND_DEBUG_INFO_1="#"
51496 if test "x$DEBUG_INFO" = "x1" ; then
51497 COND_DEBUG_INFO_1=""
51498 fi
51499
51500 COND_DEPS_TRACKING_0="#"
51501 if test "x$DEPS_TRACKING" = "x0" ; then
51502 COND_DEPS_TRACKING_0=""
51503 fi
51504
51505 COND_DEPS_TRACKING_1="#"
51506 if test "x$DEPS_TRACKING" = "x1" ; then
51507 COND_DEPS_TRACKING_1=""
51508 fi
51509
51510 COND_GCC_PCH_1="#"
51511 if test "x$GCC_PCH" = "x1" ; then
51512 COND_GCC_PCH_1=""
51513 fi
51514
51515 COND_ICC_PCH_1="#"
51516 if test "x$ICC_PCH" = "x1" ; then
51517 COND_ICC_PCH_1=""
51518 fi
51519
51520 COND_MONOLITHIC_0="#"
51521 if test "x$MONOLITHIC" = "x0" ; then
51522 COND_MONOLITHIC_0=""
51523 fi
51524
51525 COND_MONOLITHIC_0_SHARED_0="#"
51526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51527 COND_MONOLITHIC_0_SHARED_0=""
51528 fi
51529
51530 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51532 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51533 fi
51534
51535 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51537 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51538 fi
51539
51540 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51542 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51543 fi
51544
51545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51547 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51548 fi
51549
51550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51552 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51553 fi
51554
51555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51557 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51558 fi
51559
51560 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51562 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51563 fi
51564
51565 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51567 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51568 fi
51569
51570 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51572 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51573 fi
51574
51575 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51577 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51578 fi
51579
51580 COND_MONOLITHIC_0_SHARED_1="#"
51581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51582 COND_MONOLITHIC_0_SHARED_1=""
51583 fi
51584
51585 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51587 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51588 fi
51589
51590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51592 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51593 fi
51594
51595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51597 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51598 fi
51599
51600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51602 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51603 fi
51604
51605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51608 fi
51609
51610 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51612 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51613 fi
51614
51615 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51617 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51618 fi
51619
51620 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51622 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51623 fi
51624
51625 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51627 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51628 fi
51629
51630 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51632 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51633 fi
51634
51635 COND_MONOLITHIC_0_USE_AUI_1="#"
51636 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51637 COND_MONOLITHIC_0_USE_AUI_1=""
51638 fi
51639
51640 COND_MONOLITHIC_0_USE_GUI_1="#"
51641 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51642 COND_MONOLITHIC_0_USE_GUI_1=""
51643 fi
51644
51645 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51646 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51647 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51648 fi
51649
51650 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51652 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51653 fi
51654
51655 COND_MONOLITHIC_0_USE_HTML_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51657 COND_MONOLITHIC_0_USE_HTML_1=""
51658 fi
51659
51660 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51662 COND_MONOLITHIC_0_USE_MEDIA_1=""
51663 fi
51664
51665 COND_MONOLITHIC_0_USE_ODBC_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51667 COND_MONOLITHIC_0_USE_ODBC_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_USE_QA_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51672 COND_MONOLITHIC_0_USE_QA_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51677 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_USE_STC_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51682 COND_MONOLITHIC_0_USE_STC_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_USE_XRC_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51687 COND_MONOLITHIC_0_USE_XRC_1=""
51688 fi
51689
51690 COND_MONOLITHIC_1="#"
51691 if test "x$MONOLITHIC" = "x1" ; then
51692 COND_MONOLITHIC_1=""
51693 fi
51694
51695 COND_MONOLITHIC_1_SHARED_0="#"
51696 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51697 COND_MONOLITHIC_1_SHARED_0=""
51698 fi
51699
51700 COND_MONOLITHIC_1_SHARED_1="#"
51701 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51702 COND_MONOLITHIC_1_SHARED_1=""
51703 fi
51704
51705 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51706 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51707 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51708 fi
51709
51710 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51711 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51712 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51713 fi
51714
51715 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51716 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51717 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51718 fi
51719
51720 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51721 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51722 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51723 fi
51724
51725 COND_PLATFORM_MACOSX_1="#"
51726 if test "x$PLATFORM_MACOSX" = "x1" ; then
51727 COND_PLATFORM_MACOSX_1=""
51728 fi
51729
51730 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51732 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51733 fi
51734
51735 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51737 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51738 fi
51739
51740 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51742 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51743 fi
51744
51745 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51747 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51748 fi
51749
51750 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51751 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51752 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51753 fi
51754
51755 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51756 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51757 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51758 fi
51759
51760 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51762 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51763 fi
51764
51765 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51767 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51768 fi
51769
51770 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51772 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51773 fi
51774
51775 COND_PLATFORM_MACOS_1="#"
51776 if test "x$PLATFORM_MACOS" = "x1" ; then
51777 COND_PLATFORM_MACOS_1=""
51778 fi
51779
51780 COND_PLATFORM_MAC_1="#"
51781 if test "x$PLATFORM_MAC" = "x1" ; then
51782 COND_PLATFORM_MAC_1=""
51783 fi
51784
51785 COND_PLATFORM_MSDOS_0="#"
51786 if test "x$PLATFORM_MSDOS" = "x0" ; then
51787 COND_PLATFORM_MSDOS_0=""
51788 fi
51789
51790 COND_PLATFORM_MSDOS_1="#"
51791 if test "x$PLATFORM_MSDOS" = "x1" ; then
51792 COND_PLATFORM_MSDOS_1=""
51793 fi
51794
51795 COND_PLATFORM_OS2_1="#"
51796 if test "x$PLATFORM_OS2" = "x1" ; then
51797 COND_PLATFORM_OS2_1=""
51798 fi
51799
51800 COND_PLATFORM_UNIX_0="#"
51801 if test "x$PLATFORM_UNIX" = "x0" ; then
51802 COND_PLATFORM_UNIX_0=""
51803 fi
51804
51805 COND_PLATFORM_UNIX_1="#"
51806 if test "x$PLATFORM_UNIX" = "x1" ; then
51807 COND_PLATFORM_UNIX_1=""
51808 fi
51809
51810 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51811 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51812 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51813 fi
51814
51815 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51816 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51817 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51818 fi
51819
51820 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51821 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51822 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51823 fi
51824
51825 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51826 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51827 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51828 fi
51829
51830 COND_PLATFORM_WIN32_0="#"
51831 if test "x$PLATFORM_WIN32" = "x0" ; then
51832 COND_PLATFORM_WIN32_0=""
51833 fi
51834
51835 COND_PLATFORM_WIN32_1="#"
51836 if test "x$PLATFORM_WIN32" = "x1" ; then
51837 COND_PLATFORM_WIN32_1=""
51838 fi
51839
51840 COND_SHARED_0="#"
51841 if test "x$SHARED" = "x0" ; then
51842 COND_SHARED_0=""
51843 fi
51844
51845 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51846 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51847 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51848 fi
51849
51850 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51851 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51852 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51853 fi
51854
51855 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51856 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51857 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51858 fi
51859
51860 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51861 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51862 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51863 fi
51864
51865 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51866 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51867 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51868 fi
51869
51870 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51871 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51872 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51873 fi
51874
51875 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51876 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51878 fi
51879
51880 COND_SHARED_0_USE_STC_1="#"
51881 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51882 COND_SHARED_0_USE_STC_1=""
51883 fi
51884
51885 COND_SHARED_0_USE_XRC_1="#"
51886 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51887 COND_SHARED_0_USE_XRC_1=""
51888 fi
51889
51890 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51891 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51893 fi
51894
51895 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51896 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51897 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51898 fi
51899
51900 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51901 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51902 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51903 fi
51904
51905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51906 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51907 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51908 fi
51909
51910 COND_SHARED_1="#"
51911 if test "x$SHARED" = "x1" ; then
51912 COND_SHARED_1=""
51913 fi
51914
51915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51916 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51917 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51918 fi
51919
51920 COND_SHARED_1_USE_XRC_1="#"
51921 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51922 COND_SHARED_1_USE_XRC_1=""
51923 fi
51924
51925 COND_TOOLKIT_="#"
51926 if test "x$TOOLKIT" = "x" ; then
51927 COND_TOOLKIT_=""
51928 fi
51929
51930 COND_TOOLKIT_COCOA="#"
51931 if test "x$TOOLKIT" = "xCOCOA" ; then
51932 COND_TOOLKIT_COCOA=""
51933 fi
51934
51935 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51936 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51937 COND_TOOLKIT_COCOA_USE_GUI_1=""
51938 fi
51939
51940 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51941 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51942 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51943 fi
51944
51945 COND_TOOLKIT_DFB="#"
51946 if test "x$TOOLKIT" = "xDFB" ; then
51947 COND_TOOLKIT_DFB=""
51948 fi
51949
51950 COND_TOOLKIT_DFB_USE_GUI_1="#"
51951 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51952 COND_TOOLKIT_DFB_USE_GUI_1=""
51953 fi
51954
51955 COND_TOOLKIT_GTK="#"
51956 if test "x$TOOLKIT" = "xGTK" ; then
51957 COND_TOOLKIT_GTK=""
51958 fi
51959
51960 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51961 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51962 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51963 fi
51964
51965 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51966 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51967 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51968 fi
51969
51970 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51971 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51972 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51973 fi
51974
51975 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51976 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51977 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51978 fi
51979
51980 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51981 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51982 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51983 fi
51984
51985 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51986 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51987 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51988 fi
51989
51990 COND_TOOLKIT_GTK_USE_GUI_1="#"
51991 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51992 COND_TOOLKIT_GTK_USE_GUI_1=""
51993 fi
51994
51995 COND_TOOLKIT_MAC="#"
51996 if test "x$TOOLKIT" = "xMAC" ; then
51997 COND_TOOLKIT_MAC=""
51998 fi
51999
52000 COND_TOOLKIT_MAC_USE_GUI_1="#"
52001 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52002 COND_TOOLKIT_MAC_USE_GUI_1=""
52003 fi
52004
52005 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52006 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52007 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52008 fi
52009
52010 COND_TOOLKIT_MGL="#"
52011 if test "x$TOOLKIT" = "xMGL" ; then
52012 COND_TOOLKIT_MGL=""
52013 fi
52014
52015 COND_TOOLKIT_MGL_USE_GUI_1="#"
52016 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52017 COND_TOOLKIT_MGL_USE_GUI_1=""
52018 fi
52019
52020 COND_TOOLKIT_MOTIF="#"
52021 if test "x$TOOLKIT" = "xMOTIF" ; then
52022 COND_TOOLKIT_MOTIF=""
52023 fi
52024
52025 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52028 fi
52029
52030 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52031 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52032 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52033 fi
52034
52035 COND_TOOLKIT_MSW="#"
52036 if test "x$TOOLKIT" = "xMSW" ; then
52037 COND_TOOLKIT_MSW=""
52038 fi
52039
52040 COND_TOOLKIT_MSW_USE_GUI_1="#"
52041 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52042 COND_TOOLKIT_MSW_USE_GUI_1=""
52043 fi
52044
52045 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52046 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52047 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52048 fi
52049
52050 COND_TOOLKIT_MSW_WXUNIV_0="#"
52051 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52052 COND_TOOLKIT_MSW_WXUNIV_0=""
52053 fi
52054
52055 COND_TOOLKIT_PM="#"
52056 if test "x$TOOLKIT" = "xPM" ; then
52057 COND_TOOLKIT_PM=""
52058 fi
52059
52060 COND_TOOLKIT_PM_USE_GUI_1="#"
52061 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52062 COND_TOOLKIT_PM_USE_GUI_1=""
52063 fi
52064
52065 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52066 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52067 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52068 fi
52069
52070 COND_TOOLKIT_WINCE="#"
52071 if test "x$TOOLKIT" = "xWINCE" ; then
52072 COND_TOOLKIT_WINCE=""
52073 fi
52074
52075 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52076 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52077 COND_TOOLKIT_WINCE_USE_GUI_1=""
52078 fi
52079
52080 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52081 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52082 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52083 fi
52084
52085 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52086 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52087 COND_TOOLKIT_WINCE_WXUNIV_0=""
52088 fi
52089
52090 COND_TOOLKIT_X11="#"
52091 if test "x$TOOLKIT" = "xX11" ; then
52092 COND_TOOLKIT_X11=""
52093 fi
52094
52095 COND_TOOLKIT_X11_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_X11_USE_GUI_1=""
52098 fi
52099
52100 COND_UNICODE_1="#"
52101 if test "x$UNICODE" = "x1" ; then
52102 COND_UNICODE_1=""
52103 fi
52104
52105 COND_USE_EXCEPTIONS_0="#"
52106 if test "x$USE_EXCEPTIONS" = "x0" ; then
52107 COND_USE_EXCEPTIONS_0=""
52108 fi
52109
52110 COND_USE_EXCEPTIONS_1="#"
52111 if test "x$USE_EXCEPTIONS" = "x1" ; then
52112 COND_USE_EXCEPTIONS_1=""
52113 fi
52114
52115 COND_USE_GUI_0="#"
52116 if test "x$USE_GUI" = "x0" ; then
52117 COND_USE_GUI_0=""
52118 fi
52119
52120 COND_USE_GUI_1="#"
52121 if test "x$USE_GUI" = "x1" ; then
52122 COND_USE_GUI_1=""
52123 fi
52124
52125 COND_USE_GUI_1_USE_OPENGL_1="#"
52126 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52127 COND_USE_GUI_1_USE_OPENGL_1=""
52128 fi
52129
52130 COND_USE_GUI_1_WXUNIV_0="#"
52131 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52132 COND_USE_GUI_1_WXUNIV_0=""
52133 fi
52134
52135 COND_USE_GUI_1_WXUNIV_1="#"
52136 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52137 COND_USE_GUI_1_WXUNIV_1=""
52138 fi
52139
52140 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52141 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52142 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52143 fi
52144
52145 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52146 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52147 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52148 fi
52149
52150 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52151 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52152 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52153 fi
52154
52155 COND_USE_ODBC_1="#"
52156 if test "x$USE_ODBC" = "x1" ; then
52157 COND_USE_ODBC_1=""
52158 fi
52159
52160 COND_USE_OPENGL_1="#"
52161 if test "x$USE_OPENGL" = "x1" ; then
52162 COND_USE_OPENGL_1=""
52163 fi
52164
52165 COND_USE_PCH_1="#"
52166 if test "x$USE_PCH" = "x1" ; then
52167 COND_USE_PCH_1=""
52168 fi
52169
52170 COND_USE_PLUGINS_0="#"
52171 if test "x$USE_PLUGINS" = "x0" ; then
52172 COND_USE_PLUGINS_0=""
52173 fi
52174
52175 COND_USE_RTTI_0="#"
52176 if test "x$USE_RTTI" = "x0" ; then
52177 COND_USE_RTTI_0=""
52178 fi
52179
52180 COND_USE_RTTI_1="#"
52181 if test "x$USE_RTTI" = "x1" ; then
52182 COND_USE_RTTI_1=""
52183 fi
52184
52185 COND_USE_SOSYMLINKS_1="#"
52186 if test "x$USE_SOSYMLINKS" = "x1" ; then
52187 COND_USE_SOSYMLINKS_1=""
52188 fi
52189
52190 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52191 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52192 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52193 fi
52194
52195 COND_USE_SOVERLINUX_1="#"
52196 if test "x$USE_SOVERLINUX" = "x1" ; then
52197 COND_USE_SOVERLINUX_1=""
52198 fi
52199
52200 COND_USE_SOVERSION_0="#"
52201 if test "x$USE_SOVERSION" = "x0" ; then
52202 COND_USE_SOVERSION_0=""
52203 fi
52204
52205 COND_USE_SOVERSOLARIS_1="#"
52206 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52207 COND_USE_SOVERSOLARIS_1=""
52208 fi
52209
52210 COND_USE_STC_1="#"
52211 if test "x$USE_STC" = "x1" ; then
52212 COND_USE_STC_1=""
52213 fi
52214
52215 COND_USE_THREADS_0="#"
52216 if test "x$USE_THREADS" = "x0" ; then
52217 COND_USE_THREADS_0=""
52218 fi
52219
52220 COND_USE_THREADS_1="#"
52221 if test "x$USE_THREADS" = "x1" ; then
52222 COND_USE_THREADS_1=""
52223 fi
52224
52225 COND_USE_XRC_1="#"
52226 if test "x$USE_XRC" = "x1" ; then
52227 COND_USE_XRC_1=""
52228 fi
52229
52230 COND_WINDOWS_IMPLIB_1="#"
52231 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52232 COND_WINDOWS_IMPLIB_1=""
52233 fi
52234
52235 COND_WITH_PLUGIN_SDL_1="#"
52236 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52237 COND_WITH_PLUGIN_SDL_1=""
52238 fi
52239
52240 COND_WXUNIV_0="#"
52241 if test "x$WXUNIV" = "x0" ; then
52242 COND_WXUNIV_0=""
52243 fi
52244
52245 COND_WXUNIV_1="#"
52246 if test "x$WXUNIV" = "x1" ; then
52247 COND_WXUNIV_1=""
52248 fi
52249
52250 COND_WXUSE_EXPAT_BUILTIN="#"
52251 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52252 COND_WXUSE_EXPAT_BUILTIN=""
52253 fi
52254
52255 COND_WXUSE_LIBJPEG_BUILTIN="#"
52256 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52257 COND_WXUSE_LIBJPEG_BUILTIN=""
52258 fi
52259
52260 COND_WXUSE_LIBPNG_BUILTIN="#"
52261 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52262 COND_WXUSE_LIBPNG_BUILTIN=""
52263 fi
52264
52265 COND_WXUSE_LIBTIFF_BUILTIN="#"
52266 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52267 COND_WXUSE_LIBTIFF_BUILTIN=""
52268 fi
52269
52270 COND_WXUSE_ODBC_BUILTIN="#"
52271 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52272 COND_WXUSE_ODBC_BUILTIN=""
52273 fi
52274
52275 COND_WXUSE_REGEX_BUILTIN="#"
52276 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52277 COND_WXUSE_REGEX_BUILTIN=""
52278 fi
52279
52280 COND_WXUSE_ZLIB_BUILTIN="#"
52281 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52282 COND_WXUSE_ZLIB_BUILTIN=""
52283 fi
52284
52285
52286
52287 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52288 { { 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
52289 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;}
52290 { (exit 1); exit 1; }; }
52291 fi
52292
52293 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52294 { { 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
52295 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;}
52296 { (exit 1); exit 1; }; }
52297 fi
52298
52299
52300 if test $GCC_PCH = 1
52301 then
52302 if test "$wx_cv_gcc_pch_bug" = yes; then
52303 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52304 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52305 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52306 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52307 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52308 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52309 fi
52310
52311 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52312 fi
52313
52314
52315 if test "$wxUSE_MAC" = 1 ; then
52316 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52317 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52318 mv temp bk-deps
52319 chmod +x bk-deps
52320 fi
52321 fi
52322
52323 if test "$wxUSE_SHARED" = "yes"; then
52324
52325 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52326 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52327
52328 case "${host}" in
52329 *-pc-os2_emx | *-pc-os2-emx )
52330 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52331 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52332 cp -p ${srcdir}/src/os2/dllnames.sh .
52333 cp -p ${srcdir}/src/os2/dllar.sh .
52334 ;;
52335 esac
52336 else
52337
52338 EXE_LINKER="$CXX -o"
52339
52340 fi
52341 if test "$wxUSE_OMF" = "yes"; then
52342 case "${host}" in
52343 *-pc-os2_emx | *-pc-os2-emx )
52344 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52345 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52346 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52347 ;;
52348 esac
52349 fi
52350
52351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52352
52353
52354 case "${host}" in
52355 *-*-solaris2* )
52356 if "$GCC" = yes; then
52357 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52358 LIBS=`echo $LIBS | sed 's/-mt//'`
52359 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52360 fi
52361 ;;
52362
52363 *-*-linux* )
52364 if test "x$SUNCXX" = xyes; then
52365 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52366 LIBS=`echo $LIBS | sed 's/-pthread//'`
52367 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52368 fi
52369 ;;
52370 esac
52371
52372 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52373 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52374
52375 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52376
52377
52378
52379
52380
52381
52382
52383
52384
52385
52386
52387
52388
52389
52390
52391
52392
52393
52394
52395
52396
52397
52398
52399
52400
52401
52402
52403
52404
52405
52406
52407
52408
52409
52410
52411
52412
52413
52414
52415
52416
52417
52418
52419
52420
52421
52422
52423
52424
52425
52426
52427
52428
52429
52430
52431
52432
52433
52434
52435
52436
52437 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52438 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52439 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52441 echo $ECHO_N "(cached) $ECHO_C" >&6
52442 else
52443 cat >conftest.make <<\_ACEOF
52444 SHELL = /bin/sh
52445 all:
52446 @echo '@@@%%%=$(MAKE)=@@@%%%'
52447 _ACEOF
52448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52450 *@@@%%%=?*=@@@%%%*)
52451 eval ac_cv_prog_make_${ac_make}_set=yes;;
52452 *)
52453 eval ac_cv_prog_make_${ac_make}_set=no;;
52454 esac
52455 rm -f conftest.make
52456 fi
52457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52458 { echo "$as_me:$LINENO: result: yes" >&5
52459 echo "${ECHO_T}yes" >&6; }
52460 SET_MAKE=
52461 else
52462 { echo "$as_me:$LINENO: result: no" >&5
52463 echo "${ECHO_T}no" >&6; }
52464 SET_MAKE="MAKE=${MAKE-make}"
52465 fi
52466
52467
52468
52469 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52470
52471
52472 if test "$USE_WIN32" = 1; then
52473 ac_config_commands="$ac_config_commands
52474 rcdefs.h
52475 "
52476
52477 fi
52478
52479 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52480
52481
52482 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52483
52484
52485 if test "$wx_cv_version_script" = "yes"; then
52486 ac_config_files="$ac_config_files version-script"
52487
52488 fi
52489 ac_config_files="$ac_config_files Makefile"
52490
52491
52492 ac_config_commands="$ac_config_commands wx-config"
52493
52494
52495
52496 if test "$wxWITH_SUBDIRS" != "no"; then
52497 if test "$wxUSE_GUI" = "yes"; then
52498 SUBDIRS="samples demos utils"
52499 else SUBDIRS="samples utils"
52500 fi
52501
52502
52503
52504 # Check whether --with-cppunit-prefix was given.
52505 if test "${with_cppunit_prefix+set}" = set; then
52506 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52507 else
52508 cppunit_config_prefix=""
52509 fi
52510
52511
52512 # Check whether --with-cppunit-exec-prefix was given.
52513 if test "${with_cppunit_exec_prefix+set}" = set; then
52514 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52515 else
52516 cppunit_config_exec_prefix=""
52517 fi
52518
52519
52520 if test x$cppunit_config_exec_prefix != x ; then
52521 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52522 if test x${CPPUNIT_CONFIG+set} != xset ; then
52523 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52524 fi
52525 fi
52526 if test x$cppunit_config_prefix != x ; then
52527 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52528 if test x${CPPUNIT_CONFIG+set} != xset ; then
52529 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52530 fi
52531 fi
52532
52533 # Extract the first word of "cppunit-config", so it can be a program name with args.
52534 set dummy cppunit-config; ac_word=$2
52535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52537 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52538 echo $ECHO_N "(cached) $ECHO_C" >&6
52539 else
52540 case $CPPUNIT_CONFIG in
52541 [\\/]* | ?:[\\/]*)
52542 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52543 ;;
52544 *)
52545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52546 for as_dir in $PATH
52547 do
52548 IFS=$as_save_IFS
52549 test -z "$as_dir" && as_dir=.
52550 for ac_exec_ext in '' $ac_executable_extensions; do
52551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52552 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52554 break 2
52555 fi
52556 done
52557 done
52558 IFS=$as_save_IFS
52559
52560 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52561 ;;
52562 esac
52563 fi
52564 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52565 if test -n "$CPPUNIT_CONFIG"; then
52566 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52567 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52568 else
52569 { echo "$as_me:$LINENO: result: no" >&5
52570 echo "${ECHO_T}no" >&6; }
52571 fi
52572
52573
52574 cppunit_version_min=1.8.0
52575
52576 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52577 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52578 no_cppunit=""
52579 if test "$CPPUNIT_CONFIG" = "no" ; then
52580 { echo "$as_me:$LINENO: result: no" >&5
52581 echo "${ECHO_T}no" >&6; }
52582 no_cppunit=yes
52583 else
52584 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52585 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52586 cppunit_version=`$CPPUNIT_CONFIG --version`
52587
52588 cppunit_major_version=`echo $cppunit_version | \
52589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52590 cppunit_minor_version=`echo $cppunit_version | \
52591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52592 cppunit_micro_version=`echo $cppunit_version | \
52593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52594
52595 cppunit_major_min=`echo $cppunit_version_min | \
52596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52597 cppunit_minor_min=`echo $cppunit_version_min | \
52598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52599 cppunit_micro_min=`echo $cppunit_version_min | \
52600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52601
52602 cppunit_version_proper=`expr \
52603 $cppunit_major_version \> $cppunit_major_min \| \
52604 $cppunit_major_version \= $cppunit_major_min \& \
52605 $cppunit_minor_version \> $cppunit_minor_min \| \
52606 $cppunit_major_version \= $cppunit_major_min \& \
52607 $cppunit_minor_version \= $cppunit_minor_min \& \
52608 $cppunit_micro_version \>= $cppunit_micro_min `
52609
52610 if test "$cppunit_version_proper" = "1" ; then
52611 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52612 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52613 else
52614 { echo "$as_me:$LINENO: result: no" >&5
52615 echo "${ECHO_T}no" >&6; }
52616 no_cppunit=yes
52617 fi
52618 fi
52619
52620 if test "x$no_cppunit" = x ; then
52621 SUBDIRS="$SUBDIRS tests"
52622 else
52623 CPPUNIT_CFLAGS=""
52624 CPPUNIT_LIBS=""
52625 :
52626 fi
52627
52628
52629
52630
52631
52632 for subdir in `echo $SUBDIRS`; do
52633 if test -d ${srcdir}/${subdir} ; then
52634 if test "$wxUSE_GUI" = "yes"; then
52635 if test ${subdir} = "samples"; then
52636 makefiles="samples/Makefile.in $makefiles"
52637 for sample in `echo $SAMPLES_SUBDIRS`; do
52638 if test -d $srcdir/samples/$sample; then
52639 makefiles="samples/$sample/Makefile.in $makefiles"
52640 fi
52641 done
52642 else
52643 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52644 eval "disabled=\$$disabled_var"
52645 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52646 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52647 fi
52648 else if test ${subdir} = "samples"; then
52649 makefiles="samples/Makefile.in samples/console/Makefile.in"
52650 elif test ${subdir} = "utils"; then
52651 makefiles=""
52652 for util in HelpGen tex2rtf ; do
52653 if test -d $srcdir/utils/$util ; then
52654 makefiles="utils/$util/Makefile.in \
52655 utils/$util/src/Makefile.in \
52656 $makefiles"
52657 fi
52658 done
52659 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52660 fi
52661 fi
52662
52663 for mkin in $makefiles ; do
52664 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52665 ac_config_files="$ac_config_files $mk"
52666
52667 done
52668 fi
52669 done
52670 fi
52671 cat >confcache <<\_ACEOF
52672 # This file is a shell script that caches the results of configure
52673 # tests run on this system so they can be shared between configure
52674 # scripts and configure runs, see configure's option --config-cache.
52675 # It is not useful on other systems. If it contains results you don't
52676 # want to keep, you may remove or edit it.
52677 #
52678 # config.status only pays attention to the cache file if you give it
52679 # the --recheck option to rerun configure.
52680 #
52681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52683 # following values.
52684
52685 _ACEOF
52686
52687 # The following way of writing the cache mishandles newlines in values,
52688 # but we know of no workaround that is simple, portable, and efficient.
52689 # So, we kill variables containing newlines.
52690 # Ultrix sh set writes to stderr and can't be redirected directly,
52691 # and sets the high bit in the cache file unless we assign to the vars.
52692 (
52693 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52694 eval ac_val=\$$ac_var
52695 case $ac_val in #(
52696 *${as_nl}*)
52697 case $ac_var in #(
52698 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52700 esac
52701 case $ac_var in #(
52702 _ | IFS | as_nl) ;; #(
52703 *) $as_unset $ac_var ;;
52704 esac ;;
52705 esac
52706 done
52707
52708 (set) 2>&1 |
52709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52710 *${as_nl}ac_space=\ *)
52711 # `set' does not quote correctly, so add quotes (double-quote
52712 # substitution turns \\\\ into \\, and sed turns \\ into \).
52713 sed -n \
52714 "s/'/'\\\\''/g;
52715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52716 ;; #(
52717 *)
52718 # `set' quotes correctly as required by POSIX, so do not add quotes.
52719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52720 ;;
52721 esac |
52722 sort
52723 ) |
52724 sed '
52725 /^ac_cv_env_/b end
52726 t clear
52727 :clear
52728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52729 t end
52730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52731 :end' >>confcache
52732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52733 if test -w "$cache_file"; then
52734 test "x$cache_file" != "x/dev/null" &&
52735 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52736 echo "$as_me: updating cache $cache_file" >&6;}
52737 cat confcache >$cache_file
52738 else
52739 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52740 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52741 fi
52742 fi
52743 rm -f confcache
52744
52745 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52746 # Let make expand exec_prefix.
52747 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52748
52749 DEFS=-DHAVE_CONFIG_H
52750
52751 ac_libobjs=
52752 ac_ltlibobjs=
52753 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52754 # 1. Remove the extension, and $U if already installed.
52755 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52756 ac_i=`echo "$ac_i" | sed "$ac_script"`
52757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52758 # will be set to the directory where LIBOBJS objects are built.
52759 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52760 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52761 done
52762 LIBOBJS=$ac_libobjs
52763
52764 LTLIBOBJS=$ac_ltlibobjs
52765
52766
52767
52768 : ${CONFIG_STATUS=./config.status}
52769 ac_clean_files_save=$ac_clean_files
52770 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52771 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52772 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52773 cat >$CONFIG_STATUS <<_ACEOF
52774 #! $SHELL
52775 # Generated by $as_me.
52776 # Run this file to recreate the current configuration.
52777 # Compiler output produced by configure, useful for debugging
52778 # configure, is in config.log if it exists.
52779
52780 debug=false
52781 ac_cs_recheck=false
52782 ac_cs_silent=false
52783 SHELL=\${CONFIG_SHELL-$SHELL}
52784 _ACEOF
52785
52786 cat >>$CONFIG_STATUS <<\_ACEOF
52787 ## --------------------- ##
52788 ## M4sh Initialization. ##
52789 ## --------------------- ##
52790
52791 # Be more Bourne compatible
52792 DUALCASE=1; export DUALCASE # for MKS sh
52793 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52794 emulate sh
52795 NULLCMD=:
52796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52797 # is contrary to our usage. Disable this feature.
52798 alias -g '${1+"$@"}'='"$@"'
52799 setopt NO_GLOB_SUBST
52800 else
52801 case `(set -o) 2>/dev/null` in
52802 *posix*) set -o posix ;;
52803 esac
52804
52805 fi
52806
52807
52808
52809
52810 # PATH needs CR
52811 # Avoid depending upon Character Ranges.
52812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52815 as_cr_digits='0123456789'
52816 as_cr_alnum=$as_cr_Letters$as_cr_digits
52817
52818 # The user is always right.
52819 if test "${PATH_SEPARATOR+set}" != set; then
52820 echo "#! /bin/sh" >conf$$.sh
52821 echo "exit 0" >>conf$$.sh
52822 chmod +x conf$$.sh
52823 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52824 PATH_SEPARATOR=';'
52825 else
52826 PATH_SEPARATOR=:
52827 fi
52828 rm -f conf$$.sh
52829 fi
52830
52831 # Support unset when possible.
52832 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52833 as_unset=unset
52834 else
52835 as_unset=false
52836 fi
52837
52838
52839 # IFS
52840 # We need space, tab and new line, in precisely that order. Quoting is
52841 # there to prevent editors from complaining about space-tab.
52842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52843 # splitting by setting IFS to empty value.)
52844 as_nl='
52845 '
52846 IFS=" "" $as_nl"
52847
52848 # Find who we are. Look in the path if we contain no directory separator.
52849 case $0 in
52850 *[\\/]* ) as_myself=$0 ;;
52851 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52852 for as_dir in $PATH
52853 do
52854 IFS=$as_save_IFS
52855 test -z "$as_dir" && as_dir=.
52856 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52857 done
52858 IFS=$as_save_IFS
52859
52860 ;;
52861 esac
52862 # We did not find ourselves, most probably we were run as `sh COMMAND'
52863 # in which case we are not to be found in the path.
52864 if test "x$as_myself" = x; then
52865 as_myself=$0
52866 fi
52867 if test ! -f "$as_myself"; then
52868 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52869 { (exit 1); exit 1; }
52870 fi
52871
52872 # Work around bugs in pre-3.0 UWIN ksh.
52873 for as_var in ENV MAIL MAILPATH
52874 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52875 done
52876 PS1='$ '
52877 PS2='> '
52878 PS4='+ '
52879
52880 # NLS nuisances.
52881 for as_var in \
52882 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52883 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52884 LC_TELEPHONE LC_TIME
52885 do
52886 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52887 eval $as_var=C; export $as_var
52888 else
52889 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52890 fi
52891 done
52892
52893 # Required to use basename.
52894 if expr a : '\(a\)' >/dev/null 2>&1 &&
52895 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52896 as_expr=expr
52897 else
52898 as_expr=false
52899 fi
52900
52901 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52902 as_basename=basename
52903 else
52904 as_basename=false
52905 fi
52906
52907
52908 # Name of the executable.
52909 as_me=`$as_basename -- "$0" ||
52910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52911 X"$0" : 'X\(//\)$' \| \
52912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52913 echo X/"$0" |
52914 sed '/^.*\/\([^/][^/]*\)\/*$/{
52915 s//\1/
52916 q
52917 }
52918 /^X\/\(\/\/\)$/{
52919 s//\1/
52920 q
52921 }
52922 /^X\/\(\/\).*/{
52923 s//\1/
52924 q
52925 }
52926 s/.*/./; q'`
52927
52928 # CDPATH.
52929 $as_unset CDPATH
52930
52931
52932
52933 as_lineno_1=$LINENO
52934 as_lineno_2=$LINENO
52935 test "x$as_lineno_1" != "x$as_lineno_2" &&
52936 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52937
52938 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52939 # uniformly replaced by the line number. The first 'sed' inserts a
52940 # line-number line after each line using $LINENO; the second 'sed'
52941 # does the real work. The second script uses 'N' to pair each
52942 # line-number line with the line containing $LINENO, and appends
52943 # trailing '-' during substitution so that $LINENO is not a special
52944 # case at line end.
52945 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52946 # scripts with optimization help from Paolo Bonzini. Blame Lee
52947 # E. McMahon (1931-1989) for sed's syntax. :-)
52948 sed -n '
52949 p
52950 /[$]LINENO/=
52951 ' <$as_myself |
52952 sed '
52953 s/[$]LINENO.*/&-/
52954 t lineno
52955 b
52956 :lineno
52957 N
52958 :loop
52959 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52960 t loop
52961 s/-\n.*//
52962 ' >$as_me.lineno &&
52963 chmod +x "$as_me.lineno" ||
52964 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52965 { (exit 1); exit 1; }; }
52966
52967 # Don't try to exec as it changes $[0], causing all sort of problems
52968 # (the dirname of $[0] is not the place where we might find the
52969 # original and so on. Autoconf is especially sensitive to this).
52970 . "./$as_me.lineno"
52971 # Exit status is that of the last command.
52972 exit
52973 }
52974
52975
52976 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52977 as_dirname=dirname
52978 else
52979 as_dirname=false
52980 fi
52981
52982 ECHO_C= ECHO_N= ECHO_T=
52983 case `echo -n x` in
52984 -n*)
52985 case `echo 'x\c'` in
52986 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52987 *) ECHO_C='\c';;
52988 esac;;
52989 *)
52990 ECHO_N='-n';;
52991 esac
52992
52993 if expr a : '\(a\)' >/dev/null 2>&1 &&
52994 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52995 as_expr=expr
52996 else
52997 as_expr=false
52998 fi
52999
53000 rm -f conf$$ conf$$.exe conf$$.file
53001 if test -d conf$$.dir; then
53002 rm -f conf$$.dir/conf$$.file
53003 else
53004 rm -f conf$$.dir
53005 mkdir conf$$.dir
53006 fi
53007 echo >conf$$.file
53008 if ln -s conf$$.file conf$$ 2>/dev/null; then
53009 as_ln_s='ln -s'
53010 # ... but there are two gotchas:
53011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53013 # In both cases, we have to default to `cp -p'.
53014 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53015 as_ln_s='cp -p'
53016 elif ln conf$$.file conf$$ 2>/dev/null; then
53017 as_ln_s=ln
53018 else
53019 as_ln_s='cp -p'
53020 fi
53021 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53022 rmdir conf$$.dir 2>/dev/null
53023
53024 if mkdir -p . 2>/dev/null; then
53025 as_mkdir_p=:
53026 else
53027 test -d ./-p && rmdir ./-p
53028 as_mkdir_p=false
53029 fi
53030
53031 if test -x / >/dev/null 2>&1; then
53032 as_test_x='test -x'
53033 else
53034 if ls -dL / >/dev/null 2>&1; then
53035 as_ls_L_option=L
53036 else
53037 as_ls_L_option=
53038 fi
53039 as_test_x='
53040 eval sh -c '\''
53041 if test -d "$1"; then
53042 test -d "$1/.";
53043 else
53044 case $1 in
53045 -*)set "./$1";;
53046 esac;
53047 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53048 ???[sx]*):;;*)false;;esac;fi
53049 '\'' sh
53050 '
53051 fi
53052 as_executable_p=$as_test_x
53053
53054 # Sed expression to map a string onto a valid CPP name.
53055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53056
53057 # Sed expression to map a string onto a valid variable name.
53058 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53059
53060
53061 exec 6>&1
53062
53063 # Save the log message, to keep $[0] and so on meaningful, and to
53064 # report actual input values of CONFIG_FILES etc. instead of their
53065 # values after options handling.
53066 ac_log="
53067 This file was extended by wxWidgets $as_me 2.9.0, which was
53068 generated by GNU Autoconf 2.61. Invocation command line was
53069
53070 CONFIG_FILES = $CONFIG_FILES
53071 CONFIG_HEADERS = $CONFIG_HEADERS
53072 CONFIG_LINKS = $CONFIG_LINKS
53073 CONFIG_COMMANDS = $CONFIG_COMMANDS
53074 $ $0 $@
53075
53076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53077 "
53078
53079 _ACEOF
53080
53081 cat >>$CONFIG_STATUS <<_ACEOF
53082 # Files that config.status was made for.
53083 config_files="$ac_config_files"
53084 config_headers="$ac_config_headers"
53085 config_commands="$ac_config_commands"
53086
53087 _ACEOF
53088
53089 cat >>$CONFIG_STATUS <<\_ACEOF
53090 ac_cs_usage="\
53091 \`$as_me' instantiates files from templates according to the
53092 current configuration.
53093
53094 Usage: $0 [OPTIONS] [FILE]...
53095
53096 -h, --help print this help, then exit
53097 -V, --version print version number and configuration settings, then exit
53098 -q, --quiet do not print progress messages
53099 -d, --debug don't remove temporary files
53100 --recheck update $as_me by reconfiguring in the same conditions
53101 --file=FILE[:TEMPLATE]
53102 instantiate the configuration file FILE
53103 --header=FILE[:TEMPLATE]
53104 instantiate the configuration header FILE
53105
53106 Configuration files:
53107 $config_files
53108
53109 Configuration headers:
53110 $config_headers
53111
53112 Configuration commands:
53113 $config_commands
53114
53115 Report bugs to <bug-autoconf@gnu.org>."
53116
53117 _ACEOF
53118 cat >>$CONFIG_STATUS <<_ACEOF
53119 ac_cs_version="\\
53120 wxWidgets config.status 2.9.0
53121 configured by $0, generated by GNU Autoconf 2.61,
53122 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53123
53124 Copyright (C) 2006 Free Software Foundation, Inc.
53125 This config.status script is free software; the Free Software Foundation
53126 gives unlimited permission to copy, distribute and modify it."
53127
53128 ac_pwd='$ac_pwd'
53129 srcdir='$srcdir'
53130 INSTALL='$INSTALL'
53131 _ACEOF
53132
53133 cat >>$CONFIG_STATUS <<\_ACEOF
53134 # If no file are specified by the user, then we need to provide default
53135 # value. By we need to know if files were specified by the user.
53136 ac_need_defaults=:
53137 while test $# != 0
53138 do
53139 case $1 in
53140 --*=*)
53141 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53142 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53143 ac_shift=:
53144 ;;
53145 *)
53146 ac_option=$1
53147 ac_optarg=$2
53148 ac_shift=shift
53149 ;;
53150 esac
53151
53152 case $ac_option in
53153 # Handling of the options.
53154 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53155 ac_cs_recheck=: ;;
53156 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53157 echo "$ac_cs_version"; exit ;;
53158 --debug | --debu | --deb | --de | --d | -d )
53159 debug=: ;;
53160 --file | --fil | --fi | --f )
53161 $ac_shift
53162 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53163 ac_need_defaults=false;;
53164 --header | --heade | --head | --hea )
53165 $ac_shift
53166 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53167 ac_need_defaults=false;;
53168 --he | --h)
53169 # Conflict between --help and --header
53170 { echo "$as_me: error: ambiguous option: $1
53171 Try \`$0 --help' for more information." >&2
53172 { (exit 1); exit 1; }; };;
53173 --help | --hel | -h )
53174 echo "$ac_cs_usage"; exit ;;
53175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53176 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53177 ac_cs_silent=: ;;
53178
53179 # This is an error.
53180 -*) { echo "$as_me: error: unrecognized option: $1
53181 Try \`$0 --help' for more information." >&2
53182 { (exit 1); exit 1; }; } ;;
53183
53184 *) ac_config_targets="$ac_config_targets $1"
53185 ac_need_defaults=false ;;
53186
53187 esac
53188 shift
53189 done
53190
53191 ac_configure_extra_args=
53192
53193 if $ac_cs_silent; then
53194 exec 6>/dev/null
53195 ac_configure_extra_args="$ac_configure_extra_args --silent"
53196 fi
53197
53198 _ACEOF
53199 cat >>$CONFIG_STATUS <<_ACEOF
53200 if \$ac_cs_recheck; then
53201 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53202 CONFIG_SHELL=$SHELL
53203 export CONFIG_SHELL
53204 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53205 fi
53206
53207 _ACEOF
53208 cat >>$CONFIG_STATUS <<\_ACEOF
53209 exec 5>>config.log
53210 {
53211 echo
53212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53213 ## Running $as_me. ##
53214 _ASBOX
53215 echo "$ac_log"
53216 } >&5
53217
53218 _ACEOF
53219 cat >>$CONFIG_STATUS <<_ACEOF
53220 #
53221 # INIT-COMMANDS
53222 #
53223
53224 CPP="$CPP"
53225 infile="$srcdir/include/wx/msw/genrcdefs.h"
53226 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53227
53228
53229 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53230 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53231 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53232 LN_S="${LN_S}"
53233
53234
53235 _ACEOF
53236
53237 cat >>$CONFIG_STATUS <<\_ACEOF
53238
53239 # Handling of arguments.
53240 for ac_config_target in $ac_config_targets
53241 do
53242 case $ac_config_target in
53243 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53244 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53245 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53246 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53247 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53248 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53249 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53250 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53251
53252 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53253 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53254 { (exit 1); exit 1; }; };;
53255 esac
53256 done
53257
53258
53259 # If the user did not use the arguments to specify the items to instantiate,
53260 # then the envvar interface is used. Set only those that are not.
53261 # We use the long form for the default assignment because of an extremely
53262 # bizarre bug on SunOS 4.1.3.
53263 if $ac_need_defaults; then
53264 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53265 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53266 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53267 fi
53268
53269 # Have a temporary directory for convenience. Make it in the build tree
53270 # simply because there is no reason against having it here, and in addition,
53271 # creating and moving files from /tmp can sometimes cause problems.
53272 # Hook for its removal unless debugging.
53273 # Note that there is a small window in which the directory will not be cleaned:
53274 # after its creation but before its name has been assigned to `$tmp'.
53275 $debug ||
53276 {
53277 tmp=
53278 trap 'exit_status=$?
53279 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53280 ' 0
53281 trap '{ (exit 1); exit 1; }' 1 2 13 15
53282 }
53283 # Create a (secure) tmp directory for tmp files.
53284
53285 {
53286 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53287 test -n "$tmp" && test -d "$tmp"
53288 } ||
53289 {
53290 tmp=./conf$$-$RANDOM
53291 (umask 077 && mkdir "$tmp")
53292 } ||
53293 {
53294 echo "$me: cannot create a temporary directory in ." >&2
53295 { (exit 1); exit 1; }
53296 }
53297
53298 #
53299 # Set up the sed scripts for CONFIG_FILES section.
53300 #
53301
53302 # No need to generate the scripts if there are no CONFIG_FILES.
53303 # This happens for instance when ./config.status config.h
53304 if test -n "$CONFIG_FILES"; then
53305
53306 _ACEOF
53307
53308
53309
53310 ac_delim='%!_!# '
53311 for ac_last_try in false false false false false :; do
53312 cat >conf$$subs.sed <<_ACEOF
53313 SHELL!$SHELL$ac_delim
53314 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53315 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53316 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53317 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53318 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53319 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53320 exec_prefix!$exec_prefix$ac_delim
53321 prefix!$prefix$ac_delim
53322 program_transform_name!$program_transform_name$ac_delim
53323 bindir!$bindir$ac_delim
53324 sbindir!$sbindir$ac_delim
53325 libexecdir!$libexecdir$ac_delim
53326 datarootdir!$datarootdir$ac_delim
53327 datadir!$datadir$ac_delim
53328 sysconfdir!$sysconfdir$ac_delim
53329 sharedstatedir!$sharedstatedir$ac_delim
53330 localstatedir!$localstatedir$ac_delim
53331 includedir!$includedir$ac_delim
53332 oldincludedir!$oldincludedir$ac_delim
53333 docdir!$docdir$ac_delim
53334 infodir!$infodir$ac_delim
53335 htmldir!$htmldir$ac_delim
53336 dvidir!$dvidir$ac_delim
53337 pdfdir!$pdfdir$ac_delim
53338 psdir!$psdir$ac_delim
53339 libdir!$libdir$ac_delim
53340 localedir!$localedir$ac_delim
53341 mandir!$mandir$ac_delim
53342 DEFS!$DEFS$ac_delim
53343 ECHO_C!$ECHO_C$ac_delim
53344 ECHO_N!$ECHO_N$ac_delim
53345 ECHO_T!$ECHO_T$ac_delim
53346 LIBS!$LIBS$ac_delim
53347 build_alias!$build_alias$ac_delim
53348 host_alias!$host_alias$ac_delim
53349 target_alias!$target_alias$ac_delim
53350 build!$build$ac_delim
53351 build_cpu!$build_cpu$ac_delim
53352 build_vendor!$build_vendor$ac_delim
53353 build_os!$build_os$ac_delim
53354 host!$host$ac_delim
53355 host_cpu!$host_cpu$ac_delim
53356 host_vendor!$host_vendor$ac_delim
53357 host_os!$host_os$ac_delim
53358 target!$target$ac_delim
53359 target_cpu!$target_cpu$ac_delim
53360 target_vendor!$target_vendor$ac_delim
53361 target_os!$target_os$ac_delim
53362 wx_top_builddir!$wx_top_builddir$ac_delim
53363 CC!$CC$ac_delim
53364 CFLAGS!$CFLAGS$ac_delim
53365 LDFLAGS!$LDFLAGS$ac_delim
53366 CPPFLAGS!$CPPFLAGS$ac_delim
53367 ac_ct_CC!$ac_ct_CC$ac_delim
53368 EXEEXT!$EXEEXT$ac_delim
53369 OBJEXT!$OBJEXT$ac_delim
53370 CPP!$CPP$ac_delim
53371 GREP!$GREP$ac_delim
53372 EGREP!$EGREP$ac_delim
53373 CXX!$CXX$ac_delim
53374 CXXFLAGS!$CXXFLAGS$ac_delim
53375 ac_ct_CXX!$ac_ct_CXX$ac_delim
53376 RANLIB!$RANLIB$ac_delim
53377 AR!$AR$ac_delim
53378 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53379 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53380 INSTALL_DATA!$INSTALL_DATA$ac_delim
53381 STRIP!$STRIP$ac_delim
53382 WINDRES!$WINDRES$ac_delim
53383 DLLTOOL!$DLLTOOL$ac_delim
53384 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53385 LN_S!$LN_S$ac_delim
53386 subdirs!$subdirs$ac_delim
53387 PKG_CONFIG!$PKG_CONFIG$ac_delim
53388 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53389 GTK_LIBS!$GTK_LIBS$ac_delim
53390 GTK_CONFIG!$GTK_CONFIG$ac_delim
53391 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53392 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53393 XMKMF!$XMKMF$ac_delim
53394 X_CFLAGS!$X_CFLAGS$ac_delim
53395 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53396 X_LIBS!$X_LIBS$ac_delim
53397 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53398 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53399 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53400 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53401 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53402 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53403 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53404 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53405 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53406 REZ!$REZ$ac_delim
53407 DEREZ!$DEREZ$ac_delim
53408 SETFILE!$SETFILE$ac_delim
53409 LIBICONV!$LIBICONV$ac_delim
53410 _ACEOF
53411
53412 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53413 break
53414 elif $ac_last_try; then
53415 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53416 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53417 { (exit 1); exit 1; }; }
53418 else
53419 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53420 fi
53421 done
53422
53423 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53424 if test -n "$ac_eof"; then
53425 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53426 ac_eof=`expr $ac_eof + 1`
53427 fi
53428
53429 cat >>$CONFIG_STATUS <<_ACEOF
53430 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53432 _ACEOF
53433 sed '
53434 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53435 s/^/s,@/; s/!/@,|#_!!_#|/
53436 :n
53437 t n
53438 s/'"$ac_delim"'$/,g/; t
53439 s/$/\\/; p
53440 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53441 ' >>$CONFIG_STATUS <conf$$subs.sed
53442 rm -f conf$$subs.sed
53443 cat >>$CONFIG_STATUS <<_ACEOF
53444 CEOF$ac_eof
53445 _ACEOF
53446
53447
53448 ac_delim='%!_!# '
53449 for ac_last_try in false false false false false :; do
53450 cat >conf$$subs.sed <<_ACEOF
53451 SDL_CONFIG!$SDL_CONFIG$ac_delim
53452 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53453 SDL_LIBS!$SDL_LIBS$ac_delim
53454 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53455 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53456 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53457 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53458 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53459 HILDON_LIBS!$HILDON_LIBS$ac_delim
53460 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53461 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53462 GST_CFLAGS!$GST_CFLAGS$ac_delim
53463 GST_LIBS!$GST_LIBS$ac_delim
53464 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53465 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53466 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53467 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53468 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53469 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53470 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53471 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53472 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53473 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53474 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53475 VENDOR!$VENDOR$ac_delim
53476 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53477 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53478 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53479 WXUNIV!$WXUNIV$ac_delim
53480 MONOLITHIC!$MONOLITHIC$ac_delim
53481 USE_PLUGINS!$USE_PLUGINS$ac_delim
53482 CXXWARNINGS!$CXXWARNINGS$ac_delim
53483 EXTRALIBS!$EXTRALIBS$ac_delim
53484 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53485 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53486 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53487 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53488 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53489 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53490 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53491 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53492 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53493 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53494 UNICODE!$UNICODE$ac_delim
53495 BUILD!$BUILD$ac_delim
53496 DEBUG_INFO!$DEBUG_INFO$ac_delim
53497 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53498 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53499 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53500 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53501 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53502 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53503 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53504 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53505 SET_MAKE!$SET_MAKE$ac_delim
53506 MAKE_SET!$MAKE_SET$ac_delim
53507 AROPTIONS!$AROPTIONS$ac_delim
53508 NM!$NM$ac_delim
53509 INSTALL_DIR!$INSTALL_DIR$ac_delim
53510 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53511 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53512 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53513 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53514 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53515 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53516 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53517 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53518 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53519 SO_SUFFIX!$SO_SUFFIX$ac_delim
53520 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53521 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53522 LIBPREFIX!$LIBPREFIX$ac_delim
53523 LIBEXT!$LIBEXT$ac_delim
53524 DLLPREFIX!$DLLPREFIX$ac_delim
53525 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53526 dlldir!$dlldir$ac_delim
53527 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53528 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53529 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53530 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53531 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53532 PIC_FLAG!$PIC_FLAG$ac_delim
53533 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53534 USE_SOVERSION!$USE_SOVERSION$ac_delim
53535 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53536 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53537 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53538 USE_MACVERSION!$USE_MACVERSION$ac_delim
53539 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53540 SONAME_FLAG!$SONAME_FLAG$ac_delim
53541 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53542 BK_DEPS!$BK_DEPS$ac_delim
53543 GCC_PCH!$GCC_PCH$ac_delim
53544 ICC_PCH!$ICC_PCH$ac_delim
53545 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53546 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53547 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53548 _ACEOF
53549
53550 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53551 break
53552 elif $ac_last_try; then
53553 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53554 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53555 { (exit 1); exit 1; }; }
53556 else
53557 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53558 fi
53559 done
53560
53561 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53562 if test -n "$ac_eof"; then
53563 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53564 ac_eof=`expr $ac_eof + 1`
53565 fi
53566
53567 cat >>$CONFIG_STATUS <<_ACEOF
53568 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53570 _ACEOF
53571 sed '
53572 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53573 s/^/s,@/; s/!/@,|#_!!_#|/
53574 :n
53575 t n
53576 s/'"$ac_delim"'$/,g/; t
53577 s/$/\\/; p
53578 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53579 ' >>$CONFIG_STATUS <conf$$subs.sed
53580 rm -f conf$$subs.sed
53581 cat >>$CONFIG_STATUS <<_ACEOF
53582 CEOF$ac_eof
53583 _ACEOF
53584
53585
53586 ac_delim='%!_!# '
53587 for ac_last_try in false false false false false :; do
53588 cat >conf$$subs.sed <<_ACEOF
53589 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53590 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53591 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53592 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53593 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53594 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53595 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53596 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53597 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53598 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53599 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53600 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53601 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53602 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53603 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53604 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53605 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53606 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53607 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53609 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53610 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53611 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53612 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53613 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53614 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53615 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53616 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53617 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53618 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53619 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53620 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53621 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53622 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53623 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53624 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53625 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53626 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53627 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53628 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53629 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53630 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53631 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53632 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53633 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53634 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53635 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53636 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53637 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53638 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53639 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53640 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53641 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53642 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53643 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53644 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53645 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53646 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53647 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53648 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53649 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53650 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53651 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53652 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53653 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53654 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53655 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53656 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53657 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53658 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53659 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53660 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53661 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53662 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53663 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53664 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53665 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53666 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53667 COND_SHARED_0!$COND_SHARED_0$ac_delim
53668 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53669 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53670 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53671 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53672 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53673 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53674 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53675 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53676 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53677 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53678 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53679 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53680 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53681 COND_SHARED_1!$COND_SHARED_1$ac_delim
53682 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53683 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53684 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53685 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53686 _ACEOF
53687
53688 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53689 break
53690 elif $ac_last_try; then
53691 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53692 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53693 { (exit 1); exit 1; }; }
53694 else
53695 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53696 fi
53697 done
53698
53699 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53700 if test -n "$ac_eof"; then
53701 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53702 ac_eof=`expr $ac_eof + 1`
53703 fi
53704
53705 cat >>$CONFIG_STATUS <<_ACEOF
53706 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53707 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53708 _ACEOF
53709 sed '
53710 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53711 s/^/s,@/; s/!/@,|#_!!_#|/
53712 :n
53713 t n
53714 s/'"$ac_delim"'$/,g/; t
53715 s/$/\\/; p
53716 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53717 ' >>$CONFIG_STATUS <conf$$subs.sed
53718 rm -f conf$$subs.sed
53719 cat >>$CONFIG_STATUS <<_ACEOF
53720 CEOF$ac_eof
53721 _ACEOF
53722
53723
53724 ac_delim='%!_!# '
53725 for ac_last_try in false false false false false :; do
53726 cat >conf$$subs.sed <<_ACEOF
53727 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53728 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53729 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53730 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53731 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53736 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53737 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53738 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53739 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53740 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53741 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53742 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53743 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53744 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53745 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53746 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53747 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53748 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53749 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53750 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53751 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53752 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53753 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53754 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53755 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53756 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53757 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53758 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53759 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53760 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53761 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53762 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53763 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53764 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53765 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53766 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53767 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53768 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53769 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53770 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53771 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53772 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53773 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53774 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53775 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53776 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53777 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53778 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53779 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53780 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53781 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53782 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53783 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53784 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53785 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53786 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53787 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53788 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53789 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53790 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53791 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53792 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53793 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53794 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53795 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53796 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53797 SHARED!$SHARED$ac_delim
53798 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53799 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53800 USE_GUI!$USE_GUI$ac_delim
53801 AFMINSTALL!$AFMINSTALL$ac_delim
53802 WIN32INSTALL!$WIN32INSTALL$ac_delim
53803 TOOLKIT!$TOOLKIT$ac_delim
53804 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53805 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53806 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53807 cross_compiling!$cross_compiling$ac_delim
53808 WIDGET_SET!$WIDGET_SET$ac_delim
53809 WX_RELEASE!$WX_RELEASE$ac_delim
53810 WX_VERSION!$WX_VERSION$ac_delim
53811 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53812 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53813 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53814 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53815 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53816 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53817 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53818 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53819 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53820 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53821 EXE_LINKER!$EXE_LINKER$ac_delim
53822 GUIDIST!$GUIDIST$ac_delim
53823 DISTDIR!$DISTDIR$ac_delim
53824 _ACEOF
53825
53826 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53827 break
53828 elif $ac_last_try; then
53829 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53830 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53831 { (exit 1); exit 1; }; }
53832 else
53833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53834 fi
53835 done
53836
53837 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53838 if test -n "$ac_eof"; then
53839 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53840 ac_eof=`expr $ac_eof + 1`
53841 fi
53842
53843 cat >>$CONFIG_STATUS <<_ACEOF
53844 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53846 _ACEOF
53847 sed '
53848 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53849 s/^/s,@/; s/!/@,|#_!!_#|/
53850 :n
53851 t n
53852 s/'"$ac_delim"'$/,g/; t
53853 s/$/\\/; p
53854 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53855 ' >>$CONFIG_STATUS <conf$$subs.sed
53856 rm -f conf$$subs.sed
53857 cat >>$CONFIG_STATUS <<_ACEOF
53858 CEOF$ac_eof
53859 _ACEOF
53860
53861
53862 ac_delim='%!_!# '
53863 for ac_last_try in false false false false false :; do
53864 cat >conf$$subs.sed <<_ACEOF
53865 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53866 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53867 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53868 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53869 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53870 RESCOMP!$RESCOMP$ac_delim
53871 RESFLAGS!$RESFLAGS$ac_delim
53872 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53873 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53874 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53875 LIBWXMACRES!$LIBWXMACRES$ac_delim
53876 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53877 MACSETFILE!$MACSETFILE$ac_delim
53878 GCC!$GCC$ac_delim
53879 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53880 LIBOBJS!$LIBOBJS$ac_delim
53881 LTLIBOBJS!$LTLIBOBJS$ac_delim
53882 _ACEOF
53883
53884 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53885 break
53886 elif $ac_last_try; then
53887 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53888 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53889 { (exit 1); exit 1; }; }
53890 else
53891 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53892 fi
53893 done
53894
53895 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53896 if test -n "$ac_eof"; then
53897 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53898 ac_eof=`expr $ac_eof + 1`
53899 fi
53900
53901 cat >>$CONFIG_STATUS <<_ACEOF
53902 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53904 _ACEOF
53905 sed '
53906 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53907 s/^/s,@/; s/!/@,|#_!!_#|/
53908 :n
53909 t n
53910 s/'"$ac_delim"'$/,g/; t
53911 s/$/\\/; p
53912 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53913 ' >>$CONFIG_STATUS <conf$$subs.sed
53914 rm -f conf$$subs.sed
53915 cat >>$CONFIG_STATUS <<_ACEOF
53916 :end
53917 s/|#_!!_#|//g
53918 CEOF$ac_eof
53919 _ACEOF
53920
53921
53922 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53923 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53924 # trailing colons and then remove the whole line if VPATH becomes empty
53925 # (actually we leave an empty line to preserve line numbers).
53926 if test "x$srcdir" = x.; then
53927 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53928 s/:*\$(srcdir):*/:/
53929 s/:*\${srcdir}:*/:/
53930 s/:*@srcdir@:*/:/
53931 s/^\([^=]*=[ ]*\):*/\1/
53932 s/:*$//
53933 s/^[^=]*=[ ]*$//
53934 }'
53935 fi
53936
53937 cat >>$CONFIG_STATUS <<\_ACEOF
53938 fi # test -n "$CONFIG_FILES"
53939
53940
53941 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53942 do
53943 case $ac_tag in
53944 :[FHLC]) ac_mode=$ac_tag; continue;;
53945 esac
53946 case $ac_mode$ac_tag in
53947 :[FHL]*:*);;
53948 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53949 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53950 { (exit 1); exit 1; }; };;
53951 :[FH]-) ac_tag=-:-;;
53952 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53953 esac
53954 ac_save_IFS=$IFS
53955 IFS=:
53956 set x $ac_tag
53957 IFS=$ac_save_IFS
53958 shift
53959 ac_file=$1
53960 shift
53961
53962 case $ac_mode in
53963 :L) ac_source=$1;;
53964 :[FH])
53965 ac_file_inputs=
53966 for ac_f
53967 do
53968 case $ac_f in
53969 -) ac_f="$tmp/stdin";;
53970 *) # Look for the file first in the build tree, then in the source tree
53971 # (if the path is not absolute). The absolute path cannot be DOS-style,
53972 # because $ac_f cannot contain `:'.
53973 test -f "$ac_f" ||
53974 case $ac_f in
53975 [\\/$]*) false;;
53976 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53977 esac ||
53978 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53979 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53980 { (exit 1); exit 1; }; };;
53981 esac
53982 ac_file_inputs="$ac_file_inputs $ac_f"
53983 done
53984
53985 # Let's still pretend it is `configure' which instantiates (i.e., don't
53986 # use $as_me), people would be surprised to read:
53987 # /* config.h. Generated by config.status. */
53988 configure_input="Generated from "`IFS=:
53989 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53990 if test x"$ac_file" != x-; then
53991 configure_input="$ac_file. $configure_input"
53992 { echo "$as_me:$LINENO: creating $ac_file" >&5
53993 echo "$as_me: creating $ac_file" >&6;}
53994 fi
53995
53996 case $ac_tag in
53997 *:-:* | *:-) cat >"$tmp/stdin";;
53998 esac
53999 ;;
54000 esac
54001
54002 ac_dir=`$as_dirname -- "$ac_file" ||
54003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54004 X"$ac_file" : 'X\(//\)[^/]' \| \
54005 X"$ac_file" : 'X\(//\)$' \| \
54006 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54007 echo X"$ac_file" |
54008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54009 s//\1/
54010 q
54011 }
54012 /^X\(\/\/\)[^/].*/{
54013 s//\1/
54014 q
54015 }
54016 /^X\(\/\/\)$/{
54017 s//\1/
54018 q
54019 }
54020 /^X\(\/\).*/{
54021 s//\1/
54022 q
54023 }
54024 s/.*/./; q'`
54025 { as_dir="$ac_dir"
54026 case $as_dir in #(
54027 -*) as_dir=./$as_dir;;
54028 esac
54029 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54030 as_dirs=
54031 while :; do
54032 case $as_dir in #(
54033 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54034 *) as_qdir=$as_dir;;
54035 esac
54036 as_dirs="'$as_qdir' $as_dirs"
54037 as_dir=`$as_dirname -- "$as_dir" ||
54038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54039 X"$as_dir" : 'X\(//\)[^/]' \| \
54040 X"$as_dir" : 'X\(//\)$' \| \
54041 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54042 echo X"$as_dir" |
54043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54044 s//\1/
54045 q
54046 }
54047 /^X\(\/\/\)[^/].*/{
54048 s//\1/
54049 q
54050 }
54051 /^X\(\/\/\)$/{
54052 s//\1/
54053 q
54054 }
54055 /^X\(\/\).*/{
54056 s//\1/
54057 q
54058 }
54059 s/.*/./; q'`
54060 test -d "$as_dir" && break
54061 done
54062 test -z "$as_dirs" || eval "mkdir $as_dirs"
54063 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54064 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54065 { (exit 1); exit 1; }; }; }
54066 ac_builddir=.
54067
54068 case "$ac_dir" in
54069 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54070 *)
54071 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54072 # A ".." for each directory in $ac_dir_suffix.
54073 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54074 case $ac_top_builddir_sub in
54075 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54076 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54077 esac ;;
54078 esac
54079 ac_abs_top_builddir=$ac_pwd
54080 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54081 # for backward compatibility:
54082 ac_top_builddir=$ac_top_build_prefix
54083
54084 case $srcdir in
54085 .) # We are building in place.
54086 ac_srcdir=.
54087 ac_top_srcdir=$ac_top_builddir_sub
54088 ac_abs_top_srcdir=$ac_pwd ;;
54089 [\\/]* | ?:[\\/]* ) # Absolute name.
54090 ac_srcdir=$srcdir$ac_dir_suffix;
54091 ac_top_srcdir=$srcdir
54092 ac_abs_top_srcdir=$srcdir ;;
54093 *) # Relative name.
54094 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54095 ac_top_srcdir=$ac_top_build_prefix$srcdir
54096 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54097 esac
54098 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54099
54100
54101 case $ac_mode in
54102 :F)
54103 #
54104 # CONFIG_FILE
54105 #
54106
54107 case $INSTALL in
54108 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54109 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54110 esac
54111 _ACEOF
54112
54113 cat >>$CONFIG_STATUS <<\_ACEOF
54114 # If the template does not know about datarootdir, expand it.
54115 # FIXME: This hack should be removed a few years after 2.60.
54116 ac_datarootdir_hack=; ac_datarootdir_seen=
54117
54118 case `sed -n '/datarootdir/ {
54119 p
54120 q
54121 }
54122 /@datadir@/p
54123 /@docdir@/p
54124 /@infodir@/p
54125 /@localedir@/p
54126 /@mandir@/p
54127 ' $ac_file_inputs` in
54128 *datarootdir*) ac_datarootdir_seen=yes;;
54129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54130 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54131 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54132 _ACEOF
54133 cat >>$CONFIG_STATUS <<_ACEOF
54134 ac_datarootdir_hack='
54135 s&@datadir@&$datadir&g
54136 s&@docdir@&$docdir&g
54137 s&@infodir@&$infodir&g
54138 s&@localedir@&$localedir&g
54139 s&@mandir@&$mandir&g
54140 s&\\\${datarootdir}&$datarootdir&g' ;;
54141 esac
54142 _ACEOF
54143
54144 # Neutralize VPATH when `$srcdir' = `.'.
54145 # Shell code in configure.ac might set extrasub.
54146 # FIXME: do we really want to maintain this feature?
54147 cat >>$CONFIG_STATUS <<_ACEOF
54148 sed "$ac_vpsub
54149 $extrasub
54150 _ACEOF
54151 cat >>$CONFIG_STATUS <<\_ACEOF
54152 :t
54153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54154 s&@configure_input@&$configure_input&;t t
54155 s&@top_builddir@&$ac_top_builddir_sub&;t t
54156 s&@srcdir@&$ac_srcdir&;t t
54157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54158 s&@top_srcdir@&$ac_top_srcdir&;t t
54159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54160 s&@builddir@&$ac_builddir&;t t
54161 s&@abs_builddir@&$ac_abs_builddir&;t t
54162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54163 s&@INSTALL@&$ac_INSTALL&;t t
54164 $ac_datarootdir_hack
54165 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
54166
54167 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54168 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54169 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54170 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54171 which seems to be undefined. Please make sure it is defined." >&5
54172 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54173 which seems to be undefined. Please make sure it is defined." >&2;}
54174
54175 rm -f "$tmp/stdin"
54176 case $ac_file in
54177 -) cat "$tmp/out"; rm -f "$tmp/out";;
54178 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54179 esac
54180 ;;
54181 :H)
54182 #
54183 # CONFIG_HEADER
54184 #
54185 _ACEOF
54186
54187 # Transform confdefs.h into a sed script `conftest.defines', that
54188 # substitutes the proper values into config.h.in to produce config.h.
54189 rm -f conftest.defines conftest.tail
54190 # First, append a space to every undef/define line, to ease matching.
54191 echo 's/$/ /' >conftest.defines
54192 # Then, protect against being on the right side of a sed subst, or in
54193 # an unquoted here document, in config.status. If some macros were
54194 # called several times there might be several #defines for the same
54195 # symbol, which is useless. But do not sort them, since the last
54196 # AC_DEFINE must be honored.
54197 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54198 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54199 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54200 # PARAMS is the parameter list in the macro definition--in most cases, it's
54201 # just an empty string.
54202 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54203 ac_dB='\\)[ (].*,\\1define\\2'
54204 ac_dC=' '
54205 ac_dD=' ,'
54206
54207 uniq confdefs.h |
54208 sed -n '
54209 t rset
54210 :rset
54211 s/^[ ]*#[ ]*define[ ][ ]*//
54212 t ok
54213 d
54214 :ok
54215 s/[\\&,]/\\&/g
54216 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54217 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54218 ' >>conftest.defines
54219
54220 # Remove the space that was appended to ease matching.
54221 # Then replace #undef with comments. This is necessary, for
54222 # example, in the case of _POSIX_SOURCE, which is predefined and required
54223 # on some systems where configure will not decide to define it.
54224 # (The regexp can be short, since the line contains either #define or #undef.)
54225 echo 's/ $//
54226 s,^[ #]*u.*,/* & */,' >>conftest.defines
54227
54228 # Break up conftest.defines:
54229 ac_max_sed_lines=50
54230
54231 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54232 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54233 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54234 # et cetera.
54235 ac_in='$ac_file_inputs'
54236 ac_out='"$tmp/out1"'
54237 ac_nxt='"$tmp/out2"'
54238
54239 while :
54240 do
54241 # Write a here document:
54242 cat >>$CONFIG_STATUS <<_ACEOF
54243 # First, check the format of the line:
54244 cat >"\$tmp/defines.sed" <<\\CEOF
54245 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54246 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54247 b
54248 :def
54249 _ACEOF
54250 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54251 echo 'CEOF
54252 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54253 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54254 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54255 grep . conftest.tail >/dev/null || break
54256 rm -f conftest.defines
54257 mv conftest.tail conftest.defines
54258 done
54259 rm -f conftest.defines conftest.tail
54260
54261 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54262 cat >>$CONFIG_STATUS <<\_ACEOF
54263 if test x"$ac_file" != x-; then
54264 echo "/* $configure_input */" >"$tmp/config.h"
54265 cat "$ac_result" >>"$tmp/config.h"
54266 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54267 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54268 echo "$as_me: $ac_file is unchanged" >&6;}
54269 else
54270 rm -f $ac_file
54271 mv "$tmp/config.h" $ac_file
54272 fi
54273 else
54274 echo "/* $configure_input */"
54275 cat "$ac_result"
54276 fi
54277 rm -f "$tmp/out12"
54278 ;;
54279
54280 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54281 echo "$as_me: executing $ac_file commands" >&6;}
54282 ;;
54283 esac
54284
54285
54286 case $ac_file$ac_mode in
54287 "rcdefs.h":C)
54288 mkdir -p $outdir &&
54289 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54290 ;;
54291 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54292 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54293 "wx-config":C) rm -f wx-config
54294 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54295 ;;
54296
54297 esac
54298 done # for ac_tag
54299
54300
54301 { (exit 0); exit 0; }
54302 _ACEOF
54303 chmod +x $CONFIG_STATUS
54304 ac_clean_files=$ac_clean_files_save
54305
54306
54307 # configure is writing to config.log, and then calls config.status.
54308 # config.status does its own redirection, appending to config.log.
54309 # Unfortunately, on DOS this fails, as config.log is still kept open
54310 # by configure, so config.status won't be able to write to it; its
54311 # output is simply discarded. So we exec the FD to /dev/null,
54312 # effectively closing config.log, so it can be properly (re)opened and
54313 # appended to by config.status. When coming back to configure, we
54314 # need to make the FD available again.
54315 if test "$no_create" != yes; then
54316 ac_cs_success=:
54317 ac_config_status_args=
54318 test "$silent" = yes &&
54319 ac_config_status_args="$ac_config_status_args --quiet"
54320 exec 5>/dev/null
54321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54322 exec 5>>config.log
54323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54324 # would make configure fail if this is the last instruction.
54325 $ac_cs_success || { (exit 1); exit 1; }
54326 fi
54327
54328 #
54329 # CONFIG_SUBDIRS section.
54330 #
54331 if test "$no_recursion" != yes; then
54332
54333 # Remove --cache-file and --srcdir arguments so they do not pile up.
54334 ac_sub_configure_args=
54335 ac_prev=
54336 eval "set x $ac_configure_args"
54337 shift
54338 for ac_arg
54339 do
54340 if test -n "$ac_prev"; then
54341 ac_prev=
54342 continue
54343 fi
54344 case $ac_arg in
54345 -cache-file | --cache-file | --cache-fil | --cache-fi \
54346 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54347 ac_prev=cache_file ;;
54348 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54349 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54350 | --c=*)
54351 ;;
54352 --config-cache | -C)
54353 ;;
54354 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54355 ac_prev=srcdir ;;
54356 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54357 ;;
54358 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54359 ac_prev=prefix ;;
54360 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54361 ;;
54362 *)
54363 case $ac_arg in
54364 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54365 esac
54366 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54367 esac
54368 done
54369
54370 # Always prepend --prefix to ensure using the same prefix
54371 # in subdir configurations.
54372 ac_arg="--prefix=$prefix"
54373 case $ac_arg in
54374 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54375 esac
54376 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54377
54378 # Pass --silent
54379 if test "$silent" = yes; then
54380 ac_sub_configure_args="--silent $ac_sub_configure_args"
54381 fi
54382
54383 ac_popdir=`pwd`
54384 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54385
54386 # Do not complain, so a configure script can configure whichever
54387 # parts of a large source tree are present.
54388 test -d "$srcdir/$ac_dir" || continue
54389
54390 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54391 echo "$as_me:$LINENO: $ac_msg" >&5
54392 echo "$ac_msg" >&6
54393 { as_dir="$ac_dir"
54394 case $as_dir in #(
54395 -*) as_dir=./$as_dir;;
54396 esac
54397 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54398 as_dirs=
54399 while :; do
54400 case $as_dir in #(
54401 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54402 *) as_qdir=$as_dir;;
54403 esac
54404 as_dirs="'$as_qdir' $as_dirs"
54405 as_dir=`$as_dirname -- "$as_dir" ||
54406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54407 X"$as_dir" : 'X\(//\)[^/]' \| \
54408 X"$as_dir" : 'X\(//\)$' \| \
54409 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54410 echo X"$as_dir" |
54411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54412 s//\1/
54413 q
54414 }
54415 /^X\(\/\/\)[^/].*/{
54416 s//\1/
54417 q
54418 }
54419 /^X\(\/\/\)$/{
54420 s//\1/
54421 q
54422 }
54423 /^X\(\/\).*/{
54424 s//\1/
54425 q
54426 }
54427 s/.*/./; q'`
54428 test -d "$as_dir" && break
54429 done
54430 test -z "$as_dirs" || eval "mkdir $as_dirs"
54431 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54432 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54433 { (exit 1); exit 1; }; }; }
54434 ac_builddir=.
54435
54436 case "$ac_dir" in
54437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54438 *)
54439 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54440 # A ".." for each directory in $ac_dir_suffix.
54441 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54442 case $ac_top_builddir_sub in
54443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54445 esac ;;
54446 esac
54447 ac_abs_top_builddir=$ac_pwd
54448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54449 # for backward compatibility:
54450 ac_top_builddir=$ac_top_build_prefix
54451
54452 case $srcdir in
54453 .) # We are building in place.
54454 ac_srcdir=.
54455 ac_top_srcdir=$ac_top_builddir_sub
54456 ac_abs_top_srcdir=$ac_pwd ;;
54457 [\\/]* | ?:[\\/]* ) # Absolute name.
54458 ac_srcdir=$srcdir$ac_dir_suffix;
54459 ac_top_srcdir=$srcdir
54460 ac_abs_top_srcdir=$srcdir ;;
54461 *) # Relative name.
54462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54463 ac_top_srcdir=$ac_top_build_prefix$srcdir
54464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54465 esac
54466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54467
54468
54469 cd "$ac_dir"
54470
54471 # Check for guested configure; otherwise get Cygnus style configure.
54472 if test -f "$ac_srcdir/configure.gnu"; then
54473 ac_sub_configure=$ac_srcdir/configure.gnu
54474 elif test -f "$ac_srcdir/configure"; then
54475 ac_sub_configure=$ac_srcdir/configure
54476 elif test -f "$ac_srcdir/configure.in"; then
54477 # This should be Cygnus configure.
54478 ac_sub_configure=$ac_aux_dir/configure
54479 else
54480 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54481 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54482 ac_sub_configure=
54483 fi
54484
54485 # The recursion is here.
54486 if test -n "$ac_sub_configure"; then
54487 # Make the cache file name correct relative to the subdirectory.
54488 case $cache_file in
54489 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54490 *) # Relative name.
54491 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54492 esac
54493
54494 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54495 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54496 # The eval makes quoting arguments work.
54497 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54498 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54499 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54500 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54501 { (exit 1); exit 1; }; }
54502 fi
54503
54504 cd "$ac_popdir"
54505 done
54506 fi
54507
54508
54509 echo
54510 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54511 echo ""
54512 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54513 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54514
54515 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54516 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54517 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54518 if test "$wxUSE_UNICODE" = "yes"; then
54519 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54520 echo " (using UTF-8)"
54521 else
54522 echo " (using wchar_t)"
54523 fi
54524 else
54525 echo
54526 fi
54527
54528 echo " What level of wxWidgets compatibility should be enabled?"
54529 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54530 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54531
54532 echo " Which libraries should wxWidgets use?"
54533 echo " jpeg ${wxUSE_LIBJPEG-none}"
54534 echo " png ${wxUSE_LIBPNG-none}"
54535 echo " regex ${wxUSE_REGEX}"
54536 echo " tiff ${wxUSE_LIBTIFF-none}"
54537 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54538 echo " xpm ${wxUSE_LIBXPM-none}"
54539 fi
54540 echo " zlib ${wxUSE_ZLIB}"
54541 echo " odbc ${wxUSE_ODBC}"
54542 echo " expat ${wxUSE_EXPAT}"
54543 echo " libmspack ${wxUSE_LIBMSPACK}"
54544 echo " sdl ${wxUSE_LIBSDL}"
54545
54546 echo ""
54547