]> git.saurik.com Git - wxWidgets.git/blob - configure
f1b12d521929ca23f89db4d712d56c01e07fa0d6
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47621 2007-07-21 13:09:57Z 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-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-regkey use wxRegKey class (Win32 only)
1852 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1853 --enable-wxdib use wxDIB class (Win32 only)
1854 --disable-largefile omit support for large files
1855 --disable-gtktest do not try to compile and run a test GTK+ program
1856 --disable-gtktest Do not try to compile and run a test GTK program
1857 --disable-sdltest Do not try to compile and run a test SDL program
1858 --enable-omf use OMF object format (OS/2)
1859 --disable-dependency-tracking
1860 don't use dependency tracking even if the compiler
1861 can
1862 --disable-precomp-headers
1863 don't use precompiled headers even if compiler can
1864
1865 Optional Packages:
1866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1868 --without-subdirs don't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1881 --with-x11 use X11
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gnomeprint don't use GNOME printing libraries
1888 --with-gnomevfs use GNOME VFS for associating MIME types
1889 --with-hildon use Hildon framework for Nokia 770
1890 --with-opengl use OpenGL (or Mesa)
1891 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1892 --with-sdl use SDL for audio on Unix
1893 --with-regex enable support for wxRegEx class
1894 --with-zlib use zlib for LZW compression
1895 --with-odbc use the IODBC and wxODBC classes
1896 --with-expat enable XML support using expat parser
1897 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1898 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1899 --with-x use the X Window System
1900 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1901 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1902 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1903 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1904 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1905
1906 Some influential environment variables:
1907 CC C compiler command
1908 CFLAGS C compiler flags
1909 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1910 nonstandard directory <lib dir>
1911 LIBS libraries to pass to the linker, e.g. -l<library>
1912 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1913 you have headers in a nonstandard directory <include dir>
1914 CPP C preprocessor
1915 CXX C++ compiler command
1916 CXXFLAGS C++ compiler flags
1917 PKG_CONFIG path to pkg-config utility
1918 DIRECTFB_CFLAGS
1919 C compiler flags for DIRECTFB, overriding pkg-config
1920 DIRECTFB_LIBS
1921 linker flags for DIRECTFB, overriding pkg-config
1922 XMKMF Path to xmkmf, Makefile generator for X Window System
1923 PANGOX_CFLAGS
1924 C compiler flags for PANGOX, overriding pkg-config
1925 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1926 PANGOFT2_CFLAGS
1927 C compiler flags for PANGOFT2, overriding pkg-config
1928 PANGOFT2_LIBS
1929 linker flags for PANGOFT2, overriding pkg-config
1930 PANGOXFT_CFLAGS
1931 C compiler flags for PANGOXFT, overriding pkg-config
1932 PANGOXFT_LIBS
1933 linker flags for PANGOXFT, overriding pkg-config
1934 LIBGNOMEPRINTUI_CFLAGS
1935 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1936 LIBGNOMEPRINTUI_LIBS
1937 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 GNOMEVFS_CFLAGS
1939 C compiler flags for GNOMEVFS, overriding pkg-config
1940 GNOMEVFS_LIBS
1941 linker flags for GNOMEVFS, overriding pkg-config
1942 HILDON_CFLAGS
1943 C compiler flags for HILDON, overriding pkg-config
1944 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1945 CAIRO_CFLAGS
1946 C compiler flags for CAIRO, overriding pkg-config
1947 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1948 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1949 GST_LIBS linker flags for GST, overriding pkg-config
1950
1951 Use these variables to override the choices made by `configure' or to help
1952 it to find libraries and programs with nonstandard names/locations.
1953
1954 Report bugs to <wx-dev@lists.wxwidgets.org>.
1955 _ACEOF
1956 ac_status=$?
1957 fi
1958
1959 if test "$ac_init_help" = "recursive"; then
1960 # If there are subdirs, report their specific --help.
1961 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1962 test -d "$ac_dir" || continue
1963 ac_builddir=.
1964
1965 case "$ac_dir" in
1966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1967 *)
1968 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1969 # A ".." for each directory in $ac_dir_suffix.
1970 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1971 case $ac_top_builddir_sub in
1972 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1973 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1974 esac ;;
1975 esac
1976 ac_abs_top_builddir=$ac_pwd
1977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1978 # for backward compatibility:
1979 ac_top_builddir=$ac_top_build_prefix
1980
1981 case $srcdir in
1982 .) # We are building in place.
1983 ac_srcdir=.
1984 ac_top_srcdir=$ac_top_builddir_sub
1985 ac_abs_top_srcdir=$ac_pwd ;;
1986 [\\/]* | ?:[\\/]* ) # Absolute name.
1987 ac_srcdir=$srcdir$ac_dir_suffix;
1988 ac_top_srcdir=$srcdir
1989 ac_abs_top_srcdir=$srcdir ;;
1990 *) # Relative name.
1991 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1992 ac_top_srcdir=$ac_top_build_prefix$srcdir
1993 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1994 esac
1995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1996
1997 cd "$ac_dir" || { ac_status=$?; continue; }
1998 # Check for guested configure.
1999 if test -f "$ac_srcdir/configure.gnu"; then
2000 echo &&
2001 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2002 elif test -f "$ac_srcdir/configure"; then
2003 echo &&
2004 $SHELL "$ac_srcdir/configure" --help=recursive
2005 else
2006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2007 fi || ac_status=$?
2008 cd "$ac_pwd" || { ac_status=$?; break; }
2009 done
2010 fi
2011
2012 test -n "$ac_init_help" && exit $ac_status
2013 if $ac_init_version; then
2014 cat <<\_ACEOF
2015 wxWidgets configure 2.9.0
2016 generated by GNU Autoconf 2.61
2017
2018 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2019 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2020 This configure script is free software; the Free Software Foundation
2021 gives unlimited permission to copy, distribute and modify it.
2022 _ACEOF
2023 exit
2024 fi
2025 cat >config.log <<_ACEOF
2026 This file contains any messages produced by compilers while
2027 running configure, to aid debugging if configure makes a mistake.
2028
2029 It was created by wxWidgets $as_me 2.9.0, which was
2030 generated by GNU Autoconf 2.61. Invocation command line was
2031
2032 $ $0 $@
2033
2034 _ACEOF
2035 exec 5>>config.log
2036 {
2037 cat <<_ASUNAME
2038 ## --------- ##
2039 ## Platform. ##
2040 ## --------- ##
2041
2042 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2043 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2044 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2045 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2046 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2047
2048 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2049 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2050
2051 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2052 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2053 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2054 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2055 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2056 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2057 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2058
2059 _ASUNAME
2060
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 for as_dir in $PATH
2063 do
2064 IFS=$as_save_IFS
2065 test -z "$as_dir" && as_dir=.
2066 echo "PATH: $as_dir"
2067 done
2068 IFS=$as_save_IFS
2069
2070 } >&5
2071
2072 cat >&5 <<_ACEOF
2073
2074
2075 ## ----------- ##
2076 ## Core tests. ##
2077 ## ----------- ##
2078
2079 _ACEOF
2080
2081
2082 # Keep a trace of the command line.
2083 # Strip out --no-create and --no-recursion so they do not pile up.
2084 # Strip out --silent because we don't want to record it for future runs.
2085 # Also quote any args containing shell meta-characters.
2086 # Make two passes to allow for proper duplicate-argument suppression.
2087 ac_configure_args=
2088 ac_configure_args0=
2089 ac_configure_args1=
2090 ac_must_keep_next=false
2091 for ac_pass in 1 2
2092 do
2093 for ac_arg
2094 do
2095 case $ac_arg in
2096 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2099 continue ;;
2100 *\'*)
2101 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 esac
2103 case $ac_pass in
2104 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2105 2)
2106 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2107 if test $ac_must_keep_next = true; then
2108 ac_must_keep_next=false # Got value, back to normal.
2109 else
2110 case $ac_arg in
2111 *=* | --config-cache | -C | -disable-* | --disable-* \
2112 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2113 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2114 | -with-* | --with-* | -without-* | --without-* | --x)
2115 case "$ac_configure_args0 " in
2116 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2117 esac
2118 ;;
2119 -* ) ac_must_keep_next=true ;;
2120 esac
2121 fi
2122 ac_configure_args="$ac_configure_args '$ac_arg'"
2123 ;;
2124 esac
2125 done
2126 done
2127 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2128 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2129
2130 # When interrupted or exit'd, cleanup temporary files, and complete
2131 # config.log. We remove comments because anyway the quotes in there
2132 # would cause problems or look ugly.
2133 # WARNING: Use '\'' to represent an apostrophe within the trap.
2134 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2135 trap 'exit_status=$?
2136 # Save into config.log some information that might help in debugging.
2137 {
2138 echo
2139
2140 cat <<\_ASBOX
2141 ## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##
2144 _ASBOX
2145 echo
2146 # The following way of writing the cache mishandles newlines in values,
2147 (
2148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2149 eval ac_val=\$$ac_var
2150 case $ac_val in #(
2151 *${as_nl}*)
2152 case $ac_var in #(
2153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2155 esac
2156 case $ac_var in #(
2157 _ | IFS | as_nl) ;; #(
2158 *) $as_unset $ac_var ;;
2159 esac ;;
2160 esac
2161 done
2162 (set) 2>&1 |
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2165 sed -n \
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2168 ;; #(
2169 *)
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2171 ;;
2172 esac |
2173 sort
2174 )
2175 echo
2176
2177 cat <<\_ASBOX
2178 ## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##
2181 _ASBOX
2182 echo
2183 for ac_var in $ac_subst_vars
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192
2193 if test -n "$ac_subst_files"; then
2194 cat <<\_ASBOX
2195 ## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##
2198 _ASBOX
2199 echo
2200 for ac_var in $ac_subst_files
2201 do
2202 eval ac_val=\$$ac_var
2203 case $ac_val in
2204 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 esac
2206 echo "$ac_var='\''$ac_val'\''"
2207 done | sort
2208 echo
2209 fi
2210
2211 if test -s confdefs.h; then
2212 cat <<\_ASBOX
2213 ## ----------- ##
2214 ## confdefs.h. ##
2215 ## ----------- ##
2216 _ASBOX
2217 echo
2218 cat confdefs.h
2219 echo
2220 fi
2221 test "$ac_signal" != 0 &&
2222 echo "$as_me: caught signal $ac_signal"
2223 echo "$as_me: exit $exit_status"
2224 } >&5
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2227 exit $exit_status
2228 ' 0
2229 for ac_signal in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2231 done
2232 ac_signal=0
2233
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest* confdefs.h
2236
2237 # Predefined preprocessor variables.
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2246 _ACEOF
2247
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2251 _ACEOF
2252
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_STRING "$PACKAGE_STRING"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 _ACEOF
2262
2263
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 set x "$CONFIG_SITE"
2268 elif test "x$prefix" != xNONE; then
2269 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2270 else
2271 set x "$ac_default_prefix/share/config.site" \
2272 "$ac_default_prefix/etc/config.site"
2273 fi
2274 shift
2275 for ac_site_file
2276 do
2277 if test -r "$ac_site_file"; then
2278 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2279 echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2281 . "$ac_site_file"
2282 fi
2283 done
2284
2285 if test -r "$cache_file"; then
2286 # Some versions of bash will fail to source /dev/null (special
2287 # files actually), so we avoid doing that.
2288 if test -f "$cache_file"; then
2289 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2290 echo "$as_me: loading cache $cache_file" >&6;}
2291 case $cache_file in
2292 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2293 *) . "./$cache_file";;
2294 esac
2295 fi
2296 else
2297 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2298 echo "$as_me: creating cache $cache_file" >&6;}
2299 >$cache_file
2300 fi
2301
2302 # Check that the precious variables saved in the cache have kept the same
2303 # value.
2304 ac_cache_corrupted=false
2305 for ac_var in $ac_precious_vars; do
2306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2307 eval ac_new_set=\$ac_env_${ac_var}_set
2308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2309 eval ac_new_val=\$ac_env_${ac_var}_value
2310 case $ac_old_set,$ac_new_set in
2311 set,)
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2315 ,set)
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2319 ,);;
2320 *)
2321 if test "x$ac_old_val" != "x$ac_new_val"; then
2322 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2323 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2325 echo "$as_me: former value: $ac_old_val" >&2;}
2326 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2327 echo "$as_me: current value: $ac_new_val" >&2;}
2328 ac_cache_corrupted=:
2329 fi;;
2330 esac
2331 # Pass precious variables to config.status.
2332 if test "$ac_new_set" = set; then
2333 case $ac_new_val in
2334 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335 *) ac_arg=$ac_var=$ac_new_val ;;
2336 esac
2337 case " $ac_configure_args " in
2338 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2339 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2340 esac
2341 fi
2342 done
2343 if $ac_cache_corrupted; then
2344 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2345 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2347 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2348 { (exit 1); exit 1; }; }
2349 fi
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375 ac_ext=c
2376 ac_cpp='$CPP $CPPFLAGS'
2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2380
2381
2382
2383
2384
2385 ac_aux_dir=
2386 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387 if test -f "$ac_dir/install-sh"; then
2388 ac_aux_dir=$ac_dir
2389 ac_install_sh="$ac_aux_dir/install-sh -c"
2390 break
2391 elif test -f "$ac_dir/install.sh"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/install.sh -c"
2394 break
2395 elif test -f "$ac_dir/shtool"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/shtool install -c"
2398 break
2399 fi
2400 done
2401 if test -z "$ac_aux_dir"; then
2402 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2403 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2404 { (exit 1); exit 1; }; }
2405 fi
2406
2407 # These three variables are undocumented and unsupported,
2408 # and are intended to be withdrawn in a future Autoconf release.
2409 # They can cause serious problems if a builder's source tree is in a directory
2410 # whose full name contains unusual characters.
2411 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414
2415
2416 # Make sure we can run config.sub.
2417 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2418 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2419 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2420 { (exit 1); exit 1; }; }
2421
2422 { echo "$as_me:$LINENO: checking build system type" >&5
2423 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_build+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 else
2427 ac_build_alias=$build_alias
2428 test "x$ac_build_alias" = x &&
2429 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2430 test "x$ac_build_alias" = x &&
2431 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2432 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2433 { (exit 1); exit 1; }; }
2434 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2435 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2436 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2437 { (exit 1); exit 1; }; }
2438
2439 fi
2440 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2441 echo "${ECHO_T}$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2443 *-*-*) ;;
2444 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2445 echo "$as_me: error: invalid value of canonical build" >&2;}
2446 { (exit 1); exit 1; }; };;
2447 esac
2448 build=$ac_cv_build
2449 ac_save_IFS=$IFS; IFS='-'
2450 set x $ac_cv_build
2451 shift
2452 build_cpu=$1
2453 build_vendor=$2
2454 shift; shift
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2457 build_os=$*
2458 IFS=$ac_save_IFS
2459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2460
2461
2462 { echo "$as_me:$LINENO: checking host system type" >&5
2463 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_host+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 if test "x$host_alias" = x; then
2468 ac_cv_host=$ac_cv_build
2469 else
2470 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2472 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2473 { (exit 1); exit 1; }; }
2474 fi
2475
2476 fi
2477 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2478 echo "${ECHO_T}$ac_cv_host" >&6; }
2479 case $ac_cv_host in
2480 *-*-*) ;;
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2482 echo "$as_me: error: invalid value of canonical host" >&2;}
2483 { (exit 1); exit 1; }; };;
2484 esac
2485 host=$ac_cv_host
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_host
2488 shift
2489 host_cpu=$1
2490 host_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 host_os=$*
2495 IFS=$ac_save_IFS
2496 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { echo "$as_me:$LINENO: checking target system type" >&5
2500 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_target+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test "x$target_alias" = x; then
2505 ac_cv_target=$ac_cv_host
2506 else
2507 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2511 fi
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2515 echo "${ECHO_T}$ac_cv_target" >&6; }
2516 case $ac_cv_target in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2519 echo "$as_me: error: invalid value of canonical target" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 target=$ac_cv_target
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_target
2525 shift
2526 target_cpu=$1
2527 target_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 target_os=$*
2532 IFS=$ac_save_IFS
2533 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2534
2535
2536 # The aliases save the names the user supplied, while $host etc.
2537 # will get canonicalized.
2538 test -n "$target_alias" &&
2539 test "$program_prefix$program_suffix$program_transform_name" = \
2540 NONENONEs,x,x, &&
2541 program_prefix=${target_alias}-
2542
2543
2544
2545 wx_major_version_number=2
2546 wx_minor_version_number=9
2547 wx_release_number=0
2548 wx_subrelease_number=0
2549
2550 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2551 WX_VERSION=$WX_RELEASE.$wx_release_number
2552 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2553
2554 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2555
2556
2557 wx_top_builddir="`pwd`"
2558
2559
2560
2561
2562 USE_UNIX=1
2563 USE_OS2=0
2564 USE_WIN32=0
2565 USE_DOS=0
2566 USE_BEOS=0
2567 USE_MAC=0
2568
2569 USE_AIX=
2570 USE_BSD= USE_DARWIN= USE_FREEBSD=
2571 USE_GNU= USE_HPUX=
2572 USE_LINUX=
2573 USE_NETBSD=
2574 USE_OPENBSD=
2575 USE_OSF= USE_SGI=
2576 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2577 USE_ULTRIX=
2578 USE_UNIXWARE=
2579
2580 USE_ALPHA=
2581
2582 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2583
2584 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2585
2586 DEFAULT_wxUSE_COCOA=0
2587 DEFAULT_wxUSE_GTK=0
2588 DEFAULT_wxUSE_MAC=0
2589 DEFAULT_wxUSE_MGL=0
2590 DEFAULT_wxUSE_MICROWIN=0
2591 DEFAULT_wxUSE_MOTIF=0
2592 DEFAULT_wxUSE_MSW=0
2593 DEFAULT_wxUSE_PM=0
2594 DEFAULT_wxUSE_X11=0
2595 DEFAULT_wxUSE_DFB=0
2596
2597 DEFAULT_DEFAULT_wxUSE_COCOA=0
2598 DEFAULT_DEFAULT_wxUSE_GTK=0
2599 DEFAULT_DEFAULT_wxUSE_MAC=0
2600 DEFAULT_DEFAULT_wxUSE_MGL=0
2601 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2603 DEFAULT_DEFAULT_wxUSE_MSW=0
2604 DEFAULT_DEFAULT_wxUSE_PM=0
2605 DEFAULT_DEFAULT_wxUSE_X11=0
2606 DEFAULT_DEFAULT_wxUSE_DFB=0
2607
2608 PROGRAM_EXT=
2609 SO_SUFFIX=so
2610 SAMPLES_RPATH_FLAG=
2611 SAMPLES_RPATH_POSTLINK=
2612
2613 DEFAULT_STD_FLAG=yes
2614
2615 case "${host}" in
2616 *-hp-hpux* )
2617 USE_HPUX=1
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2619 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2620 SO_SUFFIX=sl
2621 cat >>confdefs.h <<\_ACEOF
2622 #define __HPUX__ 1
2623 _ACEOF
2624
2625
2626 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2627 ;;
2628 *-*-linux* )
2629 USE_LINUX=1
2630 cat >>confdefs.h <<\_ACEOF
2631 #define __LINUX__ 1
2632 _ACEOF
2633
2634 TMP=`uname -m`
2635 if test "x$TMP" = "xalpha"; then
2636 USE_ALPHA=1
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __ALPHA__ 1
2639 _ACEOF
2640
2641 fi
2642 DEFAULT_DEFAULT_wxUSE_GTK=1
2643 ;;
2644 *-*-gnu* | *-*-k*bsd*-gnu )
2645 USE_GNU=1
2646 TMP=`uname -m`
2647 if test "x$TMP" = "xalpha"; then
2648 USE_ALPHA=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __ALPHA__ 1
2651 _ACEOF
2652
2653 fi
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 ;;
2656 *-*-irix5* | *-*-irix6* )
2657 USE_SGI=1
2658 USE_SVR4=1
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SGI__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 ;;
2669 *-*-solaris2* )
2670 USE_SUN=1
2671 USE_SOLARIS=1
2672 USE_SVR4=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SUN__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SOLARIS__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SVR4__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2687 ;;
2688 *-*-sunos4* )
2689 USE_SUN=1
2690 USE_SUNOS=1
2691 USE_BSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SUN__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SUNOS__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __BSD__ 1
2702 _ACEOF
2703
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2705 ;;
2706 *-*-freebsd*)
2707 USE_BSD=1
2708 USE_FREEBSD=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __FREEBSD__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __BSD__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 ;;
2719 *-*-openbsd*|*-*-mirbsd*)
2720 USE_BSD=1
2721 USE_OPENBSD=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __OPENBSD__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __BSD__ 1
2728 _ACEOF
2729
2730 DEFAULT_DEFAULT_wxUSE_GTK=1
2731 ;;
2732 *-*-netbsd*)
2733 USE_BSD=1
2734 USE_NETBSD=1
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __NETBSD__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __BSD__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745
2746 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2747 ;;
2748 *-*-osf* )
2749 USE_ALPHA=1
2750 USE_OSF=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __ALPHA__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __OSF__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2761 ;;
2762 *-*-dgux5* )
2763 USE_ALPHA=1
2764 USE_SVR4=1
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __ALPHA__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SVR4__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 ;;
2775 *-*-sysv5* )
2776 USE_SYSV=1
2777 USE_SVR4=1
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SYSV__ 1
2780 _ACEOF
2781
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SVR4__ 1
2784 _ACEOF
2785
2786 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 ;;
2788 *-*-aix* )
2789 USE_AIX=1
2790 USE_SYSV=1
2791 USE_SVR4=1
2792 SO_SUFFIX=a
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __AIX__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SYSV__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SVR4__ 1
2803 _ACEOF
2804
2805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806 ;;
2807
2808 *-*-*UnixWare*)
2809 USE_SYSV=1
2810 USE_SVR4=1
2811 USE_UNIXWARE=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __UNIXWARE__ 1
2814 _ACEOF
2815
2816 ;;
2817
2818 *-*-cygwin* | *-*-mingw32* )
2819 SO_SUFFIX=dll
2820 PROGRAM_EXT=".exe"
2821 DEFAULT_DEFAULT_wxUSE_MSW=1
2822 ;;
2823
2824 *-pc-msdosdjgpp )
2825 USE_UNIX=0
2826 USE_DOS=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __DOS__ 1
2829 _ACEOF
2830
2831 PROGRAM_EXT=".exe"
2832 DEFAULT_DEFAULT_wxUSE_MGL=1
2833 ;;
2834
2835 *-pc-os2_emx | *-pc-os2-emx )
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __EMX__ 1
2838 _ACEOF
2839
2840 USE_OS2=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __OS2__ 1
2843 _ACEOF
2844
2845 PROGRAM_EXT=".exe"
2846 DEFAULT_DEFAULT_wxUSE_PM=1
2847 CXX=gcc
2848 LDFLAGS="$LDFLAGS -Zcrtdll"
2849 ac_executable_extensions=".exe"
2850 export ac_executable_extensions
2851 ac_save_IFS="$IFS"
2852 IFS='\\'
2853 ac_TEMP_PATH=
2854 for ac_dir in $PATH; do
2855 IFS=$ac_save_IFS
2856 if test -z "$ac_TEMP_PATH"; then
2857 ac_TEMP_PATH="$ac_dir"
2858 else
2859 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2860 fi
2861 done
2862 export PATH="$ac_TEMP_PATH"
2863 unset ac_TEMP_PATH
2864 DEFAULT_STD_FLAG=no
2865 ;;
2866
2867 *-*-darwin* )
2868 USE_BSD=1
2869 USE_DARWIN=1
2870 SO_SUFFIX=dylib
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __BSD__ 1
2873 _ACEOF
2874
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __DARWIN__ 1
2877 _ACEOF
2878
2879 cat >>confdefs.h <<\_ACEOF
2880 #define TARGET_CARBON 1
2881 _ACEOF
2882
2883 DEFAULT_DEFAULT_wxUSE_MAC=1
2884 DEFAULT_STD_FLAG=no
2885 ;;
2886 powerpc-apple-macos* )
2887 USE_UNIX=0
2888 ac_cv_c_bigendian=yes
2889 SO_SUFFIX=shlib
2890 DEFAULT_DEFAULT_wxUSE_MAC=1
2891 DEFAULT_STD_FLAG=no
2892 ;;
2893
2894 *-*-beos* )
2895 USE_BEOS=1
2896 cat >>confdefs.h <<\_ACEOF
2897 #define __BEOS__ 1
2898 _ACEOF
2899
2900 ;;
2901
2902 *)
2903 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2904 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2905 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2906 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2907
2908 DEFAULT_DEFAULT_wxUSE_X11=1
2909 DEFAULT_wxUSE_SHARED=no
2910 esac
2911
2912
2913
2914
2915 wx_arg_cache_file="configarg.cache"
2916 echo "loading argument cache $wx_arg_cache_file"
2917 rm -f ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}
2920
2921
2922 DEFAULT_wxUSE_ALL_FEATURES=yes
2923
2924 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2926
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS=no
2929 DEFAULT_wxUSE_LIBHILDON=no
2930 DEFAULT_wxUSE_LIBMSPACK=no
2931 DEFAULT_wxUSE_LIBSDL=no
2932 DEFAULT_wxUSE_ODBC=no
2933 DEFAULT_wxUSE_OPENGL=no
2934
2935 DEFAULT_wxUSE_ACCESSIBILITY=no
2936 DEFAULT_wxUSE_DATAVIEWCTRL=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_MEDIACTRL=no
2939 DEFAULT_wxUSE_TAB_DIALOG=no
2940
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2943
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2945
2946 DEFAULT_wxUSE_GTK2=yes
2947
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2949
2950
2951 for toolkit in `echo $ALL_TOOLKITS`; do
2952 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 has_toolkit_in_cache=1
2955 eval "DEFAULT_$LINE"
2956 eval "CACHE_$toolkit=1"
2957
2958 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 eval "DEFAULT_$LINE"
2961 fi
2962 fi
2963 done
2964
2965
2966
2967
2968
2969 enablestring=disable
2970 defaultval=
2971 if test -z "$defaultval"; then
2972 if test x"$enablestring" = xdisable; then
2973 defaultval=yes
2974 else
2975 defaultval=no
2976 fi
2977 fi
2978
2979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2980 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2981 # Check whether --enable-gui was given.
2982 if test "${enable_gui+set}" = set; then
2983 enableval=$enable_gui;
2984 if test "$enableval" = yes; then
2985 wx_cv_use_gui='wxUSE_GUI=yes'
2986 else
2987 wx_cv_use_gui='wxUSE_GUI=no'
2988 fi
2989 cache=yes
2990
2991 else
2992
2993 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 fi
2997
2998 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2999
3000 fi
3001
3002
3003 eval "$wx_cv_use_gui"
3004 if test "x$cache" = xyes; then
3005 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3006 fi
3007
3008 if test x"$enablestring" = xdisable; then
3009 if test $wxUSE_GUI = yes; then
3010 result=no
3011 else
3012 result=yes
3013 fi
3014 else
3015 result=$wxUSE_GUI
3016 fi
3017
3018 { echo "$as_me:$LINENO: result: $result" >&5
3019 echo "${ECHO_T}$result" >&6; }
3020
3021
3022 enablestring=
3023 defaultval=
3024 if test -z "$defaultval"; then
3025 if test x"$enablestring" = xdisable; then
3026 defaultval=yes
3027 else
3028 defaultval=no
3029 fi
3030 fi
3031
3032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3033 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3034 # Check whether --enable-monolithic was given.
3035 if test "${enable_monolithic+set}" = set; then
3036 enableval=$enable_monolithic;
3037 if test "$enableval" = yes; then
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3039 else
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3041 fi
3042 cache=yes
3043
3044 else
3045
3046 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3049 fi
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057 if test "x$cache" = xyes; then
3058 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3059 fi
3060
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_MONOLITHIC = yes; then
3063 result=no
3064 else
3065 result=yes
3066 fi
3067 else
3068 result=$wxUSE_MONOLITHIC
3069 fi
3070
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3073
3074
3075 enablestring=
3076 defaultval=
3077 if test -z "$defaultval"; then
3078 if test x"$enablestring" = xdisable; then
3079 defaultval=yes
3080 else
3081 defaultval=no
3082 fi
3083 fi
3084
3085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 else
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3094 fi
3095 cache=yes
3096
3097 else
3098
3099 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 fi
3103
3104 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3105
3106 fi
3107
3108
3109 eval "$wx_cv_use_plugins"
3110 if test "x$cache" = xyes; then
3111 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test x"$enablestring" = xdisable; then
3115 if test $wxUSE_PLUGINS = yes; then
3116 result=no
3117 else
3118 result=yes
3119 fi
3120 else
3121 result=$wxUSE_PLUGINS
3122 fi
3123
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3126
3127
3128 withstring=without
3129 defaultval=$wxUSE_ALL_FEATURES
3130 if test -z "$defaultval"; then
3131 if test x"$withstring" = xwithout; then
3132 defaultval=yes
3133 else
3134 defaultval=no
3135 fi
3136 fi
3137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3138 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3139
3140 # Check whether --with-subdirs was given.
3141 if test "${with_subdirs+set}" = set; then
3142 withval=$with_subdirs;
3143 if test "$withval" = yes; then
3144 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3145 else
3146 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3147 fi
3148 cache=yes
3149
3150 else
3151
3152 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x ; then
3154 eval "DEFAULT_$LINE"
3155 fi
3156
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_subdirs"
3163 if test "x$cache" != xyes; then
3164 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test x"$withstring" = xwithout; then
3168 if test $wxWITH_SUBDIRS = yes; then
3169 result=no
3170 else
3171 result=yes
3172 fi
3173 else
3174 result=$wxWITH_SUBDIRS
3175 fi
3176
3177 { echo "$as_me:$LINENO: result: $result" >&5
3178 echo "${ECHO_T}$result" >&6; }
3179
3180
3181 # Check whether --with-flavour was given.
3182 if test "${with_flavour+set}" = set; then
3183 withval=$with_flavour; WX_FLAVOUR="$withval"
3184 fi
3185
3186
3187 enablestring=
3188 defaultval=
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3191 defaultval=yes
3192 else
3193 defaultval=no
3194 fi
3195 fi
3196
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3199 # Check whether --enable-official_build was given.
3200 if test "${enable_official_build+set}" = set; then
3201 enableval=$enable_official_build;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3204 else
3205 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3206 fi
3207 cache=yes
3208
3209 else
3210
3211 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x ; then
3213 eval "DEFAULT_$LINE"
3214 fi
3215
3216 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3217
3218 fi
3219
3220
3221 eval "$wx_cv_use_official_build"
3222 if test "x$cache" = xyes; then
3223 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test x"$enablestring" = xdisable; then
3227 if test $wxUSE_OFFICIAL_BUILD = yes; then
3228 result=no
3229 else
3230 result=yes
3231 fi
3232 else
3233 result=$wxUSE_OFFICIAL_BUILD
3234 fi
3235
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3238
3239 # Check whether --enable-vendor was given.
3240 if test "${enable_vendor+set}" = set; then
3241 enableval=$enable_vendor; VENDOR="$enableval"
3242 fi
3243
3244 if test "x$VENDOR" = "x"; then
3245 VENDOR="custom"
3246 fi
3247
3248
3249 enablestring=disable
3250 defaultval=
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3253 defaultval=yes
3254 else
3255 defaultval=no
3256 fi
3257 fi
3258
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3261 # Check whether --enable-all-features was given.
3262 if test "${enable_all_features+set}" = set; then
3263 enableval=$enable_all_features;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 else
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3268 fi
3269 cache=yes
3270
3271 else
3272
3273 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3276 fi
3277
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3279
3280 fi
3281
3282
3283 eval "$wx_cv_use_all_features"
3284 if test "x$cache" = xyes; then
3285 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3286 fi
3287
3288 if test x"$enablestring" = xdisable; then
3289 if test $wxUSE_ALL_FEATURES = yes; then
3290 result=no
3291 else
3292 result=yes
3293 fi
3294 else
3295 result=$wxUSE_ALL_FEATURES
3296 fi
3297
3298 { echo "$as_me:$LINENO: result: $result" >&5
3299 echo "${ECHO_T}$result" >&6; }
3300
3301
3302
3303 if test "$wxUSE_GUI" = "yes"; then
3304
3305
3306 enablestring=
3307 defaultval=
3308 if test -z "$defaultval"; then
3309 if test x"$enablestring" = xdisable; then
3310 defaultval=yes
3311 else
3312 defaultval=no
3313 fi
3314 fi
3315
3316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3317 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3318 # Check whether --enable-universal was given.
3319 if test "${enable_universal+set}" = set; then
3320 enableval=$enable_universal;
3321 if test "$enableval" = yes; then
3322 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3323 else
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3325 fi
3326 cache=yes
3327
3328 else
3329
3330 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3333 fi
3334
3335 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3336
3337 fi
3338
3339
3340 eval "$wx_cv_use_universal"
3341 if test "x$cache" = xyes; then
3342 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3343 fi
3344
3345 if test x"$enablestring" = xdisable; then
3346 if test $wxUSE_UNIVERSAL = yes; then
3347 result=no
3348 else
3349 result=yes
3350 fi
3351 else
3352 result=$wxUSE_UNIVERSAL
3353 fi
3354
3355 { echo "$as_me:$LINENO: result: $result" >&5
3356 echo "${ECHO_T}$result" >&6; }
3357
3358 if test "$wxUSE_UNIVERSAL" = "yes"; then
3359
3360 # Check whether --with-themes was given.
3361 if test "${with_themes+set}" = set; then
3362 withval=$with_themes; wxUNIV_THEMES="$withval"
3363 fi
3364
3365 fi
3366
3367
3368 # Check whether --with-gtk was given.
3369 if test "${with_gtk+set}" = set; then
3370 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-motif was given.
3375 if test "${with_motif+set}" = set; then
3376 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-mac was given.
3381 if test "${with_mac+set}" = set; then
3382 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-cocoa was given.
3387 if test "${with_cocoa+set}" = set; then
3388 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-wine was given.
3393 if test "${with_wine+set}" = set; then
3394 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3395 fi
3396
3397
3398 # Check whether --with-msw was given.
3399 if test "${with_msw+set}" = set; then
3400 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3401 fi
3402
3403
3404 # Check whether --with-pm was given.
3405 if test "${with_pm+set}" = set; then
3406 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-mgl was given.
3411 if test "${with_mgl+set}" = set; then
3412 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3413 fi
3414
3415
3416 # Check whether --with-directfb was given.
3417 if test "${with_directfb+set}" = set; then
3418 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3419 fi
3420
3421
3422 # Check whether --with-microwin was given.
3423 if test "${with_microwin+set}" = set; then
3424 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-x11 was given.
3429 if test "${with_x11+set}" = set; then
3430 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 enablestring=
3435 defaultval=
3436 if test -z "$defaultval"; then
3437 if test x"$enablestring" = xdisable; then
3438 defaultval=yes
3439 else
3440 defaultval=no
3441 fi
3442 fi
3443
3444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3446 # Check whether --enable-nanox was given.
3447 if test "${enable_nanox+set}" = set; then
3448 enableval=$enable_nanox;
3449 if test "$enableval" = yes; then
3450 wx_cv_use_nanox='wxUSE_NANOX=yes'
3451 else
3452 wx_cv_use_nanox='wxUSE_NANOX=no'
3453 fi
3454 cache=yes
3455
3456 else
3457
3458 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3461 fi
3462
3463 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3464
3465 fi
3466
3467
3468 eval "$wx_cv_use_nanox"
3469 if test "x$cache" = xyes; then
3470 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3471 fi
3472
3473 if test x"$enablestring" = xdisable; then
3474 if test $wxUSE_NANOX = yes; then
3475 result=no
3476 else
3477 result=yes
3478 fi
3479 else
3480 result=$wxUSE_NANOX
3481 fi
3482
3483 { echo "$as_me:$LINENO: result: $result" >&5
3484 echo "${ECHO_T}$result" >&6; }
3485
3486
3487 # Check whether --enable-gtk2 was given.
3488 if test "${enable_gtk2+set}" = set; then
3489 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3490 fi
3491
3492
3493 enablestring=
3494 defaultval=
3495 if test -z "$defaultval"; then
3496 if test x"$enablestring" = xdisable; then
3497 defaultval=yes
3498 else
3499 defaultval=no
3500 fi
3501 fi
3502
3503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 else
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3512 fi
3513 cache=yes
3514
3515 else
3516
3517 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x ; then
3519 eval "DEFAULT_$LINE"
3520 fi
3521
3522 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3523
3524 fi
3525
3526
3527 eval "$wx_cv_use_gpe"
3528 if test "x$cache" = xyes; then
3529 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3530 fi
3531
3532 if test x"$enablestring" = xdisable; then
3533 if test $wxUSE_GPE = yes; then
3534 result=no
3535 else
3536 result=yes
3537 fi
3538 else
3539 result=$wxUSE_GPE
3540 fi
3541
3542 { echo "$as_me:$LINENO: result: $result" >&5
3543 echo "${ECHO_T}$result" >&6; }
3544
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567 cache=yes
3568
3569 else
3570
3571 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x ; then
3573 eval "DEFAULT_$LINE"
3574 fi
3575
3576 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3577
3578 fi
3579
3580
3581 eval "$wx_cv_use_libpng"
3582 if test "x$cache" = xyes; then
3583 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3607
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3619 else
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3623 fi
3624 cache=yes
3625
3626 else
3627
3628 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3631 fi
3632
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3634
3635 fi
3636
3637
3638 eval "$wx_cv_use_libjpeg"
3639 if test "x$cache" = xyes; then
3640 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3641 fi
3642
3643 if test "$wxUSE_LIBJPEG" = yes; then
3644 { echo "$as_me:$LINENO: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = no; then
3647 { echo "$as_me:$LINENO: result: no" >&5
3648 echo "${ECHO_T}no" >&6; }
3649 elif test "$wxUSE_LIBJPEG" = sys; then
3650 { echo "$as_me:$LINENO: result: system version" >&5
3651 echo "${ECHO_T}system version" >&6; }
3652 elif test "$wxUSE_LIBJPEG" = builtin; then
3653 { echo "$as_me:$LINENO: result: builtin version" >&5
3654 echo "${ECHO_T}builtin version" >&6; }
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660
3661
3662 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3663 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3664
3665 # Check whether --with-libtiff was given.
3666 if test "${with_libtiff+set}" = set; then
3667 withval=$with_libtiff;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3670 elif test "$withval" = no; then
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3672 elif test "$withval" = sys; then
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3676 else
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3680 fi
3681 cache=yes
3682
3683 else
3684
3685 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x ; then
3687 eval "DEFAULT_$LINE"
3688 fi
3689
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3691
3692 fi
3693
3694
3695 eval "$wx_cv_use_libtiff"
3696 if test "x$cache" = xyes; then
3697 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_LIBTIFF" = yes; then
3701 { echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6; }
3703 elif test "$wxUSE_LIBTIFF" = no; then
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3706 elif test "$wxUSE_LIBTIFF" = sys; then
3707 { echo "$as_me:$LINENO: result: system version" >&5
3708 echo "${ECHO_T}system version" >&6; }
3709 elif test "$wxUSE_LIBTIFF" = builtin; then
3710 { echo "$as_me:$LINENO: result: builtin version" >&5
3711 echo "${ECHO_T}builtin version" >&6; }
3712 else
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3716 fi
3717
3718
3719 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3720 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3721
3722 # Check whether --with-libxpm was given.
3723 if test "${with_libxpm+set}" = set; then
3724 withval=$with_libxpm;
3725 if test "$withval" = yes; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3727 elif test "$withval" = no; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3729 elif test "$withval" = sys; then
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3731 elif test "$withval" = builtin; then
3732 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738 cache=yes
3739
3740 else
3741
3742 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 fi
3746
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3748
3749 fi
3750
3751
3752 eval "$wx_cv_use_libxpm"
3753 if test "x$cache" = xyes; then
3754 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3755 fi
3756
3757 if test "$wxUSE_LIBXPM" = yes; then
3758 { echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6; }
3760 elif test "$wxUSE_LIBXPM" = no; then
3761 { echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6; }
3763 elif test "$wxUSE_LIBXPM" = sys; then
3764 { echo "$as_me:$LINENO: result: system version" >&5
3765 echo "${ECHO_T}system version" >&6; }
3766 elif test "$wxUSE_LIBXPM" = builtin; then
3767 { echo "$as_me:$LINENO: result: builtin version" >&5
3768 echo "${ECHO_T}builtin version" >&6; }
3769 else
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3773 fi
3774
3775
3776 withstring=
3777 defaultval=$wxUSE_ALL_FEATURES
3778 if test -z "$defaultval"; then
3779 if test x"$withstring" = xwithout; then
3780 defaultval=yes
3781 else
3782 defaultval=no
3783 fi
3784 fi
3785 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3786 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3787
3788 # Check whether --with-libmspack was given.
3789 if test "${with_libmspack+set}" = set; then
3790 withval=$with_libmspack;
3791 if test "$withval" = yes; then
3792 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3793 else
3794 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3795 fi
3796 cache=yes
3797
3798 else
3799
3800 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3803 fi
3804
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3806
3807 fi
3808
3809
3810 eval "$wx_cv_use_libmspack"
3811 if test "x$cache" != xyes; then
3812 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3813 fi
3814
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3817 result=no
3818 else
3819 result=yes
3820 fi
3821 else
3822 result=$wxUSE_LIBMSPACK
3823 fi
3824
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3827
3828
3829 withstring=without
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3833 defaultval=yes
3834 else
3835 defaultval=no
3836 fi
3837 fi
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3840
3841 # Check whether --with-gnomeprint was given.
3842 if test "${with_gnomeprint+set}" = set; then
3843 withval=$with_gnomeprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3846 else
3847 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3848 fi
3849 cache=yes
3850
3851 else
3852
3853 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x ; then
3855 eval "DEFAULT_$LINE"
3856 fi
3857
3858 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3859
3860 fi
3861
3862
3863 eval "$wx_cv_use_gnomeprint"
3864 if test "x$cache" != xyes; then
3865 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test x"$withstring" = xwithout; then
3869 if test $wxUSE_LIBGNOMEPRINT = yes; then
3870 result=no
3871 else
3872 result=yes
3873 fi
3874 else
3875 result=$wxUSE_LIBGNOMEPRINT
3876 fi
3877
3878 { echo "$as_me:$LINENO: result: $result" >&5
3879 echo "${ECHO_T}$result" >&6; }
3880
3881
3882 withstring=
3883 defaultval=$wxUSE_ALL_FEATURES
3884 if test -z "$defaultval"; then
3885 if test x"$withstring" = xwithout; then
3886 defaultval=yes
3887 else
3888 defaultval=no
3889 fi
3890 fi
3891 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3892 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3893
3894 # Check whether --with-gnomevfs was given.
3895 if test "${with_gnomevfs+set}" = set; then
3896 withval=$with_gnomevfs;
3897 if test "$withval" = yes; then
3898 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3899 else
3900 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3901 fi
3902 cache=yes
3903
3904 else
3905
3906 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3909 fi
3910
3911 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3912
3913 fi
3914
3915
3916 eval "$wx_cv_use_gnomevfs"
3917 if test "x$cache" != xyes; then
3918 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3919 fi
3920
3921 if test x"$withstring" = xwithout; then
3922 if test $wxUSE_LIBGNOMEVFS = yes; then
3923 result=no
3924 else
3925 result=yes
3926 fi
3927 else
3928 result=$wxUSE_LIBGNOMEVFS
3929 fi
3930
3931 { echo "$as_me:$LINENO: result: $result" >&5
3932 echo "${ECHO_T}$result" >&6; }
3933
3934
3935 withstring=
3936 defaultval=$wxUSE_ALL_FEATURES
3937 if test -z "$defaultval"; then
3938 if test x"$withstring" = xwithout; then
3939 defaultval=yes
3940 else
3941 defaultval=no
3942 fi
3943 fi
3944 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3945 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3946
3947 # Check whether --with-hildon was given.
3948 if test "${with_hildon+set}" = set; then
3949 withval=$with_hildon;
3950 if test "$withval" = yes; then
3951 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3952 else
3953 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3954 fi
3955 cache=yes
3956
3957 else
3958
3959 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x ; then
3961 eval "DEFAULT_$LINE"
3962 fi
3963
3964 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3965
3966 fi
3967
3968
3969 eval "$wx_cv_use_hildon"
3970 if test "x$cache" != xyes; then
3971 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3972 fi
3973
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBHILDON = yes; then
3976 result=no
3977 else
3978 result=yes
3979 fi
3980 else
3981 result=$wxUSE_LIBHILDON
3982 fi
3983
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3986
3987
3988 withstring=
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3992 defaultval=yes
3993 else
3994 defaultval=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3999
4000 # Check whether --with-opengl was given.
4001 if test "${with_opengl+set}" = set; then
4002 withval=$with_opengl;
4003 if test "$withval" = yes; then
4004 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4005 else
4006 wx_cv_use_opengl='wxUSE_OPENGL=no'
4007 fi
4008 cache=yes
4009
4010 else
4011
4012 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x ; then
4014 eval "DEFAULT_$LINE"
4015 fi
4016
4017 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4018
4019 fi
4020
4021
4022 eval "$wx_cv_use_opengl"
4023 if test "x$cache" != xyes; then
4024 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4025 fi
4026
4027 if test x"$withstring" = xwithout; then
4028 if test $wxUSE_OPENGL = yes; then
4029 result=no
4030 else
4031 result=yes
4032 fi
4033 else
4034 result=$wxUSE_OPENGL
4035 fi
4036
4037 { echo "$as_me:$LINENO: result: $result" >&5
4038 echo "${ECHO_T}$result" >&6; }
4039
4040
4041 fi
4042
4043
4044 withstring=
4045 defaultval=$wxUSE_ALL_FEATURES
4046 if test -z "$defaultval"; then
4047 if test x"$withstring" = xwithout; then
4048 defaultval=yes
4049 else
4050 defaultval=no
4051 fi
4052 fi
4053 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4054 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4055
4056 # Check whether --with-dmalloc was given.
4057 if test "${with_dmalloc+set}" = set; then
4058 withval=$with_dmalloc;
4059 if test "$withval" = yes; then
4060 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4061 else
4062 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4063 fi
4064 cache=yes
4065
4066 else
4067
4068 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 fi
4072
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_dmalloc"
4079 if test "x$cache" != xyes; then
4080 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4081 fi
4082
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_DMALLOC = yes; then
4085 result=no
4086 else
4087 result=yes
4088 fi
4089 else
4090 result=$wxUSE_DMALLOC
4091 fi
4092
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4108
4109 # Check whether --with-sdl was given.
4110 if test "${with_sdl+set}" = set; then
4111 withval=$with_sdl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4114 else
4115 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4116 fi
4117 cache=yes
4118
4119 else
4120
4121 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4124 fi
4125
4126 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4127
4128 fi
4129
4130
4131 eval "$wx_cv_use_sdl"
4132 if test "x$cache" != xyes; then
4133 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test x"$withstring" = xwithout; then
4137 if test $wxUSE_LIBSDL = yes; then
4138 result=no
4139 else
4140 result=yes
4141 fi
4142 else
4143 result=$wxUSE_LIBSDL
4144 fi
4145
4146 { echo "$as_me:$LINENO: result: $result" >&5
4147 echo "${ECHO_T}$result" >&6; }
4148
4149
4150 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4151 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4152
4153 # Check whether --with-regex was given.
4154 if test "${with_regex+set}" = set; then
4155 withval=$with_regex;
4156 if test "$withval" = yes; then
4157 wx_cv_use_regex='wxUSE_REGEX=yes'
4158 elif test "$withval" = no; then
4159 wx_cv_use_regex='wxUSE_REGEX=no'
4160 elif test "$withval" = sys; then
4161 wx_cv_use_regex='wxUSE_REGEX=sys'
4162 elif test "$withval" = builtin; then
4163 wx_cv_use_regex='wxUSE_REGEX=builtin'
4164 else
4165 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4166 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4167 { (exit 1); exit 1; }; }
4168 fi
4169 cache=yes
4170
4171 else
4172
4173 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 fi
4177
4178 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4179
4180 fi
4181
4182
4183 eval "$wx_cv_use_regex"
4184 if test "x$cache" = xyes; then
4185 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_REGEX" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 elif test "$wxUSE_REGEX" = no; then
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 elif test "$wxUSE_REGEX" = sys; then
4195 { echo "$as_me:$LINENO: result: system version" >&5
4196 echo "${ECHO_T}system version" >&6; }
4197 elif test "$wxUSE_REGEX" = builtin; then
4198 { echo "$as_me:$LINENO: result: builtin version" >&5
4199 echo "${ECHO_T}builtin version" >&6; }
4200 else
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4204 fi
4205
4206
4207 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4208 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4209
4210 # Check whether --with-zlib was given.
4211 if test "${with_zlib+set}" = set; then
4212 withval=$with_zlib;
4213 if test "$withval" = yes; then
4214 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4215 elif test "$withval" = no; then
4216 wx_cv_use_zlib='wxUSE_ZLIB=no'
4217 elif test "$withval" = sys; then
4218 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4219 elif test "$withval" = builtin; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4221 else
4222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4224 { (exit 1); exit 1; }; }
4225 fi
4226 cache=yes
4227
4228 else
4229
4230 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4231 if test "x$LINE" != x ; then
4232 eval "DEFAULT_$LINE"
4233 fi
4234
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4236
4237 fi
4238
4239
4240 eval "$wx_cv_use_zlib"
4241 if test "x$cache" = xyes; then
4242 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4243 fi
4244
4245 if test "$wxUSE_ZLIB" = yes; then
4246 { echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6; }
4248 elif test "$wxUSE_ZLIB" = no; then
4249 { echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6; }
4251 elif test "$wxUSE_ZLIB" = sys; then
4252 { echo "$as_me:$LINENO: result: system version" >&5
4253 echo "${ECHO_T}system version" >&6; }
4254 elif test "$wxUSE_ZLIB" = builtin; then
4255 { echo "$as_me:$LINENO: result: builtin version" >&5
4256 echo "${ECHO_T}builtin version" >&6; }
4257 else
4258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4260 { (exit 1); exit 1; }; }
4261 fi
4262
4263
4264 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4266
4267 # Check whether --with-odbc was given.
4268 if test "${with_odbc+set}" = set; then
4269 withval=$with_odbc;
4270 if test "$withval" = yes; then
4271 wx_cv_use_odbc='wxUSE_ODBC=yes'
4272 elif test "$withval" = no; then
4273 wx_cv_use_odbc='wxUSE_ODBC=no'
4274 elif test "$withval" = sys; then
4275 wx_cv_use_odbc='wxUSE_ODBC=sys'
4276 elif test "$withval" = builtin; then
4277 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4278 else
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4282 fi
4283 cache=yes
4284
4285 else
4286
4287 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4290 fi
4291
4292 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4293
4294 fi
4295
4296
4297 eval "$wx_cv_use_odbc"
4298 if test "x$cache" = xyes; then
4299 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4300 fi
4301
4302 if test "$wxUSE_ODBC" = yes; then
4303 { echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6; }
4305 elif test "$wxUSE_ODBC" = no; then
4306 { echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6; }
4308 elif test "$wxUSE_ODBC" = sys; then
4309 { echo "$as_me:$LINENO: result: system version" >&5
4310 echo "${ECHO_T}system version" >&6; }
4311 elif test "$wxUSE_ODBC" = builtin; then
4312 { echo "$as_me:$LINENO: result: builtin version" >&5
4313 echo "${ECHO_T}builtin version" >&6; }
4314 else
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4318 fi
4319
4320
4321 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4322 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4323
4324 # Check whether --with-expat was given.
4325 if test "${with_expat+set}" = set; then
4326 withval=$with_expat;
4327 if test "$withval" = yes; then
4328 wx_cv_use_expat='wxUSE_EXPAT=yes'
4329 elif test "$withval" = no; then
4330 wx_cv_use_expat='wxUSE_EXPAT=no'
4331 elif test "$withval" = sys; then
4332 wx_cv_use_expat='wxUSE_EXPAT=sys'
4333 elif test "$withval" = builtin; then
4334 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4335 else
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4339 fi
4340 cache=yes
4341
4342 else
4343
4344 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4347 fi
4348
4349 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4350
4351 fi
4352
4353
4354 eval "$wx_cv_use_expat"
4355 if test "x$cache" = xyes; then
4356 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4357 fi
4358
4359 if test "$wxUSE_EXPAT" = yes; then
4360 { echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6; }
4362 elif test "$wxUSE_EXPAT" = no; then
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4365 elif test "$wxUSE_EXPAT" = sys; then
4366 { echo "$as_me:$LINENO: result: system version" >&5
4367 echo "${ECHO_T}system version" >&6; }
4368 elif test "$wxUSE_EXPAT" = builtin; then
4369 { echo "$as_me:$LINENO: result: builtin version" >&5
4370 echo "${ECHO_T}builtin version" >&6; }
4371 else
4372 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4373 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4374 { (exit 1); exit 1; }; }
4375 fi
4376
4377
4378
4379
4380 enablestring=disable
4381 defaultval=
4382 if test -z "$defaultval"; then
4383 if test x"$enablestring" = xdisable; then
4384 defaultval=yes
4385 else
4386 defaultval=no
4387 fi
4388 fi
4389
4390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4392 # Check whether --enable-shared was given.
4393 if test "${enable_shared+set}" = set; then
4394 enableval=$enable_shared;
4395 if test "$enableval" = yes; then
4396 wx_cv_use_shared='wxUSE_SHARED=yes'
4397 else
4398 wx_cv_use_shared='wxUSE_SHARED=no'
4399 fi
4400 cache=yes
4401
4402 else
4403
4404 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 fi
4408
4409 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4410
4411 fi
4412
4413
4414 eval "$wx_cv_use_shared"
4415 if test "x$cache" = xyes; then
4416 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4417 fi
4418
4419 if test x"$enablestring" = xdisable; then
4420 if test $wxUSE_SHARED = yes; then
4421 result=no
4422 else
4423 result=yes
4424 fi
4425 else
4426 result=$wxUSE_SHARED
4427 fi
4428
4429 { echo "$as_me:$LINENO: result: $result" >&5
4430 echo "${ECHO_T}$result" >&6; }
4431
4432
4433 enablestring=disable
4434 defaultval=
4435 if test -z "$defaultval"; then
4436 if test x"$enablestring" = xdisable; then
4437 defaultval=yes
4438 else
4439 defaultval=no
4440 fi
4441 fi
4442
4443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4445 # Check whether --enable-optimise was given.
4446 if test "${enable_optimise+set}" = set; then
4447 enableval=$enable_optimise;
4448 if test "$enableval" = yes; then
4449 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4450 else
4451 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4452 fi
4453 cache=yes
4454
4455 else
4456
4457 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 fi
4461
4462 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4463
4464 fi
4465
4466
4467 eval "$wx_cv_use_optimise"
4468 if test "x$cache" = xyes; then
4469 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4470 fi
4471
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_OPTIMISE = yes; then
4474 result=no
4475 else
4476 result=yes
4477 fi
4478 else
4479 result=$wxUSE_OPTIMISE
4480 fi
4481
4482 { echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4484
4485
4486 enablestring=
4487 defaultval=
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4490 defaultval=yes
4491 else
4492 defaultval=no
4493 fi
4494 fi
4495
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4498 # Check whether --enable-debug was given.
4499 if test "${enable_debug+set}" = set; then
4500 enableval=$enable_debug;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_debug='wxUSE_DEBUG=yes'
4503 else
4504 wx_cv_use_debug='wxUSE_DEBUG=no'
4505 fi
4506 cache=yes
4507
4508 else
4509
4510 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 fi
4514
4515 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4516
4517 fi
4518
4519
4520 eval "$wx_cv_use_debug"
4521 if test "x$cache" = xyes; then
4522 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_DEBUG = yes; then
4527 result=no
4528 else
4529 result=yes
4530 fi
4531 else
4532 result=$wxUSE_DEBUG
4533 fi
4534
4535 { echo "$as_me:$LINENO: result: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4537
4538
4539 enablestring=
4540 defaultval=
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4543 defaultval=yes
4544 else
4545 defaultval=no
4546 fi
4547 fi
4548
4549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4551 # Check whether --enable-stl was given.
4552 if test "${enable_stl+set}" = set; then
4553 enableval=$enable_stl;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_stl='wxUSE_STL=yes'
4556 else
4557 wx_cv_use_stl='wxUSE_STL=no'
4558 fi
4559 cache=yes
4560
4561 else
4562
4563 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4566 fi
4567
4568 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4569
4570 fi
4571
4572
4573 eval "$wx_cv_use_stl"
4574 if test "x$cache" = xyes; then
4575 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4576 fi
4577
4578 if test x"$enablestring" = xdisable; then
4579 if test $wxUSE_STL = yes; then
4580 result=no
4581 else
4582 result=yes
4583 fi
4584 else
4585 result=$wxUSE_STL
4586 fi
4587
4588 { echo "$as_me:$LINENO: result: $result" >&5
4589 echo "${ECHO_T}$result" >&6; }
4590
4591
4592 enablestring=
4593 defaultval=
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4596 defaultval=yes
4597 else
4598 defaultval=no
4599 fi
4600 fi
4601
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4604 # Check whether --enable-std_iostreams was given.
4605 if test "${enable_std_iostreams+set}" = set; then
4606 enableval=$enable_std_iostreams;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4609 else
4610 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4611 fi
4612 cache=yes
4613
4614 else
4615
4616 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x ; then
4618 eval "DEFAULT_$LINE"
4619 fi
4620
4621 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4622
4623 fi
4624
4625
4626 eval "$wx_cv_use_std_iostreams"
4627 if test "x$cache" = xyes; then
4628 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4629 fi
4630
4631 if test x"$enablestring" = xdisable; then
4632 if test $wxUSE_STD_IOSTREAM = yes; then
4633 result=no
4634 else
4635 result=yes
4636 fi
4637 else
4638 result=$wxUSE_STD_IOSTREAM
4639 fi
4640
4641 { echo "$as_me:$LINENO: result: $result" >&5
4642 echo "${ECHO_T}$result" >&6; }
4643
4644
4645 enablestring=
4646 defaultval=
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4649 defaultval=yes
4650 else
4651 defaultval=no
4652 fi
4653 fi
4654
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4657 # Check whether --enable-std_string was given.
4658 if test "${enable_std_string+set}" = set; then
4659 enableval=$enable_std_string;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4662 else
4663 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4664 fi
4665 cache=yes
4666
4667 else
4668
4669 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 fi
4673
4674 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_std_string"
4680 if test "x$cache" = xyes; then
4681 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_STD_STRING = yes; then
4686 result=no
4687 else
4688 result=yes
4689 fi
4690 else
4691 result=$wxUSE_STD_STRING
4692 fi
4693
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4696
4697
4698 enablestring=disable
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4710 # Check whether --enable-unicode was given.
4711 if test "${enable_unicode+set}" = set; then
4712 enableval=$enable_unicode;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4715 else
4716 wx_cv_use_unicode='wxUSE_UNICODE=no'
4717 fi
4718 cache=yes
4719
4720 else
4721
4722 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x ; then
4724 eval "DEFAULT_$LINE"
4725 fi
4726
4727 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4728
4729 fi
4730
4731
4732 eval "$wx_cv_use_unicode"
4733 if test "x$cache" = xyes; then
4734 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test x"$enablestring" = xdisable; then
4738 if test $wxUSE_UNICODE = yes; then
4739 result=no
4740 else
4741 result=yes
4742 fi
4743 else
4744 result=$wxUSE_UNICODE
4745 fi
4746
4747 { echo "$as_me:$LINENO: result: $result" >&5
4748 echo "${ECHO_T}$result" >&6; }
4749
4750
4751 enablestring=
4752 defaultval=
4753 if test -z "$defaultval"; then
4754 if test x"$enablestring" = xdisable; then
4755 defaultval=yes
4756 else
4757 defaultval=no
4758 fi
4759 fi
4760
4761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4763 # Check whether --enable-mslu was given.
4764 if test "${enable_mslu+set}" = set; then
4765 enableval=$enable_mslu;
4766 if test "$enableval" = yes; then
4767 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4768 else
4769 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4770 fi
4771 cache=yes
4772
4773 else
4774
4775 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 fi
4779
4780 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4781
4782 fi
4783
4784
4785 eval "$wx_cv_use_mslu"
4786 if test "x$cache" = xyes; then
4787 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4788 fi
4789
4790 if test x"$enablestring" = xdisable; then
4791 if test $wxUSE_UNICODE_MSLU = yes; then
4792 result=no
4793 else
4794 result=yes
4795 fi
4796 else
4797 result=$wxUSE_UNICODE_MSLU
4798 fi
4799
4800 { echo "$as_me:$LINENO: result: $result" >&5
4801 echo "${ECHO_T}$result" >&6; }
4802
4803
4804 enablestring=
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4807 # Check whether --enable-utf8 was given.
4808 if test "${enable_utf8+set}" = set; then
4809 enableval=$enable_utf8;
4810 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4811 cache=yes
4812
4813 else
4814
4815 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 fi
4819
4820 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4821
4822 fi
4823
4824
4825 eval "$wx_cv_use_utf8"
4826 if test "x$cache" = xyes; then
4827 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4828 fi
4829
4830 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4831 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4832
4833
4834 enablestring=
4835 defaultval=
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4838 defaultval=yes
4839 else
4840 defaultval=no
4841 fi
4842 fi
4843
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4846 # Check whether --enable-utf8only was given.
4847 if test "${enable_utf8only+set}" = set; then
4848 enableval=$enable_utf8only;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4851 else
4852 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4853 fi
4854 cache=yes
4855
4856 else
4857
4858 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 fi
4862
4863 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4864
4865 fi
4866
4867
4868 eval "$wx_cv_use_utf8only"
4869 if test "x$cache" = xyes; then
4870 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test x"$enablestring" = xdisable; then
4874 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4875 result=no
4876 else
4877 result=yes
4878 fi
4879 else
4880 result=$wxUSE_UNICODE_UTF8_LOCALE
4881 fi
4882
4883 { echo "$as_me:$LINENO: result: $result" >&5
4884 echo "${ECHO_T}$result" >&6; }
4885
4886
4887 enablestring=
4888 defaultval=
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4891 defaultval=yes
4892 else
4893 defaultval=no
4894 fi
4895 fi
4896
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4899 # Check whether --enable-extended_rtti was given.
4900 if test "${enable_extended_rtti+set}" = set; then
4901 enableval=$enable_extended_rtti;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4904 else
4905 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4906 fi
4907 cache=yes
4908
4909 else
4910
4911 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x ; then
4913 eval "DEFAULT_$LINE"
4914 fi
4915
4916 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4917
4918 fi
4919
4920
4921 eval "$wx_cv_use_extended_rtti"
4922 if test "x$cache" = xyes; then
4923 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4924 fi
4925
4926 if test x"$enablestring" = xdisable; then
4927 if test $wxUSE_EXTENDED_RTTI = yes; then
4928 result=no
4929 else
4930 result=yes
4931 fi
4932 else
4933 result=$wxUSE_EXTENDED_RTTI
4934 fi
4935
4936 { echo "$as_me:$LINENO: result: $result" >&5
4937 echo "${ECHO_T}$result" >&6; }
4938
4939 if test "$USE_OS2" = "1"; then
4940 DEFAULT_wxUSE_OMF=no
4941
4942 enablestring=
4943 defaultval=
4944 if test -z "$defaultval"; then
4945 if test x"$enablestring" = xdisable; then
4946 defaultval=yes
4947 else
4948 defaultval=no
4949 fi
4950 fi
4951
4952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4953 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4954 # Check whether --enable-omf was given.
4955 if test "${enable_omf+set}" = set; then
4956 enableval=$enable_omf;
4957 if test "$enableval" = yes; then
4958 wx_cv_use_omf='wxUSE_OMF=yes'
4959 else
4960 wx_cv_use_omf='wxUSE_OMF=no'
4961 fi
4962 cache=yes
4963
4964 else
4965
4966 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4969 fi
4970
4971 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4972
4973 fi
4974
4975
4976 eval "$wx_cv_use_omf"
4977 if test "x$cache" = xyes; then
4978 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4979 fi
4980
4981 if test x"$enablestring" = xdisable; then
4982 if test $wxUSE_OMF = yes; then
4983 result=no
4984 else
4985 result=yes
4986 fi
4987 else
4988 result=$wxUSE_OMF
4989 fi
4990
4991 { echo "$as_me:$LINENO: result: $result" >&5
4992 echo "${ECHO_T}$result" >&6; }
4993
4994 fi
4995
4996 if test "$wxUSE_DEBUG" = "yes"; then
4997 DEFAULT_wxUSE_DEBUG_FLAG=yes
4998 DEFAULT_wxUSE_DEBUG_INFO=yes
4999 BUILD=debug
5000 elif test "$wxUSE_DEBUG" = "no"; then
5001 DEFAULT_wxUSE_DEBUG_FLAG=no
5002 DEFAULT_wxUSE_DEBUG_INFO=no
5003 BUILD=release
5004 fi
5005
5006
5007 enablestring=
5008 defaultval=
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5011 defaultval=yes
5012 else
5013 defaultval=no
5014 fi
5015 fi
5016
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5019 # Check whether --enable-debug_flag was given.
5020 if test "${enable_debug_flag+set}" = set; then
5021 enableval=$enable_debug_flag;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5024 else
5025 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5026 fi
5027 cache=yes
5028
5029 else
5030
5031 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5034 fi
5035
5036 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5037
5038 fi
5039
5040
5041 eval "$wx_cv_use_debug_flag"
5042 if test "x$cache" = xyes; then
5043 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5044 fi
5045
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_DEBUG_FLAG = yes; then
5048 result=no
5049 else
5050 result=yes
5051 fi
5052 else
5053 result=$wxUSE_DEBUG_FLAG
5054 fi
5055
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5058
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5072 # Check whether --enable-debug_info was given.
5073 if test "${enable_debug_info+set}" = set; then
5074 enableval=$enable_debug_info;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5077 else
5078 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5079 fi
5080 cache=yes
5081
5082 else
5083
5084 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 fi
5088
5089 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_debug_info"
5095 if test "x$cache" = xyes; then
5096 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_DEBUG_INFO = yes; then
5101 result=no
5102 else
5103 result=yes
5104 fi
5105 else
5106 result=$wxUSE_DEBUG_INFO
5107 fi
5108
5109 { echo "$as_me:$LINENO: result: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5111
5112
5113 enablestring=
5114 defaultval=
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5117 defaultval=yes
5118 else
5119 defaultval=no
5120 fi
5121 fi
5122
5123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5125 # Check whether --enable-debug_gdb was given.
5126 if test "${enable_debug_gdb+set}" = set; then
5127 enableval=$enable_debug_gdb;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5130 else
5131 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5132 fi
5133 cache=yes
5134
5135 else
5136
5137 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x ; then
5139 eval "DEFAULT_$LINE"
5140 fi
5141
5142 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5143
5144 fi
5145
5146
5147 eval "$wx_cv_use_debug_gdb"
5148 if test "x$cache" = xyes; then
5149 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test x"$enablestring" = xdisable; then
5153 if test $wxUSE_DEBUG_GDB = yes; then
5154 result=no
5155 else
5156 result=yes
5157 fi
5158 else
5159 result=$wxUSE_DEBUG_GDB
5160 fi
5161
5162 { echo "$as_me:$LINENO: result: $result" >&5
5163 echo "${ECHO_T}$result" >&6; }
5164
5165
5166 enablestring=
5167 defaultval=
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5178 # Check whether --enable-debug_cntxt was given.
5179 if test "${enable_debug_cntxt+set}" = set; then
5180 enableval=$enable_debug_cntxt;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5183 else
5184 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5185 fi
5186 cache=yes
5187
5188 else
5189
5190 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 fi
5194
5195 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5196
5197 fi
5198
5199
5200 eval "$wx_cv_use_debug_cntxt"
5201 if test "x$cache" = xyes; then
5202 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test x"$enablestring" = xdisable; then
5206 if test $wxUSE_DEBUG_CONTEXT = yes; then
5207 result=no
5208 else
5209 result=yes
5210 fi
5211 else
5212 result=$wxUSE_DEBUG_CONTEXT
5213 fi
5214
5215 { echo "$as_me:$LINENO: result: $result" >&5
5216 echo "${ECHO_T}$result" >&6; }
5217
5218
5219 enablestring=
5220 defaultval=
5221 if test -z "$defaultval"; then
5222 if test x"$enablestring" = xdisable; then
5223 defaultval=yes
5224 else
5225 defaultval=no
5226 fi
5227 fi
5228
5229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5231 # Check whether --enable-mem_tracing was given.
5232 if test "${enable_mem_tracing+set}" = set; then
5233 enableval=$enable_mem_tracing;
5234 if test "$enableval" = yes; then
5235 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5236 else
5237 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5238 fi
5239 cache=yes
5240
5241 else
5242
5243 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5246 fi
5247
5248 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5249
5250 fi
5251
5252
5253 eval "$wx_cv_use_mem_tracing"
5254 if test "x$cache" = xyes; then
5255 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5256 fi
5257
5258 if test x"$enablestring" = xdisable; then
5259 if test $wxUSE_MEM_TRACING = yes; then
5260 result=no
5261 else
5262 result=yes
5263 fi
5264 else
5265 result=$wxUSE_MEM_TRACING
5266 fi
5267
5268 { echo "$as_me:$LINENO: result: $result" >&5
5269 echo "${ECHO_T}$result" >&6; }
5270
5271
5272 enablestring=
5273 defaultval=
5274 if test -z "$defaultval"; then
5275 if test x"$enablestring" = xdisable; then
5276 defaultval=yes
5277 else
5278 defaultval=no
5279 fi
5280 fi
5281
5282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5284 # Check whether --enable-profile was given.
5285 if test "${enable_profile+set}" = set; then
5286 enableval=$enable_profile;
5287 if test "$enableval" = yes; then
5288 wx_cv_use_profile='wxUSE_PROFILE=yes'
5289 else
5290 wx_cv_use_profile='wxUSE_PROFILE=no'
5291 fi
5292 cache=yes
5293
5294 else
5295
5296 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x ; then
5298 eval "DEFAULT_$LINE"
5299 fi
5300
5301 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5302
5303 fi
5304
5305
5306 eval "$wx_cv_use_profile"
5307 if test "x$cache" = xyes; then
5308 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5309 fi
5310
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PROFILE = yes; then
5313 result=no
5314 else
5315 result=yes
5316 fi
5317 else
5318 result=$wxUSE_PROFILE
5319 fi
5320
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5323
5324
5325 enablestring=
5326 defaultval=
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5329 defaultval=yes
5330 else
5331 defaultval=no
5332 fi
5333 fi
5334
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5337 # Check whether --enable-no_rtti was given.
5338 if test "${enable_no_rtti+set}" = set; then
5339 enableval=$enable_no_rtti;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5342 else
5343 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5344 fi
5345 cache=yes
5346
5347 else
5348
5349 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 fi
5353
5354 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5355
5356 fi
5357
5358
5359 eval "$wx_cv_use_no_rtti"
5360 if test "x$cache" = xyes; then
5361 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5362 fi
5363
5364 if test x"$enablestring" = xdisable; then
5365 if test $wxUSE_NO_RTTI = yes; then
5366 result=no
5367 else
5368 result=yes
5369 fi
5370 else
5371 result=$wxUSE_NO_RTTI
5372 fi
5373
5374 { echo "$as_me:$LINENO: result: $result" >&5
5375 echo "${ECHO_T}$result" >&6; }
5376
5377
5378 enablestring=
5379 defaultval=
5380 if test -z "$defaultval"; then
5381 if test x"$enablestring" = xdisable; then
5382 defaultval=yes
5383 else
5384 defaultval=no
5385 fi
5386 fi
5387
5388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5390 # Check whether --enable-no_exceptions was given.
5391 if test "${enable_no_exceptions+set}" = set; then
5392 enableval=$enable_no_exceptions;
5393 if test "$enableval" = yes; then
5394 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5395 else
5396 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5397 fi
5398 cache=yes
5399
5400 else
5401
5402 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5405 fi
5406
5407 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5408
5409 fi
5410
5411
5412 eval "$wx_cv_use_no_exceptions"
5413 if test "x$cache" = xyes; then
5414 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5415 fi
5416
5417 if test x"$enablestring" = xdisable; then
5418 if test $wxUSE_NO_EXCEPTIONS = yes; then
5419 result=no
5420 else
5421 result=yes
5422 fi
5423 else
5424 result=$wxUSE_NO_EXCEPTIONS
5425 fi
5426
5427 { echo "$as_me:$LINENO: result: $result" >&5
5428 echo "${ECHO_T}$result" >&6; }
5429
5430
5431 enablestring=
5432 defaultval=
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5435 defaultval=yes
5436 else
5437 defaultval=no
5438 fi
5439 fi
5440
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5443 # Check whether --enable-permissive was given.
5444 if test "${enable_permissive+set}" = set; then
5445 enableval=$enable_permissive;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5448 else
5449 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5450 fi
5451 cache=yes
5452
5453 else
5454
5455 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 fi
5459
5460 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5461
5462 fi
5463
5464
5465 eval "$wx_cv_use_permissive"
5466 if test "x$cache" = xyes; then
5467 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test x"$enablestring" = xdisable; then
5471 if test $wxUSE_PERMISSIVE = yes; then
5472 result=no
5473 else
5474 result=yes
5475 fi
5476 else
5477 result=$wxUSE_PERMISSIVE
5478 fi
5479
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5482
5483
5484 enablestring=
5485 defaultval=
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5488 defaultval=yes
5489 else
5490 defaultval=no
5491 fi
5492 fi
5493
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5496 # Check whether --enable-no_deps was given.
5497 if test "${enable_no_deps+set}" = set; then
5498 enableval=$enable_no_deps;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5501 else
5502 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5503 fi
5504 cache=yes
5505
5506 else
5507
5508 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5511 fi
5512
5513 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5514
5515 fi
5516
5517
5518 eval "$wx_cv_use_no_deps"
5519 if test "x$cache" = xyes; then
5520 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5521 fi
5522
5523 if test x"$enablestring" = xdisable; then
5524 if test $wxUSE_NO_DEPS = yes; then
5525 result=no
5526 else
5527 result=yes
5528 fi
5529 else
5530 result=$wxUSE_NO_DEPS
5531 fi
5532
5533 { echo "$as_me:$LINENO: result: $result" >&5
5534 echo "${ECHO_T}$result" >&6; }
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5549 # Check whether --enable-vararg_macros was given.
5550 if test "${enable_vararg_macros+set}" = set; then
5551 enableval=$enable_vararg_macros;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5554 else
5555 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5556 fi
5557 cache=yes
5558
5559 else
5560
5561 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5564 fi
5565
5566 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5567
5568 fi
5569
5570
5571 eval "$wx_cv_use_vararg_macros"
5572 if test "x$cache" = xyes; then
5573 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5574 fi
5575
5576 if test x"$enablestring" = xdisable; then
5577 if test $wxUSE_VARARG_MACROS = yes; then
5578 result=no
5579 else
5580 result=yes
5581 fi
5582 else
5583 result=$wxUSE_VARARG_MACROS
5584 fi
5585
5586 { echo "$as_me:$LINENO: result: $result" >&5
5587 echo "${ECHO_T}$result" >&6; }
5588
5589
5590 enablestring=
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5593 # Check whether --enable-universal_binary was given.
5594 if test "${enable_universal_binary+set}" = set; then
5595 enableval=$enable_universal_binary;
5596 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5597 cache=yes
5598
5599 else
5600
5601 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5604 fi
5605
5606 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5607
5608 fi
5609
5610
5611 eval "$wx_cv_use_universal_binary"
5612 if test "x$cache" = xyes; then
5613 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5614 fi
5615
5616 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5617 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5618
5619
5620
5621 enablestring=
5622 defaultval=
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5625 defaultval=yes
5626 else
5627 defaultval=no
5628 fi
5629 fi
5630
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5633 # Check whether --enable-compat26 was given.
5634 if test "${enable_compat26+set}" = set; then
5635 enableval=$enable_compat26;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5638 else
5639 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5640 fi
5641 cache=yes
5642
5643 else
5644
5645 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x ; then
5647 eval "DEFAULT_$LINE"
5648 fi
5649
5650 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_compat26"
5656 if test "x$cache" = xyes; then
5657 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5658 fi
5659
5660 if test x"$enablestring" = xdisable; then
5661 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5662 result=no
5663 else
5664 result=yes
5665 fi
5666 else
5667 result=$WXWIN_COMPATIBILITY_2_6
5668 fi
5669
5670 { echo "$as_me:$LINENO: result: $result" >&5
5671 echo "${ECHO_T}$result" >&6; }
5672
5673
5674 enablestring=disable
5675 defaultval=
5676 if test -z "$defaultval"; then
5677 if test x"$enablestring" = xdisable; then
5678 defaultval=yes
5679 else
5680 defaultval=no
5681 fi
5682 fi
5683
5684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5686 # Check whether --enable-compat28 was given.
5687 if test "${enable_compat28+set}" = set; then
5688 enableval=$enable_compat28;
5689 if test "$enableval" = yes; then
5690 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5691 else
5692 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5693 fi
5694 cache=yes
5695
5696 else
5697
5698 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5701 fi
5702
5703 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5704
5705 fi
5706
5707
5708 eval "$wx_cv_use_compat28"
5709 if test "x$cache" = xyes; then
5710 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5711 fi
5712
5713 if test x"$enablestring" = xdisable; then
5714 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5715 result=no
5716 else
5717 result=yes
5718 fi
5719 else
5720 result=$WXWIN_COMPATIBILITY_2_8
5721 fi
5722
5723 { echo "$as_me:$LINENO: result: $result" >&5
5724 echo "${ECHO_T}$result" >&6; }
5725
5726
5727
5728 enablestring=disable
5729 defaultval=
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5732 defaultval=yes
5733 else
5734 defaultval=no
5735 fi
5736 fi
5737
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5740 # Check whether --enable-rpath was given.
5741 if test "${enable_rpath+set}" = set; then
5742 enableval=$enable_rpath;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_rpath='wxUSE_RPATH=yes'
5745 else
5746 wx_cv_use_rpath='wxUSE_RPATH=no'
5747 fi
5748 cache=yes
5749
5750 else
5751
5752 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5755 fi
5756
5757 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5758
5759 fi
5760
5761
5762 eval "$wx_cv_use_rpath"
5763 if test "x$cache" = xyes; then
5764 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5765 fi
5766
5767 if test x"$enablestring" = xdisable; then
5768 if test $wxUSE_RPATH = yes; then
5769 result=no
5770 else
5771 result=yes
5772 fi
5773 else
5774 result=$wxUSE_RPATH
5775 fi
5776
5777 { echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5779
5780
5781
5782 enablestring=
5783 defaultval=
5784 if test -z "$defaultval"; then
5785 if test x"$enablestring" = xdisable; then
5786 defaultval=yes
5787 else
5788 defaultval=no
5789 fi
5790 fi
5791
5792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5794 # Check whether --enable-objc_uniquifying was given.
5795 if test "${enable_objc_uniquifying+set}" = set; then
5796 enableval=$enable_objc_uniquifying;
5797 if test "$enableval" = yes; then
5798 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5799 else
5800 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5801 fi
5802 cache=yes
5803
5804 else
5805
5806 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5809 fi
5810
5811 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_objc_uniquifying"
5817 if test "x$cache" = xyes; then
5818 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5819 fi
5820
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5823 result=no
5824 else
5825 result=yes
5826 fi
5827 else
5828 result=$wxUSE_OBJC_UNIQUIFYING
5829 fi
5830
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835
5836 enablestring=disable
5837 defaultval=
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5840 defaultval=yes
5841 else
5842 defaultval=no
5843 fi
5844 fi
5845
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5848 # Check whether --enable-visibility was given.
5849 if test "${enable_visibility+set}" = set; then
5850 enableval=$enable_visibility;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5853 else
5854 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5855 fi
5856 cache=yes
5857
5858 else
5859
5860 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 fi
5864
5865 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5866
5867 fi
5868
5869
5870 eval "$wx_cv_use_visibility"
5871 if test "x$cache" = xyes; then
5872 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5873 fi
5874
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_VISIBILITY = yes; then
5877 result=no
5878 else
5879 result=yes
5880 fi
5881 else
5882 result=$wxUSE_VISIBILITY
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5887
5888
5889
5890
5891 enablestring=
5892 defaultval=$wxUSE_ALL_FEATURES
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5895 defaultval=yes
5896 else
5897 defaultval=no
5898 fi
5899 fi
5900
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5903 # Check whether --enable-intl was given.
5904 if test "${enable_intl+set}" = set; then
5905 enableval=$enable_intl;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_intl='wxUSE_INTL=yes'
5908 else
5909 wx_cv_use_intl='wxUSE_INTL=no'
5910 fi
5911 cache=yes
5912
5913 else
5914
5915 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 fi
5919
5920 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5921
5922 fi
5923
5924
5925 eval "$wx_cv_use_intl"
5926 if test "x$cache" = xyes; then
5927 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5928 fi
5929
5930 if test x"$enablestring" = xdisable; then
5931 if test $wxUSE_INTL = yes; then
5932 result=no
5933 else
5934 result=yes
5935 fi
5936 else
5937 result=$wxUSE_INTL
5938 fi
5939
5940 { echo "$as_me:$LINENO: result: $result" >&5
5941 echo "${ECHO_T}$result" >&6; }
5942
5943
5944 enablestring=
5945 defaultval=$wxUSE_ALL_FEATURES
5946 if test -z "$defaultval"; then
5947 if test x"$enablestring" = xdisable; then
5948 defaultval=yes
5949 else
5950 defaultval=no
5951 fi
5952 fi
5953
5954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5956 # Check whether --enable-config was given.
5957 if test "${enable_config+set}" = set; then
5958 enableval=$enable_config;
5959 if test "$enableval" = yes; then
5960 wx_cv_use_config='wxUSE_CONFIG=yes'
5961 else
5962 wx_cv_use_config='wxUSE_CONFIG=no'
5963 fi
5964 cache=yes
5965
5966 else
5967
5968 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x ; then
5970 eval "DEFAULT_$LINE"
5971 fi
5972
5973 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5974
5975 fi
5976
5977
5978 eval "$wx_cv_use_config"
5979 if test "x$cache" = xyes; then
5980 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test x"$enablestring" = xdisable; then
5984 if test $wxUSE_CONFIG = yes; then
5985 result=no
5986 else
5987 result=yes
5988 fi
5989 else
5990 result=$wxUSE_CONFIG
5991 fi
5992
5993 { echo "$as_me:$LINENO: result: $result" >&5
5994 echo "${ECHO_T}$result" >&6; }
5995
5996
5997
5998 enablestring=
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6002 defaultval=yes
6003 else
6004 defaultval=no
6005 fi
6006 fi
6007
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6010 # Check whether --enable-protocols was given.
6011 if test "${enable_protocols+set}" = set; then
6012 enableval=$enable_protocols;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6015 else
6016 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6017 fi
6018 cache=yes
6019
6020 else
6021
6022 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 fi
6026
6027 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6028
6029 fi
6030
6031
6032 eval "$wx_cv_use_protocols"
6033 if test "x$cache" = xyes; then
6034 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6035 fi
6036
6037 if test x"$enablestring" = xdisable; then
6038 if test $wxUSE_PROTOCOL = yes; then
6039 result=no
6040 else
6041 result=yes
6042 fi
6043 else
6044 result=$wxUSE_PROTOCOL
6045 fi
6046
6047 { echo "$as_me:$LINENO: result: $result" >&5
6048 echo "${ECHO_T}$result" >&6; }
6049
6050
6051 enablestring=
6052 defaultval=$wxUSE_ALL_FEATURES
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6055 defaultval=yes
6056 else
6057 defaultval=no
6058 fi
6059 fi
6060
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6063 # Check whether --enable-ftp was given.
6064 if test "${enable_ftp+set}" = set; then
6065 enableval=$enable_ftp;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6068 else
6069 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6070 fi
6071 cache=yes
6072
6073 else
6074
6075 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 fi
6079
6080 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_ftp"
6086 if test "x$cache" = xyes; then
6087 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_PROTOCOL_FTP = yes; then
6092 result=no
6093 else
6094 result=yes
6095 fi
6096 else
6097 result=$wxUSE_PROTOCOL_FTP
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104 enablestring=
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6108 defaultval=yes
6109 else
6110 defaultval=no
6111 fi
6112 fi
6113
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6116 # Check whether --enable-http was given.
6117 if test "${enable_http+set}" = set; then
6118 enableval=$enable_http;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6121 else
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6123 fi
6124 cache=yes
6125
6126 else
6127
6128 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 fi
6132
6133 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6134
6135 fi
6136
6137
6138 eval "$wx_cv_use_http"
6139 if test "x$cache" = xyes; then
6140 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6141 fi
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_PROTOCOL_HTTP = yes; then
6145 result=no
6146 else
6147 result=yes
6148 fi
6149 else
6150 result=$wxUSE_PROTOCOL_HTTP
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157 enablestring=
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6161 defaultval=yes
6162 else
6163 defaultval=no
6164 fi
6165 fi
6166
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6169 # Check whether --enable-fileproto was given.
6170 if test "${enable_fileproto+set}" = set; then
6171 enableval=$enable_fileproto;
6172 if test "$enableval" = yes; then
6173 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6174 else
6175 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6176 fi
6177 cache=yes
6178
6179 else
6180
6181 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6184 fi
6185
6186 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6187
6188 fi
6189
6190
6191 eval "$wx_cv_use_fileproto"
6192 if test "x$cache" = xyes; then
6193 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6194 fi
6195
6196 if test x"$enablestring" = xdisable; then
6197 if test $wxUSE_PROTOCOL_FILE = yes; then
6198 result=no
6199 else
6200 result=yes
6201 fi
6202 else
6203 result=$wxUSE_PROTOCOL_FILE
6204 fi
6205
6206 { echo "$as_me:$LINENO: result: $result" >&5
6207 echo "${ECHO_T}$result" >&6; }
6208
6209
6210 enablestring=
6211 defaultval=$wxUSE_ALL_FEATURES
6212 if test -z "$defaultval"; then
6213 if test x"$enablestring" = xdisable; then
6214 defaultval=yes
6215 else
6216 defaultval=no
6217 fi
6218 fi
6219
6220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6222 # Check whether --enable-sockets was given.
6223 if test "${enable_sockets+set}" = set; then
6224 enableval=$enable_sockets;
6225 if test "$enableval" = yes; then
6226 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6227 else
6228 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6229 fi
6230 cache=yes
6231
6232 else
6233
6234 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 fi
6238
6239 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6240
6241 fi
6242
6243
6244 eval "$wx_cv_use_sockets"
6245 if test "x$cache" = xyes; then
6246 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6247 fi
6248
6249 if test x"$enablestring" = xdisable; then
6250 if test $wxUSE_SOCKETS = yes; then
6251 result=no
6252 else
6253 result=yes
6254 fi
6255 else
6256 result=$wxUSE_SOCKETS
6257 fi
6258
6259 { echo "$as_me:$LINENO: result: $result" >&5
6260 echo "${ECHO_T}$result" >&6; }
6261
6262
6263 enablestring=
6264 defaultval=$wxUSE_ALL_FEATURES
6265 if test -z "$defaultval"; then
6266 if test x"$enablestring" = xdisable; then
6267 defaultval=yes
6268 else
6269 defaultval=no
6270 fi
6271 fi
6272
6273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6274 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6275 # Check whether --enable-ole was given.
6276 if test "${enable_ole+set}" = set; then
6277 enableval=$enable_ole;
6278 if test "$enableval" = yes; then
6279 wx_cv_use_ole='wxUSE_OLE=yes'
6280 else
6281 wx_cv_use_ole='wxUSE_OLE=no'
6282 fi
6283 cache=yes
6284
6285 else
6286
6287 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x ; then
6289 eval "DEFAULT_$LINE"
6290 fi
6291
6292 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6293
6294 fi
6295
6296
6297 eval "$wx_cv_use_ole"
6298 if test "x$cache" = xyes; then
6299 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6300 fi
6301
6302 if test x"$enablestring" = xdisable; then
6303 if test $wxUSE_OLE = yes; then
6304 result=no
6305 else
6306 result=yes
6307 fi
6308 else
6309 result=$wxUSE_OLE
6310 fi
6311
6312 { echo "$as_me:$LINENO: result: $result" >&5
6313 echo "${ECHO_T}$result" >&6; }
6314
6315
6316 enablestring=
6317 defaultval=$wxUSE_ALL_FEATURES
6318 if test -z "$defaultval"; then
6319 if test x"$enablestring" = xdisable; then
6320 defaultval=yes
6321 else
6322 defaultval=no
6323 fi
6324 fi
6325
6326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6327 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6328 # Check whether --enable-dataobj was given.
6329 if test "${enable_dataobj+set}" = set; then
6330 enableval=$enable_dataobj;
6331 if test "$enableval" = yes; then
6332 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6333 else
6334 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6335 fi
6336 cache=yes
6337
6338 else
6339
6340 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6343 fi
6344
6345 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6346
6347 fi
6348
6349
6350 eval "$wx_cv_use_dataobj"
6351 if test "x$cache" = xyes; then
6352 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test x"$enablestring" = xdisable; then
6356 if test $wxUSE_DATAOBJ = yes; then
6357 result=no
6358 else
6359 result=yes
6360 fi
6361 else
6362 result=$wxUSE_DATAOBJ
6363 fi
6364
6365 { echo "$as_me:$LINENO: result: $result" >&5
6366 echo "${ECHO_T}$result" >&6; }
6367
6368
6369
6370 enablestring=
6371 defaultval=$wxUSE_ALL_FEATURES
6372 if test -z "$defaultval"; then
6373 if test x"$enablestring" = xdisable; then
6374 defaultval=yes
6375 else
6376 defaultval=no
6377 fi
6378 fi
6379
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6382 # Check whether --enable-ipc was given.
6383 if test "${enable_ipc+set}" = set; then
6384 enableval=$enable_ipc;
6385 if test "$enableval" = yes; then
6386 wx_cv_use_ipc='wxUSE_IPC=yes'
6387 else
6388 wx_cv_use_ipc='wxUSE_IPC=no'
6389 fi
6390 cache=yes
6391
6392 else
6393
6394 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6397 fi
6398
6399 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6400
6401 fi
6402
6403
6404 eval "$wx_cv_use_ipc"
6405 if test "x$cache" = xyes; then
6406 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_IPC = yes; then
6411 result=no
6412 else
6413 result=yes
6414 fi
6415 else
6416 result=$wxUSE_IPC
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423
6424 enablestring=
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6428 defaultval=yes
6429 else
6430 defaultval=no
6431 fi
6432 fi
6433
6434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6435 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6436 # Check whether --enable-baseevtloop was given.
6437 if test "${enable_baseevtloop+set}" = set; then
6438 enableval=$enable_baseevtloop;
6439 if test "$enableval" = yes; then
6440 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6441 else
6442 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6443 fi
6444 cache=yes
6445
6446 else
6447
6448 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 fi
6452
6453 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6454
6455 fi
6456
6457
6458 eval "$wx_cv_use_baseevtloop"
6459 if test "x$cache" = xyes; then
6460 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6461 fi
6462
6463 if test x"$enablestring" = xdisable; then
6464 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6465 result=no
6466 else
6467 result=yes
6468 fi
6469 else
6470 result=$wxUSE_CONSOLE_EVENTLOOP
6471 fi
6472
6473 { echo "$as_me:$LINENO: result: $result" >&5
6474 echo "${ECHO_T}$result" >&6; }
6475
6476
6477 enablestring=
6478 defaultval=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6481 defaultval=yes
6482 else
6483 defaultval=no
6484 fi
6485 fi
6486
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6489 # Check whether --enable-epoolloop was given.
6490 if test "${enable_epoolloop+set}" = set; then
6491 enableval=$enable_epoolloop;
6492 if test "$enableval" = yes; then
6493 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6494 else
6495 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6496 fi
6497 cache=yes
6498
6499 else
6500
6501 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x ; then
6503 eval "DEFAULT_$LINE"
6504 fi
6505
6506 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6507
6508 fi
6509
6510
6511 eval "$wx_cv_use_epoolloop"
6512 if test "x$cache" = xyes; then
6513 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test x"$enablestring" = xdisable; then
6517 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6518 result=no
6519 else
6520 result=yes
6521 fi
6522 else
6523 result=$wxUSE_EPOLL_DISPATCHER
6524 fi
6525
6526 { echo "$as_me:$LINENO: result: $result" >&5
6527 echo "${ECHO_T}$result" >&6; }
6528
6529
6530 enablestring=
6531 defaultval=$wxUSE_ALL_FEATURES
6532 if test -z "$defaultval"; then
6533 if test x"$enablestring" = xdisable; then
6534 defaultval=yes
6535 else
6536 defaultval=no
6537 fi
6538 fi
6539
6540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6542 # Check whether --enable-selectloop was given.
6543 if test "${enable_selectloop+set}" = set; then
6544 enableval=$enable_selectloop;
6545 if test "$enableval" = yes; then
6546 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6547 else
6548 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6549 fi
6550 cache=yes
6551
6552 else
6553
6554 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6557 fi
6558
6559 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6560
6561 fi
6562
6563
6564 eval "$wx_cv_use_selectloop"
6565 if test "x$cache" = xyes; then
6566 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test x"$enablestring" = xdisable; then
6570 if test $wxUSE_SELECT_DISPATCHER = yes; then
6571 result=no
6572 else
6573 result=yes
6574 fi
6575 else
6576 result=$wxUSE_SELECT_DISPATCHER
6577 fi
6578
6579 { echo "$as_me:$LINENO: result: $result" >&5
6580 echo "${ECHO_T}$result" >&6; }
6581
6582
6583
6584 enablestring=
6585 defaultval=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x"$enablestring" = xdisable; then
6588 defaultval=yes
6589 else
6590 defaultval=no
6591 fi
6592 fi
6593
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6596 # Check whether --enable-apple_ieee was given.
6597 if test "${enable_apple_ieee+set}" = set; then
6598 enableval=$enable_apple_ieee;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6601 else
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6603 fi
6604 cache=yes
6605
6606 else
6607
6608 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 fi
6612
6613 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6614
6615 fi
6616
6617
6618 eval "$wx_cv_use_apple_ieee"
6619 if test "x$cache" = xyes; then
6620 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_APPLE_IEEE = yes; then
6625 result=no
6626 else
6627 result=yes
6628 fi
6629 else
6630 result=$wxUSE_APPLE_IEEE
6631 fi
6632
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6635
6636
6637 enablestring=
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6641 defaultval=yes
6642 else
6643 defaultval=no
6644 fi
6645 fi
6646
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6649 # Check whether --enable-arcstream was given.
6650 if test "${enable_arcstream+set}" = set; then
6651 enableval=$enable_arcstream;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6654 else
6655 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6656 fi
6657 cache=yes
6658
6659 else
6660
6661 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6664 fi
6665
6666 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6667
6668 fi
6669
6670
6671 eval "$wx_cv_use_arcstream"
6672 if test "x$cache" = xyes; then
6673 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6674 fi
6675
6676 if test x"$enablestring" = xdisable; then
6677 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6678 result=no
6679 else
6680 result=yes
6681 fi
6682 else
6683 result=$wxUSE_ARCHIVE_STREAMS
6684 fi
6685
6686 { echo "$as_me:$LINENO: result: $result" >&5
6687 echo "${ECHO_T}$result" >&6; }
6688
6689
6690 enablestring=
6691 defaultval=$wxUSE_ALL_FEATURES
6692 if test -z "$defaultval"; then
6693 if test x"$enablestring" = xdisable; then
6694 defaultval=yes
6695 else
6696 defaultval=no
6697 fi
6698 fi
6699
6700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6701 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6702 # Check whether --enable-base64 was given.
6703 if test "${enable_base64+set}" = set; then
6704 enableval=$enable_base64;
6705 if test "$enableval" = yes; then
6706 wx_cv_use_base64='wxUSE_BASE64=yes'
6707 else
6708 wx_cv_use_base64='wxUSE_BASE64=no'
6709 fi
6710 cache=yes
6711
6712 else
6713
6714 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x ; then
6716 eval "DEFAULT_$LINE"
6717 fi
6718
6719 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6720
6721 fi
6722
6723
6724 eval "$wx_cv_use_base64"
6725 if test "x$cache" = xyes; then
6726 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6727 fi
6728
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_BASE64 = yes; then
6731 result=no
6732 else
6733 result=yes
6734 fi
6735 else
6736 result=$wxUSE_BASE64
6737 fi
6738
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6741
6742
6743 enablestring=
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6747 defaultval=yes
6748 else
6749 defaultval=no
6750 fi
6751 fi
6752
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6755 # Check whether --enable-backtrace was given.
6756 if test "${enable_backtrace+set}" = set; then
6757 enableval=$enable_backtrace;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6760 else
6761 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6762 fi
6763 cache=yes
6764
6765 else
6766
6767 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6768 if test "x$LINE" != x ; then
6769 eval "DEFAULT_$LINE"
6770 fi
6771
6772 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6773
6774 fi
6775
6776
6777 eval "$wx_cv_use_backtrace"
6778 if test "x$cache" = xyes; then
6779 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_STACKWALKER = yes; then
6784 result=no
6785 else
6786 result=yes
6787 fi
6788 else
6789 result=$wxUSE_STACKWALKER
6790 fi
6791
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6794
6795
6796 enablestring=
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6800 defaultval=yes
6801 else
6802 defaultval=no
6803 fi
6804 fi
6805
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6808 # Check whether --enable-catch_segvs was given.
6809 if test "${enable_catch_segvs+set}" = set; then
6810 enableval=$enable_catch_segvs;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6813 else
6814 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6815 fi
6816 cache=yes
6817
6818 else
6819
6820 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x ; then
6822 eval "DEFAULT_$LINE"
6823 fi
6824
6825 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6826
6827 fi
6828
6829
6830 eval "$wx_cv_use_catch_segvs"
6831 if test "x$cache" = xyes; then
6832 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6833 fi
6834
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6837 result=no
6838 else
6839 result=yes
6840 fi
6841 else
6842 result=$wxUSE_ON_FATAL_EXCEPTION
6843 fi
6844
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6847
6848
6849 enablestring=
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6853 defaultval=yes
6854 else
6855 defaultval=no
6856 fi
6857 fi
6858
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6861 # Check whether --enable-cmdline was given.
6862 if test "${enable_cmdline+set}" = set; then
6863 enableval=$enable_cmdline;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6866 else
6867 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6868 fi
6869 cache=yes
6870
6871 else
6872
6873 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6876 fi
6877
6878 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6879
6880 fi
6881
6882
6883 eval "$wx_cv_use_cmdline"
6884 if test "x$cache" = xyes; then
6885 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_CMDLINE_PARSER = yes; then
6890 result=no
6891 else
6892 result=yes
6893 fi
6894 else
6895 result=$wxUSE_CMDLINE_PARSER
6896 fi
6897
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6900
6901
6902 enablestring=
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6906 defaultval=yes
6907 else
6908 defaultval=no
6909 fi
6910 fi
6911
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6914 # Check whether --enable-datetime was given.
6915 if test "${enable_datetime+set}" = set; then
6916 enableval=$enable_datetime;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6919 else
6920 wx_cv_use_datetime='wxUSE_DATETIME=no'
6921 fi
6922 cache=yes
6923
6924 else
6925
6926 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6927 if test "x$LINE" != x ; then
6928 eval "DEFAULT_$LINE"
6929 fi
6930
6931 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6932
6933 fi
6934
6935
6936 eval "$wx_cv_use_datetime"
6937 if test "x$cache" = xyes; then
6938 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6939 fi
6940
6941 if test x"$enablestring" = xdisable; then
6942 if test $wxUSE_DATETIME = yes; then
6943 result=no
6944 else
6945 result=yes
6946 fi
6947 else
6948 result=$wxUSE_DATETIME
6949 fi
6950
6951 { echo "$as_me:$LINENO: result: $result" >&5
6952 echo "${ECHO_T}$result" >&6; }
6953
6954
6955 enablestring=
6956 defaultval=$wxUSE_ALL_FEATURES
6957 if test -z "$defaultval"; then
6958 if test x"$enablestring" = xdisable; then
6959 defaultval=yes
6960 else
6961 defaultval=no
6962 fi
6963 fi
6964
6965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6967 # Check whether --enable-debugreport was given.
6968 if test "${enable_debugreport+set}" = set; then
6969 enableval=$enable_debugreport;
6970 if test "$enableval" = yes; then
6971 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6972 else
6973 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6974 fi
6975 cache=yes
6976
6977 else
6978
6979 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x ; then
6981 eval "DEFAULT_$LINE"
6982 fi
6983
6984 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6985
6986 fi
6987
6988
6989 eval "$wx_cv_use_debugreport"
6990 if test "x$cache" = xyes; then
6991 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test x"$enablestring" = xdisable; then
6995 if test $wxUSE_DEBUGREPORT = yes; then
6996 result=no
6997 else
6998 result=yes
6999 fi
7000 else
7001 result=$wxUSE_DEBUGREPORT
7002 fi
7003
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7006
7007
7008 enablestring=
7009 defaultval=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x"$enablestring" = xdisable; then
7012 defaultval=yes
7013 else
7014 defaultval=no
7015 fi
7016 fi
7017
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7020 # Check whether --enable-dialupman was given.
7021 if test "${enable_dialupman+set}" = set; then
7022 enableval=$enable_dialupman;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7025 else
7026 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7027 fi
7028 cache=yes
7029
7030 else
7031
7032 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 fi
7036
7037 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7038
7039 fi
7040
7041
7042 eval "$wx_cv_use_dialupman"
7043 if test "x$cache" = xyes; then
7044 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7045 fi
7046
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_DIALUP_MANAGER = yes; then
7049 result=no
7050 else
7051 result=yes
7052 fi
7053 else
7054 result=$wxUSE_DIALUP_MANAGER
7055 fi
7056
7057 { echo "$as_me:$LINENO: result: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7059
7060
7061 enablestring=
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7065 defaultval=yes
7066 else
7067 defaultval=no
7068 fi
7069 fi
7070
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7073 # Check whether --enable-dynlib was given.
7074 if test "${enable_dynlib+set}" = set; then
7075 enableval=$enable_dynlib;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7078 else
7079 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7080 fi
7081 cache=yes
7082
7083 else
7084
7085 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 fi
7089
7090 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7091
7092 fi
7093
7094
7095 eval "$wx_cv_use_dynlib"
7096 if test "x$cache" = xyes; then
7097 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7098 fi
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_DYNLIB_CLASS = yes; then
7102 result=no
7103 else
7104 result=yes
7105 fi
7106 else
7107 result=$wxUSE_DYNLIB_CLASS
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7126 # Check whether --enable-dynamicloader was given.
7127 if test "${enable_dynamicloader+set}" = set; then
7128 enableval=$enable_dynamicloader;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7131 else
7132 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7133 fi
7134 cache=yes
7135
7136 else
7137
7138 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x ; then
7140 eval "DEFAULT_$LINE"
7141 fi
7142
7143 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7144
7145 fi
7146
7147
7148 eval "$wx_cv_use_dynamicloader"
7149 if test "x$cache" = xyes; then
7150 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7151 fi
7152
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_DYNAMIC_LOADER = yes; then
7155 result=no
7156 else
7157 result=yes
7158 fi
7159 else
7160 result=$wxUSE_DYNAMIC_LOADER
7161 fi
7162
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7165
7166
7167 enablestring=
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7171 defaultval=yes
7172 else
7173 defaultval=no
7174 fi
7175 fi
7176
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7179 # Check whether --enable-exceptions was given.
7180 if test "${enable_exceptions+set}" = set; then
7181 enableval=$enable_exceptions;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7184 else
7185 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7186 fi
7187 cache=yes
7188
7189 else
7190
7191 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 fi
7195
7196 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7197
7198 fi
7199
7200
7201 eval "$wx_cv_use_exceptions"
7202 if test "x$cache" = xyes; then
7203 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7204 fi
7205
7206 if test x"$enablestring" = xdisable; then
7207 if test $wxUSE_EXCEPTIONS = yes; then
7208 result=no
7209 else
7210 result=yes
7211 fi
7212 else
7213 result=$wxUSE_EXCEPTIONS
7214 fi
7215
7216 { echo "$as_me:$LINENO: result: $result" >&5
7217 echo "${ECHO_T}$result" >&6; }
7218
7219
7220 enablestring=
7221 defaultval=$wxUSE_ALL_FEATURES
7222 if test -z "$defaultval"; then
7223 if test x"$enablestring" = xdisable; then
7224 defaultval=yes
7225 else
7226 defaultval=no
7227 fi
7228 fi
7229
7230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7231 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7232 # Check whether --enable-ffile was given.
7233 if test "${enable_ffile+set}" = set; then
7234 enableval=$enable_ffile;
7235 if test "$enableval" = yes; then
7236 wx_cv_use_ffile='wxUSE_FFILE=yes'
7237 else
7238 wx_cv_use_ffile='wxUSE_FFILE=no'
7239 fi
7240 cache=yes
7241
7242 else
7243
7244 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7247 fi
7248
7249 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7250
7251 fi
7252
7253
7254 eval "$wx_cv_use_ffile"
7255 if test "x$cache" = xyes; then
7256 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_FFILE = yes; then
7261 result=no
7262 else
7263 result=yes
7264 fi
7265 else
7266 result=$wxUSE_FFILE
7267 fi
7268
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7271
7272
7273 enablestring=
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7277 defaultval=yes
7278 else
7279 defaultval=no
7280 fi
7281 fi
7282
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7285 # Check whether --enable-file was given.
7286 if test "${enable_file+set}" = set; then
7287 enableval=$enable_file;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_file='wxUSE_FILE=yes'
7290 else
7291 wx_cv_use_file='wxUSE_FILE=no'
7292 fi
7293 cache=yes
7294
7295 else
7296
7297 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 fi
7301
7302 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7303
7304 fi
7305
7306
7307 eval "$wx_cv_use_file"
7308 if test "x$cache" = xyes; then
7309 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7310 fi
7311
7312 if test x"$enablestring" = xdisable; then
7313 if test $wxUSE_FILE = yes; then
7314 result=no
7315 else
7316 result=yes
7317 fi
7318 else
7319 result=$wxUSE_FILE
7320 fi
7321
7322 { echo "$as_me:$LINENO: result: $result" >&5
7323 echo "${ECHO_T}$result" >&6; }
7324
7325
7326 enablestring=
7327 defaultval=$wxUSE_ALL_FEATURES
7328 if test -z "$defaultval"; then
7329 if test x"$enablestring" = xdisable; then
7330 defaultval=yes
7331 else
7332 defaultval=no
7333 fi
7334 fi
7335
7336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7338 # Check whether --enable-filesystem was given.
7339 if test "${enable_filesystem+set}" = set; then
7340 enableval=$enable_filesystem;
7341 if test "$enableval" = yes; then
7342 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7343 else
7344 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7345 fi
7346 cache=yes
7347
7348 else
7349
7350 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 fi
7354
7355 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7356
7357 fi
7358
7359
7360 eval "$wx_cv_use_filesystem"
7361 if test "x$cache" = xyes; then
7362 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7363 fi
7364
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_FILESYSTEM = yes; then
7367 result=no
7368 else
7369 result=yes
7370 fi
7371 else
7372 result=$wxUSE_FILESYSTEM
7373 fi
7374
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7377
7378
7379 enablestring=
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7383 defaultval=yes
7384 else
7385 defaultval=no
7386 fi
7387 fi
7388
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7391 # Check whether --enable-fontenum was given.
7392 if test "${enable_fontenum+set}" = set; then
7393 enableval=$enable_fontenum;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7396 else
7397 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7398 fi
7399 cache=yes
7400
7401 else
7402
7403 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7406 fi
7407
7408 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7409
7410 fi
7411
7412
7413 eval "$wx_cv_use_fontenum"
7414 if test "x$cache" = xyes; then
7415 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7416 fi
7417
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_FONTENUM = yes; then
7420 result=no
7421 else
7422 result=yes
7423 fi
7424 else
7425 result=$wxUSE_FONTENUM
7426 fi
7427
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7430
7431
7432 enablestring=
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7436 defaultval=yes
7437 else
7438 defaultval=no
7439 fi
7440 fi
7441
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7444 # Check whether --enable-fontmap was given.
7445 if test "${enable_fontmap+set}" = set; then
7446 enableval=$enable_fontmap;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7449 else
7450 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7451 fi
7452 cache=yes
7453
7454 else
7455
7456 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x ; then
7458 eval "DEFAULT_$LINE"
7459 fi
7460
7461 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7462
7463 fi
7464
7465
7466 eval "$wx_cv_use_fontmap"
7467 if test "x$cache" = xyes; then
7468 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7469 fi
7470
7471 if test x"$enablestring" = xdisable; then
7472 if test $wxUSE_FONTMAP = yes; then
7473 result=no
7474 else
7475 result=yes
7476 fi
7477 else
7478 result=$wxUSE_FONTMAP
7479 fi
7480
7481 { echo "$as_me:$LINENO: result: $result" >&5
7482 echo "${ECHO_T}$result" >&6; }
7483
7484
7485 enablestring=
7486 defaultval=$wxUSE_ALL_FEATURES
7487 if test -z "$defaultval"; then
7488 if test x"$enablestring" = xdisable; then
7489 defaultval=yes
7490 else
7491 defaultval=no
7492 fi
7493 fi
7494
7495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7497 # Check whether --enable-fs_archive was given.
7498 if test "${enable_fs_archive+set}" = set; then
7499 enableval=$enable_fs_archive;
7500 if test "$enableval" = yes; then
7501 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7502 else
7503 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7504 fi
7505 cache=yes
7506
7507 else
7508
7509 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7510 if test "x$LINE" != x ; then
7511 eval "DEFAULT_$LINE"
7512 fi
7513
7514 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7515
7516 fi
7517
7518
7519 eval "$wx_cv_use_fs_archive"
7520 if test "x$cache" = xyes; then
7521 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7522 fi
7523
7524 if test x"$enablestring" = xdisable; then
7525 if test $wxUSE_FS_ARCHIVE = yes; then
7526 result=no
7527 else
7528 result=yes
7529 fi
7530 else
7531 result=$wxUSE_FS_ARCHIVE
7532 fi
7533
7534 { echo "$as_me:$LINENO: result: $result" >&5
7535 echo "${ECHO_T}$result" >&6; }
7536
7537
7538 enablestring=
7539 defaultval=$wxUSE_ALL_FEATURES
7540 if test -z "$defaultval"; then
7541 if test x"$enablestring" = xdisable; then
7542 defaultval=yes
7543 else
7544 defaultval=no
7545 fi
7546 fi
7547
7548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7550 # Check whether --enable-fs_inet was given.
7551 if test "${enable_fs_inet+set}" = set; then
7552 enableval=$enable_fs_inet;
7553 if test "$enableval" = yes; then
7554 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7555 else
7556 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7557 fi
7558 cache=yes
7559
7560 else
7561
7562 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7565 fi
7566
7567 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_fs_inet"
7573 if test "x$cache" = xyes; then
7574 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_FS_INET = yes; then
7579 result=no
7580 else
7581 result=yes
7582 fi
7583 else
7584 result=$wxUSE_FS_INET
7585 fi
7586
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7589
7590
7591 enablestring=
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7595 defaultval=yes
7596 else
7597 defaultval=no
7598 fi
7599 fi
7600
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7603 # Check whether --enable-fs_zip was given.
7604 if test "${enable_fs_zip+set}" = set; then
7605 enableval=$enable_fs_zip;
7606 if test "$enableval" = yes; then
7607 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7608 else
7609 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7610 fi
7611 cache=yes
7612
7613 else
7614
7615 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7618 fi
7619
7620 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7621
7622 fi
7623
7624
7625 eval "$wx_cv_use_fs_zip"
7626 if test "x$cache" = xyes; then
7627 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7628 fi
7629
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_FS_ZIP = yes; then
7632 result=no
7633 else
7634 result=yes
7635 fi
7636 else
7637 result=$wxUSE_FS_ZIP
7638 fi
7639
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7642
7643
7644 enablestring=
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7648 defaultval=yes
7649 else
7650 defaultval=no
7651 fi
7652 fi
7653
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7656 # Check whether --enable-geometry was given.
7657 if test "${enable_geometry+set}" = set; then
7658 enableval=$enable_geometry;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7661 else
7662 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7663 fi
7664 cache=yes
7665
7666 else
7667
7668 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7669 if test "x$LINE" != x ; then
7670 eval "DEFAULT_$LINE"
7671 fi
7672
7673 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7674
7675 fi
7676
7677
7678 eval "$wx_cv_use_geometry"
7679 if test "x$cache" = xyes; then
7680 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7681 fi
7682
7683 if test x"$enablestring" = xdisable; then
7684 if test $wxUSE_GEOMETRY = yes; then
7685 result=no
7686 else
7687 result=yes
7688 fi
7689 else
7690 result=$wxUSE_GEOMETRY
7691 fi
7692
7693 { echo "$as_me:$LINENO: result: $result" >&5
7694 echo "${ECHO_T}$result" >&6; }
7695
7696
7697 enablestring=
7698 defaultval=$wxUSE_ALL_FEATURES
7699 if test -z "$defaultval"; then
7700 if test x"$enablestring" = xdisable; then
7701 defaultval=yes
7702 else
7703 defaultval=no
7704 fi
7705 fi
7706
7707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7709 # Check whether --enable-log was given.
7710 if test "${enable_log+set}" = set; then
7711 enableval=$enable_log;
7712 if test "$enableval" = yes; then
7713 wx_cv_use_log='wxUSE_LOG=yes'
7714 else
7715 wx_cv_use_log='wxUSE_LOG=no'
7716 fi
7717 cache=yes
7718
7719 else
7720
7721 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7724 fi
7725
7726 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7727
7728 fi
7729
7730
7731 eval "$wx_cv_use_log"
7732 if test "x$cache" = xyes; then
7733 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7734 fi
7735
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_LOG = yes; then
7738 result=no
7739 else
7740 result=yes
7741 fi
7742 else
7743 result=$wxUSE_LOG
7744 fi
7745
7746 { echo "$as_me:$LINENO: result: $result" >&5
7747 echo "${ECHO_T}$result" >&6; }
7748
7749
7750 enablestring=
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7754 defaultval=yes
7755 else
7756 defaultval=no
7757 fi
7758 fi
7759
7760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7762 # Check whether --enable-longlong was given.
7763 if test "${enable_longlong+set}" = set; then
7764 enableval=$enable_longlong;
7765 if test "$enableval" = yes; then
7766 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7767 else
7768 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7769 fi
7770 cache=yes
7771
7772 else
7773
7774 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 fi
7778
7779 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7780
7781 fi
7782
7783
7784 eval "$wx_cv_use_longlong"
7785 if test "x$cache" = xyes; then
7786 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_LONGLONG = yes; then
7791 result=no
7792 else
7793 result=yes
7794 fi
7795 else
7796 result=$wxUSE_LONGLONG
7797 fi
7798
7799 { echo "$as_me:$LINENO: result: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7801
7802
7803 enablestring=
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7807 defaultval=yes
7808 else
7809 defaultval=no
7810 fi
7811 fi
7812
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7815 # Check whether --enable-mimetype was given.
7816 if test "${enable_mimetype+set}" = set; then
7817 enableval=$enable_mimetype;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7820 else
7821 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7822 fi
7823 cache=yes
7824
7825 else
7826
7827 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 fi
7831
7832 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7833
7834 fi
7835
7836
7837 eval "$wx_cv_use_mimetype"
7838 if test "x$cache" = xyes; then
7839 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7840 fi
7841
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_MIMETYPE = yes; then
7844 result=no
7845 else
7846 result=yes
7847 fi
7848 else
7849 result=$wxUSE_MIMETYPE
7850 fi
7851
7852 { echo "$as_me:$LINENO: result: $result" >&5
7853 echo "${ECHO_T}$result" >&6; }
7854
7855
7856 enablestring=
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7860 defaultval=yes
7861 else
7862 defaultval=no
7863 fi
7864 fi
7865
7866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7868 # Check whether --enable-snglinst was given.
7869 if test "${enable_snglinst+set}" = set; then
7870 enableval=$enable_snglinst;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7873 else
7874 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7875 fi
7876 cache=yes
7877
7878 else
7879
7880 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 fi
7884
7885 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_snglinst"
7891 if test "x$cache" = xyes; then
7892 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test x"$enablestring" = xdisable; then
7896 if test $wxUSE_SNGLINST_CHECKER = yes; then
7897 result=no
7898 else
7899 result=yes
7900 fi
7901 else
7902 result=$wxUSE_SNGLINST_CHECKER
7903 fi
7904
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7907
7908
7909 enablestring=
7910 defaultval=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x"$enablestring" = xdisable; then
7913 defaultval=yes
7914 else
7915 defaultval=no
7916 fi
7917 fi
7918
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7921 # Check whether --enable-stdpaths was given.
7922 if test "${enable_stdpaths+set}" = set; then
7923 enableval=$enable_stdpaths;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7926 else
7927 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7928 fi
7929 cache=yes
7930
7931 else
7932
7933 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 fi
7937
7938 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$wx_cv_use_stdpaths"
7944 if test "x$cache" = xyes; then
7945 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_STDPATHS = yes; then
7950 result=no
7951 else
7952 result=yes
7953 fi
7954 else
7955 result=$wxUSE_STDPATHS
7956 fi
7957
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7960
7961
7962 enablestring=
7963 defaultval=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x"$enablestring" = xdisable; then
7966 defaultval=yes
7967 else
7968 defaultval=no
7969 fi
7970 fi
7971
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7974 # Check whether --enable-stopwatch was given.
7975 if test "${enable_stopwatch+set}" = set; then
7976 enableval=$enable_stopwatch;
7977 if test "$enableval" = yes; then
7978 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7979 else
7980 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7981 fi
7982 cache=yes
7983
7984 else
7985
7986 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 fi
7990
7991 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7992
7993 fi
7994
7995
7996 eval "$wx_cv_use_stopwatch"
7997 if test "x$cache" = xyes; then
7998 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7999 fi
8000
8001 if test x"$enablestring" = xdisable; then
8002 if test $wxUSE_STOPWATCH = yes; then
8003 result=no
8004 else
8005 result=yes
8006 fi
8007 else
8008 result=$wxUSE_STOPWATCH
8009 fi
8010
8011 { echo "$as_me:$LINENO: result: $result" >&5
8012 echo "${ECHO_T}$result" >&6; }
8013
8014
8015 enablestring=
8016 defaultval=$wxUSE_ALL_FEATURES
8017 if test -z "$defaultval"; then
8018 if test x"$enablestring" = xdisable; then
8019 defaultval=yes
8020 else
8021 defaultval=no
8022 fi
8023 fi
8024
8025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8026 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8027 # Check whether --enable-streams was given.
8028 if test "${enable_streams+set}" = set; then
8029 enableval=$enable_streams;
8030 if test "$enableval" = yes; then
8031 wx_cv_use_streams='wxUSE_STREAMS=yes'
8032 else
8033 wx_cv_use_streams='wxUSE_STREAMS=no'
8034 fi
8035 cache=yes
8036
8037 else
8038
8039 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8040 if test "x$LINE" != x ; then
8041 eval "DEFAULT_$LINE"
8042 fi
8043
8044 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8045
8046 fi
8047
8048
8049 eval "$wx_cv_use_streams"
8050 if test "x$cache" = xyes; then
8051 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8052 fi
8053
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_STREAMS = yes; then
8056 result=no
8057 else
8058 result=yes
8059 fi
8060 else
8061 result=$wxUSE_STREAMS
8062 fi
8063
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8066
8067
8068 enablestring=
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8072 defaultval=yes
8073 else
8074 defaultval=no
8075 fi
8076 fi
8077
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8080 # Check whether --enable-system_options was given.
8081 if test "${enable_system_options+set}" = set; then
8082 enableval=$enable_system_options;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8085 else
8086 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8087 fi
8088 cache=yes
8089
8090 else
8091
8092 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8095 fi
8096
8097 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_system_options"
8103 if test "x$cache" = xyes; then
8104 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test x"$enablestring" = xdisable; then
8108 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8109 result=no
8110 else
8111 result=yes
8112 fi
8113 else
8114 result=$wxUSE_SYSTEM_OPTIONS
8115 fi
8116
8117 { echo "$as_me:$LINENO: result: $result" >&5
8118 echo "${ECHO_T}$result" >&6; }
8119
8120
8121 enablestring=
8122 defaultval=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x"$enablestring" = xdisable; then
8125 defaultval=yes
8126 else
8127 defaultval=no
8128 fi
8129 fi
8130
8131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8133 # Check whether --enable-tarstream was given.
8134 if test "${enable_tarstream+set}" = set; then
8135 enableval=$enable_tarstream;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8138 else
8139 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8140 fi
8141 cache=yes
8142
8143 else
8144
8145 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 fi
8149
8150 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8151
8152 fi
8153
8154
8155 eval "$wx_cv_use_tarstream"
8156 if test "x$cache" = xyes; then
8157 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8158 fi
8159
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_TARSTREAM = yes; then
8162 result=no
8163 else
8164 result=yes
8165 fi
8166 else
8167 result=$wxUSE_TARSTREAM
8168 fi
8169
8170 { echo "$as_me:$LINENO: result: $result" >&5
8171 echo "${ECHO_T}$result" >&6; }
8172
8173
8174 enablestring=
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8178 defaultval=yes
8179 else
8180 defaultval=no
8181 fi
8182 fi
8183
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8186 # Check whether --enable-textbuf was given.
8187 if test "${enable_textbuf+set}" = set; then
8188 enableval=$enable_textbuf;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8191 else
8192 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8193 fi
8194 cache=yes
8195
8196 else
8197
8198 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8201 fi
8202
8203 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8204
8205 fi
8206
8207
8208 eval "$wx_cv_use_textbuf"
8209 if test "x$cache" = xyes; then
8210 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8211 fi
8212
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_TEXTBUFFER = yes; then
8215 result=no
8216 else
8217 result=yes
8218 fi
8219 else
8220 result=$wxUSE_TEXTBUFFER
8221 fi
8222
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8225
8226
8227 enablestring=
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8231 defaultval=yes
8232 else
8233 defaultval=no
8234 fi
8235 fi
8236
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8239 # Check whether --enable-textfile was given.
8240 if test "${enable_textfile+set}" = set; then
8241 enableval=$enable_textfile;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8244 else
8245 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8246 fi
8247 cache=yes
8248
8249 else
8250
8251 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8254 fi
8255
8256 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8257
8258 fi
8259
8260
8261 eval "$wx_cv_use_textfile"
8262 if test "x$cache" = xyes; then
8263 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test x"$enablestring" = xdisable; then
8267 if test $wxUSE_TEXTFILE = yes; then
8268 result=no
8269 else
8270 result=yes
8271 fi
8272 else
8273 result=$wxUSE_TEXTFILE
8274 fi
8275
8276 { echo "$as_me:$LINENO: result: $result" >&5
8277 echo "${ECHO_T}$result" >&6; }
8278
8279
8280 enablestring=
8281 defaultval=$wxUSE_ALL_FEATURES
8282 if test -z "$defaultval"; then
8283 if test x"$enablestring" = xdisable; then
8284 defaultval=yes
8285 else
8286 defaultval=no
8287 fi
8288 fi
8289
8290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8292 # Check whether --enable-timer was given.
8293 if test "${enable_timer+set}" = set; then
8294 enableval=$enable_timer;
8295 if test "$enableval" = yes; then
8296 wx_cv_use_timer='wxUSE_TIMER=yes'
8297 else
8298 wx_cv_use_timer='wxUSE_TIMER=no'
8299 fi
8300 cache=yes
8301
8302 else
8303
8304 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8305 if test "x$LINE" != x ; then
8306 eval "DEFAULT_$LINE"
8307 fi
8308
8309 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8310
8311 fi
8312
8313
8314 eval "$wx_cv_use_timer"
8315 if test "x$cache" = xyes; then
8316 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8317 fi
8318
8319 if test x"$enablestring" = xdisable; then
8320 if test $wxUSE_TIMER = yes; then
8321 result=no
8322 else
8323 result=yes
8324 fi
8325 else
8326 result=$wxUSE_TIMER
8327 fi
8328
8329 { echo "$as_me:$LINENO: result: $result" >&5
8330 echo "${ECHO_T}$result" >&6; }
8331
8332
8333 enablestring=
8334 defaultval=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x"$enablestring" = xdisable; then
8337 defaultval=yes
8338 else
8339 defaultval=no
8340 fi
8341 fi
8342
8343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8345 # Check whether --enable-sound was given.
8346 if test "${enable_sound+set}" = set; then
8347 enableval=$enable_sound;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_sound='wxUSE_SOUND=yes'
8350 else
8351 wx_cv_use_sound='wxUSE_SOUND=no'
8352 fi
8353 cache=yes
8354
8355 else
8356
8357 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8358 if test "x$LINE" != x ; then
8359 eval "DEFAULT_$LINE"
8360 fi
8361
8362 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8363
8364 fi
8365
8366
8367 eval "$wx_cv_use_sound"
8368 if test "x$cache" = xyes; then
8369 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8370 fi
8371
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_SOUND = yes; then
8374 result=no
8375 else
8376 result=yes
8377 fi
8378 else
8379 result=$wxUSE_SOUND
8380 fi
8381
8382 { echo "$as_me:$LINENO: result: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8384
8385
8386 enablestring=
8387 defaultval=$wxUSE_ALL_FEATURES
8388 if test -z "$defaultval"; then
8389 if test x"$enablestring" = xdisable; then
8390 defaultval=yes
8391 else
8392 defaultval=no
8393 fi
8394 fi
8395
8396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8398 # Check whether --enable-mediactrl was given.
8399 if test "${enable_mediactrl+set}" = set; then
8400 enableval=$enable_mediactrl;
8401 if test "$enableval" = yes; then
8402 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8403 else
8404 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8405 fi
8406 cache=yes
8407
8408 else
8409
8410 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8411 if test "x$LINE" != x ; then
8412 eval "DEFAULT_$LINE"
8413 fi
8414
8415 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8416
8417 fi
8418
8419
8420 eval "$wx_cv_use_mediactrl"
8421 if test "x$cache" = xyes; then
8422 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8423 fi
8424
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_MEDIACTRL = yes; then
8427 result=no
8428 else
8429 result=yes
8430 fi
8431 else
8432 result=$wxUSE_MEDIACTRL
8433 fi
8434
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8437
8438
8439 enablestring=
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8443 defaultval=yes
8444 else
8445 defaultval=no
8446 fi
8447 fi
8448
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8451 # Check whether --enable-gstreamer8 was given.
8452 if test "${enable_gstreamer8+set}" = set; then
8453 enableval=$enable_gstreamer8;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8456 else
8457 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8458 fi
8459 cache=yes
8460
8461 else
8462
8463 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 fi
8467
8468 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8469
8470 fi
8471
8472
8473 eval "$wx_cv_use_gstreamer8"
8474 if test "x$cache" = xyes; then
8475 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8476 fi
8477
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_GSTREAMER8 = yes; then
8480 result=no
8481 else
8482 result=yes
8483 fi
8484 else
8485 result=$wxUSE_GSTREAMER8
8486 fi
8487
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8490
8491
8492 enablestring=
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8496 defaultval=yes
8497 else
8498 defaultval=no
8499 fi
8500 fi
8501
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8504 # Check whether --enable-printfposparam was given.
8505 if test "${enable_printfposparam+set}" = set; then
8506 enableval=$enable_printfposparam;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8509 else
8510 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8511 fi
8512 cache=yes
8513
8514 else
8515
8516 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8519 fi
8520
8521 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_printfposparam"
8527 if test "x$cache" = xyes; then
8528 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8529 fi
8530
8531 if test x"$enablestring" = xdisable; then
8532 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8533 result=no
8534 else
8535 result=yes
8536 fi
8537 else
8538 result=$wxUSE_PRINTF_POS_PARAMS
8539 fi
8540
8541 { echo "$as_me:$LINENO: result: $result" >&5
8542 echo "${ECHO_T}$result" >&6; }
8543
8544
8545 enablestring=
8546 defaultval=$wxUSE_ALL_FEATURES
8547 if test -z "$defaultval"; then
8548 if test x"$enablestring" = xdisable; then
8549 defaultval=yes
8550 else
8551 defaultval=no
8552 fi
8553 fi
8554
8555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8556 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8557 # Check whether --enable-zipstream was given.
8558 if test "${enable_zipstream+set}" = set; then
8559 enableval=$enable_zipstream;
8560 if test "$enableval" = yes; then
8561 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8562 else
8563 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8564 fi
8565 cache=yes
8566
8567 else
8568
8569 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8570 if test "x$LINE" != x ; then
8571 eval "DEFAULT_$LINE"
8572 fi
8573
8574 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8575
8576 fi
8577
8578
8579 eval "$wx_cv_use_zipstream"
8580 if test "x$cache" = xyes; then
8581 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8582 fi
8583
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_ZIPSTREAM = yes; then
8586 result=no
8587 else
8588 result=yes
8589 fi
8590 else
8591 result=$wxUSE_ZIPSTREAM
8592 fi
8593
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8596
8597
8598
8599 enablestring=
8600 defaultval=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x"$enablestring" = xdisable; then
8603 defaultval=yes
8604 else
8605 defaultval=no
8606 fi
8607 fi
8608
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8611 # Check whether --enable-url was given.
8612 if test "${enable_url+set}" = set; then
8613 enableval=$enable_url;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_url='wxUSE_URL=yes'
8616 else
8617 wx_cv_use_url='wxUSE_URL=no'
8618 fi
8619 cache=yes
8620
8621 else
8622
8623 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 fi
8627
8628 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8629
8630 fi
8631
8632
8633 eval "$wx_cv_use_url"
8634 if test "x$cache" = xyes; then
8635 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_URL = yes; then
8640 result=no
8641 else
8642 result=yes
8643 fi
8644 else
8645 result=$wxUSE_URL
8646 fi
8647
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8650
8651
8652 enablestring=
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8656 defaultval=yes
8657 else
8658 defaultval=no
8659 fi
8660 fi
8661
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8664 # Check whether --enable-variant was given.
8665 if test "${enable_variant+set}" = set; then
8666 enableval=$enable_variant;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_variant='wxUSE_VARIANT=yes'
8669 else
8670 wx_cv_use_variant='wxUSE_VARIANT=no'
8671 fi
8672 cache=yes
8673
8674 else
8675
8676 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8679 fi
8680
8681 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8682
8683 fi
8684
8685
8686 eval "$wx_cv_use_variant"
8687 if test "x$cache" = xyes; then
8688 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8689 fi
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_VARIANT = yes; then
8693 result=no
8694 else
8695 result=yes
8696 fi
8697 else
8698 result=$wxUSE_VARIANT
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8717 # Check whether --enable-protocol was given.
8718 if test "${enable_protocol+set}" = set; then
8719 enableval=$enable_protocol;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8722 else
8723 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8724 fi
8725 cache=yes
8726
8727 else
8728
8729 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 fi
8733
8734 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8735
8736 fi
8737
8738
8739 eval "$wx_cv_use_protocol"
8740 if test "x$cache" = xyes; then
8741 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8742 fi
8743
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_PROTOCOL = yes; then
8746 result=no
8747 else
8748 result=yes
8749 fi
8750 else
8751 result=$wxUSE_PROTOCOL
8752 fi
8753
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8756
8757
8758 enablestring=
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8762 defaultval=yes
8763 else
8764 defaultval=no
8765 fi
8766 fi
8767
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8770 # Check whether --enable-protocol_http was given.
8771 if test "${enable_protocol_http+set}" = set; then
8772 enableval=$enable_protocol_http;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8775 else
8776 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8777 fi
8778 cache=yes
8779
8780 else
8781
8782 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8785 fi
8786
8787 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8788
8789 fi
8790
8791
8792 eval "$wx_cv_use_protocol_http"
8793 if test "x$cache" = xyes; then
8794 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8795 fi
8796
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_PROTOCOL_HTTP = yes; then
8799 result=no
8800 else
8801 result=yes
8802 fi
8803 else
8804 result=$wxUSE_PROTOCOL_HTTP
8805 fi
8806
8807 { echo "$as_me:$LINENO: result: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8809
8810
8811 enablestring=
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8815 defaultval=yes
8816 else
8817 defaultval=no
8818 fi
8819 fi
8820
8821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8823 # Check whether --enable-protocol_ftp was given.
8824 if test "${enable_protocol_ftp+set}" = set; then
8825 enableval=$enable_protocol_ftp;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8828 else
8829 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8830 fi
8831 cache=yes
8832
8833 else
8834
8835 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 fi
8839
8840 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8841
8842 fi
8843
8844
8845 eval "$wx_cv_use_protocol_ftp"
8846 if test "x$cache" = xyes; then
8847 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8848 fi
8849
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_PROTOCOL_FTP = yes; then
8852 result=no
8853 else
8854 result=yes
8855 fi
8856 else
8857 result=$wxUSE_PROTOCOL_FTP
8858 fi
8859
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8862
8863
8864 enablestring=
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8868 defaultval=yes
8869 else
8870 defaultval=no
8871 fi
8872 fi
8873
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8876 # Check whether --enable-protocol_file was given.
8877 if test "${enable_protocol_file+set}" = set; then
8878 enableval=$enable_protocol_file;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8881 else
8882 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8883 fi
8884 cache=yes
8885
8886 else
8887
8888 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8889 if test "x$LINE" != x ; then
8890 eval "DEFAULT_$LINE"
8891 fi
8892
8893 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8894
8895 fi
8896
8897
8898 eval "$wx_cv_use_protocol_file"
8899 if test "x$cache" = xyes; then
8900 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8901 fi
8902
8903 if test x"$enablestring" = xdisable; then
8904 if test $wxUSE_PROTOCOL_FILE = yes; then
8905 result=no
8906 else
8907 result=yes
8908 fi
8909 else
8910 result=$wxUSE_PROTOCOL_FILE
8911 fi
8912
8913 { echo "$as_me:$LINENO: result: $result" >&5
8914 echo "${ECHO_T}$result" >&6; }
8915
8916
8917
8918 enablestring=
8919 defaultval=$wxUSE_ALL_FEATURES
8920 if test -z "$defaultval"; then
8921 if test x"$enablestring" = xdisable; then
8922 defaultval=yes
8923 else
8924 defaultval=no
8925 fi
8926 fi
8927
8928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8930 # Check whether --enable-threads was given.
8931 if test "${enable_threads+set}" = set; then
8932 enableval=$enable_threads;
8933 if test "$enableval" = yes; then
8934 wx_cv_use_threads='wxUSE_THREADS=yes'
8935 else
8936 wx_cv_use_threads='wxUSE_THREADS=no'
8937 fi
8938 cache=yes
8939
8940 else
8941
8942 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8943 if test "x$LINE" != x ; then
8944 eval "DEFAULT_$LINE"
8945 fi
8946
8947 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8948
8949 fi
8950
8951
8952 eval "$wx_cv_use_threads"
8953 if test "x$cache" = xyes; then
8954 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8955 fi
8956
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_THREADS = yes; then
8959 result=no
8960 else
8961 result=yes
8962 fi
8963 else
8964 result=$wxUSE_THREADS
8965 fi
8966
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8969
8970
8971 if test "$wxUSE_GUI" = "yes"; then
8972
8973
8974
8975 enablestring=
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8979 defaultval=yes
8980 else
8981 defaultval=no
8982 fi
8983 fi
8984
8985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8987 # Check whether --enable-docview was given.
8988 if test "${enable_docview+set}" = set; then
8989 enableval=$enable_docview;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8992 else
8993 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8994 fi
8995 cache=yes
8996
8997 else
8998
8999 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 fi
9003
9004 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9005
9006 fi
9007
9008
9009 eval "$wx_cv_use_docview"
9010 if test "x$cache" = xyes; then
9011 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9012 fi
9013
9014 if test x"$enablestring" = xdisable; then
9015 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9016 result=no
9017 else
9018 result=yes
9019 fi
9020 else
9021 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9022 fi
9023
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9026
9027
9028 enablestring=
9029 defaultval=$wxUSE_ALL_FEATURES
9030 if test -z "$defaultval"; then
9031 if test x"$enablestring" = xdisable; then
9032 defaultval=yes
9033 else
9034 defaultval=no
9035 fi
9036 fi
9037
9038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9040 # Check whether --enable-help was given.
9041 if test "${enable_help+set}" = set; then
9042 enableval=$enable_help;
9043 if test "$enableval" = yes; then
9044 wx_cv_use_help='wxUSE_HELP=yes'
9045 else
9046 wx_cv_use_help='wxUSE_HELP=no'
9047 fi
9048 cache=yes
9049
9050 else
9051
9052 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9053 if test "x$LINE" != x ; then
9054 eval "DEFAULT_$LINE"
9055 fi
9056
9057 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9058
9059 fi
9060
9061
9062 eval "$wx_cv_use_help"
9063 if test "x$cache" = xyes; then
9064 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9065 fi
9066
9067 if test x"$enablestring" = xdisable; then
9068 if test $wxUSE_HELP = yes; then
9069 result=no
9070 else
9071 result=yes
9072 fi
9073 else
9074 result=$wxUSE_HELP
9075 fi
9076
9077 { echo "$as_me:$LINENO: result: $result" >&5
9078 echo "${ECHO_T}$result" >&6; }
9079
9080
9081 enablestring=
9082 defaultval=$wxUSE_ALL_FEATURES
9083 if test -z "$defaultval"; then
9084 if test x"$enablestring" = xdisable; then
9085 defaultval=yes
9086 else
9087 defaultval=no
9088 fi
9089 fi
9090
9091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9092 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9093 # Check whether --enable-mshtmlhelp was given.
9094 if test "${enable_mshtmlhelp+set}" = set; then
9095 enableval=$enable_mshtmlhelp;
9096 if test "$enableval" = yes; then
9097 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9098 else
9099 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9100 fi
9101 cache=yes
9102
9103 else
9104
9105 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9106 if test "x$LINE" != x ; then
9107 eval "DEFAULT_$LINE"
9108 fi
9109
9110 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9111
9112 fi
9113
9114
9115 eval "$wx_cv_use_mshtmlhelp"
9116 if test "x$cache" = xyes; then
9117 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_MS_HTML_HELP = yes; then
9122 result=no
9123 else
9124 result=yes
9125 fi
9126 else
9127 result=$wxUSE_MS_HTML_HELP
9128 fi
9129
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9132
9133
9134 enablestring=
9135 defaultval=$wxUSE_ALL_FEATURES
9136 if test -z "$defaultval"; then
9137 if test x"$enablestring" = xdisable; then
9138 defaultval=yes
9139 else
9140 defaultval=no
9141 fi
9142 fi
9143
9144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9146 # Check whether --enable-html was given.
9147 if test "${enable_html+set}" = set; then
9148 enableval=$enable_html;
9149 if test "$enableval" = yes; then
9150 wx_cv_use_html='wxUSE_HTML=yes'
9151 else
9152 wx_cv_use_html='wxUSE_HTML=no'
9153 fi
9154 cache=yes
9155
9156 else
9157
9158 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x ; then
9160 eval "DEFAULT_$LINE"
9161 fi
9162
9163 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9164
9165 fi
9166
9167
9168 eval "$wx_cv_use_html"
9169 if test "x$cache" = xyes; then
9170 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9171 fi
9172
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_HTML = yes; then
9175 result=no
9176 else
9177 result=yes
9178 fi
9179 else
9180 result=$wxUSE_HTML
9181 fi
9182
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9185
9186
9187 enablestring=
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9191 defaultval=yes
9192 else
9193 defaultval=no
9194 fi
9195 fi
9196
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9199 # Check whether --enable-htmlhelp was given.
9200 if test "${enable_htmlhelp+set}" = set; then
9201 enableval=$enable_htmlhelp;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9204 else
9205 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9206 fi
9207 cache=yes
9208
9209 else
9210
9211 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9214 fi
9215
9216 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_htmlhelp"
9222 if test "x$cache" = xyes; then
9223 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9224 fi
9225
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_WXHTML_HELP = yes; then
9228 result=no
9229 else
9230 result=yes
9231 fi
9232 else
9233 result=$wxUSE_WXHTML_HELP
9234 fi
9235
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9238
9239
9240 enablestring=
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9244 defaultval=yes
9245 else
9246 defaultval=no
9247 fi
9248 fi
9249
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9252 # Check whether --enable-xrc was given.
9253 if test "${enable_xrc+set}" = set; then
9254 enableval=$enable_xrc;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_xrc='wxUSE_XRC=yes'
9257 else
9258 wx_cv_use_xrc='wxUSE_XRC=no'
9259 fi
9260 cache=yes
9261
9262 else
9263
9264 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 fi
9268
9269 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_xrc"
9275 if test "x$cache" = xyes; then
9276 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9277 fi
9278
9279 if test x"$enablestring" = xdisable; then
9280 if test $wxUSE_XRC = yes; then
9281 result=no
9282 else
9283 result=yes
9284 fi
9285 else
9286 result=$wxUSE_XRC
9287 fi
9288
9289 { echo "$as_me:$LINENO: result: $result" >&5
9290 echo "${ECHO_T}$result" >&6; }
9291
9292
9293 enablestring=
9294 defaultval=$wxUSE_ALL_FEATURES
9295 if test -z "$defaultval"; then
9296 if test x"$enablestring" = xdisable; then
9297 defaultval=yes
9298 else
9299 defaultval=no
9300 fi
9301 fi
9302
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9305 # Check whether --enable-aui was given.
9306 if test "${enable_aui+set}" = set; then
9307 enableval=$enable_aui;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_aui='wxUSE_AUI=yes'
9310 else
9311 wx_cv_use_aui='wxUSE_AUI=no'
9312 fi
9313 cache=yes
9314
9315 else
9316
9317 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9320 fi
9321
9322 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9323
9324 fi
9325
9326
9327 eval "$wx_cv_use_aui"
9328 if test "x$cache" = xyes; then
9329 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_AUI = yes; then
9334 result=no
9335 else
9336 result=yes
9337 fi
9338 else
9339 result=$wxUSE_AUI
9340 fi
9341
9342 { echo "$as_me:$LINENO: result: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9344
9345
9346 enablestring=
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9350 defaultval=yes
9351 else
9352 defaultval=no
9353 fi
9354 fi
9355
9356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9358 # Check whether --enable-stc was given.
9359 if test "${enable_stc+set}" = set; then
9360 enableval=$enable_stc;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_stc='wxUSE_STC=yes'
9363 else
9364 wx_cv_use_stc='wxUSE_STC=no'
9365 fi
9366 cache=yes
9367
9368 else
9369
9370 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9373 fi
9374
9375 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9376
9377 fi
9378
9379
9380 eval "$wx_cv_use_stc"
9381 if test "x$cache" = xyes; then
9382 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9383 fi
9384
9385 if test x"$enablestring" = xdisable; then
9386 if test $wxUSE_STC = yes; then
9387 result=no
9388 else
9389 result=yes
9390 fi
9391 else
9392 result=$wxUSE_STC
9393 fi
9394
9395 { echo "$as_me:$LINENO: result: $result" >&5
9396 echo "${ECHO_T}$result" >&6; }
9397
9398
9399 enablestring=
9400 defaultval=$wxUSE_ALL_FEATURES
9401 if test -z "$defaultval"; then
9402 if test x"$enablestring" = xdisable; then
9403 defaultval=yes
9404 else
9405 defaultval=no
9406 fi
9407 fi
9408
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9411 # Check whether --enable-constraints was given.
9412 if test "${enable_constraints+set}" = set; then
9413 enableval=$enable_constraints;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9416 else
9417 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9418 fi
9419 cache=yes
9420
9421 else
9422
9423 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9426 fi
9427
9428 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9429
9430 fi
9431
9432
9433 eval "$wx_cv_use_constraints"
9434 if test "x$cache" = xyes; then
9435 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test x"$enablestring" = xdisable; then
9439 if test $wxUSE_CONSTRAINTS = yes; then
9440 result=no
9441 else
9442 result=yes
9443 fi
9444 else
9445 result=$wxUSE_CONSTRAINTS
9446 fi
9447
9448 { echo "$as_me:$LINENO: result: $result" >&5
9449 echo "${ECHO_T}$result" >&6; }
9450
9451
9452 enablestring=
9453 defaultval=$wxUSE_ALL_FEATURES
9454 if test -z "$defaultval"; then
9455 if test x"$enablestring" = xdisable; then
9456 defaultval=yes
9457 else
9458 defaultval=no
9459 fi
9460 fi
9461
9462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9464 # Check whether --enable-printarch was given.
9465 if test "${enable_printarch+set}" = set; then
9466 enableval=$enable_printarch;
9467 if test "$enableval" = yes; then
9468 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9469 else
9470 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9471 fi
9472 cache=yes
9473
9474 else
9475
9476 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9479 fi
9480
9481 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9482
9483 fi
9484
9485
9486 eval "$wx_cv_use_printarch"
9487 if test "x$cache" = xyes; then
9488 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9489 fi
9490
9491 if test x"$enablestring" = xdisable; then
9492 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9493 result=no
9494 else
9495 result=yes
9496 fi
9497 else
9498 result=$wxUSE_PRINTING_ARCHITECTURE
9499 fi
9500
9501 { echo "$as_me:$LINENO: result: $result" >&5
9502 echo "${ECHO_T}$result" >&6; }
9503
9504
9505 enablestring=
9506 defaultval=$wxUSE_ALL_FEATURES
9507 if test -z "$defaultval"; then
9508 if test x"$enablestring" = xdisable; then
9509 defaultval=yes
9510 else
9511 defaultval=no
9512 fi
9513 fi
9514
9515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9517 # Check whether --enable-mdi was given.
9518 if test "${enable_mdi+set}" = set; then
9519 enableval=$enable_mdi;
9520 if test "$enableval" = yes; then
9521 wx_cv_use_mdi='wxUSE_MDI=yes'
9522 else
9523 wx_cv_use_mdi='wxUSE_MDI=no'
9524 fi
9525 cache=yes
9526
9527 else
9528
9529 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 fi
9533
9534 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9535
9536 fi
9537
9538
9539 eval "$wx_cv_use_mdi"
9540 if test "x$cache" = xyes; then
9541 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9542 fi
9543
9544 if test x"$enablestring" = xdisable; then
9545 if test $wxUSE_MDI = yes; then
9546 result=no
9547 else
9548 result=yes
9549 fi
9550 else
9551 result=$wxUSE_MDI
9552 fi
9553
9554 { echo "$as_me:$LINENO: result: $result" >&5
9555 echo "${ECHO_T}$result" >&6; }
9556
9557
9558 enablestring=
9559 defaultval=$wxUSE_ALL_FEATURES
9560 if test -z "$defaultval"; then
9561 if test x"$enablestring" = xdisable; then
9562 defaultval=yes
9563 else
9564 defaultval=no
9565 fi
9566 fi
9567
9568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9570 # Check whether --enable-mdidoc was given.
9571 if test "${enable_mdidoc+set}" = set; then
9572 enableval=$enable_mdidoc;
9573 if test "$enableval" = yes; then
9574 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9575 else
9576 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9577 fi
9578 cache=yes
9579
9580 else
9581
9582 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9583 if test "x$LINE" != x ; then
9584 eval "DEFAULT_$LINE"
9585 fi
9586
9587 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9588
9589 fi
9590
9591
9592 eval "$wx_cv_use_mdidoc"
9593 if test "x$cache" = xyes; then
9594 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test x"$enablestring" = xdisable; then
9598 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9599 result=no
9600 else
9601 result=yes
9602 fi
9603 else
9604 result=$wxUSE_MDI_ARCHITECTURE
9605 fi
9606
9607 { echo "$as_me:$LINENO: result: $result" >&5
9608 echo "${ECHO_T}$result" >&6; }
9609
9610
9611 enablestring=
9612 defaultval=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x"$enablestring" = xdisable; then
9615 defaultval=yes
9616 else
9617 defaultval=no
9618 fi
9619 fi
9620
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9623 # Check whether --enable-loggui was given.
9624 if test "${enable_loggui+set}" = set; then
9625 enableval=$enable_loggui;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9628 else
9629 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9630 fi
9631 cache=yes
9632
9633 else
9634
9635 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 fi
9639
9640 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9641
9642 fi
9643
9644
9645 eval "$wx_cv_use_loggui"
9646 if test "x$cache" = xyes; then
9647 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9648 fi
9649
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_LOGGUI = yes; then
9652 result=no
9653 else
9654 result=yes
9655 fi
9656 else
9657 result=$wxUSE_LOGGUI
9658 fi
9659
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9662
9663
9664 enablestring=
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9668 defaultval=yes
9669 else
9670 defaultval=no
9671 fi
9672 fi
9673
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9676 # Check whether --enable-logwin was given.
9677 if test "${enable_logwin+set}" = set; then
9678 enableval=$enable_logwin;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9681 else
9682 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9683 fi
9684 cache=yes
9685
9686 else
9687
9688 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 fi
9692
9693 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9694
9695 fi
9696
9697
9698 eval "$wx_cv_use_logwin"
9699 if test "x$cache" = xyes; then
9700 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9701 fi
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_LOGWINDOW = yes; then
9705 result=no
9706 else
9707 result=yes
9708 fi
9709 else
9710 result=$wxUSE_LOGWINDOW
9711 fi
9712
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9715
9716
9717 enablestring=
9718 defaultval=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x"$enablestring" = xdisable; then
9721 defaultval=yes
9722 else
9723 defaultval=no
9724 fi
9725 fi
9726
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9729 # Check whether --enable-logdialog was given.
9730 if test "${enable_logdialog+set}" = set; then
9731 enableval=$enable_logdialog;
9732 if test "$enableval" = yes; then
9733 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9734 else
9735 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9736 fi
9737 cache=yes
9738
9739 else
9740
9741 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9744 fi
9745
9746 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9747
9748 fi
9749
9750
9751 eval "$wx_cv_use_logdialog"
9752 if test "x$cache" = xyes; then
9753 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9754 fi
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_LOGDIALOG = yes; then
9758 result=no
9759 else
9760 result=yes
9761 fi
9762 else
9763 result=$wxUSE_LOGDIALOG
9764 fi
9765
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9768
9769
9770 enablestring=
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9774 defaultval=yes
9775 else
9776 defaultval=no
9777 fi
9778 fi
9779
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9782 # Check whether --enable-webkit was given.
9783 if test "${enable_webkit+set}" = set; then
9784 enableval=$enable_webkit;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9787 else
9788 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9789 fi
9790 cache=yes
9791
9792 else
9793
9794 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9797 fi
9798
9799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9800
9801 fi
9802
9803
9804 eval "$wx_cv_use_webkit"
9805 if test "x$cache" = xyes; then
9806 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_WEBKIT = yes; then
9811 result=no
9812 else
9813 result=yes
9814 fi
9815 else
9816 result=$wxUSE_WEBKIT
9817 fi
9818
9819 { echo "$as_me:$LINENO: result: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9821
9822
9823 enablestring=
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9827 defaultval=yes
9828 else
9829 defaultval=no
9830 fi
9831 fi
9832
9833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9835 # Check whether --enable-richtext was given.
9836 if test "${enable_richtext+set}" = set; then
9837 enableval=$enable_richtext;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9840 else
9841 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9842 fi
9843 cache=yes
9844
9845 else
9846
9847 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9848 if test "x$LINE" != x ; then
9849 eval "DEFAULT_$LINE"
9850 fi
9851
9852 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9853
9854 fi
9855
9856
9857 eval "$wx_cv_use_richtext"
9858 if test "x$cache" = xyes; then
9859 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9860 fi
9861
9862 if test x"$enablestring" = xdisable; then
9863 if test $wxUSE_RICHTEXT = yes; then
9864 result=no
9865 else
9866 result=yes
9867 fi
9868 else
9869 result=$wxUSE_RICHTEXT
9870 fi
9871
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9874
9875
9876 enablestring=
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9880 defaultval=yes
9881 else
9882 defaultval=no
9883 fi
9884 fi
9885
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9888 # Check whether --enable-graphics_ctx was given.
9889 if test "${enable_graphics_ctx+set}" = set; then
9890 enableval=$enable_graphics_ctx;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9893 else
9894 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9895 fi
9896 cache=yes
9897
9898 else
9899
9900 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 fi
9904
9905 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9906
9907 fi
9908
9909
9910 eval "$wx_cv_use_graphics_ctx"
9911 if test "x$cache" = xyes; then
9912 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9913 fi
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9917 result=no
9918 else
9919 result=yes
9920 fi
9921 else
9922 result=$wxUSE_GRAPHICS_CONTEXT
9923 fi
9924
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9941 # Check whether --enable-postscript was given.
9942 if test "${enable_postscript+set}" = set; then
9943 enableval=$enable_postscript;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9946 else
9947 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9948 fi
9949 cache=yes
9950
9951 else
9952
9953 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x ; then
9955 eval "DEFAULT_$LINE"
9956 fi
9957
9958 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9959
9960 fi
9961
9962
9963 eval "$wx_cv_use_postscript"
9964 if test "x$cache" = xyes; then
9965 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9966 fi
9967
9968 if test x"$enablestring" = xdisable; then
9969 if test $wxUSE_POSTSCRIPT = yes; then
9970 result=no
9971 else
9972 result=yes
9973 fi
9974 else
9975 result=$wxUSE_POSTSCRIPT
9976 fi
9977
9978 { echo "$as_me:$LINENO: result: $result" >&5
9979 echo "${ECHO_T}$result" >&6; }
9980
9981
9982 enablestring=
9983 defaultval=$wxUSE_ALL_FEATURES
9984 if test -z "$defaultval"; then
9985 if test x"$enablestring" = xdisable; then
9986 defaultval=yes
9987 else
9988 defaultval=no
9989 fi
9990 fi
9991
9992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9994 # Check whether --enable-svg was given.
9995 if test "${enable_svg+set}" = set; then
9996 enableval=$enable_svg;
9997 if test "$enableval" = yes; then
9998 wx_cv_use_svg='wxUSE_SVG=yes'
9999 else
10000 wx_cv_use_svg='wxUSE_SVG=no'
10001 fi
10002 cache=yes
10003
10004 else
10005
10006 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 fi
10010
10011 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10012
10013 fi
10014
10015
10016 eval "$wx_cv_use_svg"
10017 if test "x$cache" = xyes; then
10018 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_SVG = yes; then
10023 result=no
10024 else
10025 result=yes
10026 fi
10027 else
10028 result=$wxUSE_SVG
10029 fi
10030
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10033
10034
10035
10036
10037 enablestring=
10038 defaultval=$wxUSE_ALL_FEATURES
10039 if test -z "$defaultval"; then
10040 if test x"$enablestring" = xdisable; then
10041 defaultval=yes
10042 else
10043 defaultval=no
10044 fi
10045 fi
10046
10047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10048 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10049 # Check whether --enable-clipboard was given.
10050 if test "${enable_clipboard+set}" = set; then
10051 enableval=$enable_clipboard;
10052 if test "$enableval" = yes; then
10053 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10054 else
10055 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10056 fi
10057 cache=yes
10058
10059 else
10060
10061 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x ; then
10063 eval "DEFAULT_$LINE"
10064 fi
10065
10066 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10067
10068 fi
10069
10070
10071 eval "$wx_cv_use_clipboard"
10072 if test "x$cache" = xyes; then
10073 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10074 fi
10075
10076 if test x"$enablestring" = xdisable; then
10077 if test $wxUSE_CLIPBOARD = yes; then
10078 result=no
10079 else
10080 result=yes
10081 fi
10082 else
10083 result=$wxUSE_CLIPBOARD
10084 fi
10085
10086 { echo "$as_me:$LINENO: result: $result" >&5
10087 echo "${ECHO_T}$result" >&6; }
10088
10089
10090 enablestring=
10091 defaultval=$wxUSE_ALL_FEATURES
10092 if test -z "$defaultval"; then
10093 if test x"$enablestring" = xdisable; then
10094 defaultval=yes
10095 else
10096 defaultval=no
10097 fi
10098 fi
10099
10100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10102 # Check whether --enable-dnd was given.
10103 if test "${enable_dnd+set}" = set; then
10104 enableval=$enable_dnd;
10105 if test "$enableval" = yes; then
10106 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10107 else
10108 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10109 fi
10110 cache=yes
10111
10112 else
10113
10114 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10115 if test "x$LINE" != x ; then
10116 eval "DEFAULT_$LINE"
10117 fi
10118
10119 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10120
10121 fi
10122
10123
10124 eval "$wx_cv_use_dnd"
10125 if test "x$cache" = xyes; then
10126 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10127 fi
10128
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_DRAG_AND_DROP = yes; then
10131 result=no
10132 else
10133 result=yes
10134 fi
10135 else
10136 result=$wxUSE_DRAG_AND_DROP
10137 fi
10138
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10141
10142
10143 enablestring=
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10147 defaultval=yes
10148 else
10149 defaultval=no
10150 fi
10151 fi
10152
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10155 # Check whether --enable-metafile was given.
10156 if test "${enable_metafile+set}" = set; then
10157 enableval=$enable_metafile;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10160 else
10161 wx_cv_use_metafile='wxUSE_METAFILE=no'
10162 fi
10163 cache=yes
10164
10165 else
10166
10167 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x ; then
10169 eval "DEFAULT_$LINE"
10170 fi
10171
10172 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_metafile"
10178 if test "x$cache" = xyes; then
10179 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test x"$enablestring" = xdisable; then
10183 if test $wxUSE_METAFILE = yes; then
10184 result=no
10185 else
10186 result=yes
10187 fi
10188 else
10189 result=$wxUSE_METAFILE
10190 fi
10191
10192 { echo "$as_me:$LINENO: result: $result" >&5
10193 echo "${ECHO_T}$result" >&6; }
10194
10195
10196
10197 DEFAULT_wxUSE_CONTROLS=none
10198
10199 enablestring=disable
10200 defaultval=
10201 if test -z "$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10203 defaultval=yes
10204 else
10205 defaultval=no
10206 fi
10207 fi
10208
10209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10210 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10211 # Check whether --enable-controls was given.
10212 if test "${enable_controls+set}" = set; then
10213 enableval=$enable_controls;
10214 if test "$enableval" = yes; then
10215 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10216 else
10217 wx_cv_use_controls='wxUSE_CONTROLS=no'
10218 fi
10219 cache=yes
10220
10221 else
10222
10223 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10226 fi
10227
10228 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10229
10230 fi
10231
10232
10233 eval "$wx_cv_use_controls"
10234 if test "x$cache" = xyes; then
10235 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10236 fi
10237
10238 if test x"$enablestring" = xdisable; then
10239 if test $wxUSE_CONTROLS = yes; then
10240 result=no
10241 else
10242 result=yes
10243 fi
10244 else
10245 result=$wxUSE_CONTROLS
10246 fi
10247
10248 { echo "$as_me:$LINENO: result: $result" >&5
10249 echo "${ECHO_T}$result" >&6; }
10250
10251
10252 if test "$wxUSE_CONTROLS" = "yes"; then
10253 DEFAULT_wxUSE_ACCEL=yes
10254 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10255 DEFAULT_wxUSE_BMPBUTTON=yes
10256 DEFAULT_wxUSE_BUTTON=yes
10257 DEFAULT_wxUSE_CALCTRL=yes
10258 DEFAULT_wxUSE_CARET=yes
10259 DEFAULT_wxUSE_COMBOBOX=yes
10260 DEFAULT_wxUSE_CHECKBOX=yes
10261 DEFAULT_wxUSE_CHECKLISTBOX=yes
10262 DEFAULT_wxUSE_CHOICE=yes
10263 DEFAULT_wxUSE_CHOICEBOOK=yes
10264 DEFAULT_wxUSE_COLLPANE=yes
10265 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10266 DEFAULT_wxUSE_COMBOBOX=yes
10267 DEFAULT_wxUSE_DATEPICKCTRL=yes
10268 DEFAULT_wxUSE_DISPLAY=yes
10269 DEFAULT_wxUSE_DETECT_SM=yes
10270 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10271 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10272 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10273 DEFAULT_wxUSE_GAUGE=yes
10274 DEFAULT_wxUSE_GRID=yes
10275 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10276 DEFAULT_wxUSE_DATAVIEWCTRL=no
10277 DEFAULT_wxUSE_IMAGLIST=yes
10278 DEFAULT_wxUSE_LISTBOOK=yes
10279 DEFAULT_wxUSE_LISTBOX=yes
10280 DEFAULT_wxUSE_LISTCTRL=yes
10281 DEFAULT_wxUSE_NOTEBOOK=yes
10282 DEFAULT_wxUSE_RADIOBOX=yes
10283 DEFAULT_wxUSE_RADIOBTN=yes
10284 DEFAULT_wxUSE_SASH=yes
10285 DEFAULT_wxUSE_SCROLLBAR=yes
10286 DEFAULT_wxUSE_SEARCHCTRL=yes
10287 DEFAULT_wxUSE_SLIDER=yes
10288 DEFAULT_wxUSE_SPINBTN=yes
10289 DEFAULT_wxUSE_SPINCTRL=yes
10290 DEFAULT_wxUSE_SPLITTER=yes
10291 DEFAULT_wxUSE_STATBMP=yes
10292 DEFAULT_wxUSE_STATBOX=yes
10293 DEFAULT_wxUSE_STATLINE=yes
10294 DEFAULT_wxUSE_STATUSBAR=yes
10295 DEFAULT_wxUSE_TAB_DIALOG=yes
10296 DEFAULT_wxUSE_TOGGLEBTN=yes
10297 DEFAULT_wxUSE_TOOLBAR=yes
10298 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10299 DEFAULT_wxUSE_TOOLTIPS=yes
10300 DEFAULT_wxUSE_TREEBOOK=yes
10301 DEFAULT_wxUSE_TOOLBOOK=yes
10302 DEFAULT_wxUSE_TREECTRL=yes
10303 DEFAULT_wxUSE_POPUPWIN=yes
10304 DEFAULT_wxUSE_TIPWINDOW=yes
10305 elif test "$wxUSE_CONTROLS" = "no"; then
10306 DEFAULT_wxUSE_ACCEL=no
10307 DEFAULT_wxUSE_ANIMATIONCTRL=no
10308 DEFAULT_wxUSE_BMPBUTTON=no
10309 DEFAULT_wxUSE_BUTTON=no
10310 DEFAULT_wxUSE_CALCTRL=no
10311 DEFAULT_wxUSE_CARET=no
10312 DEFAULT_wxUSE_COLLPANE=no
10313 DEFAULT_wxUSE_COMBOBOX=no
10314 DEFAULT_wxUSE_CHECKBOX=no
10315 DEFAULT_wxUSE_CHECKLISTBOX=no
10316 DEFAULT_wxUSE_CHOICE=no
10317 DEFAULT_wxUSE_CHOICEBOOK=no
10318 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10319 DEFAULT_wxUSE_COMBOBOX=no
10320 DEFAULT_wxUSE_DATEPICKCTRL=no
10321 DEFAULT_wxUSE_DISPLAY=no
10322 DEFAULT_wxUSE_DETECT_SM=no
10323 DEFAULT_wxUSE_DIRPICKERCTRL=no
10324 DEFAULT_wxUSE_FILEPICKERCTRL=no
10325 DEFAULT_wxUSE_FONTPICKERCTRL=no
10326 DEFAULT_wxUSE_GAUGE=no
10327 DEFAULT_wxUSE_GRID=no
10328 DEFAULT_wxUSE_HYPERLINKCTRL=no
10329 DEFAULT_wxUSE_DATAVIEWCTRL=no
10330 DEFAULT_wxUSE_IMAGLIST=no
10331 DEFAULT_wxUSE_LISTBOOK=no
10332 DEFAULT_wxUSE_LISTBOX=no
10333 DEFAULT_wxUSE_LISTCTRL=no
10334 DEFAULT_wxUSE_NOTEBOOK=no
10335 DEFAULT_wxUSE_RADIOBOX=no
10336 DEFAULT_wxUSE_RADIOBTN=no
10337 DEFAULT_wxUSE_SASH=no
10338 DEFAULT_wxUSE_SCROLLBAR=no
10339 DEFAULT_wxUSE_SEARCHCTRL=no
10340 DEFAULT_wxUSE_SLIDER=no
10341 DEFAULT_wxUSE_SPINBTN=no
10342 DEFAULT_wxUSE_SPINCTRL=no
10343 DEFAULT_wxUSE_SPLITTER=no
10344 DEFAULT_wxUSE_STATBMP=no
10345 DEFAULT_wxUSE_STATBOX=no
10346 DEFAULT_wxUSE_STATLINE=no
10347 DEFAULT_wxUSE_STATUSBAR=no
10348 DEFAULT_wxUSE_TAB_DIALOG=no
10349 DEFAULT_wxUSE_TOGGLEBTN=no
10350 DEFAULT_wxUSE_TOOLBAR=no
10351 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10352 DEFAULT_wxUSE_TOOLTIPS=no
10353 DEFAULT_wxUSE_TREEBOOK=no
10354 DEFAULT_wxUSE_TOOLBOOK=no
10355 DEFAULT_wxUSE_TREECTRL=no
10356 DEFAULT_wxUSE_POPUPWIN=no
10357 DEFAULT_wxUSE_TIPWINDOW=no
10358 fi
10359
10360
10361 enablestring=
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10365 defaultval=yes
10366 else
10367 defaultval=no
10368 fi
10369 fi
10370
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10373 # Check whether --enable-accel was given.
10374 if test "${enable_accel+set}" = set; then
10375 enableval=$enable_accel;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_accel='wxUSE_ACCEL=yes'
10378 else
10379 wx_cv_use_accel='wxUSE_ACCEL=no'
10380 fi
10381 cache=yes
10382
10383 else
10384
10385 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10386 if test "x$LINE" != x ; then
10387 eval "DEFAULT_$LINE"
10388 fi
10389
10390 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10391
10392 fi
10393
10394
10395 eval "$wx_cv_use_accel"
10396 if test "x$cache" = xyes; then
10397 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_ACCEL = yes; then
10402 result=no
10403 else
10404 result=yes
10405 fi
10406 else
10407 result=$wxUSE_ACCEL
10408 fi
10409
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10412
10413
10414 enablestring=
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10418 defaultval=yes
10419 else
10420 defaultval=no
10421 fi
10422 fi
10423
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10426 # Check whether --enable-animatectrl was given.
10427 if test "${enable_animatectrl+set}" = set; then
10428 enableval=$enable_animatectrl;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10431 else
10432 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10433 fi
10434 cache=yes
10435
10436 else
10437
10438 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 fi
10442
10443 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10444
10445 fi
10446
10447
10448 eval "$wx_cv_use_animatectrl"
10449 if test "x$cache" = xyes; then
10450 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10451 fi
10452
10453 if test x"$enablestring" = xdisable; then
10454 if test $wxUSE_ANIMATIONCTRL = yes; then
10455 result=no
10456 else
10457 result=yes
10458 fi
10459 else
10460 result=$wxUSE_ANIMATIONCTRL
10461 fi
10462
10463 { echo "$as_me:$LINENO: result: $result" >&5
10464 echo "${ECHO_T}$result" >&6; }
10465
10466
10467 enablestring=
10468 defaultval=$wxUSE_ALL_FEATURES
10469 if test -z "$defaultval"; then
10470 if test x"$enablestring" = xdisable; then
10471 defaultval=yes
10472 else
10473 defaultval=no
10474 fi
10475 fi
10476
10477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10479 # Check whether --enable-button was given.
10480 if test "${enable_button+set}" = set; then
10481 enableval=$enable_button;
10482 if test "$enableval" = yes; then
10483 wx_cv_use_button='wxUSE_BUTTON=yes'
10484 else
10485 wx_cv_use_button='wxUSE_BUTTON=no'
10486 fi
10487 cache=yes
10488
10489 else
10490
10491 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10492 if test "x$LINE" != x ; then
10493 eval "DEFAULT_$LINE"
10494 fi
10495
10496 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10497
10498 fi
10499
10500
10501 eval "$wx_cv_use_button"
10502 if test "x$cache" = xyes; then
10503 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10504 fi
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_BUTTON = yes; then
10508 result=no
10509 else
10510 result=yes
10511 fi
10512 else
10513 result=$wxUSE_BUTTON
10514 fi
10515
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10532 # Check whether --enable-bmpbutton was given.
10533 if test "${enable_bmpbutton+set}" = set; then
10534 enableval=$enable_bmpbutton;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10537 else
10538 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10539 fi
10540 cache=yes
10541
10542 else
10543
10544 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10545 if test "x$LINE" != x ; then
10546 eval "DEFAULT_$LINE"
10547 fi
10548
10549 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10550
10551 fi
10552
10553
10554 eval "$wx_cv_use_bmpbutton"
10555 if test "x$cache" = xyes; then
10556 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10557 fi
10558
10559 if test x"$enablestring" = xdisable; then
10560 if test $wxUSE_BMPBUTTON = yes; then
10561 result=no
10562 else
10563 result=yes
10564 fi
10565 else
10566 result=$wxUSE_BMPBUTTON
10567 fi
10568
10569 { echo "$as_me:$LINENO: result: $result" >&5
10570 echo "${ECHO_T}$result" >&6; }
10571
10572
10573 enablestring=
10574 defaultval=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x"$enablestring" = xdisable; then
10577 defaultval=yes
10578 else
10579 defaultval=no
10580 fi
10581 fi
10582
10583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10585 # Check whether --enable-bmpcombobox was given.
10586 if test "${enable_bmpcombobox+set}" = set; then
10587 enableval=$enable_bmpcombobox;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10590 else
10591 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10592 fi
10593 cache=yes
10594
10595 else
10596
10597 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10600 fi
10601
10602 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10603
10604 fi
10605
10606
10607 eval "$wx_cv_use_bmpcombobox"
10608 if test "x$cache" = xyes; then
10609 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10610 fi
10611
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10614 result=no
10615 else
10616 result=yes
10617 fi
10618 else
10619 result=$wxUSE_BITMAPCOMBOBOX
10620 fi
10621
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10624
10625
10626 enablestring=
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10630 defaultval=yes
10631 else
10632 defaultval=no
10633 fi
10634 fi
10635
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10638 # Check whether --enable-calendar was given.
10639 if test "${enable_calendar+set}" = set; then
10640 enableval=$enable_calendar;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10643 else
10644 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10645 fi
10646 cache=yes
10647
10648 else
10649
10650 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10653 fi
10654
10655 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10656
10657 fi
10658
10659
10660 eval "$wx_cv_use_calendar"
10661 if test "x$cache" = xyes; then
10662 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10663 fi
10664
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_CALCTRL = yes; then
10667 result=no
10668 else
10669 result=yes
10670 fi
10671 else
10672 result=$wxUSE_CALCTRL
10673 fi
10674
10675 { echo "$as_me:$LINENO: result: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10677
10678
10679 enablestring=
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10683 defaultval=yes
10684 else
10685 defaultval=no
10686 fi
10687 fi
10688
10689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10690 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10691 # Check whether --enable-caret was given.
10692 if test "${enable_caret+set}" = set; then
10693 enableval=$enable_caret;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_caret='wxUSE_CARET=yes'
10696 else
10697 wx_cv_use_caret='wxUSE_CARET=no'
10698 fi
10699 cache=yes
10700
10701 else
10702
10703 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10704 if test "x$LINE" != x ; then
10705 eval "DEFAULT_$LINE"
10706 fi
10707
10708 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10709
10710 fi
10711
10712
10713 eval "$wx_cv_use_caret"
10714 if test "x$cache" = xyes; then
10715 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test x"$enablestring" = xdisable; then
10719 if test $wxUSE_CARET = yes; then
10720 result=no
10721 else
10722 result=yes
10723 fi
10724 else
10725 result=$wxUSE_CARET
10726 fi
10727
10728 { echo "$as_me:$LINENO: result: $result" >&5
10729 echo "${ECHO_T}$result" >&6; }
10730
10731
10732 enablestring=
10733 defaultval=$wxUSE_ALL_FEATURES
10734 if test -z "$defaultval"; then
10735 if test x"$enablestring" = xdisable; then
10736 defaultval=yes
10737 else
10738 defaultval=no
10739 fi
10740 fi
10741
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10744 # Check whether --enable-checkbox was given.
10745 if test "${enable_checkbox+set}" = set; then
10746 enableval=$enable_checkbox;
10747 if test "$enableval" = yes; then
10748 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10749 else
10750 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10751 fi
10752 cache=yes
10753
10754 else
10755
10756 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10759 fi
10760
10761 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10762
10763 fi
10764
10765
10766 eval "$wx_cv_use_checkbox"
10767 if test "x$cache" = xyes; then
10768 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10769 fi
10770
10771 if test x"$enablestring" = xdisable; then
10772 if test $wxUSE_CHECKBOX = yes; then
10773 result=no
10774 else
10775 result=yes
10776 fi
10777 else
10778 result=$wxUSE_CHECKBOX
10779 fi
10780
10781 { echo "$as_me:$LINENO: result: $result" >&5
10782 echo "${ECHO_T}$result" >&6; }
10783
10784
10785 enablestring=
10786 defaultval=$wxUSE_ALL_FEATURES
10787 if test -z "$defaultval"; then
10788 if test x"$enablestring" = xdisable; then
10789 defaultval=yes
10790 else
10791 defaultval=no
10792 fi
10793 fi
10794
10795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10796 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10797 # Check whether --enable-checklst was given.
10798 if test "${enable_checklst+set}" = set; then
10799 enableval=$enable_checklst;
10800 if test "$enableval" = yes; then
10801 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10802 else
10803 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10804 fi
10805 cache=yes
10806
10807 else
10808
10809 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10810 if test "x$LINE" != x ; then
10811 eval "DEFAULT_$LINE"
10812 fi
10813
10814 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10815
10816 fi
10817
10818
10819 eval "$wx_cv_use_checklst"
10820 if test "x$cache" = xyes; then
10821 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10822 fi
10823
10824 if test x"$enablestring" = xdisable; then
10825 if test $wxUSE_CHECKLST = yes; then
10826 result=no
10827 else
10828 result=yes
10829 fi
10830 else
10831 result=$wxUSE_CHECKLST
10832 fi
10833
10834 { echo "$as_me:$LINENO: result: $result" >&5
10835 echo "${ECHO_T}$result" >&6; }
10836
10837
10838 enablestring=
10839 defaultval=$wxUSE_ALL_FEATURES
10840 if test -z "$defaultval"; then
10841 if test x"$enablestring" = xdisable; then
10842 defaultval=yes
10843 else
10844 defaultval=no
10845 fi
10846 fi
10847
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10850 # Check whether --enable-choice was given.
10851 if test "${enable_choice+set}" = set; then
10852 enableval=$enable_choice;
10853 if test "$enableval" = yes; then
10854 wx_cv_use_choice='wxUSE_CHOICE=yes'
10855 else
10856 wx_cv_use_choice='wxUSE_CHOICE=no'
10857 fi
10858 cache=yes
10859
10860 else
10861
10862 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10865 fi
10866
10867 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10868
10869 fi
10870
10871
10872 eval "$wx_cv_use_choice"
10873 if test "x$cache" = xyes; then
10874 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10875 fi
10876
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_CHOICE = yes; then
10879 result=no
10880 else
10881 result=yes
10882 fi
10883 else
10884 result=$wxUSE_CHOICE
10885 fi
10886
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891 enablestring=
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10895 defaultval=yes
10896 else
10897 defaultval=no
10898 fi
10899 fi
10900
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10903 # Check whether --enable-choicebook was given.
10904 if test "${enable_choicebook+set}" = set; then
10905 enableval=$enable_choicebook;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10908 else
10909 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10910 fi
10911 cache=yes
10912
10913 else
10914
10915 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10916 if test "x$LINE" != x ; then
10917 eval "DEFAULT_$LINE"
10918 fi
10919
10920 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_choicebook"
10926 if test "x$cache" = xyes; then
10927 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10928 fi
10929
10930 if test x"$enablestring" = xdisable; then
10931 if test $wxUSE_CHOICEBOOK = yes; then
10932 result=no
10933 else
10934 result=yes
10935 fi
10936 else
10937 result=$wxUSE_CHOICEBOOK
10938 fi
10939
10940 { echo "$as_me:$LINENO: result: $result" >&5
10941 echo "${ECHO_T}$result" >&6; }
10942
10943
10944 enablestring=
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10948 defaultval=yes
10949 else
10950 defaultval=no
10951 fi
10952 fi
10953
10954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10955 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10956 # Check whether --enable-collpane was given.
10957 if test "${enable_collpane+set}" = set; then
10958 enableval=$enable_collpane;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10961 else
10962 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10963 fi
10964 cache=yes
10965
10966 else
10967
10968 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10971 fi
10972
10973 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10974
10975 fi
10976
10977
10978 eval "$wx_cv_use_collpane"
10979 if test "x$cache" = xyes; then
10980 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10981 fi
10982
10983 if test x"$enablestring" = xdisable; then
10984 if test $wxUSE_COLLPANE = yes; then
10985 result=no
10986 else
10987 result=yes
10988 fi
10989 else
10990 result=$wxUSE_COLLPANE
10991 fi
10992
10993 { echo "$as_me:$LINENO: result: $result" >&5
10994 echo "${ECHO_T}$result" >&6; }
10995
10996
10997 enablestring=
10998 defaultval=$wxUSE_ALL_FEATURES
10999 if test -z "$defaultval"; then
11000 if test x"$enablestring" = xdisable; then
11001 defaultval=yes
11002 else
11003 defaultval=no
11004 fi
11005 fi
11006
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11009 # Check whether --enable-colourpicker was given.
11010 if test "${enable_colourpicker+set}" = set; then
11011 enableval=$enable_colourpicker;
11012 if test "$enableval" = yes; then
11013 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11014 else
11015 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11016 fi
11017 cache=yes
11018
11019 else
11020
11021 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11024 fi
11025
11026 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11027
11028 fi
11029
11030
11031 eval "$wx_cv_use_colourpicker"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11034 fi
11035
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_COLOURPICKERCTRL = yes; then
11038 result=no
11039 else
11040 result=yes
11041 fi
11042 else
11043 result=$wxUSE_COLOURPICKERCTRL
11044 fi
11045
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11048
11049
11050 enablestring=
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11054 defaultval=yes
11055 else
11056 defaultval=no
11057 fi
11058 fi
11059
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11062 # Check whether --enable-combobox was given.
11063 if test "${enable_combobox+set}" = set; then
11064 enableval=$enable_combobox;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11067 else
11068 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11069 fi
11070 cache=yes
11071
11072 else
11073
11074 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11077 fi
11078
11079 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11080
11081 fi
11082
11083
11084 eval "$wx_cv_use_combobox"
11085 if test "x$cache" = xyes; then
11086 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11087 fi
11088
11089 if test x"$enablestring" = xdisable; then
11090 if test $wxUSE_COMBOBOX = yes; then
11091 result=no
11092 else
11093 result=yes
11094 fi
11095 else
11096 result=$wxUSE_COMBOBOX
11097 fi
11098
11099 { echo "$as_me:$LINENO: result: $result" >&5
11100 echo "${ECHO_T}$result" >&6; }
11101
11102
11103 enablestring=
11104 defaultval=$wxUSE_ALL_FEATURES
11105 if test -z "$defaultval"; then
11106 if test x"$enablestring" = xdisable; then
11107 defaultval=yes
11108 else
11109 defaultval=no
11110 fi
11111 fi
11112
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11115 # Check whether --enable-comboctrl was given.
11116 if test "${enable_comboctrl+set}" = set; then
11117 enableval=$enable_comboctrl;
11118 if test "$enableval" = yes; then
11119 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11120 else
11121 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11122 fi
11123 cache=yes
11124
11125 else
11126
11127 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11130 fi
11131
11132 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_comboctrl"
11138 if test "x$cache" = xyes; then
11139 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11140 fi
11141
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_COMBOCTRL = yes; then
11144 result=no
11145 else
11146 result=yes
11147 fi
11148 else
11149 result=$wxUSE_COMBOCTRL
11150 fi
11151
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11154
11155
11156 enablestring=
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11160 defaultval=yes
11161 else
11162 defaultval=no
11163 fi
11164 fi
11165
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11168 # Check whether --enable-datepick was given.
11169 if test "${enable_datepick+set}" = set; then
11170 enableval=$enable_datepick;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11173 else
11174 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11175 fi
11176 cache=yes
11177
11178 else
11179
11180 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x ; then
11182 eval "DEFAULT_$LINE"
11183 fi
11184
11185 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11186
11187 fi
11188
11189
11190 eval "$wx_cv_use_datepick"
11191 if test "x$cache" = xyes; then
11192 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11193 fi
11194
11195 if test x"$enablestring" = xdisable; then
11196 if test $wxUSE_DATEPICKCTRL = yes; then
11197 result=no
11198 else
11199 result=yes
11200 fi
11201 else
11202 result=$wxUSE_DATEPICKCTRL
11203 fi
11204
11205 { echo "$as_me:$LINENO: result: $result" >&5
11206 echo "${ECHO_T}$result" >&6; }
11207
11208
11209 enablestring=
11210 defaultval=$wxUSE_ALL_FEATURES
11211 if test -z "$defaultval"; then
11212 if test x"$enablestring" = xdisable; then
11213 defaultval=yes
11214 else
11215 defaultval=no
11216 fi
11217 fi
11218
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11221 # Check whether --enable-dirpicker was given.
11222 if test "${enable_dirpicker+set}" = set; then
11223 enableval=$enable_dirpicker;
11224 if test "$enableval" = yes; then
11225 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11226 else
11227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11228 fi
11229 cache=yes
11230
11231 else
11232
11233 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11236 fi
11237
11238 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11239
11240 fi
11241
11242
11243 eval "$wx_cv_use_dirpicker"
11244 if test "x$cache" = xyes; then
11245 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11246 fi
11247
11248 if test x"$enablestring" = xdisable; then
11249 if test $wxUSE_DIRPICKERCTRL = yes; then
11250 result=no
11251 else
11252 result=yes
11253 fi
11254 else
11255 result=$wxUSE_DIRPICKERCTRL
11256 fi
11257
11258 { echo "$as_me:$LINENO: result: $result" >&5
11259 echo "${ECHO_T}$result" >&6; }
11260
11261
11262 enablestring=
11263 defaultval=$wxUSE_ALL_FEATURES
11264 if test -z "$defaultval"; then
11265 if test x"$enablestring" = xdisable; then
11266 defaultval=yes
11267 else
11268 defaultval=no
11269 fi
11270 fi
11271
11272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11273 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11274 # Check whether --enable-display was given.
11275 if test "${enable_display+set}" = set; then
11276 enableval=$enable_display;
11277 if test "$enableval" = yes; then
11278 wx_cv_use_display='wxUSE_DISPLAY=yes'
11279 else
11280 wx_cv_use_display='wxUSE_DISPLAY=no'
11281 fi
11282 cache=yes
11283
11284 else
11285
11286 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11287 if test "x$LINE" != x ; then
11288 eval "DEFAULT_$LINE"
11289 fi
11290
11291 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11292
11293 fi
11294
11295
11296 eval "$wx_cv_use_display"
11297 if test "x$cache" = xyes; then
11298 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11299 fi
11300
11301 if test x"$enablestring" = xdisable; then
11302 if test $wxUSE_DISPLAY = yes; then
11303 result=no
11304 else
11305 result=yes
11306 fi
11307 else
11308 result=$wxUSE_DISPLAY
11309 fi
11310
11311 { echo "$as_me:$LINENO: result: $result" >&5
11312 echo "${ECHO_T}$result" >&6; }
11313
11314
11315 enablestring=
11316 defaultval=$wxUSE_ALL_FEATURES
11317 if test -z "$defaultval"; then
11318 if test x"$enablestring" = xdisable; then
11319 defaultval=yes
11320 else
11321 defaultval=no
11322 fi
11323 fi
11324
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11327 # Check whether --enable-detect_sm was given.
11328 if test "${enable_detect_sm+set}" = set; then
11329 enableval=$enable_detect_sm;
11330 if test "$enableval" = yes; then
11331 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11332 else
11333 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11334 fi
11335 cache=yes
11336
11337 else
11338
11339 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11342 fi
11343
11344 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11345
11346 fi
11347
11348
11349 eval "$wx_cv_use_detect_sm"
11350 if test "x$cache" = xyes; then
11351 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11352 fi
11353
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_DETECT_SM = yes; then
11356 result=no
11357 else
11358 result=yes
11359 fi
11360 else
11361 result=$wxUSE_DETECT_SM
11362 fi
11363
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11366
11367
11368 enablestring=
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11372 defaultval=yes
11373 else
11374 defaultval=no
11375 fi
11376 fi
11377
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11380 # Check whether --enable-editablebox was given.
11381 if test "${enable_editablebox+set}" = set; then
11382 enableval=$enable_editablebox;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11385 else
11386 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11387 fi
11388 cache=yes
11389
11390 else
11391
11392 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11393 if test "x$LINE" != x ; then
11394 eval "DEFAULT_$LINE"
11395 fi
11396
11397 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11398
11399 fi
11400
11401
11402 eval "$wx_cv_use_editablebox"
11403 if test "x$cache" = xyes; then
11404 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11405 fi
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_EDITABLELISTBOX = yes; then
11409 result=no
11410 else
11411 result=yes
11412 fi
11413 else
11414 result=$wxUSE_EDITABLELISTBOX
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11433 # Check whether --enable-filepicker was given.
11434 if test "${enable_filepicker+set}" = set; then
11435 enableval=$enable_filepicker;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11438 else
11439 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11440 fi
11441 cache=yes
11442
11443 else
11444
11445 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11446 if test "x$LINE" != x ; then
11447 eval "DEFAULT_$LINE"
11448 fi
11449
11450 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11451
11452 fi
11453
11454
11455 eval "$wx_cv_use_filepicker"
11456 if test "x$cache" = xyes; then
11457 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11458 fi
11459
11460 if test x"$enablestring" = xdisable; then
11461 if test $wxUSE_FILEPICKERCTRL = yes; then
11462 result=no
11463 else
11464 result=yes
11465 fi
11466 else
11467 result=$wxUSE_FILEPICKERCTRL
11468 fi
11469
11470 { echo "$as_me:$LINENO: result: $result" >&5
11471 echo "${ECHO_T}$result" >&6; }
11472
11473
11474 enablestring=
11475 defaultval=$wxUSE_ALL_FEATURES
11476 if test -z "$defaultval"; then
11477 if test x"$enablestring" = xdisable; then
11478 defaultval=yes
11479 else
11480 defaultval=no
11481 fi
11482 fi
11483
11484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11485 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11486 # Check whether --enable-fontpicker was given.
11487 if test "${enable_fontpicker+set}" = set; then
11488 enableval=$enable_fontpicker;
11489 if test "$enableval" = yes; then
11490 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11491 else
11492 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11493 fi
11494 cache=yes
11495
11496 else
11497
11498 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 fi
11502
11503 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11504
11505 fi
11506
11507
11508 eval "$wx_cv_use_fontpicker"
11509 if test "x$cache" = xyes; then
11510 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11511 fi
11512
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_FONTPICKERCTRL = yes; then
11515 result=no
11516 else
11517 result=yes
11518 fi
11519 else
11520 result=$wxUSE_FONTPICKERCTRL
11521 fi
11522
11523 { echo "$as_me:$LINENO: result: $result" >&5
11524 echo "${ECHO_T}$result" >&6; }
11525
11526
11527 enablestring=
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11531 defaultval=yes
11532 else
11533 defaultval=no
11534 fi
11535 fi
11536
11537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11538 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11539 # Check whether --enable-gauge was given.
11540 if test "${enable_gauge+set}" = set; then
11541 enableval=$enable_gauge;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11544 else
11545 wx_cv_use_gauge='wxUSE_GAUGE=no'
11546 fi
11547 cache=yes
11548
11549 else
11550
11551 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11552 if test "x$LINE" != x ; then
11553 eval "DEFAULT_$LINE"
11554 fi
11555
11556 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11557
11558 fi
11559
11560
11561 eval "$wx_cv_use_gauge"
11562 if test "x$cache" = xyes; then
11563 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11564 fi
11565
11566 if test x"$enablestring" = xdisable; then
11567 if test $wxUSE_GAUGE = yes; then
11568 result=no
11569 else
11570 result=yes
11571 fi
11572 else
11573 result=$wxUSE_GAUGE
11574 fi
11575
11576 { echo "$as_me:$LINENO: result: $result" >&5
11577 echo "${ECHO_T}$result" >&6; }
11578
11579
11580 enablestring=
11581 defaultval=$wxUSE_ALL_FEATURES
11582 if test -z "$defaultval"; then
11583 if test x"$enablestring" = xdisable; then
11584 defaultval=yes
11585 else
11586 defaultval=no
11587 fi
11588 fi
11589
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11592 # Check whether --enable-grid was given.
11593 if test "${enable_grid+set}" = set; then
11594 enableval=$enable_grid;
11595 if test "$enableval" = yes; then
11596 wx_cv_use_grid='wxUSE_GRID=yes'
11597 else
11598 wx_cv_use_grid='wxUSE_GRID=no'
11599 fi
11600 cache=yes
11601
11602 else
11603
11604 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11607 fi
11608
11609 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11610
11611 fi
11612
11613
11614 eval "$wx_cv_use_grid"
11615 if test "x$cache" = xyes; then
11616 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_GRID = yes; then
11621 result=no
11622 else
11623 result=yes
11624 fi
11625 else
11626 result=$wxUSE_GRID
11627 fi
11628
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11631
11632
11633 enablestring=
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11637 defaultval=yes
11638 else
11639 defaultval=no
11640 fi
11641 fi
11642
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11645 # Check whether --enable-dataviewctrl was given.
11646 if test "${enable_dataviewctrl+set}" = set; then
11647 enableval=$enable_dataviewctrl;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11650 else
11651 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11652 fi
11653 cache=yes
11654
11655 else
11656
11657 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11658 if test "x$LINE" != x ; then
11659 eval "DEFAULT_$LINE"
11660 fi
11661
11662 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11663
11664 fi
11665
11666
11667 eval "$wx_cv_use_dataviewctrl"
11668 if test "x$cache" = xyes; then
11669 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11670 fi
11671
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_DATAVIEWCTRL = yes; then
11674 result=no
11675 else
11676 result=yes
11677 fi
11678 else
11679 result=$wxUSE_DATAVIEWCTRL
11680 fi
11681
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11684
11685
11686 enablestring=
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11690 defaultval=yes
11691 else
11692 defaultval=no
11693 fi
11694 fi
11695
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11698 # Check whether --enable-hyperlink was given.
11699 if test "${enable_hyperlink+set}" = set; then
11700 enableval=$enable_hyperlink;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11703 else
11704 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11705 fi
11706 cache=yes
11707
11708 else
11709
11710 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11713 fi
11714
11715 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11716
11717 fi
11718
11719
11720 eval "$wx_cv_use_hyperlink"
11721 if test "x$cache" = xyes; then
11722 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11723 fi
11724
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_HYPERLINKCTRL = yes; then
11727 result=no
11728 else
11729 result=yes
11730 fi
11731 else
11732 result=$wxUSE_HYPERLINKCTRL
11733 fi
11734
11735 { echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6; }
11737
11738
11739 enablestring=
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z "$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11743 defaultval=yes
11744 else
11745 defaultval=no
11746 fi
11747 fi
11748
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11751 # Check whether --enable-imaglist was given.
11752 if test "${enable_imaglist+set}" = set; then
11753 enableval=$enable_imaglist;
11754 if test "$enableval" = yes; then
11755 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11756 else
11757 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11758 fi
11759 cache=yes
11760
11761 else
11762
11763 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11764 if test "x$LINE" != x ; then
11765 eval "DEFAULT_$LINE"
11766 fi
11767
11768 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11769
11770 fi
11771
11772
11773 eval "$wx_cv_use_imaglist"
11774 if test "x$cache" = xyes; then
11775 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11776 fi
11777
11778 if test x"$enablestring" = xdisable; then
11779 if test $wxUSE_IMAGLIST = yes; then
11780 result=no
11781 else
11782 result=yes
11783 fi
11784 else
11785 result=$wxUSE_IMAGLIST
11786 fi
11787
11788 { echo "$as_me:$LINENO: result: $result" >&5
11789 echo "${ECHO_T}$result" >&6; }
11790
11791
11792 enablestring=
11793 defaultval=$wxUSE_ALL_FEATURES
11794 if test -z "$defaultval"; then
11795 if test x"$enablestring" = xdisable; then
11796 defaultval=yes
11797 else
11798 defaultval=no
11799 fi
11800 fi
11801
11802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11803 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11804 # Check whether --enable-listbook was given.
11805 if test "${enable_listbook+set}" = set; then
11806 enableval=$enable_listbook;
11807 if test "$enableval" = yes; then
11808 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11809 else
11810 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11811 fi
11812 cache=yes
11813
11814 else
11815
11816 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11817 if test "x$LINE" != x ; then
11818 eval "DEFAULT_$LINE"
11819 fi
11820
11821 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11822
11823 fi
11824
11825
11826 eval "$wx_cv_use_listbook"
11827 if test "x$cache" = xyes; then
11828 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11829 fi
11830
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_LISTBOOK = yes; then
11833 result=no
11834 else
11835 result=yes
11836 fi
11837 else
11838 result=$wxUSE_LISTBOOK
11839 fi
11840
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11843
11844
11845 enablestring=
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11849 defaultval=yes
11850 else
11851 defaultval=no
11852 fi
11853 fi
11854
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11857 # Check whether --enable-listbox was given.
11858 if test "${enable_listbox+set}" = set; then
11859 enableval=$enable_listbox;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11862 else
11863 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11864 fi
11865 cache=yes
11866
11867 else
11868
11869 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11870 if test "x$LINE" != x ; then
11871 eval "DEFAULT_$LINE"
11872 fi
11873
11874 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11875
11876 fi
11877
11878
11879 eval "$wx_cv_use_listbox"
11880 if test "x$cache" = xyes; then
11881 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11882 fi
11883
11884 if test x"$enablestring" = xdisable; then
11885 if test $wxUSE_LISTBOX = yes; then
11886 result=no
11887 else
11888 result=yes
11889 fi
11890 else
11891 result=$wxUSE_LISTBOX
11892 fi
11893
11894 { echo "$as_me:$LINENO: result: $result" >&5
11895 echo "${ECHO_T}$result" >&6; }
11896
11897
11898 enablestring=
11899 defaultval=$wxUSE_ALL_FEATURES
11900 if test -z "$defaultval"; then
11901 if test x"$enablestring" = xdisable; then
11902 defaultval=yes
11903 else
11904 defaultval=no
11905 fi
11906 fi
11907
11908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11909 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11910 # Check whether --enable-listctrl was given.
11911 if test "${enable_listctrl+set}" = set; then
11912 enableval=$enable_listctrl;
11913 if test "$enableval" = yes; then
11914 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11915 else
11916 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11917 fi
11918 cache=yes
11919
11920 else
11921
11922 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11923 if test "x$LINE" != x ; then
11924 eval "DEFAULT_$LINE"
11925 fi
11926
11927 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11928
11929 fi
11930
11931
11932 eval "$wx_cv_use_listctrl"
11933 if test "x$cache" = xyes; then
11934 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11935 fi
11936
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_LISTCTRL = yes; then
11939 result=no
11940 else
11941 result=yes
11942 fi
11943 else
11944 result=$wxUSE_LISTCTRL
11945 fi
11946
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11949
11950
11951 enablestring=
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11955 defaultval=yes
11956 else
11957 defaultval=no
11958 fi
11959 fi
11960
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11963 # Check whether --enable-notebook was given.
11964 if test "${enable_notebook+set}" = set; then
11965 enableval=$enable_notebook;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11968 else
11969 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11970 fi
11971 cache=yes
11972
11973 else
11974
11975 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11978 fi
11979
11980 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11981
11982 fi
11983
11984
11985 eval "$wx_cv_use_notebook"
11986 if test "x$cache" = xyes; then
11987 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11988 fi
11989
11990 if test x"$enablestring" = xdisable; then
11991 if test $wxUSE_NOTEBOOK = yes; then
11992 result=no
11993 else
11994 result=yes
11995 fi
11996 else
11997 result=$wxUSE_NOTEBOOK
11998 fi
11999
12000 { echo "$as_me:$LINENO: result: $result" >&5
12001 echo "${ECHO_T}$result" >&6; }
12002
12003
12004 enablestring=
12005 defaultval=$wxUSE_ALL_FEATURES
12006 if test -z "$defaultval"; then
12007 if test x"$enablestring" = xdisable; then
12008 defaultval=yes
12009 else
12010 defaultval=no
12011 fi
12012 fi
12013
12014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12016 # Check whether --enable-odcombobox was given.
12017 if test "${enable_odcombobox+set}" = set; then
12018 enableval=$enable_odcombobox;
12019 if test "$enableval" = yes; then
12020 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12021 else
12022 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12023 fi
12024 cache=yes
12025
12026 else
12027
12028 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12029 if test "x$LINE" != x ; then
12030 eval "DEFAULT_$LINE"
12031 fi
12032
12033 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12034
12035 fi
12036
12037
12038 eval "$wx_cv_use_odcombobox"
12039 if test "x$cache" = xyes; then
12040 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12041 fi
12042
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_ODCOMBOBOX = yes; then
12045 result=no
12046 else
12047 result=yes
12048 fi
12049 else
12050 result=$wxUSE_ODCOMBOBOX
12051 fi
12052
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12055
12056
12057 enablestring=
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12061 defaultval=yes
12062 else
12063 defaultval=no
12064 fi
12065 fi
12066
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12069 # Check whether --enable-radiobox was given.
12070 if test "${enable_radiobox+set}" = set; then
12071 enableval=$enable_radiobox;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12074 else
12075 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12076 fi
12077 cache=yes
12078
12079 else
12080
12081 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12084 fi
12085
12086 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12087
12088 fi
12089
12090
12091 eval "$wx_cv_use_radiobox"
12092 if test "x$cache" = xyes; then
12093 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12094 fi
12095
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_RADIOBOX = yes; then
12098 result=no
12099 else
12100 result=yes
12101 fi
12102 else
12103 result=$wxUSE_RADIOBOX
12104 fi
12105
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12108
12109
12110 enablestring=
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12114 defaultval=yes
12115 else
12116 defaultval=no
12117 fi
12118 fi
12119
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12122 # Check whether --enable-radiobtn was given.
12123 if test "${enable_radiobtn+set}" = set; then
12124 enableval=$enable_radiobtn;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12127 else
12128 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12129 fi
12130 cache=yes
12131
12132 else
12133
12134 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12135 if test "x$LINE" != x ; then
12136 eval "DEFAULT_$LINE"
12137 fi
12138
12139 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12140
12141 fi
12142
12143
12144 eval "$wx_cv_use_radiobtn"
12145 if test "x$cache" = xyes; then
12146 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12147 fi
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_RADIOBTN = yes; then
12151 result=no
12152 else
12153 result=yes
12154 fi
12155 else
12156 result=$wxUSE_RADIOBTN
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12175 # Check whether --enable-sash was given.
12176 if test "${enable_sash+set}" = set; then
12177 enableval=$enable_sash;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_sash='wxUSE_SASH=yes'
12180 else
12181 wx_cv_use_sash='wxUSE_SASH=no'
12182 fi
12183 cache=yes
12184
12185 else
12186
12187 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12188 if test "x$LINE" != x ; then
12189 eval "DEFAULT_$LINE"
12190 fi
12191
12192 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12193
12194 fi
12195
12196
12197 eval "$wx_cv_use_sash"
12198 if test "x$cache" = xyes; then
12199 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12200 fi
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_SASH = yes; then
12204 result=no
12205 else
12206 result=yes
12207 fi
12208 else
12209 result=$wxUSE_SASH
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12228 # Check whether --enable-scrollbar was given.
12229 if test "${enable_scrollbar+set}" = set; then
12230 enableval=$enable_scrollbar;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12233 else
12234 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12235 fi
12236 cache=yes
12237
12238 else
12239
12240 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12241 if test "x$LINE" != x ; then
12242 eval "DEFAULT_$LINE"
12243 fi
12244
12245 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12246
12247 fi
12248
12249
12250 eval "$wx_cv_use_scrollbar"
12251 if test "x$cache" = xyes; then
12252 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12253 fi
12254
12255 if test x"$enablestring" = xdisable; then
12256 if test $wxUSE_SCROLLBAR = yes; then
12257 result=no
12258 else
12259 result=yes
12260 fi
12261 else
12262 result=$wxUSE_SCROLLBAR
12263 fi
12264
12265 { echo "$as_me:$LINENO: result: $result" >&5
12266 echo "${ECHO_T}$result" >&6; }
12267
12268
12269 enablestring=
12270 defaultval=$wxUSE_ALL_FEATURES
12271 if test -z "$defaultval"; then
12272 if test x"$enablestring" = xdisable; then
12273 defaultval=yes
12274 else
12275 defaultval=no
12276 fi
12277 fi
12278
12279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12280 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12281 # Check whether --enable-searchctrl was given.
12282 if test "${enable_searchctrl+set}" = set; then
12283 enableval=$enable_searchctrl;
12284 if test "$enableval" = yes; then
12285 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12286 else
12287 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12288 fi
12289 cache=yes
12290
12291 else
12292
12293 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12294 if test "x$LINE" != x ; then
12295 eval "DEFAULT_$LINE"
12296 fi
12297
12298 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12299
12300 fi
12301
12302
12303 eval "$wx_cv_use_searchctrl"
12304 if test "x$cache" = xyes; then
12305 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12306 fi
12307
12308 if test x"$enablestring" = xdisable; then
12309 if test $wxUSE_SEARCHCTRL = yes; then
12310 result=no
12311 else
12312 result=yes
12313 fi
12314 else
12315 result=$wxUSE_SEARCHCTRL
12316 fi
12317
12318 { echo "$as_me:$LINENO: result: $result" >&5
12319 echo "${ECHO_T}$result" >&6; }
12320
12321
12322 enablestring=
12323 defaultval=$wxUSE_ALL_FEATURES
12324 if test -z "$defaultval"; then
12325 if test x"$enablestring" = xdisable; then
12326 defaultval=yes
12327 else
12328 defaultval=no
12329 fi
12330 fi
12331
12332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12333 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12334 # Check whether --enable-slider was given.
12335 if test "${enable_slider+set}" = set; then
12336 enableval=$enable_slider;
12337 if test "$enableval" = yes; then
12338 wx_cv_use_slider='wxUSE_SLIDER=yes'
12339 else
12340 wx_cv_use_slider='wxUSE_SLIDER=no'
12341 fi
12342 cache=yes
12343
12344 else
12345
12346 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12347 if test "x$LINE" != x ; then
12348 eval "DEFAULT_$LINE"
12349 fi
12350
12351 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12352
12353 fi
12354
12355
12356 eval "$wx_cv_use_slider"
12357 if test "x$cache" = xyes; then
12358 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12359 fi
12360
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_SLIDER = yes; then
12363 result=no
12364 else
12365 result=yes
12366 fi
12367 else
12368 result=$wxUSE_SLIDER
12369 fi
12370
12371 { echo "$as_me:$LINENO: result: $result" >&5
12372 echo "${ECHO_T}$result" >&6; }
12373
12374
12375 enablestring=
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12379 defaultval=yes
12380 else
12381 defaultval=no
12382 fi
12383 fi
12384
12385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12386 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12387 # Check whether --enable-spinbtn was given.
12388 if test "${enable_spinbtn+set}" = set; then
12389 enableval=$enable_spinbtn;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12392 else
12393 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12394 fi
12395 cache=yes
12396
12397 else
12398
12399 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12400 if test "x$LINE" != x ; then
12401 eval "DEFAULT_$LINE"
12402 fi
12403
12404 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12405
12406 fi
12407
12408
12409 eval "$wx_cv_use_spinbtn"
12410 if test "x$cache" = xyes; then
12411 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12412 fi
12413
12414 if test x"$enablestring" = xdisable; then
12415 if test $wxUSE_SPINBTN = yes; then
12416 result=no
12417 else
12418 result=yes
12419 fi
12420 else
12421 result=$wxUSE_SPINBTN
12422 fi
12423
12424 { echo "$as_me:$LINENO: result: $result" >&5
12425 echo "${ECHO_T}$result" >&6; }
12426
12427
12428 enablestring=
12429 defaultval=$wxUSE_ALL_FEATURES
12430 if test -z "$defaultval"; then
12431 if test x"$enablestring" = xdisable; then
12432 defaultval=yes
12433 else
12434 defaultval=no
12435 fi
12436 fi
12437
12438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12439 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12440 # Check whether --enable-spinctrl was given.
12441 if test "${enable_spinctrl+set}" = set; then
12442 enableval=$enable_spinctrl;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12445 else
12446 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12447 fi
12448 cache=yes
12449
12450 else
12451
12452 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12453 if test "x$LINE" != x ; then
12454 eval "DEFAULT_$LINE"
12455 fi
12456
12457 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12458
12459 fi
12460
12461
12462 eval "$wx_cv_use_spinctrl"
12463 if test "x$cache" = xyes; then
12464 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12465 fi
12466
12467 if test x"$enablestring" = xdisable; then
12468 if test $wxUSE_SPINCTRL = yes; then
12469 result=no
12470 else
12471 result=yes
12472 fi
12473 else
12474 result=$wxUSE_SPINCTRL
12475 fi
12476
12477 { echo "$as_me:$LINENO: result: $result" >&5
12478 echo "${ECHO_T}$result" >&6; }
12479
12480
12481 enablestring=
12482 defaultval=$wxUSE_ALL_FEATURES
12483 if test -z "$defaultval"; then
12484 if test x"$enablestring" = xdisable; then
12485 defaultval=yes
12486 else
12487 defaultval=no
12488 fi
12489 fi
12490
12491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12492 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12493 # Check whether --enable-splitter was given.
12494 if test "${enable_splitter+set}" = set; then
12495 enableval=$enable_splitter;
12496 if test "$enableval" = yes; then
12497 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12498 else
12499 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12500 fi
12501 cache=yes
12502
12503 else
12504
12505 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12506 if test "x$LINE" != x ; then
12507 eval "DEFAULT_$LINE"
12508 fi
12509
12510 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12511
12512 fi
12513
12514
12515 eval "$wx_cv_use_splitter"
12516 if test "x$cache" = xyes; then
12517 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12518 fi
12519
12520 if test x"$enablestring" = xdisable; then
12521 if test $wxUSE_SPLITTER = yes; then
12522 result=no
12523 else
12524 result=yes
12525 fi
12526 else
12527 result=$wxUSE_SPLITTER
12528 fi
12529
12530 { echo "$as_me:$LINENO: result: $result" >&5
12531 echo "${ECHO_T}$result" >&6; }
12532
12533
12534 enablestring=
12535 defaultval=$wxUSE_ALL_FEATURES
12536 if test -z "$defaultval"; then
12537 if test x"$enablestring" = xdisable; then
12538 defaultval=yes
12539 else
12540 defaultval=no
12541 fi
12542 fi
12543
12544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12546 # Check whether --enable-statbmp was given.
12547 if test "${enable_statbmp+set}" = set; then
12548 enableval=$enable_statbmp;
12549 if test "$enableval" = yes; then
12550 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12551 else
12552 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12553 fi
12554 cache=yes
12555
12556 else
12557
12558 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12559 if test "x$LINE" != x ; then
12560 eval "DEFAULT_$LINE"
12561 fi
12562
12563 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12564
12565 fi
12566
12567
12568 eval "$wx_cv_use_statbmp"
12569 if test "x$cache" = xyes; then
12570 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12571 fi
12572
12573 if test x"$enablestring" = xdisable; then
12574 if test $wxUSE_STATBMP = yes; then
12575 result=no
12576 else
12577 result=yes
12578 fi
12579 else
12580 result=$wxUSE_STATBMP
12581 fi
12582
12583 { echo "$as_me:$LINENO: result: $result" >&5
12584 echo "${ECHO_T}$result" >&6; }
12585
12586
12587 enablestring=
12588 defaultval=$wxUSE_ALL_FEATURES
12589 if test -z "$defaultval"; then
12590 if test x"$enablestring" = xdisable; then
12591 defaultval=yes
12592 else
12593 defaultval=no
12594 fi
12595 fi
12596
12597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12598 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12599 # Check whether --enable-statbox was given.
12600 if test "${enable_statbox+set}" = set; then
12601 enableval=$enable_statbox;
12602 if test "$enableval" = yes; then
12603 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12604 else
12605 wx_cv_use_statbox='wxUSE_STATBOX=no'
12606 fi
12607 cache=yes
12608
12609 else
12610
12611 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12612 if test "x$LINE" != x ; then
12613 eval "DEFAULT_$LINE"
12614 fi
12615
12616 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12617
12618 fi
12619
12620
12621 eval "$wx_cv_use_statbox"
12622 if test "x$cache" = xyes; then
12623 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12624 fi
12625
12626 if test x"$enablestring" = xdisable; then
12627 if test $wxUSE_STATBOX = yes; then
12628 result=no
12629 else
12630 result=yes
12631 fi
12632 else
12633 result=$wxUSE_STATBOX
12634 fi
12635
12636 { echo "$as_me:$LINENO: result: $result" >&5
12637 echo "${ECHO_T}$result" >&6; }
12638
12639
12640 enablestring=
12641 defaultval=$wxUSE_ALL_FEATURES
12642 if test -z "$defaultval"; then
12643 if test x"$enablestring" = xdisable; then
12644 defaultval=yes
12645 else
12646 defaultval=no
12647 fi
12648 fi
12649
12650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12651 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12652 # Check whether --enable-statline was given.
12653 if test "${enable_statline+set}" = set; then
12654 enableval=$enable_statline;
12655 if test "$enableval" = yes; then
12656 wx_cv_use_statline='wxUSE_STATLINE=yes'
12657 else
12658 wx_cv_use_statline='wxUSE_STATLINE=no'
12659 fi
12660 cache=yes
12661
12662 else
12663
12664 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12665 if test "x$LINE" != x ; then
12666 eval "DEFAULT_$LINE"
12667 fi
12668
12669 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12670
12671 fi
12672
12673
12674 eval "$wx_cv_use_statline"
12675 if test "x$cache" = xyes; then
12676 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12677 fi
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_STATLINE = yes; then
12681 result=no
12682 else
12683 result=yes
12684 fi
12685 else
12686 result=$wxUSE_STATLINE
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12705 # Check whether --enable-stattext was given.
12706 if test "${enable_stattext+set}" = set; then
12707 enableval=$enable_stattext;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12710 else
12711 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12712 fi
12713 cache=yes
12714
12715 else
12716
12717 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12718 if test "x$LINE" != x ; then
12719 eval "DEFAULT_$LINE"
12720 fi
12721
12722 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_stattext"
12728 if test "x$cache" = xyes; then
12729 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12730 fi
12731
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_STATTEXT = yes; then
12734 result=no
12735 else
12736 result=yes
12737 fi
12738 else
12739 result=$wxUSE_STATTEXT
12740 fi
12741
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12744
12745
12746 enablestring=
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12750 defaultval=yes
12751 else
12752 defaultval=no
12753 fi
12754 fi
12755
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12758 # Check whether --enable-statusbar was given.
12759 if test "${enable_statusbar+set}" = set; then
12760 enableval=$enable_statusbar;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12763 else
12764 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12765 fi
12766 cache=yes
12767
12768 else
12769
12770 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12771 if test "x$LINE" != x ; then
12772 eval "DEFAULT_$LINE"
12773 fi
12774
12775 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12776
12777 fi
12778
12779
12780 eval "$wx_cv_use_statusbar"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12783 fi
12784
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_STATUSBAR = yes; then
12787 result=no
12788 else
12789 result=yes
12790 fi
12791 else
12792 result=$wxUSE_STATUSBAR
12793 fi
12794
12795 { echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12797
12798
12799 enablestring=
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12803 defaultval=yes
12804 else
12805 defaultval=no
12806 fi
12807 fi
12808
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12811 # Check whether --enable-tabdialog was given.
12812 if test "${enable_tabdialog+set}" = set; then
12813 enableval=$enable_tabdialog;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12816 else
12817 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12818 fi
12819 cache=yes
12820
12821 else
12822
12823 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12826 fi
12827
12828 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12829
12830 fi
12831
12832
12833 eval "$wx_cv_use_tabdialog"
12834 if test "x$cache" = xyes; then
12835 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12836 fi
12837
12838 if test x"$enablestring" = xdisable; then
12839 if test $wxUSE_TAB_DIALOG = yes; then
12840 result=no
12841 else
12842 result=yes
12843 fi
12844 else
12845 result=$wxUSE_TAB_DIALOG
12846 fi
12847
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12850
12851
12852 enablestring=
12853 defaultval=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x"$enablestring" = xdisable; then
12856 defaultval=yes
12857 else
12858 defaultval=no
12859 fi
12860 fi
12861
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12864 # Check whether --enable-taskbaricon was given.
12865 if test "${enable_taskbaricon+set}" = set; then
12866 enableval=$enable_taskbaricon;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12869 else
12870 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12871 fi
12872 cache=yes
12873
12874 else
12875
12876 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12877 if test "x$LINE" != x ; then
12878 eval "DEFAULT_$LINE"
12879 fi
12880
12881 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12882
12883 fi
12884
12885
12886 eval "$wx_cv_use_taskbaricon"
12887 if test "x$cache" = xyes; then
12888 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12889 fi
12890
12891 if test x"$enablestring" = xdisable; then
12892 if test $wxUSE_TASKBARICON = yes; then
12893 result=no
12894 else
12895 result=yes
12896 fi
12897 else
12898 result=$wxUSE_TASKBARICON
12899 fi
12900
12901 { echo "$as_me:$LINENO: result: $result" >&5
12902 echo "${ECHO_T}$result" >&6; }
12903
12904
12905 enablestring=
12906 defaultval=$wxUSE_ALL_FEATURES
12907 if test -z "$defaultval"; then
12908 if test x"$enablestring" = xdisable; then
12909 defaultval=yes
12910 else
12911 defaultval=no
12912 fi
12913 fi
12914
12915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12916 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12917 # Check whether --enable-textctrl was given.
12918 if test "${enable_textctrl+set}" = set; then
12919 enableval=$enable_textctrl;
12920 if test "$enableval" = yes; then
12921 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12922 else
12923 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12924 fi
12925 cache=yes
12926
12927 else
12928
12929 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12930 if test "x$LINE" != x ; then
12931 eval "DEFAULT_$LINE"
12932 fi
12933
12934 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12935
12936 fi
12937
12938
12939 eval "$wx_cv_use_textctrl"
12940 if test "x$cache" = xyes; then
12941 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12942 fi
12943
12944 if test x"$enablestring" = xdisable; then
12945 if test $wxUSE_TEXTCTRL = yes; then
12946 result=no
12947 else
12948 result=yes
12949 fi
12950 else
12951 result=$wxUSE_TEXTCTRL
12952 fi
12953
12954 { echo "$as_me:$LINENO: result: $result" >&5
12955 echo "${ECHO_T}$result" >&6; }
12956
12957
12958 enablestring=
12959 defaultval=$wxUSE_ALL_FEATURES
12960 if test -z "$defaultval"; then
12961 if test x"$enablestring" = xdisable; then
12962 defaultval=yes
12963 else
12964 defaultval=no
12965 fi
12966 fi
12967
12968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12969 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12970 # Check whether --enable-togglebtn was given.
12971 if test "${enable_togglebtn+set}" = set; then
12972 enableval=$enable_togglebtn;
12973 if test "$enableval" = yes; then
12974 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12975 else
12976 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12977 fi
12978 cache=yes
12979
12980 else
12981
12982 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12983 if test "x$LINE" != x ; then
12984 eval "DEFAULT_$LINE"
12985 fi
12986
12987 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12988
12989 fi
12990
12991
12992 eval "$wx_cv_use_togglebtn"
12993 if test "x$cache" = xyes; then
12994 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12995 fi
12996
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_TOGGLEBTN = yes; then
12999 result=no
13000 else
13001 result=yes
13002 fi
13003 else
13004 result=$wxUSE_TOGGLEBTN
13005 fi
13006
13007 { echo "$as_me:$LINENO: result: $result" >&5
13008 echo "${ECHO_T}$result" >&6; }
13009
13010
13011 enablestring=
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13015 defaultval=yes
13016 else
13017 defaultval=no
13018 fi
13019 fi
13020
13021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13022 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13023 # Check whether --enable-toolbar was given.
13024 if test "${enable_toolbar+set}" = set; then
13025 enableval=$enable_toolbar;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13028 else
13029 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13030 fi
13031 cache=yes
13032
13033 else
13034
13035 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13036 if test "x$LINE" != x ; then
13037 eval "DEFAULT_$LINE"
13038 fi
13039
13040 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13041
13042 fi
13043
13044
13045 eval "$wx_cv_use_toolbar"
13046 if test "x$cache" = xyes; then
13047 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13048 fi
13049
13050 if test x"$enablestring" = xdisable; then
13051 if test $wxUSE_TOOLBAR = yes; then
13052 result=no
13053 else
13054 result=yes
13055 fi
13056 else
13057 result=$wxUSE_TOOLBAR
13058 fi
13059
13060 { echo "$as_me:$LINENO: result: $result" >&5
13061 echo "${ECHO_T}$result" >&6; }
13062
13063
13064 enablestring=
13065 defaultval=$wxUSE_ALL_FEATURES
13066 if test -z "$defaultval"; then
13067 if test x"$enablestring" = xdisable; then
13068 defaultval=yes
13069 else
13070 defaultval=no
13071 fi
13072 fi
13073
13074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13075 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13076 # Check whether --enable-tbarnative was given.
13077 if test "${enable_tbarnative+set}" = set; then
13078 enableval=$enable_tbarnative;
13079 if test "$enableval" = yes; then
13080 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13081 else
13082 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13083 fi
13084 cache=yes
13085
13086 else
13087
13088 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13089 if test "x$LINE" != x ; then
13090 eval "DEFAULT_$LINE"
13091 fi
13092
13093 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13094
13095 fi
13096
13097
13098 eval "$wx_cv_use_tbarnative"
13099 if test "x$cache" = xyes; then
13100 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13101 fi
13102
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13105 result=no
13106 else
13107 result=yes
13108 fi
13109 else
13110 result=$wxUSE_TOOLBAR_NATIVE
13111 fi
13112
13113 { echo "$as_me:$LINENO: result: $result" >&5
13114 echo "${ECHO_T}$result" >&6; }
13115
13116
13117 enablestring=
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z "$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13121 defaultval=yes
13122 else
13123 defaultval=no
13124 fi
13125 fi
13126
13127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13128 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13129 # Check whether --enable-treebook was given.
13130 if test "${enable_treebook+set}" = set; then
13131 enableval=$enable_treebook;
13132 if test "$enableval" = yes; then
13133 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13134 else
13135 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13136 fi
13137 cache=yes
13138
13139 else
13140
13141 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13142 if test "x$LINE" != x ; then
13143 eval "DEFAULT_$LINE"
13144 fi
13145
13146 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_treebook"
13152 if test "x$cache" = xyes; then
13153 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13154 fi
13155
13156 if test x"$enablestring" = xdisable; then
13157 if test $wxUSE_TREEBOOK = yes; then
13158 result=no
13159 else
13160 result=yes
13161 fi
13162 else
13163 result=$wxUSE_TREEBOOK
13164 fi
13165
13166 { echo "$as_me:$LINENO: result: $result" >&5
13167 echo "${ECHO_T}$result" >&6; }
13168
13169
13170 enablestring=
13171 defaultval=$wxUSE_ALL_FEATURES
13172 if test -z "$defaultval"; then
13173 if test x"$enablestring" = xdisable; then
13174 defaultval=yes
13175 else
13176 defaultval=no
13177 fi
13178 fi
13179
13180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13181 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13182 # Check whether --enable-toolbook was given.
13183 if test "${enable_toolbook+set}" = set; then
13184 enableval=$enable_toolbook;
13185 if test "$enableval" = yes; then
13186 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13187 else
13188 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13189 fi
13190 cache=yes
13191
13192 else
13193
13194 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13195 if test "x$LINE" != x ; then
13196 eval "DEFAULT_$LINE"
13197 fi
13198
13199 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13200
13201 fi
13202
13203
13204 eval "$wx_cv_use_toolbook"
13205 if test "x$cache" = xyes; then
13206 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13207 fi
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_TOOLBOOK = yes; then
13211 result=no
13212 else
13213 result=yes
13214 fi
13215 else
13216 result=$wxUSE_TOOLBOOK
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13235 # Check whether --enable-treectrl was given.
13236 if test "${enable_treectrl+set}" = set; then
13237 enableval=$enable_treectrl;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13240 else
13241 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13242 fi
13243 cache=yes
13244
13245 else
13246
13247 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13248 if test "x$LINE" != x ; then
13249 eval "DEFAULT_$LINE"
13250 fi
13251
13252 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_treectrl"
13258 if test "x$cache" = xyes; then
13259 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13260 fi
13261
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_TREECTRL = yes; then
13264 result=no
13265 else
13266 result=yes
13267 fi
13268 else
13269 result=$wxUSE_TREECTRL
13270 fi
13271
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13274
13275
13276 enablestring=
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13280 defaultval=yes
13281 else
13282 defaultval=no
13283 fi
13284 fi
13285
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13288 # Check whether --enable-tipwindow was given.
13289 if test "${enable_tipwindow+set}" = set; then
13290 enableval=$enable_tipwindow;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13293 else
13294 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13295 fi
13296 cache=yes
13297
13298 else
13299
13300 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13301 if test "x$LINE" != x ; then
13302 eval "DEFAULT_$LINE"
13303 fi
13304
13305 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13306
13307 fi
13308
13309
13310 eval "$wx_cv_use_tipwindow"
13311 if test "x$cache" = xyes; then
13312 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13313 fi
13314
13315 if test x"$enablestring" = xdisable; then
13316 if test $wxUSE_TIPWINDOW = yes; then
13317 result=no
13318 else
13319 result=yes
13320 fi
13321 else
13322 result=$wxUSE_TIPWINDOW
13323 fi
13324
13325 { echo "$as_me:$LINENO: result: $result" >&5
13326 echo "${ECHO_T}$result" >&6; }
13327
13328
13329 enablestring=
13330 defaultval=$wxUSE_ALL_FEATURES
13331 if test -z "$defaultval"; then
13332 if test x"$enablestring" = xdisable; then
13333 defaultval=yes
13334 else
13335 defaultval=no
13336 fi
13337 fi
13338
13339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13340 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13341 # Check whether --enable-popupwin was given.
13342 if test "${enable_popupwin+set}" = set; then
13343 enableval=$enable_popupwin;
13344 if test "$enableval" = yes; then
13345 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13346 else
13347 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13348 fi
13349 cache=yes
13350
13351 else
13352
13353 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13354 if test "x$LINE" != x ; then
13355 eval "DEFAULT_$LINE"
13356 fi
13357
13358 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13359
13360 fi
13361
13362
13363 eval "$wx_cv_use_popupwin"
13364 if test "x$cache" = xyes; then
13365 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13366 fi
13367
13368 if test x"$enablestring" = xdisable; then
13369 if test $wxUSE_POPUPWIN = yes; then
13370 result=no
13371 else
13372 result=yes
13373 fi
13374 else
13375 result=$wxUSE_POPUPWIN
13376 fi
13377
13378 { echo "$as_me:$LINENO: result: $result" >&5
13379 echo "${ECHO_T}$result" >&6; }
13380
13381
13382
13383
13384 enablestring=
13385 defaultval=$wxUSE_ALL_FEATURES
13386 if test -z "$defaultval"; then
13387 if test x"$enablestring" = xdisable; then
13388 defaultval=yes
13389 else
13390 defaultval=no
13391 fi
13392 fi
13393
13394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13395 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13396 # Check whether --enable-commondlg was given.
13397 if test "${enable_commondlg+set}" = set; then
13398 enableval=$enable_commondlg;
13399 if test "$enableval" = yes; then
13400 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13401 else
13402 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13403 fi
13404 cache=yes
13405
13406 else
13407
13408 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13409 if test "x$LINE" != x ; then
13410 eval "DEFAULT_$LINE"
13411 fi
13412
13413 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13414
13415 fi
13416
13417
13418 eval "$wx_cv_use_commondlg"
13419 if test "x$cache" = xyes; then
13420 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13421 fi
13422
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_COMMONDLGS = yes; then
13425 result=no
13426 else
13427 result=yes
13428 fi
13429 else
13430 result=$wxUSE_COMMONDLGS
13431 fi
13432
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13435
13436
13437 enablestring=
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13441 defaultval=yes
13442 else
13443 defaultval=no
13444 fi
13445 fi
13446
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13449 # Check whether --enable-aboutdlg was given.
13450 if test "${enable_aboutdlg+set}" = set; then
13451 enableval=$enable_aboutdlg;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13454 else
13455 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13456 fi
13457 cache=yes
13458
13459 else
13460
13461 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13462 if test "x$LINE" != x ; then
13463 eval "DEFAULT_$LINE"
13464 fi
13465
13466 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_aboutdlg"
13472 if test "x$cache" = xyes; then
13473 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13474 fi
13475
13476 if test x"$enablestring" = xdisable; then
13477 if test $wxUSE_ABOUTDLG = yes; then
13478 result=no
13479 else
13480 result=yes
13481 fi
13482 else
13483 result=$wxUSE_ABOUTDLG
13484 fi
13485
13486 { echo "$as_me:$LINENO: result: $result" >&5
13487 echo "${ECHO_T}$result" >&6; }
13488
13489
13490 enablestring=
13491 defaultval=$wxUSE_ALL_FEATURES
13492 if test -z "$defaultval"; then
13493 if test x"$enablestring" = xdisable; then
13494 defaultval=yes
13495 else
13496 defaultval=no
13497 fi
13498 fi
13499
13500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13501 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13502 # Check whether --enable-choicedlg was given.
13503 if test "${enable_choicedlg+set}" = set; then
13504 enableval=$enable_choicedlg;
13505 if test "$enableval" = yes; then
13506 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13507 else
13508 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13509 fi
13510 cache=yes
13511
13512 else
13513
13514 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13515 if test "x$LINE" != x ; then
13516 eval "DEFAULT_$LINE"
13517 fi
13518
13519 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_choicedlg"
13525 if test "x$cache" = xyes; then
13526 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13527 fi
13528
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_CHOICEDLG = yes; then
13531 result=no
13532 else
13533 result=yes
13534 fi
13535 else
13536 result=$wxUSE_CHOICEDLG
13537 fi
13538
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13541
13542
13543 enablestring=
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13547 defaultval=yes
13548 else
13549 defaultval=no
13550 fi
13551 fi
13552
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13555 # Check whether --enable-coldlg was given.
13556 if test "${enable_coldlg+set}" = set; then
13557 enableval=$enable_coldlg;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13560 else
13561 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13562 fi
13563 cache=yes
13564
13565 else
13566
13567 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13568 if test "x$LINE" != x ; then
13569 eval "DEFAULT_$LINE"
13570 fi
13571
13572 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13573
13574 fi
13575
13576
13577 eval "$wx_cv_use_coldlg"
13578 if test "x$cache" = xyes; then
13579 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13580 fi
13581
13582 if test x"$enablestring" = xdisable; then
13583 if test $wxUSE_COLOURDLG = yes; then
13584 result=no
13585 else
13586 result=yes
13587 fi
13588 else
13589 result=$wxUSE_COLOURDLG
13590 fi
13591
13592 { echo "$as_me:$LINENO: result: $result" >&5
13593 echo "${ECHO_T}$result" >&6; }
13594
13595
13596 enablestring=
13597 defaultval=$wxUSE_ALL_FEATURES
13598 if test -z "$defaultval"; then
13599 if test x"$enablestring" = xdisable; then
13600 defaultval=yes
13601 else
13602 defaultval=no
13603 fi
13604 fi
13605
13606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13607 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13608 # Check whether --enable-filedlg was given.
13609 if test "${enable_filedlg+set}" = set; then
13610 enableval=$enable_filedlg;
13611 if test "$enableval" = yes; then
13612 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13613 else
13614 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13615 fi
13616 cache=yes
13617
13618 else
13619
13620 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13621 if test "x$LINE" != x ; then
13622 eval "DEFAULT_$LINE"
13623 fi
13624
13625 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13626
13627 fi
13628
13629
13630 eval "$wx_cv_use_filedlg"
13631 if test "x$cache" = xyes; then
13632 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13633 fi
13634
13635 if test x"$enablestring" = xdisable; then
13636 if test $wxUSE_FILEDLG = yes; then
13637 result=no
13638 else
13639 result=yes
13640 fi
13641 else
13642 result=$wxUSE_FILEDLG
13643 fi
13644
13645 { echo "$as_me:$LINENO: result: $result" >&5
13646 echo "${ECHO_T}$result" >&6; }
13647
13648
13649 enablestring=
13650 defaultval=$wxUSE_ALL_FEATURES
13651 if test -z "$defaultval"; then
13652 if test x"$enablestring" = xdisable; then
13653 defaultval=yes
13654 else
13655 defaultval=no
13656 fi
13657 fi
13658
13659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13660 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13661 # Check whether --enable-finddlg was given.
13662 if test "${enable_finddlg+set}" = set; then
13663 enableval=$enable_finddlg;
13664 if test "$enableval" = yes; then
13665 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13666 else
13667 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13668 fi
13669 cache=yes
13670
13671 else
13672
13673 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13674 if test "x$LINE" != x ; then
13675 eval "DEFAULT_$LINE"
13676 fi
13677
13678 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13679
13680 fi
13681
13682
13683 eval "$wx_cv_use_finddlg"
13684 if test "x$cache" = xyes; then
13685 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13686 fi
13687
13688 if test x"$enablestring" = xdisable; then
13689 if test $wxUSE_FINDREPLDLG = yes; then
13690 result=no
13691 else
13692 result=yes
13693 fi
13694 else
13695 result=$wxUSE_FINDREPLDLG
13696 fi
13697
13698 { echo "$as_me:$LINENO: result: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13700
13701
13702 enablestring=
13703 defaultval=$wxUSE_ALL_FEATURES
13704 if test -z "$defaultval"; then
13705 if test x"$enablestring" = xdisable; then
13706 defaultval=yes
13707 else
13708 defaultval=no
13709 fi
13710 fi
13711
13712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13713 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13714 # Check whether --enable-fontdlg was given.
13715 if test "${enable_fontdlg+set}" = set; then
13716 enableval=$enable_fontdlg;
13717 if test "$enableval" = yes; then
13718 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13719 else
13720 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13721 fi
13722 cache=yes
13723
13724 else
13725
13726 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13727 if test "x$LINE" != x ; then
13728 eval "DEFAULT_$LINE"
13729 fi
13730
13731 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13732
13733 fi
13734
13735
13736 eval "$wx_cv_use_fontdlg"
13737 if test "x$cache" = xyes; then
13738 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13739 fi
13740
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_FONTDLG = yes; then
13743 result=no
13744 else
13745 result=yes
13746 fi
13747 else
13748 result=$wxUSE_FONTDLG
13749 fi
13750
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13753
13754
13755 enablestring=
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13759 defaultval=yes
13760 else
13761 defaultval=no
13762 fi
13763 fi
13764
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13767 # Check whether --enable-dirdlg was given.
13768 if test "${enable_dirdlg+set}" = set; then
13769 enableval=$enable_dirdlg;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13772 else
13773 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13774 fi
13775 cache=yes
13776
13777 else
13778
13779 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13780 if test "x$LINE" != x ; then
13781 eval "DEFAULT_$LINE"
13782 fi
13783
13784 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_dirdlg"
13790 if test "x$cache" = xyes; then
13791 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13792 fi
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_DIRDLG = yes; then
13796 result=no
13797 else
13798 result=yes
13799 fi
13800 else
13801 result=$wxUSE_DIRDLG
13802 fi
13803
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13820 # Check whether --enable-msgdlg was given.
13821 if test "${enable_msgdlg+set}" = set; then
13822 enableval=$enable_msgdlg;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13825 else
13826 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13827 fi
13828 cache=yes
13829
13830 else
13831
13832 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13833 if test "x$LINE" != x ; then
13834 eval "DEFAULT_$LINE"
13835 fi
13836
13837 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13838
13839 fi
13840
13841
13842 eval "$wx_cv_use_msgdlg"
13843 if test "x$cache" = xyes; then
13844 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13845 fi
13846
13847 if test x"$enablestring" = xdisable; then
13848 if test $wxUSE_MSGDLG = yes; then
13849 result=no
13850 else
13851 result=yes
13852 fi
13853 else
13854 result=$wxUSE_MSGDLG
13855 fi
13856
13857 { echo "$as_me:$LINENO: result: $result" >&5
13858 echo "${ECHO_T}$result" >&6; }
13859
13860
13861 enablestring=
13862 defaultval=$wxUSE_ALL_FEATURES
13863 if test -z "$defaultval"; then
13864 if test x"$enablestring" = xdisable; then
13865 defaultval=yes
13866 else
13867 defaultval=no
13868 fi
13869 fi
13870
13871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13872 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13873 # Check whether --enable-numberdlg was given.
13874 if test "${enable_numberdlg+set}" = set; then
13875 enableval=$enable_numberdlg;
13876 if test "$enableval" = yes; then
13877 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13878 else
13879 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13880 fi
13881 cache=yes
13882
13883 else
13884
13885 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13886 if test "x$LINE" != x ; then
13887 eval "DEFAULT_$LINE"
13888 fi
13889
13890 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13891
13892 fi
13893
13894
13895 eval "$wx_cv_use_numberdlg"
13896 if test "x$cache" = xyes; then
13897 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13898 fi
13899
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_NUMBERDLG = yes; then
13902 result=no
13903 else
13904 result=yes
13905 fi
13906 else
13907 result=$wxUSE_NUMBERDLG
13908 fi
13909
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13912
13913
13914 enablestring=
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13918 defaultval=yes
13919 else
13920 defaultval=no
13921 fi
13922 fi
13923
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13926 # Check whether --enable-splash was given.
13927 if test "${enable_splash+set}" = set; then
13928 enableval=$enable_splash;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_splash='wxUSE_SPLASH=yes'
13931 else
13932 wx_cv_use_splash='wxUSE_SPLASH=no'
13933 fi
13934 cache=yes
13935
13936 else
13937
13938 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13939 if test "x$LINE" != x ; then
13940 eval "DEFAULT_$LINE"
13941 fi
13942
13943 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13944
13945 fi
13946
13947
13948 eval "$wx_cv_use_splash"
13949 if test "x$cache" = xyes; then
13950 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13951 fi
13952
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_SPLASH = yes; then
13955 result=no
13956 else
13957 result=yes
13958 fi
13959 else
13960 result=$wxUSE_SPLASH
13961 fi
13962
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13965
13966
13967 enablestring=
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13971 defaultval=yes
13972 else
13973 defaultval=no
13974 fi
13975 fi
13976
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13979 # Check whether --enable-textdlg was given.
13980 if test "${enable_textdlg+set}" = set; then
13981 enableval=$enable_textdlg;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13984 else
13985 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13986 fi
13987 cache=yes
13988
13989 else
13990
13991 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13992 if test "x$LINE" != x ; then
13993 eval "DEFAULT_$LINE"
13994 fi
13995
13996 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_textdlg"
14002 if test "x$cache" = xyes; then
14003 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14004 fi
14005
14006 if test x"$enablestring" = xdisable; then
14007 if test $wxUSE_TEXTDLG = yes; then
14008 result=no
14009 else
14010 result=yes
14011 fi
14012 else
14013 result=$wxUSE_TEXTDLG
14014 fi
14015
14016 { echo "$as_me:$LINENO: result: $result" >&5
14017 echo "${ECHO_T}$result" >&6; }
14018
14019
14020 enablestring=
14021 defaultval=$wxUSE_ALL_FEATURES
14022 if test -z "$defaultval"; then
14023 if test x"$enablestring" = xdisable; then
14024 defaultval=yes
14025 else
14026 defaultval=no
14027 fi
14028 fi
14029
14030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14031 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14032 # Check whether --enable-tipdlg was given.
14033 if test "${enable_tipdlg+set}" = set; then
14034 enableval=$enable_tipdlg;
14035 if test "$enableval" = yes; then
14036 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14037 else
14038 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14039 fi
14040 cache=yes
14041
14042 else
14043
14044 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14045 if test "x$LINE" != x ; then
14046 eval "DEFAULT_$LINE"
14047 fi
14048
14049 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14050
14051 fi
14052
14053
14054 eval "$wx_cv_use_tipdlg"
14055 if test "x$cache" = xyes; then
14056 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14057 fi
14058
14059 if test x"$enablestring" = xdisable; then
14060 if test $wxUSE_STARTUP_TIPS = yes; then
14061 result=no
14062 else
14063 result=yes
14064 fi
14065 else
14066 result=$wxUSE_STARTUP_TIPS
14067 fi
14068
14069 { echo "$as_me:$LINENO: result: $result" >&5
14070 echo "${ECHO_T}$result" >&6; }
14071
14072
14073 enablestring=
14074 defaultval=$wxUSE_ALL_FEATURES
14075 if test -z "$defaultval"; then
14076 if test x"$enablestring" = xdisable; then
14077 defaultval=yes
14078 else
14079 defaultval=no
14080 fi
14081 fi
14082
14083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14084 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14085 # Check whether --enable-progressdlg was given.
14086 if test "${enable_progressdlg+set}" = set; then
14087 enableval=$enable_progressdlg;
14088 if test "$enableval" = yes; then
14089 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14090 else
14091 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14092 fi
14093 cache=yes
14094
14095 else
14096
14097 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14098 if test "x$LINE" != x ; then
14099 eval "DEFAULT_$LINE"
14100 fi
14101
14102 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14103
14104 fi
14105
14106
14107 eval "$wx_cv_use_progressdlg"
14108 if test "x$cache" = xyes; then
14109 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14110 fi
14111
14112 if test x"$enablestring" = xdisable; then
14113 if test $wxUSE_PROGRESSDLG = yes; then
14114 result=no
14115 else
14116 result=yes
14117 fi
14118 else
14119 result=$wxUSE_PROGRESSDLG
14120 fi
14121
14122 { echo "$as_me:$LINENO: result: $result" >&5
14123 echo "${ECHO_T}$result" >&6; }
14124
14125
14126 enablestring=
14127 defaultval=$wxUSE_ALL_FEATURES
14128 if test -z "$defaultval"; then
14129 if test x"$enablestring" = xdisable; then
14130 defaultval=yes
14131 else
14132 defaultval=no
14133 fi
14134 fi
14135
14136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14137 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14138 # Check whether --enable-wizarddlg was given.
14139 if test "${enable_wizarddlg+set}" = set; then
14140 enableval=$enable_wizarddlg;
14141 if test "$enableval" = yes; then
14142 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14143 else
14144 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14145 fi
14146 cache=yes
14147
14148 else
14149
14150 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14151 if test "x$LINE" != x ; then
14152 eval "DEFAULT_$LINE"
14153 fi
14154
14155 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14156
14157 fi
14158
14159
14160 eval "$wx_cv_use_wizarddlg"
14161 if test "x$cache" = xyes; then
14162 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14163 fi
14164
14165 if test x"$enablestring" = xdisable; then
14166 if test $wxUSE_WIZARDDLG = yes; then
14167 result=no
14168 else
14169 result=yes
14170 fi
14171 else
14172 result=$wxUSE_WIZARDDLG
14173 fi
14174
14175 { echo "$as_me:$LINENO: result: $result" >&5
14176 echo "${ECHO_T}$result" >&6; }
14177
14178
14179
14180
14181 enablestring=
14182 defaultval=$wxUSE_ALL_FEATURES
14183 if test -z "$defaultval"; then
14184 if test x"$enablestring" = xdisable; then
14185 defaultval=yes
14186 else
14187 defaultval=no
14188 fi
14189 fi
14190
14191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14192 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14193 # Check whether --enable-menus was given.
14194 if test "${enable_menus+set}" = set; then
14195 enableval=$enable_menus;
14196 if test "$enableval" = yes; then
14197 wx_cv_use_menus='wxUSE_MENUS=yes'
14198 else
14199 wx_cv_use_menus='wxUSE_MENUS=no'
14200 fi
14201 cache=yes
14202
14203 else
14204
14205 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14206 if test "x$LINE" != x ; then
14207 eval "DEFAULT_$LINE"
14208 fi
14209
14210 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14211
14212 fi
14213
14214
14215 eval "$wx_cv_use_menus"
14216 if test "x$cache" = xyes; then
14217 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14218 fi
14219
14220 if test x"$enablestring" = xdisable; then
14221 if test $wxUSE_MENUS = yes; then
14222 result=no
14223 else
14224 result=yes
14225 fi
14226 else
14227 result=$wxUSE_MENUS
14228 fi
14229
14230 { echo "$as_me:$LINENO: result: $result" >&5
14231 echo "${ECHO_T}$result" >&6; }
14232
14233
14234 enablestring=
14235 defaultval=$wxUSE_ALL_FEATURES
14236 if test -z "$defaultval"; then
14237 if test x"$enablestring" = xdisable; then
14238 defaultval=yes
14239 else
14240 defaultval=no
14241 fi
14242 fi
14243
14244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14245 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14246 # Check whether --enable-miniframe was given.
14247 if test "${enable_miniframe+set}" = set; then
14248 enableval=$enable_miniframe;
14249 if test "$enableval" = yes; then
14250 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14251 else
14252 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14253 fi
14254 cache=yes
14255
14256 else
14257
14258 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14259 if test "x$LINE" != x ; then
14260 eval "DEFAULT_$LINE"
14261 fi
14262
14263 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14264
14265 fi
14266
14267
14268 eval "$wx_cv_use_miniframe"
14269 if test "x$cache" = xyes; then
14270 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14271 fi
14272
14273 if test x"$enablestring" = xdisable; then
14274 if test $wxUSE_MINIFRAME = yes; then
14275 result=no
14276 else
14277 result=yes
14278 fi
14279 else
14280 result=$wxUSE_MINIFRAME
14281 fi
14282
14283 { echo "$as_me:$LINENO: result: $result" >&5
14284 echo "${ECHO_T}$result" >&6; }
14285
14286
14287 enablestring=
14288 defaultval=$wxUSE_ALL_FEATURES
14289 if test -z "$defaultval"; then
14290 if test x"$enablestring" = xdisable; then
14291 defaultval=yes
14292 else
14293 defaultval=no
14294 fi
14295 fi
14296
14297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14298 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14299 # Check whether --enable-tooltips was given.
14300 if test "${enable_tooltips+set}" = set; then
14301 enableval=$enable_tooltips;
14302 if test "$enableval" = yes; then
14303 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14304 else
14305 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14306 fi
14307 cache=yes
14308
14309 else
14310
14311 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14312 if test "x$LINE" != x ; then
14313 eval "DEFAULT_$LINE"
14314 fi
14315
14316 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14317
14318 fi
14319
14320
14321 eval "$wx_cv_use_tooltips"
14322 if test "x$cache" = xyes; then
14323 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14324 fi
14325
14326 if test x"$enablestring" = xdisable; then
14327 if test $wxUSE_TOOLTIPS = yes; then
14328 result=no
14329 else
14330 result=yes
14331 fi
14332 else
14333 result=$wxUSE_TOOLTIPS
14334 fi
14335
14336 { echo "$as_me:$LINENO: result: $result" >&5
14337 echo "${ECHO_T}$result" >&6; }
14338
14339
14340 enablestring=
14341 defaultval=$wxUSE_ALL_FEATURES
14342 if test -z "$defaultval"; then
14343 if test x"$enablestring" = xdisable; then
14344 defaultval=yes
14345 else
14346 defaultval=no
14347 fi
14348 fi
14349
14350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14351 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14352 # Check whether --enable-splines was given.
14353 if test "${enable_splines+set}" = set; then
14354 enableval=$enable_splines;
14355 if test "$enableval" = yes; then
14356 wx_cv_use_splines='wxUSE_SPLINES=yes'
14357 else
14358 wx_cv_use_splines='wxUSE_SPLINES=no'
14359 fi
14360 cache=yes
14361
14362 else
14363
14364 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14365 if test "x$LINE" != x ; then
14366 eval "DEFAULT_$LINE"
14367 fi
14368
14369 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14370
14371 fi
14372
14373
14374 eval "$wx_cv_use_splines"
14375 if test "x$cache" = xyes; then
14376 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14377 fi
14378
14379 if test x"$enablestring" = xdisable; then
14380 if test $wxUSE_SPLINES = yes; then
14381 result=no
14382 else
14383 result=yes
14384 fi
14385 else
14386 result=$wxUSE_SPLINES
14387 fi
14388
14389 { echo "$as_me:$LINENO: result: $result" >&5
14390 echo "${ECHO_T}$result" >&6; }
14391
14392
14393 enablestring=
14394 defaultval=$wxUSE_ALL_FEATURES
14395 if test -z "$defaultval"; then
14396 if test x"$enablestring" = xdisable; then
14397 defaultval=yes
14398 else
14399 defaultval=no
14400 fi
14401 fi
14402
14403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14404 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14405 # Check whether --enable-mousewheel was given.
14406 if test "${enable_mousewheel+set}" = set; then
14407 enableval=$enable_mousewheel;
14408 if test "$enableval" = yes; then
14409 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14410 else
14411 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14412 fi
14413 cache=yes
14414
14415 else
14416
14417 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14418 if test "x$LINE" != x ; then
14419 eval "DEFAULT_$LINE"
14420 fi
14421
14422 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14423
14424 fi
14425
14426
14427 eval "$wx_cv_use_mousewheel"
14428 if test "x$cache" = xyes; then
14429 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14430 fi
14431
14432 if test x"$enablestring" = xdisable; then
14433 if test $wxUSE_MOUSEWHEEL = yes; then
14434 result=no
14435 else
14436 result=yes
14437 fi
14438 else
14439 result=$wxUSE_MOUSEWHEEL
14440 fi
14441
14442 { echo "$as_me:$LINENO: result: $result" >&5
14443 echo "${ECHO_T}$result" >&6; }
14444
14445
14446 enablestring=
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14450 defaultval=yes
14451 else
14452 defaultval=no
14453 fi
14454 fi
14455
14456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14457 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14458 # Check whether --enable-validators was given.
14459 if test "${enable_validators+set}" = set; then
14460 enableval=$enable_validators;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14463 else
14464 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14465 fi
14466 cache=yes
14467
14468 else
14469
14470 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14471 if test "x$LINE" != x ; then
14472 eval "DEFAULT_$LINE"
14473 fi
14474
14475 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14476
14477 fi
14478
14479
14480 eval "$wx_cv_use_validators"
14481 if test "x$cache" = xyes; then
14482 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14483 fi
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_VALIDATORS = yes; then
14487 result=no
14488 else
14489 result=yes
14490 fi
14491 else
14492 result=$wxUSE_VALIDATORS
14493 fi
14494
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14497
14498
14499 enablestring=
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14503 defaultval=yes
14504 else
14505 defaultval=no
14506 fi
14507 fi
14508
14509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14511 # Check whether --enable-busyinfo was given.
14512 if test "${enable_busyinfo+set}" = set; then
14513 enableval=$enable_busyinfo;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14516 else
14517 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14518 fi
14519 cache=yes
14520
14521 else
14522
14523 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14524 if test "x$LINE" != x ; then
14525 eval "DEFAULT_$LINE"
14526 fi
14527
14528 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14529
14530 fi
14531
14532
14533 eval "$wx_cv_use_busyinfo"
14534 if test "x$cache" = xyes; then
14535 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14536 fi
14537
14538 if test x"$enablestring" = xdisable; then
14539 if test $wxUSE_BUSYINFO = yes; then
14540 result=no
14541 else
14542 result=yes
14543 fi
14544 else
14545 result=$wxUSE_BUSYINFO
14546 fi
14547
14548 { echo "$as_me:$LINENO: result: $result" >&5
14549 echo "${ECHO_T}$result" >&6; }
14550
14551
14552 enablestring=
14553 defaultval=$wxUSE_ALL_FEATURES
14554 if test -z "$defaultval"; then
14555 if test x"$enablestring" = xdisable; then
14556 defaultval=yes
14557 else
14558 defaultval=no
14559 fi
14560 fi
14561
14562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14563 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14564 # Check whether --enable-joystick was given.
14565 if test "${enable_joystick+set}" = set; then
14566 enableval=$enable_joystick;
14567 if test "$enableval" = yes; then
14568 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14569 else
14570 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14571 fi
14572 cache=yes
14573
14574 else
14575
14576 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14577 if test "x$LINE" != x ; then
14578 eval "DEFAULT_$LINE"
14579 fi
14580
14581 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14582
14583 fi
14584
14585
14586 eval "$wx_cv_use_joystick"
14587 if test "x$cache" = xyes; then
14588 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14589 fi
14590
14591 if test x"$enablestring" = xdisable; then
14592 if test $wxUSE_JOYSTICK = yes; then
14593 result=no
14594 else
14595 result=yes
14596 fi
14597 else
14598 result=$wxUSE_JOYSTICK
14599 fi
14600
14601 { echo "$as_me:$LINENO: result: $result" >&5
14602 echo "${ECHO_T}$result" >&6; }
14603
14604
14605 enablestring=
14606 defaultval=$wxUSE_ALL_FEATURES
14607 if test -z "$defaultval"; then
14608 if test x"$enablestring" = xdisable; then
14609 defaultval=yes
14610 else
14611 defaultval=no
14612 fi
14613 fi
14614
14615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14616 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14617 # Check whether --enable-metafile was given.
14618 if test "${enable_metafile+set}" = set; then
14619 enableval=$enable_metafile;
14620 if test "$enableval" = yes; then
14621 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14622 else
14623 wx_cv_use_metafile='wxUSE_METAFILE=no'
14624 fi
14625 cache=yes
14626
14627 else
14628
14629 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14630 if test "x$LINE" != x ; then
14631 eval "DEFAULT_$LINE"
14632 fi
14633
14634 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14635
14636 fi
14637
14638
14639 eval "$wx_cv_use_metafile"
14640 if test "x$cache" = xyes; then
14641 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14642 fi
14643
14644 if test x"$enablestring" = xdisable; then
14645 if test $wxUSE_METAFILE = yes; then
14646 result=no
14647 else
14648 result=yes
14649 fi
14650 else
14651 result=$wxUSE_METAFILE
14652 fi
14653
14654 { echo "$as_me:$LINENO: result: $result" >&5
14655 echo "${ECHO_T}$result" >&6; }
14656
14657
14658 enablestring=
14659 defaultval=$wxUSE_ALL_FEATURES
14660 if test -z "$defaultval"; then
14661 if test x"$enablestring" = xdisable; then
14662 defaultval=yes
14663 else
14664 defaultval=no
14665 fi
14666 fi
14667
14668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14669 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14670 # Check whether --enable-dragimage was given.
14671 if test "${enable_dragimage+set}" = set; then
14672 enableval=$enable_dragimage;
14673 if test "$enableval" = yes; then
14674 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14675 else
14676 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14677 fi
14678 cache=yes
14679
14680 else
14681
14682 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14683 if test "x$LINE" != x ; then
14684 eval "DEFAULT_$LINE"
14685 fi
14686
14687 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14688
14689 fi
14690
14691
14692 eval "$wx_cv_use_dragimage"
14693 if test "x$cache" = xyes; then
14694 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14695 fi
14696
14697 if test x"$enablestring" = xdisable; then
14698 if test $wxUSE_DRAGIMAGE = yes; then
14699 result=no
14700 else
14701 result=yes
14702 fi
14703 else
14704 result=$wxUSE_DRAGIMAGE
14705 fi
14706
14707 { echo "$as_me:$LINENO: result: $result" >&5
14708 echo "${ECHO_T}$result" >&6; }
14709
14710
14711 enablestring=
14712 defaultval=$wxUSE_ALL_FEATURES
14713 if test -z "$defaultval"; then
14714 if test x"$enablestring" = xdisable; then
14715 defaultval=yes
14716 else
14717 defaultval=no
14718 fi
14719 fi
14720
14721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14722 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14723 # Check whether --enable-accessibility was given.
14724 if test "${enable_accessibility+set}" = set; then
14725 enableval=$enable_accessibility;
14726 if test "$enableval" = yes; then
14727 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14728 else
14729 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14730 fi
14731 cache=yes
14732
14733 else
14734
14735 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14736 if test "x$LINE" != x ; then
14737 eval "DEFAULT_$LINE"
14738 fi
14739
14740 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14741
14742 fi
14743
14744
14745 eval "$wx_cv_use_accessibility"
14746 if test "x$cache" = xyes; then
14747 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14748 fi
14749
14750 if test x"$enablestring" = xdisable; then
14751 if test $wxUSE_ACCESSIBILITY = yes; then
14752 result=no
14753 else
14754 result=yes
14755 fi
14756 else
14757 result=$wxUSE_ACCESSIBILITY
14758 fi
14759
14760 { echo "$as_me:$LINENO: result: $result" >&5
14761 echo "${ECHO_T}$result" >&6; }
14762
14763
14764
14765
14766 enablestring=
14767 defaultval=$wxUSE_ALL_FEATURES
14768 if test -z "$defaultval"; then
14769 if test x"$enablestring" = xdisable; then
14770 defaultval=yes
14771 else
14772 defaultval=no
14773 fi
14774 fi
14775
14776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14777 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14778 # Check whether --enable-palette was given.
14779 if test "${enable_palette+set}" = set; then
14780 enableval=$enable_palette;
14781 if test "$enableval" = yes; then
14782 wx_cv_use_palette='wxUSE_PALETTE=yes'
14783 else
14784 wx_cv_use_palette='wxUSE_PALETTE=no'
14785 fi
14786 cache=yes
14787
14788 else
14789
14790 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14791 if test "x$LINE" != x ; then
14792 eval "DEFAULT_$LINE"
14793 fi
14794
14795 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14796
14797 fi
14798
14799
14800 eval "$wx_cv_use_palette"
14801 if test "x$cache" = xyes; then
14802 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14803 fi
14804
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_PALETTE = yes; then
14807 result=no
14808 else
14809 result=yes
14810 fi
14811 else
14812 result=$wxUSE_PALETTE
14813 fi
14814
14815 { echo "$as_me:$LINENO: result: $result" >&5
14816 echo "${ECHO_T}$result" >&6; }
14817
14818
14819 enablestring=
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14823 defaultval=yes
14824 else
14825 defaultval=no
14826 fi
14827 fi
14828
14829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14830 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14831 # Check whether --enable-image was given.
14832 if test "${enable_image+set}" = set; then
14833 enableval=$enable_image;
14834 if test "$enableval" = yes; then
14835 wx_cv_use_image='wxUSE_IMAGE=yes'
14836 else
14837 wx_cv_use_image='wxUSE_IMAGE=no'
14838 fi
14839 cache=yes
14840
14841 else
14842
14843 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14844 if test "x$LINE" != x ; then
14845 eval "DEFAULT_$LINE"
14846 fi
14847
14848 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14849
14850 fi
14851
14852
14853 eval "$wx_cv_use_image"
14854 if test "x$cache" = xyes; then
14855 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14856 fi
14857
14858 if test x"$enablestring" = xdisable; then
14859 if test $wxUSE_IMAGE = yes; then
14860 result=no
14861 else
14862 result=yes
14863 fi
14864 else
14865 result=$wxUSE_IMAGE
14866 fi
14867
14868 { echo "$as_me:$LINENO: result: $result" >&5
14869 echo "${ECHO_T}$result" >&6; }
14870
14871
14872 enablestring=
14873 defaultval=$wxUSE_ALL_FEATURES
14874 if test -z "$defaultval"; then
14875 if test x"$enablestring" = xdisable; then
14876 defaultval=yes
14877 else
14878 defaultval=no
14879 fi
14880 fi
14881
14882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14883 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14884 # Check whether --enable-gif was given.
14885 if test "${enable_gif+set}" = set; then
14886 enableval=$enable_gif;
14887 if test "$enableval" = yes; then
14888 wx_cv_use_gif='wxUSE_GIF=yes'
14889 else
14890 wx_cv_use_gif='wxUSE_GIF=no'
14891 fi
14892 cache=yes
14893
14894 else
14895
14896 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14897 if test "x$LINE" != x ; then
14898 eval "DEFAULT_$LINE"
14899 fi
14900
14901 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14902
14903 fi
14904
14905
14906 eval "$wx_cv_use_gif"
14907 if test "x$cache" = xyes; then
14908 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14909 fi
14910
14911 if test x"$enablestring" = xdisable; then
14912 if test $wxUSE_GIF = yes; then
14913 result=no
14914 else
14915 result=yes
14916 fi
14917 else
14918 result=$wxUSE_GIF
14919 fi
14920
14921 { echo "$as_me:$LINENO: result: $result" >&5
14922 echo "${ECHO_T}$result" >&6; }
14923
14924
14925 enablestring=
14926 defaultval=$wxUSE_ALL_FEATURES
14927 if test -z "$defaultval"; then
14928 if test x"$enablestring" = xdisable; then
14929 defaultval=yes
14930 else
14931 defaultval=no
14932 fi
14933 fi
14934
14935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14936 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14937 # Check whether --enable-pcx was given.
14938 if test "${enable_pcx+set}" = set; then
14939 enableval=$enable_pcx;
14940 if test "$enableval" = yes; then
14941 wx_cv_use_pcx='wxUSE_PCX=yes'
14942 else
14943 wx_cv_use_pcx='wxUSE_PCX=no'
14944 fi
14945 cache=yes
14946
14947 else
14948
14949 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14950 if test "x$LINE" != x ; then
14951 eval "DEFAULT_$LINE"
14952 fi
14953
14954 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14955
14956 fi
14957
14958
14959 eval "$wx_cv_use_pcx"
14960 if test "x$cache" = xyes; then
14961 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14962 fi
14963
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_PCX = yes; then
14966 result=no
14967 else
14968 result=yes
14969 fi
14970 else
14971 result=$wxUSE_PCX
14972 fi
14973
14974 { echo "$as_me:$LINENO: result: $result" >&5
14975 echo "${ECHO_T}$result" >&6; }
14976
14977
14978 enablestring=
14979 defaultval=$wxUSE_ALL_FEATURES
14980 if test -z "$defaultval"; then
14981 if test x"$enablestring" = xdisable; then
14982 defaultval=yes
14983 else
14984 defaultval=no
14985 fi
14986 fi
14987
14988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14989 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14990 # Check whether --enable-tga was given.
14991 if test "${enable_tga+set}" = set; then
14992 enableval=$enable_tga;
14993 if test "$enableval" = yes; then
14994 wx_cv_use_tga='wxUSE_TGA=yes'
14995 else
14996 wx_cv_use_tga='wxUSE_TGA=no'
14997 fi
14998 cache=yes
14999
15000 else
15001
15002 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15003 if test "x$LINE" != x ; then
15004 eval "DEFAULT_$LINE"
15005 fi
15006
15007 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15008
15009 fi
15010
15011
15012 eval "$wx_cv_use_tga"
15013 if test "x$cache" = xyes; then
15014 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15015 fi
15016
15017 if test x"$enablestring" = xdisable; then
15018 if test $wxUSE_TGA = yes; then
15019 result=no
15020 else
15021 result=yes
15022 fi
15023 else
15024 result=$wxUSE_TGA
15025 fi
15026
15027 { echo "$as_me:$LINENO: result: $result" >&5
15028 echo "${ECHO_T}$result" >&6; }
15029
15030
15031 enablestring=
15032 defaultval=$wxUSE_ALL_FEATURES
15033 if test -z "$defaultval"; then
15034 if test x"$enablestring" = xdisable; then
15035 defaultval=yes
15036 else
15037 defaultval=no
15038 fi
15039 fi
15040
15041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15042 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15043 # Check whether --enable-iff was given.
15044 if test "${enable_iff+set}" = set; then
15045 enableval=$enable_iff;
15046 if test "$enableval" = yes; then
15047 wx_cv_use_iff='wxUSE_IFF=yes'
15048 else
15049 wx_cv_use_iff='wxUSE_IFF=no'
15050 fi
15051 cache=yes
15052
15053 else
15054
15055 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15056 if test "x$LINE" != x ; then
15057 eval "DEFAULT_$LINE"
15058 fi
15059
15060 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15061
15062 fi
15063
15064
15065 eval "$wx_cv_use_iff"
15066 if test "x$cache" = xyes; then
15067 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15068 fi
15069
15070 if test x"$enablestring" = xdisable; then
15071 if test $wxUSE_IFF = yes; then
15072 result=no
15073 else
15074 result=yes
15075 fi
15076 else
15077 result=$wxUSE_IFF
15078 fi
15079
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15082
15083
15084 enablestring=
15085 defaultval=$wxUSE_ALL_FEATURES
15086 if test -z "$defaultval"; then
15087 if test x"$enablestring" = xdisable; then
15088 defaultval=yes
15089 else
15090 defaultval=no
15091 fi
15092 fi
15093
15094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15095 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15096 # Check whether --enable-pnm was given.
15097 if test "${enable_pnm+set}" = set; then
15098 enableval=$enable_pnm;
15099 if test "$enableval" = yes; then
15100 wx_cv_use_pnm='wxUSE_PNM=yes'
15101 else
15102 wx_cv_use_pnm='wxUSE_PNM=no'
15103 fi
15104 cache=yes
15105
15106 else
15107
15108 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15109 if test "x$LINE" != x ; then
15110 eval "DEFAULT_$LINE"
15111 fi
15112
15113 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15114
15115 fi
15116
15117
15118 eval "$wx_cv_use_pnm"
15119 if test "x$cache" = xyes; then
15120 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15121 fi
15122
15123 if test x"$enablestring" = xdisable; then
15124 if test $wxUSE_PNM = yes; then
15125 result=no
15126 else
15127 result=yes
15128 fi
15129 else
15130 result=$wxUSE_PNM
15131 fi
15132
15133 { echo "$as_me:$LINENO: result: $result" >&5
15134 echo "${ECHO_T}$result" >&6; }
15135
15136
15137 enablestring=
15138 defaultval=$wxUSE_ALL_FEATURES
15139 if test -z "$defaultval"; then
15140 if test x"$enablestring" = xdisable; then
15141 defaultval=yes
15142 else
15143 defaultval=no
15144 fi
15145 fi
15146
15147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15148 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15149 # Check whether --enable-xpm was given.
15150 if test "${enable_xpm+set}" = set; then
15151 enableval=$enable_xpm;
15152 if test "$enableval" = yes; then
15153 wx_cv_use_xpm='wxUSE_XPM=yes'
15154 else
15155 wx_cv_use_xpm='wxUSE_XPM=no'
15156 fi
15157 cache=yes
15158
15159 else
15160
15161 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15162 if test "x$LINE" != x ; then
15163 eval "DEFAULT_$LINE"
15164 fi
15165
15166 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15167
15168 fi
15169
15170
15171 eval "$wx_cv_use_xpm"
15172 if test "x$cache" = xyes; then
15173 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15174 fi
15175
15176 if test x"$enablestring" = xdisable; then
15177 if test $wxUSE_XPM = yes; then
15178 result=no
15179 else
15180 result=yes
15181 fi
15182 else
15183 result=$wxUSE_XPM
15184 fi
15185
15186 { echo "$as_me:$LINENO: result: $result" >&5
15187 echo "${ECHO_T}$result" >&6; }
15188
15189
15190 enablestring=
15191 defaultval=$wxUSE_ALL_FEATURES
15192 if test -z "$defaultval"; then
15193 if test x"$enablestring" = xdisable; then
15194 defaultval=yes
15195 else
15196 defaultval=no
15197 fi
15198 fi
15199
15200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15201 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15202 # Check whether --enable-ico_cur was given.
15203 if test "${enable_ico_cur+set}" = set; then
15204 enableval=$enable_ico_cur;
15205 if test "$enableval" = yes; then
15206 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15207 else
15208 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15209 fi
15210 cache=yes
15211
15212 else
15213
15214 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15215 if test "x$LINE" != x ; then
15216 eval "DEFAULT_$LINE"
15217 fi
15218
15219 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15220
15221 fi
15222
15223
15224 eval "$wx_cv_use_ico_cur"
15225 if test "x$cache" = xyes; then
15226 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15227 fi
15228
15229 if test x"$enablestring" = xdisable; then
15230 if test $wxUSE_ICO_CUR = yes; then
15231 result=no
15232 else
15233 result=yes
15234 fi
15235 else
15236 result=$wxUSE_ICO_CUR
15237 fi
15238
15239 { echo "$as_me:$LINENO: result: $result" >&5
15240 echo "${ECHO_T}$result" >&6; }
15241
15242
15243
15244
15245 enablestring=
15246 defaultval=$wxUSE_ALL_FEATURES
15247 if test -z "$defaultval"; then
15248 if test x"$enablestring" = xdisable; then
15249 defaultval=yes
15250 else
15251 defaultval=no
15252 fi
15253 fi
15254
15255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15256 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15257 # Check whether --enable-dccache was given.
15258 if test "${enable_dccache+set}" = set; then
15259 enableval=$enable_dccache;
15260 if test "$enableval" = yes; then
15261 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15262 else
15263 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15264 fi
15265 cache=yes
15266
15267 else
15268
15269 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15270 if test "x$LINE" != x ; then
15271 eval "DEFAULT_$LINE"
15272 fi
15273
15274 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15275
15276 fi
15277
15278
15279 eval "$wx_cv_use_dccache"
15280 if test "x$cache" = xyes; then
15281 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15282 fi
15283
15284 if test x"$enablestring" = xdisable; then
15285 if test $wxUSE_DC_CACHEING = yes; then
15286 result=no
15287 else
15288 result=yes
15289 fi
15290 else
15291 result=$wxUSE_DC_CACHEING
15292 fi
15293
15294 { echo "$as_me:$LINENO: result: $result" >&5
15295 echo "${ECHO_T}$result" >&6; }
15296
15297
15298 enablestring=
15299 defaultval=$wxUSE_ALL_FEATURES
15300 if test -z "$defaultval"; then
15301 if test x"$enablestring" = xdisable; then
15302 defaultval=yes
15303 else
15304 defaultval=no
15305 fi
15306 fi
15307
15308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15309 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15310 # Check whether --enable-ps-in-msw was given.
15311 if test "${enable_ps_in_msw+set}" = set; then
15312 enableval=$enable_ps_in_msw;
15313 if test "$enableval" = yes; then
15314 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15315 else
15316 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15317 fi
15318 cache=yes
15319
15320 else
15321
15322 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15323 if test "x$LINE" != x ; then
15324 eval "DEFAULT_$LINE"
15325 fi
15326
15327 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15328
15329 fi
15330
15331
15332 eval "$wx_cv_use_ps_in_msw"
15333 if test "x$cache" = xyes; then
15334 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15335 fi
15336
15337 if test x"$enablestring" = xdisable; then
15338 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15339 result=no
15340 else
15341 result=yes
15342 fi
15343 else
15344 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15345 fi
15346
15347 { echo "$as_me:$LINENO: result: $result" >&5
15348 echo "${ECHO_T}$result" >&6; }
15349
15350
15351 enablestring=
15352 defaultval=$wxUSE_ALL_FEATURES
15353 if test -z "$defaultval"; then
15354 if test x"$enablestring" = xdisable; then
15355 defaultval=yes
15356 else
15357 defaultval=no
15358 fi
15359 fi
15360
15361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15362 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15363 # Check whether --enable-regkey was given.
15364 if test "${enable_regkey+set}" = set; then
15365 enableval=$enable_regkey;
15366 if test "$enableval" = yes; then
15367 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15368 else
15369 wx_cv_use_regkey='wxUSE_REGKEY=no'
15370 fi
15371 cache=yes
15372
15373 else
15374
15375 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15376 if test "x$LINE" != x ; then
15377 eval "DEFAULT_$LINE"
15378 fi
15379
15380 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15381
15382 fi
15383
15384
15385 eval "$wx_cv_use_regkey"
15386 if test "x$cache" = xyes; then
15387 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15388 fi
15389
15390 if test x"$enablestring" = xdisable; then
15391 if test $wxUSE_REGKEY = yes; then
15392 result=no
15393 else
15394 result=yes
15395 fi
15396 else
15397 result=$wxUSE_REGKEY
15398 fi
15399
15400 { echo "$as_me:$LINENO: result: $result" >&5
15401 echo "${ECHO_T}$result" >&6; }
15402
15403
15404 enablestring=
15405 defaultval=$wxUSE_ALL_FEATURES
15406 if test -z "$defaultval"; then
15407 if test x"$enablestring" = xdisable; then
15408 defaultval=yes
15409 else
15410 defaultval=no
15411 fi
15412 fi
15413
15414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15415 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15416 # Check whether --enable-uxtheme was given.
15417 if test "${enable_uxtheme+set}" = set; then
15418 enableval=$enable_uxtheme;
15419 if test "$enableval" = yes; then
15420 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15421 else
15422 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15423 fi
15424 cache=yes
15425
15426 else
15427
15428 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15429 if test "x$LINE" != x ; then
15430 eval "DEFAULT_$LINE"
15431 fi
15432
15433 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15434
15435 fi
15436
15437
15438 eval "$wx_cv_use_uxtheme"
15439 if test "x$cache" = xyes; then
15440 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15441 fi
15442
15443 if test x"$enablestring" = xdisable; then
15444 if test $wxUSE_UXTHEME = yes; then
15445 result=no
15446 else
15447 result=yes
15448 fi
15449 else
15450 result=$wxUSE_UXTHEME
15451 fi
15452
15453 { echo "$as_me:$LINENO: result: $result" >&5
15454 echo "${ECHO_T}$result" >&6; }
15455
15456
15457 enablestring=
15458 defaultval=$wxUSE_ALL_FEATURES
15459 if test -z "$defaultval"; then
15460 if test x"$enablestring" = xdisable; then
15461 defaultval=yes
15462 else
15463 defaultval=no
15464 fi
15465 fi
15466
15467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15468 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15469 # Check whether --enable-wxdib was given.
15470 if test "${enable_wxdib+set}" = set; then
15471 enableval=$enable_wxdib;
15472 if test "$enableval" = yes; then
15473 wx_cv_use_wxdib='wxUSE_DIB=yes'
15474 else
15475 wx_cv_use_wxdib='wxUSE_DIB=no'
15476 fi
15477 cache=yes
15478
15479 else
15480
15481 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15482 if test "x$LINE" != x ; then
15483 eval "DEFAULT_$LINE"
15484 fi
15485
15486 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15487
15488 fi
15489
15490
15491 eval "$wx_cv_use_wxdib"
15492 if test "x$cache" = xyes; then
15493 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15494 fi
15495
15496 if test x"$enablestring" = xdisable; then
15497 if test $wxUSE_DIB = yes; then
15498 result=no
15499 else
15500 result=yes
15501 fi
15502 else
15503 result=$wxUSE_DIB
15504 fi
15505
15506 { echo "$as_me:$LINENO: result: $result" >&5
15507 echo "${ECHO_T}$result" >&6; }
15508
15509
15510 fi
15511
15512
15513 echo "saving argument cache $wx_arg_cache_file"
15514 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15515
15516
15517
15518 { echo "$as_me:$LINENO: checking for toolkit" >&5
15519 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15520
15521 # In Wine, we need to default to MSW, not GTK or MOTIF
15522 if test "$wxUSE_WINE" = "yes"; then
15523 DEFAULT_DEFAULT_wxUSE_GTK=0
15524 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15525 DEFAULT_DEFAULT_wxUSE_MSW=1
15526 wxUSE_SHARED=no
15527 CC=${CC:-winegcc}
15528 CXX=${CXX:-wineg++}
15529 fi
15530
15531
15532 if test "$wxUSE_GUI" = "yes"; then
15533
15534 if test "$USE_BEOS" = 1; then
15535 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15536 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15537 { (exit 1); exit 1; }; }
15538 fi
15539
15540 if test "$TOOLKIT_GIVEN" = 1; then
15541 for toolkit in `echo $ALL_TOOLKITS`; do
15542 var=wxUSE_$toolkit
15543 eval "value=\$${var}"
15544 if test "x$value" = "xno"; then
15545 eval "$var=0"
15546 elif test "x$value" != "x"; then
15547 eval "$var=1"
15548 fi
15549
15550 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15551 eval "wx${toolkit}_VERSION=$value"
15552 fi
15553 done
15554 else
15555 for toolkit in `echo $ALL_TOOLKITS`; do
15556 if test "$has_toolkit_in_cache" != 1; then
15557 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15558 else
15559 var=DEFAULT_wxUSE_$toolkit
15560
15561 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15562 if test "x$version" != "x"; then
15563 eval "wx${toolkit}_VERSION=$version"
15564 fi
15565 fi
15566 eval "wxUSE_$toolkit=\$${var}"
15567 done
15568 fi
15569
15570 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15571 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15572 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15573
15574 case "${host}" in
15575 *-pc-os2_emx | *-pc-os2-emx )
15576 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15577 esac
15578
15579 case "$NUM_TOOLKITS" in
15580 1)
15581 ;;
15582 0)
15583 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15584 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15585 { (exit 1); exit 1; }; }
15586 ;;
15587 *)
15588 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15589 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15590 { (exit 1); exit 1; }; }
15591 esac
15592
15593 # to be removed when --disable-gtk2 isn't needed
15594 if test "x$wxUSE_GTK2" = "xyes"; then
15595 wxGTK_VERSION=2
15596 elif test "x$wxUSE_GTK2" = "xno"; then
15597 wxGTK_VERSION=1
15598 fi
15599
15600 for toolkit in `echo $ALL_TOOLKITS`; do
15601 var=wxUSE_$toolkit
15602 eval "value=\$${var}"
15603 if test "x$value" != x; then
15604 cache_var=CACHE_$toolkit
15605 eval "cache=\$${cache_var}"
15606 if test "$cache" = 1; then
15607 echo "$var=$value" >> ${wx_arg_cache_file}
15608 eval "version=\$wx${toolkit}_VERSION"
15609 if test "x$version" != "x"; then
15610 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15611 fi
15612 fi
15613 if test "$value" = 1; then
15614 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15615 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15616 echo "${ECHO_T}$toolkit_echo" >&6; }
15617 fi
15618 fi
15619 done
15620 else
15621 if test "x$host_alias" != "x"; then
15622 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15623 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15624 else
15625 { echo "$as_me:$LINENO: result: base only" >&5
15626 echo "${ECHO_T}base only" >&6; }
15627 fi
15628 fi
15629
15630
15631 cat >confcache <<\_ACEOF
15632 # This file is a shell script that caches the results of configure
15633 # tests run on this system so they can be shared between configure
15634 # scripts and configure runs, see configure's option --config-cache.
15635 # It is not useful on other systems. If it contains results you don't
15636 # want to keep, you may remove or edit it.
15637 #
15638 # config.status only pays attention to the cache file if you give it
15639 # the --recheck option to rerun configure.
15640 #
15641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15643 # following values.
15644
15645 _ACEOF
15646
15647 # The following way of writing the cache mishandles newlines in values,
15648 # but we know of no workaround that is simple, portable, and efficient.
15649 # So, we kill variables containing newlines.
15650 # Ultrix sh set writes to stderr and can't be redirected directly,
15651 # and sets the high bit in the cache file unless we assign to the vars.
15652 (
15653 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15654 eval ac_val=\$$ac_var
15655 case $ac_val in #(
15656 *${as_nl}*)
15657 case $ac_var in #(
15658 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15659 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15660 esac
15661 case $ac_var in #(
15662 _ | IFS | as_nl) ;; #(
15663 *) $as_unset $ac_var ;;
15664 esac ;;
15665 esac
15666 done
15667
15668 (set) 2>&1 |
15669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15670 *${as_nl}ac_space=\ *)
15671 # `set' does not quote correctly, so add quotes (double-quote
15672 # substitution turns \\\\ into \\, and sed turns \\ into \).
15673 sed -n \
15674 "s/'/'\\\\''/g;
15675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15676 ;; #(
15677 *)
15678 # `set' quotes correctly as required by POSIX, so do not add quotes.
15679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15680 ;;
15681 esac |
15682 sort
15683 ) |
15684 sed '
15685 /^ac_cv_env_/b end
15686 t clear
15687 :clear
15688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15689 t end
15690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15691 :end' >>confcache
15692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15693 if test -w "$cache_file"; then
15694 test "x$cache_file" != "x/dev/null" &&
15695 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15696 echo "$as_me: updating cache $cache_file" >&6;}
15697 cat confcache >$cache_file
15698 else
15699 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15700 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15701 fi
15702 fi
15703 rm -f confcache
15704
15705 CFLAGS=${CFLAGS:=}
15706
15707
15708
15709 ac_ext=c
15710 ac_cpp='$CPP $CPPFLAGS'
15711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 if test -n "$ac_tool_prefix"; then
15715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15719 if test "${ac_cv_prog_CC+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 else
15722 if test -n "$CC"; then
15723 ac_cv_prog_CC="$CC" # Let the user override the test.
15724 else
15725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15726 for as_dir in $PATH
15727 do
15728 IFS=$as_save_IFS
15729 test -z "$as_dir" && as_dir=.
15730 for ac_exec_ext in '' $ac_executable_extensions; do
15731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15734 break 2
15735 fi
15736 done
15737 done
15738 IFS=$as_save_IFS
15739
15740 fi
15741 fi
15742 CC=$ac_cv_prog_CC
15743 if test -n "$CC"; then
15744 { echo "$as_me:$LINENO: result: $CC" >&5
15745 echo "${ECHO_T}$CC" >&6; }
15746 else
15747 { echo "$as_me:$LINENO: result: no" >&5
15748 echo "${ECHO_T}no" >&6; }
15749 fi
15750
15751
15752 fi
15753 if test -z "$ac_cv_prog_CC"; then
15754 ac_ct_CC=$CC
15755 # Extract the first word of "gcc", so it can be a program name with args.
15756 set dummy gcc; ac_word=$2
15757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15759 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 if test -n "$ac_ct_CC"; then
15763 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15764 else
15765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15766 for as_dir in $PATH
15767 do
15768 IFS=$as_save_IFS
15769 test -z "$as_dir" && as_dir=.
15770 for ac_exec_ext in '' $ac_executable_extensions; do
15771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15772 ac_cv_prog_ac_ct_CC="gcc"
15773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15774 break 2
15775 fi
15776 done
15777 done
15778 IFS=$as_save_IFS
15779
15780 fi
15781 fi
15782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15783 if test -n "$ac_ct_CC"; then
15784 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15785 echo "${ECHO_T}$ac_ct_CC" >&6; }
15786 else
15787 { echo "$as_me:$LINENO: result: no" >&5
15788 echo "${ECHO_T}no" >&6; }
15789 fi
15790
15791 if test "x$ac_ct_CC" = x; then
15792 CC=""
15793 else
15794 case $cross_compiling:$ac_tool_warned in
15795 yes:)
15796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15797 whose name does not start with the host triplet. If you think this
15798 configuration is useful to you, please write to autoconf@gnu.org." >&5
15799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15800 whose name does not start with the host triplet. If you think this
15801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15802 ac_tool_warned=yes ;;
15803 esac
15804 CC=$ac_ct_CC
15805 fi
15806 else
15807 CC="$ac_cv_prog_CC"
15808 fi
15809
15810 if test -z "$CC"; then
15811 if test -n "$ac_tool_prefix"; then
15812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15813 set dummy ${ac_tool_prefix}cc; ac_word=$2
15814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15816 if test "${ac_cv_prog_CC+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 if test -n "$CC"; then
15820 ac_cv_prog_CC="$CC" # Let the user override the test.
15821 else
15822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15823 for as_dir in $PATH
15824 do
15825 IFS=$as_save_IFS
15826 test -z "$as_dir" && as_dir=.
15827 for ac_exec_ext in '' $ac_executable_extensions; do
15828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15829 ac_cv_prog_CC="${ac_tool_prefix}cc"
15830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15831 break 2
15832 fi
15833 done
15834 done
15835 IFS=$as_save_IFS
15836
15837 fi
15838 fi
15839 CC=$ac_cv_prog_CC
15840 if test -n "$CC"; then
15841 { echo "$as_me:$LINENO: result: $CC" >&5
15842 echo "${ECHO_T}$CC" >&6; }
15843 else
15844 { echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6; }
15846 fi
15847
15848
15849 fi
15850 fi
15851 if test -z "$CC"; then
15852 # Extract the first word of "cc", so it can be a program name with args.
15853 set dummy cc; ac_word=$2
15854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15856 if test "${ac_cv_prog_CC+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 else
15859 if test -n "$CC"; then
15860 ac_cv_prog_CC="$CC" # Let the user override the test.
15861 else
15862 ac_prog_rejected=no
15863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15864 for as_dir in $PATH
15865 do
15866 IFS=$as_save_IFS
15867 test -z "$as_dir" && as_dir=.
15868 for ac_exec_ext in '' $ac_executable_extensions; do
15869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15871 ac_prog_rejected=yes
15872 continue
15873 fi
15874 ac_cv_prog_CC="cc"
15875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15876 break 2
15877 fi
15878 done
15879 done
15880 IFS=$as_save_IFS
15881
15882 if test $ac_prog_rejected = yes; then
15883 # We found a bogon in the path, so make sure we never use it.
15884 set dummy $ac_cv_prog_CC
15885 shift
15886 if test $# != 0; then
15887 # We chose a different compiler from the bogus one.
15888 # However, it has the same basename, so the bogon will be chosen
15889 # first if we set CC to just the basename; use the full file name.
15890 shift
15891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15892 fi
15893 fi
15894 fi
15895 fi
15896 CC=$ac_cv_prog_CC
15897 if test -n "$CC"; then
15898 { echo "$as_me:$LINENO: result: $CC" >&5
15899 echo "${ECHO_T}$CC" >&6; }
15900 else
15901 { echo "$as_me:$LINENO: result: no" >&5
15902 echo "${ECHO_T}no" >&6; }
15903 fi
15904
15905
15906 fi
15907 if test -z "$CC"; then
15908 if test -n "$ac_tool_prefix"; then
15909 for ac_prog in cl.exe
15910 do
15911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15915 if test "${ac_cv_prog_CC+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 else
15918 if test -n "$CC"; then
15919 ac_cv_prog_CC="$CC" # Let the user override the test.
15920 else
15921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15922 for as_dir in $PATH
15923 do
15924 IFS=$as_save_IFS
15925 test -z "$as_dir" && as_dir=.
15926 for ac_exec_ext in '' $ac_executable_extensions; do
15927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15930 break 2
15931 fi
15932 done
15933 done
15934 IFS=$as_save_IFS
15935
15936 fi
15937 fi
15938 CC=$ac_cv_prog_CC
15939 if test -n "$CC"; then
15940 { echo "$as_me:$LINENO: result: $CC" >&5
15941 echo "${ECHO_T}$CC" >&6; }
15942 else
15943 { echo "$as_me:$LINENO: result: no" >&5
15944 echo "${ECHO_T}no" >&6; }
15945 fi
15946
15947
15948 test -n "$CC" && break
15949 done
15950 fi
15951 if test -z "$CC"; then
15952 ac_ct_CC=$CC
15953 for ac_prog in cl.exe
15954 do
15955 # Extract the first word of "$ac_prog", so it can be a program name with args.
15956 set dummy $ac_prog; ac_word=$2
15957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15960 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 else
15962 if test -n "$ac_ct_CC"; then
15963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15964 else
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH
15967 do
15968 IFS=$as_save_IFS
15969 test -z "$as_dir" && as_dir=.
15970 for ac_exec_ext in '' $ac_executable_extensions; do
15971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15972 ac_cv_prog_ac_ct_CC="$ac_prog"
15973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15974 break 2
15975 fi
15976 done
15977 done
15978 IFS=$as_save_IFS
15979
15980 fi
15981 fi
15982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15983 if test -n "$ac_ct_CC"; then
15984 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15985 echo "${ECHO_T}$ac_ct_CC" >&6; }
15986 else
15987 { echo "$as_me:$LINENO: result: no" >&5
15988 echo "${ECHO_T}no" >&6; }
15989 fi
15990
15991
15992 test -n "$ac_ct_CC" && break
15993 done
15994
15995 if test "x$ac_ct_CC" = x; then
15996 CC=""
15997 else
15998 case $cross_compiling:$ac_tool_warned in
15999 yes:)
16000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16001 whose name does not start with the host triplet. If you think this
16002 configuration is useful to you, please write to autoconf@gnu.org." >&5
16003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16004 whose name does not start with the host triplet. If you think this
16005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16006 ac_tool_warned=yes ;;
16007 esac
16008 CC=$ac_ct_CC
16009 fi
16010 fi
16011
16012 fi
16013
16014
16015 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16016 See \`config.log' for more details." >&5
16017 echo "$as_me: error: no acceptable C compiler found in \$PATH
16018 See \`config.log' for more details." >&2;}
16019 { (exit 1); exit 1; }; }
16020
16021 # Provide some information about the compiler.
16022 echo "$as_me:$LINENO: checking for C compiler version" >&5
16023 ac_compiler=`set X $ac_compile; echo $2`
16024 { (ac_try="$ac_compiler --version >&5"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16028 esac
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_compiler --version >&5") 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }
16034 { (ac_try="$ac_compiler -v >&5"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16038 esac
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compiler -v >&5") 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }
16044 { (ac_try="$ac_compiler -V >&5"
16045 case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16048 esac
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_compiler -V >&5") 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }
16054
16055 cat >conftest.$ac_ext <<_ACEOF
16056 /* confdefs.h. */
16057 _ACEOF
16058 cat confdefs.h >>conftest.$ac_ext
16059 cat >>conftest.$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16061
16062 int
16063 main ()
16064 {
16065
16066 ;
16067 return 0;
16068 }
16069 _ACEOF
16070 ac_clean_files_save=$ac_clean_files
16071 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16072 # Try to create an executable without -o first, disregard a.out.
16073 # It will help us diagnose broken compilers, and finding out an intuition
16074 # of exeext.
16075 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16076 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16077 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16078 #
16079 # List of possible output files, starting from the most likely.
16080 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16081 # only as a last resort. b.out is created by i960 compilers.
16082 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16083 #
16084 # The IRIX 6 linker writes into existing files which may not be
16085 # executable, retaining their permissions. Remove them first so a
16086 # subsequent execution test works.
16087 ac_rmfiles=
16088 for ac_file in $ac_files
16089 do
16090 case $ac_file in
16091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16093 esac
16094 done
16095 rm -f $ac_rmfiles
16096
16097 if { (ac_try="$ac_link_default"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16101 esac
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link_default") 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; then
16107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16110 # so that the user can short-circuit this test for compilers unknown to
16111 # Autoconf.
16112 for ac_file in $ac_files ''
16113 do
16114 test -f "$ac_file" || continue
16115 case $ac_file in
16116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16117 ;;
16118 [ab].out )
16119 # We found the default executable, but exeext='' is most
16120 # certainly right.
16121 break;;
16122 *.* )
16123 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16124 then :; else
16125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16126 fi
16127 # We set ac_cv_exeext here because the later test for it is not
16128 # safe: cross compilers may not add the suffix if given an `-o'
16129 # argument, so we may need to know it at that point already.
16130 # Even if this section looks crufty: it has the advantage of
16131 # actually working.
16132 break;;
16133 * )
16134 break;;
16135 esac
16136 done
16137 test "$ac_cv_exeext" = no && ac_cv_exeext=
16138
16139 else
16140 ac_file=''
16141 fi
16142
16143 { echo "$as_me:$LINENO: result: $ac_file" >&5
16144 echo "${ECHO_T}$ac_file" >&6; }
16145 if test -z "$ac_file"; then
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16150 See \`config.log' for more details." >&5
16151 echo "$as_me: error: C compiler cannot create executables
16152 See \`config.log' for more details." >&2;}
16153 { (exit 77); exit 77; }; }
16154 fi
16155
16156 ac_exeext=$ac_cv_exeext
16157
16158 # Check that the compiler produces executables we can run. If not, either
16159 # the compiler is broken, or we cross compile.
16160 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16161 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16162 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16163 # If not cross compiling, check that we can run a simple program.
16164 if test "$cross_compiling" != yes; then
16165 if { ac_try='./$ac_file'
16166 { (case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_try") 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 cross_compiling=no
16176 else
16177 if test "$cross_compiling" = maybe; then
16178 cross_compiling=yes
16179 else
16180 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16181 If you meant to cross compile, use \`--host'.
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: cannot run C compiled programs.
16184 If you meant to cross compile, use \`--host'.
16185 See \`config.log' for more details." >&2;}
16186 { (exit 1); exit 1; }; }
16187 fi
16188 fi
16189 fi
16190 { echo "$as_me:$LINENO: result: yes" >&5
16191 echo "${ECHO_T}yes" >&6; }
16192
16193 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16194 ac_clean_files=$ac_clean_files_save
16195 # Check that the compiler produces executables we can run. If not, either
16196 # the compiler is broken, or we cross compile.
16197 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16198 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16199 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16200 echo "${ECHO_T}$cross_compiling" >&6; }
16201
16202 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16203 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16204 if { (ac_try="$ac_link"
16205 case "(($ac_try" in
16206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16207 *) ac_try_echo=$ac_try;;
16208 esac
16209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16210 (eval "$ac_link") 2>&5
16211 ac_status=$?
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); }; then
16214 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16215 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16216 # work properly (i.e., refer to `conftest.exe'), while it won't with
16217 # `rm'.
16218 for ac_file in conftest.exe conftest conftest.*; do
16219 test -f "$ac_file" || continue
16220 case $ac_file in
16221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16222 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16223 break;;
16224 * ) break;;
16225 esac
16226 done
16227 else
16228 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16229 See \`config.log' for more details." >&5
16230 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16231 See \`config.log' for more details." >&2;}
16232 { (exit 1); exit 1; }; }
16233 fi
16234
16235 rm -f conftest$ac_cv_exeext
16236 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16237 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16238
16239 rm -f conftest.$ac_ext
16240 EXEEXT=$ac_cv_exeext
16241 ac_exeext=$EXEEXT
16242 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16243 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16244 if test "${ac_cv_objext+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253
16254 int
16255 main ()
16256 {
16257
16258 ;
16259 return 0;
16260 }
16261 _ACEOF
16262 rm -f conftest.o conftest.obj
16263 if { (ac_try="$ac_compile"
16264 case "(($ac_try" in
16265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16266 *) ac_try_echo=$ac_try;;
16267 esac
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_compile") 2>&5
16270 ac_status=$?
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); }; then
16273 for ac_file in conftest.o conftest.obj conftest.*; do
16274 test -f "$ac_file" || continue;
16275 case $ac_file in
16276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16277 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16278 break;;
16279 esac
16280 done
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16286 See \`config.log' for more details." >&5
16287 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16288 See \`config.log' for more details." >&2;}
16289 { (exit 1); exit 1; }; }
16290 fi
16291
16292 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16293 fi
16294 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16295 echo "${ECHO_T}$ac_cv_objext" >&6; }
16296 OBJEXT=$ac_cv_objext
16297 ac_objext=$OBJEXT
16298 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16299 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16300 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309
16310 int
16311 main ()
16312 {
16313 #ifndef __GNUC__
16314 choke me
16315 #endif
16316
16317 ;
16318 return 0;
16319 }
16320 _ACEOF
16321 rm -f conftest.$ac_objext
16322 if { (ac_try="$ac_compile"
16323 case "(($ac_try" in
16324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16325 *) ac_try_echo=$ac_try;;
16326 esac
16327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16328 (eval "$ac_compile") 2>conftest.er1
16329 ac_status=$?
16330 grep -v '^ *+' conftest.er1 >conftest.err
16331 rm -f conftest.er1
16332 cat conftest.err >&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } && {
16335 test -z "$ac_c_werror_flag" ||
16336 test ! -s conftest.err
16337 } && test -s conftest.$ac_objext; then
16338 ac_compiler_gnu=yes
16339 else
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.$ac_ext >&5
16342
16343 ac_compiler_gnu=no
16344 fi
16345
16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16348
16349 fi
16350 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16351 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16352 GCC=`test $ac_compiler_gnu = yes && echo yes`
16353 ac_test_CFLAGS=${CFLAGS+set}
16354 ac_save_CFLAGS=$CFLAGS
16355 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16356 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16357 if test "${ac_cv_prog_cc_g+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 else
16360 ac_save_c_werror_flag=$ac_c_werror_flag
16361 ac_c_werror_flag=yes
16362 ac_cv_prog_cc_g=no
16363 CFLAGS="-g"
16364 cat >conftest.$ac_ext <<_ACEOF
16365 /* confdefs.h. */
16366 _ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370
16371 int
16372 main ()
16373 {
16374
16375 ;
16376 return 0;
16377 }
16378 _ACEOF
16379 rm -f conftest.$ac_objext
16380 if { (ac_try="$ac_compile"
16381 case "(($ac_try" in
16382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16383 *) ac_try_echo=$ac_try;;
16384 esac
16385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16386 (eval "$ac_compile") 2>conftest.er1
16387 ac_status=$?
16388 grep -v '^ *+' conftest.er1 >conftest.err
16389 rm -f conftest.er1
16390 cat conftest.err >&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } && {
16393 test -z "$ac_c_werror_flag" ||
16394 test ! -s conftest.err
16395 } && test -s conftest.$ac_objext; then
16396 ac_cv_prog_cc_g=yes
16397 else
16398 echo "$as_me: failed program was:" >&5
16399 sed 's/^/| /' conftest.$ac_ext >&5
16400
16401 CFLAGS=""
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408
16409 int
16410 main ()
16411 {
16412
16413 ;
16414 return 0;
16415 }
16416 _ACEOF
16417 rm -f conftest.$ac_objext
16418 if { (ac_try="$ac_compile"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16422 esac
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_compile") 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_c_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest.$ac_objext; then
16434 :
16435 else
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16438
16439 ac_c_werror_flag=$ac_save_c_werror_flag
16440 CFLAGS="-g"
16441 cat >conftest.$ac_ext <<_ACEOF
16442 /* confdefs.h. */
16443 _ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16447
16448 int
16449 main ()
16450 {
16451
16452 ;
16453 return 0;
16454 }
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (ac_try="$ac_compile"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16461 esac
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_compile") 2>conftest.er1
16464 ac_status=$?
16465 grep -v '^ *+' conftest.er1 >conftest.err
16466 rm -f conftest.er1
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest.$ac_objext; then
16473 ac_cv_prog_cc_g=yes
16474 else
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.$ac_ext >&5
16477
16478
16479 fi
16480
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 fi
16483
16484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16485 fi
16486
16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_c_werror_flag=$ac_save_c_werror_flag
16489 fi
16490 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16491 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16492 if test "$ac_test_CFLAGS" = set; then
16493 CFLAGS=$ac_save_CFLAGS
16494 elif test $ac_cv_prog_cc_g = yes; then
16495 if test "$GCC" = yes; then
16496 CFLAGS="-g -O2"
16497 else
16498 CFLAGS="-g"
16499 fi
16500 else
16501 if test "$GCC" = yes; then
16502 CFLAGS="-O2"
16503 else
16504 CFLAGS=
16505 fi
16506 fi
16507 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16508 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16509 if test "${ac_cv_prog_cc_c89+set}" = set; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 else
16512 ac_cv_prog_cc_c89=no
16513 ac_save_CC=$CC
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 #include <stdarg.h>
16521 #include <stdio.h>
16522 #include <sys/types.h>
16523 #include <sys/stat.h>
16524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16525 struct buf { int x; };
16526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16527 static char *e (p, i)
16528 char **p;
16529 int i;
16530 {
16531 return p[i];
16532 }
16533 static char *f (char * (*g) (char **, int), char **p, ...)
16534 {
16535 char *s;
16536 va_list v;
16537 va_start (v,p);
16538 s = g (p, va_arg (v,int));
16539 va_end (v);
16540 return s;
16541 }
16542
16543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16544 function prototypes and stuff, but not '\xHH' hex character constants.
16545 These don't provoke an error unfortunately, instead are silently treated
16546 as 'x'. The following induces an error, until -std is added to get
16547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16548 array size at least. It's necessary to write '\x00'==0 to get something
16549 that's true only with -std. */
16550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16551
16552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16553 inside strings and character constants. */
16554 #define FOO(x) 'x'
16555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16556
16557 int test (int i, double x);
16558 struct s1 {int (*f) (int a);};
16559 struct s2 {int (*f) (double a);};
16560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16561 int argc;
16562 char **argv;
16563 int
16564 main ()
16565 {
16566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16567 ;
16568 return 0;
16569 }
16570 _ACEOF
16571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16573 do
16574 CC="$ac_save_CC $ac_arg"
16575 rm -f conftest.$ac_objext
16576 if { (ac_try="$ac_compile"
16577 case "(($ac_try" in
16578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16579 *) ac_try_echo=$ac_try;;
16580 esac
16581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 (eval "$ac_compile") 2>conftest.er1
16583 ac_status=$?
16584 grep -v '^ *+' conftest.er1 >conftest.err
16585 rm -f conftest.er1
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } && {
16589 test -z "$ac_c_werror_flag" ||
16590 test ! -s conftest.err
16591 } && test -s conftest.$ac_objext; then
16592 ac_cv_prog_cc_c89=$ac_arg
16593 else
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16596
16597
16598 fi
16599
16600 rm -f core conftest.err conftest.$ac_objext
16601 test "x$ac_cv_prog_cc_c89" != "xno" && break
16602 done
16603 rm -f conftest.$ac_ext
16604 CC=$ac_save_CC
16605
16606 fi
16607 # AC_CACHE_VAL
16608 case "x$ac_cv_prog_cc_c89" in
16609 x)
16610 { echo "$as_me:$LINENO: result: none needed" >&5
16611 echo "${ECHO_T}none needed" >&6; } ;;
16612 xno)
16613 { echo "$as_me:$LINENO: result: unsupported" >&5
16614 echo "${ECHO_T}unsupported" >&6; } ;;
16615 *)
16616 CC="$CC $ac_cv_prog_cc_c89"
16617 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16618 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16619 esac
16620
16621
16622 ac_ext=c
16623 ac_cpp='$CPP $CPPFLAGS'
16624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16627
16628
16629
16630
16631 ac_ext=c
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16636
16637 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652
16653 #ifndef __INTEL_COMPILER
16654 choke me
16655 #endif
16656
16657 ;
16658 return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16682
16683 bakefile_cv_c_compiler___INTEL_COMPILER=no
16684
16685 fi
16686
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688
16689
16690 fi
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16693 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16694 :; INTELCC=yes
16695 else
16696 :;
16697 fi
16698 ac_ext=c
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16703
16704
16705
16706
16707 if test "x$GCC" != "xyes"; then
16708 if test "xCC" = "xC"; then
16709 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16710 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16711 if test "${bakefile_cv_c_exto+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h. */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720
16721 int
16722 main ()
16723 {
16724
16725 ;
16726 return 0;
16727 }
16728 _ACEOF
16729 rm -f conftest.$ac_objext conftest.$ac_ext.o
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>&5
16732 ac_status=$?
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; then
16735 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16736 case $ac_file in
16737 conftest.$ac_ext.o)
16738 bakefile_cv_c_exto="-ext o"
16739 ;;
16740 *)
16741 ;;
16742 esac
16743 done
16744 else
16745 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }
16750
16751 fi
16752
16753 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16754
16755 fi
16756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16757 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16758 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16759 if test "c" = "c"; then
16760 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16761 fi
16762 if test "c" = "cxx"; then
16763 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16764 fi
16765 fi
16766
16767 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16768 unset ac_cv_prog_cc_g
16769 ac_test_CFLAGS=${CFLAGS+set}
16770 ac_save_CFLAGS=$CFLAGS
16771 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16772 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16773 if test "${ac_cv_prog_cc_g+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 else
16776 ac_save_c_werror_flag=$ac_c_werror_flag
16777 ac_c_werror_flag=yes
16778 ac_cv_prog_cc_g=no
16779 CFLAGS="-g"
16780 cat >conftest.$ac_ext <<_ACEOF
16781 /* confdefs.h. */
16782 _ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786
16787 int
16788 main ()
16789 {
16790
16791 ;
16792 return 0;
16793 }
16794 _ACEOF
16795 rm -f conftest.$ac_objext
16796 if { (ac_try="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16800 esac
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_c_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cc_g=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817 CFLAGS=""
16818 cat >conftest.$ac_ext <<_ACEOF
16819 /* confdefs.h. */
16820 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824
16825 int
16826 main ()
16827 {
16828
16829 ;
16830 return 0;
16831 }
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 :
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 ac_c_werror_flag=$ac_save_c_werror_flag
16856 CFLAGS="-g"
16857 cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h. */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863
16864 int
16865 main ()
16866 {
16867
16868 ;
16869 return 0;
16870 }
16871 _ACEOF
16872 rm -f conftest.$ac_objext
16873 if { (ac_try="$ac_compile"
16874 case "(($ac_try" in
16875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16877 esac
16878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879 (eval "$ac_compile") 2>conftest.er1
16880 ac_status=$?
16881 grep -v '^ *+' conftest.er1 >conftest.err
16882 rm -f conftest.er1
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && {
16886 test -z "$ac_c_werror_flag" ||
16887 test ! -s conftest.err
16888 } && test -s conftest.$ac_objext; then
16889 ac_cv_prog_cc_g=yes
16890 else
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16893
16894
16895 fi
16896
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898 fi
16899
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 fi
16902
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_c_werror_flag=$ac_save_c_werror_flag
16905 fi
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16908 if test "$ac_test_CFLAGS" = set; then
16909 CFLAGS=$ac_save_CFLAGS
16910 elif test $ac_cv_prog_cc_g = yes; then
16911 if test "$GCC" = yes; then
16912 CFLAGS="-g -O2"
16913 else
16914 CFLAGS="-g"
16915 fi
16916 else
16917 if test "$GCC" = yes; then
16918 CFLAGS="-O2"
16919 else
16920 CFLAGS=
16921 fi
16922 fi
16923 fi
16924 fi
16925
16926 case `uname -s` in
16927 AIX*)
16928
16929
16930 ac_ext=c
16931 ac_cpp='$CPP $CPPFLAGS'
16932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16935
16936 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16937 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16938 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947
16948 int
16949 main ()
16950 {
16951
16952 #ifndef __xlC__
16953 choke me
16954 #endif
16955
16956 ;
16957 return 0;
16958 }
16959 _ACEOF
16960 rm -f conftest.$ac_objext
16961 if { (ac_try="$ac_compile"
16962 case "(($ac_try" in
16963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16964 *) ac_try_echo=$ac_try;;
16965 esac
16966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16967 (eval "$ac_compile") 2>conftest.er1
16968 ac_status=$?
16969 grep -v '^ *+' conftest.er1 >conftest.err
16970 rm -f conftest.er1
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && {
16974 test -z "$ac_c_werror_flag" ||
16975 test ! -s conftest.err
16976 } && test -s conftest.$ac_objext; then
16977 bakefile_cv_c_compiler___xlC__=yes
16978 else
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16981
16982 bakefile_cv_c_compiler___xlC__=no
16983
16984 fi
16985
16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16987
16988
16989 fi
16990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16991 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16992 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16993 :; XLCC=yes
16994 else
16995 :;
16996 fi
16997 ac_ext=c
16998 ac_cpp='$CPP $CPPFLAGS'
16999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17002
17003
17004
17005 ;;
17006
17007 Darwin)
17008
17009
17010 ac_ext=c
17011 ac_cpp='$CPP $CPPFLAGS'
17012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17015
17016 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17017 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17018 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027
17028 int
17029 main ()
17030 {
17031
17032 #ifndef __MWERKS__
17033 choke me
17034 #endif
17035
17036 ;
17037 return 0;
17038 }
17039 _ACEOF
17040 rm -f conftest.$ac_objext
17041 if { (ac_try="$ac_compile"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17045 esac
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_compile") 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } && {
17054 test -z "$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17056 } && test -s conftest.$ac_objext; then
17057 bakefile_cv_c_compiler___MWERKS__=yes
17058 else
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17061
17062 bakefile_cv_c_compiler___MWERKS__=no
17063
17064 fi
17065
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067
17068
17069 fi
17070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17071 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17072 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17073 :; MWCC=yes
17074 else
17075 :;
17076 fi
17077 ac_ext=c
17078 ac_cpp='$CPP $CPPFLAGS'
17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17082
17083
17084
17085
17086
17087 ac_ext=c
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17092
17093 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17094 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17095 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 else
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104
17105 int
17106 main ()
17107 {
17108
17109 #ifndef __xlC__
17110 choke me
17111 #endif
17112
17113 ;
17114 return 0;
17115 }
17116 _ACEOF
17117 rm -f conftest.$ac_objext
17118 if { (ac_try="$ac_compile"
17119 case "(($ac_try" in
17120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17121 *) ac_try_echo=$ac_try;;
17122 esac
17123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17124 (eval "$ac_compile") 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && {
17131 test -z "$ac_c_werror_flag" ||
17132 test ! -s conftest.err
17133 } && test -s conftest.$ac_objext; then
17134 bakefile_cv_c_compiler___xlC__=yes
17135 else
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17138
17139 bakefile_cv_c_compiler___xlC__=no
17140
17141 fi
17142
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144
17145
17146 fi
17147 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17148 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17149 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17150 :; XLCC=yes
17151 else
17152 :;
17153 fi
17154 ac_ext=c
17155 ac_cpp='$CPP $CPPFLAGS'
17156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17159
17160
17161
17162 ;;
17163
17164 IRIX*)
17165
17166
17167 ac_ext=c
17168 ac_cpp='$CPP $CPPFLAGS'
17169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17172
17173 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17174 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17175 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17178 cat >conftest.$ac_ext <<_ACEOF
17179 /* confdefs.h. */
17180 _ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184
17185 int
17186 main ()
17187 {
17188
17189 #ifndef _SGI_COMPILER_VERSION
17190 choke me
17191 #endif
17192
17193 ;
17194 return 0;
17195 }
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (ac_try="$ac_compile"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17202 esac
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_compile") 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && {
17211 test -z "$ac_c_werror_flag" ||
17212 test ! -s conftest.err
17213 } && test -s conftest.$ac_objext; then
17214 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17220
17221 fi
17222
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17224
17225
17226 fi
17227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17228 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17229 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17230 :; SGICC=yes
17231 else
17232 :;
17233 fi
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17239
17240
17241
17242 ;;
17243
17244 Linux*)
17245
17246
17247 ac_ext=c
17248 ac_cpp='$CPP $CPPFLAGS'
17249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17252
17253 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17254 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17255 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 else
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264
17265 int
17266 main ()
17267 {
17268
17269 #ifndef __SUNPRO_C
17270 choke me
17271 #endif
17272
17273 ;
17274 return 0;
17275 }
17276 _ACEOF
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_c_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.$ac_objext; then
17294 bakefile_cv_c_compiler___SUNPRO_C=yes
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17298
17299 bakefile_cv_c_compiler___SUNPRO_C=no
17300
17301 fi
17302
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304
17305
17306 fi
17307 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17308 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17309 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17310 :; SUNCC=yes
17311 else
17312 :;
17313 fi
17314 ac_ext=c
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17319
17320
17321
17322 ;;
17323
17324 HP-UX*)
17325
17326
17327 ac_ext=c
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17332
17333 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17334 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17335 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 else
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344
17345 int
17346 main ()
17347 {
17348
17349 #ifndef __HP_cc
17350 choke me
17351 #endif
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (ac_try="$ac_compile"
17359 case "(($ac_try" in
17360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17361 *) ac_try_echo=$ac_try;;
17362 esac
17363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17364 (eval "$ac_compile") 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } && {
17371 test -z "$ac_c_werror_flag" ||
17372 test ! -s conftest.err
17373 } && test -s conftest.$ac_objext; then
17374 bakefile_cv_c_compiler___HP_cc=yes
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17378
17379 bakefile_cv_c_compiler___HP_cc=no
17380
17381 fi
17382
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384
17385
17386 fi
17387 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17388 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17389 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17390 :; HPCC=yes
17391 else
17392 :;
17393 fi
17394 ac_ext=c
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17399
17400
17401
17402 ;;
17403
17404 OSF1)
17405
17406
17407 ac_ext=c
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17412
17413 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17414 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17415 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424
17425 int
17426 main ()
17427 {
17428
17429 #ifndef __DECC
17430 choke me
17431 #endif
17432
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17442 esac
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 bakefile_cv_c_compiler___DECC=yes
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459 bakefile_cv_c_compiler___DECC=no
17460
17461 fi
17462
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464
17465
17466 fi
17467 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17468 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17469 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17470 :; COMPAQCC=yes
17471 else
17472 :;
17473 fi
17474 ac_ext=c
17475 ac_cpp='$CPP $CPPFLAGS'
17476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17479
17480
17481
17482 ;;
17483
17484 SunOS)
17485
17486
17487 ac_ext=c
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492
17493 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17494 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17495 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504
17505 int
17506 main ()
17507 {
17508
17509 #ifndef __SUNPRO_C
17510 choke me
17511 #endif
17512
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (ac_try="$ac_compile"
17519 case "(($ac_try" in
17520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17521 *) ac_try_echo=$ac_try;;
17522 esac
17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17524 (eval "$ac_compile") 2>conftest.er1
17525 ac_status=$?
17526 grep -v '^ *+' conftest.er1 >conftest.err
17527 rm -f conftest.er1
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } && {
17531 test -z "$ac_c_werror_flag" ||
17532 test ! -s conftest.err
17533 } && test -s conftest.$ac_objext; then
17534 bakefile_cv_c_compiler___SUNPRO_C=yes
17535 else
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17538
17539 bakefile_cv_c_compiler___SUNPRO_C=no
17540
17541 fi
17542
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545
17546 fi
17547 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17548 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17549 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17550 :; SUNCC=yes
17551 else
17552 :;
17553 fi
17554 ac_ext=c
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559
17560
17561
17562 ;;
17563 esac
17564 fi
17565
17566
17567
17568 ac_ext=c
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17573 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17574 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17575 # On Suns, sometimes $CPP names a directory.
17576 if test -n "$CPP" && test -d "$CPP"; then
17577 CPP=
17578 fi
17579 if test -z "$CPP"; then
17580 if test "${ac_cv_prog_CPP+set}" = set; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 else
17583 # Double quotes because CPP needs to be expanded
17584 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17585 do
17586 ac_preproc_ok=false
17587 for ac_c_preproc_warn_flag in '' yes
17588 do
17589 # Use a header file that comes with gcc, so configuring glibc
17590 # with a fresh cross-compiler works.
17591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17592 # <limits.h> exists even on freestanding compilers.
17593 # On the NeXT, cc -E runs the code through the compiler's parser,
17594 # not just through cpp. "Syntax error" is here to catch this case.
17595 cat >conftest.$ac_ext <<_ACEOF
17596 /* confdefs.h. */
17597 _ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 #ifdef __STDC__
17602 # include <limits.h>
17603 #else
17604 # include <assert.h>
17605 #endif
17606 Syntax error
17607 _ACEOF
17608 if { (ac_try="$ac_cpp conftest.$ac_ext"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17612 esac
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } >/dev/null && {
17621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 }; then
17624 :
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 # Broken: fails on valid input.
17630 continue
17631 fi
17632
17633 rm -f conftest.err conftest.$ac_ext
17634
17635 # OK, works on sane cases. Now check whether nonexistent headers
17636 # can be detected and how.
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 #include <ac_nonexistent.h>
17644 _ACEOF
17645 if { (ac_try="$ac_cpp conftest.$ac_ext"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } >/dev/null && {
17658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 }; then
17661 # Broken: success on invalid input.
17662 continue
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667 # Passes both tests.
17668 ac_preproc_ok=:
17669 break
17670 fi
17671
17672 rm -f conftest.err conftest.$ac_ext
17673
17674 done
17675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17676 rm -f conftest.err conftest.$ac_ext
17677 if $ac_preproc_ok; then
17678 break
17679 fi
17680
17681 done
17682 ac_cv_prog_CPP=$CPP
17683
17684 fi
17685 CPP=$ac_cv_prog_CPP
17686 else
17687 ac_cv_prog_CPP=$CPP
17688 fi
17689 { echo "$as_me:$LINENO: result: $CPP" >&5
17690 echo "${ECHO_T}$CPP" >&6; }
17691 ac_preproc_ok=false
17692 for ac_c_preproc_warn_flag in '' yes
17693 do
17694 # Use a header file that comes with gcc, so configuring glibc
17695 # with a fresh cross-compiler works.
17696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17697 # <limits.h> exists even on freestanding compilers.
17698 # On the NeXT, cc -E runs the code through the compiler's parser,
17699 # not just through cpp. "Syntax error" is here to catch this case.
17700 cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h. */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 #ifdef __STDC__
17707 # include <limits.h>
17708 #else
17709 # include <assert.h>
17710 #endif
17711 Syntax error
17712 _ACEOF
17713 if { (ac_try="$ac_cpp conftest.$ac_ext"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17717 esac
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } >/dev/null && {
17726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17727 test ! -s conftest.err
17728 }; then
17729 :
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 # Broken: fails on valid input.
17735 continue
17736 fi
17737
17738 rm -f conftest.err conftest.$ac_ext
17739
17740 # OK, works on sane cases. Now check whether nonexistent headers
17741 # can be detected and how.
17742 cat >conftest.$ac_ext <<_ACEOF
17743 /* confdefs.h. */
17744 _ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 #include <ac_nonexistent.h>
17749 _ACEOF
17750 if { (ac_try="$ac_cpp conftest.$ac_ext"
17751 case "(($ac_try" in
17752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17753 *) ac_try_echo=$ac_try;;
17754 esac
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17757 ac_status=$?
17758 grep -v '^ *+' conftest.er1 >conftest.err
17759 rm -f conftest.er1
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } >/dev/null && {
17763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17764 test ! -s conftest.err
17765 }; then
17766 # Broken: success on invalid input.
17767 continue
17768 else
17769 echo "$as_me: failed program was:" >&5
17770 sed 's/^/| /' conftest.$ac_ext >&5
17771
17772 # Passes both tests.
17773 ac_preproc_ok=:
17774 break
17775 fi
17776
17777 rm -f conftest.err conftest.$ac_ext
17778
17779 done
17780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17781 rm -f conftest.err conftest.$ac_ext
17782 if $ac_preproc_ok; then
17783 :
17784 else
17785 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17786 See \`config.log' for more details." >&5
17787 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17788 See \`config.log' for more details." >&2;}
17789 { (exit 1); exit 1; }; }
17790 fi
17791
17792 ac_ext=c
17793 ac_cpp='$CPP $CPPFLAGS'
17794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17797
17798
17799 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17800 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17801 if test "${ac_cv_path_GREP+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 else
17804 # Extract the first word of "grep ggrep" to use in msg output
17805 if test -z "$GREP"; then
17806 set dummy grep ggrep; ac_prog_name=$2
17807 if test "${ac_cv_path_GREP+set}" = set; then
17808 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 else
17810 ac_path_GREP_found=false
17811 # Loop through the user's path and test for each of PROGNAME-LIST
17812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17814 do
17815 IFS=$as_save_IFS
17816 test -z "$as_dir" && as_dir=.
17817 for ac_prog in grep ggrep; do
17818 for ac_exec_ext in '' $ac_executable_extensions; do
17819 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17820 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17821 # Check for GNU ac_path_GREP and select it if it is found.
17822 # Check for GNU $ac_path_GREP
17823 case `"$ac_path_GREP" --version 2>&1` in
17824 *GNU*)
17825 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17826 *)
17827 ac_count=0
17828 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17829 while :
17830 do
17831 cat "conftest.in" "conftest.in" >"conftest.tmp"
17832 mv "conftest.tmp" "conftest.in"
17833 cp "conftest.in" "conftest.nl"
17834 echo 'GREP' >> "conftest.nl"
17835 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17837 ac_count=`expr $ac_count + 1`
17838 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17839 # Best one so far, save it but keep looking for a better one
17840 ac_cv_path_GREP="$ac_path_GREP"
17841 ac_path_GREP_max=$ac_count
17842 fi
17843 # 10*(2^10) chars as input seems more than enough
17844 test $ac_count -gt 10 && break
17845 done
17846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17847 esac
17848
17849
17850 $ac_path_GREP_found && break 3
17851 done
17852 done
17853
17854 done
17855 IFS=$as_save_IFS
17856
17857
17858 fi
17859
17860 GREP="$ac_cv_path_GREP"
17861 if test -z "$GREP"; then
17862 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17863 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17864 { (exit 1); exit 1; }; }
17865 fi
17866
17867 else
17868 ac_cv_path_GREP=$GREP
17869 fi
17870
17871
17872 fi
17873 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17874 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17875 GREP="$ac_cv_path_GREP"
17876
17877
17878 { echo "$as_me:$LINENO: checking for egrep" >&5
17879 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17880 if test "${ac_cv_path_EGREP+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17884 then ac_cv_path_EGREP="$GREP -E"
17885 else
17886 # Extract the first word of "egrep" to use in msg output
17887 if test -z "$EGREP"; then
17888 set dummy egrep; ac_prog_name=$2
17889 if test "${ac_cv_path_EGREP+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 else
17892 ac_path_EGREP_found=false
17893 # Loop through the user's path and test for each of PROGNAME-LIST
17894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17896 do
17897 IFS=$as_save_IFS
17898 test -z "$as_dir" && as_dir=.
17899 for ac_prog in egrep; do
17900 for ac_exec_ext in '' $ac_executable_extensions; do
17901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17903 # Check for GNU ac_path_EGREP and select it if it is found.
17904 # Check for GNU $ac_path_EGREP
17905 case `"$ac_path_EGREP" --version 2>&1` in
17906 *GNU*)
17907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17908 *)
17909 ac_count=0
17910 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17911 while :
17912 do
17913 cat "conftest.in" "conftest.in" >"conftest.tmp"
17914 mv "conftest.tmp" "conftest.in"
17915 cp "conftest.in" "conftest.nl"
17916 echo 'EGREP' >> "conftest.nl"
17917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17919 ac_count=`expr $ac_count + 1`
17920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17921 # Best one so far, save it but keep looking for a better one
17922 ac_cv_path_EGREP="$ac_path_EGREP"
17923 ac_path_EGREP_max=$ac_count
17924 fi
17925 # 10*(2^10) chars as input seems more than enough
17926 test $ac_count -gt 10 && break
17927 done
17928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17929 esac
17930
17931
17932 $ac_path_EGREP_found && break 3
17933 done
17934 done
17935
17936 done
17937 IFS=$as_save_IFS
17938
17939
17940 fi
17941
17942 EGREP="$ac_cv_path_EGREP"
17943 if test -z "$EGREP"; then
17944 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17945 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17946 { (exit 1); exit 1; }; }
17947 fi
17948
17949 else
17950 ac_cv_path_EGREP=$EGREP
17951 fi
17952
17953
17954 fi
17955 fi
17956 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17957 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17958 EGREP="$ac_cv_path_EGREP"
17959
17960
17961 if test $ac_cv_c_compiler_gnu = yes; then
17962 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 else
17967 ac_pattern="Autoconf.*'x'"
17968 cat >conftest.$ac_ext <<_ACEOF
17969 /* confdefs.h. */
17970 _ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 #include <sgtty.h>
17975 Autoconf TIOCGETP
17976 _ACEOF
17977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17978 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17979 ac_cv_prog_gcc_traditional=yes
17980 else
17981 ac_cv_prog_gcc_traditional=no
17982 fi
17983 rm -f conftest*
17984
17985
17986 if test $ac_cv_prog_gcc_traditional = no; then
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 #include <termio.h>
17994 Autoconf TCGETA
17995 _ACEOF
17996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17997 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17998 ac_cv_prog_gcc_traditional=yes
17999 fi
18000 rm -f conftest*
18001
18002 fi
18003 fi
18004 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18006 if test $ac_cv_prog_gcc_traditional = yes; then
18007 CC="$CC -traditional"
18008 fi
18009 fi
18010
18011
18012 CXXFLAGS=${CXXFLAGS:=}
18013
18014
18015
18016 ac_ext=cpp
18017 ac_cpp='$CXXCPP $CPPFLAGS'
18018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18021 if test -z "$CXX"; then
18022 if test -n "$CCC"; then
18023 CXX=$CCC
18024 else
18025 if test -n "$ac_tool_prefix"; then
18026 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18027 do
18028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18032 if test "${ac_cv_prog_CXX+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18035 if test -n "$CXX"; then
18036 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18037 else
18038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18039 for as_dir in $PATH
18040 do
18041 IFS=$as_save_IFS
18042 test -z "$as_dir" && as_dir=.
18043 for ac_exec_ext in '' $ac_executable_extensions; do
18044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18045 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18047 break 2
18048 fi
18049 done
18050 done
18051 IFS=$as_save_IFS
18052
18053 fi
18054 fi
18055 CXX=$ac_cv_prog_CXX
18056 if test -n "$CXX"; then
18057 { echo "$as_me:$LINENO: result: $CXX" >&5
18058 echo "${ECHO_T}$CXX" >&6; }
18059 else
18060 { echo "$as_me:$LINENO: result: no" >&5
18061 echo "${ECHO_T}no" >&6; }
18062 fi
18063
18064
18065 test -n "$CXX" && break
18066 done
18067 fi
18068 if test -z "$CXX"; then
18069 ac_ct_CXX=$CXX
18070 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18071 do
18072 # Extract the first word of "$ac_prog", so it can be a program name with args.
18073 set dummy $ac_prog; ac_word=$2
18074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18076 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 else
18079 if test -n "$ac_ct_CXX"; then
18080 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18081 else
18082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18083 for as_dir in $PATH
18084 do
18085 IFS=$as_save_IFS
18086 test -z "$as_dir" && as_dir=.
18087 for ac_exec_ext in '' $ac_executable_extensions; do
18088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18089 ac_cv_prog_ac_ct_CXX="$ac_prog"
18090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18091 break 2
18092 fi
18093 done
18094 done
18095 IFS=$as_save_IFS
18096
18097 fi
18098 fi
18099 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18100 if test -n "$ac_ct_CXX"; then
18101 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18102 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18103 else
18104 { echo "$as_me:$LINENO: result: no" >&5
18105 echo "${ECHO_T}no" >&6; }
18106 fi
18107
18108
18109 test -n "$ac_ct_CXX" && break
18110 done
18111
18112 if test "x$ac_ct_CXX" = x; then
18113 CXX="g++"
18114 else
18115 case $cross_compiling:$ac_tool_warned in
18116 yes:)
18117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18118 whose name does not start with the host triplet. If you think this
18119 configuration is useful to you, please write to autoconf@gnu.org." >&5
18120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18121 whose name does not start with the host triplet. If you think this
18122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18123 ac_tool_warned=yes ;;
18124 esac
18125 CXX=$ac_ct_CXX
18126 fi
18127 fi
18128
18129 fi
18130 fi
18131 # Provide some information about the compiler.
18132 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18133 ac_compiler=`set X $ac_compile; echo $2`
18134 { (ac_try="$ac_compiler --version >&5"
18135 case "(($ac_try" in
18136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18137 *) ac_try_echo=$ac_try;;
18138 esac
18139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18140 (eval "$ac_compiler --version >&5") 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }
18144 { (ac_try="$ac_compiler -v >&5"
18145 case "(($ac_try" in
18146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18147 *) ac_try_echo=$ac_try;;
18148 esac
18149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18150 (eval "$ac_compiler -v >&5") 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }
18154 { (ac_try="$ac_compiler -V >&5"
18155 case "(($ac_try" in
18156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18157 *) ac_try_echo=$ac_try;;
18158 esac
18159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18160 (eval "$ac_compiler -V >&5") 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }
18164
18165 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18166 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18167 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 cat >conftest.$ac_ext <<_ACEOF
18171 /* confdefs.h. */
18172 _ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176
18177 int
18178 main ()
18179 {
18180 #ifndef __GNUC__
18181 choke me
18182 #endif
18183
18184 ;
18185 return 0;
18186 }
18187 _ACEOF
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;;
18193 esac
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18196 ac_status=$?
18197 grep -v '^ *+' conftest.er1 >conftest.err
18198 rm -f conftest.er1
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_cxx_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.$ac_objext; then
18205 ac_compiler_gnu=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 ac_compiler_gnu=no
18211 fi
18212
18213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18214 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18215
18216 fi
18217 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18218 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18219 GXX=`test $ac_compiler_gnu = yes && echo yes`
18220 ac_test_CXXFLAGS=${CXXFLAGS+set}
18221 ac_save_CXXFLAGS=$CXXFLAGS
18222 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18223 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18224 if test "${ac_cv_prog_cxx_g+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18228 ac_cxx_werror_flag=yes
18229 ac_cv_prog_cxx_g=no
18230 CXXFLAGS="-g"
18231 cat >conftest.$ac_ext <<_ACEOF
18232 /* confdefs.h. */
18233 _ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237
18238 int
18239 main ()
18240 {
18241
18242 ;
18243 return 0;
18244 }
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18251 esac
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18254 ac_status=$?
18255 grep -v '^ *+' conftest.er1 >conftest.err
18256 rm -f conftest.er1
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_cxx_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest.$ac_objext; then
18263 ac_cv_prog_cxx_g=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 CXXFLAGS=""
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h. */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275
18276 int
18277 main ()
18278 {
18279
18280 ;
18281 return 0;
18282 }
18283 _ACEOF
18284 rm -f conftest.$ac_objext
18285 if { (ac_try="$ac_compile"
18286 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18289 esac
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_compile") 2>conftest.er1
18292 ac_status=$?
18293 grep -v '^ *+' conftest.er1 >conftest.err
18294 rm -f conftest.er1
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_cxx_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest.$ac_objext; then
18301 :
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18305
18306 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18307 CXXFLAGS="-g"
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314
18315 int
18316 main ()
18317 {
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_cxx_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_prog_cxx_g=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 fi
18350
18351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18352 fi
18353
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18356 fi
18357 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18358 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18359 if test "$ac_test_CXXFLAGS" = set; then
18360 CXXFLAGS=$ac_save_CXXFLAGS
18361 elif test $ac_cv_prog_cxx_g = yes; then
18362 if test "$GXX" = yes; then
18363 CXXFLAGS="-g -O2"
18364 else
18365 CXXFLAGS="-g"
18366 fi
18367 else
18368 if test "$GXX" = yes; then
18369 CXXFLAGS="-O2"
18370 else
18371 CXXFLAGS=
18372 fi
18373 fi
18374 ac_ext=c
18375 ac_cpp='$CPP $CPPFLAGS'
18376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18379
18380
18381
18382
18383 ac_ext=cpp
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18388
18389 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18390 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400
18401 int
18402 main ()
18403 {
18404
18405 #ifndef __INTEL_COMPILER
18406 choke me
18407 #endif
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_cxx_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18436
18437 fi
18438
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440
18441
18442 fi
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18444 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18445 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18446 :; INTELCXX=yes
18447 else
18448 :;
18449 fi
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455
18456
18457
18458
18459 if test "x$GCXX" != "xyes"; then
18460 if test "xCXX" = "xC"; then
18461 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18462 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18463 if test "${bakefile_cv_c_exto+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 else
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472
18473 int
18474 main ()
18475 {
18476
18477 ;
18478 return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext conftest.$ac_ext.o
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; then
18487 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18488 case $ac_file in
18489 conftest.$ac_ext.o)
18490 bakefile_cv_c_exto="-ext o"
18491 ;;
18492 *)
18493 ;;
18494 esac
18495 done
18496 else
18497 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18498 See \`config.log' for more details." >&5
18499 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18500 See \`config.log' for more details." >&2;}
18501 { (exit 1); exit 1; }; }
18502
18503 fi
18504
18505 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18506
18507 fi
18508 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18509 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18510 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18511 if test "c" = "c"; then
18512 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18513 fi
18514 if test "c" = "cxx"; then
18515 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18516 fi
18517 fi
18518
18519 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18520 unset ac_cv_prog_cc_g
18521 ac_test_CFLAGS=${CFLAGS+set}
18522 ac_save_CFLAGS=$CFLAGS
18523 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18524 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18525 if test "${ac_cv_prog_cc_g+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 else
18528 ac_save_c_werror_flag=$ac_c_werror_flag
18529 ac_c_werror_flag=yes
18530 ac_cv_prog_cc_g=no
18531 CFLAGS="-g"
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538
18539 int
18540 main ()
18541 {
18542
18543 ;
18544 return 0;
18545 }
18546 _ACEOF
18547 rm -f conftest.$ac_objext
18548 if { (ac_try="$ac_compile"
18549 case "(($ac_try" in
18550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18551 *) ac_try_echo=$ac_try;;
18552 esac
18553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18554 (eval "$ac_compile") 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } && {
18561 test -z "$ac_c_werror_flag" ||
18562 test ! -s conftest.err
18563 } && test -s conftest.$ac_objext; then
18564 ac_cv_prog_cc_g=yes
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18568
18569 CFLAGS=""
18570 cat >conftest.$ac_ext <<_ACEOF
18571 /* confdefs.h. */
18572 _ACEOF
18573 cat confdefs.h >>conftest.$ac_ext
18574 cat >>conftest.$ac_ext <<_ACEOF
18575 /* end confdefs.h. */
18576
18577 int
18578 main ()
18579 {
18580
18581 ;
18582 return 0;
18583 }
18584 _ACEOF
18585 rm -f conftest.$ac_objext
18586 if { (ac_try="$ac_compile"
18587 case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18590 esac
18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_compile") 2>conftest.er1
18593 ac_status=$?
18594 grep -v '^ *+' conftest.er1 >conftest.err
18595 rm -f conftest.er1
18596 cat conftest.err >&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } && {
18599 test -z "$ac_c_werror_flag" ||
18600 test ! -s conftest.err
18601 } && test -s conftest.$ac_objext; then
18602 :
18603 else
18604 echo "$as_me: failed program was:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18606
18607 ac_c_werror_flag=$ac_save_c_werror_flag
18608 CFLAGS="-g"
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615
18616 int
18617 main ()
18618 {
18619
18620 ;
18621 return 0;
18622 }
18623 _ACEOF
18624 rm -f conftest.$ac_objext
18625 if { (ac_try="$ac_compile"
18626 case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18629 esac
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_compile") 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } && {
18638 test -z "$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18640 } && test -s conftest.$ac_objext; then
18641 ac_cv_prog_cc_g=yes
18642 else
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18645
18646
18647 fi
18648
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 fi
18651
18652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653 fi
18654
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656 ac_c_werror_flag=$ac_save_c_werror_flag
18657 fi
18658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18659 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18660 if test "$ac_test_CFLAGS" = set; then
18661 CFLAGS=$ac_save_CFLAGS
18662 elif test $ac_cv_prog_cc_g = yes; then
18663 if test "$GCC" = yes; then
18664 CFLAGS="-g -O2"
18665 else
18666 CFLAGS="-g"
18667 fi
18668 else
18669 if test "$GCC" = yes; then
18670 CFLAGS="-O2"
18671 else
18672 CFLAGS=
18673 fi
18674 fi
18675 fi
18676 fi
18677
18678 case `uname -s` in
18679 AIX*)
18680
18681
18682 ac_ext=cpp
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18687
18688 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18689 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18690 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 else
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699
18700 int
18701 main ()
18702 {
18703
18704 #ifndef __xlC__
18705 choke me
18706 #endif
18707
18708 ;
18709 return 0;
18710 }
18711 _ACEOF
18712 rm -f conftest.$ac_objext
18713 if { (ac_try="$ac_compile"
18714 case "(($ac_try" in
18715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18716 *) ac_try_echo=$ac_try;;
18717 esac
18718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18719 (eval "$ac_compile") 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && {
18726 test -z "$ac_cxx_werror_flag" ||
18727 test ! -s conftest.err
18728 } && test -s conftest.$ac_objext; then
18729 bakefile_cv_cxx_compiler___xlC__=yes
18730 else
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18733
18734 bakefile_cv_cxx_compiler___xlC__=no
18735
18736 fi
18737
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18739
18740
18741 fi
18742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18743 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18744 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18745 :; XLCXX=yes
18746 else
18747 :;
18748 fi
18749 ac_ext=c
18750 ac_cpp='$CPP $CPPFLAGS'
18751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18754
18755
18756
18757 ;;
18758
18759 Darwin)
18760
18761
18762 ac_ext=cpp
18763 ac_cpp='$CXXCPP $CPPFLAGS'
18764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18767
18768 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18769 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18770 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 else
18773 cat >conftest.$ac_ext <<_ACEOF
18774 /* confdefs.h. */
18775 _ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779
18780 int
18781 main ()
18782 {
18783
18784 #ifndef __MWERKS__
18785 choke me
18786 #endif
18787
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext
18793 if { (ac_try="$ac_compile"
18794 case "(($ac_try" in
18795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18796 *) ac_try_echo=$ac_try;;
18797 esac
18798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18799 (eval "$ac_compile") 2>conftest.er1
18800 ac_status=$?
18801 grep -v '^ *+' conftest.er1 >conftest.err
18802 rm -f conftest.er1
18803 cat conftest.err >&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && {
18806 test -z "$ac_cxx_werror_flag" ||
18807 test ! -s conftest.err
18808 } && test -s conftest.$ac_objext; then
18809 bakefile_cv_cxx_compiler___MWERKS__=yes
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18813
18814 bakefile_cv_cxx_compiler___MWERKS__=no
18815
18816 fi
18817
18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18819
18820
18821 fi
18822 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18823 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18824 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18825 :; MWCXX=yes
18826 else
18827 :;
18828 fi
18829 ac_ext=c
18830 ac_cpp='$CPP $CPPFLAGS'
18831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834
18835
18836
18837
18838
18839 ac_ext=cpp
18840 ac_cpp='$CXXCPP $CPPFLAGS'
18841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18844
18845 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18846 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18847 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 else
18850 cat >conftest.$ac_ext <<_ACEOF
18851 /* confdefs.h. */
18852 _ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856
18857 int
18858 main ()
18859 {
18860
18861 #ifndef __xlC__
18862 choke me
18863 #endif
18864
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (ac_try="$ac_compile"
18871 case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18874 esac
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_compile") 2>conftest.er1
18877 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && {
18883 test -z "$ac_cxx_werror_flag" ||
18884 test ! -s conftest.err
18885 } && test -s conftest.$ac_objext; then
18886 bakefile_cv_cxx_compiler___xlC__=yes
18887 else
18888 echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.$ac_ext >&5
18890
18891 bakefile_cv_cxx_compiler___xlC__=no
18892
18893 fi
18894
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18896
18897
18898 fi
18899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18901 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18902 :; XLCXX=yes
18903 else
18904 :;
18905 fi
18906 ac_ext=c
18907 ac_cpp='$CPP $CPPFLAGS'
18908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18911
18912
18913
18914 ;;
18915
18916 IRIX*)
18917
18918
18919 ac_ext=cpp
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18924
18925 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18926 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18927 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 else
18930 cat >conftest.$ac_ext <<_ACEOF
18931 /* confdefs.h. */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936
18937 int
18938 main ()
18939 {
18940
18941 #ifndef _SGI_COMPILER_VERSION
18942 choke me
18943 #endif
18944
18945 ;
18946 return 0;
18947 }
18948 _ACEOF
18949 rm -f conftest.$ac_objext
18950 if { (ac_try="$ac_compile"
18951 case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18954 esac
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_compile") 2>conftest.er1
18957 ac_status=$?
18958 grep -v '^ *+' conftest.er1 >conftest.err
18959 rm -f conftest.er1
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } && {
18963 test -z "$ac_cxx_werror_flag" ||
18964 test ! -s conftest.err
18965 } && test -s conftest.$ac_objext; then
18966 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18972
18973 fi
18974
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18976
18977
18978 fi
18979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18980 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18981 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18982 :; SGICXX=yes
18983 else
18984 :;
18985 fi
18986 ac_ext=c
18987 ac_cpp='$CPP $CPPFLAGS'
18988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18991
18992
18993
18994 ;;
18995
18996 Linux*)
18997
18998
18999 ac_ext=cpp
19000 ac_cpp='$CXXCPP $CPPFLAGS'
19001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19004
19005 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19006 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19007 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19009 else
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016
19017 int
19018 main ()
19019 {
19020
19021 #ifndef __SUNPRO_CC
19022 choke me
19023 #endif
19024
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (ac_try="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19034 esac
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19037 ac_status=$?
19038 grep -v '^ *+' conftest.er1 >conftest.err
19039 rm -f conftest.er1
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_cxx_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19046 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19047 else
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19050
19051 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19052
19053 fi
19054
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057
19058 fi
19059 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19061 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19062 :; SUNCXX=yes
19063 else
19064 :;
19065 fi
19066 ac_ext=c
19067 ac_cpp='$CPP $CPPFLAGS'
19068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19071
19072
19073
19074 ;;
19075
19076 HP-UX*)
19077
19078
19079 ac_ext=cpp
19080 ac_cpp='$CXXCPP $CPPFLAGS'
19081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084
19085 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19086 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19087 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 else
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096
19097 int
19098 main ()
19099 {
19100
19101 #ifndef __HP_aCC
19102 choke me
19103 #endif
19104
19105 ;
19106 return 0;
19107 }
19108 _ACEOF
19109 rm -f conftest.$ac_objext
19110 if { (ac_try="$ac_compile"
19111 case "(($ac_try" in
19112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19114 esac
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compile") 2>conftest.er1
19117 ac_status=$?
19118 grep -v '^ *+' conftest.er1 >conftest.err
19119 rm -f conftest.er1
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && {
19123 test -z "$ac_cxx_werror_flag" ||
19124 test ! -s conftest.err
19125 } && test -s conftest.$ac_objext; then
19126 bakefile_cv_cxx_compiler___HP_aCC=yes
19127 else
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19130
19131 bakefile_cv_cxx_compiler___HP_aCC=no
19132
19133 fi
19134
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19136
19137
19138 fi
19139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19140 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19141 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19142 :; HPCXX=yes
19143 else
19144 :;
19145 fi
19146 ac_ext=c
19147 ac_cpp='$CPP $CPPFLAGS'
19148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19151
19152
19153
19154 ;;
19155
19156 OSF1)
19157
19158
19159 ac_ext=cpp
19160 ac_cpp='$CXXCPP $CPPFLAGS'
19161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19164
19165 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19166 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19167 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176
19177 int
19178 main ()
19179 {
19180
19181 #ifndef __DECCXX
19182 choke me
19183 #endif
19184
19185 ;
19186 return 0;
19187 }
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_cxx_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 bakefile_cv_cxx_compiler___DECCXX=yes
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 bakefile_cv_cxx_compiler___DECCXX=no
19212
19213 fi
19214
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216
19217
19218 fi
19219 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19220 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19221 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19222 :; COMPAQCXX=yes
19223 else
19224 :;
19225 fi
19226 ac_ext=c
19227 ac_cpp='$CPP $CPPFLAGS'
19228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19231
19232
19233
19234 ;;
19235
19236 SunOS)
19237
19238
19239 ac_ext=cpp
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244
19245 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19246 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19247 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 else
19250 cat >conftest.$ac_ext <<_ACEOF
19251 /* confdefs.h. */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256
19257 int
19258 main ()
19259 {
19260
19261 #ifndef __SUNPRO_CC
19262 choke me
19263 #endif
19264
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 rm -f conftest.$ac_objext
19270 if { (ac_try="$ac_compile"
19271 case "(($ac_try" in
19272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19273 *) ac_try_echo=$ac_try;;
19274 esac
19275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19276 (eval "$ac_compile") 2>conftest.er1
19277 ac_status=$?
19278 grep -v '^ *+' conftest.er1 >conftest.err
19279 rm -f conftest.er1
19280 cat conftest.err >&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } && {
19283 test -z "$ac_cxx_werror_flag" ||
19284 test ! -s conftest.err
19285 } && test -s conftest.$ac_objext; then
19286 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19290
19291 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19292
19293 fi
19294
19295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296
19297
19298 fi
19299 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19300 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19301 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19302 :; SUNCXX=yes
19303 else
19304 :;
19305 fi
19306 ac_ext=c
19307 ac_cpp='$CPP $CPPFLAGS'
19308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19311
19312
19313
19314 ;;
19315 esac
19316 fi
19317
19318
19319
19320 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19321 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19322 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19323 { (exit 1); exit 1; }; }
19324 fi
19325
19326 if test -n "$ac_tool_prefix"; then
19327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19328 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19331 if test "${ac_cv_prog_RANLIB+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334 if test -n "$RANLIB"; then
19335 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19336 else
19337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19338 for as_dir in $PATH
19339 do
19340 IFS=$as_save_IFS
19341 test -z "$as_dir" && as_dir=.
19342 for ac_exec_ext in '' $ac_executable_extensions; do
19343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19344 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19346 break 2
19347 fi
19348 done
19349 done
19350 IFS=$as_save_IFS
19351
19352 fi
19353 fi
19354 RANLIB=$ac_cv_prog_RANLIB
19355 if test -n "$RANLIB"; then
19356 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19357 echo "${ECHO_T}$RANLIB" >&6; }
19358 else
19359 { echo "$as_me:$LINENO: result: no" >&5
19360 echo "${ECHO_T}no" >&6; }
19361 fi
19362
19363
19364 fi
19365 if test -z "$ac_cv_prog_RANLIB"; then
19366 ac_ct_RANLIB=$RANLIB
19367 # Extract the first word of "ranlib", so it can be a program name with args.
19368 set dummy ranlib; ac_word=$2
19369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19371 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 else
19374 if test -n "$ac_ct_RANLIB"; then
19375 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19376 else
19377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19378 for as_dir in $PATH
19379 do
19380 IFS=$as_save_IFS
19381 test -z "$as_dir" && as_dir=.
19382 for ac_exec_ext in '' $ac_executable_extensions; do
19383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19384 ac_cv_prog_ac_ct_RANLIB="ranlib"
19385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19386 break 2
19387 fi
19388 done
19389 done
19390 IFS=$as_save_IFS
19391
19392 fi
19393 fi
19394 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19395 if test -n "$ac_ct_RANLIB"; then
19396 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19397 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19398 else
19399 { echo "$as_me:$LINENO: result: no" >&5
19400 echo "${ECHO_T}no" >&6; }
19401 fi
19402
19403 if test "x$ac_ct_RANLIB" = x; then
19404 RANLIB=":"
19405 else
19406 case $cross_compiling:$ac_tool_warned in
19407 yes:)
19408 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19409 whose name does not start with the host triplet. If you think this
19410 configuration is useful to you, please write to autoconf@gnu.org." >&5
19411 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19412 whose name does not start with the host triplet. If you think this
19413 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19414 ac_tool_warned=yes ;;
19415 esac
19416 RANLIB=$ac_ct_RANLIB
19417 fi
19418 else
19419 RANLIB="$ac_cv_prog_RANLIB"
19420 fi
19421
19422
19423 if test "x$SUNCXX" != xyes; then
19424 if test -n "$ac_tool_prefix"; then
19425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19426 set dummy ${ac_tool_prefix}ar; ac_word=$2
19427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19429 if test "${ac_cv_prog_AR+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432 if test -n "$AR"; then
19433 ac_cv_prog_AR="$AR" # Let the user override the test.
19434 else
19435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19436 for as_dir in $PATH
19437 do
19438 IFS=$as_save_IFS
19439 test -z "$as_dir" && as_dir=.
19440 for ac_exec_ext in '' $ac_executable_extensions; do
19441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19442 ac_cv_prog_AR="${ac_tool_prefix}ar"
19443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19444 break 2
19445 fi
19446 done
19447 done
19448 IFS=$as_save_IFS
19449
19450 fi
19451 fi
19452 AR=$ac_cv_prog_AR
19453 if test -n "$AR"; then
19454 { echo "$as_me:$LINENO: result: $AR" >&5
19455 echo "${ECHO_T}$AR" >&6; }
19456 else
19457 { echo "$as_me:$LINENO: result: no" >&5
19458 echo "${ECHO_T}no" >&6; }
19459 fi
19460
19461
19462 fi
19463 if test -z "$ac_cv_prog_AR"; then
19464 ac_ct_AR=$AR
19465 # Extract the first word of "ar", so it can be a program name with args.
19466 set dummy ar; ac_word=$2
19467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 else
19472 if test -n "$ac_ct_AR"; then
19473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19474 else
19475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19476 for as_dir in $PATH
19477 do
19478 IFS=$as_save_IFS
19479 test -z "$as_dir" && as_dir=.
19480 for ac_exec_ext in '' $ac_executable_extensions; do
19481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19482 ac_cv_prog_ac_ct_AR="ar"
19483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19484 break 2
19485 fi
19486 done
19487 done
19488 IFS=$as_save_IFS
19489
19490 fi
19491 fi
19492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19493 if test -n "$ac_ct_AR"; then
19494 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19495 echo "${ECHO_T}$ac_ct_AR" >&6; }
19496 else
19497 { echo "$as_me:$LINENO: result: no" >&5
19498 echo "${ECHO_T}no" >&6; }
19499 fi
19500
19501 if test "x$ac_ct_AR" = x; then
19502 AR=""
19503 else
19504 case $cross_compiling:$ac_tool_warned in
19505 yes:)
19506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19507 whose name does not start with the host triplet. If you think this
19508 configuration is useful to you, please write to autoconf@gnu.org." >&5
19509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19510 whose name does not start with the host triplet. If you think this
19511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19512 ac_tool_warned=yes ;;
19513 esac
19514 AR=$ac_ct_AR
19515 fi
19516 else
19517 AR="$ac_cv_prog_AR"
19518 fi
19519
19520 if test "x$AR" = "x" ; then
19521 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19522 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19523 { (exit 1); exit 1; }; }
19524 fi
19525 fi
19526
19527 # Find a good install program. We prefer a C program (faster),
19528 # so one script is as good as another. But avoid the broken or
19529 # incompatible versions:
19530 # SysV /etc/install, /usr/sbin/install
19531 # SunOS /usr/etc/install
19532 # IRIX /sbin/install
19533 # AIX /bin/install
19534 # AmigaOS /C/install, which installs bootblocks on floppy discs
19535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19538 # OS/2's system install, which has a completely different semantic
19539 # ./install, which can be erroneously created by make from ./install.sh.
19540 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19541 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19542 if test -z "$INSTALL"; then
19543 if test "${ac_cv_path_install+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19547 for as_dir in $PATH
19548 do
19549 IFS=$as_save_IFS
19550 test -z "$as_dir" && as_dir=.
19551 # Account for people who put trailing slashes in PATH elements.
19552 case $as_dir/ in
19553 ./ | .// | /cC/* | \
19554 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19555 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19556 /usr/ucb/* ) ;;
19557 *)
19558 # OSF1 and SCO ODT 3.0 have their own names for install.
19559 # Don't use installbsd from OSF since it installs stuff as root
19560 # by default.
19561 for ac_prog in ginstall scoinst install; do
19562 for ac_exec_ext in '' $ac_executable_extensions; do
19563 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19564 if test $ac_prog = install &&
19565 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19566 # AIX install. It has an incompatible calling convention.
19567 :
19568 elif test $ac_prog = install &&
19569 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19570 # program-specific install script used by HP pwplus--don't use.
19571 :
19572 else
19573 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19574 break 3
19575 fi
19576 fi
19577 done
19578 done
19579 ;;
19580 esac
19581 done
19582 IFS=$as_save_IFS
19583
19584
19585 fi
19586 if test "${ac_cv_path_install+set}" = set; then
19587 INSTALL=$ac_cv_path_install
19588 else
19589 # As a last resort, use the slow shell script. Don't cache a
19590 # value for INSTALL within a source directory, because that will
19591 # break other packages using the cache if that directory is
19592 # removed, or if the value is a relative name.
19593 INSTALL=$ac_install_sh
19594 fi
19595 fi
19596 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19597 echo "${ECHO_T}$INSTALL" >&6; }
19598
19599 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19600 # It thinks the first close brace ends the variable substitution.
19601 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19602
19603 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19604
19605 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19606
19607
19608 case ${INSTALL} in
19609 /* ) # Absolute
19610 ;;
19611 ?:* ) # Drive letter, considered as absolute.
19612 ;;
19613 *)
19614 INSTALL=`pwd`/${INSTALL} ;;
19615 esac
19616
19617
19618 case "${host}" in
19619
19620 *-*-darwin* )
19621 INSTALL_PROGRAM="cp -fp"
19622 INSTALL_DATA="cp -fp"
19623 ;;
19624 *)
19625 ;;
19626 esac
19627
19628 if test -n "$ac_tool_prefix"; then
19629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19630 set dummy ${ac_tool_prefix}strip; ac_word=$2
19631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19633 if test "${ac_cv_prog_STRIP+set}" = set; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19635 else
19636 if test -n "$STRIP"; then
19637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19638 else
19639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19640 for as_dir in $PATH
19641 do
19642 IFS=$as_save_IFS
19643 test -z "$as_dir" && as_dir=.
19644 for ac_exec_ext in '' $ac_executable_extensions; do
19645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19648 break 2
19649 fi
19650 done
19651 done
19652 IFS=$as_save_IFS
19653
19654 fi
19655 fi
19656 STRIP=$ac_cv_prog_STRIP
19657 if test -n "$STRIP"; then
19658 { echo "$as_me:$LINENO: result: $STRIP" >&5
19659 echo "${ECHO_T}$STRIP" >&6; }
19660 else
19661 { echo "$as_me:$LINENO: result: no" >&5
19662 echo "${ECHO_T}no" >&6; }
19663 fi
19664
19665
19666 fi
19667 if test -z "$ac_cv_prog_STRIP"; then
19668 ac_ct_STRIP=$STRIP
19669 # Extract the first word of "strip", so it can be a program name with args.
19670 set dummy strip; ac_word=$2
19671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19673 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 else
19676 if test -n "$ac_ct_STRIP"; then
19677 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19678 else
19679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19680 for as_dir in $PATH
19681 do
19682 IFS=$as_save_IFS
19683 test -z "$as_dir" && as_dir=.
19684 for ac_exec_ext in '' $ac_executable_extensions; do
19685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19686 ac_cv_prog_ac_ct_STRIP="strip"
19687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19688 break 2
19689 fi
19690 done
19691 done
19692 IFS=$as_save_IFS
19693
19694 fi
19695 fi
19696 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19697 if test -n "$ac_ct_STRIP"; then
19698 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19699 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19700 else
19701 { echo "$as_me:$LINENO: result: no" >&5
19702 echo "${ECHO_T}no" >&6; }
19703 fi
19704
19705 if test "x$ac_ct_STRIP" = x; then
19706 STRIP="true"
19707 else
19708 case $cross_compiling:$ac_tool_warned in
19709 yes:)
19710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19711 whose name does not start with the host triplet. If you think this
19712 configuration is useful to you, please write to autoconf@gnu.org." >&5
19713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19714 whose name does not start with the host triplet. If you think this
19715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19716 ac_tool_warned=yes ;;
19717 esac
19718 STRIP=$ac_ct_STRIP
19719 fi
19720 else
19721 STRIP="$ac_cv_prog_STRIP"
19722 fi
19723
19724
19725 if test "$wxUSE_WINE" = "yes"; then
19726 if test -n "$ac_tool_prefix"; then
19727 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19728 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19731 if test "${ac_cv_prog_WINDRES+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734 if test -n "$WINDRES"; then
19735 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19736 else
19737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19738 for as_dir in $PATH
19739 do
19740 IFS=$as_save_IFS
19741 test -z "$as_dir" && as_dir=.
19742 for ac_exec_ext in '' $ac_executable_extensions; do
19743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19744 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19746 break 2
19747 fi
19748 done
19749 done
19750 IFS=$as_save_IFS
19751
19752 fi
19753 fi
19754 WINDRES=$ac_cv_prog_WINDRES
19755 if test -n "$WINDRES"; then
19756 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19757 echo "${ECHO_T}$WINDRES" >&6; }
19758 else
19759 { echo "$as_me:$LINENO: result: no" >&5
19760 echo "${ECHO_T}no" >&6; }
19761 fi
19762
19763
19764 fi
19765 if test -z "$ac_cv_prog_WINDRES"; then
19766 ac_ct_WINDRES=$WINDRES
19767 # Extract the first word of "wrc", so it can be a program name with args.
19768 set dummy wrc; ac_word=$2
19769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19771 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 else
19774 if test -n "$ac_ct_WINDRES"; then
19775 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19776 else
19777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19778 for as_dir in $PATH
19779 do
19780 IFS=$as_save_IFS
19781 test -z "$as_dir" && as_dir=.
19782 for ac_exec_ext in '' $ac_executable_extensions; do
19783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19784 ac_cv_prog_ac_ct_WINDRES="wrc"
19785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19786 break 2
19787 fi
19788 done
19789 done
19790 IFS=$as_save_IFS
19791
19792 fi
19793 fi
19794 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19795 if test -n "$ac_ct_WINDRES"; then
19796 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19797 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19798 else
19799 { echo "$as_me:$LINENO: result: no" >&5
19800 echo "${ECHO_T}no" >&6; }
19801 fi
19802
19803 if test "x$ac_ct_WINDRES" = x; then
19804 WINDRES=""
19805 else
19806 case $cross_compiling:$ac_tool_warned in
19807 yes:)
19808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19809 whose name does not start with the host triplet. If you think this
19810 configuration is useful to you, please write to autoconf@gnu.org." >&5
19811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19812 whose name does not start with the host triplet. If you think this
19813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19814 ac_tool_warned=yes ;;
19815 esac
19816 WINDRES=$ac_ct_WINDRES
19817 fi
19818 else
19819 WINDRES="$ac_cv_prog_WINDRES"
19820 fi
19821
19822 RESCOMP="$WINDRES"
19823 else
19824 case "${host}" in
19825 *-*-cygwin* | *-*-mingw32* )
19826 if test -n "$ac_tool_prefix"; then
19827 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19828 set dummy ${ac_tool_prefix}windres; ac_word=$2
19829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19831 if test "${ac_cv_prog_WINDRES+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 if test -n "$WINDRES"; then
19835 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19836 else
19837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19838 for as_dir in $PATH
19839 do
19840 IFS=$as_save_IFS
19841 test -z "$as_dir" && as_dir=.
19842 for ac_exec_ext in '' $ac_executable_extensions; do
19843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19844 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19846 break 2
19847 fi
19848 done
19849 done
19850 IFS=$as_save_IFS
19851
19852 fi
19853 fi
19854 WINDRES=$ac_cv_prog_WINDRES
19855 if test -n "$WINDRES"; then
19856 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19857 echo "${ECHO_T}$WINDRES" >&6; }
19858 else
19859 { echo "$as_me:$LINENO: result: no" >&5
19860 echo "${ECHO_T}no" >&6; }
19861 fi
19862
19863
19864 fi
19865 if test -z "$ac_cv_prog_WINDRES"; then
19866 ac_ct_WINDRES=$WINDRES
19867 # Extract the first word of "windres", so it can be a program name with args.
19868 set dummy windres; ac_word=$2
19869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19871 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 else
19874 if test -n "$ac_ct_WINDRES"; then
19875 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19876 else
19877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19878 for as_dir in $PATH
19879 do
19880 IFS=$as_save_IFS
19881 test -z "$as_dir" && as_dir=.
19882 for ac_exec_ext in '' $ac_executable_extensions; do
19883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19884 ac_cv_prog_ac_ct_WINDRES="windres"
19885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19886 break 2
19887 fi
19888 done
19889 done
19890 IFS=$as_save_IFS
19891
19892 fi
19893 fi
19894 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19895 if test -n "$ac_ct_WINDRES"; then
19896 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19897 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19898 else
19899 { echo "$as_me:$LINENO: result: no" >&5
19900 echo "${ECHO_T}no" >&6; }
19901 fi
19902
19903 if test "x$ac_ct_WINDRES" = x; then
19904 WINDRES=""
19905 else
19906 case $cross_compiling:$ac_tool_warned in
19907 yes:)
19908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19909 whose name does not start with the host triplet. If you think this
19910 configuration is useful to you, please write to autoconf@gnu.org." >&5
19911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19912 whose name does not start with the host triplet. If you think this
19913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19914 ac_tool_warned=yes ;;
19915 esac
19916 WINDRES=$ac_ct_WINDRES
19917 fi
19918 else
19919 WINDRES="$ac_cv_prog_WINDRES"
19920 fi
19921
19922 RESCOMP="$WINDRES"
19923 if test -n "$ac_tool_prefix"; then
19924 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19925 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19928 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 else
19931 if test -n "$DLLTOOL"; then
19932 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19933 else
19934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19935 for as_dir in $PATH
19936 do
19937 IFS=$as_save_IFS
19938 test -z "$as_dir" && as_dir=.
19939 for ac_exec_ext in '' $ac_executable_extensions; do
19940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19941 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19943 break 2
19944 fi
19945 done
19946 done
19947 IFS=$as_save_IFS
19948
19949 fi
19950 fi
19951 DLLTOOL=$ac_cv_prog_DLLTOOL
19952 if test -n "$DLLTOOL"; then
19953 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19954 echo "${ECHO_T}$DLLTOOL" >&6; }
19955 else
19956 { echo "$as_me:$LINENO: result: no" >&5
19957 echo "${ECHO_T}no" >&6; }
19958 fi
19959
19960
19961 fi
19962 if test -z "$ac_cv_prog_DLLTOOL"; then
19963 ac_ct_DLLTOOL=$DLLTOOL
19964 # Extract the first word of "dlltool", so it can be a program name with args.
19965 set dummy dlltool; ac_word=$2
19966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19968 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19969 echo $ECHO_N "(cached) $ECHO_C" >&6
19970 else
19971 if test -n "$ac_ct_DLLTOOL"; then
19972 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19973 else
19974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19975 for as_dir in $PATH
19976 do
19977 IFS=$as_save_IFS
19978 test -z "$as_dir" && as_dir=.
19979 for ac_exec_ext in '' $ac_executable_extensions; do
19980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19981 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19983 break 2
19984 fi
19985 done
19986 done
19987 IFS=$as_save_IFS
19988
19989 fi
19990 fi
19991 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19992 if test -n "$ac_ct_DLLTOOL"; then
19993 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19994 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19995 else
19996 { echo "$as_me:$LINENO: result: no" >&5
19997 echo "${ECHO_T}no" >&6; }
19998 fi
19999
20000 if test "x$ac_ct_DLLTOOL" = x; then
20001 DLLTOOL=""
20002 else
20003 case $cross_compiling:$ac_tool_warned in
20004 yes:)
20005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20006 whose name does not start with the host triplet. If you think this
20007 configuration is useful to you, please write to autoconf@gnu.org." >&5
20008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20009 whose name does not start with the host triplet. If you think this
20010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20011 ac_tool_warned=yes ;;
20012 esac
20013 DLLTOOL=$ac_ct_DLLTOOL
20014 fi
20015 else
20016 DLLTOOL="$ac_cv_prog_DLLTOOL"
20017 fi
20018
20019 ;;
20020 esac
20021 fi
20022
20023 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20024 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20025 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 else
20028
20029 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20030 $EGREP -s GNU > /dev/null); then
20031 wx_cv_prog_makeisgnu="yes"
20032 else
20033 wx_cv_prog_makeisgnu="no"
20034 fi
20035
20036 fi
20037 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20038 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20039
20040 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20041 IF_GNU_MAKE=""
20042 else
20043 IF_GNU_MAKE="#"
20044 fi
20045
20046
20047
20048 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20049 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20050 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20051 if test "${wx_cv_prog_makevpath+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054
20055 cat - << EOF > confMake
20056 check : file
20057 cp \$? \$@
20058 cp \$? final_file
20059 EOF
20060
20061 if test ! -d sub ; then
20062 mkdir sub
20063 fi
20064 echo dummy > sub/file
20065 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20066 RESULT=$?
20067 rm -f sub/file check final_file confMake
20068 rmdir sub
20069 if test "$RESULT" = 0; then
20070 wx_cv_prog_makevpath="yes"
20071 else
20072 wx_cv_prog_makevpath="no"
20073 fi
20074
20075 fi
20076 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20077 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20078
20079 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20080 { { echo "$as_me:$LINENO: error:
20081 You need a make-utility that is able to use the variable
20082 VPATH correctly.
20083 If your version of make does not support VPATH correctly,
20084 please install GNU-make (possibly as gmake), and start
20085 configure with the following command:
20086 export MAKE=gmake; ./configure for sh-type shells
20087 setenv MAKE gmake; ./configure for csh-type shells
20088 Also please do remember to use gmake in this case every time
20089 you are trying to compile.
20090 " >&5
20091 echo "$as_me: error:
20092 You need a make-utility that is able to use the variable
20093 VPATH correctly.
20094 If your version of make does not support VPATH correctly,
20095 please install GNU-make (possibly as gmake), and start
20096 configure with the following command:
20097 export MAKE=gmake; ./configure for sh-type shells
20098 setenv MAKE gmake; ./configure for csh-type shells
20099 Also please do remember to use gmake in this case every time
20100 you are trying to compile.
20101 " >&2;}
20102 { (exit 1); exit 1; }; }
20103 fi fi
20104 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20106 LN_S=$as_ln_s
20107 if test "$LN_S" = "ln -s"; then
20108 { echo "$as_me:$LINENO: result: yes" >&5
20109 echo "${ECHO_T}yes" >&6; }
20110 else
20111 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20112 echo "${ECHO_T}no, using $LN_S" >&6; }
20113 fi
20114
20115
20116
20117
20118 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20119 CXXFLAGS="-qunique $CXXFLAGS"
20120 fi
20121
20122 case "${host}" in
20123 powerpc-*-darwin* )
20124 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20125 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20126 cat >conftest.$ac_ext <<_ACEOF
20127 /* confdefs.h. */
20128 _ACEOF
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132
20133 int
20134 main ()
20135 {
20136 #ifndef __POWERPC__
20137 choke me for lack of PowerPC
20138 #endif
20139
20140 ;
20141 return 0;
20142 }
20143 _ACEOF
20144 rm -f conftest.$ac_objext
20145 if { (ac_try="$ac_compile"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20149 esac
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_compile") 2>conftest.er1
20152 ac_status=$?
20153 grep -v '^ *+' conftest.er1 >conftest.err
20154 rm -f conftest.er1
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && {
20158 test -z "$ac_c_werror_flag" ||
20159 test ! -s conftest.err
20160 } && test -s conftest.$ac_objext; then
20161 { echo "$as_me:$LINENO: result: yes" >&5
20162 echo "${ECHO_T}yes" >&6; }
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 { echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6; }
20169 cat >>confdefs.h <<\_ACEOF
20170 #define __POWERPC__ 1
20171 _ACEOF
20172
20173
20174 fi
20175
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 ;;
20178 esac
20179
20180 case "${host}" in
20181 *-*-darwin* )
20182 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20183 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20184 cat >conftest.$ac_ext <<_ACEOF
20185 /* confdefs.h. */
20186 _ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190 #include <CoreFoundation/CFBase.h>
20191
20192 int
20193 main ()
20194 {
20195
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 { echo "$as_me:$LINENO: result: yes" >&5
20218 echo "${ECHO_T}yes" >&6; }
20219 else
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20222
20223 { echo "$as_me:$LINENO: result: no" >&5
20224 echo "${ECHO_T}no" >&6; }
20225 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20226 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #define __CF_USE_FRAMEWORK_INCLUDES__
20234 #include <CoreFoundation/CFBase.h>
20235
20236 int
20237 main ()
20238 {
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (ac_try="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20249 esac
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20252 ac_status=$?
20253 grep -v '^ *+' conftest.er1 >conftest.err
20254 rm -f conftest.er1
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20261 { echo "$as_me:$LINENO: result: yes" >&5
20262 echo "${ECHO_T}yes" >&6; }
20263 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20267
20268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20269 See \`config.log' for more details." >&5
20270 echo "$as_me: error: no. CoreFoundation not available.
20271 See \`config.log' for more details." >&2;}
20272 { (exit 1); exit 1; }; }
20273
20274 fi
20275
20276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20277
20278
20279 fi
20280
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 ;;
20283 esac
20284
20285 wants_win32=0
20286 doesnt_want_win32=0
20287 case "${host}" in
20288 *-*-cygwin*)
20289 if test "$wxUSE_MSW" = 1 ; then
20290 wants_win32=1
20291 else
20292 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20293 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20294 if test "${wx_cv_nocygwin+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 else
20297
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304
20305 int
20306 main ()
20307 {
20308
20309 #ifdef __MINGW32__
20310 choke me
20311 #endif
20312
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20322 esac
20323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20325 ac_status=$?
20326 grep -v '^ *+' conftest.er1 >conftest.err
20327 rm -f conftest.er1
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.$ac_objext; then
20334 wx_cv_nocygwin=no
20335 else
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20338
20339 wx_cv_nocygwin=yes
20340
20341 fi
20342
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344
20345
20346 fi
20347 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20348 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20349
20350 if test "$wx_cv_nocygwin" = "yes"; then
20351 wants_win32=1
20352 else
20353 doesnt_want_win32=1
20354 fi
20355 fi
20356 if test "$wants_win32" = 1 ; then
20357 BAKEFILE_FORCE_PLATFORM=win32
20358 fi
20359 ;;
20360 *-*-mingw*)
20361 wants_win32=1
20362 ;;
20363 esac
20364
20365 if test "$wxUSE_WINE" = "yes"; then
20366 wants_win32=1
20367 LDFLAGS_GUI="-mwindows"
20368 fi
20369
20370 if test "$wants_win32" = 1 ; then
20371 USE_UNIX=0
20372 USE_WIN32=1
20373 cat >>confdefs.h <<\_ACEOF
20374 #define __WIN32__ 1
20375 _ACEOF
20376
20377 cat >>confdefs.h <<\_ACEOF
20378 #define __WIN95__ 1
20379 _ACEOF
20380
20381 cat >>confdefs.h <<\_ACEOF
20382 #define __WINDOWS__ 1
20383 _ACEOF
20384
20385 cat >>confdefs.h <<\_ACEOF
20386 #define __GNUWIN32__ 1
20387 _ACEOF
20388
20389 cat >>confdefs.h <<\_ACEOF
20390 #define STRICT 1
20391 _ACEOF
20392
20393 fi
20394 if test "$doesnt_want_win32" = 1 ; then
20395 USE_UNIX=1
20396 USE_WIN32=0
20397 fi
20398
20399 if test "$USE_UNIX" = 1 ; then
20400 wxUSE_UNIX=yes
20401 cat >>confdefs.h <<\_ACEOF
20402 #define __UNIX__ 1
20403 _ACEOF
20404
20405 fi
20406
20407 case "${host}" in
20408 *-pc-os2_emx | *-pc-os2-emx )
20409 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20410 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20411 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20412 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 else
20415 ac_check_lib_save_LIBS=$LIBS
20416 LIBS="-lcExt $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
20425 Use char because int might match the return type of a GCC
20426 builtin and then its argument prototype would still apply. */
20427 #ifdef __cplusplus
20428 extern "C"
20429 #endif
20430 char drand48 ();
20431 int
20432 main ()
20433 {
20434 return drand48 ();
20435 ;
20436 return 0;
20437 }
20438 _ACEOF
20439 rm -f conftest.$ac_objext conftest$ac_exeext
20440 if { (ac_try="$ac_link"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20444 esac
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_link") 2>conftest.er1
20447 ac_status=$?
20448 grep -v '^ *+' conftest.er1 >conftest.err
20449 rm -f conftest.er1
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } && {
20453 test -z "$ac_c_werror_flag" ||
20454 test ! -s conftest.err
20455 } && test -s conftest$ac_exeext &&
20456 $as_test_x conftest$ac_exeext; then
20457 ac_cv_lib_cExt_drand48=yes
20458 else
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ac_cv_lib_cExt_drand48=no
20463 fi
20464
20465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466 conftest$ac_exeext conftest.$ac_ext
20467 LIBS=$ac_check_lib_save_LIBS
20468 fi
20469 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20470 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20471 if test $ac_cv_lib_cExt_drand48 = yes; then
20472 LIBS="$LIBS -lcExt"
20473 fi
20474
20475 else
20476 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20477 fi
20478 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20479 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20480 if test "${wx_cv_gccversion+set}" = set; then
20481 echo $ECHO_N "(cached) $ECHO_C" >&6
20482 else
20483
20484 if test "$cross_compiling" = yes; then
20485 wx_cv_gccversion="EMX2"
20486
20487 else
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494
20495 #include <stdio.h>
20496
20497 int main()
20498 {
20499 FILE *f=fopen("conftestval", "w");
20500 if (!f) exit(1);
20501 fprintf(f,
20502 #if (__GNUC__ < 3)
20503 "EMX2"
20504 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20505 "EMX3"
20506 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20507 "Innotek5"
20508 #else
20509 "Innotek6"
20510 #endif
20511 );
20512 exit(0);
20513 }
20514
20515 _ACEOF
20516 rm -f conftest$ac_exeext
20517 if { (ac_try="$ac_link"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20521 esac
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_link") 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20527 { (case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20530 esac
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_try") 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 wx_cv_gccversion=`cat conftestval`
20537 else
20538 echo "$as_me: program exited with status $ac_status" >&5
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 ( exit $ac_status )
20543 wx_cv_gccversion="EMX2"
20544 fi
20545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20546 fi
20547
20548
20549
20550 fi
20551 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20552 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20553 if test "$wx_cv_gccversion" = "EMX2"; then
20554 LIBS="$LIBS -lstdcpp"
20555 LDFLAGS="$LDFLAGS -Zsysv-signals"
20556 else
20557 if test "$wx_cv_gccversion" = "EMX3"; then
20558 LIBS="$LIBS -lstdcxx -lgcc"
20559 LDFLAGS="$LDFLAGS -Zsysv-signals"
20560 else
20561 LIBS="$LIBS -lstdc++"
20562 fi
20563 fi
20564 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20565 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20566 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20567 wxUSE_OMF=yes
20568 enable_omf=yes
20569 fi
20570 ;;
20571 *)
20572
20573 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20574 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20575 if test "${ac_cv_string_strcasecmp+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 else
20578
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585
20586 #include <string.h>
20587
20588 int
20589 main ()
20590 {
20591
20592 strcasecmp("foo", "bar");
20593
20594 ;
20595 return 0;
20596 }
20597 _ACEOF
20598 rm -f conftest.$ac_objext conftest$ac_exeext
20599 if { (ac_try="$ac_link"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20603 esac
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_link") 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest$ac_exeext &&
20615 $as_test_x conftest$ac_exeext; then
20616 ac_cv_string_strcasecmp=yes
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20620
20621 ac_cv_string_strcasecmp=no
20622
20623 fi
20624
20625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20626 conftest$ac_exeext conftest.$ac_ext
20627
20628 fi
20629 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20630 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20631
20632 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20633 cat >>confdefs.h <<\_ACEOF
20634 #define HAVE_STRCASECMP_IN_STRING_H 1
20635 _ACEOF
20636
20637 else
20638 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20639 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20640 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 else
20643
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650
20651 #include <strings.h>
20652
20653 int
20654 main ()
20655 {
20656
20657 strcasecmp("foo", "bar");
20658
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 rm -f conftest.$ac_objext conftest$ac_exeext
20664 if { (ac_try="$ac_link"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_link") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest$ac_exeext &&
20680 $as_test_x conftest$ac_exeext; then
20681 ac_cv_strings_strcasecmp=yes
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 ac_cv_strings_strcasecmp=no
20687
20688 fi
20689
20690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20691 conftest$ac_exeext conftest.$ac_ext
20692
20693 fi
20694 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20695 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20696
20697 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20700 _ACEOF
20701
20702 else
20703 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20704 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20705 { (exit 1); exit 1; }; }
20706 fi
20707 fi
20708
20709 ;;
20710 esac
20711
20712
20713 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20714 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20715 if test "${ac_cv_header_stdc+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718 cat >conftest.$ac_ext <<_ACEOF
20719 /* confdefs.h. */
20720 _ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 #include <stdlib.h>
20725 #include <stdarg.h>
20726 #include <string.h>
20727 #include <float.h>
20728
20729 int
20730 main ()
20731 {
20732
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_cv_header_stdc=yes
20755 else
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20758
20759 ac_cv_header_stdc=no
20760 fi
20761
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763
20764 if test $ac_cv_header_stdc = yes; then
20765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 #include <string.h>
20773
20774 _ACEOF
20775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20776 $EGREP "memchr" >/dev/null 2>&1; then
20777 :
20778 else
20779 ac_cv_header_stdc=no
20780 fi
20781 rm -f conftest*
20782
20783 fi
20784
20785 if test $ac_cv_header_stdc = yes; then
20786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20787 cat >conftest.$ac_ext <<_ACEOF
20788 /* confdefs.h. */
20789 _ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 #include <stdlib.h>
20794
20795 _ACEOF
20796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20797 $EGREP "free" >/dev/null 2>&1; then
20798 :
20799 else
20800 ac_cv_header_stdc=no
20801 fi
20802 rm -f conftest*
20803
20804 fi
20805
20806 if test $ac_cv_header_stdc = yes; then
20807 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20808 if test "$cross_compiling" = yes; then
20809 :
20810 else
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 #include <ctype.h>
20818 #include <stdlib.h>
20819 #if ((' ' & 0x0FF) == 0x020)
20820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20822 #else
20823 # define ISLOWER(c) \
20824 (('a' <= (c) && (c) <= 'i') \
20825 || ('j' <= (c) && (c) <= 'r') \
20826 || ('s' <= (c) && (c) <= 'z'))
20827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20828 #endif
20829
20830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20831 int
20832 main ()
20833 {
20834 int i;
20835 for (i = 0; i < 256; i++)
20836 if (XOR (islower (i), ISLOWER (i))
20837 || toupper (i) != TOUPPER (i))
20838 return 2;
20839 return 0;
20840 }
20841 _ACEOF
20842 rm -f conftest$ac_exeext
20843 if { (ac_try="$ac_link"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20847 esac
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_link") 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20853 { (case "(($ac_try" in
20854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20855 *) ac_try_echo=$ac_try;;
20856 esac
20857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20858 (eval "$ac_try") 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; }; then
20862 :
20863 else
20864 echo "$as_me: program exited with status $ac_status" >&5
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20867
20868 ( exit $ac_status )
20869 ac_cv_header_stdc=no
20870 fi
20871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20872 fi
20873
20874
20875 fi
20876 fi
20877 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20878 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20879 if test $ac_cv_header_stdc = yes; then
20880
20881 cat >>confdefs.h <<\_ACEOF
20882 #define STDC_HEADERS 1
20883 _ACEOF
20884
20885 fi
20886
20887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20898 inttypes.h stdint.h unistd.h
20899 do
20900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20905 else
20906 cat >conftest.$ac_ext <<_ACEOF
20907 /* confdefs.h. */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20913
20914 #include <$ac_header>
20915 _ACEOF
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 eval "$as_ac_Header=yes"
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 eval "$as_ac_Header=no"
20939 fi
20940
20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20942 fi
20943 ac_res=`eval echo '${'$as_ac_Header'}'`
20944 { echo "$as_me:$LINENO: result: $ac_res" >&5
20945 echo "${ECHO_T}$ac_res" >&6; }
20946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20947 cat >>confdefs.h <<_ACEOF
20948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20949 _ACEOF
20950
20951 fi
20952
20953 done
20954
20955
20956
20957
20958
20959
20960
20961
20962 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20963 do
20964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20965 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20968 echo $ECHO_N "(cached) $ECHO_C" >&6
20969 else
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977
20978 #include <$ac_header>
20979 _ACEOF
20980 rm -f conftest.$ac_objext
20981 if { (ac_try="$ac_compile"
20982 case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20985 esac
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_compile") 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest.$ac_objext; then
20997 eval "$as_ac_Header=yes"
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002 eval "$as_ac_Header=no"
21003 fi
21004
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 fi
21007 ac_res=`eval echo '${'$as_ac_Header'}'`
21008 { echo "$as_me:$LINENO: result: $ac_res" >&5
21009 echo "${ECHO_T}$ac_res" >&6; }
21010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21011 cat >>confdefs.h <<_ACEOF
21012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21013 _ACEOF
21014
21015 fi
21016
21017 done
21018
21019
21020 if test "$ac_cv_header_wchar_h" != "yes"; then
21021
21022 for ac_header in wcstr.h
21023 do
21024 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 else
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 $ac_includes_default
21037
21038 #include <$ac_header>
21039 _ACEOF
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21045 esac
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21048 ac_status=$?
21049 grep -v '^ *+' conftest.er1 >conftest.err
21050 rm -f conftest.er1
21051 cat conftest.err >&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && {
21054 test -z "$ac_c_werror_flag" ||
21055 test ! -s conftest.err
21056 } && test -s conftest.$ac_objext; then
21057 eval "$as_ac_Header=yes"
21058 else
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 eval "$as_ac_Header=no"
21063 fi
21064
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 fi
21067 ac_res=`eval echo '${'$as_ac_Header'}'`
21068 { echo "$as_me:$LINENO: result: $ac_res" >&5
21069 echo "${ECHO_T}$ac_res" >&6; }
21070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21071 cat >>confdefs.h <<_ACEOF
21072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21073 _ACEOF
21074
21075 fi
21076
21077 done
21078
21079 fi
21080
21081 case "${host}" in
21082 *-pc-os2_emx | *-pc-os2-emx )
21083 if test $ac_cv_header_langinfo_h = "yes" \
21084 -a \( "$wx_cv_gccversion" = "EMX2" \
21085 -o "$wx_cv_gccversion" = "EMX3" \
21086 -o "$wx_cv_gccversion" = "Innotek5" \); then
21087 LIBS="$LIBS -lintl"
21088 fi
21089 ;;
21090 esac
21091
21092 if test "$USE_UNIX" = 1 ; then
21093
21094 for ac_header in sys/select.h
21095 do
21096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 else
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109
21110 #include <$ac_header>
21111 _ACEOF
21112 rm -f conftest.$ac_objext
21113 if { (ac_try="$ac_compile"
21114 case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21117 esac
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_compile") 2>conftest.er1
21120 ac_status=$?
21121 grep -v '^ *+' conftest.er1 >conftest.err
21122 rm -f conftest.er1
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } && {
21126 test -z "$ac_c_werror_flag" ||
21127 test ! -s conftest.err
21128 } && test -s conftest.$ac_objext; then
21129 eval "$as_ac_Header=yes"
21130 else
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134 eval "$as_ac_Header=no"
21135 fi
21136
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 fi
21139 ac_res=`eval echo '${'$as_ac_Header'}'`
21140 { echo "$as_me:$LINENO: result: $ac_res" >&5
21141 echo "${ECHO_T}$ac_res" >&6; }
21142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21145 _ACEOF
21146
21147 fi
21148
21149 done
21150
21151 fi
21152
21153
21154 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21155 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21156 if test "${ac_cv_c_const+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165
21166 int
21167 main ()
21168 {
21169 /* FIXME: Include the comments suggested by Paul. */
21170 #ifndef __cplusplus
21171 /* Ultrix mips cc rejects this. */
21172 typedef int charset[2];
21173 const charset cs;
21174 /* SunOS 4.1.1 cc rejects this. */
21175 char const *const *pcpcc;
21176 char **ppc;
21177 /* NEC SVR4.0.2 mips cc rejects this. */
21178 struct point {int x, y;};
21179 static struct point const zero = {0,0};
21180 /* AIX XL C 1.02.0.0 rejects this.
21181 It does not let you subtract one const X* pointer from another in
21182 an arm of an if-expression whose if-part is not a constant
21183 expression */
21184 const char *g = "string";
21185 pcpcc = &g + (g ? g-g : 0);
21186 /* HPUX 7.0 cc rejects these. */
21187 ++pcpcc;
21188 ppc = (char**) pcpcc;
21189 pcpcc = (char const *const *) ppc;
21190 { /* SCO 3.2v4 cc rejects this. */
21191 char *t;
21192 char const *s = 0 ? (char *) 0 : (char const *) 0;
21193
21194 *t++ = 0;
21195 if (s) return 0;
21196 }
21197 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21198 int x[] = {25, 17};
21199 const int *foo = &x[0];
21200 ++foo;
21201 }
21202 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21203 typedef const int *iptr;
21204 iptr p = 0;
21205 ++p;
21206 }
21207 { /* AIX XL C 1.02.0.0 rejects this saying
21208 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21209 struct s { int j; const int *ap[3]; };
21210 struct s *b; b->j = 5;
21211 }
21212 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21213 const int foo = 10;
21214 if (!foo) return 0;
21215 }
21216 return !cs[0] && !zero.x;
21217 #endif
21218
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21228 esac
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21231 ac_status=$?
21232 grep -v '^ *+' conftest.er1 >conftest.err
21233 rm -f conftest.er1
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.$ac_objext; then
21240 ac_cv_c_const=yes
21241 else
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 ac_cv_c_const=no
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 fi
21250 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21251 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21252 if test $ac_cv_c_const = no; then
21253
21254 cat >>confdefs.h <<\_ACEOF
21255 #define const
21256 _ACEOF
21257
21258 fi
21259
21260 { echo "$as_me:$LINENO: checking for inline" >&5
21261 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21262 if test "${ac_cv_c_inline+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 else
21265 ac_cv_c_inline=no
21266 for ac_kw in inline __inline__ __inline; do
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #ifndef __cplusplus
21274 typedef int foo_t;
21275 static $ac_kw foo_t static_foo () {return 0; }
21276 $ac_kw foo_t foo () {return 0; }
21277 #endif
21278
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_cv_c_inline=$ac_kw
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302
21303 fi
21304
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 test "$ac_cv_c_inline" != no && break
21307 done
21308
21309 fi
21310 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21311 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21312
21313
21314 case $ac_cv_c_inline in
21315 inline | yes) ;;
21316 *)
21317 case $ac_cv_c_inline in
21318 no) ac_val=;;
21319 *) ac_val=$ac_cv_c_inline;;
21320 esac
21321 cat >>confdefs.h <<_ACEOF
21322 #ifndef __cplusplus
21323 #define inline $ac_val
21324 #endif
21325 _ACEOF
21326 ;;
21327 esac
21328
21329
21330 { echo "$as_me:$LINENO: checking for short" >&5
21331 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21332 if test "${ac_cv_type_short+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 else
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 typedef short ac__type_new_;
21343 int
21344 main ()
21345 {
21346 if ((ac__type_new_ *) 0)
21347 return 0;
21348 if (sizeof (ac__type_new_))
21349 return 0;
21350 ;
21351 return 0;
21352 }
21353 _ACEOF
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21359 esac
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.$ac_objext; then
21371 ac_cv_type_short=yes
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ac_cv_type_short=no
21377 fi
21378
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 fi
21381 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21382 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21383
21384 # The cast to long int works around a bug in the HP C Compiler
21385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21387 # This bug is HP SR number 8606223364.
21388 { echo "$as_me:$LINENO: checking size of short" >&5
21389 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21390 if test "${ac_cv_sizeof_short+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21392 else
21393 if test "$cross_compiling" = yes; then
21394 # Depending upon the size, compute the lo and hi bounds.
21395 cat >conftest.$ac_ext <<_ACEOF
21396 /* confdefs.h. */
21397 _ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 typedef short ac__type_sizeof_;
21403 int
21404 main ()
21405 {
21406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21407 test_array [0] = 0
21408
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 rm -f conftest.$ac_objext
21414 if { (ac_try="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21418 esac
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21421 ac_status=$?
21422 grep -v '^ *+' conftest.er1 >conftest.err
21423 rm -f conftest.er1
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest.$ac_objext; then
21430 ac_lo=0 ac_mid=0
21431 while :; do
21432 cat >conftest.$ac_ext <<_ACEOF
21433 /* confdefs.h. */
21434 _ACEOF
21435 cat confdefs.h >>conftest.$ac_ext
21436 cat >>conftest.$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21439 typedef short ac__type_sizeof_;
21440 int
21441 main ()
21442 {
21443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21444 test_array [0] = 0
21445
21446 ;
21447 return 0;
21448 }
21449 _ACEOF
21450 rm -f conftest.$ac_objext
21451 if { (ac_try="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21455 esac
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21458 ac_status=$?
21459 grep -v '^ *+' conftest.er1 >conftest.err
21460 rm -f conftest.er1
21461 cat conftest.err >&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.$ac_objext; then
21467 ac_hi=$ac_mid; break
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 ac_lo=`expr $ac_mid + 1`
21473 if test $ac_lo -le $ac_mid; then
21474 ac_lo= ac_hi=
21475 break
21476 fi
21477 ac_mid=`expr 2 '*' $ac_mid + 1`
21478 fi
21479
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 done
21482 else
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21485
21486 cat >conftest.$ac_ext <<_ACEOF
21487 /* confdefs.h. */
21488 _ACEOF
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 $ac_includes_default
21493 typedef short ac__type_sizeof_;
21494 int
21495 main ()
21496 {
21497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21498 test_array [0] = 0
21499
21500 ;
21501 return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest.$ac_objext
21505 if { (ac_try="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21509 esac
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_compile") 2>conftest.er1
21512 ac_status=$?
21513 grep -v '^ *+' conftest.er1 >conftest.err
21514 rm -f conftest.er1
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && {
21518 test -z "$ac_c_werror_flag" ||
21519 test ! -s conftest.err
21520 } && test -s conftest.$ac_objext; then
21521 ac_hi=-1 ac_mid=-1
21522 while :; do
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h. */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21530 typedef short ac__type_sizeof_;
21531 int
21532 main ()
21533 {
21534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21535 test_array [0] = 0
21536
21537 ;
21538 return 0;
21539 }
21540 _ACEOF
21541 rm -f conftest.$ac_objext
21542 if { (ac_try="$ac_compile"
21543 case "(($ac_try" in
21544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21545 *) ac_try_echo=$ac_try;;
21546 esac
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_compile") 2>conftest.er1
21549 ac_status=$?
21550 grep -v '^ *+' conftest.er1 >conftest.err
21551 rm -f conftest.er1
21552 cat conftest.err >&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } && {
21555 test -z "$ac_c_werror_flag" ||
21556 test ! -s conftest.err
21557 } && test -s conftest.$ac_objext; then
21558 ac_lo=$ac_mid; break
21559 else
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 ac_hi=`expr '(' $ac_mid ')' - 1`
21564 if test $ac_mid -le $ac_hi; then
21565 ac_lo= ac_hi=
21566 break
21567 fi
21568 ac_mid=`expr 2 '*' $ac_mid`
21569 fi
21570
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21572 done
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21576
21577 ac_lo= ac_hi=
21578 fi
21579
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581 fi
21582
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 # Binary search between lo and hi bounds.
21585 while test "x$ac_lo" != "x$ac_hi"; do
21586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21594 typedef short ac__type_sizeof_;
21595 int
21596 main ()
21597 {
21598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21599 test_array [0] = 0
21600
21601 ;
21602 return 0;
21603 }
21604 _ACEOF
21605 rm -f conftest.$ac_objext
21606 if { (ac_try="$ac_compile"
21607 case "(($ac_try" in
21608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21609 *) ac_try_echo=$ac_try;;
21610 esac
21611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21612 (eval "$ac_compile") 2>conftest.er1
21613 ac_status=$?
21614 grep -v '^ *+' conftest.er1 >conftest.err
21615 rm -f conftest.er1
21616 cat conftest.err >&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); } && {
21619 test -z "$ac_c_werror_flag" ||
21620 test ! -s conftest.err
21621 } && test -s conftest.$ac_objext; then
21622 ac_hi=$ac_mid
21623 else
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21626
21627 ac_lo=`expr '(' $ac_mid ')' + 1`
21628 fi
21629
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 done
21632 case $ac_lo in
21633 ?*) ac_cv_sizeof_short=$ac_lo;;
21634 '') if test "$ac_cv_type_short" = yes; then
21635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21636 See \`config.log' for more details." >&5
21637 echo "$as_me: error: cannot compute sizeof (short)
21638 See \`config.log' for more details." >&2;}
21639 { (exit 77); exit 77; }; }
21640 else
21641 ac_cv_sizeof_short=0
21642 fi ;;
21643 esac
21644 else
21645 cat >conftest.$ac_ext <<_ACEOF
21646 /* confdefs.h. */
21647 _ACEOF
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21651 $ac_includes_default
21652 typedef short ac__type_sizeof_;
21653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21655 #include <stdio.h>
21656 #include <stdlib.h>
21657 int
21658 main ()
21659 {
21660
21661 FILE *f = fopen ("conftest.val", "w");
21662 if (! f)
21663 return 1;
21664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21665 {
21666 long int i = longval ();
21667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21668 return 1;
21669 fprintf (f, "%ld\n", i);
21670 }
21671 else
21672 {
21673 unsigned long int i = ulongval ();
21674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21675 return 1;
21676 fprintf (f, "%lu\n", i);
21677 }
21678 return ferror (f) || fclose (f) != 0;
21679
21680 ;
21681 return 0;
21682 }
21683 _ACEOF
21684 rm -f conftest$ac_exeext
21685 if { (ac_try="$ac_link"
21686 case "(($ac_try" in
21687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21688 *) ac_try_echo=$ac_try;;
21689 esac
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_link") 2>&5
21692 ac_status=$?
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_sizeof_short=`cat conftest.val`
21705 else
21706 echo "$as_me: program exited with status $ac_status" >&5
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21709
21710 ( exit $ac_status )
21711 if test "$ac_cv_type_short" = yes; then
21712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21713 See \`config.log' for more details." >&5
21714 echo "$as_me: error: cannot compute sizeof (short)
21715 See \`config.log' for more details." >&2;}
21716 { (exit 77); exit 77; }; }
21717 else
21718 ac_cv_sizeof_short=0
21719 fi
21720 fi
21721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21722 fi
21723 rm -f conftest.val
21724 fi
21725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21726 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21727
21728
21729
21730 cat >>confdefs.h <<_ACEOF
21731 #define SIZEOF_SHORT $ac_cv_sizeof_short
21732 _ACEOF
21733
21734
21735 { echo "$as_me:$LINENO: checking for void *" >&5
21736 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21737 if test "${ac_cv_type_void_p+set}" = set; then
21738 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 else
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 typedef void * ac__type_new_;
21748 int
21749 main ()
21750 {
21751 if ((ac__type_new_ *) 0)
21752 return 0;
21753 if (sizeof (ac__type_new_))
21754 return 0;
21755 ;
21756 return 0;
21757 }
21758 _ACEOF
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_cv_type_void_p=yes
21777 else
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ac_cv_type_void_p=no
21782 fi
21783
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 fi
21786 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21787 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21788
21789 # The cast to long int works around a bug in the HP C Compiler
21790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21792 # This bug is HP SR number 8606223364.
21793 { echo "$as_me:$LINENO: checking size of void *" >&5
21794 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21795 if test "${ac_cv_sizeof_void_p+set}" = set; then
21796 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 else
21798 if test "$cross_compiling" = yes; then
21799 # Depending upon the size, compute the lo and hi bounds.
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef void * ac__type_sizeof_;
21808 int
21809 main ()
21810 {
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21812 test_array [0] = 0
21813
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (ac_try="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21823 esac
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21835 ac_lo=0 ac_mid=0
21836 while :; do
21837 cat >conftest.$ac_ext <<_ACEOF
21838 /* confdefs.h. */
21839 _ACEOF
21840 cat confdefs.h >>conftest.$ac_ext
21841 cat >>conftest.$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 $ac_includes_default
21844 typedef void * ac__type_sizeof_;
21845 int
21846 main ()
21847 {
21848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21849 test_array [0] = 0
21850
21851 ;
21852 return 0;
21853 }
21854 _ACEOF
21855 rm -f conftest.$ac_objext
21856 if { (ac_try="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21860 esac
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21863 ac_status=$?
21864 grep -v '^ *+' conftest.er1 >conftest.err
21865 rm -f conftest.er1
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21872 ac_hi=$ac_mid; break
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 ac_lo=`expr $ac_mid + 1`
21878 if test $ac_lo -le $ac_mid; then
21879 ac_lo= ac_hi=
21880 break
21881 fi
21882 ac_mid=`expr 2 '*' $ac_mid + 1`
21883 fi
21884
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 done
21887 else
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21890
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 $ac_includes_default
21898 typedef void * ac__type_sizeof_;
21899 int
21900 main ()
21901 {
21902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21903 test_array [0] = 0
21904
21905 ;
21906 return 0;
21907 }
21908 _ACEOF
21909 rm -f conftest.$ac_objext
21910 if { (ac_try="$ac_compile"
21911 case "(($ac_try" in
21912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913 *) ac_try_echo=$ac_try;;
21914 esac
21915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916 (eval "$ac_compile") 2>conftest.er1
21917 ac_status=$?
21918 grep -v '^ *+' conftest.er1 >conftest.err
21919 rm -f conftest.er1
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } && {
21923 test -z "$ac_c_werror_flag" ||
21924 test ! -s conftest.err
21925 } && test -s conftest.$ac_objext; then
21926 ac_hi=-1 ac_mid=-1
21927 while :; do
21928 cat >conftest.$ac_ext <<_ACEOF
21929 /* confdefs.h. */
21930 _ACEOF
21931 cat confdefs.h >>conftest.$ac_ext
21932 cat >>conftest.$ac_ext <<_ACEOF
21933 /* end confdefs.h. */
21934 $ac_includes_default
21935 typedef void * ac__type_sizeof_;
21936 int
21937 main ()
21938 {
21939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21940 test_array [0] = 0
21941
21942 ;
21943 return 0;
21944 }
21945 _ACEOF
21946 rm -f conftest.$ac_objext
21947 if { (ac_try="$ac_compile"
21948 case "(($ac_try" in
21949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21950 *) ac_try_echo=$ac_try;;
21951 esac
21952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21953 (eval "$ac_compile") 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } && {
21960 test -z "$ac_c_werror_flag" ||
21961 test ! -s conftest.err
21962 } && test -s conftest.$ac_objext; then
21963 ac_lo=$ac_mid; break
21964 else
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ac_hi=`expr '(' $ac_mid ')' - 1`
21969 if test $ac_mid -le $ac_hi; then
21970 ac_lo= ac_hi=
21971 break
21972 fi
21973 ac_mid=`expr 2 '*' $ac_mid`
21974 fi
21975
21976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977 done
21978 else
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21981
21982 ac_lo= ac_hi=
21983 fi
21984
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21986 fi
21987
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 # Binary search between lo and hi bounds.
21990 while test "x$ac_lo" != "x$ac_hi"; do
21991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21992 cat >conftest.$ac_ext <<_ACEOF
21993 /* confdefs.h. */
21994 _ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 $ac_includes_default
21999 typedef void * ac__type_sizeof_;
22000 int
22001 main ()
22002 {
22003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22004 test_array [0] = 0
22005
22006 ;
22007 return 0;
22008 }
22009 _ACEOF
22010 rm -f conftest.$ac_objext
22011 if { (ac_try="$ac_compile"
22012 case "(($ac_try" in
22013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22014 *) ac_try_echo=$ac_try;;
22015 esac
22016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22017 (eval "$ac_compile") 2>conftest.er1
22018 ac_status=$?
22019 grep -v '^ *+' conftest.er1 >conftest.err
22020 rm -f conftest.er1
22021 cat conftest.err >&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } && {
22024 test -z "$ac_c_werror_flag" ||
22025 test ! -s conftest.err
22026 } && test -s conftest.$ac_objext; then
22027 ac_hi=$ac_mid
22028 else
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22031
22032 ac_lo=`expr '(' $ac_mid ')' + 1`
22033 fi
22034
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 done
22037 case $ac_lo in
22038 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22039 '') if test "$ac_cv_type_void_p" = yes; then
22040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22041 See \`config.log' for more details." >&5
22042 echo "$as_me: error: cannot compute sizeof (void *)
22043 See \`config.log' for more details." >&2;}
22044 { (exit 77); exit 77; }; }
22045 else
22046 ac_cv_sizeof_void_p=0
22047 fi ;;
22048 esac
22049 else
22050 cat >conftest.$ac_ext <<_ACEOF
22051 /* confdefs.h. */
22052 _ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef void * ac__type_sizeof_;
22058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22060 #include <stdio.h>
22061 #include <stdlib.h>
22062 int
22063 main ()
22064 {
22065
22066 FILE *f = fopen ("conftest.val", "w");
22067 if (! f)
22068 return 1;
22069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22070 {
22071 long int i = longval ();
22072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22073 return 1;
22074 fprintf (f, "%ld\n", i);
22075 }
22076 else
22077 {
22078 unsigned long int i = ulongval ();
22079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22080 return 1;
22081 fprintf (f, "%lu\n", i);
22082 }
22083 return ferror (f) || fclose (f) != 0;
22084
22085 ;
22086 return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest$ac_exeext
22090 if { (ac_try="$ac_link"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093 *) ac_try_echo=$ac_try;;
22094 esac
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_link") 2>&5
22097 ac_status=$?
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_sizeof_void_p=`cat conftest.val`
22110 else
22111 echo "$as_me: program exited with status $ac_status" >&5
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22114
22115 ( exit $ac_status )
22116 if test "$ac_cv_type_void_p" = yes; then
22117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22118 See \`config.log' for more details." >&5
22119 echo "$as_me: error: cannot compute sizeof (void *)
22120 See \`config.log' for more details." >&2;}
22121 { (exit 77); exit 77; }; }
22122 else
22123 ac_cv_sizeof_void_p=0
22124 fi
22125 fi
22126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22127 fi
22128 rm -f conftest.val
22129 fi
22130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22131 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22132
22133
22134
22135 cat >>confdefs.h <<_ACEOF
22136 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22137 _ACEOF
22138
22139
22140 { echo "$as_me:$LINENO: checking for int" >&5
22141 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22142 if test "${ac_cv_type_int+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22144 else
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 typedef int ac__type_new_;
22153 int
22154 main ()
22155 {
22156 if ((ac__type_new_ *) 0)
22157 return 0;
22158 if (sizeof (ac__type_new_))
22159 return 0;
22160 ;
22161 return 0;
22162 }
22163 _ACEOF
22164 rm -f conftest.$ac_objext
22165 if { (ac_try="$ac_compile"
22166 case "(($ac_try" in
22167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22168 *) ac_try_echo=$ac_try;;
22169 esac
22170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22171 (eval "$ac_compile") 2>conftest.er1
22172 ac_status=$?
22173 grep -v '^ *+' conftest.er1 >conftest.err
22174 rm -f conftest.er1
22175 cat conftest.err >&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); } && {
22178 test -z "$ac_c_werror_flag" ||
22179 test ! -s conftest.err
22180 } && test -s conftest.$ac_objext; then
22181 ac_cv_type_int=yes
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 ac_cv_type_int=no
22187 fi
22188
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 fi
22191 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22192 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22193
22194 # The cast to long int works around a bug in the HP C Compiler
22195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22197 # This bug is HP SR number 8606223364.
22198 { echo "$as_me:$LINENO: checking size of int" >&5
22199 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22200 if test "${ac_cv_sizeof_int+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 else
22203 if test "$cross_compiling" = yes; then
22204 # Depending upon the size, compute the lo and hi bounds.
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef int ac__type_sizeof_;
22213 int
22214 main ()
22215 {
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22217 test_array [0] = 0
22218
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22228 esac
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_lo=0 ac_mid=0
22241 while :; do
22242 cat >conftest.$ac_ext <<_ACEOF
22243 /* confdefs.h. */
22244 _ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef int ac__type_sizeof_;
22250 int
22251 main ()
22252 {
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22254 test_array [0] = 0
22255
22256 ;
22257 return 0;
22258 }
22259 _ACEOF
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22265 esac
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22277 ac_hi=$ac_mid; break
22278 else
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22281
22282 ac_lo=`expr $ac_mid + 1`
22283 if test $ac_lo -le $ac_mid; then
22284 ac_lo= ac_hi=
22285 break
22286 fi
22287 ac_mid=`expr 2 '*' $ac_mid + 1`
22288 fi
22289
22290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22291 done
22292 else
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22295
22296 cat >conftest.$ac_ext <<_ACEOF
22297 /* confdefs.h. */
22298 _ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22303 typedef int ac__type_sizeof_;
22304 int
22305 main ()
22306 {
22307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22308 test_array [0] = 0
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest.$ac_objext
22315 if { (ac_try="$ac_compile"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22319 esac
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22322 ac_status=$?
22323 grep -v '^ *+' conftest.er1 >conftest.err
22324 rm -f conftest.er1
22325 cat conftest.err >&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.$ac_objext; then
22331 ac_hi=-1 ac_mid=-1
22332 while :; do
22333 cat >conftest.$ac_ext <<_ACEOF
22334 /* confdefs.h. */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef int ac__type_sizeof_;
22341 int
22342 main ()
22343 {
22344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22345 test_array [0] = 0
22346
22347 ;
22348 return 0;
22349 }
22350 _ACEOF
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22356 esac
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22359 ac_status=$?
22360 grep -v '^ *+' conftest.er1 >conftest.err
22361 rm -f conftest.er1
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22368 ac_lo=$ac_mid; break
22369 else
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22372
22373 ac_hi=`expr '(' $ac_mid ')' - 1`
22374 if test $ac_mid -le $ac_hi; then
22375 ac_lo= ac_hi=
22376 break
22377 fi
22378 ac_mid=`expr 2 '*' $ac_mid`
22379 fi
22380
22381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382 done
22383 else
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.$ac_ext >&5
22386
22387 ac_lo= ac_hi=
22388 fi
22389
22390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391 fi
22392
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 # Binary search between lo and hi bounds.
22395 while test "x$ac_lo" != "x$ac_hi"; do
22396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22397 cat >conftest.$ac_ext <<_ACEOF
22398 /* confdefs.h. */
22399 _ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 $ac_includes_default
22404 typedef int ac__type_sizeof_;
22405 int
22406 main ()
22407 {
22408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22409 test_array [0] = 0
22410
22411 ;
22412 return 0;
22413 }
22414 _ACEOF
22415 rm -f conftest.$ac_objext
22416 if { (ac_try="$ac_compile"
22417 case "(($ac_try" in
22418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419 *) ac_try_echo=$ac_try;;
22420 esac
22421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422 (eval "$ac_compile") 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } && {
22429 test -z "$ac_c_werror_flag" ||
22430 test ! -s conftest.err
22431 } && test -s conftest.$ac_objext; then
22432 ac_hi=$ac_mid
22433 else
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22436
22437 ac_lo=`expr '(' $ac_mid ')' + 1`
22438 fi
22439
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 done
22442 case $ac_lo in
22443 ?*) ac_cv_sizeof_int=$ac_lo;;
22444 '') if test "$ac_cv_type_int" = yes; then
22445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22446 See \`config.log' for more details." >&5
22447 echo "$as_me: error: cannot compute sizeof (int)
22448 See \`config.log' for more details." >&2;}
22449 { (exit 77); exit 77; }; }
22450 else
22451 ac_cv_sizeof_int=0
22452 fi ;;
22453 esac
22454 else
22455 cat >conftest.$ac_ext <<_ACEOF
22456 /* confdefs.h. */
22457 _ACEOF
22458 cat confdefs.h >>conftest.$ac_ext
22459 cat >>conftest.$ac_ext <<_ACEOF
22460 /* end confdefs.h. */
22461 $ac_includes_default
22462 typedef int ac__type_sizeof_;
22463 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22464 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22465 #include <stdio.h>
22466 #include <stdlib.h>
22467 int
22468 main ()
22469 {
22470
22471 FILE *f = fopen ("conftest.val", "w");
22472 if (! f)
22473 return 1;
22474 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22475 {
22476 long int i = longval ();
22477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22478 return 1;
22479 fprintf (f, "%ld\n", i);
22480 }
22481 else
22482 {
22483 unsigned long int i = ulongval ();
22484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22485 return 1;
22486 fprintf (f, "%lu\n", i);
22487 }
22488 return ferror (f) || fclose (f) != 0;
22489
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 rm -f conftest$ac_exeext
22495 if { (ac_try="$ac_link"
22496 case "(($ac_try" in
22497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22498 *) ac_try_echo=$ac_try;;
22499 esac
22500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22501 (eval "$ac_link") 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22511 ac_status=$?
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; }; then
22514 ac_cv_sizeof_int=`cat conftest.val`
22515 else
22516 echo "$as_me: program exited with status $ac_status" >&5
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.$ac_ext >&5
22519
22520 ( exit $ac_status )
22521 if test "$ac_cv_type_int" = yes; then
22522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22523 See \`config.log' for more details." >&5
22524 echo "$as_me: error: cannot compute sizeof (int)
22525 See \`config.log' for more details." >&2;}
22526 { (exit 77); exit 77; }; }
22527 else
22528 ac_cv_sizeof_int=0
22529 fi
22530 fi
22531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22532 fi
22533 rm -f conftest.val
22534 fi
22535 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22536 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22537
22538
22539
22540 cat >>confdefs.h <<_ACEOF
22541 #define SIZEOF_INT $ac_cv_sizeof_int
22542 _ACEOF
22543
22544
22545 { echo "$as_me:$LINENO: checking for long" >&5
22546 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22547 if test "${ac_cv_type_long+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 else
22550 cat >conftest.$ac_ext <<_ACEOF
22551 /* confdefs.h. */
22552 _ACEOF
22553 cat confdefs.h >>conftest.$ac_ext
22554 cat >>conftest.$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556 $ac_includes_default
22557 typedef long ac__type_new_;
22558 int
22559 main ()
22560 {
22561 if ((ac__type_new_ *) 0)
22562 return 0;
22563 if (sizeof (ac__type_new_))
22564 return 0;
22565 ;
22566 return 0;
22567 }
22568 _ACEOF
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22574 esac
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } && {
22583 test -z "$ac_c_werror_flag" ||
22584 test ! -s conftest.err
22585 } && test -s conftest.$ac_objext; then
22586 ac_cv_type_long=yes
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ac_cv_type_long=no
22592 fi
22593
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 fi
22596 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22597 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22598
22599 # The cast to long int works around a bug in the HP C Compiler
22600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22602 # This bug is HP SR number 8606223364.
22603 { echo "$as_me:$LINENO: checking size of long" >&5
22604 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22605 if test "${ac_cv_sizeof_long+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608 if test "$cross_compiling" = yes; then
22609 # Depending upon the size, compute the lo and hi bounds.
22610 cat >conftest.$ac_ext <<_ACEOF
22611 /* confdefs.h. */
22612 _ACEOF
22613 cat confdefs.h >>conftest.$ac_ext
22614 cat >>conftest.$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22616 $ac_includes_default
22617 typedef long ac__type_sizeof_;
22618 int
22619 main ()
22620 {
22621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22622 test_array [0] = 0
22623
22624 ;
22625 return 0;
22626 }
22627 _ACEOF
22628 rm -f conftest.$ac_objext
22629 if { (ac_try="$ac_compile"
22630 case "(($ac_try" in
22631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22632 *) ac_try_echo=$ac_try;;
22633 esac
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_compile") 2>conftest.er1
22636 ac_status=$?
22637 grep -v '^ *+' conftest.er1 >conftest.err
22638 rm -f conftest.er1
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } && {
22642 test -z "$ac_c_werror_flag" ||
22643 test ! -s conftest.err
22644 } && test -s conftest.$ac_objext; then
22645 ac_lo=0 ac_mid=0
22646 while :; do
22647 cat >conftest.$ac_ext <<_ACEOF
22648 /* confdefs.h. */
22649 _ACEOF
22650 cat confdefs.h >>conftest.$ac_ext
22651 cat >>conftest.$ac_ext <<_ACEOF
22652 /* end confdefs.h. */
22653 $ac_includes_default
22654 typedef long ac__type_sizeof_;
22655 int
22656 main ()
22657 {
22658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22659 test_array [0] = 0
22660
22661 ;
22662 return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (ac_try="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22670 esac
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22673 ac_status=$?
22674 grep -v '^ *+' conftest.er1 >conftest.err
22675 rm -f conftest.er1
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22682 ac_hi=$ac_mid; break
22683 else
22684 echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.$ac_ext >&5
22686
22687 ac_lo=`expr $ac_mid + 1`
22688 if test $ac_lo -le $ac_mid; then
22689 ac_lo= ac_hi=
22690 break
22691 fi
22692 ac_mid=`expr 2 '*' $ac_mid + 1`
22693 fi
22694
22695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22696 done
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 cat >conftest.$ac_ext <<_ACEOF
22702 /* confdefs.h. */
22703 _ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 $ac_includes_default
22708 typedef long ac__type_sizeof_;
22709 int
22710 main ()
22711 {
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22713 test_array [0] = 0
22714
22715 ;
22716 return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;;
22724 esac
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22727 ac_status=$?
22728 grep -v '^ *+' conftest.er1 >conftest.err
22729 rm -f conftest.er1
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.$ac_objext; then
22736 ac_hi=-1 ac_mid=-1
22737 while :; do
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long ac__type_sizeof_;
22746 int
22747 main ()
22748 {
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22750 test_array [0] = 0
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22761 esac
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_lo=$ac_mid; break
22774 else
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 ac_hi=`expr '(' $ac_mid ')' - 1`
22779 if test $ac_mid -le $ac_hi; then
22780 ac_lo= ac_hi=
22781 break
22782 fi
22783 ac_mid=`expr 2 '*' $ac_mid`
22784 fi
22785
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 done
22788 else
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22791
22792 ac_lo= ac_hi=
22793 fi
22794
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 fi
22797
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 # Binary search between lo and hi bounds.
22800 while test "x$ac_lo" != "x$ac_hi"; do
22801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22802 cat >conftest.$ac_ext <<_ACEOF
22803 /* confdefs.h. */
22804 _ACEOF
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22808 $ac_includes_default
22809 typedef long ac__type_sizeof_;
22810 int
22811 main ()
22812 {
22813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22814 test_array [0] = 0
22815
22816 ;
22817 return 0;
22818 }
22819 _ACEOF
22820 rm -f conftest.$ac_objext
22821 if { (ac_try="$ac_compile"
22822 case "(($ac_try" in
22823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22824 *) ac_try_echo=$ac_try;;
22825 esac
22826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22827 (eval "$ac_compile") 2>conftest.er1
22828 ac_status=$?
22829 grep -v '^ *+' conftest.er1 >conftest.err
22830 rm -f conftest.er1
22831 cat conftest.err >&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } && {
22834 test -z "$ac_c_werror_flag" ||
22835 test ! -s conftest.err
22836 } && test -s conftest.$ac_objext; then
22837 ac_hi=$ac_mid
22838 else
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22841
22842 ac_lo=`expr '(' $ac_mid ')' + 1`
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 done
22847 case $ac_lo in
22848 ?*) ac_cv_sizeof_long=$ac_lo;;
22849 '') if test "$ac_cv_type_long" = yes; then
22850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22851 See \`config.log' for more details." >&5
22852 echo "$as_me: error: cannot compute sizeof (long)
22853 See \`config.log' for more details." >&2;}
22854 { (exit 77); exit 77; }; }
22855 else
22856 ac_cv_sizeof_long=0
22857 fi ;;
22858 esac
22859 else
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 $ac_includes_default
22867 typedef long ac__type_sizeof_;
22868 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22869 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22870 #include <stdio.h>
22871 #include <stdlib.h>
22872 int
22873 main ()
22874 {
22875
22876 FILE *f = fopen ("conftest.val", "w");
22877 if (! f)
22878 return 1;
22879 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22880 {
22881 long int i = longval ();
22882 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22883 return 1;
22884 fprintf (f, "%ld\n", i);
22885 }
22886 else
22887 {
22888 unsigned long int i = ulongval ();
22889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22890 return 1;
22891 fprintf (f, "%lu\n", i);
22892 }
22893 return ferror (f) || fclose (f) != 0;
22894
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest$ac_exeext
22900 if { (ac_try="$ac_link"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22904 esac
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_link") 2>&5
22907 ac_status=$?
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22916 ac_status=$?
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); }; }; then
22919 ac_cv_sizeof_long=`cat conftest.val`
22920 else
22921 echo "$as_me: program exited with status $ac_status" >&5
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925 ( exit $ac_status )
22926 if test "$ac_cv_type_long" = yes; then
22927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22928 See \`config.log' for more details." >&5
22929 echo "$as_me: error: cannot compute sizeof (long)
22930 See \`config.log' for more details." >&2;}
22931 { (exit 77); exit 77; }; }
22932 else
22933 ac_cv_sizeof_long=0
22934 fi
22935 fi
22936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22937 fi
22938 rm -f conftest.val
22939 fi
22940 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22941 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22942
22943
22944
22945 cat >>confdefs.h <<_ACEOF
22946 #define SIZEOF_LONG $ac_cv_sizeof_long
22947 _ACEOF
22948
22949
22950 { echo "$as_me:$LINENO: checking for size_t" >&5
22951 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22952 if test "${ac_cv_type_size_t+set}" = set; then
22953 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 else
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 $ac_includes_default
22962 typedef size_t ac__type_new_;
22963 int
22964 main ()
22965 {
22966 if ((ac__type_new_ *) 0)
22967 return 0;
22968 if (sizeof (ac__type_new_))
22969 return 0;
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext
22975 if { (ac_try="$ac_compile"
22976 case "(($ac_try" in
22977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22978 *) ac_try_echo=$ac_try;;
22979 esac
22980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22981 (eval "$ac_compile") 2>conftest.er1
22982 ac_status=$?
22983 grep -v '^ *+' conftest.er1 >conftest.err
22984 rm -f conftest.er1
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } && {
22988 test -z "$ac_c_werror_flag" ||
22989 test ! -s conftest.err
22990 } && test -s conftest.$ac_objext; then
22991 ac_cv_type_size_t=yes
22992 else
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22995
22996 ac_cv_type_size_t=no
22997 fi
22998
22999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000 fi
23001 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23002 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23003
23004 # The cast to long int works around a bug in the HP C Compiler
23005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23007 # This bug is HP SR number 8606223364.
23008 { echo "$as_me:$LINENO: checking size of size_t" >&5
23009 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23010 if test "${ac_cv_sizeof_size_t+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013 if test "$cross_compiling" = yes; then
23014 # Depending upon the size, compute the lo and hi bounds.
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 typedef size_t ac__type_sizeof_;
23023 int
23024 main ()
23025 {
23026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23027 test_array [0] = 0
23028
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 ac_lo=0 ac_mid=0
23051 while :; do
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 typedef size_t ac__type_sizeof_;
23060 int
23061 main ()
23062 {
23063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23064 test_array [0] = 0
23065
23066 ;
23067 return 0;
23068 }
23069 _ACEOF
23070 rm -f conftest.$ac_objext
23071 if { (ac_try="$ac_compile"
23072 case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23075 esac
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_compile") 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } && {
23084 test -z "$ac_c_werror_flag" ||
23085 test ! -s conftest.err
23086 } && test -s conftest.$ac_objext; then
23087 ac_hi=$ac_mid; break
23088 else
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23091
23092 ac_lo=`expr $ac_mid + 1`
23093 if test $ac_lo -le $ac_mid; then
23094 ac_lo= ac_hi=
23095 break
23096 fi
23097 ac_mid=`expr 2 '*' $ac_mid + 1`
23098 fi
23099
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 done
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23105
23106 cat >conftest.$ac_ext <<_ACEOF
23107 /* confdefs.h. */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef size_t ac__type_sizeof_;
23114 int
23115 main ()
23116 {
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23118 test_array [0] = 0
23119
23120 ;
23121 return 0;
23122 }
23123 _ACEOF
23124 rm -f conftest.$ac_objext
23125 if { (ac_try="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23128 *) ac_try_echo=$ac_try;;
23129 esac
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23132 ac_status=$?
23133 grep -v '^ *+' conftest.er1 >conftest.err
23134 rm -f conftest.er1
23135 cat conftest.err >&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.$ac_objext; then
23141 ac_hi=-1 ac_mid=-1
23142 while :; do
23143 cat >conftest.$ac_ext <<_ACEOF
23144 /* confdefs.h. */
23145 _ACEOF
23146 cat confdefs.h >>conftest.$ac_ext
23147 cat >>conftest.$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23149 $ac_includes_default
23150 typedef size_t ac__type_sizeof_;
23151 int
23152 main ()
23153 {
23154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23155 test_array [0] = 0
23156
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (ac_try="$ac_compile"
23163 case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23166 esac
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_compile") 2>conftest.er1
23169 ac_status=$?
23170 grep -v '^ *+' conftest.er1 >conftest.err
23171 rm -f conftest.er1
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest.$ac_objext; then
23178 ac_lo=$ac_mid; break
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 ac_hi=`expr '(' $ac_mid ')' - 1`
23184 if test $ac_mid -le $ac_hi; then
23185 ac_lo= ac_hi=
23186 break
23187 fi
23188 ac_mid=`expr 2 '*' $ac_mid`
23189 fi
23190
23191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23192 done
23193 else
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23196
23197 ac_lo= ac_hi=
23198 fi
23199
23200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23201 fi
23202
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 # Binary search between lo and hi bounds.
23205 while test "x$ac_lo" != "x$ac_hi"; do
23206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23207 cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 $ac_includes_default
23214 typedef size_t ac__type_sizeof_;
23215 int
23216 main ()
23217 {
23218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23219 test_array [0] = 0
23220
23221 ;
23222 return 0;
23223 }
23224 _ACEOF
23225 rm -f conftest.$ac_objext
23226 if { (ac_try="$ac_compile"
23227 case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23230 esac
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_compile") 2>conftest.er1
23233 ac_status=$?
23234 grep -v '^ *+' conftest.er1 >conftest.err
23235 rm -f conftest.er1
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } && {
23239 test -z "$ac_c_werror_flag" ||
23240 test ! -s conftest.err
23241 } && test -s conftest.$ac_objext; then
23242 ac_hi=$ac_mid
23243 else
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23246
23247 ac_lo=`expr '(' $ac_mid ')' + 1`
23248 fi
23249
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 done
23252 case $ac_lo in
23253 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23254 '') if test "$ac_cv_type_size_t" = yes; then
23255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23256 See \`config.log' for more details." >&5
23257 echo "$as_me: error: cannot compute sizeof (size_t)
23258 See \`config.log' for more details." >&2;}
23259 { (exit 77); exit 77; }; }
23260 else
23261 ac_cv_sizeof_size_t=0
23262 fi ;;
23263 esac
23264 else
23265 cat >conftest.$ac_ext <<_ACEOF
23266 /* confdefs.h. */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 $ac_includes_default
23272 typedef size_t ac__type_sizeof_;
23273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23275 #include <stdio.h>
23276 #include <stdlib.h>
23277 int
23278 main ()
23279 {
23280
23281 FILE *f = fopen ("conftest.val", "w");
23282 if (! f)
23283 return 1;
23284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23285 {
23286 long int i = longval ();
23287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23288 return 1;
23289 fprintf (f, "%ld\n", i);
23290 }
23291 else
23292 {
23293 unsigned long int i = ulongval ();
23294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23295 return 1;
23296 fprintf (f, "%lu\n", i);
23297 }
23298 return ferror (f) || fclose (f) != 0;
23299
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest$ac_exeext
23305 if { (ac_try="$ac_link"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23309 esac
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_link") 2>&5
23312 ac_status=$?
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23315 { (case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23318 esac
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_try") 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; }; then
23324 ac_cv_sizeof_size_t=`cat conftest.val`
23325 else
23326 echo "$as_me: program exited with status $ac_status" >&5
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23329
23330 ( exit $ac_status )
23331 if test "$ac_cv_type_size_t" = yes; then
23332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23333 See \`config.log' for more details." >&5
23334 echo "$as_me: error: cannot compute sizeof (size_t)
23335 See \`config.log' for more details." >&2;}
23336 { (exit 77); exit 77; }; }
23337 else
23338 ac_cv_sizeof_size_t=0
23339 fi
23340 fi
23341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23342 fi
23343 rm -f conftest.val
23344 fi
23345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23346 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23347
23348
23349
23350 cat >>confdefs.h <<_ACEOF
23351 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23352 _ACEOF
23353
23354
23355
23356 case "${host}" in
23357 arm-*-linux* )
23358 { echo "$as_me:$LINENO: checking for long long" >&5
23359 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23360 if test "${ac_cv_type_long_long+set}" = set; then
23361 echo $ECHO_N "(cached) $ECHO_C" >&6
23362 else
23363 cat >conftest.$ac_ext <<_ACEOF
23364 /* confdefs.h. */
23365 _ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23369 $ac_includes_default
23370 typedef long long ac__type_new_;
23371 int
23372 main ()
23373 {
23374 if ((ac__type_new_ *) 0)
23375 return 0;
23376 if (sizeof (ac__type_new_))
23377 return 0;
23378 ;
23379 return 0;
23380 }
23381 _ACEOF
23382 rm -f conftest.$ac_objext
23383 if { (ac_try="$ac_compile"
23384 case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23386 *) ac_try_echo=$ac_try;;
23387 esac
23388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23389 (eval "$ac_compile") 2>conftest.er1
23390 ac_status=$?
23391 grep -v '^ *+' conftest.er1 >conftest.err
23392 rm -f conftest.er1
23393 cat conftest.err >&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); } && {
23396 test -z "$ac_c_werror_flag" ||
23397 test ! -s conftest.err
23398 } && test -s conftest.$ac_objext; then
23399 ac_cv_type_long_long=yes
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23403
23404 ac_cv_type_long_long=no
23405 fi
23406
23407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23408 fi
23409 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23410 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23411
23412 # The cast to long int works around a bug in the HP C Compiler
23413 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23415 # This bug is HP SR number 8606223364.
23416 { echo "$as_me:$LINENO: checking size of long long" >&5
23417 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23418 if test "${ac_cv_sizeof_long_long+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 else
23421 if test "$cross_compiling" = yes; then
23422 # Depending upon the size, compute the lo and hi bounds.
23423 cat >conftest.$ac_ext <<_ACEOF
23424 /* confdefs.h. */
23425 _ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23429 $ac_includes_default
23430 typedef long long ac__type_sizeof_;
23431 int
23432 main ()
23433 {
23434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23435 test_array [0] = 0
23436
23437 ;
23438 return 0;
23439 }
23440 _ACEOF
23441 rm -f conftest.$ac_objext
23442 if { (ac_try="$ac_compile"
23443 case "(($ac_try" in
23444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23445 *) ac_try_echo=$ac_try;;
23446 esac
23447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23448 (eval "$ac_compile") 2>conftest.er1
23449 ac_status=$?
23450 grep -v '^ *+' conftest.er1 >conftest.err
23451 rm -f conftest.er1
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } && {
23455 test -z "$ac_c_werror_flag" ||
23456 test ! -s conftest.err
23457 } && test -s conftest.$ac_objext; then
23458 ac_lo=0 ac_mid=0
23459 while :; do
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 $ac_includes_default
23467 typedef long long ac__type_sizeof_;
23468 int
23469 main ()
23470 {
23471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23472 test_array [0] = 0
23473
23474 ;
23475 return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext
23479 if { (ac_try="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23483 esac
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_c_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23495 ac_hi=$ac_mid; break
23496 else
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23499
23500 ac_lo=`expr $ac_mid + 1`
23501 if test $ac_lo -le $ac_mid; then
23502 ac_lo= ac_hi=
23503 break
23504 fi
23505 ac_mid=`expr 2 '*' $ac_mid + 1`
23506 fi
23507
23508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23509 done
23510 else
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23522 int
23523 main ()
23524 {
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23526 test_array [0] = 0
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23537 esac
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23540 ac_status=$?
23541 grep -v '^ *+' conftest.er1 >conftest.err
23542 rm -f conftest.er1
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=-1 ac_mid=-1
23550 while :; do
23551 cat >conftest.$ac_ext <<_ACEOF
23552 /* confdefs.h. */
23553 _ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 $ac_includes_default
23558 typedef long long ac__type_sizeof_;
23559 int
23560 main ()
23561 {
23562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23563 test_array [0] = 0
23564
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23574 esac
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23577 ac_status=$?
23578 grep -v '^ *+' conftest.er1 >conftest.err
23579 rm -f conftest.er1
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_c_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23586 ac_lo=$ac_mid; break
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 ac_hi=`expr '(' $ac_mid ')' - 1`
23592 if test $ac_mid -le $ac_hi; then
23593 ac_lo= ac_hi=
23594 break
23595 fi
23596 ac_mid=`expr 2 '*' $ac_mid`
23597 fi
23598
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600 done
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 ac_lo= ac_hi=
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 fi
23610
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 # Binary search between lo and hi bounds.
23613 while test "x$ac_lo" != "x$ac_hi"; do
23614 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23615 cat >conftest.$ac_ext <<_ACEOF
23616 /* confdefs.h. */
23617 _ACEOF
23618 cat confdefs.h >>conftest.$ac_ext
23619 cat >>conftest.$ac_ext <<_ACEOF
23620 /* end confdefs.h. */
23621 $ac_includes_default
23622 typedef long long ac__type_sizeof_;
23623 int
23624 main ()
23625 {
23626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23627 test_array [0] = 0
23628
23629 ;
23630 return 0;
23631 }
23632 _ACEOF
23633 rm -f conftest.$ac_objext
23634 if { (ac_try="$ac_compile"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23638 esac
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_compile") 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest.$ac_objext; then
23650 ac_hi=$ac_mid
23651 else
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.$ac_ext >&5
23654
23655 ac_lo=`expr '(' $ac_mid ')' + 1`
23656 fi
23657
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 done
23660 case $ac_lo in
23661 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23662 '') if test "$ac_cv_type_long_long" = yes; then
23663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23664 See \`config.log' for more details." >&5
23665 echo "$as_me: error: cannot compute sizeof (long long)
23666 See \`config.log' for more details." >&2;}
23667 { (exit 77); exit 77; }; }
23668 else
23669 ac_cv_sizeof_long_long=0
23670 fi ;;
23671 esac
23672 else
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 $ac_includes_default
23680 typedef long long ac__type_sizeof_;
23681 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23682 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23683 #include <stdio.h>
23684 #include <stdlib.h>
23685 int
23686 main ()
23687 {
23688
23689 FILE *f = fopen ("conftest.val", "w");
23690 if (! f)
23691 return 1;
23692 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23693 {
23694 long int i = longval ();
23695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23696 return 1;
23697 fprintf (f, "%ld\n", i);
23698 }
23699 else
23700 {
23701 unsigned long int i = ulongval ();
23702 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23703 return 1;
23704 fprintf (f, "%lu\n", i);
23705 }
23706 return ferror (f) || fclose (f) != 0;
23707
23708 ;
23709 return 0;
23710 }
23711 _ACEOF
23712 rm -f conftest$ac_exeext
23713 if { (ac_try="$ac_link"
23714 case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23717 esac
23718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_link") 2>&5
23720 ac_status=$?
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23723 { (case "(($ac_try" in
23724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23725 *) ac_try_echo=$ac_try;;
23726 esac
23727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23728 (eval "$ac_try") 2>&5
23729 ac_status=$?
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; }; then
23732 ac_cv_sizeof_long_long=`cat conftest.val`
23733 else
23734 echo "$as_me: program exited with status $ac_status" >&5
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23737
23738 ( exit $ac_status )
23739 if test "$ac_cv_type_long_long" = yes; then
23740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23741 See \`config.log' for more details." >&5
23742 echo "$as_me: error: cannot compute sizeof (long long)
23743 See \`config.log' for more details." >&2;}
23744 { (exit 77); exit 77; }; }
23745 else
23746 ac_cv_sizeof_long_long=0
23747 fi
23748 fi
23749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23750 fi
23751 rm -f conftest.val
23752 fi
23753 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23754 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23755
23756
23757
23758 cat >>confdefs.h <<_ACEOF
23759 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23760 _ACEOF
23761
23762
23763 ;;
23764 *-hp-hpux* )
23765 { echo "$as_me:$LINENO: checking for long long" >&5
23766 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23767 if test "${ac_cv_type_long_long+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h. */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 $ac_includes_default
23777 typedef long long ac__type_new_;
23778 int
23779 main ()
23780 {
23781 if ((ac__type_new_ *) 0)
23782 return 0;
23783 if (sizeof (ac__type_new_))
23784 return 0;
23785 ;
23786 return 0;
23787 }
23788 _ACEOF
23789 rm -f conftest.$ac_objext
23790 if { (ac_try="$ac_compile"
23791 case "(($ac_try" in
23792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23793 *) ac_try_echo=$ac_try;;
23794 esac
23795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796 (eval "$ac_compile") 2>conftest.er1
23797 ac_status=$?
23798 grep -v '^ *+' conftest.er1 >conftest.err
23799 rm -f conftest.er1
23800 cat conftest.err >&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } && {
23803 test -z "$ac_c_werror_flag" ||
23804 test ! -s conftest.err
23805 } && test -s conftest.$ac_objext; then
23806 ac_cv_type_long_long=yes
23807 else
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23810
23811 ac_cv_type_long_long=no
23812 fi
23813
23814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23815 fi
23816 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23817 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23818
23819 # The cast to long int works around a bug in the HP C Compiler
23820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23822 # This bug is HP SR number 8606223364.
23823 { echo "$as_me:$LINENO: checking size of long long" >&5
23824 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23825 if test "${ac_cv_sizeof_long_long+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 else
23828 if test "$cross_compiling" = yes; then
23829 # Depending upon the size, compute the lo and hi bounds.
23830 cat >conftest.$ac_ext <<_ACEOF
23831 /* confdefs.h. */
23832 _ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23836 $ac_includes_default
23837 typedef long long ac__type_sizeof_;
23838 int
23839 main ()
23840 {
23841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23842 test_array [0] = 0
23843
23844 ;
23845 return 0;
23846 }
23847 _ACEOF
23848 rm -f conftest.$ac_objext
23849 if { (ac_try="$ac_compile"
23850 case "(($ac_try" in
23851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23852 *) ac_try_echo=$ac_try;;
23853 esac
23854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23855 (eval "$ac_compile") 2>conftest.er1
23856 ac_status=$?
23857 grep -v '^ *+' conftest.er1 >conftest.err
23858 rm -f conftest.er1
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } && {
23862 test -z "$ac_c_werror_flag" ||
23863 test ! -s conftest.err
23864 } && test -s conftest.$ac_objext; then
23865 ac_lo=0 ac_mid=0
23866 while :; do
23867 cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h. */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 $ac_includes_default
23874 typedef long long ac__type_sizeof_;
23875 int
23876 main ()
23877 {
23878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23879 test_array [0] = 0
23880
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 rm -f conftest.$ac_objext
23886 if { (ac_try="$ac_compile"
23887 case "(($ac_try" in
23888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889 *) ac_try_echo=$ac_try;;
23890 esac
23891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892 (eval "$ac_compile") 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } && {
23899 test -z "$ac_c_werror_flag" ||
23900 test ! -s conftest.err
23901 } && test -s conftest.$ac_objext; then
23902 ac_hi=$ac_mid; break
23903 else
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23906
23907 ac_lo=`expr $ac_mid + 1`
23908 if test $ac_lo -le $ac_mid; then
23909 ac_lo= ac_hi=
23910 break
23911 fi
23912 ac_mid=`expr 2 '*' $ac_mid + 1`
23913 fi
23914
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 done
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 cat >conftest.$ac_ext <<_ACEOF
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 $ac_includes_default
23928 typedef long long ac__type_sizeof_;
23929 int
23930 main ()
23931 {
23932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23933 test_array [0] = 0
23934
23935 ;
23936 return 0;
23937 }
23938 _ACEOF
23939 rm -f conftest.$ac_objext
23940 if { (ac_try="$ac_compile"
23941 case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23943 *) ac_try_echo=$ac_try;;
23944 esac
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_compile") 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } && {
23953 test -z "$ac_c_werror_flag" ||
23954 test ! -s conftest.err
23955 } && test -s conftest.$ac_objext; then
23956 ac_hi=-1 ac_mid=-1
23957 while :; do
23958 cat >conftest.$ac_ext <<_ACEOF
23959 /* confdefs.h. */
23960 _ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 $ac_includes_default
23965 typedef long long ac__type_sizeof_;
23966 int
23967 main ()
23968 {
23969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23970 test_array [0] = 0
23971
23972 ;
23973 return 0;
23974 }
23975 _ACEOF
23976 rm -f conftest.$ac_objext
23977 if { (ac_try="$ac_compile"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23981 esac
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_compile") 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_c_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest.$ac_objext; then
23993 ac_lo=$ac_mid; break
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23997
23998 ac_hi=`expr '(' $ac_mid ')' - 1`
23999 if test $ac_mid -le $ac_hi; then
24000 ac_lo= ac_hi=
24001 break
24002 fi
24003 ac_mid=`expr 2 '*' $ac_mid`
24004 fi
24005
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007 done
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 ac_lo= ac_hi=
24013 fi
24014
24015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016 fi
24017
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019 # Binary search between lo and hi bounds.
24020 while test "x$ac_lo" != "x$ac_hi"; do
24021 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 $ac_includes_default
24029 typedef long long ac__type_sizeof_;
24030 int
24031 main ()
24032 {
24033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24034 test_array [0] = 0
24035
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24045 esac
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_hi=$ac_mid
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_lo=`expr '(' $ac_mid ')' + 1`
24063 fi
24064
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 done
24067 case $ac_lo in
24068 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24069 '') if test "$ac_cv_type_long_long" = yes; then
24070 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24071 See \`config.log' for more details." >&5
24072 echo "$as_me: error: cannot compute sizeof (long long)
24073 See \`config.log' for more details." >&2;}
24074 { (exit 77); exit 77; }; }
24075 else
24076 ac_cv_sizeof_long_long=0
24077 fi ;;
24078 esac
24079 else
24080 cat >conftest.$ac_ext <<_ACEOF
24081 /* confdefs.h. */
24082 _ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 $ac_includes_default
24087 typedef long long ac__type_sizeof_;
24088 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24089 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24090 #include <stdio.h>
24091 #include <stdlib.h>
24092 int
24093 main ()
24094 {
24095
24096 FILE *f = fopen ("conftest.val", "w");
24097 if (! f)
24098 return 1;
24099 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24100 {
24101 long int i = longval ();
24102 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24103 return 1;
24104 fprintf (f, "%ld\n", i);
24105 }
24106 else
24107 {
24108 unsigned long int i = ulongval ();
24109 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24110 return 1;
24111 fprintf (f, "%lu\n", i);
24112 }
24113 return ferror (f) || fclose (f) != 0;
24114
24115 ;
24116 return 0;
24117 }
24118 _ACEOF
24119 rm -f conftest$ac_exeext
24120 if { (ac_try="$ac_link"
24121 case "(($ac_try" in
24122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24123 *) ac_try_echo=$ac_try;;
24124 esac
24125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24126 (eval "$ac_link") 2>&5
24127 ac_status=$?
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24130 { (case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;;
24133 esac
24134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24135 (eval "$ac_try") 2>&5
24136 ac_status=$?
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; }; then
24139 ac_cv_sizeof_long_long=`cat conftest.val`
24140 else
24141 echo "$as_me: program exited with status $ac_status" >&5
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 ( exit $ac_status )
24146 if test "$ac_cv_type_long_long" = yes; then
24147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24148 See \`config.log' for more details." >&5
24149 echo "$as_me: error: cannot compute sizeof (long long)
24150 See \`config.log' for more details." >&2;}
24151 { (exit 77); exit 77; }; }
24152 else
24153 ac_cv_sizeof_long_long=0
24154 fi
24155 fi
24156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24157 fi
24158 rm -f conftest.val
24159 fi
24160 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24161 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24162
24163
24164
24165 cat >>confdefs.h <<_ACEOF
24166 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24167 _ACEOF
24168
24169
24170 if test "$ac_cv_sizeof_long_long" != "0"; then
24171 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24172 fi
24173 ;;
24174 * )
24175 { echo "$as_me:$LINENO: checking for long long" >&5
24176 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24177 if test "${ac_cv_type_long_long+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24179 else
24180 cat >conftest.$ac_ext <<_ACEOF
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186 $ac_includes_default
24187 typedef long long ac__type_new_;
24188 int
24189 main ()
24190 {
24191 if ((ac__type_new_ *) 0)
24192 return 0;
24193 if (sizeof (ac__type_new_))
24194 return 0;
24195 ;
24196 return 0;
24197 }
24198 _ACEOF
24199 rm -f conftest.$ac_objext
24200 if { (ac_try="$ac_compile"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24204 esac
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_compile") 2>conftest.er1
24207 ac_status=$?
24208 grep -v '^ *+' conftest.er1 >conftest.err
24209 rm -f conftest.er1
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_c_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest.$ac_objext; then
24216 ac_cv_type_long_long=yes
24217 else
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.$ac_ext >&5
24220
24221 ac_cv_type_long_long=no
24222 fi
24223
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225 fi
24226 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24227 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24228
24229 # The cast to long int works around a bug in the HP C Compiler
24230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24232 # This bug is HP SR number 8606223364.
24233 { echo "$as_me:$LINENO: checking size of long long" >&5
24234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24235 if test "${ac_cv_sizeof_long_long+set}" = set; then
24236 echo $ECHO_N "(cached) $ECHO_C" >&6
24237 else
24238 if test "$cross_compiling" = yes; then
24239 # Depending upon the size, compute the lo and hi bounds.
24240 cat >conftest.$ac_ext <<_ACEOF
24241 /* confdefs.h. */
24242 _ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 $ac_includes_default
24247 typedef long long ac__type_sizeof_;
24248 int
24249 main ()
24250 {
24251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24252 test_array [0] = 0
24253
24254 ;
24255 return 0;
24256 }
24257 _ACEOF
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24266 ac_status=$?
24267 grep -v '^ *+' conftest.er1 >conftest.err
24268 rm -f conftest.er1
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_c_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24275 ac_lo=0 ac_mid=0
24276 while :; do
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 $ac_includes_default
24284 typedef long long ac__type_sizeof_;
24285 int
24286 main ()
24287 {
24288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24289 test_array [0] = 0
24290
24291 ;
24292 return 0;
24293 }
24294 _ACEOF
24295 rm -f conftest.$ac_objext
24296 if { (ac_try="$ac_compile"
24297 case "(($ac_try" in
24298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24299 *) ac_try_echo=$ac_try;;
24300 esac
24301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24302 (eval "$ac_compile") 2>conftest.er1
24303 ac_status=$?
24304 grep -v '^ *+' conftest.er1 >conftest.err
24305 rm -f conftest.er1
24306 cat conftest.err >&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } && {
24309 test -z "$ac_c_werror_flag" ||
24310 test ! -s conftest.err
24311 } && test -s conftest.$ac_objext; then
24312 ac_hi=$ac_mid; break
24313 else
24314 echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.$ac_ext >&5
24316
24317 ac_lo=`expr $ac_mid + 1`
24318 if test $ac_lo -le $ac_mid; then
24319 ac_lo= ac_hi=
24320 break
24321 fi
24322 ac_mid=`expr 2 '*' $ac_mid + 1`
24323 fi
24324
24325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24326 done
24327 else
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 $ac_includes_default
24338 typedef long long ac__type_sizeof_;
24339 int
24340 main ()
24341 {
24342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24343 test_array [0] = 0
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 ac_hi=-1 ac_mid=-1
24367 while :; do
24368 cat >conftest.$ac_ext <<_ACEOF
24369 /* confdefs.h. */
24370 _ACEOF
24371 cat confdefs.h >>conftest.$ac_ext
24372 cat >>conftest.$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24374 $ac_includes_default
24375 typedef long long ac__type_sizeof_;
24376 int
24377 main ()
24378 {
24379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24380 test_array [0] = 0
24381
24382 ;
24383 return 0;
24384 }
24385 _ACEOF
24386 rm -f conftest.$ac_objext
24387 if { (ac_try="$ac_compile"
24388 case "(($ac_try" in
24389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24390 *) ac_try_echo=$ac_try;;
24391 esac
24392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24393 (eval "$ac_compile") 2>conftest.er1
24394 ac_status=$?
24395 grep -v '^ *+' conftest.er1 >conftest.err
24396 rm -f conftest.er1
24397 cat conftest.err >&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } && {
24400 test -z "$ac_c_werror_flag" ||
24401 test ! -s conftest.err
24402 } && test -s conftest.$ac_objext; then
24403 ac_lo=$ac_mid; break
24404 else
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.$ac_ext >&5
24407
24408 ac_hi=`expr '(' $ac_mid ')' - 1`
24409 if test $ac_mid -le $ac_hi; then
24410 ac_lo= ac_hi=
24411 break
24412 fi
24413 ac_mid=`expr 2 '*' $ac_mid`
24414 fi
24415
24416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24417 done
24418 else
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24421
24422 ac_lo= ac_hi=
24423 fi
24424
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426 fi
24427
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 # Binary search between lo and hi bounds.
24430 while test "x$ac_lo" != "x$ac_hi"; do
24431 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24432 cat >conftest.$ac_ext <<_ACEOF
24433 /* confdefs.h. */
24434 _ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 $ac_includes_default
24439 typedef long long ac__type_sizeof_;
24440 int
24441 main ()
24442 {
24443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24444 test_array [0] = 0
24445
24446 ;
24447 return 0;
24448 }
24449 _ACEOF
24450 rm -f conftest.$ac_objext
24451 if { (ac_try="$ac_compile"
24452 case "(($ac_try" in
24453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454 *) ac_try_echo=$ac_try;;
24455 esac
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_compile") 2>conftest.er1
24458 ac_status=$?
24459 grep -v '^ *+' conftest.er1 >conftest.err
24460 rm -f conftest.er1
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && {
24464 test -z "$ac_c_werror_flag" ||
24465 test ! -s conftest.err
24466 } && test -s conftest.$ac_objext; then
24467 ac_hi=$ac_mid
24468 else
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.$ac_ext >&5
24471
24472 ac_lo=`expr '(' $ac_mid ')' + 1`
24473 fi
24474
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 done
24477 case $ac_lo in
24478 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24479 '') if test "$ac_cv_type_long_long" = yes; then
24480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24481 See \`config.log' for more details." >&5
24482 echo "$as_me: error: cannot compute sizeof (long long)
24483 See \`config.log' for more details." >&2;}
24484 { (exit 77); exit 77; }; }
24485 else
24486 ac_cv_sizeof_long_long=0
24487 fi ;;
24488 esac
24489 else
24490 cat >conftest.$ac_ext <<_ACEOF
24491 /* confdefs.h. */
24492 _ACEOF
24493 cat confdefs.h >>conftest.$ac_ext
24494 cat >>conftest.$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24496 $ac_includes_default
24497 typedef long long ac__type_sizeof_;
24498 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24499 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24500 #include <stdio.h>
24501 #include <stdlib.h>
24502 int
24503 main ()
24504 {
24505
24506 FILE *f = fopen ("conftest.val", "w");
24507 if (! f)
24508 return 1;
24509 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24510 {
24511 long int i = longval ();
24512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24513 return 1;
24514 fprintf (f, "%ld\n", i);
24515 }
24516 else
24517 {
24518 unsigned long int i = ulongval ();
24519 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24520 return 1;
24521 fprintf (f, "%lu\n", i);
24522 }
24523 return ferror (f) || fclose (f) != 0;
24524
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest$ac_exeext
24530 if { (ac_try="$ac_link"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_link") 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24540 { (case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24543 esac
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_try") 2>&5
24546 ac_status=$?
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 ac_cv_sizeof_long_long=`cat conftest.val`
24550 else
24551 echo "$as_me: program exited with status $ac_status" >&5
24552 echo "$as_me: failed program was:" >&5
24553 sed 's/^/| /' conftest.$ac_ext >&5
24554
24555 ( exit $ac_status )
24556 if test "$ac_cv_type_long_long" = yes; then
24557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24558 See \`config.log' for more details." >&5
24559 echo "$as_me: error: cannot compute sizeof (long long)
24560 See \`config.log' for more details." >&2;}
24561 { (exit 77); exit 77; }; }
24562 else
24563 ac_cv_sizeof_long_long=0
24564 fi
24565 fi
24566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24567 fi
24568 rm -f conftest.val
24569 fi
24570 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24571 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24572
24573
24574
24575 cat >>confdefs.h <<_ACEOF
24576 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24577 _ACEOF
24578
24579
24580 esac
24581
24582 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24583 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24584 if test "${ac_cv_type_wchar_t+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 else
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24593
24594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24596 # error "fake wchar_t"
24597 #endif
24598 #ifdef HAVE_WCHAR_H
24599 # ifdef __CYGWIN__
24600 # include <stddef.h>
24601 # endif
24602 # include <wchar.h>
24603 #endif
24604 #ifdef HAVE_STDLIB_H
24605 # include <stdlib.h>
24606 #endif
24607 #include <stdio.h>
24608
24609
24610
24611 typedef wchar_t ac__type_new_;
24612 int
24613 main ()
24614 {
24615 if ((ac__type_new_ *) 0)
24616 return 0;
24617 if (sizeof (ac__type_new_))
24618 return 0;
24619 ;
24620 return 0;
24621 }
24622 _ACEOF
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24628 esac
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_c_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest.$ac_objext; then
24640 ac_cv_type_wchar_t=yes
24641 else
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24644
24645 ac_cv_type_wchar_t=no
24646 fi
24647
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24649 fi
24650 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24651 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24652
24653 # The cast to long int works around a bug in the HP C Compiler
24654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24656 # This bug is HP SR number 8606223364.
24657 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24658 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24659 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 if test "$cross_compiling" = yes; then
24663 # Depending upon the size, compute the lo and hi bounds.
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670
24671 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24672 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24673 # error "fake wchar_t"
24674 #endif
24675 #ifdef HAVE_WCHAR_H
24676 # ifdef __CYGWIN__
24677 # include <stddef.h>
24678 # endif
24679 # include <wchar.h>
24680 #endif
24681 #ifdef HAVE_STDLIB_H
24682 # include <stdlib.h>
24683 #endif
24684 #include <stdio.h>
24685
24686
24687
24688 typedef wchar_t ac__type_sizeof_;
24689 int
24690 main ()
24691 {
24692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24693 test_array [0] = 0
24694
24695 ;
24696 return 0;
24697 }
24698 _ACEOF
24699 rm -f conftest.$ac_objext
24700 if { (ac_try="$ac_compile"
24701 case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703 *) ac_try_echo=$ac_try;;
24704 esac
24705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_compile") 2>conftest.er1
24707 ac_status=$?
24708 grep -v '^ *+' conftest.er1 >conftest.err
24709 rm -f conftest.er1
24710 cat conftest.err >&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } && {
24713 test -z "$ac_c_werror_flag" ||
24714 test ! -s conftest.err
24715 } && test -s conftest.$ac_objext; then
24716 ac_lo=0 ac_mid=0
24717 while :; do
24718 cat >conftest.$ac_ext <<_ACEOF
24719 /* confdefs.h. */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724
24725 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24726 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24727 # error "fake wchar_t"
24728 #endif
24729 #ifdef HAVE_WCHAR_H
24730 # ifdef __CYGWIN__
24731 # include <stddef.h>
24732 # endif
24733 # include <wchar.h>
24734 #endif
24735 #ifdef HAVE_STDLIB_H
24736 # include <stdlib.h>
24737 #endif
24738 #include <stdio.h>
24739
24740
24741
24742 typedef wchar_t ac__type_sizeof_;
24743 int
24744 main ()
24745 {
24746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24747 test_array [0] = 0
24748
24749 ;
24750 return 0;
24751 }
24752 _ACEOF
24753 rm -f conftest.$ac_objext
24754 if { (ac_try="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24758 esac
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24761 ac_status=$?
24762 grep -v '^ *+' conftest.er1 >conftest.err
24763 rm -f conftest.er1
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24770 ac_hi=$ac_mid; break
24771 else
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 ac_lo=`expr $ac_mid + 1`
24776 if test $ac_lo -le $ac_mid; then
24777 ac_lo= ac_hi=
24778 break
24779 fi
24780 ac_mid=`expr 2 '*' $ac_mid + 1`
24781 fi
24782
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 done
24785 else
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24788
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h. */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795
24796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24798 # error "fake wchar_t"
24799 #endif
24800 #ifdef HAVE_WCHAR_H
24801 # ifdef __CYGWIN__
24802 # include <stddef.h>
24803 # endif
24804 # include <wchar.h>
24805 #endif
24806 #ifdef HAVE_STDLIB_H
24807 # include <stdlib.h>
24808 #endif
24809 #include <stdio.h>
24810
24811
24812
24813 typedef wchar_t ac__type_sizeof_;
24814 int
24815 main ()
24816 {
24817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24818 test_array [0] = 0
24819
24820 ;
24821 return 0;
24822 }
24823 _ACEOF
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828 *) ac_try_echo=$ac_try;;
24829 esac
24830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24832 ac_status=$?
24833 grep -v '^ *+' conftest.er1 >conftest.err
24834 rm -f conftest.er1
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_c_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.$ac_objext; then
24841 ac_hi=-1 ac_mid=-1
24842 while :; do
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24851 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24852 # error "fake wchar_t"
24853 #endif
24854 #ifdef HAVE_WCHAR_H
24855 # ifdef __CYGWIN__
24856 # include <stddef.h>
24857 # endif
24858 # include <wchar.h>
24859 #endif
24860 #ifdef HAVE_STDLIB_H
24861 # include <stdlib.h>
24862 #endif
24863 #include <stdio.h>
24864
24865
24866
24867 typedef wchar_t ac__type_sizeof_;
24868 int
24869 main ()
24870 {
24871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24872 test_array [0] = 0
24873
24874 ;
24875 return 0;
24876 }
24877 _ACEOF
24878 rm -f conftest.$ac_objext
24879 if { (ac_try="$ac_compile"
24880 case "(($ac_try" in
24881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24882 *) ac_try_echo=$ac_try;;
24883 esac
24884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24885 (eval "$ac_compile") 2>conftest.er1
24886 ac_status=$?
24887 grep -v '^ *+' conftest.er1 >conftest.err
24888 rm -f conftest.er1
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } && {
24892 test -z "$ac_c_werror_flag" ||
24893 test ! -s conftest.err
24894 } && test -s conftest.$ac_objext; then
24895 ac_lo=$ac_mid; break
24896 else
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.$ac_ext >&5
24899
24900 ac_hi=`expr '(' $ac_mid ')' - 1`
24901 if test $ac_mid -le $ac_hi; then
24902 ac_lo= ac_hi=
24903 break
24904 fi
24905 ac_mid=`expr 2 '*' $ac_mid`
24906 fi
24907
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909 done
24910 else
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.$ac_ext >&5
24913
24914 ac_lo= ac_hi=
24915 fi
24916
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 fi
24919
24920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 # Binary search between lo and hi bounds.
24922 while test "x$ac_lo" != "x$ac_hi"; do
24923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24924 cat >conftest.$ac_ext <<_ACEOF
24925 /* confdefs.h. */
24926 _ACEOF
24927 cat confdefs.h >>conftest.$ac_ext
24928 cat >>conftest.$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24930
24931 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24932 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24933 # error "fake wchar_t"
24934 #endif
24935 #ifdef HAVE_WCHAR_H
24936 # ifdef __CYGWIN__
24937 # include <stddef.h>
24938 # endif
24939 # include <wchar.h>
24940 #endif
24941 #ifdef HAVE_STDLIB_H
24942 # include <stdlib.h>
24943 #endif
24944 #include <stdio.h>
24945
24946
24947
24948 typedef wchar_t ac__type_sizeof_;
24949 int
24950 main ()
24951 {
24952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24953 test_array [0] = 0
24954
24955 ;
24956 return 0;
24957 }
24958 _ACEOF
24959 rm -f conftest.$ac_objext
24960 if { (ac_try="$ac_compile"
24961 case "(($ac_try" in
24962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963 *) ac_try_echo=$ac_try;;
24964 esac
24965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966 (eval "$ac_compile") 2>conftest.er1
24967 ac_status=$?
24968 grep -v '^ *+' conftest.er1 >conftest.err
24969 rm -f conftest.er1
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } && {
24973 test -z "$ac_c_werror_flag" ||
24974 test ! -s conftest.err
24975 } && test -s conftest.$ac_objext; then
24976 ac_hi=$ac_mid
24977 else
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24980
24981 ac_lo=`expr '(' $ac_mid ')' + 1`
24982 fi
24983
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24985 done
24986 case $ac_lo in
24987 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24988 '') if test "$ac_cv_type_wchar_t" = yes; then
24989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24990 See \`config.log' for more details." >&5
24991 echo "$as_me: error: cannot compute sizeof (wchar_t)
24992 See \`config.log' for more details." >&2;}
24993 { (exit 77); exit 77; }; }
24994 else
24995 ac_cv_sizeof_wchar_t=0
24996 fi ;;
24997 esac
24998 else
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005
25006 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25007 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25008 # error "fake wchar_t"
25009 #endif
25010 #ifdef HAVE_WCHAR_H
25011 # ifdef __CYGWIN__
25012 # include <stddef.h>
25013 # endif
25014 # include <wchar.h>
25015 #endif
25016 #ifdef HAVE_STDLIB_H
25017 # include <stdlib.h>
25018 #endif
25019 #include <stdio.h>
25020
25021
25022
25023 typedef wchar_t ac__type_sizeof_;
25024 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25025 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25026 #include <stdio.h>
25027 #include <stdlib.h>
25028 int
25029 main ()
25030 {
25031
25032 FILE *f = fopen ("conftest.val", "w");
25033 if (! f)
25034 return 1;
25035 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25036 {
25037 long int i = longval ();
25038 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25039 return 1;
25040 fprintf (f, "%ld\n", i);
25041 }
25042 else
25043 {
25044 unsigned long int i = ulongval ();
25045 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25046 return 1;
25047 fprintf (f, "%lu\n", i);
25048 }
25049 return ferror (f) || fclose (f) != 0;
25050
25051 ;
25052 return 0;
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 ac_cv_sizeof_wchar_t=`cat conftest.val`
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 if test "$ac_cv_type_wchar_t" = yes; then
25083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25084 See \`config.log' for more details." >&5
25085 echo "$as_me: error: cannot compute sizeof (wchar_t)
25086 See \`config.log' for more details." >&2;}
25087 { (exit 77); exit 77; }; }
25088 else
25089 ac_cv_sizeof_wchar_t=0
25090 fi
25091 fi
25092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25093 fi
25094 rm -f conftest.val
25095 fi
25096 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25097 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25098
25099
25100
25101 cat >>confdefs.h <<_ACEOF
25102 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25103 _ACEOF
25104
25105
25106 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25107 wxUSE_WCHAR_T=yes
25108 else
25109 wxUSE_WCHAR_T=no
25110 fi
25111
25112 { echo "$as_me:$LINENO: checking for va_copy" >&5
25113 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25114 if test "${wx_cv_func_va_copy+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 else
25117
25118 ac_ext=cpp
25119 ac_cpp='$CXXCPP $CPPFLAGS'
25120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25123
25124 cat >conftest.$ac_ext <<_ACEOF
25125
25126 #include <stdarg.h>
25127 void foo(char *f, ...)
25128 {
25129 va_list ap1, ap2;
25130 va_start(ap1, f);
25131 va_copy(ap2, ap1);
25132 va_end(ap2);
25133 va_end(ap1);
25134 }
25135 int main()
25136 {
25137 foo("hi", 17);
25138 return 0;
25139 }
25140 _ACEOF
25141 rm -f conftest.$ac_objext conftest$ac_exeext
25142 if { (ac_try="$ac_link"
25143 case "(($ac_try" in
25144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25145 *) ac_try_echo=$ac_try;;
25146 esac
25147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25148 (eval "$ac_link") 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } && {
25155 test -z "$ac_cxx_werror_flag" ||
25156 test ! -s conftest.err
25157 } && test -s conftest$ac_exeext &&
25158 $as_test_x conftest$ac_exeext; then
25159 wx_cv_func_va_copy=yes
25160 else
25161 echo "$as_me: failed program was:" >&5
25162 sed 's/^/| /' conftest.$ac_ext >&5
25163
25164 wx_cv_func_va_copy=no
25165
25166 fi
25167
25168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25169 conftest$ac_exeext conftest.$ac_ext
25170 ac_ext=c
25171 ac_cpp='$CPP $CPPFLAGS'
25172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175
25176
25177
25178 fi
25179 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25180 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25181
25182 if test $wx_cv_func_va_copy = "yes"; then
25183 cat >>confdefs.h <<\_ACEOF
25184 #define HAVE_VA_COPY 1
25185 _ACEOF
25186
25187 else
25188 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25189 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25190 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25191 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 else
25193
25194 if test "$cross_compiling" = yes; then
25195 wx_cv_type_va_list_lvalue=yes
25196
25197 else
25198 cat >conftest.$ac_ext <<_ACEOF
25199
25200 #include <stdarg.h>
25201 int foo(char *f, ...)
25202 {
25203 va_list ap1, ap2;
25204 va_start(ap1, f);
25205 ap2 = ap1;
25206 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25207 return 1;
25208 va_end(ap2);
25209 va_end(ap1);
25210 return 0;
25211 }
25212 int main()
25213 {
25214 return foo("hi", 17);
25215 }
25216 _ACEOF
25217 rm -f conftest$ac_exeext
25218 if { (ac_try="$ac_link"
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_link") 2>&5
25225 ac_status=$?
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25228 { (case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25230 *) ac_try_echo=$ac_try;;
25231 esac
25232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25233 (eval "$ac_try") 2>&5
25234 ac_status=$?
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 wx_cv_type_va_list_lvalue=yes
25238 else
25239 echo "$as_me: program exited with status $ac_status" >&5
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.$ac_ext >&5
25242
25243 ( exit $ac_status )
25244 wx_cv_type_va_list_lvalue=no
25245 fi
25246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25247 fi
25248
25249
25250
25251
25252 fi
25253 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25254 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25255
25256 if test $wx_cv_type_va_list_lvalue != "yes"; then
25257 cat >>confdefs.h <<\_ACEOF
25258 #define VA_LIST_IS_ARRAY 1
25259 _ACEOF
25260
25261 fi
25262 fi
25263
25264 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25265
25266 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25267 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25268 if test "${wx_cv_have_variadic_macros+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 else
25271
25272 ac_ext=cpp
25273 ac_cpp='$CXXCPP $CPPFLAGS'
25274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25277
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285 #include <stdio.h>
25286 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25287
25288 int
25289 main ()
25290 {
25291
25292 test("%s %d %p", "test", 1, 0);
25293
25294
25295 ;
25296 return 0;
25297 }
25298 _ACEOF
25299 rm -f conftest.$ac_objext
25300 if { (ac_try="$ac_compile"
25301 case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25304 esac
25305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25306 (eval "$ac_compile") 2>conftest.er1
25307 ac_status=$?
25308 grep -v '^ *+' conftest.er1 >conftest.err
25309 rm -f conftest.er1
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } && {
25313 test -z "$ac_cxx_werror_flag" ||
25314 test ! -s conftest.err
25315 } && test -s conftest.$ac_objext; then
25316 wx_cv_have_variadic_macros=yes
25317 else
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321 wx_cv_have_variadic_macros=no
25322
25323 fi
25324
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 ac_ext=c
25327 ac_cpp='$CPP $CPPFLAGS'
25328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25331
25332
25333
25334 fi
25335 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25336 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25337
25338 if test $wx_cv_have_variadic_macros = "yes"; then
25339 cat >>confdefs.h <<\_ACEOF
25340 #define HAVE_VARIADIC_MACROS 1
25341 _ACEOF
25342
25343 fi
25344
25345 fi
25346 # Check whether --enable-largefile was given.
25347 if test "${enable_largefile+set}" = set; then
25348 enableval=$enable_largefile;
25349 fi
25350
25351 if test "$enable_largefile" != no; then
25352 wx_largefile=no
25353
25354 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25355 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25356 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 else
25359
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 #define _FILE_OFFSET_BITS 64
25367 #include <sys/types.h>
25368 int
25369 main ()
25370 {
25371 typedef struct {
25372 unsigned int field: sizeof(off_t) == 8;
25373 } wxlf;
25374
25375 ;
25376 return 0;
25377 }
25378 _ACEOF
25379 rm -f conftest.$ac_objext
25380 if { (ac_try="$ac_compile"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25384 esac
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_compile") 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest.$ac_objext; then
25396 ac_cv_sys_file_offset_bits=64
25397 else
25398 echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25400
25401 ac_cv_sys_file_offset_bits=no
25402 fi
25403
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405
25406
25407 fi
25408 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25409 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25410
25411 if test "$ac_cv_sys_file_offset_bits" != no; then
25412 wx_largefile=yes
25413 cat >>confdefs.h <<_ACEOF
25414 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25415 _ACEOF
25416
25417 fi
25418
25419 if test "x$wx_largefile" != "xyes"; then
25420
25421 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25422 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25423 if test "${ac_cv_sys_large_files+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 else
25426
25427 cat >conftest.$ac_ext <<_ACEOF
25428 /* confdefs.h. */
25429 _ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433 #define _LARGE_FILES 1
25434 #include <sys/types.h>
25435 int
25436 main ()
25437 {
25438 typedef struct {
25439 unsigned int field: sizeof(off_t) == 8;
25440 } wxlf;
25441
25442 ;
25443 return 0;
25444 }
25445 _ACEOF
25446 rm -f conftest.$ac_objext
25447 if { (ac_try="$ac_compile"
25448 case "(($ac_try" in
25449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25450 *) ac_try_echo=$ac_try;;
25451 esac
25452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25453 (eval "$ac_compile") 2>conftest.er1
25454 ac_status=$?
25455 grep -v '^ *+' conftest.er1 >conftest.err
25456 rm -f conftest.er1
25457 cat conftest.err >&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } && {
25460 test -z "$ac_c_werror_flag" ||
25461 test ! -s conftest.err
25462 } && test -s conftest.$ac_objext; then
25463 ac_cv_sys_large_files=1
25464 else
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25467
25468 ac_cv_sys_large_files=no
25469 fi
25470
25471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25472
25473
25474 fi
25475 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25476 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25477
25478 if test "$ac_cv_sys_large_files" != no; then
25479 wx_largefile=yes
25480 cat >>confdefs.h <<_ACEOF
25481 #define _LARGE_FILES $ac_cv_sys_large_files
25482 _ACEOF
25483
25484 fi
25485
25486 fi
25487
25488 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25489 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25490 if test "x$wx_largefile" = "xyes"; then
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_LARGEFILE_SUPPORT 1
25493 _ACEOF
25494
25495 fi
25496 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25497 echo "${ECHO_T}$wx_largefile" >&6; }
25498 fi
25499
25500
25501 if test "x$wx_largefile" = "xyes"; then
25502 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25503 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25504
25505 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25506 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25507 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25508 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511
25512 ac_ext=cpp
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517
25518 cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h. */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25524
25525 int
25526 main ()
25527 {
25528
25529 #ifndef __STDC_EXT__
25530 choke me
25531 #endif
25532
25533 ;
25534 return 0;
25535 }
25536 _ACEOF
25537 rm -f conftest.$ac_objext
25538 if { (ac_try="$ac_compile"
25539 case "(($ac_try" in
25540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25542 esac
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_compile") 2>conftest.er1
25545 ac_status=$?
25546 grep -v '^ *+' conftest.er1 >conftest.err
25547 rm -f conftest.er1
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } && {
25551 test -z "$ac_cxx_werror_flag" ||
25552 test ! -s conftest.err
25553 } && test -s conftest.$ac_objext; then
25554 wx_cv_STDC_EXT_required=no
25555 else
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25558
25559 wx_cv_STDC_EXT_required=yes
25560
25561 fi
25562
25563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25564 ac_ext=c
25565 ac_cpp='$CPP $CPPFLAGS'
25566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25569
25570
25571
25572 fi
25573 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25574 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25575 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25576 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25577 fi
25578 fi
25579 else
25580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25581 fi
25582 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25583 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25584 if test "${ac_cv_sys_largefile_source+set}" = set; then
25585 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 else
25587 while :; do
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h. */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594 #include <sys/types.h> /* for off_t */
25595 #include <stdio.h>
25596 int
25597 main ()
25598 {
25599 int (*fp) (FILE *, off_t, int) = fseeko;
25600 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25601 ;
25602 return 0;
25603 }
25604 _ACEOF
25605 rm -f conftest.$ac_objext conftest$ac_exeext
25606 if { (ac_try="$ac_link"
25607 case "(($ac_try" in
25608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25609 *) ac_try_echo=$ac_try;;
25610 esac
25611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25612 (eval "$ac_link") 2>conftest.er1
25613 ac_status=$?
25614 grep -v '^ *+' conftest.er1 >conftest.err
25615 rm -f conftest.er1
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && {
25619 test -z "$ac_c_werror_flag" ||
25620 test ! -s conftest.err
25621 } && test -s conftest$ac_exeext &&
25622 $as_test_x conftest$ac_exeext; then
25623 ac_cv_sys_largefile_source=no; break
25624 else
25625 echo "$as_me: failed program was:" >&5
25626 sed 's/^/| /' conftest.$ac_ext >&5
25627
25628
25629 fi
25630
25631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25632 conftest$ac_exeext conftest.$ac_ext
25633 cat >conftest.$ac_ext <<_ACEOF
25634 /* confdefs.h. */
25635 _ACEOF
25636 cat confdefs.h >>conftest.$ac_ext
25637 cat >>conftest.$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 #define _LARGEFILE_SOURCE 1
25640 #include <sys/types.h> /* for off_t */
25641 #include <stdio.h>
25642 int
25643 main ()
25644 {
25645 int (*fp) (FILE *, off_t, int) = fseeko;
25646 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25647 ;
25648 return 0;
25649 }
25650 _ACEOF
25651 rm -f conftest.$ac_objext conftest$ac_exeext
25652 if { (ac_try="$ac_link"
25653 case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25655 *) ac_try_echo=$ac_try;;
25656 esac
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_link") 2>conftest.er1
25659 ac_status=$?
25660 grep -v '^ *+' conftest.er1 >conftest.err
25661 rm -f conftest.er1
25662 cat conftest.err >&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && {
25665 test -z "$ac_c_werror_flag" ||
25666 test ! -s conftest.err
25667 } && test -s conftest$ac_exeext &&
25668 $as_test_x conftest$ac_exeext; then
25669 ac_cv_sys_largefile_source=1; break
25670 else
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25673
25674
25675 fi
25676
25677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25678 conftest$ac_exeext conftest.$ac_ext
25679 ac_cv_sys_largefile_source=unknown
25680 break
25681 done
25682 fi
25683 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25684 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25685 case $ac_cv_sys_largefile_source in #(
25686 no | unknown) ;;
25687 *)
25688 cat >>confdefs.h <<_ACEOF
25689 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25690 _ACEOF
25691 ;;
25692 esac
25693 rm -f conftest*
25694
25695 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25696 # in glibc 2.1.3, but that breaks too many other things.
25697 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25698 if test $ac_cv_sys_largefile_source != unknown; then
25699
25700 cat >>confdefs.h <<\_ACEOF
25701 #define HAVE_FSEEKO 1
25702 _ACEOF
25703
25704 fi
25705
25706 if test "$ac_cv_sys_largefile_source" != no; then
25707 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25708 fi
25709 fi
25710
25711 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25712 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25713 if test "${ac_cv_c_bigendian+set}" = set; then
25714 echo $ECHO_N "(cached) $ECHO_C" >&6
25715 else
25716 ac_cv_c_bigendian=unknown
25717 # See if sys/param.h defines the BYTE_ORDER macro.
25718 cat >conftest.$ac_ext <<_ACEOF
25719 /* confdefs.h. */
25720 _ACEOF
25721 cat confdefs.h >>conftest.$ac_ext
25722 cat >>conftest.$ac_ext <<_ACEOF
25723 /* end confdefs.h. */
25724 #include <sys/types.h>
25725 #include <sys/param.h>
25726 int
25727 main ()
25728 {
25729
25730 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25731 bogus endian macros
25732 #endif
25733 ;
25734 return 0;
25735 }
25736 _ACEOF
25737 rm -f conftest.$ac_objext
25738 if { (ac_try="$ac_compile"
25739 case "(($ac_try" in
25740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25741 *) ac_try_echo=$ac_try;;
25742 esac
25743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25744 (eval "$ac_compile") 2>conftest.er1
25745 ac_status=$?
25746 grep -v '^ *+' conftest.er1 >conftest.err
25747 rm -f conftest.er1
25748 cat conftest.err >&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); } && {
25751 test -z "$ac_c_werror_flag" ||
25752 test ! -s conftest.err
25753 } && test -s conftest.$ac_objext; then
25754 # It does; now see whether it defined to BIG_ENDIAN or not.
25755 cat >conftest.$ac_ext <<_ACEOF
25756 /* confdefs.h. */
25757 _ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 #include <sys/types.h>
25762 #include <sys/param.h>
25763 int
25764 main ()
25765 {
25766
25767 #if BYTE_ORDER != BIG_ENDIAN
25768 not big endian
25769 #endif
25770 ;
25771 return 0;
25772 }
25773 _ACEOF
25774 rm -f conftest.$ac_objext
25775 if { (ac_try="$ac_compile"
25776 case "(($ac_try" in
25777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25778 *) ac_try_echo=$ac_try;;
25779 esac
25780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25781 (eval "$ac_compile") 2>conftest.er1
25782 ac_status=$?
25783 grep -v '^ *+' conftest.er1 >conftest.err
25784 rm -f conftest.er1
25785 cat conftest.err >&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); } && {
25788 test -z "$ac_c_werror_flag" ||
25789 test ! -s conftest.err
25790 } && test -s conftest.$ac_objext; then
25791 ac_cv_c_bigendian=yes
25792 else
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 ac_cv_c_bigendian=no
25797 fi
25798
25799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25800 else
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25803
25804
25805 fi
25806
25807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25808 if test $ac_cv_c_bigendian = unknown; then
25809 if test "$cross_compiling" = yes; then
25810 ac_cv_c_bigendian=unknown
25811 else
25812 cat >conftest.$ac_ext <<_ACEOF
25813 /* confdefs.h. */
25814 _ACEOF
25815 cat confdefs.h >>conftest.$ac_ext
25816 cat >>conftest.$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25818 main () {
25819 /* Are we little or big endian? From Harbison&Steele. */
25820 union
25821 {
25822 long l;
25823 char c[sizeof (long)];
25824 } u;
25825 u.l = 1;
25826 exit (u.c[sizeof (long) - 1] == 1);
25827 }
25828 _ACEOF
25829 rm -f conftest$ac_exeext
25830 if { (ac_try="$ac_link"
25831 case "(($ac_try" in
25832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25833 *) ac_try_echo=$ac_try;;
25834 esac
25835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25836 (eval "$ac_link") 2>&5
25837 ac_status=$?
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25840 { (case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25843 esac
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_try") 2>&5
25846 ac_status=$?
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; }; then
25849 ac_cv_c_bigendian=no
25850 else
25851 echo "$as_me: program exited with status $ac_status" >&5
25852 echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.$ac_ext >&5
25854
25855 ( exit $ac_status )
25856 ac_cv_c_bigendian=yes
25857 fi
25858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25859 fi
25860
25861
25862 fi
25863 fi
25864 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25865 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25866 if test $ac_cv_c_bigendian = unknown; then
25867 { 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
25868 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;}
25869 fi
25870 if test $ac_cv_c_bigendian = yes; then
25871 cat >>confdefs.h <<\_ACEOF
25872 #define WORDS_BIGENDIAN 1
25873 _ACEOF
25874
25875 fi
25876
25877
25878
25879
25880 ac_ext=cpp
25881 ac_cpp='$CXXCPP $CPPFLAGS'
25882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25885
25886
25887
25888 for ac_header in iostream
25889 do
25890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 else
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902
25903
25904 #include <$ac_header>
25905 _ACEOF
25906 rm -f conftest.$ac_objext
25907 if { (ac_try="$ac_compile"
25908 case "(($ac_try" in
25909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25910 *) ac_try_echo=$ac_try;;
25911 esac
25912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25913 (eval "$ac_compile") 2>conftest.er1
25914 ac_status=$?
25915 grep -v '^ *+' conftest.er1 >conftest.err
25916 rm -f conftest.er1
25917 cat conftest.err >&5
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } && {
25920 test -z "$ac_cxx_werror_flag" ||
25921 test ! -s conftest.err
25922 } && test -s conftest.$ac_objext; then
25923 eval "$as_ac_Header=yes"
25924 else
25925 echo "$as_me: failed program was:" >&5
25926 sed 's/^/| /' conftest.$ac_ext >&5
25927
25928 eval "$as_ac_Header=no"
25929 fi
25930
25931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25932 fi
25933 ac_res=`eval echo '${'$as_ac_Header'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25937 cat >>confdefs.h <<_ACEOF
25938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25939 _ACEOF
25940
25941 fi
25942
25943 done
25944
25945
25946 if test "$ac_cv_header_iostream" = "yes" ; then
25947 :
25948 else
25949 cat >>confdefs.h <<\_ACEOF
25950 #define wxUSE_IOSTREAMH 1
25951 _ACEOF
25952
25953 fi
25954
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962
25963
25964 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25965 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25966 if test "${wx_cv_cpp_bool+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969
25970
25971 ac_ext=cpp
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25976
25977
25978 cat >conftest.$ac_ext <<_ACEOF
25979 /* confdefs.h. */
25980 _ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984
25985
25986 int
25987 main ()
25988 {
25989
25990 bool b = true;
25991
25992 return 0;
25993
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 rm -f conftest.$ac_objext
25999 if { (ac_try="$ac_compile"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26003 esac
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_compile") 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_cxx_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest.$ac_objext; then
26015
26016 wx_cv_cpp_bool=yes
26017
26018 else
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26021
26022
26023 wx_cv_cpp_bool=no
26024
26025
26026 fi
26027
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029
26030 ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035
26036
26037 fi
26038 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26039 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26040
26041 if test "$wx_cv_cpp_bool" = "yes"; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define HAVE_BOOL 1
26044 _ACEOF
26045
26046 fi
26047
26048
26049
26050 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26051 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26052 if test "${wx_cv_explicit+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063
26064 cat >conftest.$ac_ext <<_ACEOF
26065 /* confdefs.h. */
26066 _ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070
26071 class Foo { public: explicit Foo(int) {} };
26072
26073 int
26074 main ()
26075 {
26076
26077 return 0;
26078
26079 ;
26080 return 0;
26081 }
26082 _ACEOF
26083 rm -f conftest.$ac_objext
26084 if { (ac_try="$ac_compile"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26088 esac
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_compile") 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_cxx_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest.$ac_objext; then
26100
26101 cat >conftest.$ac_ext <<_ACEOF
26102 /* confdefs.h. */
26103 _ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107
26108 class Foo { public: explicit Foo(int) {} };
26109 static void TakeFoo(const Foo& foo) { }
26110
26111 int
26112 main ()
26113 {
26114
26115 TakeFoo(17);
26116 return 0;
26117
26118 ;
26119 return 0;
26120 }
26121 _ACEOF
26122 rm -f conftest.$ac_objext
26123 if { (ac_try="$ac_compile"
26124 case "(($ac_try" in
26125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26126 *) ac_try_echo=$ac_try;;
26127 esac
26128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26129 (eval "$ac_compile") 2>conftest.er1
26130 ac_status=$?
26131 grep -v '^ *+' conftest.er1 >conftest.err
26132 rm -f conftest.er1
26133 cat conftest.err >&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } && {
26136 test -z "$ac_cxx_werror_flag" ||
26137 test ! -s conftest.err
26138 } && test -s conftest.$ac_objext; then
26139 wx_cv_explicit=no
26140 else
26141 echo "$as_me: failed program was:" >&5
26142 sed 's/^/| /' conftest.$ac_ext >&5
26143
26144 wx_cv_explicit=yes
26145
26146 fi
26147
26148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26149
26150 else
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26153
26154 wx_cv_explicit=no
26155
26156 fi
26157
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159
26160 ac_ext=c
26161 ac_cpp='$CPP $CPPFLAGS'
26162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26165
26166
26167 fi
26168 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26169 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26170
26171 if test "$wx_cv_explicit" = "yes"; then
26172 cat >>confdefs.h <<\_ACEOF
26173 #define HAVE_EXPLICIT 1
26174 _ACEOF
26175
26176 fi
26177
26178
26179 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26180 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26181 if test "${ac_cv_cxx_const_cast+set}" = set; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26184
26185 ac_ext=cpp
26186 ac_cpp='$CXXCPP $CPPFLAGS'
26187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26190
26191 cat >conftest.$ac_ext <<_ACEOF
26192 /* confdefs.h. */
26193 _ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26197
26198 int
26199 main ()
26200 {
26201 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26211 esac
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26214 ac_status=$?
26215 grep -v '^ *+' conftest.er1 >conftest.err
26216 rm -f conftest.er1
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_cxx_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26223 ac_cv_cxx_const_cast=yes
26224 else
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228 ac_cv_cxx_const_cast=no
26229 fi
26230
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 ac_ext=c
26233 ac_cpp='$CPP $CPPFLAGS'
26234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26237
26238
26239 fi
26240 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26241 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26242 if test "$ac_cv_cxx_const_cast" = yes; then
26243
26244 cat >>confdefs.h <<\_ACEOF
26245 #define HAVE_CONST_CAST
26246 _ACEOF
26247
26248 fi
26249
26250 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26251 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26252 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 else
26255
26256 ac_ext=cpp
26257 ac_cpp='$CXXCPP $CPPFLAGS'
26258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26261
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 #include <typeinfo>
26269 class Base { public : Base () {} virtual void f () = 0;};
26270 class Derived : public Base { public : Derived () {} virtual void f () {} };
26271 class Unrelated { public : Unrelated () {} };
26272 int g (Unrelated&) { return 0; }
26273 int
26274 main ()
26275 {
26276
26277 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26278 ;
26279 return 0;
26280 }
26281 _ACEOF
26282 rm -f conftest.$ac_objext
26283 if { (ac_try="$ac_compile"
26284 case "(($ac_try" in
26285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26286 *) ac_try_echo=$ac_try;;
26287 esac
26288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26289 (eval "$ac_compile") 2>conftest.er1
26290 ac_status=$?
26291 grep -v '^ *+' conftest.er1 >conftest.err
26292 rm -f conftest.er1
26293 cat conftest.err >&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); } && {
26296 test -z "$ac_cxx_werror_flag" ||
26297 test ! -s conftest.err
26298 } && test -s conftest.$ac_objext; then
26299 ac_cv_cxx_reinterpret_cast=yes
26300 else
26301 echo "$as_me: failed program was:" >&5
26302 sed 's/^/| /' conftest.$ac_ext >&5
26303
26304 ac_cv_cxx_reinterpret_cast=no
26305 fi
26306
26307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26308 ac_ext=c
26309 ac_cpp='$CPP $CPPFLAGS'
26310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26313
26314
26315 fi
26316 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26317 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26318 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26319
26320 cat >>confdefs.h <<\_ACEOF
26321 #define HAVE_REINTERPRET_CAST
26322 _ACEOF
26323
26324 fi
26325
26326 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26327 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26328 if test "${ac_cv_cxx_static_cast+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 else
26331
26332 ac_ext=cpp
26333 ac_cpp='$CXXCPP $CPPFLAGS'
26334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26337
26338 cat >conftest.$ac_ext <<_ACEOF
26339 /* confdefs.h. */
26340 _ACEOF
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26344 #include <typeinfo>
26345 class Base { public : Base () {} virtual void f () = 0; };
26346 class Derived : public Base { public : Derived () {} virtual void f () {} };
26347 int g (Derived&) { return 0; }
26348 int
26349 main ()
26350 {
26351
26352 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26353 ;
26354 return 0;
26355 }
26356 _ACEOF
26357 rm -f conftest.$ac_objext
26358 if { (ac_try="$ac_compile"
26359 case "(($ac_try" in
26360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26361 *) ac_try_echo=$ac_try;;
26362 esac
26363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26364 (eval "$ac_compile") 2>conftest.er1
26365 ac_status=$?
26366 grep -v '^ *+' conftest.er1 >conftest.err
26367 rm -f conftest.er1
26368 cat conftest.err >&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } && {
26371 test -z "$ac_cxx_werror_flag" ||
26372 test ! -s conftest.err
26373 } && test -s conftest.$ac_objext; then
26374 ac_cv_cxx_static_cast=yes
26375 else
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26378
26379 ac_cv_cxx_static_cast=no
26380 fi
26381
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_ext=c
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26388
26389
26390 fi
26391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26392 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26393 if test "$ac_cv_cxx_static_cast" = yes; then
26394
26395 cat >>confdefs.h <<\_ACEOF
26396 #define HAVE_STATIC_CAST
26397 _ACEOF
26398
26399 fi
26400
26401
26402 if test "x$SUNCXX" = xyes; then
26403 CXXFLAGS="-features=tmplife $CXXFLAGS"
26404 fi
26405
26406 if test "x$SUNCC" = xyes; then
26407 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26408 fi
26409
26410 if test "x$SGICC" = "xyes"; then
26411 CFLAGS="-woff 3970 $CFLAGS"
26412 fi
26413 if test "x$SGICXX" = "xyes"; then
26414 CXXFLAGS="-woff 3970 $CXXFLAGS"
26415 fi
26416
26417 if test "x$HPCC" = "xyes"; then
26418 CFLAGS="+W 2011,2450 $CFLAGS"
26419 fi
26420 if test "x$HPCXX" = "xyes"; then
26421 CXXFLAGS="+W 2340 $CXXFLAGS"
26422 fi
26423
26424 if test "x$COMPAQCXX" = "xyes"; then
26425 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26426 fi
26427
26428 ac_ext=cpp
26429 ac_cpp='$CXXCPP $CPPFLAGS'
26430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433
26434
26435 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26436 if test "$wxUSE_UNICODE" = "yes"; then
26437 std_string="std::wstring"
26438 char_type="wchar_t"
26439 else
26440 std_string="std::string"
26441 char_type="char"
26442 fi
26443
26444 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26445 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26446 if test "${wx_cv_class_stdstring+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456 #include <string>
26457 int
26458 main ()
26459 {
26460 $std_string foo;
26461 ;
26462 return 0;
26463 }
26464 _ACEOF
26465 rm -f conftest.$ac_objext
26466 if { (ac_try="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26469 *) ac_try_echo=$ac_try;;
26470 esac
26471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472 (eval "$ac_compile") 2>conftest.er1
26473 ac_status=$?
26474 grep -v '^ *+' conftest.er1 >conftest.err
26475 rm -f conftest.er1
26476 cat conftest.err >&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && {
26479 test -z "$ac_cxx_werror_flag" ||
26480 test ! -s conftest.err
26481 } && test -s conftest.$ac_objext; then
26482 wx_cv_class_stdstring=yes
26483 else
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26486
26487 wx_cv_class_stdstring=no
26488
26489 fi
26490
26491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26492
26493
26494 fi
26495 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26496 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26497
26498 if test "$wx_cv_class_stdstring" = yes; then
26499 if test "$wxUSE_UNICODE" = "yes"; then
26500 cat >>confdefs.h <<\_ACEOF
26501 #define HAVE_STD_WSTRING 1
26502 _ACEOF
26503
26504 fi
26505 else
26506 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26507 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26508 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 else
26511
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518
26519 #ifdef HAVE_WCHAR_H
26520 # ifdef __CYGWIN__
26521 # include <stddef.h>
26522 # endif
26523 # include <wchar.h>
26524 #endif
26525 #ifdef HAVE_STDLIB_H
26526 # include <stdlib.h>
26527 #endif
26528 #include <stdio.h>
26529 #include <string>
26530
26531 int
26532 main ()
26533 {
26534 std::basic_string<$char_type> foo;
26535 const $char_type* dummy = foo.c_str();
26536 ;
26537 return 0;
26538 }
26539 _ACEOF
26540 rm -f conftest.$ac_objext
26541 if { (ac_try="$ac_compile"
26542 case "(($ac_try" in
26543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26544 *) ac_try_echo=$ac_try;;
26545 esac
26546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26547 (eval "$ac_compile") 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } && {
26554 test -z "$ac_cxx_werror_flag" ||
26555 test ! -s conftest.err
26556 } && test -s conftest.$ac_objext; then
26557 wx_cv_class_stdbasicstring=yes
26558 else
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26561
26562 wx_cv_class_stdbasicstring=no
26563
26564 fi
26565
26566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26567
26568
26569 fi
26570 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26571 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26572
26573 if test "$wx_cv_class_stdbasicstring" != yes; then
26574 if test "$wxUSE_STL" = "yes"; then
26575 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26576 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26577 { (exit 1); exit 1; }; }
26578 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26579 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26580 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26581 { (exit 1); exit 1; }; }
26582 else
26583 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26584 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26585 wxUSE_STD_STRING=no
26586 fi
26587 fi
26588 fi
26589 fi
26590
26591 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26592 { echo "$as_me:$LINENO: checking for std::istream" >&5
26593 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26594 if test "${ac_cv_type_std__istream+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 else
26597 cat >conftest.$ac_ext <<_ACEOF
26598 /* confdefs.h. */
26599 _ACEOF
26600 cat confdefs.h >>conftest.$ac_ext
26601 cat >>conftest.$ac_ext <<_ACEOF
26602 /* end confdefs.h. */
26603 #include <iostream>
26604
26605 typedef std::istream ac__type_new_;
26606 int
26607 main ()
26608 {
26609 if ((ac__type_new_ *) 0)
26610 return 0;
26611 if (sizeof (ac__type_new_))
26612 return 0;
26613 ;
26614 return 0;
26615 }
26616 _ACEOF
26617 rm -f conftest.$ac_objext
26618 if { (ac_try="$ac_compile"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26622 esac
26623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_compile") 2>conftest.er1
26625 ac_status=$?
26626 grep -v '^ *+' conftest.er1 >conftest.err
26627 rm -f conftest.er1
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_cxx_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest.$ac_objext; then
26634 ac_cv_type_std__istream=yes
26635 else
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 ac_cv_type_std__istream=no
26640 fi
26641
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26643 fi
26644 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26645 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26646 if test $ac_cv_type_std__istream = yes; then
26647
26648 cat >>confdefs.h <<_ACEOF
26649 #define HAVE_STD__ISTREAM 1
26650 _ACEOF
26651
26652
26653 else
26654 wxUSE_STD_IOSTREAM=no
26655 fi
26656 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26657 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26658 if test "${ac_cv_type_std__ostream+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 else
26661 cat >conftest.$ac_ext <<_ACEOF
26662 /* confdefs.h. */
26663 _ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <iostream>
26668
26669 typedef std::ostream ac__type_new_;
26670 int
26671 main ()
26672 {
26673 if ((ac__type_new_ *) 0)
26674 return 0;
26675 if (sizeof (ac__type_new_))
26676 return 0;
26677 ;
26678 return 0;
26679 }
26680 _ACEOF
26681 rm -f conftest.$ac_objext
26682 if { (ac_try="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26686 esac
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26689 ac_status=$?
26690 grep -v '^ *+' conftest.er1 >conftest.err
26691 rm -f conftest.er1
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_cxx_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26698 ac_cv_type_std__ostream=yes
26699 else
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.$ac_ext >&5
26702
26703 ac_cv_type_std__ostream=no
26704 fi
26705
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 fi
26708 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26709 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26710 if test $ac_cv_type_std__ostream = yes; then
26711
26712 cat >>confdefs.h <<_ACEOF
26713 #define HAVE_STD__OSTREAM 1
26714 _ACEOF
26715
26716
26717 else
26718 wxUSE_STD_IOSTREAM=no
26719 fi
26720
26721
26722 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26723 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26724 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26725 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26726 { (exit 1); exit 1; }; }
26727 else
26728 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26729 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26730 fi
26731 fi
26732 fi
26733
26734 if test "$wxUSE_STL" = "yes"; then
26735 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26736 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26737 if test "${wx_cv_lib_stl+set}" = set; then
26738 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 else
26740 cat >conftest.$ac_ext <<_ACEOF
26741 /* confdefs.h. */
26742 _ACEOF
26743 cat confdefs.h >>conftest.$ac_ext
26744 cat >>conftest.$ac_ext <<_ACEOF
26745 /* end confdefs.h. */
26746 #include <string>
26747 #include <functional>
26748 #include <algorithm>
26749 #include <vector>
26750 #include <list>
26751 int
26752 main ()
26753 {
26754 std::vector<int> moo;
26755 std::list<int> foo;
26756 std::vector<int>::iterator it =
26757 std::find_if(moo.begin(), moo.end(),
26758 std::bind2nd(std::less<int>(), 3));
26759 ;
26760 return 0;
26761 }
26762 _ACEOF
26763 rm -f conftest.$ac_objext
26764 if { (ac_try="$ac_compile"
26765 case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26768 esac
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_compile") 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } && {
26777 test -z "$ac_cxx_werror_flag" ||
26778 test ! -s conftest.err
26779 } && test -s conftest.$ac_objext; then
26780 wx_cv_lib_stl=yes
26781 else
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.$ac_ext >&5
26784
26785 wx_cv_lib_stl=no
26786
26787 fi
26788
26789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26790
26791 fi
26792 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26793 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26794
26795 if test "$wx_cv_lib_stl" != yes; then
26796 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26797 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26798 { (exit 1); exit 1; }; }
26799 fi
26800
26801 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26802 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26803 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 else
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h. */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812 #include <string>
26813 int
26814 main ()
26815 {
26816 std::string foo, bar;
26817 foo.compare(bar);
26818 foo.compare(1, 1, bar);
26819 foo.compare(1, 1, bar, 1, 1);
26820 foo.compare("");
26821 foo.compare(1, 1, "");
26822 foo.compare(1, 1, "", 2);
26823 ;
26824 return 0;
26825 }
26826 _ACEOF
26827 rm -f conftest.$ac_objext
26828 if { (ac_try="$ac_compile"
26829 case "(($ac_try" in
26830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26831 *) ac_try_echo=$ac_try;;
26832 esac
26833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26834 (eval "$ac_compile") 2>conftest.er1
26835 ac_status=$?
26836 grep -v '^ *+' conftest.er1 >conftest.err
26837 rm -f conftest.er1
26838 cat conftest.err >&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); } && {
26841 test -z "$ac_cxx_werror_flag" ||
26842 test ! -s conftest.err
26843 } && test -s conftest.$ac_objext; then
26844 wx_cv_func_stdstring_compare=yes
26845 else
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26848
26849 wx_cv_func_stdstring_compare=no
26850
26851 fi
26852
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854
26855 fi
26856 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26857 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26858
26859 if test "$wx_cv_func_stdstring_compare" = yes; then
26860 cat >>confdefs.h <<\_ACEOF
26861 #define HAVE_STD_STRING_COMPARE 1
26862 _ACEOF
26863
26864 fi
26865
26866 { echo "$as_me:$LINENO: checking for hash_map" >&5
26867 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26868 if test "${ac_cv_header_hash_map+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871 cat >conftest.$ac_ext <<_ACEOF
26872 /* confdefs.h. */
26873 _ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26877
26878
26879
26880 #include <hash_map>
26881 _ACEOF
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_cxx_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.$ac_objext; then
26899 ac_cv_header_hash_map=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 ac_cv_header_hash_map=no
26905 fi
26906
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908 fi
26909 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26910 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26911 if test $ac_cv_header_hash_map = yes; then
26912 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26913 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26914 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 else
26917 cat >conftest.$ac_ext <<_ACEOF
26918 /* confdefs.h. */
26919 _ACEOF
26920 cat confdefs.h >>conftest.$ac_ext
26921 cat >>conftest.$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 #include <hash_map>
26924 #include <hash_set>
26925 int
26926 main ()
26927 {
26928 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26929 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26930 ;
26931 return 0;
26932 }
26933 _ACEOF
26934 rm -f conftest.$ac_objext
26935 if { (ac_try="$ac_compile"
26936 case "(($ac_try" in
26937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26938 *) ac_try_echo=$ac_try;;
26939 esac
26940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26942 ac_status=$?
26943 grep -v '^ *+' conftest.er1 >conftest.err
26944 rm -f conftest.er1
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_cxx_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 wx_cv_class_stdhashmapset=yes
26952 else
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26955
26956 wx_cv_class_stdhashmapset=no
26957 fi
26958
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26960
26961
26962 fi
26963 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26964 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26965 fi
26966
26967
26968
26969 if test "$wx_cv_class_stdhashmapset" = yes; then
26970 cat >>confdefs.h <<\_ACEOF
26971 #define HAVE_HASH_MAP 1
26972 _ACEOF
26973
26974 cat >>confdefs.h <<\_ACEOF
26975 #define HAVE_STD_HASH_MAP 1
26976 _ACEOF
26977
26978 fi
26979
26980 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26981 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26982 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26984 else
26985 cat >conftest.$ac_ext <<_ACEOF
26986 /* confdefs.h. */
26987 _ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991
26992
26993
26994 #include <ext/hash_map>
26995 _ACEOF
26996 rm -f conftest.$ac_objext
26997 if { (ac_try="$ac_compile"
26998 case "(($ac_try" in
26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27001 esac
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_compile") 2>conftest.er1
27004 ac_status=$?
27005 grep -v '^ *+' conftest.er1 >conftest.err
27006 rm -f conftest.er1
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_cxx_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest.$ac_objext; then
27013 ac_cv_header_ext_hash_map=yes
27014 else
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.$ac_ext >&5
27017
27018 ac_cv_header_ext_hash_map=no
27019 fi
27020
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022 fi
27023 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27024 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27025 if test $ac_cv_header_ext_hash_map = yes; then
27026 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27027 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27028 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 else
27031 cat >conftest.$ac_ext <<_ACEOF
27032 /* confdefs.h. */
27033 _ACEOF
27034 cat confdefs.h >>conftest.$ac_ext
27035 cat >>conftest.$ac_ext <<_ACEOF
27036 /* end confdefs.h. */
27037 #include <ext/hash_map>
27038 #include <ext/hash_set>
27039 int
27040 main ()
27041 {
27042 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27043 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27044 ;
27045 return 0;
27046 }
27047 _ACEOF
27048 rm -f conftest.$ac_objext
27049 if { (ac_try="$ac_compile"
27050 case "(($ac_try" in
27051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27052 *) ac_try_echo=$ac_try;;
27053 esac
27054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27055 (eval "$ac_compile") 2>conftest.er1
27056 ac_status=$?
27057 grep -v '^ *+' conftest.er1 >conftest.err
27058 rm -f conftest.er1
27059 cat conftest.err >&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } && {
27062 test -z "$ac_cxx_werror_flag" ||
27063 test ! -s conftest.err
27064 } && test -s conftest.$ac_objext; then
27065 wx_cv_class_gnuhashmapset=yes
27066 else
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.$ac_ext >&5
27069
27070 wx_cv_class_gnuhashmapset=no
27071 fi
27072
27073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27074
27075
27076 fi
27077 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27078 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27079 fi
27080
27081
27082
27083 if test "$wx_cv_class_gnuhashmapset" = yes; then
27084 cat >>confdefs.h <<\_ACEOF
27085 #define HAVE_EXT_HASH_MAP 1
27086 _ACEOF
27087
27088 cat >>confdefs.h <<\_ACEOF
27089 #define HAVE_GNU_CXX_HASH_MAP 1
27090 _ACEOF
27091
27092 fi
27093 fi
27094
27095 ac_ext=c
27096 ac_cpp='$CPP $CPPFLAGS'
27097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27100
27101
27102
27103 SEARCH_INCLUDE="\
27104 /usr/local/include \
27105 \
27106 /usr/Motif-2.1/include \
27107 /usr/Motif-1.2/include \
27108 /usr/include/Motif1.2 \
27109 \
27110 /usr/dt/include \
27111 /usr/openwin/include \
27112 \
27113 /usr/include/Xm \
27114 \
27115 /usr/X11R6/include \
27116 /usr/X11R6.4/include \
27117 /usr/X11R5/include \
27118 /usr/X11R4/include \
27119 \
27120 /usr/include/X11R6 \
27121 /usr/include/X11R5 \
27122 /usr/include/X11R4 \
27123 \
27124 /usr/local/X11R6/include \
27125 /usr/local/X11R5/include \
27126 /usr/local/X11R4/include \
27127 \
27128 /usr/local/include/X11R6 \
27129 /usr/local/include/X11R5 \
27130 /usr/local/include/X11R4 \
27131 \
27132 /usr/X11/include \
27133 /usr/include/X11 \
27134 /usr/local/X11/include \
27135 /usr/local/include/X11 \
27136 \
27137 /usr/XFree86/include/X11 \
27138 /usr/pkg/include \
27139 \
27140 /usr/openwin/share/include"
27141
27142 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27143 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27144
27145 case "${host}" in
27146 *-*-irix6* )
27147 if test "${wx_cv_std_libpath+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150
27151 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27152 for e in a so sl dylib dll.a; do
27153 libc="$d/libc.$e"
27154 if test -f $libc; then
27155 save_LIBS="$LIBS"
27156 LIBS="$libc"
27157 cat >conftest.$ac_ext <<_ACEOF
27158 int main() { return 0; }
27159 _ACEOF
27160 rm -f conftest.$ac_objext conftest$ac_exeext
27161 if { (ac_try="$ac_link"
27162 case "(($ac_try" in
27163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27164 *) ac_try_echo=$ac_try;;
27165 esac
27166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27167 (eval "$ac_link") 2>conftest.er1
27168 ac_status=$?
27169 grep -v '^ *+' conftest.er1 >conftest.err
27170 rm -f conftest.er1
27171 cat conftest.err >&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); } && {
27174 test -z "$ac_c_werror_flag" ||
27175 test ! -s conftest.err
27176 } && test -s conftest$ac_exeext &&
27177 $as_test_x conftest$ac_exeext; then
27178 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27179 else
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.$ac_ext >&5
27182
27183
27184 fi
27185
27186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27187 conftest$ac_exeext conftest.$ac_ext
27188 LIBS="$save_LIBS"
27189 if test "x$wx_cv_std_libpath" != "x"; then
27190 break 2
27191 fi
27192 fi
27193 done
27194 done
27195 if test "x$wx_cv_std_libpath" = "x"; then
27196 wx_cv_std_libpath="lib"
27197 fi
27198
27199
27200 fi
27201
27202 ;;
27203
27204 *-*-solaris2* )
27205 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27206 wx_cv_std_libpath="lib/64"
27207 else
27208 wx_cv_std_libpath="lib"
27209 fi
27210 ;;
27211
27212 *-*-linux* )
27213 if test "$ac_cv_sizeof_void_p" = 8 -a \
27214 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27215 wx_cv_std_libpath="lib64"
27216 else
27217 wx_cv_std_libpath="lib"
27218 fi
27219 ;;
27220
27221 *)
27222 wx_cv_std_libpath="lib";
27223 ;;
27224 esac
27225
27226 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27227 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27228
27229 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27230
27231 if test "$build" != "$host" -a "$GCC" = yes; then
27232 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27233 cross_root=`dirname $cross_root`
27234 cross_root=`dirname $cross_root`
27235
27236 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27237 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27238 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27239
27240 if test -z "$PKG_CONFIG_PATH"; then
27241 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27242 export PKG_CONFIG_PATH
27243 fi
27244
27245 if test -z "$x_includes" -o "$x_includes" = NONE; then
27246
27247 ac_find_includes=
27248 for ac_dir in $SEARCH_INCLUDE /usr/include;
27249 do
27250 if test -f "$ac_dir/X11/Intrinsic.h"; then
27251 ac_find_includes=$ac_dir
27252 break
27253 fi
27254 done
27255
27256 x_includes=$ac_find_includes
27257 fi
27258 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27259
27260 ac_find_libraries=
27261 for ac_dir in $SEARCH_LIB;
27262 do
27263 for ac_extension in a so sl dylib dll.a; do
27264 if test -f "$ac_dir/libXt.$ac_extension"; then
27265 ac_find_libraries=$ac_dir
27266 break 2
27267 fi
27268 done
27269 done
27270
27271 x_libraries=$ac_find_libraries
27272 fi
27273 fi
27274 fi
27275
27276
27277 cat >confcache <<\_ACEOF
27278 # This file is a shell script that caches the results of configure
27279 # tests run on this system so they can be shared between configure
27280 # scripts and configure runs, see configure's option --config-cache.
27281 # It is not useful on other systems. If it contains results you don't
27282 # want to keep, you may remove or edit it.
27283 #
27284 # config.status only pays attention to the cache file if you give it
27285 # the --recheck option to rerun configure.
27286 #
27287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27289 # following values.
27290
27291 _ACEOF
27292
27293 # The following way of writing the cache mishandles newlines in values,
27294 # but we know of no workaround that is simple, portable, and efficient.
27295 # So, we kill variables containing newlines.
27296 # Ultrix sh set writes to stderr and can't be redirected directly,
27297 # and sets the high bit in the cache file unless we assign to the vars.
27298 (
27299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27300 eval ac_val=\$$ac_var
27301 case $ac_val in #(
27302 *${as_nl}*)
27303 case $ac_var in #(
27304 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27306 esac
27307 case $ac_var in #(
27308 _ | IFS | as_nl) ;; #(
27309 *) $as_unset $ac_var ;;
27310 esac ;;
27311 esac
27312 done
27313
27314 (set) 2>&1 |
27315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27316 *${as_nl}ac_space=\ *)
27317 # `set' does not quote correctly, so add quotes (double-quote
27318 # substitution turns \\\\ into \\, and sed turns \\ into \).
27319 sed -n \
27320 "s/'/'\\\\''/g;
27321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27322 ;; #(
27323 *)
27324 # `set' quotes correctly as required by POSIX, so do not add quotes.
27325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27326 ;;
27327 esac |
27328 sort
27329 ) |
27330 sed '
27331 /^ac_cv_env_/b end
27332 t clear
27333 :clear
27334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27335 t end
27336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27337 :end' >>confcache
27338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27339 if test -w "$cache_file"; then
27340 test "x$cache_file" != "x/dev/null" &&
27341 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27342 echo "$as_me: updating cache $cache_file" >&6;}
27343 cat confcache >$cache_file
27344 else
27345 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27347 fi
27348 fi
27349 rm -f confcache
27350
27351 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27352 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27353 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27354 if test "${wx_cv_lib_glibc21+set}" = set; then
27355 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 else
27357
27358 cat >conftest.$ac_ext <<_ACEOF
27359 /* confdefs.h. */
27360 _ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 #include <features.h>
27365 int
27366 main ()
27367 {
27368
27369 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27370 not glibc 2.1
27371 #endif
27372
27373 ;
27374 return 0;
27375 }
27376 _ACEOF
27377 rm -f conftest.$ac_objext
27378 if { (ac_try="$ac_compile"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27382 esac
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_compile") 2>conftest.er1
27385 ac_status=$?
27386 grep -v '^ *+' conftest.er1 >conftest.err
27387 rm -f conftest.er1
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest.$ac_objext; then
27394
27395 wx_cv_lib_glibc21=yes
27396
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401
27402 wx_cv_lib_glibc21=no
27403
27404
27405 fi
27406
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27408
27409 fi
27410 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27411 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27412 if test "$wx_cv_lib_glibc21" = "yes"; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define wxHAVE_GLIBC2 1
27415 _ACEOF
27416
27417 fi
27418 fi
27419
27420 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27421 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27422 cat >>confdefs.h <<\_ACEOF
27423 #define _GNU_SOURCE 1
27424 _ACEOF
27425
27426 fi
27427 fi
27428
27429 have_cos=0
27430 have_floor=0
27431
27432 for ac_func in cos
27433 do
27434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27439 else
27440 cat >conftest.$ac_ext <<_ACEOF
27441 /* confdefs.h. */
27442 _ACEOF
27443 cat confdefs.h >>conftest.$ac_ext
27444 cat >>conftest.$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27448 #define $ac_func innocuous_$ac_func
27449
27450 /* System header to define __stub macros and hopefully few prototypes,
27451 which can conflict with char $ac_func (); below.
27452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27453 <limits.h> exists even on freestanding compilers. */
27454
27455 #ifdef __STDC__
27456 # include <limits.h>
27457 #else
27458 # include <assert.h>
27459 #endif
27460
27461 #undef $ac_func
27462
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27466 #ifdef __cplusplus
27467 extern "C"
27468 #endif
27469 char $ac_func ();
27470 /* The GNU C library defines this for functions which it implements
27471 to always fail with ENOSYS. Some functions are actually named
27472 something starting with __ and the normal name is an alias. */
27473 #if defined __stub_$ac_func || defined __stub___$ac_func
27474 choke me
27475 #endif
27476
27477 int
27478 main ()
27479 {
27480 return $ac_func ();
27481 ;
27482 return 0;
27483 }
27484 _ACEOF
27485 rm -f conftest.$ac_objext conftest$ac_exeext
27486 if { (ac_try="$ac_link"
27487 case "(($ac_try" in
27488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27489 *) ac_try_echo=$ac_try;;
27490 esac
27491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27492 (eval "$ac_link") 2>conftest.er1
27493 ac_status=$?
27494 grep -v '^ *+' conftest.er1 >conftest.err
27495 rm -f conftest.er1
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && {
27499 test -z "$ac_c_werror_flag" ||
27500 test ! -s conftest.err
27501 } && test -s conftest$ac_exeext &&
27502 $as_test_x conftest$ac_exeext; then
27503 eval "$as_ac_var=yes"
27504 else
27505 echo "$as_me: failed program was:" >&5
27506 sed 's/^/| /' conftest.$ac_ext >&5
27507
27508 eval "$as_ac_var=no"
27509 fi
27510
27511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27512 conftest$ac_exeext conftest.$ac_ext
27513 fi
27514 ac_res=`eval echo '${'$as_ac_var'}'`
27515 { echo "$as_me:$LINENO: result: $ac_res" >&5
27516 echo "${ECHO_T}$ac_res" >&6; }
27517 if test `eval echo '${'$as_ac_var'}'` = yes; then
27518 cat >>confdefs.h <<_ACEOF
27519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27520 _ACEOF
27521 have_cos=1
27522 fi
27523 done
27524
27525
27526 for ac_func in floor
27527 do
27528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27532 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 else
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27542 #define $ac_func innocuous_$ac_func
27543
27544 /* System header to define __stub macros and hopefully few prototypes,
27545 which can conflict with char $ac_func (); below.
27546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27547 <limits.h> exists even on freestanding compilers. */
27548
27549 #ifdef __STDC__
27550 # include <limits.h>
27551 #else
27552 # include <assert.h>
27553 #endif
27554
27555 #undef $ac_func
27556
27557 /* Override any GCC internal prototype to avoid an error.
27558 Use char because int might match the return type of a GCC
27559 builtin and then its argument prototype would still apply. */
27560 #ifdef __cplusplus
27561 extern "C"
27562 #endif
27563 char $ac_func ();
27564 /* The GNU C library defines this for functions which it implements
27565 to always fail with ENOSYS. Some functions are actually named
27566 something starting with __ and the normal name is an alias. */
27567 #if defined __stub_$ac_func || defined __stub___$ac_func
27568 choke me
27569 #endif
27570
27571 int
27572 main ()
27573 {
27574 return $ac_func ();
27575 ;
27576 return 0;
27577 }
27578 _ACEOF
27579 rm -f conftest.$ac_objext conftest$ac_exeext
27580 if { (ac_try="$ac_link"
27581 case "(($ac_try" in
27582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583 *) ac_try_echo=$ac_try;;
27584 esac
27585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27586 (eval "$ac_link") 2>conftest.er1
27587 ac_status=$?
27588 grep -v '^ *+' conftest.er1 >conftest.err
27589 rm -f conftest.er1
27590 cat conftest.err >&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); } && {
27593 test -z "$ac_c_werror_flag" ||
27594 test ! -s conftest.err
27595 } && test -s conftest$ac_exeext &&
27596 $as_test_x conftest$ac_exeext; then
27597 eval "$as_ac_var=yes"
27598 else
27599 echo "$as_me: failed program was:" >&5
27600 sed 's/^/| /' conftest.$ac_ext >&5
27601
27602 eval "$as_ac_var=no"
27603 fi
27604
27605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27606 conftest$ac_exeext conftest.$ac_ext
27607 fi
27608 ac_res=`eval echo '${'$as_ac_var'}'`
27609 { echo "$as_me:$LINENO: result: $ac_res" >&5
27610 echo "${ECHO_T}$ac_res" >&6; }
27611 if test `eval echo '${'$as_ac_var'}'` = yes; then
27612 cat >>confdefs.h <<_ACEOF
27613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27614 _ACEOF
27615 have_floor=1
27616 fi
27617 done
27618
27619 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27620 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27621 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27622 { echo "$as_me:$LINENO: result: yes" >&5
27623 echo "${ECHO_T}yes" >&6; }
27624 else
27625 { echo "$as_me:$LINENO: result: no" >&5
27626 echo "${ECHO_T}no" >&6; }
27627 LIBS="$LIBS -lm"
27628 # use different functions to avoid configure caching
27629 have_sin=0
27630 have_ceil=0
27631
27632 for ac_func in sin
27633 do
27634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27639 else
27640 cat >conftest.$ac_ext <<_ACEOF
27641 /* confdefs.h. */
27642 _ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27648 #define $ac_func innocuous_$ac_func
27649
27650 /* System header to define __stub macros and hopefully few prototypes,
27651 which can conflict with char $ac_func (); below.
27652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27653 <limits.h> exists even on freestanding compilers. */
27654
27655 #ifdef __STDC__
27656 # include <limits.h>
27657 #else
27658 # include <assert.h>
27659 #endif
27660
27661 #undef $ac_func
27662
27663 /* Override any GCC internal prototype to avoid an error.
27664 Use char because int might match the return type of a GCC
27665 builtin and then its argument prototype would still apply. */
27666 #ifdef __cplusplus
27667 extern "C"
27668 #endif
27669 char $ac_func ();
27670 /* The GNU C library defines this for functions which it implements
27671 to always fail with ENOSYS. Some functions are actually named
27672 something starting with __ and the normal name is an alias. */
27673 #if defined __stub_$ac_func || defined __stub___$ac_func
27674 choke me
27675 #endif
27676
27677 int
27678 main ()
27679 {
27680 return $ac_func ();
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27690 esac
27691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>conftest.er1
27693 ac_status=$?
27694 grep -v '^ *+' conftest.er1 >conftest.err
27695 rm -f conftest.er1
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } && {
27699 test -z "$ac_c_werror_flag" ||
27700 test ! -s conftest.err
27701 } && test -s conftest$ac_exeext &&
27702 $as_test_x conftest$ac_exeext; then
27703 eval "$as_ac_var=yes"
27704 else
27705 echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27707
27708 eval "$as_ac_var=no"
27709 fi
27710
27711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27712 conftest$ac_exeext conftest.$ac_ext
27713 fi
27714 ac_res=`eval echo '${'$as_ac_var'}'`
27715 { echo "$as_me:$LINENO: result: $ac_res" >&5
27716 echo "${ECHO_T}$ac_res" >&6; }
27717 if test `eval echo '${'$as_ac_var'}'` = yes; then
27718 cat >>confdefs.h <<_ACEOF
27719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27720 _ACEOF
27721 have_sin=1
27722 fi
27723 done
27724
27725
27726 for ac_func in ceil
27727 do
27728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 else
27734 cat >conftest.$ac_ext <<_ACEOF
27735 /* confdefs.h. */
27736 _ACEOF
27737 cat confdefs.h >>conftest.$ac_ext
27738 cat >>conftest.$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27742 #define $ac_func innocuous_$ac_func
27743
27744 /* System header to define __stub macros and hopefully few prototypes,
27745 which can conflict with char $ac_func (); below.
27746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27747 <limits.h> exists even on freestanding compilers. */
27748
27749 #ifdef __STDC__
27750 # include <limits.h>
27751 #else
27752 # include <assert.h>
27753 #endif
27754
27755 #undef $ac_func
27756
27757 /* Override any GCC internal prototype to avoid an error.
27758 Use char because int might match the return type of a GCC
27759 builtin and then its argument prototype would still apply. */
27760 #ifdef __cplusplus
27761 extern "C"
27762 #endif
27763 char $ac_func ();
27764 /* The GNU C library defines this for functions which it implements
27765 to always fail with ENOSYS. Some functions are actually named
27766 something starting with __ and the normal name is an alias. */
27767 #if defined __stub_$ac_func || defined __stub___$ac_func
27768 choke me
27769 #endif
27770
27771 int
27772 main ()
27773 {
27774 return $ac_func ();
27775 ;
27776 return 0;
27777 }
27778 _ACEOF
27779 rm -f conftest.$ac_objext conftest$ac_exeext
27780 if { (ac_try="$ac_link"
27781 case "(($ac_try" in
27782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27783 *) ac_try_echo=$ac_try;;
27784 esac
27785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27786 (eval "$ac_link") 2>conftest.er1
27787 ac_status=$?
27788 grep -v '^ *+' conftest.er1 >conftest.err
27789 rm -f conftest.er1
27790 cat conftest.err >&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } && {
27793 test -z "$ac_c_werror_flag" ||
27794 test ! -s conftest.err
27795 } && test -s conftest$ac_exeext &&
27796 $as_test_x conftest$ac_exeext; then
27797 eval "$as_ac_var=yes"
27798 else
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27801
27802 eval "$as_ac_var=no"
27803 fi
27804
27805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27806 conftest$ac_exeext conftest.$ac_ext
27807 fi
27808 ac_res=`eval echo '${'$as_ac_var'}'`
27809 { echo "$as_me:$LINENO: result: $ac_res" >&5
27810 echo "${ECHO_T}$ac_res" >&6; }
27811 if test `eval echo '${'$as_ac_var'}'` = yes; then
27812 cat >>confdefs.h <<_ACEOF
27813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27814 _ACEOF
27815 have_ceil=1
27816 fi
27817 done
27818
27819 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27820 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27821 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27822 { echo "$as_me:$LINENO: result: yes" >&5
27823 echo "${ECHO_T}yes" >&6; }
27824 else
27825 { echo "$as_me:$LINENO: result: no" >&5
27826 echo "${ECHO_T}no" >&6; }
27827 # not sure we should warn the user, crash, etc.
27828 fi
27829 fi
27830
27831 ac_ext=cpp
27832 ac_cpp='$CXXCPP $CPPFLAGS'
27833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27836
27837 if test "wxUSE_UNICODE" = "yes"; then
27838
27839 for wx_func in wcstoull
27840 do
27841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27843 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 else
27846
27847 cat >conftest.$ac_ext <<_ACEOF
27848
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854
27855
27856 $ac_includes_default
27857
27858 int
27859 main ()
27860 {
27861
27862 #ifndef $wx_func
27863 &$wx_func;
27864 #endif
27865
27866
27867 ;
27868 return 0;
27869 }
27870
27871 _ACEOF
27872 rm -f conftest.$ac_objext conftest$ac_exeext
27873 if { (ac_try="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27877 esac
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27880 ac_status=$?
27881 grep -v '^ *+' conftest.er1 >conftest.err
27882 rm -f conftest.er1
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_cxx_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 eval wx_cv_func_$wx_func=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27894
27895 eval wx_cv_func_$wx_func=no
27896 fi
27897
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27900
27901 fi
27902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27903 { echo "$as_me:$LINENO: result: $ac_res" >&5
27904 echo "${ECHO_T}$ac_res" >&6; }
27905
27906 if eval test \$wx_cv_func_$wx_func = yes
27907 then
27908 cat >>confdefs.h <<_ACEOF
27909 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27910 _ACEOF
27911
27912
27913 else
27914 :
27915
27916 fi
27917 done
27918
27919 else
27920
27921 for wx_func in strtoull
27922 do
27923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 else
27928
27929 cat >conftest.$ac_ext <<_ACEOF
27930
27931 /* confdefs.h. */
27932 _ACEOF
27933 cat confdefs.h >>conftest.$ac_ext
27934 cat >>conftest.$ac_ext <<_ACEOF
27935 /* end confdefs.h. */
27936
27937
27938 $ac_includes_default
27939
27940 int
27941 main ()
27942 {
27943
27944 #ifndef $wx_func
27945 &$wx_func;
27946 #endif
27947
27948
27949 ;
27950 return 0;
27951 }
27952
27953 _ACEOF
27954 rm -f conftest.$ac_objext conftest$ac_exeext
27955 if { (ac_try="$ac_link"
27956 case "(($ac_try" in
27957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27958 *) ac_try_echo=$ac_try;;
27959 esac
27960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27961 (eval "$ac_link") 2>conftest.er1
27962 ac_status=$?
27963 grep -v '^ *+' conftest.er1 >conftest.err
27964 rm -f conftest.er1
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } && {
27968 test -z "$ac_cxx_werror_flag" ||
27969 test ! -s conftest.err
27970 } && test -s conftest$ac_exeext &&
27971 $as_test_x conftest$ac_exeext; then
27972 eval wx_cv_func_$wx_func=yes
27973 else
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27976
27977 eval wx_cv_func_$wx_func=no
27978 fi
27979
27980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27981 conftest$ac_exeext conftest.$ac_ext
27982
27983 fi
27984 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27985 { echo "$as_me:$LINENO: result: $ac_res" >&5
27986 echo "${ECHO_T}$ac_res" >&6; }
27987
27988 if eval test \$wx_cv_func_$wx_func = yes
27989 then
27990 cat >>confdefs.h <<_ACEOF
27991 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27992 _ACEOF
27993
27994
27995 else
27996 :
27997
27998 fi
27999 done
28000
28001 fi
28002 ac_ext=c
28003 ac_cpp='$CPP $CPPFLAGS'
28004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28007
28008
28009
28010
28011 if test "$wxUSE_REGEX" != "no"; then
28012 cat >>confdefs.h <<\_ACEOF
28013 #define wxUSE_REGEX 1
28014 _ACEOF
28015
28016
28017 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28018 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28019 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28020 wxUSE_REGEX=builtin
28021 fi
28022
28023 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28024 { echo "$as_me:$LINENO: checking for regex.h" >&5
28025 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28026 if test "${ac_cv_header_regex_h+set}" = set; then
28027 echo $ECHO_N "(cached) $ECHO_C" >&6
28028 else
28029 cat >conftest.$ac_ext <<_ACEOF
28030 /* confdefs.h. */
28031 _ACEOF
28032 cat confdefs.h >>conftest.$ac_ext
28033 cat >>conftest.$ac_ext <<_ACEOF
28034 /* end confdefs.h. */
28035
28036
28037 #include <regex.h>
28038 _ACEOF
28039 rm -f conftest.$ac_objext
28040 if { (ac_try="$ac_compile"
28041 case "(($ac_try" in
28042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28043 *) ac_try_echo=$ac_try;;
28044 esac
28045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046 (eval "$ac_compile") 2>conftest.er1
28047 ac_status=$?
28048 grep -v '^ *+' conftest.er1 >conftest.err
28049 rm -f conftest.er1
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } && {
28053 test -z "$ac_c_werror_flag" ||
28054 test ! -s conftest.err
28055 } && test -s conftest.$ac_objext; then
28056 ac_cv_header_regex_h=yes
28057 else
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28060
28061 ac_cv_header_regex_h=no
28062 fi
28063
28064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28065 fi
28066 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28067 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28068 if test $ac_cv_header_regex_h = yes; then
28069
28070
28071 for ac_func in regcomp re_search
28072 do
28073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 else
28079 cat >conftest.$ac_ext <<_ACEOF
28080 /* confdefs.h. */
28081 _ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28087 #define $ac_func innocuous_$ac_func
28088
28089 /* System header to define __stub macros and hopefully few prototypes,
28090 which can conflict with char $ac_func (); below.
28091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28092 <limits.h> exists even on freestanding compilers. */
28093
28094 #ifdef __STDC__
28095 # include <limits.h>
28096 #else
28097 # include <assert.h>
28098 #endif
28099
28100 #undef $ac_func
28101
28102 /* Override any GCC internal prototype to avoid an error.
28103 Use char because int might match the return type of a GCC
28104 builtin and then its argument prototype would still apply. */
28105 #ifdef __cplusplus
28106 extern "C"
28107 #endif
28108 char $ac_func ();
28109 /* The GNU C library defines this for functions which it implements
28110 to always fail with ENOSYS. Some functions are actually named
28111 something starting with __ and the normal name is an alias. */
28112 #if defined __stub_$ac_func || defined __stub___$ac_func
28113 choke me
28114 #endif
28115
28116 int
28117 main ()
28118 {
28119 return $ac_func ();
28120 ;
28121 return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext conftest$ac_exeext
28125 if { (ac_try="$ac_link"
28126 case "(($ac_try" in
28127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28128 *) ac_try_echo=$ac_try;;
28129 esac
28130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28131 (eval "$ac_link") 2>conftest.er1
28132 ac_status=$?
28133 grep -v '^ *+' conftest.er1 >conftest.err
28134 rm -f conftest.er1
28135 cat conftest.err >&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); } && {
28138 test -z "$ac_c_werror_flag" ||
28139 test ! -s conftest.err
28140 } && test -s conftest$ac_exeext &&
28141 $as_test_x conftest$ac_exeext; then
28142 eval "$as_ac_var=yes"
28143 else
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28146
28147 eval "$as_ac_var=no"
28148 fi
28149
28150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28151 conftest$ac_exeext conftest.$ac_ext
28152 fi
28153 ac_res=`eval echo '${'$as_ac_var'}'`
28154 { echo "$as_me:$LINENO: result: $ac_res" >&5
28155 echo "${ECHO_T}$ac_res" >&6; }
28156 if test `eval echo '${'$as_ac_var'}'` = yes; then
28157 cat >>confdefs.h <<_ACEOF
28158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28159 _ACEOF
28160
28161 fi
28162 done
28163
28164 fi
28165
28166
28167
28168 if test "x$ac_cv_func_regcomp" != "xyes"; then
28169 if test "$wxUSE_REGEX" = "sys" ; then
28170 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28171 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28172 { (exit 1); exit 1; }; }
28173 else
28174 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28175 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28176 wxUSE_REGEX=builtin
28177 fi
28178 else
28179 wxUSE_REGEX=sys
28180 cat >>confdefs.h <<\_ACEOF
28181 #define WX_NO_REGEX_ADVANCED 1
28182 _ACEOF
28183
28184 fi
28185 fi
28186 fi
28187
28188
28189 ZLIB_LINK=
28190 if test "$wxUSE_ZLIB" != "no" ; then
28191 cat >>confdefs.h <<\_ACEOF
28192 #define wxUSE_ZLIB 1
28193 _ACEOF
28194
28195
28196 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28197 if test "$USE_DARWIN" = 1; then
28198 system_zlib_h_ok="yes"
28199 else
28200 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28201 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28202 if test "${ac_cv_header_zlib_h+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 else
28205 if test "$cross_compiling" = yes; then
28206 unset ac_cv_header_zlib_h
28207
28208 else
28209 cat >conftest.$ac_ext <<_ACEOF
28210 /* confdefs.h. */
28211 _ACEOF
28212 cat confdefs.h >>conftest.$ac_ext
28213 cat >>conftest.$ac_ext <<_ACEOF
28214 /* end confdefs.h. */
28215
28216 #include <zlib.h>
28217 #include <stdio.h>
28218
28219 int main()
28220 {
28221 FILE *f=fopen("conftestval", "w");
28222 if (!f) exit(1);
28223 fprintf(f, "%s",
28224 ZLIB_VERSION[0] == '1' &&
28225 (ZLIB_VERSION[2] > '1' ||
28226 (ZLIB_VERSION[2] == '1' &&
28227 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28228 exit(0);
28229 }
28230
28231 _ACEOF
28232 rm -f conftest$ac_exeext
28233 if { (ac_try="$ac_link"
28234 case "(($ac_try" in
28235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28236 *) ac_try_echo=$ac_try;;
28237 esac
28238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28239 (eval "$ac_link") 2>&5
28240 ac_status=$?
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28243 { (case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28246 esac
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_try") 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; }; then
28252 ac_cv_header_zlib_h=`cat conftestval`
28253 else
28254 echo "$as_me: program exited with status $ac_status" >&5
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28257
28258 ( exit $ac_status )
28259 ac_cv_header_zlib_h=no
28260 fi
28261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28262 fi
28263
28264
28265
28266 fi
28267 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28268 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28269 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28270 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28271 if test "${ac_cv_header_zlib_h+set}" = set; then
28272 echo $ECHO_N "(cached) $ECHO_C" >&6
28273 else
28274 cat >conftest.$ac_ext <<_ACEOF
28275 /* confdefs.h. */
28276 _ACEOF
28277 cat confdefs.h >>conftest.$ac_ext
28278 cat >>conftest.$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28280
28281
28282 #include <zlib.h>
28283 _ACEOF
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28289 esac
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28292 ac_status=$?
28293 grep -v '^ *+' conftest.er1 >conftest.err
28294 rm -f conftest.er1
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 ac_cv_header_zlib_h=yes
28302 else
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28305
28306 ac_cv_header_zlib_h=no
28307 fi
28308
28309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28310 fi
28311 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28312 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28313
28314
28315
28316 system_zlib_h_ok=$ac_cv_header_zlib_h
28317 fi
28318
28319 if test "$system_zlib_h_ok" = "yes"; then
28320 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28321 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28322 if test "${ac_cv_lib_z_deflate+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 ac_check_lib_save_LIBS=$LIBS
28326 LIBS="-lz $LIBS"
28327 cat >conftest.$ac_ext <<_ACEOF
28328 /* confdefs.h. */
28329 _ACEOF
28330 cat confdefs.h >>conftest.$ac_ext
28331 cat >>conftest.$ac_ext <<_ACEOF
28332 /* end confdefs.h. */
28333
28334 /* Override any GCC internal prototype to avoid an error.
28335 Use char because int might match the return type of a GCC
28336 builtin and then its argument prototype would still apply. */
28337 #ifdef __cplusplus
28338 extern "C"
28339 #endif
28340 char deflate ();
28341 int
28342 main ()
28343 {
28344 return deflate ();
28345 ;
28346 return 0;
28347 }
28348 _ACEOF
28349 rm -f conftest.$ac_objext conftest$ac_exeext
28350 if { (ac_try="$ac_link"
28351 case "(($ac_try" in
28352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28353 *) ac_try_echo=$ac_try;;
28354 esac
28355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28356 (eval "$ac_link") 2>conftest.er1
28357 ac_status=$?
28358 grep -v '^ *+' conftest.er1 >conftest.err
28359 rm -f conftest.er1
28360 cat conftest.err >&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); } && {
28363 test -z "$ac_c_werror_flag" ||
28364 test ! -s conftest.err
28365 } && test -s conftest$ac_exeext &&
28366 $as_test_x conftest$ac_exeext; then
28367 ac_cv_lib_z_deflate=yes
28368 else
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.$ac_ext >&5
28371
28372 ac_cv_lib_z_deflate=no
28373 fi
28374
28375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28376 conftest$ac_exeext conftest.$ac_ext
28377 LIBS=$ac_check_lib_save_LIBS
28378 fi
28379 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28380 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28381 if test $ac_cv_lib_z_deflate = yes; then
28382 ZLIB_LINK=" -lz"
28383 fi
28384
28385 fi
28386
28387 if test "x$ZLIB_LINK" = "x" ; then
28388 if test "$wxUSE_ZLIB" = "sys" ; then
28389 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28390 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28391 { (exit 1); exit 1; }; }
28392 else
28393 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28394 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28395 wxUSE_ZLIB=builtin
28396 fi
28397 else
28398 wxUSE_ZLIB=sys
28399 fi
28400 fi
28401 fi
28402
28403
28404 PNG_LINK=
28405 if test "$wxUSE_LIBPNG" != "no" ; then
28406 cat >>confdefs.h <<\_ACEOF
28407 #define wxUSE_LIBPNG 1
28408 _ACEOF
28409
28410
28411 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28412 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28413 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28414 wxUSE_LIBPNG=sys
28415 fi
28416
28417 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28418 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28419 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28420 wxUSE_LIBPNG=builtin
28421 fi
28422
28423 if test "$wxUSE_MGL" != 1 ; then
28424 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28425 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28426 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28427 if test "${ac_cv_header_png_h+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 else
28430 if test "$cross_compiling" = yes; then
28431 unset ac_cv_header_png_h
28432
28433 else
28434 cat >conftest.$ac_ext <<_ACEOF
28435 /* confdefs.h. */
28436 _ACEOF
28437 cat confdefs.h >>conftest.$ac_ext
28438 cat >>conftest.$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28440
28441 #include <png.h>
28442 #include <stdio.h>
28443
28444 int main()
28445 {
28446 FILE *f=fopen("conftestval", "w");
28447 if (!f) exit(1);
28448 fprintf(f, "%s",
28449 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28450 exit(0);
28451 }
28452
28453 _ACEOF
28454 rm -f conftest$ac_exeext
28455 if { (ac_try="$ac_link"
28456 case "(($ac_try" in
28457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28458 *) ac_try_echo=$ac_try;;
28459 esac
28460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28461 (eval "$ac_link") 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28465 { (case "(($ac_try" in
28466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28467 *) ac_try_echo=$ac_try;;
28468 esac
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 (eval "$ac_try") 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 ac_cv_header_png_h=`cat conftestval`
28475 else
28476 echo "$as_me: program exited with status $ac_status" >&5
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28479
28480 ( exit $ac_status )
28481 ac_cv_header_png_h=no
28482 fi
28483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28484 fi
28485
28486
28487
28488 fi
28489 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28490 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28491 { echo "$as_me:$LINENO: checking for png.h" >&5
28492 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28493 if test "${ac_cv_header_png_h+set}" = set; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28495 else
28496 cat >conftest.$ac_ext <<_ACEOF
28497 /* confdefs.h. */
28498 _ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502
28503
28504 #include <png.h>
28505 _ACEOF
28506 rm -f conftest.$ac_objext
28507 if { (ac_try="$ac_compile"
28508 case "(($ac_try" in
28509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 *) ac_try_echo=$ac_try;;
28511 esac
28512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 (eval "$ac_compile") 2>conftest.er1
28514 ac_status=$?
28515 grep -v '^ *+' conftest.er1 >conftest.err
28516 rm -f conftest.er1
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } && {
28520 test -z "$ac_c_werror_flag" ||
28521 test ! -s conftest.err
28522 } && test -s conftest.$ac_objext; then
28523 ac_cv_header_png_h=yes
28524 else
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28527
28528 ac_cv_header_png_h=no
28529 fi
28530
28531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28532 fi
28533 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28534 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28535
28536
28537
28538 if test "$ac_cv_header_png_h" = "yes"; then
28539 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28540 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28541 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 ac_check_lib_save_LIBS=$LIBS
28545 LIBS="-lpng -lz -lm $LIBS"
28546 cat >conftest.$ac_ext <<_ACEOF
28547 /* confdefs.h. */
28548 _ACEOF
28549 cat confdefs.h >>conftest.$ac_ext
28550 cat >>conftest.$ac_ext <<_ACEOF
28551 /* end confdefs.h. */
28552
28553 /* Override any GCC internal prototype to avoid an error.
28554 Use char because int might match the return type of a GCC
28555 builtin and then its argument prototype would still apply. */
28556 #ifdef __cplusplus
28557 extern "C"
28558 #endif
28559 char png_check_sig ();
28560 int
28561 main ()
28562 {
28563 return png_check_sig ();
28564 ;
28565 return 0;
28566 }
28567 _ACEOF
28568 rm -f conftest.$ac_objext conftest$ac_exeext
28569 if { (ac_try="$ac_link"
28570 case "(($ac_try" in
28571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28572 *) ac_try_echo=$ac_try;;
28573 esac
28574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28575 (eval "$ac_link") 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } && {
28582 test -z "$ac_c_werror_flag" ||
28583 test ! -s conftest.err
28584 } && test -s conftest$ac_exeext &&
28585 $as_test_x conftest$ac_exeext; then
28586 ac_cv_lib_png_png_check_sig=yes
28587 else
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.$ac_ext >&5
28590
28591 ac_cv_lib_png_png_check_sig=no
28592 fi
28593
28594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28595 conftest$ac_exeext conftest.$ac_ext
28596 LIBS=$ac_check_lib_save_LIBS
28597 fi
28598 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28599 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28600 if test $ac_cv_lib_png_png_check_sig = yes; then
28601 PNG_LINK=" -lpng -lz"
28602 fi
28603
28604 fi
28605
28606 if test "x$PNG_LINK" = "x" ; then
28607 if test "$wxUSE_LIBPNG" = "sys" ; then
28608 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28609 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28610 { (exit 1); exit 1; }; }
28611 else
28612 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28613 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28614 wxUSE_LIBPNG=builtin
28615 fi
28616 else
28617 wxUSE_LIBPNG=sys
28618 fi
28619 fi
28620 fi
28621
28622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28623 fi
28624
28625
28626 JPEG_LINK=
28627 if test "$wxUSE_LIBJPEG" != "no" ; then
28628 cat >>confdefs.h <<\_ACEOF
28629 #define wxUSE_LIBJPEG 1
28630 _ACEOF
28631
28632
28633 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28634 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28635 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28636 wxUSE_LIBJPEG=sys
28637 fi
28638
28639 if test "$wxUSE_MGL" != 1 ; then
28640 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28641 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28642 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28643 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 else
28646 cat >conftest.$ac_ext <<_ACEOF
28647 /* confdefs.h. */
28648 _ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28652
28653 #undef HAVE_STDLIB_H
28654 #include <stdio.h>
28655 #include <jpeglib.h>
28656
28657 int
28658 main ()
28659 {
28660
28661
28662 ;
28663 return 0;
28664 }
28665 _ACEOF
28666 rm -f conftest.$ac_objext
28667 if { (ac_try="$ac_compile"
28668 case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28671 esac
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_compile") 2>conftest.er1
28674 ac_status=$?
28675 grep -v '^ *+' conftest.er1 >conftest.err
28676 rm -f conftest.er1
28677 cat conftest.err >&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } && {
28680 test -z "$ac_c_werror_flag" ||
28681 test ! -s conftest.err
28682 } && test -s conftest.$ac_objext; then
28683 ac_cv_header_jpeglib_h=yes
28684 else
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28687
28688 ac_cv_header_jpeglib_h=no
28689
28690 fi
28691
28692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28693
28694 fi
28695
28696 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28697 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28698
28699 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28700 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28701 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28702 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 ac_check_lib_save_LIBS=$LIBS
28706 LIBS="-ljpeg $LIBS"
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713
28714 /* Override any GCC internal prototype to avoid an error.
28715 Use char because int might match the return type of a GCC
28716 builtin and then its argument prototype would still apply. */
28717 #ifdef __cplusplus
28718 extern "C"
28719 #endif
28720 char jpeg_read_header ();
28721 int
28722 main ()
28723 {
28724 return jpeg_read_header ();
28725 ;
28726 return 0;
28727 }
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (ac_try="$ac_link"
28731 case "(($ac_try" in
28732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28733 *) ac_try_echo=$ac_try;;
28734 esac
28735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28736 (eval "$ac_link") 2>conftest.er1
28737 ac_status=$?
28738 grep -v '^ *+' conftest.er1 >conftest.err
28739 rm -f conftest.er1
28740 cat conftest.err >&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } && {
28743 test -z "$ac_c_werror_flag" ||
28744 test ! -s conftest.err
28745 } && test -s conftest$ac_exeext &&
28746 $as_test_x conftest$ac_exeext; then
28747 ac_cv_lib_jpeg_jpeg_read_header=yes
28748 else
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28751
28752 ac_cv_lib_jpeg_jpeg_read_header=no
28753 fi
28754
28755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28756 conftest$ac_exeext conftest.$ac_ext
28757 LIBS=$ac_check_lib_save_LIBS
28758 fi
28759 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28760 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28761 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28762 JPEG_LINK=" -ljpeg"
28763 fi
28764
28765 fi
28766
28767 if test "x$JPEG_LINK" = "x" ; then
28768 if test "$wxUSE_LIBJPEG" = "sys" ; then
28769 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28770 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28771 { (exit 1); exit 1; }; }
28772 else
28773 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28774 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28775 wxUSE_LIBJPEG=builtin
28776 fi
28777 else
28778 wxUSE_LIBJPEG=sys
28779
28780 if test "$wxUSE_MSW" = 1; then
28781 { echo "$as_me:$LINENO: checking for boolean" >&5
28782 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28783 if test "${ac_cv_type_boolean+set}" = set; then
28784 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 else
28786 cat >conftest.$ac_ext <<_ACEOF
28787 /* confdefs.h. */
28788 _ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28792 #include <windows.h>
28793
28794 typedef boolean ac__type_new_;
28795 int
28796 main ()
28797 {
28798 if ((ac__type_new_ *) 0)
28799 return 0;
28800 if (sizeof (ac__type_new_))
28801 return 0;
28802 ;
28803 return 0;
28804 }
28805 _ACEOF
28806 rm -f conftest.$ac_objext
28807 if { (ac_try="$ac_compile"
28808 case "(($ac_try" in
28809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28810 *) ac_try_echo=$ac_try;;
28811 esac
28812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28813 (eval "$ac_compile") 2>conftest.er1
28814 ac_status=$?
28815 grep -v '^ *+' conftest.er1 >conftest.err
28816 rm -f conftest.er1
28817 cat conftest.err >&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); } && {
28820 test -z "$ac_c_werror_flag" ||
28821 test ! -s conftest.err
28822 } && test -s conftest.$ac_objext; then
28823 ac_cv_type_boolean=yes
28824 else
28825 echo "$as_me: failed program was:" >&5
28826 sed 's/^/| /' conftest.$ac_ext >&5
28827
28828 ac_cv_type_boolean=no
28829 fi
28830
28831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28832 fi
28833 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28834 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28835 if test $ac_cv_type_boolean = yes; then
28836
28837 cat >>confdefs.h <<_ACEOF
28838 #define HAVE_BOOLEAN 1
28839 _ACEOF
28840
28841
28842 { echo "$as_me:$LINENO: checking for boolean" >&5
28843 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28844 if test "${ac_cv_type_boolean+set}" = set; then
28845 echo $ECHO_N "(cached) $ECHO_C" >&6
28846 else
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h. */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28853
28854 #undef HAVE_BOOLEAN
28855 #include <stdio.h>
28856 #include <jpeglib.h>
28857
28858
28859 typedef boolean ac__type_new_;
28860 int
28861 main ()
28862 {
28863 if ((ac__type_new_ *) 0)
28864 return 0;
28865 if (sizeof (ac__type_new_))
28866 return 0;
28867 ;
28868 return 0;
28869 }
28870 _ACEOF
28871 rm -f conftest.$ac_objext
28872 if { (ac_try="$ac_compile"
28873 case "(($ac_try" in
28874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28875 *) ac_try_echo=$ac_try;;
28876 esac
28877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28878 (eval "$ac_compile") 2>conftest.er1
28879 ac_status=$?
28880 grep -v '^ *+' conftest.er1 >conftest.err
28881 rm -f conftest.er1
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } && {
28885 test -z "$ac_c_werror_flag" ||
28886 test ! -s conftest.err
28887 } && test -s conftest.$ac_objext; then
28888 ac_cv_type_boolean=yes
28889 else
28890 echo "$as_me: failed program was:" >&5
28891 sed 's/^/| /' conftest.$ac_ext >&5
28892
28893 ac_cv_type_boolean=no
28894 fi
28895
28896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28897 fi
28898 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28899 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28900
28901 # The cast to long int works around a bug in the HP C Compiler
28902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28904 # This bug is HP SR number 8606223364.
28905 { echo "$as_me:$LINENO: checking size of boolean" >&5
28906 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28907 if test "${ac_cv_sizeof_boolean+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28909 else
28910 if test "$cross_compiling" = yes; then
28911 # Depending upon the size, compute the lo and hi bounds.
28912 cat >conftest.$ac_ext <<_ACEOF
28913 /* confdefs.h. */
28914 _ACEOF
28915 cat confdefs.h >>conftest.$ac_ext
28916 cat >>conftest.$ac_ext <<_ACEOF
28917 /* end confdefs.h. */
28918
28919 #undef HAVE_BOOLEAN
28920 #include <stdio.h>
28921 #include <jpeglib.h>
28922
28923
28924 typedef boolean ac__type_sizeof_;
28925 int
28926 main ()
28927 {
28928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28929 test_array [0] = 0
28930
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext
28936 if { (ac_try="$ac_compile"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28940 esac
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_compile") 2>conftest.er1
28943 ac_status=$?
28944 grep -v '^ *+' conftest.er1 >conftest.err
28945 rm -f conftest.er1
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest.$ac_objext; then
28952 ac_lo=0 ac_mid=0
28953 while :; do
28954 cat >conftest.$ac_ext <<_ACEOF
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960
28961 #undef HAVE_BOOLEAN
28962 #include <stdio.h>
28963 #include <jpeglib.h>
28964
28965
28966 typedef boolean ac__type_sizeof_;
28967 int
28968 main ()
28969 {
28970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28971 test_array [0] = 0
28972
28973 ;
28974 return 0;
28975 }
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (ac_try="$ac_compile"
28979 case "(($ac_try" in
28980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28981 *) ac_try_echo=$ac_try;;
28982 esac
28983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28984 (eval "$ac_compile") 2>conftest.er1
28985 ac_status=$?
28986 grep -v '^ *+' conftest.er1 >conftest.err
28987 rm -f conftest.er1
28988 cat conftest.err >&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } && {
28991 test -z "$ac_c_werror_flag" ||
28992 test ! -s conftest.err
28993 } && test -s conftest.$ac_objext; then
28994 ac_hi=$ac_mid; break
28995 else
28996 echo "$as_me: failed program was:" >&5
28997 sed 's/^/| /' conftest.$ac_ext >&5
28998
28999 ac_lo=`expr $ac_mid + 1`
29000 if test $ac_lo -le $ac_mid; then
29001 ac_lo= ac_hi=
29002 break
29003 fi
29004 ac_mid=`expr 2 '*' $ac_mid + 1`
29005 fi
29006
29007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29008 done
29009 else
29010 echo "$as_me: failed program was:" >&5
29011 sed 's/^/| /' conftest.$ac_ext >&5
29012
29013 cat >conftest.$ac_ext <<_ACEOF
29014 /* confdefs.h. */
29015 _ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29019
29020 #undef HAVE_BOOLEAN
29021 #include <stdio.h>
29022 #include <jpeglib.h>
29023
29024
29025 typedef boolean ac__type_sizeof_;
29026 int
29027 main ()
29028 {
29029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29030 test_array [0] = 0
29031
29032 ;
29033 return 0;
29034 }
29035 _ACEOF
29036 rm -f conftest.$ac_objext
29037 if { (ac_try="$ac_compile"
29038 case "(($ac_try" in
29039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29040 *) ac_try_echo=$ac_try;;
29041 esac
29042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29043 (eval "$ac_compile") 2>conftest.er1
29044 ac_status=$?
29045 grep -v '^ *+' conftest.er1 >conftest.err
29046 rm -f conftest.er1
29047 cat conftest.err >&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); } && {
29050 test -z "$ac_c_werror_flag" ||
29051 test ! -s conftest.err
29052 } && test -s conftest.$ac_objext; then
29053 ac_hi=-1 ac_mid=-1
29054 while :; do
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061
29062 #undef HAVE_BOOLEAN
29063 #include <stdio.h>
29064 #include <jpeglib.h>
29065
29066
29067 typedef boolean ac__type_sizeof_;
29068 int
29069 main ()
29070 {
29071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29072 test_array [0] = 0
29073
29074 ;
29075 return 0;
29076 }
29077 _ACEOF
29078 rm -f conftest.$ac_objext
29079 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
29086 ac_status=$?
29087 grep -v '^ *+' conftest.er1 >conftest.err
29088 rm -f conftest.er1
29089 cat conftest.err >&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); } && {
29092 test -z "$ac_c_werror_flag" ||
29093 test ! -s conftest.err
29094 } && test -s conftest.$ac_objext; then
29095 ac_lo=$ac_mid; break
29096 else
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29099
29100 ac_hi=`expr '(' $ac_mid ')' - 1`
29101 if test $ac_mid -le $ac_hi; then
29102 ac_lo= ac_hi=
29103 break
29104 fi
29105 ac_mid=`expr 2 '*' $ac_mid`
29106 fi
29107
29108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29109 done
29110 else
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29113
29114 ac_lo= ac_hi=
29115 fi
29116
29117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29118 fi
29119
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 # Binary search between lo and hi bounds.
29122 while test "x$ac_lo" != "x$ac_hi"; do
29123 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29124 cat >conftest.$ac_ext <<_ACEOF
29125 /* confdefs.h. */
29126 _ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130
29131 #undef HAVE_BOOLEAN
29132 #include <stdio.h>
29133 #include <jpeglib.h>
29134
29135
29136 typedef boolean ac__type_sizeof_;
29137 int
29138 main ()
29139 {
29140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29141 test_array [0] = 0
29142
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 rm -f conftest.$ac_objext
29148 if { (ac_try="$ac_compile"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29152 esac
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_compile") 2>conftest.er1
29155 ac_status=$?
29156 grep -v '^ *+' conftest.er1 >conftest.err
29157 rm -f conftest.er1
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } && {
29161 test -z "$ac_c_werror_flag" ||
29162 test ! -s conftest.err
29163 } && test -s conftest.$ac_objext; then
29164 ac_hi=$ac_mid
29165 else
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29168
29169 ac_lo=`expr '(' $ac_mid ')' + 1`
29170 fi
29171
29172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29173 done
29174 case $ac_lo in
29175 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29176 '') if test "$ac_cv_type_boolean" = yes; then
29177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29178 See \`config.log' for more details." >&5
29179 echo "$as_me: error: cannot compute sizeof (boolean)
29180 See \`config.log' for more details." >&2;}
29181 { (exit 77); exit 77; }; }
29182 else
29183 ac_cv_sizeof_boolean=0
29184 fi ;;
29185 esac
29186 else
29187 cat >conftest.$ac_ext <<_ACEOF
29188 /* confdefs.h. */
29189 _ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29193
29194 #undef HAVE_BOOLEAN
29195 #include <stdio.h>
29196 #include <jpeglib.h>
29197
29198
29199 typedef boolean ac__type_sizeof_;
29200 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29201 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29202 #include <stdio.h>
29203 #include <stdlib.h>
29204 int
29205 main ()
29206 {
29207
29208 FILE *f = fopen ("conftest.val", "w");
29209 if (! f)
29210 return 1;
29211 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29212 {
29213 long int i = longval ();
29214 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29215 return 1;
29216 fprintf (f, "%ld\n", i);
29217 }
29218 else
29219 {
29220 unsigned long int i = ulongval ();
29221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29222 return 1;
29223 fprintf (f, "%lu\n", i);
29224 }
29225 return ferror (f) || fclose (f) != 0;
29226
29227 ;
29228 return 0;
29229 }
29230 _ACEOF
29231 rm -f conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29236 esac
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>&5
29239 ac_status=$?
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29242 { (case "(($ac_try" in
29243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29244 *) ac_try_echo=$ac_try;;
29245 esac
29246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29247 (eval "$ac_try") 2>&5
29248 ac_status=$?
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251 ac_cv_sizeof_boolean=`cat conftest.val`
29252 else
29253 echo "$as_me: program exited with status $ac_status" >&5
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.$ac_ext >&5
29256
29257 ( exit $ac_status )
29258 if test "$ac_cv_type_boolean" = yes; then
29259 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29260 See \`config.log' for more details." >&5
29261 echo "$as_me: error: cannot compute sizeof (boolean)
29262 See \`config.log' for more details." >&2;}
29263 { (exit 77); exit 77; }; }
29264 else
29265 ac_cv_sizeof_boolean=0
29266 fi
29267 fi
29268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29269 fi
29270 rm -f conftest.val
29271 fi
29272 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29273 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29274
29275
29276
29277 cat >>confdefs.h <<_ACEOF
29278 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29279 _ACEOF
29280
29281
29282 cat >>confdefs.h <<_ACEOF
29283 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29284 _ACEOF
29285
29286
29287 fi
29288
29289 fi
29290 fi
29291 fi
29292 fi
29293 fi
29294
29295
29296 TIFF_LINK=
29297 TIFF_PREREQ_LINKS=-lm
29298 if test "$wxUSE_LIBTIFF" != "no" ; then
29299 cat >>confdefs.h <<\_ACEOF
29300 #define wxUSE_LIBTIFF 1
29301 _ACEOF
29302
29303
29304 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29305 if test "$wxUSE_LIBJPEG" = "sys"; then
29306 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29307 fi
29308 if test "$wxUSE_ZLIB" = "sys"; then
29309 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29310 fi
29311 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29312 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29313 if test "${ac_cv_header_tiffio_h+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322
29323
29324
29325 #include <tiffio.h>
29326 _ACEOF
29327 rm -f conftest.$ac_objext
29328 if { (ac_try="$ac_compile"
29329 case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29332 esac
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_compile") 2>conftest.er1
29335 ac_status=$?
29336 grep -v '^ *+' conftest.er1 >conftest.err
29337 rm -f conftest.er1
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } && {
29341 test -z "$ac_c_werror_flag" ||
29342 test ! -s conftest.err
29343 } && test -s conftest.$ac_objext; then
29344 ac_cv_header_tiffio_h=yes
29345 else
29346 echo "$as_me: failed program was:" >&5
29347 sed 's/^/| /' conftest.$ac_ext >&5
29348
29349 ac_cv_header_tiffio_h=no
29350 fi
29351
29352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29353 fi
29354 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29355 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29356 if test $ac_cv_header_tiffio_h = yes; then
29357
29358 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29359 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29360 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29361 echo $ECHO_N "(cached) $ECHO_C" >&6
29362 else
29363 ac_check_lib_save_LIBS=$LIBS
29364 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29365 cat >conftest.$ac_ext <<_ACEOF
29366 /* confdefs.h. */
29367 _ACEOF
29368 cat confdefs.h >>conftest.$ac_ext
29369 cat >>conftest.$ac_ext <<_ACEOF
29370 /* end confdefs.h. */
29371
29372 /* Override any GCC internal prototype to avoid an error.
29373 Use char because int might match the return type of a GCC
29374 builtin and then its argument prototype would still apply. */
29375 #ifdef __cplusplus
29376 extern "C"
29377 #endif
29378 char TIFFError ();
29379 int
29380 main ()
29381 {
29382 return TIFFError ();
29383 ;
29384 return 0;
29385 }
29386 _ACEOF
29387 rm -f conftest.$ac_objext conftest$ac_exeext
29388 if { (ac_try="$ac_link"
29389 case "(($ac_try" in
29390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29391 *) ac_try_echo=$ac_try;;
29392 esac
29393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29394 (eval "$ac_link") 2>conftest.er1
29395 ac_status=$?
29396 grep -v '^ *+' conftest.er1 >conftest.err
29397 rm -f conftest.er1
29398 cat conftest.err >&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); } && {
29401 test -z "$ac_c_werror_flag" ||
29402 test ! -s conftest.err
29403 } && test -s conftest$ac_exeext &&
29404 $as_test_x conftest$ac_exeext; then
29405 ac_cv_lib_tiff_TIFFError=yes
29406 else
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29409
29410 ac_cv_lib_tiff_TIFFError=no
29411 fi
29412
29413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29414 conftest$ac_exeext conftest.$ac_ext
29415 LIBS=$ac_check_lib_save_LIBS
29416 fi
29417 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29418 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29419 if test $ac_cv_lib_tiff_TIFFError = yes; then
29420 TIFF_LINK=" -ltiff"
29421 fi
29422
29423
29424 fi
29425
29426
29427
29428 if test "x$TIFF_LINK" = "x" ; then
29429 if test "$wxUSE_LIBTIFF" = "sys" ; then
29430 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29431 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29432 { (exit 1); exit 1; }; }
29433 else
29434 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29435 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29436 wxUSE_LIBTIFF=builtin
29437 fi
29438 else
29439 wxUSE_LIBTIFF=sys
29440 fi
29441 fi
29442 fi
29443
29444
29445 if test "$wxUSE_WCHAR_T" != "yes"; then
29446 if test "$wxUSE_EXPAT" != "no"; then
29447 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29448 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29449 wxUSE_EXPAT=no
29450 fi
29451 if test "$wxUSE_XML" != "no"; then
29452 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29453 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29454 wxUSE_XML=no
29455 fi
29456 fi
29457
29458 if test "$wxUSE_EXPAT" != "no"; then
29459 wxUSE_XML=yes
29460 cat >>confdefs.h <<\_ACEOF
29461 #define wxUSE_EXPAT 1
29462 _ACEOF
29463
29464 cat >>confdefs.h <<\_ACEOF
29465 #define wxUSE_XML 1
29466 _ACEOF
29467
29468
29469 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29470 { echo "$as_me:$LINENO: checking for expat.h" >&5
29471 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29472 if test "${ac_cv_header_expat_h+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475 cat >conftest.$ac_ext <<_ACEOF
29476 /* confdefs.h. */
29477 _ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29481
29482
29483 #include <expat.h>
29484 _ACEOF
29485 rm -f conftest.$ac_objext
29486 if { (ac_try="$ac_compile"
29487 case "(($ac_try" in
29488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29489 *) ac_try_echo=$ac_try;;
29490 esac
29491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29492 (eval "$ac_compile") 2>conftest.er1
29493 ac_status=$?
29494 grep -v '^ *+' conftest.er1 >conftest.err
29495 rm -f conftest.er1
29496 cat conftest.err >&5
29497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498 (exit $ac_status); } && {
29499 test -z "$ac_c_werror_flag" ||
29500 test ! -s conftest.err
29501 } && test -s conftest.$ac_objext; then
29502 ac_cv_header_expat_h=yes
29503 else
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.$ac_ext >&5
29506
29507 ac_cv_header_expat_h=no
29508 fi
29509
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 fi
29512 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29513 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29514 if test $ac_cv_header_expat_h = yes; then
29515 found_expat_h=1
29516 fi
29517
29518
29519 if test "x$found_expat_h" = "x1"; then
29520 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29521 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29522 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 else
29525
29526 ac_ext=cpp
29527 ac_cpp='$CXXCPP $CPPFLAGS'
29528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29531
29532 cat >conftest.$ac_ext <<_ACEOF
29533 /* confdefs.h. */
29534 _ACEOF
29535 cat confdefs.h >>conftest.$ac_ext
29536 cat >>conftest.$ac_ext <<_ACEOF
29537 /* end confdefs.h. */
29538 #include <expat.h>
29539 int
29540 main ()
29541 {
29542
29543 ;
29544 return 0;
29545 }
29546 _ACEOF
29547 rm -f conftest.$ac_objext
29548 if { (ac_try="$ac_compile"
29549 case "(($ac_try" in
29550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29551 *) ac_try_echo=$ac_try;;
29552 esac
29553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29554 (eval "$ac_compile") 2>conftest.er1
29555 ac_status=$?
29556 grep -v '^ *+' conftest.er1 >conftest.err
29557 rm -f conftest.er1
29558 cat conftest.err >&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); } && {
29561 test -z "$ac_cxx_werror_flag" ||
29562 test ! -s conftest.err
29563 } && test -s conftest.$ac_objext; then
29564 wx_cv_expat_is_not_broken=yes
29565 else
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29568
29569 wx_cv_expat_is_not_broken=no
29570
29571 fi
29572
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579
29580
29581
29582 fi
29583 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29584 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29585 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29586 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29587 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29588 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29590 else
29591 ac_check_lib_save_LIBS=$LIBS
29592 LIBS="-lexpat $LIBS"
29593 cat >conftest.$ac_ext <<_ACEOF
29594 /* confdefs.h. */
29595 _ACEOF
29596 cat confdefs.h >>conftest.$ac_ext
29597 cat >>conftest.$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29599
29600 /* Override any GCC internal prototype to avoid an error.
29601 Use char because int might match the return type of a GCC
29602 builtin and then its argument prototype would still apply. */
29603 #ifdef __cplusplus
29604 extern "C"
29605 #endif
29606 char XML_ParserCreate ();
29607 int
29608 main ()
29609 {
29610 return XML_ParserCreate ();
29611 ;
29612 return 0;
29613 }
29614 _ACEOF
29615 rm -f conftest.$ac_objext conftest$ac_exeext
29616 if { (ac_try="$ac_link"
29617 case "(($ac_try" in
29618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29619 *) ac_try_echo=$ac_try;;
29620 esac
29621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29622 (eval "$ac_link") 2>conftest.er1
29623 ac_status=$?
29624 grep -v '^ *+' conftest.er1 >conftest.err
29625 rm -f conftest.er1
29626 cat conftest.err >&5
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); } && {
29629 test -z "$ac_c_werror_flag" ||
29630 test ! -s conftest.err
29631 } && test -s conftest$ac_exeext &&
29632 $as_test_x conftest$ac_exeext; then
29633 ac_cv_lib_expat_XML_ParserCreate=yes
29634 else
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.$ac_ext >&5
29637
29638 ac_cv_lib_expat_XML_ParserCreate=no
29639 fi
29640
29641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29642 conftest$ac_exeext conftest.$ac_ext
29643 LIBS=$ac_check_lib_save_LIBS
29644 fi
29645 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29646 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29647 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29648 EXPAT_LINK=" -lexpat"
29649 fi
29650
29651 fi
29652 fi
29653 if test "x$EXPAT_LINK" = "x" ; then
29654 if test "$wxUSE_EXPAT" = "sys" ; then
29655 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29656 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29657 { (exit 1); exit 1; }; }
29658 else
29659 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29660 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29661 wxUSE_EXPAT=builtin
29662 fi
29663 else
29664 wxUSE_EXPAT=sys
29665 fi
29666 fi
29667 if test "$wxUSE_EXPAT" = "builtin" ; then
29668 subdirs="$subdirs src/expat"
29669
29670 fi
29671 fi
29672
29673
29674
29675 if test "$wxUSE_LIBMSPACK" != "no"; then
29676 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29677 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29678 if test "${ac_cv_header_mspack_h+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29680 else
29681 cat >conftest.$ac_ext <<_ACEOF
29682 /* confdefs.h. */
29683 _ACEOF
29684 cat confdefs.h >>conftest.$ac_ext
29685 cat >>conftest.$ac_ext <<_ACEOF
29686 /* end confdefs.h. */
29687
29688
29689 #include <mspack.h>
29690 _ACEOF
29691 rm -f conftest.$ac_objext
29692 if { (ac_try="$ac_compile"
29693 case "(($ac_try" in
29694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29695 *) ac_try_echo=$ac_try;;
29696 esac
29697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29698 (eval "$ac_compile") 2>conftest.er1
29699 ac_status=$?
29700 grep -v '^ *+' conftest.er1 >conftest.err
29701 rm -f conftest.er1
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } && {
29705 test -z "$ac_c_werror_flag" ||
29706 test ! -s conftest.err
29707 } && test -s conftest.$ac_objext; then
29708 ac_cv_header_mspack_h=yes
29709 else
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29712
29713 ac_cv_header_mspack_h=no
29714 fi
29715
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 fi
29718 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29719 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29720 if test $ac_cv_header_mspack_h = yes; then
29721 found_mspack_h=1
29722 fi
29723
29724
29725 if test "x$found_mspack_h" = "x1"; then
29726 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29727 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29728 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731 ac_check_lib_save_LIBS=$LIBS
29732 LIBS="-lmspack $LIBS"
29733 cat >conftest.$ac_ext <<_ACEOF
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739
29740 /* Override any GCC internal prototype to avoid an error.
29741 Use char because int might match the return type of a GCC
29742 builtin and then its argument prototype would still apply. */
29743 #ifdef __cplusplus
29744 extern "C"
29745 #endif
29746 char mspack_create_chm_decompressor ();
29747 int
29748 main ()
29749 {
29750 return mspack_create_chm_decompressor ();
29751 ;
29752 return 0;
29753 }
29754 _ACEOF
29755 rm -f conftest.$ac_objext conftest$ac_exeext
29756 if { (ac_try="$ac_link"
29757 case "(($ac_try" in
29758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29759 *) ac_try_echo=$ac_try;;
29760 esac
29761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29762 (eval "$ac_link") 2>conftest.er1
29763 ac_status=$?
29764 grep -v '^ *+' conftest.er1 >conftest.err
29765 rm -f conftest.er1
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } && {
29769 test -z "$ac_c_werror_flag" ||
29770 test ! -s conftest.err
29771 } && test -s conftest$ac_exeext &&
29772 $as_test_x conftest$ac_exeext; then
29773 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29774 else
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29777
29778 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29779 fi
29780
29781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29784 fi
29785 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29786 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29787 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29788 MSPACK_LINK=" -lmspack"
29789 fi
29790
29791 fi
29792 if test "x$MSPACK_LINK" = "x" ; then
29793 wxUSE_LIBMSPACK=no
29794 fi
29795 fi
29796
29797 if test "$wxUSE_LIBMSPACK" != "no"; then
29798 cat >>confdefs.h <<\_ACEOF
29799 #define wxUSE_LIBMSPACK 1
29800 _ACEOF
29801
29802 fi
29803
29804
29805
29806 AFMINSTALL=
29807 WIN32INSTALL=
29808
29809 TOOLKIT=
29810 TOOLKIT_INCLUDE=
29811 WIDGET_SET=
29812
29813 if test "$USE_WIN32" = 1 ; then
29814
29815 for ac_header in w32api.h
29816 do
29817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823 cat >conftest.$ac_ext <<_ACEOF
29824 /* confdefs.h. */
29825 _ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29829
29830
29831 #include <$ac_header>
29832 _ACEOF
29833 rm -f conftest.$ac_objext
29834 if { (ac_try="$ac_compile"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29838 esac
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_compile") 2>conftest.er1
29841 ac_status=$?
29842 grep -v '^ *+' conftest.er1 >conftest.err
29843 rm -f conftest.er1
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); } && {
29847 test -z "$ac_c_werror_flag" ||
29848 test ! -s conftest.err
29849 } && test -s conftest.$ac_objext; then
29850 eval "$as_ac_Header=yes"
29851 else
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29854
29855 eval "$as_ac_Header=no"
29856 fi
29857
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29859 fi
29860 ac_res=`eval echo '${'$as_ac_Header'}'`
29861 { echo "$as_me:$LINENO: result: $ac_res" >&5
29862 echo "${ECHO_T}$ac_res" >&6; }
29863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29864 cat >>confdefs.h <<_ACEOF
29865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29866 _ACEOF
29867
29868 fi
29869
29870 done
29871
29872 { echo "$as_me:$LINENO: checking for windows.h" >&5
29873 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29874 if test "${ac_cv_header_windows_h+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 else
29877 cat >conftest.$ac_ext <<_ACEOF
29878 /* confdefs.h. */
29879 _ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29883
29884
29885 #include <windows.h>
29886 _ACEOF
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29892 esac
29893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29895 ac_status=$?
29896 grep -v '^ *+' conftest.er1 >conftest.err
29897 rm -f conftest.er1
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 ac_cv_header_windows_h=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 ac_cv_header_windows_h=no
29910 fi
29911
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29913 fi
29914 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29916 if test $ac_cv_header_windows_h = yes; then
29917 :
29918 else
29919
29920 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29921 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29922 { (exit 1); exit 1; }; }
29923
29924 fi
29925
29926
29927
29928 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29929
29930 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29931 LIBS="$LIBS -loleacc"
29932 fi
29933
29934 case "${host}" in
29935 *-*-cygwin* )
29936 LIBS="$LIBS -lkernel32 -luser32"
29937 esac
29938
29939 if test "$wxUSE_ODBC" = "sys" ; then
29940 wxUSE_ODBC = "yes"
29941 fi
29942 if test "$wxUSE_ODBC" = "yes" ; then
29943 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29944 cat >>confdefs.h <<\_ACEOF
29945 #define wxUSE_ODBC 1
29946 _ACEOF
29947
29948 fi
29949
29950 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29951 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29952
29953 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29954
29955 WIN32INSTALL=win32install
29956
29957 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29958 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29959 if test "${ac_cv_header_pbt_h+set}" = set; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29961 else
29962 cat >conftest.$ac_ext <<_ACEOF
29963 /* confdefs.h. */
29964 _ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29968
29969
29970 #include <pbt.h>
29971 _ACEOF
29972 rm -f conftest.$ac_objext
29973 if { (ac_try="$ac_compile"
29974 case "(($ac_try" in
29975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29976 *) ac_try_echo=$ac_try;;
29977 esac
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979 (eval "$ac_compile") 2>conftest.er1
29980 ac_status=$?
29981 grep -v '^ *+' conftest.er1 >conftest.err
29982 rm -f conftest.er1
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } && {
29986 test -z "$ac_c_werror_flag" ||
29987 test ! -s conftest.err
29988 } && test -s conftest.$ac_objext; then
29989 ac_cv_header_pbt_h=yes
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994 ac_cv_header_pbt_h=no
29995 fi
29996
29997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29998 fi
29999 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30000 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30001 if test $ac_cv_header_pbt_h = yes; then
30002 :
30003 else
30004 cat >>confdefs.h <<\_ACEOF
30005 #define NEED_PBT_H 1
30006 _ACEOF
30007
30008 fi
30009
30010
30011 fi
30012
30013 if test "$wxUSE_GUI" = "yes"; then
30014 USE_GUI=1
30015
30016 GUI_TK_LIBRARY=
30017
30018 WXGTK12=
30019 WXGTK127=
30020 WXGTK20=
30021 WXGPE=
30022
30023 if test "$wxUSE_COCOA" = 1 ; then
30024 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30025 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30026 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30027 wxUSE_PRINTING_ARCHITECTURE=no
30028 fi
30029 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30030 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30031 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30032 wxUSE_DRAG_AND_DROP=no
30033 fi
30034 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30035 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30036 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30037 wxUSE_DRAGIMAGE=no
30038 fi
30039 fi
30040
30041 if test "$wxUSE_MSW" = 1 ; then
30042 TOOLKIT=MSW
30043 GUIDIST=MSW_DIST
30044
30045 case "${host}" in
30046 *-*-mingw32* )
30047 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30048 esac
30049 fi
30050
30051 if test "$wxUSE_GTK" = 1; then
30052 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30053 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30054
30055 gtk_version_cached=1
30056 if test "${wx_cv_lib_gtk+set}" = set; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 else
30059
30060 gtk_version_cached=0
30061 { echo "$as_me:$LINENO: result: " >&5
30062 echo "${ECHO_T}" >&6; }
30063
30064 GTK_MODULES=
30065 if test "$wxUSE_THREADS" = "yes"; then
30066 GTK_MODULES=gthread
30067 fi
30068
30069 wx_cv_lib_gtk=
30070 if test "x$wxGTK_VERSION" != "x1"
30071 then
30072 case "${host}" in
30073 *-*-solaris2* )
30074 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30075 enable_gtktest=no
30076 fi
30077 esac
30078
30079 # Check whether --enable-gtktest was given.
30080 if test "${enable_gtktest+set}" = set; then
30081 enableval=$enable_gtktest;
30082 else
30083 enable_gtktest=yes
30084 fi
30085
30086
30087 pkg_config_args=gtk+-2.0
30088 for module in . $GTK_MODULES
30089 do
30090 case "$module" in
30091 gthread)
30092 pkg_config_args="$pkg_config_args gthread-2.0"
30093 ;;
30094 esac
30095 done
30096
30097 no_gtk=""
30098
30099 # Extract the first word of "pkg-config", so it can be a program name with args.
30100 set dummy pkg-config; ac_word=$2
30101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30103 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30104 echo $ECHO_N "(cached) $ECHO_C" >&6
30105 else
30106 case $PKG_CONFIG in
30107 [\\/]* | ?:[\\/]*)
30108 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30109 ;;
30110 *)
30111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30112 for as_dir in $PATH
30113 do
30114 IFS=$as_save_IFS
30115 test -z "$as_dir" && as_dir=.
30116 for ac_exec_ext in '' $ac_executable_extensions; do
30117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30118 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30120 break 2
30121 fi
30122 done
30123 done
30124 IFS=$as_save_IFS
30125
30126 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30127 ;;
30128 esac
30129 fi
30130 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30131 if test -n "$PKG_CONFIG"; then
30132 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30133 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30134 else
30135 { echo "$as_me:$LINENO: result: no" >&5
30136 echo "${ECHO_T}no" >&6; }
30137 fi
30138
30139
30140
30141 if test x$PKG_CONFIG != xno ; then
30142 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30143 :
30144 else
30145 echo "*** pkg-config too old; version 0.7 or better required."
30146 no_gtk=yes
30147 PKG_CONFIG=no
30148 fi
30149 else
30150 no_gtk=yes
30151 fi
30152
30153 min_gtk_version=2.0.0
30154 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30155 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30156
30157 if test x$PKG_CONFIG != xno ; then
30158 ## don't try to run the test against uninstalled libtool libs
30159 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30160 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30161 enable_gtktest=no
30162 fi
30163
30164 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30165 :
30166 else
30167 no_gtk=yes
30168 fi
30169 fi
30170
30171 if test x"$no_gtk" = x ; then
30172 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30173 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30174 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30176 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30178 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30180 if test "x$enable_gtktest" = "xyes" ; then
30181 ac_save_CFLAGS="$CFLAGS"
30182 ac_save_LIBS="$LIBS"
30183 CFLAGS="$CFLAGS $GTK_CFLAGS"
30184 LIBS="$GTK_LIBS $LIBS"
30185 rm -f conf.gtktest
30186 if test "$cross_compiling" = yes; then
30187 echo $ac_n "cross compiling; assumed OK... $ac_c"
30188 else
30189 cat >conftest.$ac_ext <<_ACEOF
30190 /* confdefs.h. */
30191 _ACEOF
30192 cat confdefs.h >>conftest.$ac_ext
30193 cat >>conftest.$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30195
30196 #include <gtk/gtk.h>
30197 #include <stdio.h>
30198 #include <stdlib.h>
30199
30200 int
30201 main ()
30202 {
30203 int major, minor, micro;
30204 char *tmp_version;
30205
30206 system ("touch conf.gtktest");
30207
30208 /* HP/UX 9 (%@#!) writes to sscanf strings */
30209 tmp_version = g_strdup("$min_gtk_version");
30210 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30211 printf("%s, bad version string\n", "$min_gtk_version");
30212 exit(1);
30213 }
30214
30215 if ((gtk_major_version != $gtk_config_major_version) ||
30216 (gtk_minor_version != $gtk_config_minor_version) ||
30217 (gtk_micro_version != $gtk_config_micro_version))
30218 {
30219 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30220 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30221 gtk_major_version, gtk_minor_version, gtk_micro_version);
30222 printf ("*** was found! If pkg-config was correct, then it is best\n");
30223 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30224 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30225 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30226 printf("*** required on your system.\n");
30227 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30228 printf("*** to point to the correct configuration files\n");
30229 }
30230 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30231 (gtk_minor_version != GTK_MINOR_VERSION) ||
30232 (gtk_micro_version != GTK_MICRO_VERSION))
30233 {
30234 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30235 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30236 printf("*** library (version %d.%d.%d)\n",
30237 gtk_major_version, gtk_minor_version, gtk_micro_version);
30238 }
30239 else
30240 {
30241 if ((gtk_major_version > major) ||
30242 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30243 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30244 {
30245 return 0;
30246 }
30247 else
30248 {
30249 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30250 gtk_major_version, gtk_minor_version, gtk_micro_version);
30251 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30252 major, minor, micro);
30253 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30254 printf("***\n");
30255 printf("*** If you have already installed a sufficiently new version, this error\n");
30256 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30257 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30258 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30259 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30260 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30261 printf("*** so that the correct libraries are found at run-time))\n");
30262 }
30263 }
30264 return 1;
30265 }
30266
30267 _ACEOF
30268 rm -f conftest$ac_exeext
30269 if { (ac_try="$ac_link"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30273 esac
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_link") 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30279 { (case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30281 *) ac_try_echo=$ac_try;;
30282 esac
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_try") 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; }; then
30288 :
30289 else
30290 echo "$as_me: program exited with status $ac_status" >&5
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30293
30294 ( exit $ac_status )
30295 no_gtk=yes
30296 fi
30297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30298 fi
30299
30300
30301 CFLAGS="$ac_save_CFLAGS"
30302 LIBS="$ac_save_LIBS"
30303 fi
30304 fi
30305 if test "x$no_gtk" = x ; then
30306 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30307 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30308 wx_cv_lib_gtk=2.0
30309 else
30310 { echo "$as_me:$LINENO: result: no" >&5
30311 echo "${ECHO_T}no" >&6; }
30312 if test "$PKG_CONFIG" = "no" ; then
30313 echo "*** A new enough version of pkg-config was not found."
30314 echo "*** See http://pkgconfig.sourceforge.net"
30315 else
30316 if test -f conf.gtktest ; then
30317 :
30318 else
30319 echo "*** Could not run GTK+ test program, checking why..."
30320 ac_save_CFLAGS="$CFLAGS"
30321 ac_save_LIBS="$LIBS"
30322 CFLAGS="$CFLAGS $GTK_CFLAGS"
30323 LIBS="$LIBS $GTK_LIBS"
30324 cat >conftest.$ac_ext <<_ACEOF
30325 /* confdefs.h. */
30326 _ACEOF
30327 cat confdefs.h >>conftest.$ac_ext
30328 cat >>conftest.$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30330
30331 #include <gtk/gtk.h>
30332 #include <stdio.h>
30333
30334 int
30335 main ()
30336 {
30337 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30338 ;
30339 return 0;
30340 }
30341 _ACEOF
30342 rm -f conftest.$ac_objext conftest$ac_exeext
30343 if { (ac_try="$ac_link"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30347 esac
30348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_link") 2>conftest.er1
30350 ac_status=$?
30351 grep -v '^ *+' conftest.er1 >conftest.err
30352 rm -f conftest.er1
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } && {
30356 test -z "$ac_c_werror_flag" ||
30357 test ! -s conftest.err
30358 } && test -s conftest$ac_exeext &&
30359 $as_test_x conftest$ac_exeext; then
30360 echo "*** The test program compiled, but did not run. This usually means"
30361 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30362 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30363 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30364 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30365 echo "*** is required on your system"
30366 echo "***"
30367 echo "*** If you have an old version installed, it is best to remove it, although"
30368 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30369 else
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.$ac_ext >&5
30372
30373 echo "*** The test program failed to compile or link. See the file config.log for the"
30374 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30375 fi
30376
30377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30378 conftest$ac_exeext conftest.$ac_ext
30379 CFLAGS="$ac_save_CFLAGS"
30380 LIBS="$ac_save_LIBS"
30381 fi
30382 fi
30383 GTK_CFLAGS=""
30384 GTK_LIBS=""
30385 :
30386 fi
30387
30388
30389 rm -f conf.gtktest
30390
30391
30392 case "${host}" in
30393 *-*-solaris2* )
30394 if test "$wxUSE_SHARED" != "yes"; then
30395 GTK_LIBS="$GTK_LIBS -lX11"
30396 fi
30397 esac
30398 fi
30399
30400 if test -z "$wx_cv_lib_gtk"; then
30401 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30402
30403 # Check whether --with-gtk-prefix was given.
30404 if test "${with_gtk_prefix+set}" = set; then
30405 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30406 else
30407 gtk_config_prefix=""
30408 fi
30409
30410
30411 # Check whether --with-gtk-exec-prefix was given.
30412 if test "${with_gtk_exec_prefix+set}" = set; then
30413 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30414 else
30415 gtk_config_exec_prefix=""
30416 fi
30417
30418 # Check whether --enable-gtktest was given.
30419 if test "${enable_gtktest+set}" = set; then
30420 enableval=$enable_gtktest;
30421 else
30422 enable_gtktest=yes
30423 fi
30424
30425
30426 for module in . $GTK_MODULES
30427 do
30428 case "$module" in
30429 gthread)
30430 gtk_config_args="$gtk_config_args gthread"
30431 ;;
30432 esac
30433 done
30434
30435 if test x$gtk_config_exec_prefix != x ; then
30436 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30437 if test x${GTK_CONFIG+set} != xset ; then
30438 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30439 fi
30440 fi
30441 if test x$gtk_config_prefix != x ; then
30442 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30443 if test x${GTK_CONFIG+set} != xset ; then
30444 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30445 fi
30446 fi
30447
30448 # Extract the first word of "gtk-config", so it can be a program name with args.
30449 set dummy gtk-config; ac_word=$2
30450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30452 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 case $GTK_CONFIG in
30456 [\\/]* | ?:[\\/]*)
30457 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30458 ;;
30459 *)
30460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30461 for as_dir in $PATH
30462 do
30463 IFS=$as_save_IFS
30464 test -z "$as_dir" && as_dir=.
30465 for ac_exec_ext in '' $ac_executable_extensions; do
30466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30467 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30469 break 2
30470 fi
30471 done
30472 done
30473 IFS=$as_save_IFS
30474
30475 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30476 ;;
30477 esac
30478 fi
30479 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30480 if test -n "$GTK_CONFIG"; then
30481 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30482 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30483 else
30484 { echo "$as_me:$LINENO: result: no" >&5
30485 echo "${ECHO_T}no" >&6; }
30486 fi
30487
30488
30489 min_gtk_version=1.2.7
30490 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30491 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30492 no_gtk=""
30493 if test "$GTK_CONFIG" = "no" ; then
30494 no_gtk=yes
30495 else
30496 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30497 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30498 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30500 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30502 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30504 if test "x$enable_gtktest" = "xyes" ; then
30505 ac_save_CFLAGS="$CFLAGS"
30506 ac_save_LIBS="$LIBS"
30507 CFLAGS="$CFLAGS $GTK_CFLAGS"
30508 LIBS="$GTK_LIBS $LIBS"
30509 rm -f conf.gtktest
30510 if test "$cross_compiling" = yes; then
30511 echo $ac_n "cross compiling; assumed OK... $ac_c"
30512 else
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519
30520 #include <gtk/gtk.h>
30521 #include <stdio.h>
30522 #include <stdlib.h>
30523
30524 int
30525 main ()
30526 {
30527 int major, minor, micro;
30528 char *tmp_version;
30529
30530 system ("touch conf.gtktest");
30531
30532 /* HP/UX 9 (%@#!) writes to sscanf strings */
30533 tmp_version = g_strdup("$min_gtk_version");
30534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30535 printf("%s, bad version string\n", "$min_gtk_version");
30536 exit(1);
30537 }
30538
30539 if ((gtk_major_version != $gtk_config_major_version) ||
30540 (gtk_minor_version != $gtk_config_minor_version) ||
30541 (gtk_micro_version != $gtk_config_micro_version))
30542 {
30543 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30545 gtk_major_version, gtk_minor_version, gtk_micro_version);
30546 printf ("*** was found! If gtk-config was correct, then it is best\n");
30547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30550 printf("*** required on your system.\n");
30551 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30552 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30553 printf("*** before re-running configure\n");
30554 }
30555 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30557 (gtk_minor_version != GTK_MINOR_VERSION) ||
30558 (gtk_micro_version != GTK_MICRO_VERSION))
30559 {
30560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30562 printf("*** library (version %d.%d.%d)\n",
30563 gtk_major_version, gtk_minor_version, gtk_micro_version);
30564 }
30565 #endif /* defined (GTK_MAJOR_VERSION) ... */
30566 else
30567 {
30568 if ((gtk_major_version > major) ||
30569 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30570 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30571 {
30572 return 0;
30573 }
30574 else
30575 {
30576 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30577 gtk_major_version, gtk_minor_version, gtk_micro_version);
30578 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30579 major, minor, micro);
30580 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30581 printf("***\n");
30582 printf("*** If you have already installed a sufficiently new version, this error\n");
30583 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30584 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30585 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30586 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30587 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30588 printf("*** so that the correct libraries are found at run-time))\n");
30589 }
30590 }
30591 return 1;
30592 }
30593
30594 _ACEOF
30595 rm -f conftest$ac_exeext
30596 if { (ac_try="$ac_link"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30600 esac
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_link") 2>&5
30603 ac_status=$?
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30606 { (case "(($ac_try" in
30607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30608 *) ac_try_echo=$ac_try;;
30609 esac
30610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30611 (eval "$ac_try") 2>&5
30612 ac_status=$?
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); }; }; then
30615 :
30616 else
30617 echo "$as_me: program exited with status $ac_status" >&5
30618 echo "$as_me: failed program was:" >&5
30619 sed 's/^/| /' conftest.$ac_ext >&5
30620
30621 ( exit $ac_status )
30622 no_gtk=yes
30623 fi
30624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30625 fi
30626
30627
30628 CFLAGS="$ac_save_CFLAGS"
30629 LIBS="$ac_save_LIBS"
30630 fi
30631 fi
30632 if test "x$no_gtk" = x ; then
30633 { echo "$as_me:$LINENO: result: yes" >&5
30634 echo "${ECHO_T}yes" >&6; }
30635 wx_cv_lib_gtk=1.2.7
30636 else
30637 { echo "$as_me:$LINENO: result: no" >&5
30638 echo "${ECHO_T}no" >&6; }
30639 if test "$GTK_CONFIG" = "no" ; then
30640 echo "*** The gtk-config script installed by GTK could not be found"
30641 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30642 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30643 echo "*** full path to gtk-config."
30644 else
30645 if test -f conf.gtktest ; then
30646 :
30647 else
30648 echo "*** Could not run GTK test program, checking why..."
30649 CFLAGS="$CFLAGS $GTK_CFLAGS"
30650 LIBS="$LIBS $GTK_LIBS"
30651 cat >conftest.$ac_ext <<_ACEOF
30652 /* confdefs.h. */
30653 _ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30657
30658 #include <gtk/gtk.h>
30659 #include <stdio.h>
30660
30661 int
30662 main ()
30663 {
30664 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30665 ;
30666 return 0;
30667 }
30668 _ACEOF
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30673 *) ac_try_echo=$ac_try;;
30674 esac
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30677 ac_status=$?
30678 grep -v '^ *+' conftest.er1 >conftest.err
30679 rm -f conftest.er1
30680 cat conftest.err >&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest$ac_exeext &&
30686 $as_test_x conftest$ac_exeext; then
30687 echo "*** The test program compiled, but did not run. This usually means"
30688 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30689 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30690 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30691 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30692 echo "*** is required on your system"
30693 echo "***"
30694 echo "*** If you have an old version installed, it is best to remove it, although"
30695 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30696 echo "***"
30697 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30698 echo "*** came with the system with the command"
30699 echo "***"
30700 echo "*** rpm --erase --nodeps gtk gtk-devel"
30701 else
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.$ac_ext >&5
30704
30705 echo "*** The test program failed to compile or link. See the file config.log for the"
30706 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30707 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30708 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30709 fi
30710
30711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30712 conftest$ac_exeext conftest.$ac_ext
30713 CFLAGS="$ac_save_CFLAGS"
30714 LIBS="$ac_save_LIBS"
30715 fi
30716 fi
30717 GTK_CFLAGS=""
30718 GTK_LIBS=""
30719 :
30720 fi
30721
30722
30723 rm -f conf.gtktest
30724
30725
30726 if test -z "$wx_cv_lib_gtk"; then
30727
30728 # Check whether --with-gtk-prefix was given.
30729 if test "${with_gtk_prefix+set}" = set; then
30730 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30731 else
30732 gtk_config_prefix=""
30733 fi
30734
30735
30736 # Check whether --with-gtk-exec-prefix was given.
30737 if test "${with_gtk_exec_prefix+set}" = set; then
30738 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30739 else
30740 gtk_config_exec_prefix=""
30741 fi
30742
30743 # Check whether --enable-gtktest was given.
30744 if test "${enable_gtktest+set}" = set; then
30745 enableval=$enable_gtktest;
30746 else
30747 enable_gtktest=yes
30748 fi
30749
30750
30751 for module in . $GTK_MODULES
30752 do
30753 case "$module" in
30754 gthread)
30755 gtk_config_args="$gtk_config_args gthread"
30756 ;;
30757 esac
30758 done
30759
30760 if test x$gtk_config_exec_prefix != x ; then
30761 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30762 if test x${GTK_CONFIG+set} != xset ; then
30763 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30764 fi
30765 fi
30766 if test x$gtk_config_prefix != x ; then
30767 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30768 if test x${GTK_CONFIG+set} != xset ; then
30769 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30770 fi
30771 fi
30772
30773 # Extract the first word of "gtk-config", so it can be a program name with args.
30774 set dummy gtk-config; ac_word=$2
30775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30777 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 else
30780 case $GTK_CONFIG in
30781 [\\/]* | ?:[\\/]*)
30782 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30783 ;;
30784 *)
30785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30786 for as_dir in $PATH
30787 do
30788 IFS=$as_save_IFS
30789 test -z "$as_dir" && as_dir=.
30790 for ac_exec_ext in '' $ac_executable_extensions; do
30791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30792 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30794 break 2
30795 fi
30796 done
30797 done
30798 IFS=$as_save_IFS
30799
30800 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30801 ;;
30802 esac
30803 fi
30804 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30805 if test -n "$GTK_CONFIG"; then
30806 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30807 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30808 else
30809 { echo "$as_me:$LINENO: result: no" >&5
30810 echo "${ECHO_T}no" >&6; }
30811 fi
30812
30813
30814 min_gtk_version=1.2.3
30815 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30816 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30817 no_gtk=""
30818 if test "$GTK_CONFIG" = "no" ; then
30819 no_gtk=yes
30820 else
30821 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30822 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30823 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30825 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30827 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30829 if test "x$enable_gtktest" = "xyes" ; then
30830 ac_save_CFLAGS="$CFLAGS"
30831 ac_save_LIBS="$LIBS"
30832 CFLAGS="$CFLAGS $GTK_CFLAGS"
30833 LIBS="$GTK_LIBS $LIBS"
30834 rm -f conf.gtktest
30835 if test "$cross_compiling" = yes; then
30836 echo $ac_n "cross compiling; assumed OK... $ac_c"
30837 else
30838 cat >conftest.$ac_ext <<_ACEOF
30839 /* confdefs.h. */
30840 _ACEOF
30841 cat confdefs.h >>conftest.$ac_ext
30842 cat >>conftest.$ac_ext <<_ACEOF
30843 /* end confdefs.h. */
30844
30845 #include <gtk/gtk.h>
30846 #include <stdio.h>
30847 #include <stdlib.h>
30848
30849 int
30850 main ()
30851 {
30852 int major, minor, micro;
30853 char *tmp_version;
30854
30855 system ("touch conf.gtktest");
30856
30857 /* HP/UX 9 (%@#!) writes to sscanf strings */
30858 tmp_version = g_strdup("$min_gtk_version");
30859 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30860 printf("%s, bad version string\n", "$min_gtk_version");
30861 exit(1);
30862 }
30863
30864 if ((gtk_major_version != $gtk_config_major_version) ||
30865 (gtk_minor_version != $gtk_config_minor_version) ||
30866 (gtk_micro_version != $gtk_config_micro_version))
30867 {
30868 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30869 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30870 gtk_major_version, gtk_minor_version, gtk_micro_version);
30871 printf ("*** was found! If gtk-config was correct, then it is best\n");
30872 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30873 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30874 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30875 printf("*** required on your system.\n");
30876 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30877 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30878 printf("*** before re-running configure\n");
30879 }
30880 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30881 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30882 (gtk_minor_version != GTK_MINOR_VERSION) ||
30883 (gtk_micro_version != GTK_MICRO_VERSION))
30884 {
30885 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30886 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30887 printf("*** library (version %d.%d.%d)\n",
30888 gtk_major_version, gtk_minor_version, gtk_micro_version);
30889 }
30890 #endif /* defined (GTK_MAJOR_VERSION) ... */
30891 else
30892 {
30893 if ((gtk_major_version > major) ||
30894 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30895 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30896 {
30897 return 0;
30898 }
30899 else
30900 {
30901 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30902 gtk_major_version, gtk_minor_version, gtk_micro_version);
30903 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30904 major, minor, micro);
30905 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30906 printf("***\n");
30907 printf("*** If you have already installed a sufficiently new version, this error\n");
30908 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30909 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30910 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30911 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30912 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30913 printf("*** so that the correct libraries are found at run-time))\n");
30914 }
30915 }
30916 return 1;
30917 }
30918
30919 _ACEOF
30920 rm -f conftest$ac_exeext
30921 if { (ac_try="$ac_link"
30922 case "(($ac_try" in
30923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30924 *) ac_try_echo=$ac_try;;
30925 esac
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_link") 2>&5
30928 ac_status=$?
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30931 { (case "(($ac_try" in
30932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30933 *) ac_try_echo=$ac_try;;
30934 esac
30935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30936 (eval "$ac_try") 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 :
30941 else
30942 echo "$as_me: program exited with status $ac_status" >&5
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 ( exit $ac_status )
30947 no_gtk=yes
30948 fi
30949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30950 fi
30951
30952
30953 CFLAGS="$ac_save_CFLAGS"
30954 LIBS="$ac_save_LIBS"
30955 fi
30956 fi
30957 if test "x$no_gtk" = x ; then
30958 { echo "$as_me:$LINENO: result: yes" >&5
30959 echo "${ECHO_T}yes" >&6; }
30960 wx_cv_lib_gtk=1.2.3
30961 else
30962 { echo "$as_me:$LINENO: result: no" >&5
30963 echo "${ECHO_T}no" >&6; }
30964 if test "$GTK_CONFIG" = "no" ; then
30965 echo "*** The gtk-config script installed by GTK could not be found"
30966 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30967 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30968 echo "*** full path to gtk-config."
30969 else
30970 if test -f conf.gtktest ; then
30971 :
30972 else
30973 echo "*** Could not run GTK test program, checking why..."
30974 CFLAGS="$CFLAGS $GTK_CFLAGS"
30975 LIBS="$LIBS $GTK_LIBS"
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982
30983 #include <gtk/gtk.h>
30984 #include <stdio.h>
30985
30986 int
30987 main ()
30988 {
30989 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30990 ;
30991 return 0;
30992 }
30993 _ACEOF
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (ac_try="$ac_link"
30996 case "(($ac_try" in
30997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30998 *) ac_try_echo=$ac_try;;
30999 esac
31000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31001 (eval "$ac_link") 2>conftest.er1
31002 ac_status=$?
31003 grep -v '^ *+' conftest.er1 >conftest.err
31004 rm -f conftest.er1
31005 cat conftest.err >&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } && {
31008 test -z "$ac_c_werror_flag" ||
31009 test ! -s conftest.err
31010 } && test -s conftest$ac_exeext &&
31011 $as_test_x conftest$ac_exeext; then
31012 echo "*** The test program compiled, but did not run. This usually means"
31013 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31014 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31017 echo "*** is required on your system"
31018 echo "***"
31019 echo "*** If you have an old version installed, it is best to remove it, although"
31020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31021 echo "***"
31022 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31023 echo "*** came with the system with the command"
31024 echo "***"
31025 echo "*** rpm --erase --nodeps gtk gtk-devel"
31026 else
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.$ac_ext >&5
31029
31030 echo "*** The test program failed to compile or link. See the file config.log for the"
31031 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31032 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31033 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31034 fi
31035
31036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31037 conftest$ac_exeext conftest.$ac_ext
31038 CFLAGS="$ac_save_CFLAGS"
31039 LIBS="$ac_save_LIBS"
31040 fi
31041 fi
31042 GTK_CFLAGS=""
31043 GTK_LIBS=""
31044 :
31045 fi
31046
31047
31048 rm -f conf.gtktest
31049
31050 fi
31051 fi
31052 fi
31053
31054 if test -z "$wx_cv_lib_gtk"; then
31055 wx_cv_lib_gtk=none
31056 else
31057 wx_cv_cflags_gtk=$GTK_CFLAGS
31058 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31059 fi
31060
31061
31062 fi
31063
31064
31065 if test "$gtk_version_cached" = 1; then
31066 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31067 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31068 fi
31069
31070 case "$wx_cv_lib_gtk" in
31071 2.0) WXGTK20=1
31072 TOOLKIT_VERSION=2
31073 ;;
31074 1.2.7) WXGTK127=1
31075 WXGTK12=1
31076 ;;
31077 1.2.3) WXGTK12=1
31078 ;;
31079 *) { { echo "$as_me:$LINENO: error:
31080 The development files for GTK+ were not found. For GTK+ 2, please
31081 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31082 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31083 and that the version is 1.2.3 or above. Also check that the
31084 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31085 --libs' are in the LD_LIBRARY_PATH or equivalent.
31086 " >&5
31087 echo "$as_me: error:
31088 The development files for GTK+ were not found. For GTK+ 2, please
31089 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31090 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31091 and that the version is 1.2.3 or above. Also check that the
31092 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31093 --libs' are in the LD_LIBRARY_PATH or equivalent.
31094 " >&2;}
31095 { (exit 1); exit 1; }; }
31096 ;;
31097 esac
31098
31099 if test "$WXGTK20" = 1; then
31100 save_CFLAGS="$CFLAGS"
31101 save_LIBS="$LIBS"
31102 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31103 LIBS="$LIBS $wx_cv_libs_gtk"
31104
31105 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31106 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31107 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31108 echo $ECHO_N "(cached) $ECHO_C" >&6
31109 else
31110 cat >conftest.$ac_ext <<_ACEOF
31111 /* confdefs.h. */
31112 _ACEOF
31113 cat confdefs.h >>conftest.$ac_ext
31114 cat >>conftest.$ac_ext <<_ACEOF
31115 /* end confdefs.h. */
31116 #include <gtk/gtk.h>
31117
31118 int
31119 main ()
31120 {
31121 #ifndef gtk_icon_size_lookup
31122 (void) gtk_icon_size_lookup;
31123 #endif
31124
31125 ;
31126 return 0;
31127 }
31128 _ACEOF
31129 rm -f conftest.$ac_objext
31130 if { (ac_try="$ac_compile"
31131 case "(($ac_try" in
31132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31133 *) ac_try_echo=$ac_try;;
31134 esac
31135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31136 (eval "$ac_compile") 2>conftest.er1
31137 ac_status=$?
31138 grep -v '^ *+' conftest.er1 >conftest.err
31139 rm -f conftest.er1
31140 cat conftest.err >&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } && {
31143 test -z "$ac_c_werror_flag" ||
31144 test ! -s conftest.err
31145 } && test -s conftest.$ac_objext; then
31146 ac_cv_have_decl_gtk_icon_size_lookup=yes
31147 else
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.$ac_ext >&5
31150
31151 ac_cv_have_decl_gtk_icon_size_lookup=no
31152 fi
31153
31154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31155 fi
31156 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31157 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31158 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31159
31160 cat >>confdefs.h <<_ACEOF
31161 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31162 _ACEOF
31163
31164
31165 else
31166 cat >>confdefs.h <<_ACEOF
31167 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31168 _ACEOF
31169
31170 cat >>confdefs.h <<\_ACEOF
31171 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31172 _ACEOF
31173
31174 fi
31175
31176
31177
31178
31179 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31180 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31181 cat >conftest.$ac_ext <<_ACEOF
31182 /* confdefs.h. */
31183 _ACEOF
31184 cat confdefs.h >>conftest.$ac_ext
31185 cat >>conftest.$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31187
31188 #include <gtk/gtk.h>
31189
31190 int
31191 main ()
31192 {
31193
31194 #if !GTK_CHECK_VERSION(2,10,0)
31195 Not GTK+ 2.10
31196 #endif
31197
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext
31203 if { (ac_try="$ac_compile"
31204 case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31207 esac
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_compile") 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest.$ac_objext; then
31219
31220 cat >>confdefs.h <<\_ACEOF
31221 #define __WXGTK210__ 1
31222 _ACEOF
31223
31224 cat >>confdefs.h <<\_ACEOF
31225 #define __WXGTK26__ 1
31226 _ACEOF
31227
31228 cat >>confdefs.h <<\_ACEOF
31229 #define __WXGTK24__ 1
31230 _ACEOF
31231
31232 { echo "$as_me:$LINENO: result: yes" >&5
31233 echo "${ECHO_T}yes" >&6; }
31234 ac_wxgtk210=1
31235
31236 else
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240
31241 { echo "$as_me:$LINENO: result: no" >&5
31242 echo "${ECHO_T}no" >&6; }
31243 ac_wxgtk210=0
31244
31245 fi
31246
31247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31248
31249 if test "$ac_wxgtk210" = 0; then
31250 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31251 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31252 cat >conftest.$ac_ext <<_ACEOF
31253 /* confdefs.h. */
31254 _ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258
31259 #include <gtk/gtk.h>
31260
31261 int
31262 main ()
31263 {
31264
31265 #if !GTK_CHECK_VERSION(2,6,0)
31266 Not GTK+ 2.6
31267 #endif
31268
31269 ;
31270 return 0;
31271 }
31272 _ACEOF
31273 rm -f conftest.$ac_objext
31274 if { (ac_try="$ac_compile"
31275 case "(($ac_try" in
31276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31277 *) ac_try_echo=$ac_try;;
31278 esac
31279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31280 (eval "$ac_compile") 2>conftest.er1
31281 ac_status=$?
31282 grep -v '^ *+' conftest.er1 >conftest.err
31283 rm -f conftest.er1
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } && {
31287 test -z "$ac_c_werror_flag" ||
31288 test ! -s conftest.err
31289 } && test -s conftest.$ac_objext; then
31290
31291 cat >>confdefs.h <<\_ACEOF
31292 #define __WXGTK26__ 1
31293 _ACEOF
31294
31295 cat >>confdefs.h <<\_ACEOF
31296 #define __WXGTK24__ 1
31297 _ACEOF
31298
31299 { echo "$as_me:$LINENO: result: yes" >&5
31300 echo "${ECHO_T}yes" >&6; }
31301 ac_wxgtk26=1
31302
31303 else
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31306
31307
31308 { echo "$as_me:$LINENO: result: no" >&5
31309 echo "${ECHO_T}no" >&6; }
31310 ac_wxgtk26=0
31311
31312 fi
31313
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 fi
31316
31317 if test "$ac_wxgtk26" = 0; then
31318 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31319 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31320 cat >conftest.$ac_ext <<_ACEOF
31321 /* confdefs.h. */
31322 _ACEOF
31323 cat confdefs.h >>conftest.$ac_ext
31324 cat >>conftest.$ac_ext <<_ACEOF
31325 /* end confdefs.h. */
31326
31327 #include <gtk/gtk.h>
31328
31329 int
31330 main ()
31331 {
31332
31333 #if !GTK_CHECK_VERSION(2,4,0)
31334 Not GTK+ 2.4
31335 #endif
31336
31337 ;
31338 return 0;
31339 }
31340 _ACEOF
31341 rm -f conftest.$ac_objext
31342 if { (ac_try="$ac_compile"
31343 case "(($ac_try" in
31344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31345 *) ac_try_echo=$ac_try;;
31346 esac
31347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31348 (eval "$ac_compile") 2>conftest.er1
31349 ac_status=$?
31350 grep -v '^ *+' conftest.er1 >conftest.err
31351 rm -f conftest.er1
31352 cat conftest.err >&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } && {
31355 test -z "$ac_c_werror_flag" ||
31356 test ! -s conftest.err
31357 } && test -s conftest.$ac_objext; then
31358
31359 cat >>confdefs.h <<\_ACEOF
31360 #define __WXGTK24__ 1
31361 _ACEOF
31362
31363 { echo "$as_me:$LINENO: result: yes" >&5
31364 echo "${ECHO_T}yes" >&6; }
31365
31366 else
31367 echo "$as_me: failed program was:" >&5
31368 sed 's/^/| /' conftest.$ac_ext >&5
31369
31370
31371 { echo "$as_me:$LINENO: result: no" >&5
31372 echo "${ECHO_T}no" >&6; }
31373
31374 fi
31375
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31377 fi
31378
31379 CFLAGS="$save_CFLAGS"
31380 LIBS="$save_LIBS"
31381 else
31382 if test "$wxUSE_UNICODE" = "yes"; then
31383 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31384 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31385 wxUSE_UNICODE=no
31386 fi
31387
31388 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31389 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31390 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31392 else
31393 ac_check_lib_save_LIBS=$LIBS
31394 LIBS="-lgdk $LIBS"
31395 cat >conftest.$ac_ext <<_ACEOF
31396 /* confdefs.h. */
31397 _ACEOF
31398 cat confdefs.h >>conftest.$ac_ext
31399 cat >>conftest.$ac_ext <<_ACEOF
31400 /* end confdefs.h. */
31401
31402 /* Override any GCC internal prototype to avoid an error.
31403 Use char because int might match the return type of a GCC
31404 builtin and then its argument prototype would still apply. */
31405 #ifdef __cplusplus
31406 extern "C"
31407 #endif
31408 char gdk_im_open ();
31409 int
31410 main ()
31411 {
31412 return gdk_im_open ();
31413 ;
31414 return 0;
31415 }
31416 _ACEOF
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (ac_try="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31422 esac
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31425 ac_status=$?
31426 grep -v '^ *+' conftest.er1 >conftest.err
31427 rm -f conftest.er1
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 ac_cv_lib_gdk_gdk_im_open=yes
31436 else
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31439
31440 ac_cv_lib_gdk_gdk_im_open=no
31441 fi
31442
31443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31444 conftest$ac_exeext conftest.$ac_ext
31445 LIBS=$ac_check_lib_save_LIBS
31446 fi
31447 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31448 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31449 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31450 cat >>confdefs.h <<\_ACEOF
31451 #define HAVE_XIM 1
31452 _ACEOF
31453
31454 fi
31455
31456
31457 if test "$USE_DARWIN" != 1; then
31458
31459 for ac_func in poll
31460 do
31461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 else
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31475 #define $ac_func innocuous_$ac_func
31476
31477 /* System header to define __stub macros and hopefully few prototypes,
31478 which can conflict with char $ac_func (); below.
31479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31480 <limits.h> exists even on freestanding compilers. */
31481
31482 #ifdef __STDC__
31483 # include <limits.h>
31484 #else
31485 # include <assert.h>
31486 #endif
31487
31488 #undef $ac_func
31489
31490 /* Override any GCC internal prototype to avoid an error.
31491 Use char because int might match the return type of a GCC
31492 builtin and then its argument prototype would still apply. */
31493 #ifdef __cplusplus
31494 extern "C"
31495 #endif
31496 char $ac_func ();
31497 /* The GNU C library defines this for functions which it implements
31498 to always fail with ENOSYS. Some functions are actually named
31499 something starting with __ and the normal name is an alias. */
31500 #if defined __stub_$ac_func || defined __stub___$ac_func
31501 choke me
31502 #endif
31503
31504 int
31505 main ()
31506 {
31507 return $ac_func ();
31508 ;
31509 return 0;
31510 }
31511 _ACEOF
31512 rm -f conftest.$ac_objext conftest$ac_exeext
31513 if { (ac_try="$ac_link"
31514 case "(($ac_try" in
31515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31516 *) ac_try_echo=$ac_try;;
31517 esac
31518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31519 (eval "$ac_link") 2>conftest.er1
31520 ac_status=$?
31521 grep -v '^ *+' conftest.er1 >conftest.err
31522 rm -f conftest.er1
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } && {
31526 test -z "$ac_c_werror_flag" ||
31527 test ! -s conftest.err
31528 } && test -s conftest$ac_exeext &&
31529 $as_test_x conftest$ac_exeext; then
31530 eval "$as_ac_var=yes"
31531 else
31532 echo "$as_me: failed program was:" >&5
31533 sed 's/^/| /' conftest.$ac_ext >&5
31534
31535 eval "$as_ac_var=no"
31536 fi
31537
31538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31539 conftest$ac_exeext conftest.$ac_ext
31540 fi
31541 ac_res=`eval echo '${'$as_ac_var'}'`
31542 { echo "$as_me:$LINENO: result: $ac_res" >&5
31543 echo "${ECHO_T}$ac_res" >&6; }
31544 if test `eval echo '${'$as_ac_var'}'` = yes; then
31545 cat >>confdefs.h <<_ACEOF
31546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31547 _ACEOF
31548
31549 fi
31550 done
31551
31552 fi
31553 fi
31554
31555 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31556 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31557
31558 AFMINSTALL=afminstall
31559 TOOLKIT=GTK
31560 GUIDIST=GTK_DIST
31561
31562 if test "$wxUSE_GPE" = "yes"; then
31563 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31564 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31565
31566 ac_find_libraries=
31567 for ac_dir in $SEARCH_LIB;
31568 do
31569 for ac_extension in a so sl dylib dll.a; do
31570 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31571 ac_find_libraries=$ac_dir
31572 break 2
31573 fi
31574 done
31575 done
31576
31577 if test "$ac_find_libraries" != "" ; then
31578
31579 if test "$ac_find_libraries" = "default location"; then
31580 ac_path_to_link=""
31581 else
31582 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31583 result=$?
31584 if test $result = 0; then
31585 ac_path_to_link=""
31586 else
31587 ac_path_to_link=" -L$ac_find_libraries"
31588 fi
31589 fi
31590
31591 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31592 WXGPE=1
31593 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31594 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31595 else
31596 { echo "$as_me:$LINENO: result: not found" >&5
31597 echo "${ECHO_T}not found" >&6; }
31598 fi
31599
31600 fi
31601 fi
31602
31603 if test "$wxUSE_MGL" = 1; then
31604 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31605 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31606 if test "x$MGL_ROOT" = x ; then
31607 { echo "$as_me:$LINENO: result: not found" >&5
31608 echo "${ECHO_T}not found" >&6; }
31609 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31610 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31611 { (exit 1); exit 1; }; }
31612 else
31613 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31614 echo "${ECHO_T}$MGL_ROOT" >&6; }
31615 fi
31616
31617 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31618 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31619 case "${host}" in
31620 *-*-linux* )
31621 if test "x$wxUSE_SHARED" = xyes ; then
31622 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31623 else
31624 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31625 fi
31626 ;;
31627 *-pc-msdosdjgpp )
31628 mgl_os_candidates="dos32/dj2"
31629 ;;
31630 *)
31631 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31632 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31633 { (exit 1); exit 1; }; }
31634 esac
31635
31636 mgl_lib_type=""
31637 mgl_os=""
31638
31639 for mgl_os_i in $mgl_os_candidates ; do
31640 if test "x$mgl_os" = x ; then
31641 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31642 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31643 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31644 mgl_lib_type=debug
31645 mgl_os=$mgl_os_i
31646 fi
31647 fi
31648 if test "x$mgl_lib_type" = x ; then
31649 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31650 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31651 mgl_lib_type=release
31652 mgl_os=$mgl_os_i
31653 fi
31654 fi
31655 fi
31656 done
31657
31658 if test "x$mgl_os" = x ; then
31659 { echo "$as_me:$LINENO: result: not found" >&5
31660 echo "${ECHO_T}not found" >&6; }
31661 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31662 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31663 { (exit 1); exit 1; }; }
31664 fi
31665 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31666 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31667
31668 wxUSE_UNIVERSAL="yes"
31669
31670 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31671 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31672
31673 AFMINSTALL=afminstall
31674 TOOLKIT=MGL
31675 GUIDIST=MGL_DIST
31676 fi
31677
31678 if test "$wxUSE_DFB" = 1; then
31679
31680
31681 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31682 if test -n "$ac_tool_prefix"; then
31683 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31684 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31687 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31688 echo $ECHO_N "(cached) $ECHO_C" >&6
31689 else
31690 case $PKG_CONFIG in
31691 [\\/]* | ?:[\\/]*)
31692 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31693 ;;
31694 *)
31695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31696 for as_dir in $PATH
31697 do
31698 IFS=$as_save_IFS
31699 test -z "$as_dir" && as_dir=.
31700 for ac_exec_ext in '' $ac_executable_extensions; do
31701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31702 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31704 break 2
31705 fi
31706 done
31707 done
31708 IFS=$as_save_IFS
31709
31710 ;;
31711 esac
31712 fi
31713 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31714 if test -n "$PKG_CONFIG"; then
31715 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31716 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31717 else
31718 { echo "$as_me:$LINENO: result: no" >&5
31719 echo "${ECHO_T}no" >&6; }
31720 fi
31721
31722
31723 fi
31724 if test -z "$ac_cv_path_PKG_CONFIG"; then
31725 ac_pt_PKG_CONFIG=$PKG_CONFIG
31726 # Extract the first word of "pkg-config", so it can be a program name with args.
31727 set dummy pkg-config; ac_word=$2
31728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31730 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733 case $ac_pt_PKG_CONFIG in
31734 [\\/]* | ?:[\\/]*)
31735 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31736 ;;
31737 *)
31738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31739 for as_dir in $PATH
31740 do
31741 IFS=$as_save_IFS
31742 test -z "$as_dir" && as_dir=.
31743 for ac_exec_ext in '' $ac_executable_extensions; do
31744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31745 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31747 break 2
31748 fi
31749 done
31750 done
31751 IFS=$as_save_IFS
31752
31753 ;;
31754 esac
31755 fi
31756 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31757 if test -n "$ac_pt_PKG_CONFIG"; then
31758 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31759 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31760 else
31761 { echo "$as_me:$LINENO: result: no" >&5
31762 echo "${ECHO_T}no" >&6; }
31763 fi
31764
31765 if test "x$ac_pt_PKG_CONFIG" = x; then
31766 PKG_CONFIG=""
31767 else
31768 case $cross_compiling:$ac_tool_warned in
31769 yes:)
31770 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31771 whose name does not start with the host triplet. If you think this
31772 configuration is useful to you, please write to autoconf@gnu.org." >&5
31773 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31774 whose name does not start with the host triplet. If you think this
31775 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31776 ac_tool_warned=yes ;;
31777 esac
31778 PKG_CONFIG=$ac_pt_PKG_CONFIG
31779 fi
31780 else
31781 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31782 fi
31783
31784 fi
31785 if test -n "$PKG_CONFIG"; then
31786 _pkg_min_version=0.9.0
31787 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31788 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31789 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31790 { echo "$as_me:$LINENO: result: yes" >&5
31791 echo "${ECHO_T}yes" >&6; }
31792 else
31793 { echo "$as_me:$LINENO: result: no" >&5
31794 echo "${ECHO_T}no" >&6; }
31795 PKG_CONFIG=""
31796 fi
31797
31798 fi
31799
31800
31801 pkg_failed=no
31802 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31803 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31804
31805 if test -n "$PKG_CONFIG"; then
31806 if test -n "$DIRECTFB_CFLAGS"; then
31807 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31808 else
31809 if test -n "$PKG_CONFIG" && \
31810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31811 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31812 ac_status=$?
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; then
31815 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31816 else
31817 pkg_failed=yes
31818 fi
31819 fi
31820 else
31821 pkg_failed=untried
31822 fi
31823 if test -n "$PKG_CONFIG"; then
31824 if test -n "$DIRECTFB_LIBS"; then
31825 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31826 else
31827 if test -n "$PKG_CONFIG" && \
31828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31829 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31830 ac_status=$?
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; then
31833 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31834 else
31835 pkg_failed=yes
31836 fi
31837 fi
31838 else
31839 pkg_failed=untried
31840 fi
31841
31842
31843
31844 if test $pkg_failed = yes; then
31845
31846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31847 _pkg_short_errors_supported=yes
31848 else
31849 _pkg_short_errors_supported=no
31850 fi
31851 if test $_pkg_short_errors_supported = yes; then
31852 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31853 else
31854 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31855 fi
31856 # Put the nasty error message in config.log where it belongs
31857 echo "$DIRECTFB_PKG_ERRORS" >&5
31858
31859
31860 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31861 echo "$as_me: error: DirectFB not found." >&2;}
31862 { (exit 1); exit 1; }; }
31863
31864
31865 elif test $pkg_failed = untried; then
31866
31867 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31868 echo "$as_me: error: DirectFB not found." >&2;}
31869 { (exit 1); exit 1; }; }
31870
31871
31872 else
31873 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31874 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31875 { echo "$as_me:$LINENO: result: yes" >&5
31876 echo "${ECHO_T}yes" >&6; }
31877
31878 wxUSE_UNIVERSAL="yes"
31879 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31880 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31881 TOOLKIT=DFB
31882 GUIDIST=DFB_DIST
31883
31884 fi
31885 fi
31886
31887 if test "$wxUSE_MICROWIN" = 1; then
31888 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31889 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31890 if test "x$MICROWINDOWS" = x ; then
31891 { echo "$as_me:$LINENO: result: not found" >&5
31892 echo "${ECHO_T}not found" >&6; }
31893 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31894 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31895 { (exit 1); exit 1; }; }
31896 else
31897 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31898 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31899 fi
31900
31901 if test -f $MICROWINDOWS/lib/libmwin.a; then
31902 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31903 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31904 else
31905 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31906 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31907 { (exit 1); exit 1; }; }
31908 fi
31909
31910 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31911 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31912
31913 wxUSE_UNIVERSAL="yes"
31914
31915 AFMINSTALL=afminstall
31916 TOOLKIT=MICROWIN
31917 GUIDIST=MICROWIN_DIST
31918
31919 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31920 fi
31921
31922 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31923 { echo "$as_me:$LINENO: checking for X" >&5
31924 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31925
31926
31927 # Check whether --with-x was given.
31928 if test "${with_x+set}" = set; then
31929 withval=$with_x;
31930 fi
31931
31932 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31933 if test "x$with_x" = xno; then
31934 # The user explicitly disabled X.
31935 have_x=disabled
31936 else
31937 case $x_includes,$x_libraries in #(
31938 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31939 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31940 { (exit 1); exit 1; }; };; #(
31941 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31942 echo $ECHO_N "(cached) $ECHO_C" >&6
31943 else
31944 # One or both of the vars are not set, and there is no cached value.
31945 ac_x_includes=no ac_x_libraries=no
31946 rm -f -r conftest.dir
31947 if mkdir conftest.dir; then
31948 cd conftest.dir
31949 cat >Imakefile <<'_ACEOF'
31950 incroot:
31951 @echo incroot='${INCROOT}'
31952 usrlibdir:
31953 @echo usrlibdir='${USRLIBDIR}'
31954 libdir:
31955 @echo libdir='${LIBDIR}'
31956 _ACEOF
31957 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31958 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31959 for ac_var in incroot usrlibdir libdir; do
31960 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31961 done
31962 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31963 for ac_extension in a so sl; do
31964 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31965 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31966 ac_im_usrlibdir=$ac_im_libdir; break
31967 fi
31968 done
31969 # Screen out bogus values from the imake configuration. They are
31970 # bogus both because they are the default anyway, and because
31971 # using them would break gcc on systems where it needs fixed includes.
31972 case $ac_im_incroot in
31973 /usr/include) ac_x_includes= ;;
31974 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31975 esac
31976 case $ac_im_usrlibdir in
31977 /usr/lib | /lib) ;;
31978 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31979 esac
31980 fi
31981 cd ..
31982 rm -f -r conftest.dir
31983 fi
31984
31985 # Standard set of common directories for X headers.
31986 # Check X11 before X11Rn because it is often a symlink to the current release.
31987 ac_x_header_dirs='
31988 /usr/X11/include
31989 /usr/X11R6/include
31990 /usr/X11R5/include
31991 /usr/X11R4/include
31992
31993 /usr/include/X11
31994 /usr/include/X11R6
31995 /usr/include/X11R5
31996 /usr/include/X11R4
31997
31998 /usr/local/X11/include
31999 /usr/local/X11R6/include
32000 /usr/local/X11R5/include
32001 /usr/local/X11R4/include
32002
32003 /usr/local/include/X11
32004 /usr/local/include/X11R6
32005 /usr/local/include/X11R5
32006 /usr/local/include/X11R4
32007
32008 /usr/X386/include
32009 /usr/x386/include
32010 /usr/XFree86/include/X11
32011
32012 /usr/include
32013 /usr/local/include
32014 /usr/unsupported/include
32015 /usr/athena/include
32016 /usr/local/x11r5/include
32017 /usr/lpp/Xamples/include
32018
32019 /usr/openwin/include
32020 /usr/openwin/share/include'
32021
32022 if test "$ac_x_includes" = no; then
32023 # Guess where to find include files, by looking for Xlib.h.
32024 # First, try using that file with no special directory specified.
32025 cat >conftest.$ac_ext <<_ACEOF
32026 /* confdefs.h. */
32027 _ACEOF
32028 cat confdefs.h >>conftest.$ac_ext
32029 cat >>conftest.$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031 #include <X11/Xlib.h>
32032 _ACEOF
32033 if { (ac_try="$ac_cpp conftest.$ac_ext"
32034 case "(($ac_try" in
32035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32036 *) ac_try_echo=$ac_try;;
32037 esac
32038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32040 ac_status=$?
32041 grep -v '^ *+' conftest.er1 >conftest.err
32042 rm -f conftest.er1
32043 cat conftest.err >&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } >/dev/null && {
32046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32047 test ! -s conftest.err
32048 }; then
32049 # We can compile using X headers with no special include directory.
32050 ac_x_includes=
32051 else
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.$ac_ext >&5
32054
32055 for ac_dir in $ac_x_header_dirs; do
32056 if test -r "$ac_dir/X11/Xlib.h"; then
32057 ac_x_includes=$ac_dir
32058 break
32059 fi
32060 done
32061 fi
32062
32063 rm -f conftest.err conftest.$ac_ext
32064 fi # $ac_x_includes = no
32065
32066 if test "$ac_x_libraries" = no; then
32067 # Check for the libraries.
32068 # See if we find them without any special options.
32069 # Don't add to $LIBS permanently.
32070 ac_save_LIBS=$LIBS
32071 LIBS="-lX11 $LIBS"
32072 cat >conftest.$ac_ext <<_ACEOF
32073 /* confdefs.h. */
32074 _ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32078 #include <X11/Xlib.h>
32079 int
32080 main ()
32081 {
32082 XrmInitialize ()
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext conftest$ac_exeext
32088 if { (ac_try="$ac_link"
32089 case "(($ac_try" in
32090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32091 *) ac_try_echo=$ac_try;;
32092 esac
32093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32094 (eval "$ac_link") 2>conftest.er1
32095 ac_status=$?
32096 grep -v '^ *+' conftest.er1 >conftest.err
32097 rm -f conftest.er1
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } && {
32101 test -z "$ac_c_werror_flag" ||
32102 test ! -s conftest.err
32103 } && test -s conftest$ac_exeext &&
32104 $as_test_x conftest$ac_exeext; then
32105 LIBS=$ac_save_LIBS
32106 # We can link X programs with no special library path.
32107 ac_x_libraries=
32108 else
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32111
32112 LIBS=$ac_save_LIBS
32113 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32114 do
32115 # Don't even attempt the hair of trying to link an X program!
32116 for ac_extension in a so sl; do
32117 if test -r "$ac_dir/libX11.$ac_extension"; then
32118 ac_x_libraries=$ac_dir
32119 break 2
32120 fi
32121 done
32122 done
32123 fi
32124
32125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32126 conftest$ac_exeext conftest.$ac_ext
32127 fi # $ac_x_libraries = no
32128
32129 case $ac_x_includes,$ac_x_libraries in #(
32130 no,* | *,no | *\'*)
32131 # Didn't find X, or a directory has "'" in its name.
32132 ac_cv_have_x="have_x=no";; #(
32133 *)
32134 # Record where we found X for the cache.
32135 ac_cv_have_x="have_x=yes\
32136 ac_x_includes='$ac_x_includes'\
32137 ac_x_libraries='$ac_x_libraries'"
32138 esac
32139 fi
32140 ;; #(
32141 *) have_x=yes;;
32142 esac
32143 eval "$ac_cv_have_x"
32144 fi # $with_x != no
32145
32146 if test "$have_x" != yes; then
32147 { echo "$as_me:$LINENO: result: $have_x" >&5
32148 echo "${ECHO_T}$have_x" >&6; }
32149 no_x=yes
32150 else
32151 # If each of the values was on the command line, it overrides each guess.
32152 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32153 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32154 # Update the cache value to reflect the command line values.
32155 ac_cv_have_x="have_x=yes\
32156 ac_x_includes='$x_includes'\
32157 ac_x_libraries='$x_libraries'"
32158 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32159 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32160 fi
32161
32162 if test "$no_x" = yes; then
32163 # Not all programs may use this symbol, but it does not hurt to define it.
32164
32165 cat >>confdefs.h <<\_ACEOF
32166 #define X_DISPLAY_MISSING 1
32167 _ACEOF
32168
32169 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32170 else
32171 if test -n "$x_includes"; then
32172 X_CFLAGS="$X_CFLAGS -I$x_includes"
32173 fi
32174
32175 # It would also be nice to do this for all -L options, not just this one.
32176 if test -n "$x_libraries"; then
32177 X_LIBS="$X_LIBS -L$x_libraries"
32178 # For Solaris; some versions of Sun CC require a space after -R and
32179 # others require no space. Words are not sufficient . . . .
32180 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32181 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32182 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32183 ac_xsave_c_werror_flag=$ac_c_werror_flag
32184 ac_c_werror_flag=yes
32185 cat >conftest.$ac_ext <<_ACEOF
32186 /* confdefs.h. */
32187 _ACEOF
32188 cat confdefs.h >>conftest.$ac_ext
32189 cat >>conftest.$ac_ext <<_ACEOF
32190 /* end confdefs.h. */
32191
32192 int
32193 main ()
32194 {
32195
32196 ;
32197 return 0;
32198 }
32199 _ACEOF
32200 rm -f conftest.$ac_objext conftest$ac_exeext
32201 if { (ac_try="$ac_link"
32202 case "(($ac_try" in
32203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32204 *) ac_try_echo=$ac_try;;
32205 esac
32206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32207 (eval "$ac_link") 2>conftest.er1
32208 ac_status=$?
32209 grep -v '^ *+' conftest.er1 >conftest.err
32210 rm -f conftest.er1
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } && {
32214 test -z "$ac_c_werror_flag" ||
32215 test ! -s conftest.err
32216 } && test -s conftest$ac_exeext &&
32217 $as_test_x conftest$ac_exeext; then
32218 { echo "$as_me:$LINENO: result: no" >&5
32219 echo "${ECHO_T}no" >&6; }
32220 X_LIBS="$X_LIBS -R$x_libraries"
32221 else
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.$ac_ext >&5
32224
32225 LIBS="$ac_xsave_LIBS -R $x_libraries"
32226 cat >conftest.$ac_ext <<_ACEOF
32227 /* confdefs.h. */
32228 _ACEOF
32229 cat confdefs.h >>conftest.$ac_ext
32230 cat >>conftest.$ac_ext <<_ACEOF
32231 /* end confdefs.h. */
32232
32233 int
32234 main ()
32235 {
32236
32237 ;
32238 return 0;
32239 }
32240 _ACEOF
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32245 *) ac_try_echo=$ac_try;;
32246 esac
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32249 ac_status=$?
32250 grep -v '^ *+' conftest.er1 >conftest.err
32251 rm -f conftest.er1
32252 cat conftest.err >&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest$ac_exeext &&
32258 $as_test_x conftest$ac_exeext; then
32259 { echo "$as_me:$LINENO: result: yes" >&5
32260 echo "${ECHO_T}yes" >&6; }
32261 X_LIBS="$X_LIBS -R $x_libraries"
32262 else
32263 echo "$as_me: failed program was:" >&5
32264 sed 's/^/| /' conftest.$ac_ext >&5
32265
32266 { echo "$as_me:$LINENO: result: neither works" >&5
32267 echo "${ECHO_T}neither works" >&6; }
32268 fi
32269
32270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32271 conftest$ac_exeext conftest.$ac_ext
32272 fi
32273
32274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32275 conftest$ac_exeext conftest.$ac_ext
32276 ac_c_werror_flag=$ac_xsave_c_werror_flag
32277 LIBS=$ac_xsave_LIBS
32278 fi
32279
32280 # Check for system-dependent libraries X programs must link with.
32281 # Do this before checking for the system-independent R6 libraries
32282 # (-lICE), since we may need -lsocket or whatever for X linking.
32283
32284 if test "$ISC" = yes; then
32285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32286 else
32287 # Martyn Johnson says this is needed for Ultrix, if the X
32288 # libraries were built with DECnet support. And Karl Berry says
32289 # the Alpha needs dnet_stub (dnet does not exist).
32290 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32291 cat >conftest.$ac_ext <<_ACEOF
32292 /* confdefs.h. */
32293 _ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32297
32298 /* Override any GCC internal prototype to avoid an error.
32299 Use char because int might match the return type of a GCC
32300 builtin and then its argument prototype would still apply. */
32301 #ifdef __cplusplus
32302 extern "C"
32303 #endif
32304 char XOpenDisplay ();
32305 int
32306 main ()
32307 {
32308 return XOpenDisplay ();
32309 ;
32310 return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (ac_try="$ac_link"
32315 case "(($ac_try" in
32316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32317 *) ac_try_echo=$ac_try;;
32318 esac
32319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32320 (eval "$ac_link") 2>conftest.er1
32321 ac_status=$?
32322 grep -v '^ *+' conftest.er1 >conftest.err
32323 rm -f conftest.er1
32324 cat conftest.err >&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } && {
32327 test -z "$ac_c_werror_flag" ||
32328 test ! -s conftest.err
32329 } && test -s conftest$ac_exeext &&
32330 $as_test_x conftest$ac_exeext; then
32331 :
32332 else
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.$ac_ext >&5
32335
32336 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32337 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32338 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32340 else
32341 ac_check_lib_save_LIBS=$LIBS
32342 LIBS="-ldnet $LIBS"
32343 cat >conftest.$ac_ext <<_ACEOF
32344 /* confdefs.h. */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349
32350 /* Override any GCC internal prototype to avoid an error.
32351 Use char because int might match the return type of a GCC
32352 builtin and then its argument prototype would still apply. */
32353 #ifdef __cplusplus
32354 extern "C"
32355 #endif
32356 char dnet_ntoa ();
32357 int
32358 main ()
32359 {
32360 return dnet_ntoa ();
32361 ;
32362 return 0;
32363 }
32364 _ACEOF
32365 rm -f conftest.$ac_objext conftest$ac_exeext
32366 if { (ac_try="$ac_link"
32367 case "(($ac_try" in
32368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32369 *) ac_try_echo=$ac_try;;
32370 esac
32371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32372 (eval "$ac_link") 2>conftest.er1
32373 ac_status=$?
32374 grep -v '^ *+' conftest.er1 >conftest.err
32375 rm -f conftest.er1
32376 cat conftest.err >&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } && {
32379 test -z "$ac_c_werror_flag" ||
32380 test ! -s conftest.err
32381 } && test -s conftest$ac_exeext &&
32382 $as_test_x conftest$ac_exeext; then
32383 ac_cv_lib_dnet_dnet_ntoa=yes
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32387
32388 ac_cv_lib_dnet_dnet_ntoa=no
32389 fi
32390
32391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32392 conftest$ac_exeext conftest.$ac_ext
32393 LIBS=$ac_check_lib_save_LIBS
32394 fi
32395 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32396 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32397 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32398 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32399 fi
32400
32401 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32402 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32403 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32404 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 else
32407 ac_check_lib_save_LIBS=$LIBS
32408 LIBS="-ldnet_stub $LIBS"
32409 cat >conftest.$ac_ext <<_ACEOF
32410 /* confdefs.h. */
32411 _ACEOF
32412 cat confdefs.h >>conftest.$ac_ext
32413 cat >>conftest.$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415
32416 /* Override any GCC internal prototype to avoid an error.
32417 Use char because int might match the return type of a GCC
32418 builtin and then its argument prototype would still apply. */
32419 #ifdef __cplusplus
32420 extern "C"
32421 #endif
32422 char dnet_ntoa ();
32423 int
32424 main ()
32425 {
32426 return dnet_ntoa ();
32427 ;
32428 return 0;
32429 }
32430 _ACEOF
32431 rm -f conftest.$ac_objext conftest$ac_exeext
32432 if { (ac_try="$ac_link"
32433 case "(($ac_try" in
32434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32435 *) ac_try_echo=$ac_try;;
32436 esac
32437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32438 (eval "$ac_link") 2>conftest.er1
32439 ac_status=$?
32440 grep -v '^ *+' conftest.er1 >conftest.err
32441 rm -f conftest.er1
32442 cat conftest.err >&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); } && {
32445 test -z "$ac_c_werror_flag" ||
32446 test ! -s conftest.err
32447 } && test -s conftest$ac_exeext &&
32448 $as_test_x conftest$ac_exeext; then
32449 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32450 else
32451 echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32453
32454 ac_cv_lib_dnet_stub_dnet_ntoa=no
32455 fi
32456
32457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32458 conftest$ac_exeext conftest.$ac_ext
32459 LIBS=$ac_check_lib_save_LIBS
32460 fi
32461 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32462 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32463 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32464 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32465 fi
32466
32467 fi
32468 fi
32469
32470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32471 conftest$ac_exeext conftest.$ac_ext
32472 LIBS="$ac_xsave_LIBS"
32473
32474 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32475 # to get the SysV transport functions.
32476 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32477 # needs -lnsl.
32478 # The nsl library prevents programs from opening the X display
32479 # on Irix 5.2, according to T.E. Dickey.
32480 # The functions gethostbyname, getservbyname, and inet_addr are
32481 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32482 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32483 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32484 if test "${ac_cv_func_gethostbyname+set}" = set; then
32485 echo $ECHO_N "(cached) $ECHO_C" >&6
32486 else
32487 cat >conftest.$ac_ext <<_ACEOF
32488 /* confdefs.h. */
32489 _ACEOF
32490 cat confdefs.h >>conftest.$ac_ext
32491 cat >>conftest.$ac_ext <<_ACEOF
32492 /* end confdefs.h. */
32493 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32495 #define gethostbyname innocuous_gethostbyname
32496
32497 /* System header to define __stub macros and hopefully few prototypes,
32498 which can conflict with char gethostbyname (); below.
32499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32500 <limits.h> exists even on freestanding compilers. */
32501
32502 #ifdef __STDC__
32503 # include <limits.h>
32504 #else
32505 # include <assert.h>
32506 #endif
32507
32508 #undef gethostbyname
32509
32510 /* Override any GCC internal prototype to avoid an error.
32511 Use char because int might match the return type of a GCC
32512 builtin and then its argument prototype would still apply. */
32513 #ifdef __cplusplus
32514 extern "C"
32515 #endif
32516 char gethostbyname ();
32517 /* The GNU C library defines this for functions which it implements
32518 to always fail with ENOSYS. Some functions are actually named
32519 something starting with __ and the normal name is an alias. */
32520 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32521 choke me
32522 #endif
32523
32524 int
32525 main ()
32526 {
32527 return gethostbyname ();
32528 ;
32529 return 0;
32530 }
32531 _ACEOF
32532 rm -f conftest.$ac_objext conftest$ac_exeext
32533 if { (ac_try="$ac_link"
32534 case "(($ac_try" in
32535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32536 *) ac_try_echo=$ac_try;;
32537 esac
32538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32539 (eval "$ac_link") 2>conftest.er1
32540 ac_status=$?
32541 grep -v '^ *+' conftest.er1 >conftest.err
32542 rm -f conftest.er1
32543 cat conftest.err >&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } && {
32546 test -z "$ac_c_werror_flag" ||
32547 test ! -s conftest.err
32548 } && test -s conftest$ac_exeext &&
32549 $as_test_x conftest$ac_exeext; then
32550 ac_cv_func_gethostbyname=yes
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32554
32555 ac_cv_func_gethostbyname=no
32556 fi
32557
32558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32559 conftest$ac_exeext conftest.$ac_ext
32560 fi
32561 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32562 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32563
32564 if test $ac_cv_func_gethostbyname = no; then
32565 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32566 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32567 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32568 echo $ECHO_N "(cached) $ECHO_C" >&6
32569 else
32570 ac_check_lib_save_LIBS=$LIBS
32571 LIBS="-lnsl $LIBS"
32572 cat >conftest.$ac_ext <<_ACEOF
32573 /* confdefs.h. */
32574 _ACEOF
32575 cat confdefs.h >>conftest.$ac_ext
32576 cat >>conftest.$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32578
32579 /* Override any GCC internal prototype to avoid an error.
32580 Use char because int might match the return type of a GCC
32581 builtin and then its argument prototype would still apply. */
32582 #ifdef __cplusplus
32583 extern "C"
32584 #endif
32585 char gethostbyname ();
32586 int
32587 main ()
32588 {
32589 return gethostbyname ();
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_lib_nsl_gethostbyname=yes
32613 else
32614 echo "$as_me: failed program was:" >&5
32615 sed 's/^/| /' conftest.$ac_ext >&5
32616
32617 ac_cv_lib_nsl_gethostbyname=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 LIBS=$ac_check_lib_save_LIBS
32623 fi
32624 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32625 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32626 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32628 fi
32629
32630 if test $ac_cv_lib_nsl_gethostbyname = no; then
32631 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32632 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32633 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 else
32636 ac_check_lib_save_LIBS=$LIBS
32637 LIBS="-lbsd $LIBS"
32638 cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h. */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644
32645 /* Override any GCC internal prototype to avoid an error.
32646 Use char because int might match the return type of a GCC
32647 builtin and then its argument prototype would still apply. */
32648 #ifdef __cplusplus
32649 extern "C"
32650 #endif
32651 char gethostbyname ();
32652 int
32653 main ()
32654 {
32655 return gethostbyname ();
32656 ;
32657 return 0;
32658 }
32659 _ACEOF
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (ac_try="$ac_link"
32662 case "(($ac_try" in
32663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32664 *) ac_try_echo=$ac_try;;
32665 esac
32666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32667 (eval "$ac_link") 2>conftest.er1
32668 ac_status=$?
32669 grep -v '^ *+' conftest.er1 >conftest.err
32670 rm -f conftest.er1
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } && {
32674 test -z "$ac_c_werror_flag" ||
32675 test ! -s conftest.err
32676 } && test -s conftest$ac_exeext &&
32677 $as_test_x conftest$ac_exeext; then
32678 ac_cv_lib_bsd_gethostbyname=yes
32679 else
32680 echo "$as_me: failed program was:" >&5
32681 sed 's/^/| /' conftest.$ac_ext >&5
32682
32683 ac_cv_lib_bsd_gethostbyname=no
32684 fi
32685
32686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32687 conftest$ac_exeext conftest.$ac_ext
32688 LIBS=$ac_check_lib_save_LIBS
32689 fi
32690 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32691 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32692 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32693 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32694 fi
32695
32696 fi
32697 fi
32698
32699 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32700 # socket/setsockopt and other routines are undefined under SCO ODT
32701 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32702 # on later versions), says Simon Leinen: it contains gethostby*
32703 # variants that don't use the name server (or something). -lsocket
32704 # must be given before -lnsl if both are needed. We assume that
32705 # if connect needs -lnsl, so does gethostbyname.
32706 { echo "$as_me:$LINENO: checking for connect" >&5
32707 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32708 if test "${ac_cv_func_connect+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 else
32711 cat >conftest.$ac_ext <<_ACEOF
32712 /* confdefs.h. */
32713 _ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32717 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32719 #define connect innocuous_connect
32720
32721 /* System header to define __stub macros and hopefully few prototypes,
32722 which can conflict with char connect (); below.
32723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32724 <limits.h> exists even on freestanding compilers. */
32725
32726 #ifdef __STDC__
32727 # include <limits.h>
32728 #else
32729 # include <assert.h>
32730 #endif
32731
32732 #undef connect
32733
32734 /* Override any GCC internal prototype to avoid an error.
32735 Use char because int might match the return type of a GCC
32736 builtin and then its argument prototype would still apply. */
32737 #ifdef __cplusplus
32738 extern "C"
32739 #endif
32740 char connect ();
32741 /* The GNU C library defines this for functions which it implements
32742 to always fail with ENOSYS. Some functions are actually named
32743 something starting with __ and the normal name is an alias. */
32744 #if defined __stub_connect || defined __stub___connect
32745 choke me
32746 #endif
32747
32748 int
32749 main ()
32750 {
32751 return connect ();
32752 ;
32753 return 0;
32754 }
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (ac_try="$ac_link"
32758 case "(($ac_try" in
32759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32760 *) ac_try_echo=$ac_try;;
32761 esac
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_link") 2>conftest.er1
32764 ac_status=$?
32765 grep -v '^ *+' conftest.er1 >conftest.err
32766 rm -f conftest.er1
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } && {
32770 test -z "$ac_c_werror_flag" ||
32771 test ! -s conftest.err
32772 } && test -s conftest$ac_exeext &&
32773 $as_test_x conftest$ac_exeext; then
32774 ac_cv_func_connect=yes
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779 ac_cv_func_connect=no
32780 fi
32781
32782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32783 conftest$ac_exeext conftest.$ac_ext
32784 fi
32785 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32786 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32787
32788 if test $ac_cv_func_connect = no; then
32789 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32790 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32791 if test "${ac_cv_lib_socket_connect+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 else
32794 ac_check_lib_save_LIBS=$LIBS
32795 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32796 cat >conftest.$ac_ext <<_ACEOF
32797 /* confdefs.h. */
32798 _ACEOF
32799 cat confdefs.h >>conftest.$ac_ext
32800 cat >>conftest.$ac_ext <<_ACEOF
32801 /* end confdefs.h. */
32802
32803 /* Override any GCC internal prototype to avoid an error.
32804 Use char because int might match the return type of a GCC
32805 builtin and then its argument prototype would still apply. */
32806 #ifdef __cplusplus
32807 extern "C"
32808 #endif
32809 char connect ();
32810 int
32811 main ()
32812 {
32813 return connect ();
32814 ;
32815 return 0;
32816 }
32817 _ACEOF
32818 rm -f conftest.$ac_objext conftest$ac_exeext
32819 if { (ac_try="$ac_link"
32820 case "(($ac_try" in
32821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32823 esac
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_link") 2>conftest.er1
32826 ac_status=$?
32827 grep -v '^ *+' conftest.er1 >conftest.err
32828 rm -f conftest.er1
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest$ac_exeext &&
32835 $as_test_x conftest$ac_exeext; then
32836 ac_cv_lib_socket_connect=yes
32837 else
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.$ac_ext >&5
32840
32841 ac_cv_lib_socket_connect=no
32842 fi
32843
32844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32845 conftest$ac_exeext conftest.$ac_ext
32846 LIBS=$ac_check_lib_save_LIBS
32847 fi
32848 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32849 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32850 if test $ac_cv_lib_socket_connect = yes; then
32851 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32852 fi
32853
32854 fi
32855
32856 # Guillermo Gomez says -lposix is necessary on A/UX.
32857 { echo "$as_me:$LINENO: checking for remove" >&5
32858 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32859 if test "${ac_cv_func_remove+set}" = set; then
32860 echo $ECHO_N "(cached) $ECHO_C" >&6
32861 else
32862 cat >conftest.$ac_ext <<_ACEOF
32863 /* confdefs.h. */
32864 _ACEOF
32865 cat confdefs.h >>conftest.$ac_ext
32866 cat >>conftest.$ac_ext <<_ACEOF
32867 /* end confdefs.h. */
32868 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32870 #define remove innocuous_remove
32871
32872 /* System header to define __stub macros and hopefully few prototypes,
32873 which can conflict with char remove (); below.
32874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32875 <limits.h> exists even on freestanding compilers. */
32876
32877 #ifdef __STDC__
32878 # include <limits.h>
32879 #else
32880 # include <assert.h>
32881 #endif
32882
32883 #undef remove
32884
32885 /* Override any GCC internal prototype to avoid an error.
32886 Use char because int might match the return type of a GCC
32887 builtin and then its argument prototype would still apply. */
32888 #ifdef __cplusplus
32889 extern "C"
32890 #endif
32891 char remove ();
32892 /* The GNU C library defines this for functions which it implements
32893 to always fail with ENOSYS. Some functions are actually named
32894 something starting with __ and the normal name is an alias. */
32895 #if defined __stub_remove || defined __stub___remove
32896 choke me
32897 #endif
32898
32899 int
32900 main ()
32901 {
32902 return remove ();
32903 ;
32904 return 0;
32905 }
32906 _ACEOF
32907 rm -f conftest.$ac_objext conftest$ac_exeext
32908 if { (ac_try="$ac_link"
32909 case "(($ac_try" in
32910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32911 *) ac_try_echo=$ac_try;;
32912 esac
32913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32914 (eval "$ac_link") 2>conftest.er1
32915 ac_status=$?
32916 grep -v '^ *+' conftest.er1 >conftest.err
32917 rm -f conftest.er1
32918 cat conftest.err >&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); } && {
32921 test -z "$ac_c_werror_flag" ||
32922 test ! -s conftest.err
32923 } && test -s conftest$ac_exeext &&
32924 $as_test_x conftest$ac_exeext; then
32925 ac_cv_func_remove=yes
32926 else
32927 echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.$ac_ext >&5
32929
32930 ac_cv_func_remove=no
32931 fi
32932
32933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32934 conftest$ac_exeext conftest.$ac_ext
32935 fi
32936 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32937 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32938
32939 if test $ac_cv_func_remove = no; then
32940 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32941 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32942 if test "${ac_cv_lib_posix_remove+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945 ac_check_lib_save_LIBS=$LIBS
32946 LIBS="-lposix $LIBS"
32947 cat >conftest.$ac_ext <<_ACEOF
32948 /* confdefs.h. */
32949 _ACEOF
32950 cat confdefs.h >>conftest.$ac_ext
32951 cat >>conftest.$ac_ext <<_ACEOF
32952 /* end confdefs.h. */
32953
32954 /* Override any GCC internal prototype to avoid an error.
32955 Use char because int might match the return type of a GCC
32956 builtin and then its argument prototype would still apply. */
32957 #ifdef __cplusplus
32958 extern "C"
32959 #endif
32960 char remove ();
32961 int
32962 main ()
32963 {
32964 return remove ();
32965 ;
32966 return 0;
32967 }
32968 _ACEOF
32969 rm -f conftest.$ac_objext conftest$ac_exeext
32970 if { (ac_try="$ac_link"
32971 case "(($ac_try" in
32972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32974 esac
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_link") 2>conftest.er1
32977 ac_status=$?
32978 grep -v '^ *+' conftest.er1 >conftest.err
32979 rm -f conftest.er1
32980 cat conftest.err >&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } && {
32983 test -z "$ac_c_werror_flag" ||
32984 test ! -s conftest.err
32985 } && test -s conftest$ac_exeext &&
32986 $as_test_x conftest$ac_exeext; then
32987 ac_cv_lib_posix_remove=yes
32988 else
32989 echo "$as_me: failed program was:" >&5
32990 sed 's/^/| /' conftest.$ac_ext >&5
32991
32992 ac_cv_lib_posix_remove=no
32993 fi
32994
32995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32996 conftest$ac_exeext conftest.$ac_ext
32997 LIBS=$ac_check_lib_save_LIBS
32998 fi
32999 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33000 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33001 if test $ac_cv_lib_posix_remove = yes; then
33002 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33003 fi
33004
33005 fi
33006
33007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33008 { echo "$as_me:$LINENO: checking for shmat" >&5
33009 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33010 if test "${ac_cv_func_shmat+set}" = set; then
33011 echo $ECHO_N "(cached) $ECHO_C" >&6
33012 else
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 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33021 #define shmat innocuous_shmat
33022
33023 /* System header to define __stub macros and hopefully few prototypes,
33024 which can conflict with char shmat (); below.
33025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33026 <limits.h> exists even on freestanding compilers. */
33027
33028 #ifdef __STDC__
33029 # include <limits.h>
33030 #else
33031 # include <assert.h>
33032 #endif
33033
33034 #undef shmat
33035
33036 /* Override any GCC internal prototype to avoid an error.
33037 Use char because int might match the return type of a GCC
33038 builtin and then its argument prototype would still apply. */
33039 #ifdef __cplusplus
33040 extern "C"
33041 #endif
33042 char shmat ();
33043 /* The GNU C library defines this for functions which it implements
33044 to always fail with ENOSYS. Some functions are actually named
33045 something starting with __ and the normal name is an alias. */
33046 #if defined __stub_shmat || defined __stub___shmat
33047 choke me
33048 #endif
33049
33050 int
33051 main ()
33052 {
33053 return shmat ();
33054 ;
33055 return 0;
33056 }
33057 _ACEOF
33058 rm -f conftest.$ac_objext conftest$ac_exeext
33059 if { (ac_try="$ac_link"
33060 case "(($ac_try" in
33061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33062 *) ac_try_echo=$ac_try;;
33063 esac
33064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33065 (eval "$ac_link") 2>conftest.er1
33066 ac_status=$?
33067 grep -v '^ *+' conftest.er1 >conftest.err
33068 rm -f conftest.er1
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } && {
33072 test -z "$ac_c_werror_flag" ||
33073 test ! -s conftest.err
33074 } && test -s conftest$ac_exeext &&
33075 $as_test_x conftest$ac_exeext; then
33076 ac_cv_func_shmat=yes
33077 else
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33080
33081 ac_cv_func_shmat=no
33082 fi
33083
33084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33085 conftest$ac_exeext conftest.$ac_ext
33086 fi
33087 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33088 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33089
33090 if test $ac_cv_func_shmat = no; then
33091 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33092 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33093 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 else
33096 ac_check_lib_save_LIBS=$LIBS
33097 LIBS="-lipc $LIBS"
33098 cat >conftest.$ac_ext <<_ACEOF
33099 /* confdefs.h. */
33100 _ACEOF
33101 cat confdefs.h >>conftest.$ac_ext
33102 cat >>conftest.$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33104
33105 /* Override any GCC internal prototype to avoid an error.
33106 Use char because int might match the return type of a GCC
33107 builtin and then its argument prototype would still apply. */
33108 #ifdef __cplusplus
33109 extern "C"
33110 #endif
33111 char shmat ();
33112 int
33113 main ()
33114 {
33115 return shmat ();
33116 ;
33117 return 0;
33118 }
33119 _ACEOF
33120 rm -f conftest.$ac_objext conftest$ac_exeext
33121 if { (ac_try="$ac_link"
33122 case "(($ac_try" in
33123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33124 *) ac_try_echo=$ac_try;;
33125 esac
33126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33127 (eval "$ac_link") 2>conftest.er1
33128 ac_status=$?
33129 grep -v '^ *+' conftest.er1 >conftest.err
33130 rm -f conftest.er1
33131 cat conftest.err >&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } && {
33134 test -z "$ac_c_werror_flag" ||
33135 test ! -s conftest.err
33136 } && test -s conftest$ac_exeext &&
33137 $as_test_x conftest$ac_exeext; then
33138 ac_cv_lib_ipc_shmat=yes
33139 else
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33142
33143 ac_cv_lib_ipc_shmat=no
33144 fi
33145
33146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33147 conftest$ac_exeext conftest.$ac_ext
33148 LIBS=$ac_check_lib_save_LIBS
33149 fi
33150 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33151 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33152 if test $ac_cv_lib_ipc_shmat = yes; then
33153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33154 fi
33155
33156 fi
33157 fi
33158
33159 # Check for libraries that X11R6 Xt/Xaw programs need.
33160 ac_save_LDFLAGS=$LDFLAGS
33161 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33162 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33163 # check for ICE first), but we must link in the order -lSM -lICE or
33164 # we get undefined symbols. So assume we have SM if we have ICE.
33165 # These have to be linked with before -lX11, unlike the other
33166 # libraries we check for below, so use a different variable.
33167 # John Interrante, Karl Berry
33168 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33169 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33170 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33171 echo $ECHO_N "(cached) $ECHO_C" >&6
33172 else
33173 ac_check_lib_save_LIBS=$LIBS
33174 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33175 cat >conftest.$ac_ext <<_ACEOF
33176 /* confdefs.h. */
33177 _ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33181
33182 /* Override any GCC internal prototype to avoid an error.
33183 Use char because int might match the return type of a GCC
33184 builtin and then its argument prototype would still apply. */
33185 #ifdef __cplusplus
33186 extern "C"
33187 #endif
33188 char IceConnectionNumber ();
33189 int
33190 main ()
33191 {
33192 return IceConnectionNumber ();
33193 ;
33194 return 0;
33195 }
33196 _ACEOF
33197 rm -f conftest.$ac_objext conftest$ac_exeext
33198 if { (ac_try="$ac_link"
33199 case "(($ac_try" in
33200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33201 *) ac_try_echo=$ac_try;;
33202 esac
33203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33204 (eval "$ac_link") 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } && {
33211 test -z "$ac_c_werror_flag" ||
33212 test ! -s conftest.err
33213 } && test -s conftest$ac_exeext &&
33214 $as_test_x conftest$ac_exeext; then
33215 ac_cv_lib_ICE_IceConnectionNumber=yes
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 ac_cv_lib_ICE_IceConnectionNumber=no
33221 fi
33222
33223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33224 conftest$ac_exeext conftest.$ac_ext
33225 LIBS=$ac_check_lib_save_LIBS
33226 fi
33227 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33228 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33229 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33230 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33231 fi
33232
33233 LDFLAGS=$ac_save_LDFLAGS
33234
33235 fi
33236
33237
33238 if test "$no_x" = "yes"; then
33239 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33240 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33241 { (exit 1); exit 1; }; }
33242 fi
33243
33244 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33245 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33246 AFMINSTALL=afminstall
33247 COMPILED_X_PROGRAM=0
33248
33249 fi
33250
33251 if test "$wxUSE_X11" = 1; then
33252 if test "$wxUSE_NANOX" = "yes"; then
33253 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33254 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33255 if test "x$MICROWIN" = x ; then
33256 { echo "$as_me:$LINENO: result: not found" >&5
33257 echo "${ECHO_T}not found" >&6; }
33258 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33259 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33260 { (exit 1); exit 1; }; }
33261 else
33262 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33263 echo "${ECHO_T}$MICROWIN" >&6; }
33264 cat >>confdefs.h <<\_ACEOF
33265 #define wxUSE_NANOX 1
33266 _ACEOF
33267
33268 fi
33269 fi
33270
33271 if test "$wxUSE_UNICODE" = "yes"; then
33272
33273
33274 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33275 if test -n "$ac_tool_prefix"; then
33276 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33277 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33281 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 else
33283 case $PKG_CONFIG in
33284 [\\/]* | ?:[\\/]*)
33285 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33286 ;;
33287 *)
33288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33289 for as_dir in $PATH
33290 do
33291 IFS=$as_save_IFS
33292 test -z "$as_dir" && as_dir=.
33293 for ac_exec_ext in '' $ac_executable_extensions; do
33294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33295 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33297 break 2
33298 fi
33299 done
33300 done
33301 IFS=$as_save_IFS
33302
33303 ;;
33304 esac
33305 fi
33306 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33307 if test -n "$PKG_CONFIG"; then
33308 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33309 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33310 else
33311 { echo "$as_me:$LINENO: result: no" >&5
33312 echo "${ECHO_T}no" >&6; }
33313 fi
33314
33315
33316 fi
33317 if test -z "$ac_cv_path_PKG_CONFIG"; then
33318 ac_pt_PKG_CONFIG=$PKG_CONFIG
33319 # Extract the first word of "pkg-config", so it can be a program name with args.
33320 set dummy pkg-config; ac_word=$2
33321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33323 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33324 echo $ECHO_N "(cached) $ECHO_C" >&6
33325 else
33326 case $ac_pt_PKG_CONFIG in
33327 [\\/]* | ?:[\\/]*)
33328 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33329 ;;
33330 *)
33331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33332 for as_dir in $PATH
33333 do
33334 IFS=$as_save_IFS
33335 test -z "$as_dir" && as_dir=.
33336 for ac_exec_ext in '' $ac_executable_extensions; do
33337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33338 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33340 break 2
33341 fi
33342 done
33343 done
33344 IFS=$as_save_IFS
33345
33346 ;;
33347 esac
33348 fi
33349 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33350 if test -n "$ac_pt_PKG_CONFIG"; then
33351 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33352 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33353 else
33354 { echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6; }
33356 fi
33357
33358 if test "x$ac_pt_PKG_CONFIG" = x; then
33359 PKG_CONFIG=""
33360 else
33361 case $cross_compiling:$ac_tool_warned in
33362 yes:)
33363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33364 whose name does not start with the host triplet. If you think this
33365 configuration is useful to you, please write to autoconf@gnu.org." >&5
33366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33367 whose name does not start with the host triplet. If you think this
33368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33369 ac_tool_warned=yes ;;
33370 esac
33371 PKG_CONFIG=$ac_pt_PKG_CONFIG
33372 fi
33373 else
33374 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33375 fi
33376
33377 fi
33378 if test -n "$PKG_CONFIG"; then
33379 _pkg_min_version=0.9.0
33380 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33381 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33382 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33383 { echo "$as_me:$LINENO: result: yes" >&5
33384 echo "${ECHO_T}yes" >&6; }
33385 else
33386 { echo "$as_me:$LINENO: result: no" >&5
33387 echo "${ECHO_T}no" >&6; }
33388 PKG_CONFIG=""
33389 fi
33390
33391 fi
33392
33393
33394 pkg_failed=no
33395 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33396 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33397
33398 if test -n "$PKG_CONFIG"; then
33399 if test -n "$PANGOX_CFLAGS"; then
33400 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33401 else
33402 if test -n "$PKG_CONFIG" && \
33403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33404 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33405 ac_status=$?
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; then
33408 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33409 else
33410 pkg_failed=yes
33411 fi
33412 fi
33413 else
33414 pkg_failed=untried
33415 fi
33416 if test -n "$PKG_CONFIG"; then
33417 if test -n "$PANGOX_LIBS"; then
33418 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33419 else
33420 if test -n "$PKG_CONFIG" && \
33421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33422 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; then
33426 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33427 else
33428 pkg_failed=yes
33429 fi
33430 fi
33431 else
33432 pkg_failed=untried
33433 fi
33434
33435
33436
33437 if test $pkg_failed = yes; then
33438
33439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33440 _pkg_short_errors_supported=yes
33441 else
33442 _pkg_short_errors_supported=no
33443 fi
33444 if test $_pkg_short_errors_supported = yes; then
33445 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33446 else
33447 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33448 fi
33449 # Put the nasty error message in config.log where it belongs
33450 echo "$PANGOX_PKG_ERRORS" >&5
33451
33452
33453 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33454 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33455 { (exit 1); exit 1; }; }
33456
33457
33458 elif test $pkg_failed = untried; then
33459
33460 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33461 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33462 { (exit 1); exit 1; }; }
33463
33464
33465 else
33466 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33467 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33468 { echo "$as_me:$LINENO: result: yes" >&5
33469 echo "${ECHO_T}yes" >&6; }
33470
33471 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33472 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33474
33475 fi
33476
33477 pkg_failed=no
33478 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33479 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33480
33481 if test -n "$PKG_CONFIG"; then
33482 if test -n "$PANGOFT2_CFLAGS"; then
33483 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33484 else
33485 if test -n "$PKG_CONFIG" && \
33486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33487 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33488 ac_status=$?
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; then
33491 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33492 else
33493 pkg_failed=yes
33494 fi
33495 fi
33496 else
33497 pkg_failed=untried
33498 fi
33499 if test -n "$PKG_CONFIG"; then
33500 if test -n "$PANGOFT2_LIBS"; then
33501 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33502 else
33503 if test -n "$PKG_CONFIG" && \
33504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33505 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; then
33509 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33510 else
33511 pkg_failed=yes
33512 fi
33513 fi
33514 else
33515 pkg_failed=untried
33516 fi
33517
33518
33519
33520 if test $pkg_failed = yes; then
33521
33522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33523 _pkg_short_errors_supported=yes
33524 else
33525 _pkg_short_errors_supported=no
33526 fi
33527 if test $_pkg_short_errors_supported = yes; then
33528 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33529 else
33530 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33531 fi
33532 # Put the nasty error message in config.log where it belongs
33533 echo "$PANGOFT2_PKG_ERRORS" >&5
33534
33535
33536 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33537 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33538 wxUSE_PRINTING_ARCHITECTURE="no"
33539
33540
33541 elif test $pkg_failed = untried; then
33542
33543 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33544 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33545 wxUSE_PRINTING_ARCHITECTURE="no"
33546
33547
33548 else
33549 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33550 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33551 { echo "$as_me:$LINENO: result: yes" >&5
33552 echo "${ECHO_T}yes" >&6; }
33553
33554 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33555 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33556 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33557
33558 fi
33559
33560 pkg_failed=no
33561 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33562 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33563
33564 if test -n "$PKG_CONFIG"; then
33565 if test -n "$PANGOXFT_CFLAGS"; then
33566 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33567 else
33568 if test -n "$PKG_CONFIG" && \
33569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33570 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; then
33574 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33575 else
33576 pkg_failed=yes
33577 fi
33578 fi
33579 else
33580 pkg_failed=untried
33581 fi
33582 if test -n "$PKG_CONFIG"; then
33583 if test -n "$PANGOXFT_LIBS"; then
33584 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33585 else
33586 if test -n "$PKG_CONFIG" && \
33587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33588 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33589 ac_status=$?
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; then
33592 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33593 else
33594 pkg_failed=yes
33595 fi
33596 fi
33597 else
33598 pkg_failed=untried
33599 fi
33600
33601
33602
33603 if test $pkg_failed = yes; then
33604
33605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33606 _pkg_short_errors_supported=yes
33607 else
33608 _pkg_short_errors_supported=no
33609 fi
33610 if test $_pkg_short_errors_supported = yes; then
33611 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33612 else
33613 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33614 fi
33615 # Put the nasty error message in config.log where it belongs
33616 echo "$PANGOXFT_PKG_ERRORS" >&5
33617
33618
33619 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33620 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33621
33622
33623 elif test $pkg_failed = untried; then
33624
33625 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33626 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33627
33628
33629 else
33630 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33631 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33632 { echo "$as_me:$LINENO: result: yes" >&5
33633 echo "${ECHO_T}yes" >&6; }
33634
33635 cat >>confdefs.h <<\_ACEOF
33636 #define HAVE_PANGO_XFT 1
33637 _ACEOF
33638
33639 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33640 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33642
33643 fi
33644 save_LIBS="$LIBS"
33645 LIBS="$LIBS $PANGOX_LIBS"
33646
33647 for ac_func in pango_font_family_is_monospace
33648 do
33649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33652 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 else
33655 cat >conftest.$ac_ext <<_ACEOF
33656 /* confdefs.h. */
33657 _ACEOF
33658 cat confdefs.h >>conftest.$ac_ext
33659 cat >>conftest.$ac_ext <<_ACEOF
33660 /* end confdefs.h. */
33661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33663 #define $ac_func innocuous_$ac_func
33664
33665 /* System header to define __stub macros and hopefully few prototypes,
33666 which can conflict with char $ac_func (); below.
33667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33668 <limits.h> exists even on freestanding compilers. */
33669
33670 #ifdef __STDC__
33671 # include <limits.h>
33672 #else
33673 # include <assert.h>
33674 #endif
33675
33676 #undef $ac_func
33677
33678 /* Override any GCC internal prototype to avoid an error.
33679 Use char because int might match the return type of a GCC
33680 builtin and then its argument prototype would still apply. */
33681 #ifdef __cplusplus
33682 extern "C"
33683 #endif
33684 char $ac_func ();
33685 /* The GNU C library defines this for functions which it implements
33686 to always fail with ENOSYS. Some functions are actually named
33687 something starting with __ and the normal name is an alias. */
33688 #if defined __stub_$ac_func || defined __stub___$ac_func
33689 choke me
33690 #endif
33691
33692 int
33693 main ()
33694 {
33695 return $ac_func ();
33696 ;
33697 return 0;
33698 }
33699 _ACEOF
33700 rm -f conftest.$ac_objext conftest$ac_exeext
33701 if { (ac_try="$ac_link"
33702 case "(($ac_try" in
33703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33704 *) ac_try_echo=$ac_try;;
33705 esac
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707 (eval "$ac_link") 2>conftest.er1
33708 ac_status=$?
33709 grep -v '^ *+' conftest.er1 >conftest.err
33710 rm -f conftest.er1
33711 cat conftest.err >&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } && {
33714 test -z "$ac_c_werror_flag" ||
33715 test ! -s conftest.err
33716 } && test -s conftest$ac_exeext &&
33717 $as_test_x conftest$ac_exeext; then
33718 eval "$as_ac_var=yes"
33719 else
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.$ac_ext >&5
33722
33723 eval "$as_ac_var=no"
33724 fi
33725
33726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33727 conftest$ac_exeext conftest.$ac_ext
33728 fi
33729 ac_res=`eval echo '${'$as_ac_var'}'`
33730 { echo "$as_me:$LINENO: result: $ac_res" >&5
33731 echo "${ECHO_T}$ac_res" >&6; }
33732 if test `eval echo '${'$as_ac_var'}'` = yes; then
33733 cat >>confdefs.h <<_ACEOF
33734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33735 _ACEOF
33736
33737 fi
33738 done
33739
33740 LIBS="$save_LIBS"
33741 fi
33742
33743 wxUSE_UNIVERSAL="yes"
33744
33745 if test "$wxUSE_NANOX" = "yes"; then
33746 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33747 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"
33748 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33749 else
33750 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33751 fi
33752
33753 TOOLKIT=X11
33754 GUIDIST=X11_DIST
33755 fi
33756
33757 if test "$wxUSE_MOTIF" = 1; then
33758 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33759 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33760
33761 ac_find_includes=
33762 for ac_dir in $SEARCH_INCLUDE /usr/include;
33763 do
33764 if test -f "$ac_dir/Xm/Xm.h"; then
33765 ac_find_includes=$ac_dir
33766 break
33767 fi
33768 done
33769
33770 if test "$ac_find_includes" != "" ; then
33771 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33772 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33773
33774 if test "x$ac_find_includes" = "x/usr/include"; then
33775 ac_path_to_include=""
33776 else
33777 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33778 result=$?
33779 if test $result = 0; then
33780 ac_path_to_include=""
33781 else
33782 ac_path_to_include=" -I$ac_find_includes"
33783 fi
33784 fi
33785
33786 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33787 else
33788 save_CFLAGS=$CFLAGS
33789 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33790
33791 cat >conftest.$ac_ext <<_ACEOF
33792 /* confdefs.h. */
33793 _ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797
33798 #include <Xm/Xm.h>
33799
33800 int
33801 main ()
33802 {
33803
33804 int version;
33805 version = xmUseVersion;
33806
33807 ;
33808 return 0;
33809 }
33810 _ACEOF
33811 rm -f conftest.$ac_objext
33812 if { (ac_try="$ac_compile"
33813 case "(($ac_try" in
33814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33815 *) ac_try_echo=$ac_try;;
33816 esac
33817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33818 (eval "$ac_compile") 2>conftest.er1
33819 ac_status=$?
33820 grep -v '^ *+' conftest.er1 >conftest.err
33821 rm -f conftest.er1
33822 cat conftest.err >&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); } && {
33825 test -z "$ac_c_werror_flag" ||
33826 test ! -s conftest.err
33827 } && test -s conftest.$ac_objext; then
33828
33829 { echo "$as_me:$LINENO: result: found in default search path" >&5
33830 echo "${ECHO_T}found in default search path" >&6; }
33831 COMPILED_X_PROGRAM=1
33832
33833 else
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33836
33837
33838 { echo "$as_me:$LINENO: result: no" >&5
33839 echo "${ECHO_T}no" >&6; }
33840 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33841 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33842 { (exit 1); exit 1; }; }
33843
33844
33845 fi
33846
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848
33849 CFLAGS=$save_CFLAGS
33850 fi
33851
33852
33853 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33854 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33855
33856 ac_find_libraries=
33857 for ac_dir in $SEARCH_LIB;
33858 do
33859 for ac_extension in a so sl dylib dll.a; do
33860 if test -f "$ac_dir/libXm.$ac_extension"; then
33861 ac_find_libraries=$ac_dir
33862 break 2
33863 fi
33864 done
33865 done
33866
33867
33868 if test "x$ac_find_libraries" != "x" ; then
33869 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33870 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33871
33872
33873 if test "$ac_find_libraries" = "default location"; then
33874 ac_path_to_link=""
33875 else
33876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33877 result=$?
33878 if test $result = 0; then
33879 ac_path_to_link=""
33880 else
33881 ac_path_to_link=" -L$ac_find_libraries"
33882 fi
33883 fi
33884
33885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33886 else
33887 save_CFLAGS=$CFLAGS
33888 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33889 save_LIBS="$LIBS"
33890 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33891
33892 cat >conftest.$ac_ext <<_ACEOF
33893 /* confdefs.h. */
33894 _ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898
33899 #include <Xm/Xm.h>
33900
33901 int
33902 main ()
33903 {
33904
33905 int version;
33906 version = xmUseVersion;
33907
33908 ;
33909 return 0;
33910 }
33911 _ACEOF
33912 rm -f conftest.$ac_objext conftest$ac_exeext
33913 if { (ac_try="$ac_link"
33914 case "(($ac_try" in
33915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33917 esac
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_link") 2>conftest.er1
33920 ac_status=$?
33921 grep -v '^ *+' conftest.er1 >conftest.err
33922 rm -f conftest.er1
33923 cat conftest.err >&5
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); } && {
33926 test -z "$ac_c_werror_flag" ||
33927 test ! -s conftest.err
33928 } && test -s conftest$ac_exeext &&
33929 $as_test_x conftest$ac_exeext; then
33930
33931 { echo "$as_me:$LINENO: result: found in default search path" >&5
33932 echo "${ECHO_T}found in default search path" >&6; }
33933 COMPILED_X_PROGRAM=1
33934
33935 else
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33938
33939
33940 { echo "$as_me:$LINENO: result: no" >&5
33941 echo "${ECHO_T}no" >&6; }
33942 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33943 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33944 { (exit 1); exit 1; }; }
33945
33946
33947 fi
33948
33949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33950 conftest$ac_exeext conftest.$ac_ext
33951
33952 CFLAGS=$save_CFLAGS
33953 LIBS="$save_LIBS"
33954 fi
33955
33956 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33957 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33958 libp_link=""
33959 libsm_ice_link=""
33960 libs_found=0
33961 for libp in "" " -lXp"; do
33962 if test "$libs_found" = "0"; then
33963 for libsm_ice in "" " -lSM -lICE"; do
33964 if test "$libs_found" = "0"; then
33965 save_LIBS="$LIBS"
33966 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33967 save_CFLAGS=$CFLAGS
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33969
33970 cat >conftest.$ac_ext <<_ACEOF
33971 /* confdefs.h. */
33972 _ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33976
33977 #include <Xm/Xm.h>
33978 #include <Xm/List.h>
33979
33980 int
33981 main ()
33982 {
33983
33984 XmString string = NULL;
33985 Widget w = NULL;
33986 int position = 0;
33987 XmListAddItem(w, string, position);
33988
33989 ;
33990 return 0;
33991 }
33992 _ACEOF
33993 rm -f conftest.$ac_objext conftest$ac_exeext
33994 if { (ac_try="$ac_link"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33997 *) ac_try_echo=$ac_try;;
33998 esac
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_link") 2>conftest.er1
34001 ac_status=$?
34002 grep -v '^ *+' conftest.er1 >conftest.err
34003 rm -f conftest.er1
34004 cat conftest.err >&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest$ac_exeext &&
34010 $as_test_x conftest$ac_exeext; then
34011
34012 libp_link="$libp"
34013 libsm_ice_link="$libsm_ice"
34014 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34015 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34016 libs_found=1
34017
34018 else
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34021
34022
34023
34024 fi
34025
34026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34027 conftest$ac_exeext conftest.$ac_ext
34028
34029 LIBS="$save_LIBS"
34030 CFLAGS=$save_CFLAGS
34031 fi
34032 done
34033 fi
34034 done
34035
34036 if test "$libs_found" = "0"; then
34037 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34038 echo "${ECHO_T}can't find the right libraries" >&6; }
34039 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34040 echo "$as_me: error: can't link a simple motif program" >&2;}
34041 { (exit 1); exit 1; }; }
34042 fi
34043
34044 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34045 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34046 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 else
34049 ac_check_lib_save_LIBS=$LIBS
34050 LIBS="-lSgm $LIBS"
34051 cat >conftest.$ac_ext <<_ACEOF
34052 /* confdefs.h. */
34053 _ACEOF
34054 cat confdefs.h >>conftest.$ac_ext
34055 cat >>conftest.$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34057
34058 /* Override any GCC internal prototype to avoid an error.
34059 Use char because int might match the return type of a GCC
34060 builtin and then its argument prototype would still apply. */
34061 #ifdef __cplusplus
34062 extern "C"
34063 #endif
34064 char SgCreateList ();
34065 int
34066 main ()
34067 {
34068 return SgCreateList ();
34069 ;
34070 return 0;
34071 }
34072 _ACEOF
34073 rm -f conftest.$ac_objext conftest$ac_exeext
34074 if { (ac_try="$ac_link"
34075 case "(($ac_try" in
34076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34077 *) ac_try_echo=$ac_try;;
34078 esac
34079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34080 (eval "$ac_link") 2>conftest.er1
34081 ac_status=$?
34082 grep -v '^ *+' conftest.er1 >conftest.err
34083 rm -f conftest.er1
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } && {
34087 test -z "$ac_c_werror_flag" ||
34088 test ! -s conftest.err
34089 } && test -s conftest$ac_exeext &&
34090 $as_test_x conftest$ac_exeext; then
34091 ac_cv_lib_Sgm_SgCreateList=yes
34092 else
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34095
34096 ac_cv_lib_Sgm_SgCreateList=no
34097 fi
34098
34099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34100 conftest$ac_exeext conftest.$ac_ext
34101 LIBS=$ac_check_lib_save_LIBS
34102 fi
34103 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34104 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34105 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34106 libsgm_link=" -lSgm"
34107 fi
34108
34109
34110 save_CFLAGS=$CFLAGS
34111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34112
34113 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34114 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34115 if test "${wx_cv_lib_motif2+set}" = set; then
34116 echo $ECHO_N "(cached) $ECHO_C" >&6
34117 else
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124
34125 #include <Xm/Xm.h>
34126
34127 int
34128 main ()
34129 {
34130
34131 #if XmVersion < 2000
34132 Not Motif 2
34133 #endif
34134
34135 ;
34136 return 0;
34137 }
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (ac_try="$ac_compile"
34141 case "(($ac_try" in
34142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34143 *) ac_try_echo=$ac_try;;
34144 esac
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_compile") 2>conftest.er1
34147 ac_status=$?
34148 grep -v '^ *+' conftest.er1 >conftest.err
34149 rm -f conftest.er1
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } && {
34153 test -z "$ac_c_werror_flag" ||
34154 test ! -s conftest.err
34155 } && test -s conftest.$ac_objext; then
34156 wx_cv_lib_motif2="yes"
34157 else
34158 echo "$as_me: failed program was:" >&5
34159 sed 's/^/| /' conftest.$ac_ext >&5
34160
34161 wx_cv_lib_motif2="no"
34162 fi
34163
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 fi
34166 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34167 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34168 if test "$wx_cv_lib_motif2" = "yes"; then
34169 cat >>confdefs.h <<\_ACEOF
34170 #define __WXMOTIF20__ 1
34171 _ACEOF
34172
34173 else
34174 cat >>confdefs.h <<\_ACEOF
34175 #define __WXMOTIF20__ 0
34176 _ACEOF
34177
34178 fi
34179
34180 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34181 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34182 if test "${wx_cv_lib_lesstif+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185 cat >conftest.$ac_ext <<_ACEOF
34186 /* confdefs.h. */
34187 _ACEOF
34188 cat confdefs.h >>conftest.$ac_ext
34189 cat >>conftest.$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34191
34192 #include <Xm/Xm.h>
34193
34194 int
34195 main ()
34196 {
34197
34198 #if !defined(LesstifVersion) || LesstifVersion <= 0
34199 Not Lesstif
34200 #endif
34201
34202 ;
34203 return 0;
34204 }
34205 _ACEOF
34206 rm -f conftest.$ac_objext
34207 if { (ac_try="$ac_compile"
34208 case "(($ac_try" in
34209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34210 *) ac_try_echo=$ac_try;;
34211 esac
34212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34213 (eval "$ac_compile") 2>conftest.er1
34214 ac_status=$?
34215 grep -v '^ *+' conftest.er1 >conftest.err
34216 rm -f conftest.er1
34217 cat conftest.err >&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } && {
34220 test -z "$ac_c_werror_flag" ||
34221 test ! -s conftest.err
34222 } && test -s conftest.$ac_objext; then
34223 wx_cv_lib_lesstif="yes"
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228 wx_cv_lib_lesstif="no"
34229 fi
34230
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232
34233 fi
34234 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34235 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34236 if test "$wx_cv_lib_lesstif" = "yes"; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define __WXLESSTIF__ 1
34239 _ACEOF
34240
34241 else
34242 cat >>confdefs.h <<\_ACEOF
34243 #define __WXLESSTIF__ 0
34244 _ACEOF
34245
34246 fi
34247
34248 CFLAGS=$save_CFLAGS
34249
34250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34251 TOOLKIT=MOTIF
34252 GUIDIST=MOTIF_DIST
34253 fi
34254
34255 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34256 if test "$wxUSE_LIBXPM" = "sys"; then
34257 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34258 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34259
34260 ac_find_libraries=
34261 for ac_dir in $SEARCH_LIB;
34262 do
34263 for ac_extension in a so sl dylib dll.a; do
34264 if test -f "$ac_dir/libXpm.$ac_extension"; then
34265 ac_find_libraries=$ac_dir
34266 break 2
34267 fi
34268 done
34269 done
34270
34271 if test "$ac_find_libraries" != "" ; then
34272
34273 if test "$ac_find_libraries" = "default location"; then
34274 ac_path_to_link=""
34275 else
34276 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34277 result=$?
34278 if test $result = 0; then
34279 ac_path_to_link=""
34280 else
34281 ac_path_to_link=" -L$ac_find_libraries"
34282 fi
34283 fi
34284
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34286 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34287 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34288
34289 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34290 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34291 if test "${wx_cv_x11_xpm_h+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294
34295 save_CFLAGS=$CFLAGS
34296 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34297
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304
34305 #include <X11/xpm.h>
34306
34307 int
34308 main ()
34309 {
34310
34311 int version;
34312 version = XpmLibraryVersion();
34313
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34323 esac
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 wx_cv_x11_xpm_h=yes
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 wx_cv_x11_xpm_h=no
34341
34342 fi
34343
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345
34346 CFLAGS=$save_CFLAGS
34347
34348
34349 fi
34350 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34351 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34352
34353 if test $wx_cv_x11_xpm_h = "yes"; then
34354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34355 cat >>confdefs.h <<\_ACEOF
34356 #define wxHAVE_LIB_XPM 1
34357 _ACEOF
34358
34359 else
34360 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34361 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34362 fi
34363 fi
34364
34365 fi
34366
34367 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34368 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34369 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34371 else
34372 ac_check_lib_save_LIBS=$LIBS
34373 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34374 cat >conftest.$ac_ext <<_ACEOF
34375 /* confdefs.h. */
34376 _ACEOF
34377 cat confdefs.h >>conftest.$ac_ext
34378 cat >>conftest.$ac_ext <<_ACEOF
34379 /* end confdefs.h. */
34380
34381 /* Override any GCC internal prototype to avoid an error.
34382 Use char because int might match the return type of a GCC
34383 builtin and then its argument prototype would still apply. */
34384 #ifdef __cplusplus
34385 extern "C"
34386 #endif
34387 char XShapeQueryExtension ();
34388 int
34389 main ()
34390 {
34391 return XShapeQueryExtension ();
34392 ;
34393 return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext conftest$ac_exeext
34397 if { (ac_try="$ac_link"
34398 case "(($ac_try" in
34399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34401 esac
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_link") 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } && {
34410 test -z "$ac_c_werror_flag" ||
34411 test ! -s conftest.err
34412 } && test -s conftest$ac_exeext &&
34413 $as_test_x conftest$ac_exeext; then
34414 ac_cv_lib_Xext_XShapeQueryExtension=yes
34415 else
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34418
34419 ac_cv_lib_Xext_XShapeQueryExtension=no
34420 fi
34421
34422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34423 conftest$ac_exeext conftest.$ac_ext
34424 LIBS=$ac_check_lib_save_LIBS
34425 fi
34426 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34427 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34428 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34429
34430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34431 wxHAVE_XEXT_LIB=1
34432
34433 fi
34434
34435
34436 if test "$wxHAVE_XEXT_LIB" = 1; then
34437 save_CFLAGS="$CFLAGS"
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34439
34440 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34441 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34442 cat >conftest.$ac_ext <<_ACEOF
34443 /* confdefs.h. */
34444 _ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34448
34449 #include <X11/Xlib.h>
34450 #include <X11/extensions/shape.h>
34451
34452 int
34453 main ()
34454 {
34455
34456 int dummy1, dummy2;
34457 XShapeQueryExtension((Display*)NULL,
34458 (int*)NULL, (int*)NULL);
34459
34460 ;
34461 return 0;
34462 }
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34469 esac
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34472 ac_status=$?
34473 grep -v '^ *+' conftest.er1 >conftest.err
34474 rm -f conftest.er1
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34481
34482 cat >>confdefs.h <<\_ACEOF
34483 #define HAVE_XSHAPE 1
34484 _ACEOF
34485
34486 { echo "$as_me:$LINENO: result: found" >&5
34487 echo "${ECHO_T}found" >&6; }
34488
34489 else
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.$ac_ext >&5
34492
34493
34494 { echo "$as_me:$LINENO: result: not found" >&5
34495 echo "${ECHO_T}not found" >&6; }
34496
34497 fi
34498
34499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34500 CFLAGS="$save_CFLAGS"
34501
34502 fi
34503 fi
34504
34505 if test "$wxUSE_MAC" = 1; then
34506 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34507 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34508 if test "$GCC" = yes; then
34509 { echo "$as_me:$LINENO: result: gcc" >&5
34510 echo "${ECHO_T}gcc" >&6; }
34511 CPPFLAGS_PASCAL="-fpascal-strings"
34512 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34513 { echo "$as_me:$LINENO: result: xlc" >&5
34514 echo "${ECHO_T}xlc" >&6; }
34515 CPPFLAGS_PASCAL="-qmacpstr"
34516 else
34517 { echo "$as_me:$LINENO: result: none" >&5
34518 echo "${ECHO_T}none" >&6; }
34519 fi
34520
34521 if test "x$wxUSE_UNIX" = "xyes"; then
34522 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34523 else
34524 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34525 fi
34526
34527 TOOLKIT=MAC
34528 GUIDIST=MACX_DIST
34529 WXBASEPORT="_carbon"
34530 fi
34531
34532 if test "$wxUSE_COCOA" = 1; then
34533 TOOLKIT=COCOA
34534 GUIDIST=COCOA_DIST
34535 fi
34536
34537 if test "$wxUSE_PM" = 1; then
34538 TOOLKIT=PM
34539 GUIDIST=PM_DIST
34540 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34541 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34542 if test "${wx_cv_spbcdata+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552
34553 #define INCL_PM
34554 #include <os2.h>
34555
34556 int
34557 main ()
34558 {
34559
34560 SPBCDATA test;
34561
34562 ;
34563 return 0;
34564 }
34565 _ACEOF
34566 rm -f conftest.$ac_objext
34567 if { (ac_try="$ac_compile"
34568 case "(($ac_try" in
34569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34570 *) ac_try_echo=$ac_try;;
34571 esac
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_compile") 2>conftest.er1
34574 ac_status=$?
34575 grep -v '^ *+' conftest.er1 >conftest.err
34576 rm -f conftest.er1
34577 cat conftest.err >&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } && {
34580 test -z "$ac_c_werror_flag" ||
34581 test ! -s conftest.err
34582 } && test -s conftest.$ac_objext; then
34583 wx_cv_spbcdata=yes
34584 else
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.$ac_ext >&5
34587
34588 wx_cv_spbcdata=no
34589
34590 fi
34591
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593
34594
34595 fi
34596 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34597 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34598
34599 if test $wx_cv_spbcdata = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define HAVE_SPBCDATA 1
34602 _ACEOF
34603
34604 fi
34605 fi
34606
34607 if test "$TOOLKIT" = "PM" ; then
34608 TOOLKIT_DIR="os2"
34609 else
34610 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34611 fi
34612
34613 if test "$wxUSE_UNIVERSAL" = "yes"; then
34614 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34615 WIDGET_SET=univ
34616 fi
34617
34618 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34619 DISTDIR="wx\$(TOOLKIT)"
34620 else
34621 USE_GUI=0
34622
34623 TOOLKIT_DIR="base"
34624
34625 if test "$USE_WIN32" = 1 ; then
34626 TOOLKIT="MSW"
34627 fi
34628
34629 GUIDIST="BASE_DIST"
34630 DISTDIR="wxBase"
34631 fi
34632
34633
34634
34635 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34636 if test "$TOOLKIT" = "DFB" ; then
34637 wxUSE_UNICODE_UTF8=yes
34638 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34639 wxUSE_UNICODE_UTF8=yes
34640 elif test "$USE_OS2" = "1" ; then
34641 wxUSE_UNICODE_UTF8=yes
34642 else
34643 wxUSE_UNICODE_UTF8=no
34644 fi
34645 fi
34646
34647
34648 if test "$wxUSE_GUI" = "yes"; then
34649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34650
34651 for ac_header in X11/Xlib.h
34652 do
34653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659 cat >conftest.$ac_ext <<_ACEOF
34660 /* confdefs.h. */
34661 _ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665
34666
34667 #include <$ac_header>
34668 _ACEOF
34669 rm -f conftest.$ac_objext
34670 if { (ac_try="$ac_compile"
34671 case "(($ac_try" in
34672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34673 *) ac_try_echo=$ac_try;;
34674 esac
34675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34676 (eval "$ac_compile") 2>conftest.er1
34677 ac_status=$?
34678 grep -v '^ *+' conftest.er1 >conftest.err
34679 rm -f conftest.er1
34680 cat conftest.err >&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } && {
34683 test -z "$ac_c_werror_flag" ||
34684 test ! -s conftest.err
34685 } && test -s conftest.$ac_objext; then
34686 eval "$as_ac_Header=yes"
34687 else
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34690
34691 eval "$as_ac_Header=no"
34692 fi
34693
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695 fi
34696 ac_res=`eval echo '${'$as_ac_Header'}'`
34697 { echo "$as_me:$LINENO: result: $ac_res" >&5
34698 echo "${ECHO_T}$ac_res" >&6; }
34699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34700 cat >>confdefs.h <<_ACEOF
34701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34702 _ACEOF
34703
34704 fi
34705
34706 done
34707
34708
34709 for ac_header in X11/XKBlib.h
34710 do
34711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717 cat >conftest.$ac_ext <<_ACEOF
34718 /* confdefs.h. */
34719 _ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34723
34724 #if HAVE_X11_XLIB_H
34725 #include <X11/Xlib.h>
34726 #endif
34727
34728
34729 #include <$ac_header>
34730 _ACEOF
34731 rm -f conftest.$ac_objext
34732 if { (ac_try="$ac_compile"
34733 case "(($ac_try" in
34734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34735 *) ac_try_echo=$ac_try;;
34736 esac
34737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34738 (eval "$ac_compile") 2>conftest.er1
34739 ac_status=$?
34740 grep -v '^ *+' conftest.er1 >conftest.err
34741 rm -f conftest.er1
34742 cat conftest.err >&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); } && {
34745 test -z "$ac_c_werror_flag" ||
34746 test ! -s conftest.err
34747 } && test -s conftest.$ac_objext; then
34748 eval "$as_ac_Header=yes"
34749 else
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.$ac_ext >&5
34752
34753 eval "$as_ac_Header=no"
34754 fi
34755
34756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34757 fi
34758 ac_res=`eval echo '${'$as_ac_Header'}'`
34759 { echo "$as_me:$LINENO: result: $ac_res" >&5
34760 echo "${ECHO_T}$ac_res" >&6; }
34761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34762 cat >>confdefs.h <<_ACEOF
34763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34764 _ACEOF
34765
34766 fi
34767
34768 done
34769
34770 fi
34771 fi
34772
34773
34774
34775 IODBC_C_SRC=""
34776
34777
34778 if test "$TOOLKIT" != "MSW" ; then
34779
34780 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34781
34782 { echo "$as_me:$LINENO: checking for sql.h" >&5
34783 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34784 if test "${ac_cv_header_sql_h+set}" = set; then
34785 echo $ECHO_N "(cached) $ECHO_C" >&6
34786 else
34787 cat >conftest.$ac_ext <<_ACEOF
34788 /* confdefs.h. */
34789 _ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34793
34794
34795 #include <sql.h>
34796 _ACEOF
34797 rm -f conftest.$ac_objext
34798 if { (ac_try="$ac_compile"
34799 case "(($ac_try" in
34800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34801 *) ac_try_echo=$ac_try;;
34802 esac
34803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34804 (eval "$ac_compile") 2>conftest.er1
34805 ac_status=$?
34806 grep -v '^ *+' conftest.er1 >conftest.err
34807 rm -f conftest.er1
34808 cat conftest.err >&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } && {
34811 test -z "$ac_c_werror_flag" ||
34812 test ! -s conftest.err
34813 } && test -s conftest.$ac_objext; then
34814 ac_cv_header_sql_h=yes
34815 else
34816 echo "$as_me: failed program was:" >&5
34817 sed 's/^/| /' conftest.$ac_ext >&5
34818
34819 ac_cv_header_sql_h=no
34820 fi
34821
34822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34823 fi
34824 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34825 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34826 if test $ac_cv_header_sql_h = yes; then
34827 found_sql_h=1
34828 fi
34829
34830
34831 if test "x$found_sql_h" = "x1" ; then
34832 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34833 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34834 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34835 echo $ECHO_N "(cached) $ECHO_C" >&6
34836 else
34837 ac_check_lib_save_LIBS=$LIBS
34838 LIBS="-liodbc $LIBS"
34839 cat >conftest.$ac_ext <<_ACEOF
34840 /* confdefs.h. */
34841 _ACEOF
34842 cat confdefs.h >>conftest.$ac_ext
34843 cat >>conftest.$ac_ext <<_ACEOF
34844 /* end confdefs.h. */
34845
34846 /* Override any GCC internal prototype to avoid an error.
34847 Use char because int might match the return type of a GCC
34848 builtin and then its argument prototype would still apply. */
34849 #ifdef __cplusplus
34850 extern "C"
34851 #endif
34852 char SQLAllocEnv ();
34853 int
34854 main ()
34855 {
34856 return SQLAllocEnv ();
34857 ;
34858 return 0;
34859 }
34860 _ACEOF
34861 rm -f conftest.$ac_objext conftest$ac_exeext
34862 if { (ac_try="$ac_link"
34863 case "(($ac_try" in
34864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34865 *) ac_try_echo=$ac_try;;
34866 esac
34867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34868 (eval "$ac_link") 2>conftest.er1
34869 ac_status=$?
34870 grep -v '^ *+' conftest.er1 >conftest.err
34871 rm -f conftest.er1
34872 cat conftest.err >&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } && {
34875 test -z "$ac_c_werror_flag" ||
34876 test ! -s conftest.err
34877 } && test -s conftest$ac_exeext &&
34878 $as_test_x conftest$ac_exeext; then
34879 ac_cv_lib_iodbc_SQLAllocEnv=yes
34880 else
34881 echo "$as_me: failed program was:" >&5
34882 sed 's/^/| /' conftest.$ac_ext >&5
34883
34884 ac_cv_lib_iodbc_SQLAllocEnv=no
34885 fi
34886
34887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34888 conftest$ac_exeext conftest.$ac_ext
34889 LIBS=$ac_check_lib_save_LIBS
34890 fi
34891 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34892 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34893 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34894 ODBC_LINK=" -liodbc"
34895 else
34896
34897 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34898 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34899 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 else
34902 ac_check_lib_save_LIBS=$LIBS
34903 LIBS="-lunixodbc $LIBS"
34904 cat >conftest.$ac_ext <<_ACEOF
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910
34911 /* Override any GCC internal prototype to avoid an error.
34912 Use char because int might match the return type of a GCC
34913 builtin and then its argument prototype would still apply. */
34914 #ifdef __cplusplus
34915 extern "C"
34916 #endif
34917 char SQLAllocEnv ();
34918 int
34919 main ()
34920 {
34921 return SQLAllocEnv ();
34922 ;
34923 return 0;
34924 }
34925 _ACEOF
34926 rm -f conftest.$ac_objext conftest$ac_exeext
34927 if { (ac_try="$ac_link"
34928 case "(($ac_try" in
34929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34930 *) ac_try_echo=$ac_try;;
34931 esac
34932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34933 (eval "$ac_link") 2>conftest.er1
34934 ac_status=$?
34935 grep -v '^ *+' conftest.er1 >conftest.err
34936 rm -f conftest.er1
34937 cat conftest.err >&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); } && {
34940 test -z "$ac_c_werror_flag" ||
34941 test ! -s conftest.err
34942 } && test -s conftest$ac_exeext &&
34943 $as_test_x conftest$ac_exeext; then
34944 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34945 else
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34948
34949 ac_cv_lib_unixodbc_SQLAllocEnv=no
34950 fi
34951
34952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34953 conftest$ac_exeext conftest.$ac_ext
34954 LIBS=$ac_check_lib_save_LIBS
34955 fi
34956 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34957 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34958 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34959 ODBC_LINK=" -lunixodbc"
34960 else
34961
34962 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34963 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967 ac_check_lib_save_LIBS=$LIBS
34968 LIBS="-lodbc $LIBS"
34969 cat >conftest.$ac_ext <<_ACEOF
34970 /* confdefs.h. */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975
34976 /* Override any GCC internal prototype to avoid an error.
34977 Use char because int might match the return type of a GCC
34978 builtin and then its argument prototype would still apply. */
34979 #ifdef __cplusplus
34980 extern "C"
34981 #endif
34982 char SQLAllocEnv ();
34983 int
34984 main ()
34985 {
34986 return SQLAllocEnv ();
34987 ;
34988 return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34996 esac
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_link") 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest$ac_exeext &&
35008 $as_test_x conftest$ac_exeext; then
35009 ac_cv_lib_odbc_SQLAllocEnv=yes
35010 else
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014 ac_cv_lib_odbc_SQLAllocEnv=no
35015 fi
35016
35017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35018 conftest$ac_exeext conftest.$ac_ext
35019 LIBS=$ac_check_lib_save_LIBS
35020 fi
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35022 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35023 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35024 ODBC_LINK=" -lodbc"
35025 fi
35026
35027
35028 fi
35029
35030
35031 fi
35032
35033 fi
35034 if test "x$ODBC_LINK" = "x" ; then
35035 if test "$wxUSE_ODBC" = "sys" ; then
35036 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35037 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35038 { (exit 1); exit 1; }; }
35039 else
35040 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35041 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35042 wxUSE_ODBC=builtin
35043 fi
35044 else
35045 wxUSE_ODBC=sys
35046 fi
35047 fi
35048
35049 if test "$wxUSE_ODBC" = "builtin" ; then
35050 cat >>confdefs.h <<\_ACEOF
35051 #define wxUSE_BUILTIN_IODBC 1
35052 _ACEOF
35053
35054 fi
35055 fi
35056
35057 if test "$wxUSE_ODBC" != "no" ; then
35058 cat >>confdefs.h <<\_ACEOF
35059 #define wxUSE_ODBC 1
35060 _ACEOF
35061
35062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35063
35064 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35065 fi
35066
35067
35068 if test "$wxUSE_DISPLAY" = "yes"; then
35069 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35070 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35071 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35072
35073 ac_find_libraries=
35074 for ac_dir in $SEARCH_LIB;
35075 do
35076 for ac_extension in a so sl dylib dll.a; do
35077 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35078 ac_find_libraries=$ac_dir
35079 break 2
35080 fi
35081 done
35082 done
35083
35084 if test "$ac_find_libraries" != "" ; then
35085
35086 if test "$ac_find_libraries" = "default location"; then
35087 ac_path_to_link=""
35088 else
35089 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35090 result=$?
35091 if test $result = 0; then
35092 ac_path_to_link=""
35093 else
35094 ac_path_to_link=" -L$ac_find_libraries"
35095 fi
35096 fi
35097
35098 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35099 LDFLAGS="$LDFLAGS $ac_path_to_link"
35100 fi
35101 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35102 { echo "$as_me:$LINENO: result: yes" >&5
35103 echo "${ECHO_T}yes" >&6; }
35104
35105 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35106 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35107
35108 ac_find_libraries=
35109 for ac_dir in $SEARCH_LIB;
35110 do
35111 for ac_extension in a so sl dylib dll.a; do
35112 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35113 ac_find_libraries=$ac_dir
35114 break 2
35115 fi
35116 done
35117 done
35118
35119 if test "$ac_find_libraries" != "" ; then
35120 { echo "$as_me:$LINENO: result: yes" >&5
35121 echo "${ECHO_T}yes" >&6; }
35122
35123 for ac_header in X11/extensions/xf86vmode.h
35124 do
35125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35130 else
35131 cat >conftest.$ac_ext <<_ACEOF
35132 /* confdefs.h. */
35133 _ACEOF
35134 cat confdefs.h >>conftest.$ac_ext
35135 cat >>conftest.$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35137
35138 #if HAVE_X11_XLIB_H
35139 #include <X11/Xlib.h>
35140 #endif
35141
35142
35143 #include <$ac_header>
35144 _ACEOF
35145 rm -f conftest.$ac_objext
35146 if { (ac_try="$ac_compile"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35149 *) ac_try_echo=$ac_try;;
35150 esac
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_compile") 2>conftest.er1
35153 ac_status=$?
35154 grep -v '^ *+' conftest.er1 >conftest.err
35155 rm -f conftest.er1
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_c_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest.$ac_objext; then
35162 eval "$as_ac_Header=yes"
35163 else
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35166
35167 eval "$as_ac_Header=no"
35168 fi
35169
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171 fi
35172 ac_res=`eval echo '${'$as_ac_Header'}'`
35173 { echo "$as_me:$LINENO: result: $ac_res" >&5
35174 echo "${ECHO_T}$ac_res" >&6; }
35175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35176 cat >>confdefs.h <<_ACEOF
35177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35178 _ACEOF
35179
35180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35181
35182 fi
35183
35184 done
35185
35186 else
35187 { echo "$as_me:$LINENO: result: no" >&5
35188 echo "${ECHO_T}no" >&6; }
35189 fi
35190
35191 else
35192 { echo "$as_me:$LINENO: result: no" >&5
35193 echo "${ECHO_T}no" >&6; }
35194 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35195 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35196 wxUSE_DISPLAY="no"
35197 fi
35198 elif test "$wxUSE_MSW" = 1; then
35199 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35200 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35201 if test "${ac_cv_header_ddraw_h+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 else
35204 cat >conftest.$ac_ext <<_ACEOF
35205 /* confdefs.h. */
35206 _ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #include <windows.h>
35211
35212 #include <ddraw.h>
35213 _ACEOF
35214 rm -f conftest.$ac_objext
35215 if { (ac_try="$ac_compile"
35216 case "(($ac_try" in
35217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35219 esac
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_compile") 2>conftest.er1
35222 ac_status=$?
35223 grep -v '^ *+' conftest.er1 >conftest.err
35224 rm -f conftest.er1
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest.$ac_objext; then
35231 ac_cv_header_ddraw_h=yes
35232 else
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35235
35236 ac_cv_header_ddraw_h=no
35237 fi
35238
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35240 fi
35241 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35242 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35243
35244
35245 fi
35246 fi
35247
35248 if test "$wxUSE_DETECT_SM" = "yes"; then
35249 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35250 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35251 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35252
35253 ac_find_libraries=
35254 for ac_dir in $SEARCH_LIB;
35255 do
35256 for ac_extension in a so sl dylib dll.a; do
35257 if test -f "$ac_dir/libSM.$ac_extension"; then
35258 ac_find_libraries=$ac_dir
35259 break 2
35260 fi
35261 done
35262 done
35263
35264 if test "$ac_find_libraries" != "" ; then
35265
35266 if test "$ac_find_libraries" = "default location"; then
35267 ac_path_to_link=""
35268 else
35269 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35270 result=$?
35271 if test $result = 0; then
35272 ac_path_to_link=""
35273 else
35274 ac_path_to_link=" -L$ac_find_libraries"
35275 fi
35276 fi
35277
35278 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35279 LDFLAGS="$LDFLAGS $ac_path_to_link"
35280 fi
35281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35282 { echo "$as_me:$LINENO: result: yes" >&5
35283 echo "${ECHO_T}yes" >&6; }
35284 else
35285 { echo "$as_me:$LINENO: result: no" >&5
35286 echo "${ECHO_T}no" >&6; }
35287 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35288 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35289 wxUSE_DETECT_SM="no"
35290 fi
35291 else
35292 wxUSE_DETECT_SM="no"
35293 fi
35294 fi
35295
35296
35297
35298 USE_OPENGL=0
35299 if test "$wxUSE_OPENGL" = "yes"; then
35300 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35301 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35302 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35303 wxUSE_OPENGL="no"
35304 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35305 OPENGL_LIBS="-framework OpenGL -framework AGL"
35306 elif test "$wxUSE_MSW" = 1; then
35307 OPENGL_LIBS="-lopengl32 -lglu32"
35308 else
35309 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35310 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35311
35312 ac_find_includes=
35313 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35314 do
35315 if test -f "$ac_dir/GL/gl.h"; then
35316 ac_find_includes=$ac_dir
35317 break
35318 fi
35319 done
35320
35321 if test "$ac_find_includes" != "" ; then
35322 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35323 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35324
35325 if test "x$ac_find_includes" = "x/usr/include"; then
35326 ac_path_to_include=""
35327 else
35328 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35329 result=$?
35330 if test $result = 0; then
35331 ac_path_to_include=""
35332 else
35333 ac_path_to_include=" -I$ac_find_includes"
35334 fi
35335 fi
35336
35337 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35338 else
35339 { echo "$as_me:$LINENO: result: not found" >&5
35340 echo "${ECHO_T}not found" >&6; }
35341 fi
35342
35343 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35344 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35345 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 else
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354
35355
35356 #include <GL/gl.h>
35357 _ACEOF
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35363 esac
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 ac_cv_header_GL_gl_h=yes
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 ac_cv_header_GL_gl_h=no
35381 fi
35382
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 fi
35385 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35386 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35387 if test $ac_cv_header_GL_gl_h = yes; then
35388
35389 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35390 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35391 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35392 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 fi
35395 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35396 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35397 else
35398 # Is the header compilable?
35399 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35400 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35401 cat >conftest.$ac_ext <<_ACEOF
35402 /* confdefs.h. */
35403 _ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407 $ac_includes_default
35408 #include <GL/glu.h>
35409 _ACEOF
35410 rm -f conftest.$ac_objext
35411 if { (ac_try="$ac_compile"
35412 case "(($ac_try" in
35413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35414 *) ac_try_echo=$ac_try;;
35415 esac
35416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35417 (eval "$ac_compile") 2>conftest.er1
35418 ac_status=$?
35419 grep -v '^ *+' conftest.er1 >conftest.err
35420 rm -f conftest.er1
35421 cat conftest.err >&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); } && {
35424 test -z "$ac_c_werror_flag" ||
35425 test ! -s conftest.err
35426 } && test -s conftest.$ac_objext; then
35427 ac_header_compiler=yes
35428 else
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35431
35432 ac_header_compiler=no
35433 fi
35434
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35437 echo "${ECHO_T}$ac_header_compiler" >&6; }
35438
35439 # Is the header present?
35440 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35441 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35442 cat >conftest.$ac_ext <<_ACEOF
35443 /* confdefs.h. */
35444 _ACEOF
35445 cat confdefs.h >>conftest.$ac_ext
35446 cat >>conftest.$ac_ext <<_ACEOF
35447 /* end confdefs.h. */
35448 #include <GL/glu.h>
35449 _ACEOF
35450 if { (ac_try="$ac_cpp conftest.$ac_ext"
35451 case "(($ac_try" in
35452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35453 *) ac_try_echo=$ac_try;;
35454 esac
35455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } >/dev/null && {
35463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35464 test ! -s conftest.err
35465 }; then
35466 ac_header_preproc=yes
35467 else
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35470
35471 ac_header_preproc=no
35472 fi
35473
35474 rm -f conftest.err conftest.$ac_ext
35475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35476 echo "${ECHO_T}$ac_header_preproc" >&6; }
35477
35478 # So? What about this header?
35479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35480 yes:no: )
35481 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35482 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35483 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35484 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35485 ac_header_preproc=yes
35486 ;;
35487 no:yes:* )
35488 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35489 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35490 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35491 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35492 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35493 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35494 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35495 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35496 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35497 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35498 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35499 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35500 ( cat <<\_ASBOX
35501 ## ----------------------------------------- ##
35502 ## Report this to wx-dev@lists.wxwidgets.org ##
35503 ## ----------------------------------------- ##
35504 _ASBOX
35505 ) | sed "s/^/$as_me: WARNING: /" >&2
35506 ;;
35507 esac
35508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35511 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 else
35513 ac_cv_header_GL_glu_h=$ac_header_preproc
35514 fi
35515 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35516 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35517
35518 fi
35519 if test $ac_cv_header_GL_glu_h = yes; then
35520
35521 found_gl=0
35522
35523 { echo "$as_me:$LINENO: checking for -lGL" >&5
35524 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35525
35526 ac_find_libraries=
35527 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35528 do
35529 for ac_extension in a so sl dylib dll.a; do
35530 if test -f "$ac_dir/libGL.$ac_extension"; then
35531 ac_find_libraries=$ac_dir
35532 break 2
35533 fi
35534 done
35535 done
35536
35537 if test "$ac_find_libraries" != "" ; then
35538 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35539 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35540
35541
35542 if test "$ac_find_libraries" = "default location"; then
35543 ac_path_to_link=""
35544 else
35545 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35546 result=$?
35547 if test $result = 0; then
35548 ac_path_to_link=""
35549 else
35550 ac_path_to_link=" -L$ac_find_libraries"
35551 fi
35552 fi
35553
35554 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35555 LDFLAGS_GL="$ac_path_to_link"
35556 fi
35557
35558 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35559 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35560
35561 ac_find_libraries=
35562 for ac_dir in $SEARCH_LIB;
35563 do
35564 for ac_extension in a so sl dylib dll.a; do
35565 if test -f "$ac_dir/libGLU.$ac_extension"; then
35566 ac_find_libraries=$ac_dir
35567 break 2
35568 fi
35569 done
35570 done
35571
35572 if test "$ac_find_libraries" != "" ; then
35573
35574 if test "$ac_find_libraries" = "default location"; then
35575 ac_path_to_link=""
35576 else
35577 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35578 result=$?
35579 if test $result = 0; then
35580 ac_path_to_link=""
35581 else
35582 ac_path_to_link=" -L$ac_find_libraries"
35583 fi
35584 fi
35585
35586 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35587 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35588 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35589 fi
35590
35591 found_gl=1
35592 OPENGL_LIBS="-lGL -lGLU"
35593 { echo "$as_me:$LINENO: result: yes" >&5
35594 echo "${ECHO_T}yes" >&6; }
35595 else
35596 { echo "$as_me:$LINENO: result: no" >&5
35597 echo "${ECHO_T}no" >&6; }
35598 fi
35599 else
35600 { echo "$as_me:$LINENO: result: no" >&5
35601 echo "${ECHO_T}no" >&6; }
35602 fi
35603
35604 if test "$found_gl" != 1; then
35605 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35606 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35607
35608 ac_find_libraries=
35609 for ac_dir in $SEARCH_LIB;
35610 do
35611 for ac_extension in a so sl dylib dll.a; do
35612 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35613 ac_find_libraries=$ac_dir
35614 break 2
35615 fi
35616 done
35617 done
35618
35619 if test "$ac_find_libraries" != "" ; then
35620
35621 if test "$ac_find_libraries" = "default location"; then
35622 ac_path_to_link=""
35623 else
35624 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35625 result=$?
35626 if test $result = 0; then
35627 ac_path_to_link=""
35628 else
35629 ac_path_to_link=" -L$ac_find_libraries"
35630 fi
35631 fi
35632
35633 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35634 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35635 { echo "$as_me:$LINENO: result: yes" >&5
35636 echo "${ECHO_T}yes" >&6; }
35637 else
35638 { echo "$as_me:$LINENO: result: no" >&5
35639 echo "${ECHO_T}no" >&6; }
35640 fi
35641 fi
35642
35643 fi
35644
35645
35646
35647 fi
35648
35649
35650
35651 if test "x$OPENGL_LIBS" = "x"; then
35652 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35653 echo "$as_me: error: OpenGL libraries not available" >&2;}
35654 { (exit 1); exit 1; }; }
35655 fi
35656 fi
35657
35658 if test "$wxUSE_OPENGL" = "yes"; then
35659 USE_OPENGL=1
35660 cat >>confdefs.h <<\_ACEOF
35661 #define wxUSE_OPENGL 1
35662 _ACEOF
35663
35664 cat >>confdefs.h <<\_ACEOF
35665 #define wxUSE_GLCANVAS 1
35666 _ACEOF
35667
35668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35669 fi
35670 fi
35671
35672
35673 if test -n "$TOOLKIT" ; then
35674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35675 fi
35676
35677
35678
35679 if test "$wxUSE_SHARED" = "yes"; then
35680 case "${host}" in
35681 *-pc-msdosdjgpp )
35682 wxUSE_SHARED=no
35683 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35684 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35685 ;;
35686 esac
35687 fi
35688
35689 if test "$wxUSE_SHARED" = "yes"; then
35690
35691
35692 case "${host}" in
35693 *-*-cygwin* | *-*-mingw* )
35694 wx_cv_version_script=no
35695 ;;
35696
35697 *)
35698 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35699 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35700 if test "${wx_cv_version_script+set}" = set; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 else
35703
35704 echo "VER_1 { *; };" >conftest.sym
35705 echo "int main() { return 0; }" >conftest.cpp
35706
35707 if { ac_try='
35708 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35709 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; } ; then
35715 if test -s conftest.stderr ; then
35716 wx_cv_version_script=no
35717 else
35718 wx_cv_version_script=yes
35719 fi
35720 else
35721 wx_cv_version_script=no
35722 fi
35723
35724 if test $wx_cv_version_script = yes
35725 then
35726 echo "struct B { virtual ~B() { } }; \
35727 struct D : public B { }; \
35728 void F() { D d; }" > conftest.cpp
35729
35730 if { ac_try='
35731 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35732 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35735 ac_status=$?
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try='
35739 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35740 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742 (eval $ac_try) 2>&5
35743 ac_status=$?
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); }; }
35746 then
35747 if { ac_try='
35748 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35749 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35752 ac_status=$?
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; }
35755 then
35756 wx_cv_version_script=yes
35757 else
35758 wx_cv_version_script=no
35759 fi
35760 fi
35761 fi
35762
35763 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35764 rm -f conftest1.output conftest2.output conftest3.output
35765
35766 fi
35767 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35768 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35769
35770 if test $wx_cv_version_script = yes ; then
35771 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35772 fi
35773 ;;
35774 esac
35775
35776
35777 if test "$wxUSE_VISIBILITY" != "no"; then
35778
35779
35780 if test -n "$GCC"; then
35781 CFLAGS_VISIBILITY="-fvisibility=hidden"
35782 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35783 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35784 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35785 if test "${wx_cv_cc_visibility+set}" = set; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35787 else
35788
35789 wx_save_CXXFLAGS="$CXXFLAGS"
35790 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35791 ac_ext=cpp
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35796
35797 cat >conftest.$ac_ext <<_ACEOF
35798 /* confdefs.h. */
35799 _ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803
35804 /* we need gcc >= 4.0, older versions with visibility support
35805 didn't have class visibility: */
35806 #if defined(__GNUC__) && __GNUC__ < 4
35807 error this gcc is too old;
35808 #endif
35809
35810 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35811 extern __attribute__((__visibility__("default"))) int exportedvar;
35812 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35813 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35814 class __attribute__((__visibility__("default"))) Foo {
35815 Foo() {}
35816 };
35817
35818 int
35819 main ()
35820 {
35821
35822 ;
35823 return 0;
35824 }
35825 _ACEOF
35826 rm -f conftest.$ac_objext
35827 if { (ac_try="$ac_compile"
35828 case "(($ac_try" in
35829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35830 *) ac_try_echo=$ac_try;;
35831 esac
35832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35833 (eval "$ac_compile") 2>conftest.er1
35834 ac_status=$?
35835 grep -v '^ *+' conftest.er1 >conftest.err
35836 rm -f conftest.er1
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } && {
35840 test -z "$ac_cxx_werror_flag" ||
35841 test ! -s conftest.err
35842 } && test -s conftest.$ac_objext; then
35843 wx_cv_cc_visibility=yes
35844 else
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35847
35848 wx_cv_cc_visibility=no
35849 fi
35850
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35857
35858 CXXFLAGS="$wx_save_CXXFLAGS"
35859 fi
35860
35861 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35862 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35863 if test $wx_cv_cc_visibility = yes; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_VISIBILITY 1
35866 _ACEOF
35867
35868 else
35869 CFLAGS_VISIBILITY=""
35870 CXXFLAGS_VISIBILITY=""
35871 fi
35872
35873
35874 fi
35875
35876 fi
35877
35878 if test "x$SUNCXX" = xyes; then
35879 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35880 WXCONFIG_RPATH="-R\$libdir"
35881 else
35882 case "${host}" in
35883 *-*-linux* | *-*-gnu* )
35884 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35886 ;;
35887
35888 *-*-solaris2* )
35889
35890 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35891
35892 saveLdflags="$LDFLAGS"
35893 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35894 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35895 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35896 cat >conftest.$ac_ext <<_ACEOF
35897 /* confdefs.h. */
35898 _ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35902
35903 int
35904 main ()
35905 {
35906
35907 ;
35908 return 0;
35909 }
35910 _ACEOF
35911 rm -f conftest.$ac_objext conftest$ac_exeext
35912 if { (ac_try="$ac_link"
35913 case "(($ac_try" in
35914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35916 esac
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_link") 2>conftest.er1
35919 ac_status=$?
35920 grep -v '^ *+' conftest.er1 >conftest.err
35921 rm -f conftest.er1
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest$ac_exeext &&
35928 $as_test_x conftest$ac_exeext; then
35929
35930 { echo "$as_me:$LINENO: result: yes" >&5
35931 echo "${ECHO_T}yes" >&6; }
35932 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35933 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35934
35935 else
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35938
35939
35940 { echo "$as_me:$LINENO: result: no" >&5
35941 echo "${ECHO_T}no" >&6; }
35942 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35943 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35944 LDFLAGS="$saveLdflags -Wl,-R,/"
35945 cat >conftest.$ac_ext <<_ACEOF
35946 /* confdefs.h. */
35947 _ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35951
35952 int
35953 main ()
35954 {
35955
35956 ;
35957 return 0;
35958 }
35959 _ACEOF
35960 rm -f conftest.$ac_objext conftest$ac_exeext
35961 if { (ac_try="$ac_link"
35962 case "(($ac_try" in
35963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35964 *) ac_try_echo=$ac_try;;
35965 esac
35966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35967 (eval "$ac_link") 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } && {
35974 test -z "$ac_c_werror_flag" ||
35975 test ! -s conftest.err
35976 } && test -s conftest$ac_exeext &&
35977 $as_test_x conftest$ac_exeext; then
35978
35979 { echo "$as_me:$LINENO: result: yes" >&5
35980 echo "${ECHO_T}yes" >&6; }
35981 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35982 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35983
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35987
35988
35989 { echo "$as_me:$LINENO: result: no" >&5
35990 echo "${ECHO_T}no" >&6; }
35991
35992 fi
35993
35994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35995 conftest$ac_exeext conftest.$ac_ext
35996
35997 fi
35998
35999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36000 conftest$ac_exeext conftest.$ac_ext
36001 LDFLAGS="$saveLdflags"
36002 ;;
36003
36004 *-*-darwin* )
36005 install_name_tool=`which install_name_tool`
36006 if test "$install_name_tool" -a -x "$install_name_tool"; then
36007 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36008 cat <<EOF >change-install-names
36009 #!/bin/sh
36010 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36011 inst_cmd="install_name_tool "
36012 for i in \${libnames} ; do
36013 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36014 done
36015 \${inst_cmd} \${3}
36016 EOF
36017 chmod +x change-install-names
36018 fi
36019 ;;
36020
36021 *-*-cygwin* | *-*-mingw32* )
36022 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36023 ;;
36024
36025 *-*-hpux* )
36026 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36027 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36028 ;;
36029
36030 esac
36031 fi
36032
36033 if test $wxUSE_RPATH = "no"; then
36034 SAMPLES_RPATH_FLAG=''
36035 SAMPLES_RPATH_POSTLINK=''
36036 WXCONFIG_RPATH=''
36037 fi
36038
36039 SHARED=1
36040
36041 else
36042
36043 config_linkage_component="-static"
36044 SHARED=0
36045
36046 fi
36047
36048
36049 UNICODE=0
36050 lib_unicode_suffix=
36051 WX_CHARTYPE="ansi"
36052 if test "$wxUSE_UNICODE" = "yes"; then
36053 lib_unicode_suffix=u
36054 WX_CHARTYPE="unicode"
36055 UNICODE=1
36056 fi
36057
36058 lib_debug_suffix=
36059 WX_DEBUGTYPE="release"
36060 DEBUG_FLAG=0
36061 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36062 lib_debug_suffix=d
36063 WX_DEBUGTYPE="debug"
36064 DEBUG_FLAG=1
36065 fi
36066
36067 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36068 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36069
36070 DEBUG_INFO=0
36071 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36072 DEBUG_INFO=1
36073 fi
36074
36075 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36076
36077 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36078
36079 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36080
36081 if test "$cross_compiling" = "yes"; then
36082 HOST_SUFFIX="-$host_alias"
36083 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36084 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36085 fi
36086
36087 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36088 if test "${TOOLKIT_DIR}" = "os2"; then
36089 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36090 else
36091 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36092 fi
36093
36094
36095
36096 if test "$wxUSE_COCOA" = 1; then
36097
36098 ac_ext=c
36099 ac_cpp='$CPP $CPPFLAGS'
36100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36103
36104 ac_ext=m
36105
36106 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36107 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36108 cat >conftest.$ac_ext <<_ACEOF
36109 /* confdefs.h. */
36110 _ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 #include <AppKit/NSEvent.h>
36115 #include <CoreFoundation/CoreFoundation.h>
36116
36117 int
36118 main ()
36119 {
36120
36121 ;
36122 return 0;
36123 }
36124 _ACEOF
36125 rm -f conftest.$ac_objext
36126 if { (ac_try="$ac_compile"
36127 case "(($ac_try" in
36128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36129 *) ac_try_echo=$ac_try;;
36130 esac
36131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36132 (eval "$ac_compile") 2>conftest.er1
36133 ac_status=$?
36134 grep -v '^ *+' conftest.er1 >conftest.err
36135 rm -f conftest.er1
36136 cat conftest.err >&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } && {
36139 test -z "$ac_c_werror_flag" ||
36140 test ! -s conftest.err
36141 } && test -s conftest.$ac_objext; then
36142 { echo "$as_me:$LINENO: result: no" >&5
36143 echo "${ECHO_T}no" >&6; }
36144 else
36145 echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36147
36148 { echo "$as_me:$LINENO: result: yes" >&5
36149 echo "${ECHO_T}yes" >&6; }
36150 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36151 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36152 cat >conftest.$ac_ext <<_ACEOF
36153 /* confdefs.h. */
36154 _ACEOF
36155 cat confdefs.h >>conftest.$ac_ext
36156 cat >>conftest.$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36158 #define __Point__ 1
36159 #include <AppKit/NSEvent.h>
36160 #include <CoreFoundation/CoreFoundation.h>
36161
36162 int
36163 main ()
36164 {
36165
36166 ;
36167 return 0;
36168 }
36169 _ACEOF
36170 rm -f conftest.$ac_objext
36171 if { (ac_try="$ac_compile"
36172 case "(($ac_try" in
36173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36174 *) ac_try_echo=$ac_try;;
36175 esac
36176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36177 (eval "$ac_compile") 2>conftest.er1
36178 ac_status=$?
36179 grep -v '^ *+' conftest.er1 >conftest.err
36180 rm -f conftest.er1
36181 cat conftest.err >&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } && {
36184 test -z "$ac_c_werror_flag" ||
36185 test ! -s conftest.err
36186 } && test -s conftest.$ac_objext; then
36187 { echo "$as_me:$LINENO: result: yes" >&5
36188 echo "${ECHO_T}yes" >&6; }
36189 cat >>confdefs.h <<\_ACEOF
36190 #define __Point__ 1
36191 _ACEOF
36192
36193
36194 else
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36197
36198 { { echo "$as_me:$LINENO: error: no
36199 See \`config.log' for more details." >&5
36200 echo "$as_me: error: no
36201 See \`config.log' for more details." >&2;}
36202 { (exit 1); exit 1; }; }
36203
36204 fi
36205
36206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36207
36208 fi
36209
36210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36211 ac_ext=c
36212 ac_cpp='$CPP $CPPFLAGS'
36213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216
36217 fi
36218
36219 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36220 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36221 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36222
36223 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36224
36225 # Extract the first word of "Rez", so it can be a program name with args.
36226 set dummy Rez; ac_word=$2
36227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36229 if test "${ac_cv_prog_REZ+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 if test -n "$REZ"; then
36233 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36234 else
36235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36236 for as_dir in $PATH
36237 do
36238 IFS=$as_save_IFS
36239 test -z "$as_dir" && as_dir=.
36240 for ac_exec_ext in '' $ac_executable_extensions; do
36241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36242 ac_cv_prog_REZ="Rez"
36243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36244 break 2
36245 fi
36246 done
36247 done
36248 IFS=$as_save_IFS
36249
36250 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36251 fi
36252 fi
36253 REZ=$ac_cv_prog_REZ
36254 if test -n "$REZ"; then
36255 { echo "$as_me:$LINENO: result: $REZ" >&5
36256 echo "${ECHO_T}$REZ" >&6; }
36257 else
36258 { echo "$as_me:$LINENO: result: no" >&5
36259 echo "${ECHO_T}no" >&6; }
36260 fi
36261
36262
36263 # Extract the first word of "DeRez", so it can be a program name with args.
36264 set dummy DeRez; ac_word=$2
36265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36267 if test "${ac_cv_prog_DEREZ+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270 if test -n "$DEREZ"; then
36271 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36272 else
36273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36274 for as_dir in $PATH
36275 do
36276 IFS=$as_save_IFS
36277 test -z "$as_dir" && as_dir=.
36278 for ac_exec_ext in '' $ac_executable_extensions; do
36279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36280 ac_cv_prog_DEREZ="DeRez"
36281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36282 break 2
36283 fi
36284 done
36285 done
36286 IFS=$as_save_IFS
36287
36288 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36289 fi
36290 fi
36291 DEREZ=$ac_cv_prog_DEREZ
36292 if test -n "$DEREZ"; then
36293 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36294 echo "${ECHO_T}$DEREZ" >&6; }
36295 else
36296 { echo "$as_me:$LINENO: result: no" >&5
36297 echo "${ECHO_T}no" >&6; }
36298 fi
36299
36300
36301 # Extract the first word of "SetFile", so it can be a program name with args.
36302 set dummy SetFile; ac_word=$2
36303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36305 if test "${ac_cv_prog_SETFILE+set}" = set; then
36306 echo $ECHO_N "(cached) $ECHO_C" >&6
36307 else
36308 if test -n "$SETFILE"; then
36309 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36310 else
36311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36312 for as_dir in $PATH
36313 do
36314 IFS=$as_save_IFS
36315 test -z "$as_dir" && as_dir=.
36316 for ac_exec_ext in '' $ac_executable_extensions; do
36317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36318 ac_cv_prog_SETFILE="SetFile"
36319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36320 break 2
36321 fi
36322 done
36323 done
36324 IFS=$as_save_IFS
36325
36326 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36327 fi
36328 fi
36329 SETFILE=$ac_cv_prog_SETFILE
36330 if test -n "$SETFILE"; then
36331 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36332 echo "${ECHO_T}$SETFILE" >&6; }
36333 else
36334 { echo "$as_me:$LINENO: result: no" >&5
36335 echo "${ECHO_T}no" >&6; }
36336 fi
36337
36338
36339
36340 MACSETFILE="\$(SETFILE)"
36341
36342 if test "$wxUSE_MAC" = 1; then
36343 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36344 RESCOMP="$REZ"
36345 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36346 else
36347 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36348 RESCOMP="echo -n \| $REZ"
36349 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36350 fi
36351
36352 else
36353 MACSETFILE="@true"
36354
36355 if test "$wxUSE_PM" = 1; then
36356 RESCOMP="emxbind"
36357 WXCONFIG_RESFLAGS="-ep"
36358
36359 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36360 else
36361 POSTLINK_COMMAND="@true"
36362 fi
36363
36364 fi
36365
36366
36367
36368 { echo "$as_me:$LINENO: checking for mode_t" >&5
36369 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36370 if test "${ac_cv_type_mode_t+set}" = set; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36372 else
36373 cat >conftest.$ac_ext <<_ACEOF
36374 /* confdefs.h. */
36375 _ACEOF
36376 cat confdefs.h >>conftest.$ac_ext
36377 cat >>conftest.$ac_ext <<_ACEOF
36378 /* end confdefs.h. */
36379 $ac_includes_default
36380 typedef mode_t ac__type_new_;
36381 int
36382 main ()
36383 {
36384 if ((ac__type_new_ *) 0)
36385 return 0;
36386 if (sizeof (ac__type_new_))
36387 return 0;
36388 ;
36389 return 0;
36390 }
36391 _ACEOF
36392 rm -f conftest.$ac_objext
36393 if { (ac_try="$ac_compile"
36394 case "(($ac_try" in
36395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36396 *) ac_try_echo=$ac_try;;
36397 esac
36398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36399 (eval "$ac_compile") 2>conftest.er1
36400 ac_status=$?
36401 grep -v '^ *+' conftest.er1 >conftest.err
36402 rm -f conftest.er1
36403 cat conftest.err >&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } && {
36406 test -z "$ac_c_werror_flag" ||
36407 test ! -s conftest.err
36408 } && test -s conftest.$ac_objext; then
36409 ac_cv_type_mode_t=yes
36410 else
36411 echo "$as_me: failed program was:" >&5
36412 sed 's/^/| /' conftest.$ac_ext >&5
36413
36414 ac_cv_type_mode_t=no
36415 fi
36416
36417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36418 fi
36419 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36420 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36421 if test $ac_cv_type_mode_t = yes; then
36422 :
36423 else
36424
36425 cat >>confdefs.h <<_ACEOF
36426 #define mode_t int
36427 _ACEOF
36428
36429 fi
36430
36431 { echo "$as_me:$LINENO: checking for off_t" >&5
36432 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36433 if test "${ac_cv_type_off_t+set}" = set; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36435 else
36436 cat >conftest.$ac_ext <<_ACEOF
36437 /* confdefs.h. */
36438 _ACEOF
36439 cat confdefs.h >>conftest.$ac_ext
36440 cat >>conftest.$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36442 $ac_includes_default
36443 typedef off_t ac__type_new_;
36444 int
36445 main ()
36446 {
36447 if ((ac__type_new_ *) 0)
36448 return 0;
36449 if (sizeof (ac__type_new_))
36450 return 0;
36451 ;
36452 return 0;
36453 }
36454 _ACEOF
36455 rm -f conftest.$ac_objext
36456 if { (ac_try="$ac_compile"
36457 case "(($ac_try" in
36458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36459 *) ac_try_echo=$ac_try;;
36460 esac
36461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36462 (eval "$ac_compile") 2>conftest.er1
36463 ac_status=$?
36464 grep -v '^ *+' conftest.er1 >conftest.err
36465 rm -f conftest.er1
36466 cat conftest.err >&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } && {
36469 test -z "$ac_c_werror_flag" ||
36470 test ! -s conftest.err
36471 } && test -s conftest.$ac_objext; then
36472 ac_cv_type_off_t=yes
36473 else
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36476
36477 ac_cv_type_off_t=no
36478 fi
36479
36480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36481 fi
36482 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36483 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36484 if test $ac_cv_type_off_t = yes; then
36485 :
36486 else
36487
36488 cat >>confdefs.h <<_ACEOF
36489 #define off_t long int
36490 _ACEOF
36491
36492 fi
36493
36494 { echo "$as_me:$LINENO: checking for pid_t" >&5
36495 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36496 if test "${ac_cv_type_pid_t+set}" = set; then
36497 echo $ECHO_N "(cached) $ECHO_C" >&6
36498 else
36499 cat >conftest.$ac_ext <<_ACEOF
36500 /* confdefs.h. */
36501 _ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505 $ac_includes_default
36506 typedef pid_t ac__type_new_;
36507 int
36508 main ()
36509 {
36510 if ((ac__type_new_ *) 0)
36511 return 0;
36512 if (sizeof (ac__type_new_))
36513 return 0;
36514 ;
36515 return 0;
36516 }
36517 _ACEOF
36518 rm -f conftest.$ac_objext
36519 if { (ac_try="$ac_compile"
36520 case "(($ac_try" in
36521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522 *) ac_try_echo=$ac_try;;
36523 esac
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525 (eval "$ac_compile") 2>conftest.er1
36526 ac_status=$?
36527 grep -v '^ *+' conftest.er1 >conftest.err
36528 rm -f conftest.er1
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } && {
36532 test -z "$ac_c_werror_flag" ||
36533 test ! -s conftest.err
36534 } && test -s conftest.$ac_objext; then
36535 ac_cv_type_pid_t=yes
36536 else
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36539
36540 ac_cv_type_pid_t=no
36541 fi
36542
36543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36544 fi
36545 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36546 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36547 if test $ac_cv_type_pid_t = yes; then
36548 :
36549 else
36550
36551 cat >>confdefs.h <<_ACEOF
36552 #define pid_t int
36553 _ACEOF
36554
36555 fi
36556
36557 { echo "$as_me:$LINENO: checking for size_t" >&5
36558 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36559 if test "${ac_cv_type_size_t+set}" = set; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36561 else
36562 cat >conftest.$ac_ext <<_ACEOF
36563 /* confdefs.h. */
36564 _ACEOF
36565 cat confdefs.h >>conftest.$ac_ext
36566 cat >>conftest.$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36568 $ac_includes_default
36569 typedef size_t ac__type_new_;
36570 int
36571 main ()
36572 {
36573 if ((ac__type_new_ *) 0)
36574 return 0;
36575 if (sizeof (ac__type_new_))
36576 return 0;
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 rm -f conftest.$ac_objext
36582 if { (ac_try="$ac_compile"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36586 esac
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_compile") 2>conftest.er1
36589 ac_status=$?
36590 grep -v '^ *+' conftest.er1 >conftest.err
36591 rm -f conftest.er1
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest.$ac_objext; then
36598 ac_cv_type_size_t=yes
36599 else
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36602
36603 ac_cv_type_size_t=no
36604 fi
36605
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607 fi
36608 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36609 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36610 if test $ac_cv_type_size_t = yes; then
36611 :
36612 else
36613
36614 cat >>confdefs.h <<_ACEOF
36615 #define size_t unsigned int
36616 _ACEOF
36617
36618 fi
36619
36620 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36621 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36622 if test "${ac_cv_type_uid_t+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36624 else
36625 cat >conftest.$ac_ext <<_ACEOF
36626 /* confdefs.h. */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631 #include <sys/types.h>
36632
36633 _ACEOF
36634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36635 $EGREP "uid_t" >/dev/null 2>&1; then
36636 ac_cv_type_uid_t=yes
36637 else
36638 ac_cv_type_uid_t=no
36639 fi
36640 rm -f conftest*
36641
36642 fi
36643 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36644 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36645 if test $ac_cv_type_uid_t = no; then
36646
36647 cat >>confdefs.h <<\_ACEOF
36648 #define uid_t int
36649 _ACEOF
36650
36651
36652 cat >>confdefs.h <<\_ACEOF
36653 #define gid_t int
36654 _ACEOF
36655
36656 fi
36657
36658
36659 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36660 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36661 if test "${ac_cv_type_ssize_t+set}" = set; then
36662 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 else
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 $ac_includes_default
36671 typedef ssize_t ac__type_new_;
36672 int
36673 main ()
36674 {
36675 if ((ac__type_new_ *) 0)
36676 return 0;
36677 if (sizeof (ac__type_new_))
36678 return 0;
36679 ;
36680 return 0;
36681 }
36682 _ACEOF
36683 rm -f conftest.$ac_objext
36684 if { (ac_try="$ac_compile"
36685 case "(($ac_try" in
36686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36687 *) ac_try_echo=$ac_try;;
36688 esac
36689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36690 (eval "$ac_compile") 2>conftest.er1
36691 ac_status=$?
36692 grep -v '^ *+' conftest.er1 >conftest.err
36693 rm -f conftest.er1
36694 cat conftest.err >&5
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); } && {
36697 test -z "$ac_c_werror_flag" ||
36698 test ! -s conftest.err
36699 } && test -s conftest.$ac_objext; then
36700 ac_cv_type_ssize_t=yes
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 ac_cv_type_ssize_t=no
36706 fi
36707
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709 fi
36710 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36711 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36712 if test $ac_cv_type_ssize_t = yes; then
36713
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_SSIZE_T 1
36716 _ACEOF
36717
36718
36719 fi
36720
36721
36722 ac_ext=cpp
36723 ac_cpp='$CXXCPP $CPPFLAGS'
36724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36728 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36729 if test "${wx_cv_size_t_is_uint+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36731 else
36732
36733 cat >conftest.$ac_ext <<_ACEOF
36734 /* confdefs.h. */
36735 _ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739 #include <stddef.h>
36740 int
36741 main ()
36742 {
36743
36744 return 0; }
36745
36746 struct Foo { void foo(size_t); void foo(unsigned int); };
36747
36748 int bar() {
36749
36750 ;
36751 return 0;
36752 }
36753 _ACEOF
36754 rm -f conftest.$ac_objext
36755 if { (ac_try="$ac_compile"
36756 case "(($ac_try" in
36757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36758 *) ac_try_echo=$ac_try;;
36759 esac
36760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36761 (eval "$ac_compile") 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } && {
36768 test -z "$ac_cxx_werror_flag" ||
36769 test ! -s conftest.err
36770 } && test -s conftest.$ac_objext; then
36771 wx_cv_size_t_is_uint=no
36772 else
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.$ac_ext >&5
36775
36776 wx_cv_size_t_is_uint=yes
36777
36778 fi
36779
36780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36781
36782
36783 fi
36784 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36785 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36786
36787 if test "$wx_cv_size_t_is_uint" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define wxSIZE_T_IS_UINT 1
36790 _ACEOF
36791
36792 else
36793 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36794 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36795 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 else
36798 cat >conftest.$ac_ext <<_ACEOF
36799 /* confdefs.h. */
36800 _ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 #include <stddef.h>
36805 int
36806 main ()
36807 {
36808
36809 return 0; }
36810
36811 struct Foo { void foo(size_t); void foo(unsigned long); };
36812
36813 int bar() {
36814
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 rm -f conftest.$ac_objext
36820 if { (ac_try="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36824 esac
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36827 ac_status=$?
36828 grep -v '^ *+' conftest.er1 >conftest.err
36829 rm -f conftest.er1
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_cxx_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_size_t_is_ulong=no
36837 else
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36840
36841 wx_cv_size_t_is_ulong=yes
36842
36843 fi
36844
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846
36847 fi
36848 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36849 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36850
36851 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853 #define wxSIZE_T_IS_ULONG 1
36854 _ACEOF
36855
36856 fi
36857 fi
36858
36859 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36860 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36861 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36862 echo $ECHO_N "(cached) $ECHO_C" >&6
36863 else
36864 cat >conftest.$ac_ext <<_ACEOF
36865 /* confdefs.h. */
36866 _ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36870 #include <wchar.h>
36871 int
36872 main ()
36873 {
36874
36875 return 0; }
36876
36877 struct Foo { void foo(wchar_t);
36878 void foo(unsigned short);
36879 void foo(unsigned int);
36880 void foo(unsigned long); };
36881
36882 int bar() {
36883
36884 ;
36885 return 0;
36886 }
36887 _ACEOF
36888 rm -f conftest.$ac_objext
36889 if { (ac_try="$ac_compile"
36890 case "(($ac_try" in
36891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36892 *) ac_try_echo=$ac_try;;
36893 esac
36894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36895 (eval "$ac_compile") 2>conftest.er1
36896 ac_status=$?
36897 grep -v '^ *+' conftest.er1 >conftest.err
36898 rm -f conftest.er1
36899 cat conftest.err >&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && {
36902 test -z "$ac_cxx_werror_flag" ||
36903 test ! -s conftest.err
36904 } && test -s conftest.$ac_objext; then
36905 wx_cv_wchar_t_is_separate_type=yes
36906 else
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36909
36910 wx_cv_wchar_t_is_separate_type=no
36911
36912 fi
36913
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915
36916 fi
36917 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36918 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36919
36920 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36921 cat >>confdefs.h <<\_ACEOF
36922 #define wxWCHAR_T_IS_REAL_TYPE 1
36923 _ACEOF
36924
36925 else
36926 cat >>confdefs.h <<\_ACEOF
36927 #define wxWCHAR_T_IS_REAL_TYPE 0
36928 _ACEOF
36929
36930 fi
36931
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937
36938
36939 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36940 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36941 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944
36945 cat >conftest.$ac_ext <<_ACEOF
36946 /* confdefs.h. */
36947 _ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 #include <pwd.h>
36952 int
36953 main ()
36954 {
36955
36956 char *p;
36957 struct passwd *pw;
36958 p = pw->pw_gecos;
36959
36960 ;
36961 return 0;
36962 }
36963 _ACEOF
36964 rm -f conftest.$ac_objext
36965 if { (ac_try="$ac_compile"
36966 case "(($ac_try" in
36967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36968 *) ac_try_echo=$ac_try;;
36969 esac
36970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36971 (eval "$ac_compile") 2>conftest.er1
36972 ac_status=$?
36973 grep -v '^ *+' conftest.er1 >conftest.err
36974 rm -f conftest.er1
36975 cat conftest.err >&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } && {
36978 test -z "$ac_c_werror_flag" ||
36979 test ! -s conftest.err
36980 } && test -s conftest.$ac_objext; then
36981
36982 wx_cv_struct_pw_gecos=yes
36983
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988
36989 wx_cv_struct_pw_gecos=no
36990
36991
36992 fi
36993
36994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36995
36996
36997 fi
36998 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36999 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37000
37001 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_PW_GECOS 1
37004 _ACEOF
37005
37006 fi
37007
37008
37009 if test "$wxUSE_WCHAR_T" = "yes"; then
37010 cat >>confdefs.h <<\_ACEOF
37011 #define wxUSE_WCHAR_T 1
37012 _ACEOF
37013
37014
37015 WCSLEN_FOUND=0
37016 WCHAR_LINK=
37017
37018 for ac_func in wcslen
37019 do
37020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37026 cat >conftest.$ac_ext <<_ACEOF
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37034 #define $ac_func innocuous_$ac_func
37035
37036 /* System header to define __stub macros and hopefully few prototypes,
37037 which can conflict with char $ac_func (); below.
37038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37039 <limits.h> exists even on freestanding compilers. */
37040
37041 #ifdef __STDC__
37042 # include <limits.h>
37043 #else
37044 # include <assert.h>
37045 #endif
37046
37047 #undef $ac_func
37048
37049 /* Override any GCC internal prototype to avoid an error.
37050 Use char because int might match the return type of a GCC
37051 builtin and then its argument prototype would still apply. */
37052 #ifdef __cplusplus
37053 extern "C"
37054 #endif
37055 char $ac_func ();
37056 /* The GNU C library defines this for functions which it implements
37057 to always fail with ENOSYS. Some functions are actually named
37058 something starting with __ and the normal name is an alias. */
37059 #if defined __stub_$ac_func || defined __stub___$ac_func
37060 choke me
37061 #endif
37062
37063 int
37064 main ()
37065 {
37066 return $ac_func ();
37067 ;
37068 return 0;
37069 }
37070 _ACEOF
37071 rm -f conftest.$ac_objext conftest$ac_exeext
37072 if { (ac_try="$ac_link"
37073 case "(($ac_try" in
37074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37075 *) ac_try_echo=$ac_try;;
37076 esac
37077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37078 (eval "$ac_link") 2>conftest.er1
37079 ac_status=$?
37080 grep -v '^ *+' conftest.er1 >conftest.err
37081 rm -f conftest.er1
37082 cat conftest.err >&5
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); } && {
37085 test -z "$ac_c_werror_flag" ||
37086 test ! -s conftest.err
37087 } && test -s conftest$ac_exeext &&
37088 $as_test_x conftest$ac_exeext; then
37089 eval "$as_ac_var=yes"
37090 else
37091 echo "$as_me: failed program was:" >&5
37092 sed 's/^/| /' conftest.$ac_ext >&5
37093
37094 eval "$as_ac_var=no"
37095 fi
37096
37097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37098 conftest$ac_exeext conftest.$ac_ext
37099 fi
37100 ac_res=`eval echo '${'$as_ac_var'}'`
37101 { echo "$as_me:$LINENO: result: $ac_res" >&5
37102 echo "${ECHO_T}$ac_res" >&6; }
37103 if test `eval echo '${'$as_ac_var'}'` = yes; then
37104 cat >>confdefs.h <<_ACEOF
37105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37106 _ACEOF
37107 WCSLEN_FOUND=1
37108 fi
37109 done
37110
37111
37112 if test "$WCSLEN_FOUND" = 0; then
37113 if test "$TOOLKIT" = "MSW"; then
37114 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37115 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37116 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119 ac_check_lib_save_LIBS=$LIBS
37120 LIBS="-lmsvcrt $LIBS"
37121 cat >conftest.$ac_ext <<_ACEOF
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127
37128 /* Override any GCC internal prototype to avoid an error.
37129 Use char because int might match the return type of a GCC
37130 builtin and then its argument prototype would still apply. */
37131 #ifdef __cplusplus
37132 extern "C"
37133 #endif
37134 char wcslen ();
37135 int
37136 main ()
37137 {
37138 return wcslen ();
37139 ;
37140 return 0;
37141 }
37142 _ACEOF
37143 rm -f conftest.$ac_objext conftest$ac_exeext
37144 if { (ac_try="$ac_link"
37145 case "(($ac_try" in
37146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37147 *) ac_try_echo=$ac_try;;
37148 esac
37149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37150 (eval "$ac_link") 2>conftest.er1
37151 ac_status=$?
37152 grep -v '^ *+' conftest.er1 >conftest.err
37153 rm -f conftest.er1
37154 cat conftest.err >&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); } && {
37157 test -z "$ac_c_werror_flag" ||
37158 test ! -s conftest.err
37159 } && test -s conftest$ac_exeext &&
37160 $as_test_x conftest$ac_exeext; then
37161 ac_cv_lib_msvcrt_wcslen=yes
37162 else
37163 echo "$as_me: failed program was:" >&5
37164 sed 's/^/| /' conftest.$ac_ext >&5
37165
37166 ac_cv_lib_msvcrt_wcslen=no
37167 fi
37168
37169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37170 conftest$ac_exeext conftest.$ac_ext
37171 LIBS=$ac_check_lib_save_LIBS
37172 fi
37173 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37174 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37175 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37176 WCHAR_OK=1
37177 fi
37178
37179 else
37180 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37181 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37182 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37183 echo $ECHO_N "(cached) $ECHO_C" >&6
37184 else
37185 ac_check_lib_save_LIBS=$LIBS
37186 LIBS="-lw $LIBS"
37187 cat >conftest.$ac_ext <<_ACEOF
37188 /* confdefs.h. */
37189 _ACEOF
37190 cat confdefs.h >>conftest.$ac_ext
37191 cat >>conftest.$ac_ext <<_ACEOF
37192 /* end confdefs.h. */
37193
37194 /* Override any GCC internal prototype to avoid an error.
37195 Use char because int might match the return type of a GCC
37196 builtin and then its argument prototype would still apply. */
37197 #ifdef __cplusplus
37198 extern "C"
37199 #endif
37200 char wcslen ();
37201 int
37202 main ()
37203 {
37204 return wcslen ();
37205 ;
37206 return 0;
37207 }
37208 _ACEOF
37209 rm -f conftest.$ac_objext conftest$ac_exeext
37210 if { (ac_try="$ac_link"
37211 case "(($ac_try" in
37212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37214 esac
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_link") 2>conftest.er1
37217 ac_status=$?
37218 grep -v '^ *+' conftest.er1 >conftest.err
37219 rm -f conftest.er1
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_c_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest$ac_exeext &&
37226 $as_test_x conftest$ac_exeext; then
37227 ac_cv_lib_w_wcslen=yes
37228 else
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37231
37232 ac_cv_lib_w_wcslen=no
37233 fi
37234
37235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37236 conftest$ac_exeext conftest.$ac_ext
37237 LIBS=$ac_check_lib_save_LIBS
37238 fi
37239 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37240 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37241 if test $ac_cv_lib_w_wcslen = yes; then
37242
37243 WCHAR_LINK=" -lw"
37244 WCSLEN_FOUND=1
37245
37246 fi
37247
37248 fi
37249 fi
37250
37251 if test "$WCSLEN_FOUND" = 1; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define HAVE_WCSLEN 1
37254 _ACEOF
37255
37256 fi
37257
37258
37259 for ac_func in wcsdup
37260 do
37261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37265 echo $ECHO_N "(cached) $ECHO_C" >&6
37266 else
37267 cat >conftest.$ac_ext <<_ACEOF
37268 /* confdefs.h. */
37269 _ACEOF
37270 cat confdefs.h >>conftest.$ac_ext
37271 cat >>conftest.$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37275 #define $ac_func innocuous_$ac_func
37276
37277 /* System header to define __stub macros and hopefully few prototypes,
37278 which can conflict with char $ac_func (); below.
37279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37280 <limits.h> exists even on freestanding compilers. */
37281
37282 #ifdef __STDC__
37283 # include <limits.h>
37284 #else
37285 # include <assert.h>
37286 #endif
37287
37288 #undef $ac_func
37289
37290 /* Override any GCC internal prototype to avoid an error.
37291 Use char because int might match the return type of a GCC
37292 builtin and then its argument prototype would still apply. */
37293 #ifdef __cplusplus
37294 extern "C"
37295 #endif
37296 char $ac_func ();
37297 /* The GNU C library defines this for functions which it implements
37298 to always fail with ENOSYS. Some functions are actually named
37299 something starting with __ and the normal name is an alias. */
37300 #if defined __stub_$ac_func || defined __stub___$ac_func
37301 choke me
37302 #endif
37303
37304 int
37305 main ()
37306 {
37307 return $ac_func ();
37308 ;
37309 return 0;
37310 }
37311 _ACEOF
37312 rm -f conftest.$ac_objext conftest$ac_exeext
37313 if { (ac_try="$ac_link"
37314 case "(($ac_try" in
37315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37316 *) ac_try_echo=$ac_try;;
37317 esac
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_link") 2>conftest.er1
37320 ac_status=$?
37321 grep -v '^ *+' conftest.er1 >conftest.err
37322 rm -f conftest.er1
37323 cat conftest.err >&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_c_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest$ac_exeext &&
37329 $as_test_x conftest$ac_exeext; then
37330 eval "$as_ac_var=yes"
37331 else
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37334
37335 eval "$as_ac_var=no"
37336 fi
37337
37338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37339 conftest$ac_exeext conftest.$ac_ext
37340 fi
37341 ac_res=`eval echo '${'$as_ac_var'}'`
37342 { echo "$as_me:$LINENO: result: $ac_res" >&5
37343 echo "${ECHO_T}$ac_res" >&6; }
37344 if test `eval echo '${'$as_ac_var'}'` = yes; then
37345 cat >>confdefs.h <<_ACEOF
37346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352
37353 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37354 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37355 fi
37356
37357 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37358 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37359 if test "${ac_cv_type_mbstate_t+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37362 cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h. */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368 #include <wchar.h>
37369
37370 typedef mbstate_t ac__type_new_;
37371 int
37372 main ()
37373 {
37374 if ((ac__type_new_ *) 0)
37375 return 0;
37376 if (sizeof (ac__type_new_))
37377 return 0;
37378 ;
37379 return 0;
37380 }
37381 _ACEOF
37382 rm -f conftest.$ac_objext
37383 if { (ac_try="$ac_compile"
37384 case "(($ac_try" in
37385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37386 *) ac_try_echo=$ac_try;;
37387 esac
37388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37389 (eval "$ac_compile") 2>conftest.er1
37390 ac_status=$?
37391 grep -v '^ *+' conftest.er1 >conftest.err
37392 rm -f conftest.er1
37393 cat conftest.err >&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); } && {
37396 test -z "$ac_c_werror_flag" ||
37397 test ! -s conftest.err
37398 } && test -s conftest.$ac_objext; then
37399 ac_cv_type_mbstate_t=yes
37400 else
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37403
37404 ac_cv_type_mbstate_t=no
37405 fi
37406
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37408 fi
37409 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37410 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37411 if test $ac_cv_type_mbstate_t = yes; then
37412
37413 cat >>confdefs.h <<_ACEOF
37414 #define HAVE_MBSTATE_T 1
37415 _ACEOF
37416
37417
37418 for ac_func in wcsrtombs
37419 do
37420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37425 else
37426 cat >conftest.$ac_ext <<_ACEOF
37427 /* confdefs.h. */
37428 _ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37434 #define $ac_func innocuous_$ac_func
37435
37436 /* System header to define __stub macros and hopefully few prototypes,
37437 which can conflict with char $ac_func (); below.
37438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37439 <limits.h> exists even on freestanding compilers. */
37440
37441 #ifdef __STDC__
37442 # include <limits.h>
37443 #else
37444 # include <assert.h>
37445 #endif
37446
37447 #undef $ac_func
37448
37449 /* Override any GCC internal prototype to avoid an error.
37450 Use char because int might match the return type of a GCC
37451 builtin and then its argument prototype would still apply. */
37452 #ifdef __cplusplus
37453 extern "C"
37454 #endif
37455 char $ac_func ();
37456 /* The GNU C library defines this for functions which it implements
37457 to always fail with ENOSYS. Some functions are actually named
37458 something starting with __ and the normal name is an alias. */
37459 #if defined __stub_$ac_func || defined __stub___$ac_func
37460 choke me
37461 #endif
37462
37463 int
37464 main ()
37465 {
37466 return $ac_func ();
37467 ;
37468 return 0;
37469 }
37470 _ACEOF
37471 rm -f conftest.$ac_objext conftest$ac_exeext
37472 if { (ac_try="$ac_link"
37473 case "(($ac_try" in
37474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37475 *) ac_try_echo=$ac_try;;
37476 esac
37477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37478 (eval "$ac_link") 2>conftest.er1
37479 ac_status=$?
37480 grep -v '^ *+' conftest.er1 >conftest.err
37481 rm -f conftest.er1
37482 cat conftest.err >&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } && {
37485 test -z "$ac_c_werror_flag" ||
37486 test ! -s conftest.err
37487 } && test -s conftest$ac_exeext &&
37488 $as_test_x conftest$ac_exeext; then
37489 eval "$as_ac_var=yes"
37490 else
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37493
37494 eval "$as_ac_var=no"
37495 fi
37496
37497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37498 conftest$ac_exeext conftest.$ac_ext
37499 fi
37500 ac_res=`eval echo '${'$as_ac_var'}'`
37501 { echo "$as_me:$LINENO: result: $ac_res" >&5
37502 echo "${ECHO_T}$ac_res" >&6; }
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504 cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37506 _ACEOF
37507
37508 fi
37509 done
37510
37511 fi
37512
37513 else
37514 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37515 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37516 fi
37517
37518
37519
37520 for ac_func in snprintf vsnprintf
37521 do
37522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 else
37528 cat >conftest.$ac_ext <<_ACEOF
37529 /* confdefs.h. */
37530 _ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37536 #define $ac_func innocuous_$ac_func
37537
37538 /* System header to define __stub macros and hopefully few prototypes,
37539 which can conflict with char $ac_func (); below.
37540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37541 <limits.h> exists even on freestanding compilers. */
37542
37543 #ifdef __STDC__
37544 # include <limits.h>
37545 #else
37546 # include <assert.h>
37547 #endif
37548
37549 #undef $ac_func
37550
37551 /* Override any GCC internal prototype to avoid an error.
37552 Use char because int might match the return type of a GCC
37553 builtin and then its argument prototype would still apply. */
37554 #ifdef __cplusplus
37555 extern "C"
37556 #endif
37557 char $ac_func ();
37558 /* The GNU C library defines this for functions which it implements
37559 to always fail with ENOSYS. Some functions are actually named
37560 something starting with __ and the normal name is an alias. */
37561 #if defined __stub_$ac_func || defined __stub___$ac_func
37562 choke me
37563 #endif
37564
37565 int
37566 main ()
37567 {
37568 return $ac_func ();
37569 ;
37570 return 0;
37571 }
37572 _ACEOF
37573 rm -f conftest.$ac_objext conftest$ac_exeext
37574 if { (ac_try="$ac_link"
37575 case "(($ac_try" in
37576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37577 *) ac_try_echo=$ac_try;;
37578 esac
37579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37580 (eval "$ac_link") 2>conftest.er1
37581 ac_status=$?
37582 grep -v '^ *+' conftest.er1 >conftest.err
37583 rm -f conftest.er1
37584 cat conftest.err >&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } && {
37587 test -z "$ac_c_werror_flag" ||
37588 test ! -s conftest.err
37589 } && test -s conftest$ac_exeext &&
37590 $as_test_x conftest$ac_exeext; then
37591 eval "$as_ac_var=yes"
37592 else
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.$ac_ext >&5
37595
37596 eval "$as_ac_var=no"
37597 fi
37598
37599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37600 conftest$ac_exeext conftest.$ac_ext
37601 fi
37602 ac_res=`eval echo '${'$as_ac_var'}'`
37603 { echo "$as_me:$LINENO: result: $ac_res" >&5
37604 echo "${ECHO_T}$ac_res" >&6; }
37605 if test `eval echo '${'$as_ac_var'}'` = yes; then
37606 cat >>confdefs.h <<_ACEOF
37607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37608 _ACEOF
37609
37610 fi
37611 done
37612
37613
37614 if test "$ac_cv_func_vsnprintf" = "yes"; then
37615 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37616 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37617 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37619 else
37620
37621 cat >conftest.$ac_ext <<_ACEOF
37622 /* confdefs.h. */
37623 _ACEOF
37624 cat confdefs.h >>conftest.$ac_ext
37625 cat >>conftest.$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37627
37628 #include <stdio.h>
37629 #include <stdarg.h>
37630 #ifdef __MSL__
37631 #if __MSL__ >= 0x6000
37632 namespace std {}
37633 using namespace std;
37634 #endif
37635 #endif
37636
37637 int
37638 main ()
37639 {
37640
37641 char *buf;
37642 va_list ap;
37643 vsnprintf(buf, 10u, "%s", ap);
37644
37645 ;
37646 return 0;
37647 }
37648 _ACEOF
37649 rm -f conftest.$ac_objext
37650 if { (ac_try="$ac_compile"
37651 case "(($ac_try" in
37652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37653 *) ac_try_echo=$ac_try;;
37654 esac
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_compile") 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_c_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest.$ac_objext; then
37666 wx_cv_func_vsnprintf_decl=yes
37667 else
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671 wx_cv_func_vsnprintf_decl=no
37672
37673 fi
37674
37675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37676
37677
37678 fi
37679 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37680 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37681
37682 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37683 cat >>confdefs.h <<\_ACEOF
37684 #define HAVE_VSNPRINTF_DECL 1
37685 _ACEOF
37686
37687
37688 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37689 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37690 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700
37701 #include <stdio.h>
37702 #include <stdarg.h>
37703 #ifdef __MSL__
37704 #if __MSL__ >= 0x6000
37705 namespace std {}
37706 using namespace std;
37707 #endif
37708 #endif
37709
37710 int
37711 main ()
37712 {
37713
37714 char *buf;
37715 va_list ap;
37716 const char *fmt = "%s";
37717 vsnprintf(buf, 10u, fmt, ap);
37718
37719 ;
37720 return 0;
37721 }
37722 _ACEOF
37723 rm -f conftest.$ac_objext
37724 if { (ac_try="$ac_compile"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37728 esac
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_compile") 2>conftest.er1
37731 ac_status=$?
37732 grep -v '^ *+' conftest.er1 >conftest.err
37733 rm -f conftest.er1
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } && {
37737 test -z "$ac_c_werror_flag" ||
37738 test ! -s conftest.err
37739 } && test -s conftest.$ac_objext; then
37740 wx_cv_func_broken_vsnprintf_decl=no
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 wx_cv_func_broken_vsnprintf_decl=yes
37746
37747 fi
37748
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750
37751
37752 fi
37753 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37754 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37755
37756 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37757 cat >>confdefs.h <<\_ACEOF
37758 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37759 _ACEOF
37760
37761 fi
37762 fi
37763 fi
37764
37765 if test "$ac_cv_func_snprintf" = "yes"; then
37766 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37767 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37768 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37769 echo $ECHO_N "(cached) $ECHO_C" >&6
37770 else
37771
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h. */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778
37779 #include <stdio.h>
37780 #include <stdarg.h>
37781 #ifdef __MSL__
37782 #if __MSL__ >= 0x6000
37783 namespace std {}
37784 using namespace std;
37785 #endif
37786 #endif
37787
37788 int
37789 main ()
37790 {
37791
37792 char *buf;
37793 snprintf(buf, 10u, "%s", "wx");
37794
37795 ;
37796 return 0;
37797 }
37798 _ACEOF
37799 rm -f conftest.$ac_objext
37800 if { (ac_try="$ac_compile"
37801 case "(($ac_try" in
37802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37803 *) ac_try_echo=$ac_try;;
37804 esac
37805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37806 (eval "$ac_compile") 2>conftest.er1
37807 ac_status=$?
37808 grep -v '^ *+' conftest.er1 >conftest.err
37809 rm -f conftest.er1
37810 cat conftest.err >&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } && {
37813 test -z "$ac_c_werror_flag" ||
37814 test ! -s conftest.err
37815 } && test -s conftest.$ac_objext; then
37816 wx_cv_func_snprintf_decl=yes
37817 else
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37820
37821 wx_cv_func_snprintf_decl=no
37822
37823 fi
37824
37825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37826
37827
37828 fi
37829 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37830 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37831
37832 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37833 cat >>confdefs.h <<\_ACEOF
37834 #define HAVE_SNPRINTF_DECL 1
37835 _ACEOF
37836
37837
37838 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37839 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37840 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37841 echo $ECHO_N "(cached) $ECHO_C" >&6
37842 else
37843
37844 cat >conftest.$ac_ext <<_ACEOF
37845 /* confdefs.h. */
37846 _ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37850
37851 #include <stdio.h>
37852 #include <stdarg.h>
37853 #ifdef __MSL__
37854 #if __MSL__ >= 0x6000
37855 namespace std {}
37856 using namespace std;
37857 #endif
37858 #endif
37859
37860 int
37861 main ()
37862 {
37863
37864 char *buf;
37865 const char *fmt = "%s";
37866 snprintf(buf, 10u, fmt, "wx");
37867
37868 ;
37869 return 0;
37870 }
37871 _ACEOF
37872 rm -f conftest.$ac_objext
37873 if { (ac_try="$ac_compile"
37874 case "(($ac_try" in
37875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37876 *) ac_try_echo=$ac_try;;
37877 esac
37878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37879 (eval "$ac_compile") 2>conftest.er1
37880 ac_status=$?
37881 grep -v '^ *+' conftest.er1 >conftest.err
37882 rm -f conftest.er1
37883 cat conftest.err >&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } && {
37886 test -z "$ac_c_werror_flag" ||
37887 test ! -s conftest.err
37888 } && test -s conftest.$ac_objext; then
37889 wx_cv_func_broken_snprintf_decl=no
37890 else
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37893
37894 wx_cv_func_broken_snprintf_decl=yes
37895
37896 fi
37897
37898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37899
37900
37901 fi
37902 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37903 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37904
37905 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37906 cat >>confdefs.h <<\_ACEOF
37907 #define HAVE_BROKEN_SNPRINTF_DECL 1
37908 _ACEOF
37909
37910 fi
37911 fi
37912
37913 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37914
37915 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37916 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37917 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37919 else
37920
37921 if test "$cross_compiling" = yes; then
37922
37923 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37924 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37925 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37926 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37927 wx_cv_func_snprintf_pos_params=no
37928
37929
37930 else
37931 cat >conftest.$ac_ext <<_ACEOF
37932 /* confdefs.h. */
37933 _ACEOF
37934 cat confdefs.h >>conftest.$ac_ext
37935 cat >>conftest.$ac_ext <<_ACEOF
37936 /* end confdefs.h. */
37937
37938 #include <stdio.h>
37939
37940 int main (void)
37941 {
37942 char buffer[128];
37943 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37944 if (strcmp ("2 3 1", buffer) == 0)
37945 exit (0);
37946 exit (1);
37947 }
37948
37949 _ACEOF
37950 rm -f conftest$ac_exeext
37951 if { (ac_try="$ac_link"
37952 case "(($ac_try" in
37953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37954 *) ac_try_echo=$ac_try;;
37955 esac
37956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37957 (eval "$ac_link") 2>&5
37958 ac_status=$?
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37961 { (case "(($ac_try" in
37962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37963 *) ac_try_echo=$ac_try;;
37964 esac
37965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37966 (eval "$ac_try") 2>&5
37967 ac_status=$?
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; }; then
37970 wx_cv_func_snprintf_pos_params=no
37971 else
37972 echo "$as_me: program exited with status $ac_status" >&5
37973 echo "$as_me: failed program was:" >&5
37974 sed 's/^/| /' conftest.$ac_ext >&5
37975
37976 ( exit $ac_status )
37977 wx_cv_func_snprintf_pos_params=yes
37978 fi
37979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37980 fi
37981
37982
37983
37984
37985 fi
37986 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37987 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37988
37989 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37990 cat >>confdefs.h <<\_ACEOF
37991 #define HAVE_UNIX98_PRINTF 1
37992 _ACEOF
37993
37994 fi
37995 fi
37996 fi
37997
37998 if test "$wxUSE_UNICODE" = yes; then
37999
38000
38001 for ac_func in swprintf
38002 do
38003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 else
38009 cat >conftest.$ac_ext <<_ACEOF
38010 /* confdefs.h. */
38011 _ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38017 #define $ac_func innocuous_$ac_func
38018
38019 /* System header to define __stub macros and hopefully few prototypes,
38020 which can conflict with char $ac_func (); below.
38021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38022 <limits.h> exists even on freestanding compilers. */
38023
38024 #ifdef __STDC__
38025 # include <limits.h>
38026 #else
38027 # include <assert.h>
38028 #endif
38029
38030 #undef $ac_func
38031
38032 /* Override any GCC internal prototype to avoid an error.
38033 Use char because int might match the return type of a GCC
38034 builtin and then its argument prototype would still apply. */
38035 #ifdef __cplusplus
38036 extern "C"
38037 #endif
38038 char $ac_func ();
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined __stub_$ac_func || defined __stub___$ac_func
38043 choke me
38044 #endif
38045
38046 int
38047 main ()
38048 {
38049 return $ac_func ();
38050 ;
38051 return 0;
38052 }
38053 _ACEOF
38054 rm -f conftest.$ac_objext conftest$ac_exeext
38055 if { (ac_try="$ac_link"
38056 case "(($ac_try" in
38057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38058 *) ac_try_echo=$ac_try;;
38059 esac
38060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38061 (eval "$ac_link") 2>conftest.er1
38062 ac_status=$?
38063 grep -v '^ *+' conftest.er1 >conftest.err
38064 rm -f conftest.er1
38065 cat conftest.err >&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } && {
38068 test -z "$ac_c_werror_flag" ||
38069 test ! -s conftest.err
38070 } && test -s conftest$ac_exeext &&
38071 $as_test_x conftest$ac_exeext; then
38072 eval "$as_ac_var=yes"
38073 else
38074 echo "$as_me: failed program was:" >&5
38075 sed 's/^/| /' conftest.$ac_ext >&5
38076
38077 eval "$as_ac_var=no"
38078 fi
38079
38080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38081 conftest$ac_exeext conftest.$ac_ext
38082 fi
38083 ac_res=`eval echo '${'$as_ac_var'}'`
38084 { echo "$as_me:$LINENO: result: $ac_res" >&5
38085 echo "${ECHO_T}$ac_res" >&6; }
38086 if test `eval echo '${'$as_ac_var'}'` = yes; then
38087 cat >>confdefs.h <<_ACEOF
38088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38089 _ACEOF
38090
38091 fi
38092 done
38093
38094
38095 if test "$ac_cv_func_swprintf" = "yes"; then
38096 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38097 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38098 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38100 else
38101
38102 cat >conftest.$ac_ext <<_ACEOF
38103 /* confdefs.h. */
38104 _ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38108
38109 #include <stdio.h>
38110 #include <stdarg.h>
38111 #include <wchar.h>
38112
38113 int
38114 main ()
38115 {
38116
38117 wchar_t *buf;
38118 const wchar_t *fmt = L"test";
38119 swprintf(buf, 10u, fmt);
38120
38121 ;
38122 return 0;
38123 }
38124 _ACEOF
38125 rm -f conftest.$ac_objext
38126 if { (ac_try="$ac_compile"
38127 case "(($ac_try" in
38128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38129 *) ac_try_echo=$ac_try;;
38130 esac
38131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38132 (eval "$ac_compile") 2>conftest.er1
38133 ac_status=$?
38134 grep -v '^ *+' conftest.er1 >conftest.err
38135 rm -f conftest.er1
38136 cat conftest.err >&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); } && {
38139 test -z "$ac_c_werror_flag" ||
38140 test ! -s conftest.err
38141 } && test -s conftest.$ac_objext; then
38142 wx_cv_func_broken_swprintf_decl=no
38143 else
38144 echo "$as_me: failed program was:" >&5
38145 sed 's/^/| /' conftest.$ac_ext >&5
38146
38147 wx_cv_func_broken_swprintf_decl=yes
38148
38149 fi
38150
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152
38153
38154 fi
38155 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38156 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38157
38158 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38159 cat >>confdefs.h <<\_ACEOF
38160 #define HAVE_BROKEN_SWPRINTF_DECL 1
38161 _ACEOF
38162
38163 fi
38164 fi
38165
38166 wchar_headers="#include <stdio.h>
38167 #include <wchar.h>"
38168 case "${host}" in
38169 *-*-solaris2* )
38170
38171 for ac_header in widec.h
38172 do
38173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38177 echo $ECHO_N "(cached) $ECHO_C" >&6
38178 else
38179 cat >conftest.$ac_ext <<_ACEOF
38180 /* confdefs.h. */
38181 _ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38185 $ac_includes_default
38186
38187 #include <$ac_header>
38188 _ACEOF
38189 rm -f conftest.$ac_objext
38190 if { (ac_try="$ac_compile"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38193 *) ac_try_echo=$ac_try;;
38194 esac
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_compile") 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest.$ac_objext; then
38206 eval "$as_ac_Header=yes"
38207 else
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.$ac_ext >&5
38210
38211 eval "$as_ac_Header=no"
38212 fi
38213
38214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38215 fi
38216 ac_res=`eval echo '${'$as_ac_Header'}'`
38217 { echo "$as_me:$LINENO: result: $ac_res" >&5
38218 echo "${ECHO_T}$ac_res" >&6; }
38219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38220 cat >>confdefs.h <<_ACEOF
38221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38222 _ACEOF
38223
38224 fi
38225
38226 done
38227
38228 if test "$ac_cv_header_widec_h" = "yes"; then
38229 wchar_headers="$wchar_headers
38230 #include <widec.h>"
38231 fi
38232 esac
38233
38234
38235 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38236 do
38237 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38238 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38239 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38240 echo $ECHO_N "(cached) $ECHO_C" >&6
38241 else
38242
38243 cat >conftest.$ac_ext <<_ACEOF
38244
38245 /* confdefs.h. */
38246 _ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38250
38251 $wchar_headers
38252 $ac_includes_default
38253
38254 int
38255 main ()
38256 {
38257
38258 #ifndef $wx_func
38259 &$wx_func;
38260 #endif
38261
38262
38263 ;
38264 return 0;
38265 }
38266
38267 _ACEOF
38268 rm -f conftest.$ac_objext conftest$ac_exeext
38269 if { (ac_try="$ac_link"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38272 *) ac_try_echo=$ac_try;;
38273 esac
38274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_link") 2>conftest.er1
38276 ac_status=$?
38277 grep -v '^ *+' conftest.er1 >conftest.err
38278 rm -f conftest.er1
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest$ac_exeext &&
38285 $as_test_x conftest$ac_exeext; then
38286 eval wx_cv_func_$wx_func=yes
38287 else
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38290
38291 eval wx_cv_func_$wx_func=no
38292 fi
38293
38294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38295 conftest$ac_exeext conftest.$ac_ext
38296
38297 fi
38298 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38299 { echo "$as_me:$LINENO: result: $ac_res" >&5
38300 echo "${ECHO_T}$ac_res" >&6; }
38301
38302 if eval test \$wx_cv_func_$wx_func = yes
38303 then
38304 cat >>confdefs.h <<_ACEOF
38305 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38306 _ACEOF
38307
38308
38309 else
38310 :
38311
38312 fi
38313 done
38314
38315
38316 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38317 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38318 cat >conftest.$ac_ext <<_ACEOF
38319 /* confdefs.h. */
38320 _ACEOF
38321 cat confdefs.h >>conftest.$ac_ext
38322 cat >>conftest.$ac_ext <<_ACEOF
38323 /* end confdefs.h. */
38324 #include <wchar.h>
38325 int
38326 main ()
38327 {
38328 &_vsnwprintf;
38329 ;
38330 return 0;
38331 }
38332 _ACEOF
38333 rm -f conftest.$ac_objext
38334 if { (ac_try="$ac_compile"
38335 case "(($ac_try" in
38336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38337 *) ac_try_echo=$ac_try;;
38338 esac
38339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38340 (eval "$ac_compile") 2>conftest.er1
38341 ac_status=$?
38342 grep -v '^ *+' conftest.er1 >conftest.err
38343 rm -f conftest.er1
38344 cat conftest.err >&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); } && {
38347 test -z "$ac_c_werror_flag" ||
38348 test ! -s conftest.err
38349 } && test -s conftest.$ac_objext; then
38350 { echo "$as_me:$LINENO: result: yes" >&5
38351 echo "${ECHO_T}yes" >&6; }
38352 cat >>confdefs.h <<\_ACEOF
38353 #define HAVE__VSNWPRINTF 1
38354 _ACEOF
38355
38356 else
38357 echo "$as_me: failed program was:" >&5
38358 sed 's/^/| /' conftest.$ac_ext >&5
38359
38360 { echo "$as_me:$LINENO: result: no" >&5
38361 echo "${ECHO_T}no" >&6; }
38362 fi
38363
38364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38365 fi
38366
38367 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38368
38369 for wx_func in fnmatch
38370 do
38371 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38372 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38373 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376
38377 cat >conftest.$ac_ext <<_ACEOF
38378
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384
38385 #include <fnmatch.h>
38386 $ac_includes_default
38387
38388 int
38389 main ()
38390 {
38391
38392 #ifndef $wx_func
38393 &$wx_func;
38394 #endif
38395
38396
38397 ;
38398 return 0;
38399 }
38400
38401 _ACEOF
38402 rm -f conftest.$ac_objext conftest$ac_exeext
38403 if { (ac_try="$ac_link"
38404 case "(($ac_try" in
38405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38406 *) ac_try_echo=$ac_try;;
38407 esac
38408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38409 (eval "$ac_link") 2>conftest.er1
38410 ac_status=$?
38411 grep -v '^ *+' conftest.er1 >conftest.err
38412 rm -f conftest.er1
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); } && {
38416 test -z "$ac_c_werror_flag" ||
38417 test ! -s conftest.err
38418 } && test -s conftest$ac_exeext &&
38419 $as_test_x conftest$ac_exeext; then
38420 eval wx_cv_func_$wx_func=yes
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38424
38425 eval wx_cv_func_$wx_func=no
38426 fi
38427
38428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38429 conftest$ac_exeext conftest.$ac_ext
38430
38431 fi
38432 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38433 { echo "$as_me:$LINENO: result: $ac_res" >&5
38434 echo "${ECHO_T}$ac_res" >&6; }
38435
38436 if eval test \$wx_cv_func_$wx_func = yes
38437 then
38438 cat >>confdefs.h <<_ACEOF
38439 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38440 _ACEOF
38441
38442
38443 else
38444 :
38445
38446 fi
38447 done
38448
38449 fi
38450
38451 if test "$wxUSE_FILE" = "yes"; then
38452
38453 for wx_func in fsync
38454 do
38455 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38456 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38457 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460
38461 cat >conftest.$ac_ext <<_ACEOF
38462
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468
38469
38470 $ac_includes_default
38471
38472 int
38473 main ()
38474 {
38475
38476 #ifndef $wx_func
38477 &$wx_func;
38478 #endif
38479
38480
38481 ;
38482 return 0;
38483 }
38484
38485 _ACEOF
38486 rm -f conftest.$ac_objext conftest$ac_exeext
38487 if { (ac_try="$ac_link"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38491 esac
38492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_link") 2>conftest.er1
38494 ac_status=$?
38495 grep -v '^ *+' conftest.er1 >conftest.err
38496 rm -f conftest.er1
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_c_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest$ac_exeext &&
38503 $as_test_x conftest$ac_exeext; then
38504 eval wx_cv_func_$wx_func=yes
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 eval wx_cv_func_$wx_func=no
38510 fi
38511
38512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38513 conftest$ac_exeext conftest.$ac_ext
38514
38515 fi
38516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38519
38520 if eval test \$wx_cv_func_$wx_func = yes
38521 then
38522 cat >>confdefs.h <<_ACEOF
38523 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38524 _ACEOF
38525
38526
38527 else
38528 :
38529
38530 fi
38531 done
38532
38533 fi
38534
38535 ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540
38541
38542 for wx_func in round
38543 do
38544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 else
38549
38550 cat >conftest.$ac_ext <<_ACEOF
38551
38552 /* confdefs.h. */
38553 _ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557
38558 #include <math.h>
38559 $ac_includes_default
38560
38561 int
38562 main ()
38563 {
38564
38565 #ifndef $wx_func
38566 &$wx_func;
38567 #endif
38568
38569
38570 ;
38571 return 0;
38572 }
38573
38574 _ACEOF
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (ac_try="$ac_link"
38577 case "(($ac_try" in
38578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38579 *) ac_try_echo=$ac_try;;
38580 esac
38581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38582 (eval "$ac_link") 2>conftest.er1
38583 ac_status=$?
38584 grep -v '^ *+' conftest.er1 >conftest.err
38585 rm -f conftest.er1
38586 cat conftest.err >&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } && {
38589 test -z "$ac_cxx_werror_flag" ||
38590 test ! -s conftest.err
38591 } && test -s conftest$ac_exeext &&
38592 $as_test_x conftest$ac_exeext; then
38593 eval wx_cv_func_$wx_func=yes
38594 else
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598 eval wx_cv_func_$wx_func=no
38599 fi
38600
38601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38602 conftest$ac_exeext conftest.$ac_ext
38603
38604 fi
38605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38606 { echo "$as_me:$LINENO: result: $ac_res" >&5
38607 echo "${ECHO_T}$ac_res" >&6; }
38608
38609 if eval test \$wx_cv_func_$wx_func = yes
38610 then
38611 cat >>confdefs.h <<_ACEOF
38612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38613 _ACEOF
38614
38615
38616 else
38617 :
38618
38619 fi
38620 done
38621
38622 ac_ext=c
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627
38628
38629 if test "$TOOLKIT" != "MSW"; then
38630
38631
38632
38633
38634
38635 # Check whether --with-libiconv-prefix was given.
38636 if test "${with_libiconv_prefix+set}" = set; then
38637 withval=$with_libiconv_prefix;
38638 for dir in `echo "$withval" | tr : ' '`; do
38639 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38640 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38641 done
38642
38643 fi
38644
38645
38646 { echo "$as_me:$LINENO: checking for iconv" >&5
38647 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38648 if test "${am_cv_func_iconv+set}" = set; then
38649 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 else
38651
38652 am_cv_func_iconv="no, consider installing GNU libiconv"
38653 am_cv_lib_iconv=no
38654 cat >conftest.$ac_ext <<_ACEOF
38655 /* confdefs.h. */
38656 _ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660 #include <stdlib.h>
38661 #include <iconv.h>
38662 int
38663 main ()
38664 {
38665 iconv_t cd = iconv_open("","");
38666 iconv(cd,NULL,NULL,NULL,NULL);
38667 iconv_close(cd);
38668 ;
38669 return 0;
38670 }
38671 _ACEOF
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38676 *) ac_try_echo=$ac_try;;
38677 esac
38678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38680 ac_status=$?
38681 grep -v '^ *+' conftest.er1 >conftest.err
38682 rm -f conftest.er1
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest$ac_exeext &&
38689 $as_test_x conftest$ac_exeext; then
38690 am_cv_func_iconv=yes
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38694
38695
38696 fi
38697
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38700 if test "$am_cv_func_iconv" != yes; then
38701 am_save_LIBS="$LIBS"
38702 LIBS="$LIBS -liconv"
38703 cat >conftest.$ac_ext <<_ACEOF
38704 /* confdefs.h. */
38705 _ACEOF
38706 cat confdefs.h >>conftest.$ac_ext
38707 cat >>conftest.$ac_ext <<_ACEOF
38708 /* end confdefs.h. */
38709 #include <stdlib.h>
38710 #include <iconv.h>
38711 int
38712 main ()
38713 {
38714 iconv_t cd = iconv_open("","");
38715 iconv(cd,NULL,NULL,NULL,NULL);
38716 iconv_close(cd);
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (ac_try="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38726 esac
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest$ac_exeext &&
38738 $as_test_x conftest$ac_exeext; then
38739 am_cv_lib_iconv=yes
38740 am_cv_func_iconv=yes
38741 else
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38744
38745
38746 fi
38747
38748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38749 conftest$ac_exeext conftest.$ac_ext
38750 LIBS="$am_save_LIBS"
38751 fi
38752
38753 fi
38754 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38755 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38756 if test "$am_cv_func_iconv" = yes; then
38757
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_ICONV 1
38760 _ACEOF
38761
38762 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38763 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38764 if test "${wx_cv_func_iconv_const+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 else
38767 cat >conftest.$ac_ext <<_ACEOF
38768 /* confdefs.h. */
38769 _ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38773
38774 #include <stdlib.h>
38775 #include <iconv.h>
38776 extern
38777 #ifdef __cplusplus
38778 "C"
38779 #endif
38780 #if defined(__STDC__) || defined(__cplusplus)
38781 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38782 #else
38783 size_t iconv();
38784 #endif
38785
38786 int
38787 main ()
38788 {
38789
38790 ;
38791 return 0;
38792 }
38793 _ACEOF
38794 rm -f conftest.$ac_objext
38795 if { (ac_try="$ac_compile"
38796 case "(($ac_try" in
38797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38798 *) ac_try_echo=$ac_try;;
38799 esac
38800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38801 (eval "$ac_compile") 2>conftest.er1
38802 ac_status=$?
38803 grep -v '^ *+' conftest.er1 >conftest.err
38804 rm -f conftest.er1
38805 cat conftest.err >&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } && {
38808 test -z "$ac_c_werror_flag" ||
38809 test ! -s conftest.err
38810 } && test -s conftest.$ac_objext; then
38811 wx_cv_func_iconv_const="no"
38812 else
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.$ac_ext >&5
38815
38816 wx_cv_func_iconv_const="yes"
38817
38818 fi
38819
38820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38821
38822 fi
38823 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38824 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38825
38826 iconv_const=
38827 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38828 iconv_const="const"
38829 fi
38830
38831
38832 cat >>confdefs.h <<_ACEOF
38833 #define ICONV_CONST $iconv_const
38834 _ACEOF
38835
38836 fi
38837 LIBICONV=
38838 if test "$am_cv_lib_iconv" = yes; then
38839 LIBICONV="-liconv"
38840 fi
38841
38842
38843 LIBS="$LIBICONV $LIBS"
38844
38845 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38846
38847 for ac_func in sigaction
38848 do
38849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 else
38855 cat >conftest.$ac_ext <<_ACEOF
38856 /* confdefs.h. */
38857 _ACEOF
38858 cat confdefs.h >>conftest.$ac_ext
38859 cat >>conftest.$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38863 #define $ac_func innocuous_$ac_func
38864
38865 /* System header to define __stub macros and hopefully few prototypes,
38866 which can conflict with char $ac_func (); below.
38867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38868 <limits.h> exists even on freestanding compilers. */
38869
38870 #ifdef __STDC__
38871 # include <limits.h>
38872 #else
38873 # include <assert.h>
38874 #endif
38875
38876 #undef $ac_func
38877
38878 /* Override any GCC internal prototype to avoid an error.
38879 Use char because int might match the return type of a GCC
38880 builtin and then its argument prototype would still apply. */
38881 #ifdef __cplusplus
38882 extern "C"
38883 #endif
38884 char $ac_func ();
38885 /* The GNU C library defines this for functions which it implements
38886 to always fail with ENOSYS. Some functions are actually named
38887 something starting with __ and the normal name is an alias. */
38888 #if defined __stub_$ac_func || defined __stub___$ac_func
38889 choke me
38890 #endif
38891
38892 int
38893 main ()
38894 {
38895 return $ac_func ();
38896 ;
38897 return 0;
38898 }
38899 _ACEOF
38900 rm -f conftest.$ac_objext conftest$ac_exeext
38901 if { (ac_try="$ac_link"
38902 case "(($ac_try" in
38903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38904 *) ac_try_echo=$ac_try;;
38905 esac
38906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38907 (eval "$ac_link") 2>conftest.er1
38908 ac_status=$?
38909 grep -v '^ *+' conftest.er1 >conftest.err
38910 rm -f conftest.er1
38911 cat conftest.err >&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } && {
38914 test -z "$ac_c_werror_flag" ||
38915 test ! -s conftest.err
38916 } && test -s conftest$ac_exeext &&
38917 $as_test_x conftest$ac_exeext; then
38918 eval "$as_ac_var=yes"
38919 else
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38922
38923 eval "$as_ac_var=no"
38924 fi
38925
38926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38927 conftest$ac_exeext conftest.$ac_ext
38928 fi
38929 ac_res=`eval echo '${'$as_ac_var'}'`
38930 { echo "$as_me:$LINENO: result: $ac_res" >&5
38931 echo "${ECHO_T}$ac_res" >&6; }
38932 if test `eval echo '${'$as_ac_var'}'` = yes; then
38933 cat >>confdefs.h <<_ACEOF
38934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38935 _ACEOF
38936
38937 fi
38938 done
38939
38940
38941 if test "$ac_cv_func_sigaction" = "no"; then
38942 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38943 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38944 wxUSE_ON_FATAL_EXCEPTION=no
38945 fi
38946
38947 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38948 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38949 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38950 if test "${wx_cv_type_sa_handler+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 else
38953
38954 ac_ext=cpp
38955 ac_cpp='$CXXCPP $CPPFLAGS'
38956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38959
38960 cat >conftest.$ac_ext <<_ACEOF
38961 /* confdefs.h. */
38962 _ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 #include <signal.h>
38967 int
38968 main ()
38969 {
38970
38971 extern void testSigHandler(int);
38972
38973 struct sigaction sa;
38974 sa.sa_handler = testSigHandler;
38975
38976 ;
38977 return 0;
38978 }
38979 _ACEOF
38980 rm -f conftest.$ac_objext
38981 if { (ac_try="$ac_compile"
38982 case "(($ac_try" in
38983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38984 *) ac_try_echo=$ac_try;;
38985 esac
38986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38987 (eval "$ac_compile") 2>conftest.er1
38988 ac_status=$?
38989 grep -v '^ *+' conftest.er1 >conftest.err
38990 rm -f conftest.er1
38991 cat conftest.err >&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); } && {
38994 test -z "$ac_cxx_werror_flag" ||
38995 test ! -s conftest.err
38996 } && test -s conftest.$ac_objext; then
38997
38998 wx_cv_type_sa_handler=int
38999
39000 else
39001 echo "$as_me: failed program was:" >&5
39002 sed 's/^/| /' conftest.$ac_ext >&5
39003
39004
39005 wx_cv_type_sa_handler=void
39006
39007 fi
39008
39009 rm -f core conftest.err conftest.$ac_objext 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 fi
39018 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39019 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39020
39021 cat >>confdefs.h <<_ACEOF
39022 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39023 _ACEOF
39024
39025 fi
39026 fi
39027
39028 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39029 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39030 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39031 if test "${wx_cv_func_backtrace+set}" = set; then
39032 echo $ECHO_N "(cached) $ECHO_C" >&6
39033 else
39034
39035 ac_ext=cpp
39036 ac_cpp='$CXXCPP $CPPFLAGS'
39037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39040
39041 cat >conftest.$ac_ext <<_ACEOF
39042 /* confdefs.h. */
39043 _ACEOF
39044 cat confdefs.h >>conftest.$ac_ext
39045 cat >>conftest.$ac_ext <<_ACEOF
39046 /* end confdefs.h. */
39047 #include <execinfo.h>
39048 int
39049 main ()
39050 {
39051
39052 void *trace[1];
39053 char **messages;
39054
39055 backtrace(trace, 1);
39056 messages = backtrace_symbols(trace, 1);
39057
39058 ;
39059 return 0;
39060 }
39061 _ACEOF
39062 rm -f conftest.$ac_objext
39063 if { (ac_try="$ac_compile"
39064 case "(($ac_try" in
39065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39066 *) ac_try_echo=$ac_try;;
39067 esac
39068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39069 (eval "$ac_compile") 2>conftest.er1
39070 ac_status=$?
39071 grep -v '^ *+' conftest.er1 >conftest.err
39072 rm -f conftest.er1
39073 cat conftest.err >&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } && {
39076 test -z "$ac_cxx_werror_flag" ||
39077 test ! -s conftest.err
39078 } && test -s conftest.$ac_objext; then
39079 wx_cv_func_backtrace=yes
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084 wx_cv_func_backtrace=no
39085
39086 fi
39087
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39089 ac_ext=c
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39094
39095
39096
39097 fi
39098 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39099 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39100
39101
39102 if test "$wx_cv_func_backtrace" = "no"; then
39103 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39104 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39105 wxUSE_STACKWALKER=no
39106 else
39107 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39108 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39109 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39111 else
39112
39113 ac_ext=cpp
39114 ac_cpp='$CXXCPP $CPPFLAGS'
39115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39118
39119 cat >conftest.$ac_ext <<_ACEOF
39120 /* confdefs.h. */
39121 _ACEOF
39122 cat confdefs.h >>conftest.$ac_ext
39123 cat >>conftest.$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39125 #include <cxxabi.h>
39126 int
39127 main ()
39128 {
39129
39130 int rc;
39131 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39132
39133 ;
39134 return 0;
39135 }
39136 _ACEOF
39137 rm -f conftest.$ac_objext conftest$ac_exeext
39138 if { (ac_try="$ac_link"
39139 case "(($ac_try" in
39140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39141 *) ac_try_echo=$ac_try;;
39142 esac
39143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39144 (eval "$ac_link") 2>conftest.er1
39145 ac_status=$?
39146 grep -v '^ *+' conftest.er1 >conftest.err
39147 rm -f conftest.er1
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } && {
39151 test -z "$ac_cxx_werror_flag" ||
39152 test ! -s conftest.err
39153 } && test -s conftest$ac_exeext &&
39154 $as_test_x conftest$ac_exeext; then
39155 wx_cv_func_cxa_demangle=yes
39156 else
39157 echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39159
39160 wx_cv_func_cxa_demangle=no
39161
39162 fi
39163
39164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39165 conftest$ac_exeext conftest.$ac_ext
39166 ac_ext=c
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171
39172
39173
39174 fi
39175 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39176 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39177
39178 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39179 cat >>confdefs.h <<\_ACEOF
39180 #define HAVE_CXA_DEMANGLE 1
39181 _ACEOF
39182
39183 fi
39184 fi
39185 fi
39186
39187 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39188 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39189 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39190 wxUSE_STACKWALKER=no
39191 fi
39192
39193
39194
39195
39196 for ac_func in mkstemp mktemp
39197 do
39198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39199 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39201 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define $ac_func innocuous_$ac_func
39213
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char $ac_func (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39218
39219 #ifdef __STDC__
39220 # include <limits.h>
39221 #else
39222 # include <assert.h>
39223 #endif
39224
39225 #undef $ac_func
39226
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39230 #ifdef __cplusplus
39231 extern "C"
39232 #endif
39233 char $ac_func ();
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined __stub_$ac_func || defined __stub___$ac_func
39238 choke me
39239 #endif
39240
39241 int
39242 main ()
39243 {
39244 return $ac_func ();
39245 ;
39246 return 0;
39247 }
39248 _ACEOF
39249 rm -f conftest.$ac_objext conftest$ac_exeext
39250 if { (ac_try="$ac_link"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39254 esac
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_link") 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_c_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest$ac_exeext &&
39266 $as_test_x conftest$ac_exeext; then
39267 eval "$as_ac_var=yes"
39268 else
39269 echo "$as_me: failed program was:" >&5
39270 sed 's/^/| /' conftest.$ac_ext >&5
39271
39272 eval "$as_ac_var=no"
39273 fi
39274
39275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39276 conftest$ac_exeext conftest.$ac_ext
39277 fi
39278 ac_res=`eval echo '${'$as_ac_var'}'`
39279 { echo "$as_me:$LINENO: result: $ac_res" >&5
39280 echo "${ECHO_T}$ac_res" >&6; }
39281 if test `eval echo '${'$as_ac_var'}'` = yes; then
39282 cat >>confdefs.h <<_ACEOF
39283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39284 _ACEOF
39285 break
39286 fi
39287 done
39288
39289
39290 { echo "$as_me:$LINENO: checking for statfs" >&5
39291 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39292 if test "${wx_cv_func_statfs+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39294 else
39295 cat >conftest.$ac_ext <<_ACEOF
39296 /* confdefs.h. */
39297 _ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39301
39302 #if defined(__BSD__)
39303 #include <sys/param.h>
39304 #include <sys/mount.h>
39305 #else
39306 #include <sys/vfs.h>
39307 #endif
39308
39309 int
39310 main ()
39311 {
39312
39313 long l;
39314 struct statfs fs;
39315 statfs("/", &fs);
39316 l = fs.f_bsize;
39317 l += fs.f_blocks;
39318 l += fs.f_bavail;
39319
39320 ;
39321 return 0;
39322 }
39323 _ACEOF
39324 rm -f conftest.$ac_objext
39325 if { (ac_try="$ac_compile"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39328 *) ac_try_echo=$ac_try;;
39329 esac
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_compile") 2>conftest.er1
39332 ac_status=$?
39333 grep -v '^ *+' conftest.er1 >conftest.err
39334 rm -f conftest.er1
39335 cat conftest.err >&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest.$ac_objext; then
39341 wx_cv_func_statfs=yes
39342 else
39343 echo "$as_me: failed program was:" >&5
39344 sed 's/^/| /' conftest.$ac_ext >&5
39345
39346 wx_cv_func_statfs=no
39347
39348 fi
39349
39350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39351
39352 fi
39353 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39354 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39355
39356 if test "$wx_cv_func_statfs" = "yes"; then
39357 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39358 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39359 if test "${wx_cv_func_statfs_decl+set}" = set; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39361 else
39362 ac_ext=cpp
39363 ac_cpp='$CXXCPP $CPPFLAGS'
39364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39367
39368 cat >conftest.$ac_ext <<_ACEOF
39369 /* confdefs.h. */
39370 _ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374
39375 #if defined(__BSD__)
39376 #include <sys/param.h>
39377 #include <sys/mount.h>
39378 #else
39379 #include <sys/vfs.h>
39380 #endif
39381
39382 int
39383 main ()
39384 {
39385
39386 struct statfs fs;
39387 statfs("", &fs);
39388
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 rm -f conftest.$ac_objext
39394 if { (ac_try="$ac_compile"
39395 case "(($ac_try" in
39396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39397 *) ac_try_echo=$ac_try;;
39398 esac
39399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39400 (eval "$ac_compile") 2>conftest.er1
39401 ac_status=$?
39402 grep -v '^ *+' conftest.er1 >conftest.err
39403 rm -f conftest.er1
39404 cat conftest.err >&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); } && {
39407 test -z "$ac_cxx_werror_flag" ||
39408 test ! -s conftest.err
39409 } && test -s conftest.$ac_objext; then
39410 wx_cv_func_statfs_decl=yes
39411 else
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39414
39415 wx_cv_func_statfs_decl=no
39416
39417 fi
39418
39419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39420 ac_ext=c
39421 ac_cpp='$CPP $CPPFLAGS'
39422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39425
39426
39427 fi
39428 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39429 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39430
39431 if test "$wx_cv_func_statfs_decl" = "yes"; then
39432 cat >>confdefs.h <<\_ACEOF
39433 #define HAVE_STATFS_DECL 1
39434 _ACEOF
39435
39436 fi
39437
39438 wx_cv_type_statvfs_t="struct statfs"
39439 cat >>confdefs.h <<\_ACEOF
39440 #define HAVE_STATFS 1
39441 _ACEOF
39442
39443 else
39444 { echo "$as_me:$LINENO: checking for statvfs" >&5
39445 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39446 if test "${wx_cv_func_statvfs+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39448 else
39449 cat >conftest.$ac_ext <<_ACEOF
39450 /* confdefs.h. */
39451 _ACEOF
39452 cat confdefs.h >>conftest.$ac_ext
39453 cat >>conftest.$ac_ext <<_ACEOF
39454 /* end confdefs.h. */
39455
39456 #include <stddef.h>
39457 #include <sys/statvfs.h>
39458
39459 int
39460 main ()
39461 {
39462
39463 statvfs("/", NULL);
39464
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 rm -f conftest.$ac_objext
39470 if { (ac_try="$ac_compile"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39473 *) ac_try_echo=$ac_try;;
39474 esac
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_compile") 2>conftest.er1
39477 ac_status=$?
39478 grep -v '^ *+' conftest.er1 >conftest.err
39479 rm -f conftest.er1
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest.$ac_objext; then
39486 wx_cv_func_statvfs=yes
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491 wx_cv_func_statvfs=no
39492
39493 fi
39494
39495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39496
39497 fi
39498 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39499 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39500
39501 if test "$wx_cv_func_statvfs" = "yes"; then
39502 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39503 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39504 if test "${wx_cv_type_statvfs_t+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 else
39507 ac_ext=cpp
39508 ac_cpp='$CXXCPP $CPPFLAGS'
39509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39512
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519
39520 #include <sys/statvfs.h>
39521
39522 int
39523 main ()
39524 {
39525
39526 long l;
39527 statvfs_t fs;
39528 statvfs("/", &fs);
39529 l = fs.f_bsize;
39530 l += fs.f_blocks;
39531 l += fs.f_bavail;
39532
39533 ;
39534 return 0;
39535 }
39536 _ACEOF
39537 rm -f conftest.$ac_objext
39538 if { (ac_try="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39542 esac
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39545 ac_status=$?
39546 grep -v '^ *+' conftest.er1 >conftest.err
39547 rm -f conftest.er1
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_cxx_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.$ac_objext; then
39554 wx_cv_type_statvfs_t=statvfs_t
39555 else
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39558
39559
39560 cat >conftest.$ac_ext <<_ACEOF
39561 /* confdefs.h. */
39562 _ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566
39567 #include <sys/statvfs.h>
39568
39569 int
39570 main ()
39571 {
39572
39573 long l;
39574 struct statvfs fs;
39575 statvfs("/", &fs);
39576 l = fs.f_bsize;
39577 l += fs.f_blocks;
39578 l += fs.f_bavail;
39579
39580 ;
39581 return 0;
39582 }
39583 _ACEOF
39584 rm -f conftest.$ac_objext
39585 if { (ac_try="$ac_compile"
39586 case "(($ac_try" in
39587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39588 *) ac_try_echo=$ac_try;;
39589 esac
39590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39591 (eval "$ac_compile") 2>conftest.er1
39592 ac_status=$?
39593 grep -v '^ *+' conftest.er1 >conftest.err
39594 rm -f conftest.er1
39595 cat conftest.err >&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); } && {
39598 test -z "$ac_cxx_werror_flag" ||
39599 test ! -s conftest.err
39600 } && test -s conftest.$ac_objext; then
39601 wx_cv_type_statvfs_t="struct statvfs"
39602 else
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.$ac_ext >&5
39605
39606 wx_cv_type_statvfs_t="unknown"
39607
39608 fi
39609
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39611
39612
39613 fi
39614
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621
39622
39623 fi
39624 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39625 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39626
39627 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39628 cat >>confdefs.h <<\_ACEOF
39629 #define HAVE_STATVFS 1
39630 _ACEOF
39631
39632 fi
39633 else
39634 wx_cv_type_statvfs_t="unknown"
39635 fi
39636 fi
39637
39638 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39639 cat >>confdefs.h <<_ACEOF
39640 #define WX_STATFS_T $wx_cv_type_statvfs_t
39641 _ACEOF
39642
39643 else
39644 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39645 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39646 fi
39647
39648 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39649
39650
39651 for ac_func in fcntl flock
39652 do
39653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39659 cat >conftest.$ac_ext <<_ACEOF
39660 /* confdefs.h. */
39661 _ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39667 #define $ac_func innocuous_$ac_func
39668
39669 /* System header to define __stub macros and hopefully few prototypes,
39670 which can conflict with char $ac_func (); below.
39671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39672 <limits.h> exists even on freestanding compilers. */
39673
39674 #ifdef __STDC__
39675 # include <limits.h>
39676 #else
39677 # include <assert.h>
39678 #endif
39679
39680 #undef $ac_func
39681
39682 /* Override any GCC internal prototype to avoid an error.
39683 Use char because int might match the return type of a GCC
39684 builtin and then its argument prototype would still apply. */
39685 #ifdef __cplusplus
39686 extern "C"
39687 #endif
39688 char $ac_func ();
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined __stub_$ac_func || defined __stub___$ac_func
39693 choke me
39694 #endif
39695
39696 int
39697 main ()
39698 {
39699 return $ac_func ();
39700 ;
39701 return 0;
39702 }
39703 _ACEOF
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39709 esac
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest$ac_exeext &&
39721 $as_test_x conftest$ac_exeext; then
39722 eval "$as_ac_var=yes"
39723 else
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39726
39727 eval "$as_ac_var=no"
39728 fi
39729
39730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39731 conftest$ac_exeext conftest.$ac_ext
39732 fi
39733 ac_res=`eval echo '${'$as_ac_var'}'`
39734 { echo "$as_me:$LINENO: result: $ac_res" >&5
39735 echo "${ECHO_T}$ac_res" >&6; }
39736 if test `eval echo '${'$as_ac_var'}'` = yes; then
39737 cat >>confdefs.h <<_ACEOF
39738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39739 _ACEOF
39740 break
39741 fi
39742 done
39743
39744
39745 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39746 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39747 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39748 wxUSE_SNGLINST_CHECKER=no
39749 fi
39750 fi
39751
39752
39753 for ac_func in timegm
39754 do
39755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39760 else
39761 cat >conftest.$ac_ext <<_ACEOF
39762 /* confdefs.h. */
39763 _ACEOF
39764 cat confdefs.h >>conftest.$ac_ext
39765 cat >>conftest.$ac_ext <<_ACEOF
39766 /* end confdefs.h. */
39767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39769 #define $ac_func innocuous_$ac_func
39770
39771 /* System header to define __stub macros and hopefully few prototypes,
39772 which can conflict with char $ac_func (); below.
39773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39774 <limits.h> exists even on freestanding compilers. */
39775
39776 #ifdef __STDC__
39777 # include <limits.h>
39778 #else
39779 # include <assert.h>
39780 #endif
39781
39782 #undef $ac_func
39783
39784 /* Override any GCC internal prototype to avoid an error.
39785 Use char because int might match the return type of a GCC
39786 builtin and then its argument prototype would still apply. */
39787 #ifdef __cplusplus
39788 extern "C"
39789 #endif
39790 char $ac_func ();
39791 /* The GNU C library defines this for functions which it implements
39792 to always fail with ENOSYS. Some functions are actually named
39793 something starting with __ and the normal name is an alias. */
39794 #if defined __stub_$ac_func || defined __stub___$ac_func
39795 choke me
39796 #endif
39797
39798 int
39799 main ()
39800 {
39801 return $ac_func ();
39802 ;
39803 return 0;
39804 }
39805 _ACEOF
39806 rm -f conftest.$ac_objext conftest$ac_exeext
39807 if { (ac_try="$ac_link"
39808 case "(($ac_try" in
39809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39810 *) ac_try_echo=$ac_try;;
39811 esac
39812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39813 (eval "$ac_link") 2>conftest.er1
39814 ac_status=$?
39815 grep -v '^ *+' conftest.er1 >conftest.err
39816 rm -f conftest.er1
39817 cat conftest.err >&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); } && {
39820 test -z "$ac_c_werror_flag" ||
39821 test ! -s conftest.err
39822 } && test -s conftest$ac_exeext &&
39823 $as_test_x conftest$ac_exeext; then
39824 eval "$as_ac_var=yes"
39825 else
39826 echo "$as_me: failed program was:" >&5
39827 sed 's/^/| /' conftest.$ac_ext >&5
39828
39829 eval "$as_ac_var=no"
39830 fi
39831
39832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39833 conftest$ac_exeext conftest.$ac_ext
39834 fi
39835 ac_res=`eval echo '${'$as_ac_var'}'`
39836 { echo "$as_me:$LINENO: result: $ac_res" >&5
39837 echo "${ECHO_T}$ac_res" >&6; }
39838 if test `eval echo '${'$as_ac_var'}'` = yes; then
39839 cat >>confdefs.h <<_ACEOF
39840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39841 _ACEOF
39842
39843 fi
39844 done
39845
39846
39847
39848
39849 for ac_func in setenv putenv
39850 do
39851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 else
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define $ac_func innocuous_$ac_func
39866
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char $ac_func (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39871
39872 #ifdef __STDC__
39873 # include <limits.h>
39874 #else
39875 # include <assert.h>
39876 #endif
39877
39878 #undef $ac_func
39879
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39883 #ifdef __cplusplus
39884 extern "C"
39885 #endif
39886 char $ac_func ();
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_$ac_func || defined __stub___$ac_func
39891 choke me
39892 #endif
39893
39894 int
39895 main ()
39896 {
39897 return $ac_func ();
39898 ;
39899 return 0;
39900 }
39901 _ACEOF
39902 rm -f conftest.$ac_objext conftest$ac_exeext
39903 if { (ac_try="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39906 *) ac_try_echo=$ac_try;;
39907 esac
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39910 ac_status=$?
39911 grep -v '^ *+' conftest.er1 >conftest.err
39912 rm -f conftest.er1
39913 cat conftest.err >&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest$ac_exeext &&
39919 $as_test_x conftest$ac_exeext; then
39920 eval "$as_ac_var=yes"
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 eval "$as_ac_var=no"
39926 fi
39927
39928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39929 conftest$ac_exeext conftest.$ac_ext
39930 fi
39931 ac_res=`eval echo '${'$as_ac_var'}'`
39932 { echo "$as_me:$LINENO: result: $ac_res" >&5
39933 echo "${ECHO_T}$ac_res" >&6; }
39934 if test `eval echo '${'$as_ac_var'}'` = yes; then
39935 cat >>confdefs.h <<_ACEOF
39936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39937 _ACEOF
39938 break
39939 fi
39940 done
39941
39942
39943 HAVE_SOME_SLEEP_FUNC=0
39944 if test "$USE_BEOS" = 1; then
39945 cat >>confdefs.h <<\_ACEOF
39946 #define HAVE_SLEEP 1
39947 _ACEOF
39948
39949 HAVE_SOME_SLEEP_FUNC=1
39950 fi
39951
39952 if test "$USE_DARWIN" = 1; then
39953 cat >>confdefs.h <<\_ACEOF
39954 #define HAVE_USLEEP 1
39955 _ACEOF
39956
39957 HAVE_SOME_SLEEP_FUNC=1
39958 fi
39959
39960 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39961 POSIX4_LINK=
39962
39963 for ac_func in nanosleep
39964 do
39965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39969 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 else
39971 cat >conftest.$ac_ext <<_ACEOF
39972 /* confdefs.h. */
39973 _ACEOF
39974 cat confdefs.h >>conftest.$ac_ext
39975 cat >>conftest.$ac_ext <<_ACEOF
39976 /* end confdefs.h. */
39977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39979 #define $ac_func innocuous_$ac_func
39980
39981 /* System header to define __stub macros and hopefully few prototypes,
39982 which can conflict with char $ac_func (); below.
39983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39984 <limits.h> exists even on freestanding compilers. */
39985
39986 #ifdef __STDC__
39987 # include <limits.h>
39988 #else
39989 # include <assert.h>
39990 #endif
39991
39992 #undef $ac_func
39993
39994 /* Override any GCC internal prototype to avoid an error.
39995 Use char because int might match the return type of a GCC
39996 builtin and then its argument prototype would still apply. */
39997 #ifdef __cplusplus
39998 extern "C"
39999 #endif
40000 char $ac_func ();
40001 /* The GNU C library defines this for functions which it implements
40002 to always fail with ENOSYS. Some functions are actually named
40003 something starting with __ and the normal name is an alias. */
40004 #if defined __stub_$ac_func || defined __stub___$ac_func
40005 choke me
40006 #endif
40007
40008 int
40009 main ()
40010 {
40011 return $ac_func ();
40012 ;
40013 return 0;
40014 }
40015 _ACEOF
40016 rm -f conftest.$ac_objext conftest$ac_exeext
40017 if { (ac_try="$ac_link"
40018 case "(($ac_try" in
40019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40020 *) ac_try_echo=$ac_try;;
40021 esac
40022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40023 (eval "$ac_link") 2>conftest.er1
40024 ac_status=$?
40025 grep -v '^ *+' conftest.er1 >conftest.err
40026 rm -f conftest.er1
40027 cat conftest.err >&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); } && {
40030 test -z "$ac_c_werror_flag" ||
40031 test ! -s conftest.err
40032 } && test -s conftest$ac_exeext &&
40033 $as_test_x conftest$ac_exeext; then
40034 eval "$as_ac_var=yes"
40035 else
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.$ac_ext >&5
40038
40039 eval "$as_ac_var=no"
40040 fi
40041
40042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40043 conftest$ac_exeext conftest.$ac_ext
40044 fi
40045 ac_res=`eval echo '${'$as_ac_var'}'`
40046 { echo "$as_me:$LINENO: result: $ac_res" >&5
40047 echo "${ECHO_T}$ac_res" >&6; }
40048 if test `eval echo '${'$as_ac_var'}'` = yes; then
40049 cat >>confdefs.h <<_ACEOF
40050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40051 _ACEOF
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_NANOSLEEP 1
40054 _ACEOF
40055
40056 else
40057
40058 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40059 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40060 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40061 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 else
40063 ac_check_lib_save_LIBS=$LIBS
40064 LIBS="-lposix4 $LIBS"
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071
40072 /* Override any GCC internal prototype to avoid an error.
40073 Use char because int might match the return type of a GCC
40074 builtin and then its argument prototype would still apply. */
40075 #ifdef __cplusplus
40076 extern "C"
40077 #endif
40078 char nanosleep ();
40079 int
40080 main ()
40081 {
40082 return nanosleep ();
40083 ;
40084 return 0;
40085 }
40086 _ACEOF
40087 rm -f conftest.$ac_objext conftest$ac_exeext
40088 if { (ac_try="$ac_link"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40091 *) ac_try_echo=$ac_try;;
40092 esac
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_link") 2>conftest.er1
40095 ac_status=$?
40096 grep -v '^ *+' conftest.er1 >conftest.err
40097 rm -f conftest.er1
40098 cat conftest.err >&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_c_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest$ac_exeext &&
40104 $as_test_x conftest$ac_exeext; then
40105 ac_cv_lib_posix4_nanosleep=yes
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40109
40110 ac_cv_lib_posix4_nanosleep=no
40111 fi
40112
40113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40114 conftest$ac_exeext conftest.$ac_ext
40115 LIBS=$ac_check_lib_save_LIBS
40116 fi
40117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40118 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40119 if test $ac_cv_lib_posix4_nanosleep = yes; then
40120
40121 cat >>confdefs.h <<\_ACEOF
40122 #define HAVE_NANOSLEEP 1
40123 _ACEOF
40124
40125 POSIX4_LINK=" -lposix4"
40126
40127 else
40128
40129
40130 for wx_func in usleep
40131 do
40132 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40133 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40134 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40135 echo $ECHO_N "(cached) $ECHO_C" >&6
40136 else
40137
40138 cat >conftest.$ac_ext <<_ACEOF
40139
40140 /* confdefs.h. */
40141 _ACEOF
40142 cat confdefs.h >>conftest.$ac_ext
40143 cat >>conftest.$ac_ext <<_ACEOF
40144 /* end confdefs.h. */
40145
40146
40147 $ac_includes_default
40148
40149 int
40150 main ()
40151 {
40152
40153 #ifndef $wx_func
40154 &$wx_func;
40155 #endif
40156
40157
40158 ;
40159 return 0;
40160 }
40161
40162 _ACEOF
40163 rm -f conftest.$ac_objext conftest$ac_exeext
40164 if { (ac_try="$ac_link"
40165 case "(($ac_try" in
40166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40167 *) ac_try_echo=$ac_try;;
40168 esac
40169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40170 (eval "$ac_link") 2>conftest.er1
40171 ac_status=$?
40172 grep -v '^ *+' conftest.er1 >conftest.err
40173 rm -f conftest.er1
40174 cat conftest.err >&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } && {
40177 test -z "$ac_c_werror_flag" ||
40178 test ! -s conftest.err
40179 } && test -s conftest$ac_exeext &&
40180 $as_test_x conftest$ac_exeext; then
40181 eval wx_cv_func_$wx_func=yes
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40185
40186 eval wx_cv_func_$wx_func=no
40187 fi
40188
40189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40190 conftest$ac_exeext conftest.$ac_ext
40191
40192 fi
40193 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40194 { echo "$as_me:$LINENO: result: $ac_res" >&5
40195 echo "${ECHO_T}$ac_res" >&6; }
40196
40197 if eval test \$wx_cv_func_$wx_func = yes
40198 then
40199 cat >>confdefs.h <<_ACEOF
40200 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40201 _ACEOF
40202
40203
40204 else
40205 :
40206 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40207 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40208
40209 fi
40210 done
40211
40212
40213
40214 fi
40215
40216
40217
40218 fi
40219 done
40220
40221 fi
40222
40223
40224 for wx_func in uname
40225 do
40226 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40227 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40228 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40229 echo $ECHO_N "(cached) $ECHO_C" >&6
40230 else
40231
40232 cat >conftest.$ac_ext <<_ACEOF
40233
40234 /* confdefs.h. */
40235 _ACEOF
40236 cat confdefs.h >>conftest.$ac_ext
40237 cat >>conftest.$ac_ext <<_ACEOF
40238 /* end confdefs.h. */
40239
40240 #include <sys/utsname.h>
40241 $ac_includes_default
40242
40243 int
40244 main ()
40245 {
40246
40247 #ifndef $wx_func
40248 &$wx_func;
40249 #endif
40250
40251
40252 ;
40253 return 0;
40254 }
40255
40256 _ACEOF
40257 rm -f conftest.$ac_objext conftest$ac_exeext
40258 if { (ac_try="$ac_link"
40259 case "(($ac_try" in
40260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40262 esac
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_link") 2>conftest.er1
40265 ac_status=$?
40266 grep -v '^ *+' conftest.er1 >conftest.err
40267 rm -f conftest.er1
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest$ac_exeext &&
40274 $as_test_x conftest$ac_exeext; then
40275 eval wx_cv_func_$wx_func=yes
40276 else
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40279
40280 eval wx_cv_func_$wx_func=no
40281 fi
40282
40283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40284 conftest$ac_exeext conftest.$ac_ext
40285
40286 fi
40287 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40288 { echo "$as_me:$LINENO: result: $ac_res" >&5
40289 echo "${ECHO_T}$ac_res" >&6; }
40290
40291 if eval test \$wx_cv_func_$wx_func = yes
40292 then
40293 cat >>confdefs.h <<_ACEOF
40294 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40295 _ACEOF
40296
40297
40298 else
40299 :
40300
40301 fi
40302 done
40303
40304 if test "$wx_cv_func_uname" != yes; then
40305
40306 for wx_func in gethostname
40307 do
40308 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40309 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40310 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40311 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 else
40313
40314 cat >conftest.$ac_ext <<_ACEOF
40315
40316 /* confdefs.h. */
40317 _ACEOF
40318 cat confdefs.h >>conftest.$ac_ext
40319 cat >>conftest.$ac_ext <<_ACEOF
40320 /* end confdefs.h. */
40321
40322
40323 $ac_includes_default
40324
40325 int
40326 main ()
40327 {
40328
40329 #ifndef $wx_func
40330 &$wx_func;
40331 #endif
40332
40333
40334 ;
40335 return 0;
40336 }
40337
40338 _ACEOF
40339 rm -f conftest.$ac_objext conftest$ac_exeext
40340 if { (ac_try="$ac_link"
40341 case "(($ac_try" in
40342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40343 *) ac_try_echo=$ac_try;;
40344 esac
40345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40346 (eval "$ac_link") 2>conftest.er1
40347 ac_status=$?
40348 grep -v '^ *+' conftest.er1 >conftest.err
40349 rm -f conftest.er1
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } && {
40353 test -z "$ac_c_werror_flag" ||
40354 test ! -s conftest.err
40355 } && test -s conftest$ac_exeext &&
40356 $as_test_x conftest$ac_exeext; then
40357 eval wx_cv_func_$wx_func=yes
40358 else
40359 echo "$as_me: failed program was:" >&5
40360 sed 's/^/| /' conftest.$ac_ext >&5
40361
40362 eval wx_cv_func_$wx_func=no
40363 fi
40364
40365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40366 conftest$ac_exeext conftest.$ac_ext
40367
40368 fi
40369 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40370 { echo "$as_me:$LINENO: result: $ac_res" >&5
40371 echo "${ECHO_T}$ac_res" >&6; }
40372
40373 if eval test \$wx_cv_func_$wx_func = yes
40374 then
40375 cat >>confdefs.h <<_ACEOF
40376 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40377 _ACEOF
40378
40379
40380 else
40381 :
40382
40383 fi
40384 done
40385
40386 fi
40387
40388
40389 for wx_func in strtok_r
40390 do
40391 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40392 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40393 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40394 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 else
40396
40397 cat >conftest.$ac_ext <<_ACEOF
40398
40399 /* confdefs.h. */
40400 _ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404
40405 #define _REENTRANT
40406 $ac_includes_default
40407
40408 int
40409 main ()
40410 {
40411
40412 #ifndef $wx_func
40413 &$wx_func;
40414 #endif
40415
40416
40417 ;
40418 return 0;
40419 }
40420
40421 _ACEOF
40422 rm -f conftest.$ac_objext conftest$ac_exeext
40423 if { (ac_try="$ac_link"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40427 esac
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_link") 2>conftest.er1
40430 ac_status=$?
40431 grep -v '^ *+' conftest.er1 >conftest.err
40432 rm -f conftest.er1
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_c_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest$ac_exeext &&
40439 $as_test_x conftest$ac_exeext; then
40440 eval wx_cv_func_$wx_func=yes
40441 else
40442 echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.$ac_ext >&5
40444
40445 eval wx_cv_func_$wx_func=no
40446 fi
40447
40448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40449 conftest$ac_exeext conftest.$ac_ext
40450
40451 fi
40452 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40453 { echo "$as_me:$LINENO: result: $ac_res" >&5
40454 echo "${ECHO_T}$ac_res" >&6; }
40455
40456 if eval test \$wx_cv_func_$wx_func = yes
40457 then
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40460 _ACEOF
40461
40462
40463 else
40464 :
40465
40466 fi
40467 done
40468
40469
40470 INET_LINK=
40471
40472 for ac_func in inet_addr
40473 do
40474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 else
40480 cat >conftest.$ac_ext <<_ACEOF
40481 /* confdefs.h. */
40482 _ACEOF
40483 cat confdefs.h >>conftest.$ac_ext
40484 cat >>conftest.$ac_ext <<_ACEOF
40485 /* end confdefs.h. */
40486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40488 #define $ac_func innocuous_$ac_func
40489
40490 /* System header to define __stub macros and hopefully few prototypes,
40491 which can conflict with char $ac_func (); below.
40492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40493 <limits.h> exists even on freestanding compilers. */
40494
40495 #ifdef __STDC__
40496 # include <limits.h>
40497 #else
40498 # include <assert.h>
40499 #endif
40500
40501 #undef $ac_func
40502
40503 /* Override any GCC internal prototype to avoid an error.
40504 Use char because int might match the return type of a GCC
40505 builtin and then its argument prototype would still apply. */
40506 #ifdef __cplusplus
40507 extern "C"
40508 #endif
40509 char $ac_func ();
40510 /* The GNU C library defines this for functions which it implements
40511 to always fail with ENOSYS. Some functions are actually named
40512 something starting with __ and the normal name is an alias. */
40513 #if defined __stub_$ac_func || defined __stub___$ac_func
40514 choke me
40515 #endif
40516
40517 int
40518 main ()
40519 {
40520 return $ac_func ();
40521 ;
40522 return 0;
40523 }
40524 _ACEOF
40525 rm -f conftest.$ac_objext conftest$ac_exeext
40526 if { (ac_try="$ac_link"
40527 case "(($ac_try" in
40528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40529 *) ac_try_echo=$ac_try;;
40530 esac
40531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40532 (eval "$ac_link") 2>conftest.er1
40533 ac_status=$?
40534 grep -v '^ *+' conftest.er1 >conftest.err
40535 rm -f conftest.er1
40536 cat conftest.err >&5
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); } && {
40539 test -z "$ac_c_werror_flag" ||
40540 test ! -s conftest.err
40541 } && test -s conftest$ac_exeext &&
40542 $as_test_x conftest$ac_exeext; then
40543 eval "$as_ac_var=yes"
40544 else
40545 echo "$as_me: failed program was:" >&5
40546 sed 's/^/| /' conftest.$ac_ext >&5
40547
40548 eval "$as_ac_var=no"
40549 fi
40550
40551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40552 conftest$ac_exeext conftest.$ac_ext
40553 fi
40554 ac_res=`eval echo '${'$as_ac_var'}'`
40555 { echo "$as_me:$LINENO: result: $ac_res" >&5
40556 echo "${ECHO_T}$ac_res" >&6; }
40557 if test `eval echo '${'$as_ac_var'}'` = yes; then
40558 cat >>confdefs.h <<_ACEOF
40559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40560 _ACEOF
40561 cat >>confdefs.h <<\_ACEOF
40562 #define HAVE_INET_ADDR 1
40563 _ACEOF
40564
40565 else
40566
40567 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40568 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40569 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40571 else
40572 ac_check_lib_save_LIBS=$LIBS
40573 LIBS="-lnsl $LIBS"
40574 cat >conftest.$ac_ext <<_ACEOF
40575 /* confdefs.h. */
40576 _ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h. */
40580
40581 /* Override any GCC internal prototype to avoid an error.
40582 Use char because int might match the return type of a GCC
40583 builtin and then its argument prototype would still apply. */
40584 #ifdef __cplusplus
40585 extern "C"
40586 #endif
40587 char inet_addr ();
40588 int
40589 main ()
40590 {
40591 return inet_addr ();
40592 ;
40593 return 0;
40594 }
40595 _ACEOF
40596 rm -f conftest.$ac_objext conftest$ac_exeext
40597 if { (ac_try="$ac_link"
40598 case "(($ac_try" in
40599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40600 *) ac_try_echo=$ac_try;;
40601 esac
40602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40603 (eval "$ac_link") 2>conftest.er1
40604 ac_status=$?
40605 grep -v '^ *+' conftest.er1 >conftest.err
40606 rm -f conftest.er1
40607 cat conftest.err >&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } && {
40610 test -z "$ac_c_werror_flag" ||
40611 test ! -s conftest.err
40612 } && test -s conftest$ac_exeext &&
40613 $as_test_x conftest$ac_exeext; then
40614 ac_cv_lib_nsl_inet_addr=yes
40615 else
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.$ac_ext >&5
40618
40619 ac_cv_lib_nsl_inet_addr=no
40620 fi
40621
40622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40623 conftest$ac_exeext conftest.$ac_ext
40624 LIBS=$ac_check_lib_save_LIBS
40625 fi
40626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40627 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40628 if test $ac_cv_lib_nsl_inet_addr = yes; then
40629 INET_LINK="nsl"
40630 else
40631
40632 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40633 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40634 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40635 echo $ECHO_N "(cached) $ECHO_C" >&6
40636 else
40637 ac_check_lib_save_LIBS=$LIBS
40638 LIBS="-lresolv $LIBS"
40639 cat >conftest.$ac_ext <<_ACEOF
40640 /* confdefs.h. */
40641 _ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40645
40646 /* Override any GCC internal prototype to avoid an error.
40647 Use char because int might match the return type of a GCC
40648 builtin and then its argument prototype would still apply. */
40649 #ifdef __cplusplus
40650 extern "C"
40651 #endif
40652 char inet_addr ();
40653 int
40654 main ()
40655 {
40656 return inet_addr ();
40657 ;
40658 return 0;
40659 }
40660 _ACEOF
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (ac_try="$ac_link"
40663 case "(($ac_try" in
40664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40665 *) ac_try_echo=$ac_try;;
40666 esac
40667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40668 (eval "$ac_link") 2>conftest.er1
40669 ac_status=$?
40670 grep -v '^ *+' conftest.er1 >conftest.err
40671 rm -f conftest.er1
40672 cat conftest.err >&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); } && {
40675 test -z "$ac_c_werror_flag" ||
40676 test ! -s conftest.err
40677 } && test -s conftest$ac_exeext &&
40678 $as_test_x conftest$ac_exeext; then
40679 ac_cv_lib_resolv_inet_addr=yes
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684 ac_cv_lib_resolv_inet_addr=no
40685 fi
40686
40687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40688 conftest$ac_exeext conftest.$ac_ext
40689 LIBS=$ac_check_lib_save_LIBS
40690 fi
40691 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40692 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40693 if test $ac_cv_lib_resolv_inet_addr = yes; then
40694 INET_LINK="resolv"
40695 else
40696
40697 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40698 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40699 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 else
40702 ac_check_lib_save_LIBS=$LIBS
40703 LIBS="-lsocket $LIBS"
40704 cat >conftest.$ac_ext <<_ACEOF
40705 /* confdefs.h. */
40706 _ACEOF
40707 cat confdefs.h >>conftest.$ac_ext
40708 cat >>conftest.$ac_ext <<_ACEOF
40709 /* end confdefs.h. */
40710
40711 /* Override any GCC internal prototype to avoid an error.
40712 Use char because int might match the return type of a GCC
40713 builtin and then its argument prototype would still apply. */
40714 #ifdef __cplusplus
40715 extern "C"
40716 #endif
40717 char inet_addr ();
40718 int
40719 main ()
40720 {
40721 return inet_addr ();
40722 ;
40723 return 0;
40724 }
40725 _ACEOF
40726 rm -f conftest.$ac_objext conftest$ac_exeext
40727 if { (ac_try="$ac_link"
40728 case "(($ac_try" in
40729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40730 *) ac_try_echo=$ac_try;;
40731 esac
40732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40733 (eval "$ac_link") 2>conftest.er1
40734 ac_status=$?
40735 grep -v '^ *+' conftest.er1 >conftest.err
40736 rm -f conftest.er1
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } && {
40740 test -z "$ac_c_werror_flag" ||
40741 test ! -s conftest.err
40742 } && test -s conftest$ac_exeext &&
40743 $as_test_x conftest$ac_exeext; then
40744 ac_cv_lib_socket_inet_addr=yes
40745 else
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40748
40749 ac_cv_lib_socket_inet_addr=no
40750 fi
40751
40752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40753 conftest$ac_exeext conftest.$ac_ext
40754 LIBS=$ac_check_lib_save_LIBS
40755 fi
40756 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40757 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40758 if test $ac_cv_lib_socket_inet_addr = yes; then
40759 INET_LINK="socket"
40760
40761 fi
40762
40763
40764
40765 fi
40766
40767
40768
40769 fi
40770
40771
40772
40773 fi
40774 done
40775
40776
40777
40778 for ac_func in inet_aton
40779 do
40780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786 cat >conftest.$ac_ext <<_ACEOF
40787 /* confdefs.h. */
40788 _ACEOF
40789 cat confdefs.h >>conftest.$ac_ext
40790 cat >>conftest.$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40794 #define $ac_func innocuous_$ac_func
40795
40796 /* System header to define __stub macros and hopefully few prototypes,
40797 which can conflict with char $ac_func (); below.
40798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40799 <limits.h> exists even on freestanding compilers. */
40800
40801 #ifdef __STDC__
40802 # include <limits.h>
40803 #else
40804 # include <assert.h>
40805 #endif
40806
40807 #undef $ac_func
40808
40809 /* Override any GCC internal prototype to avoid an error.
40810 Use char because int might match the return type of a GCC
40811 builtin and then its argument prototype would still apply. */
40812 #ifdef __cplusplus
40813 extern "C"
40814 #endif
40815 char $ac_func ();
40816 /* The GNU C library defines this for functions which it implements
40817 to always fail with ENOSYS. Some functions are actually named
40818 something starting with __ and the normal name is an alias. */
40819 #if defined __stub_$ac_func || defined __stub___$ac_func
40820 choke me
40821 #endif
40822
40823 int
40824 main ()
40825 {
40826 return $ac_func ();
40827 ;
40828 return 0;
40829 }
40830 _ACEOF
40831 rm -f conftest.$ac_objext conftest$ac_exeext
40832 if { (ac_try="$ac_link"
40833 case "(($ac_try" in
40834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40835 *) ac_try_echo=$ac_try;;
40836 esac
40837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40838 (eval "$ac_link") 2>conftest.er1
40839 ac_status=$?
40840 grep -v '^ *+' conftest.er1 >conftest.err
40841 rm -f conftest.er1
40842 cat conftest.err >&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } && {
40845 test -z "$ac_c_werror_flag" ||
40846 test ! -s conftest.err
40847 } && test -s conftest$ac_exeext &&
40848 $as_test_x conftest$ac_exeext; then
40849 eval "$as_ac_var=yes"
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40853
40854 eval "$as_ac_var=no"
40855 fi
40856
40857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40858 conftest$ac_exeext conftest.$ac_ext
40859 fi
40860 ac_res=`eval echo '${'$as_ac_var'}'`
40861 { echo "$as_me:$LINENO: result: $ac_res" >&5
40862 echo "${ECHO_T}$ac_res" >&6; }
40863 if test `eval echo '${'$as_ac_var'}'` = yes; then
40864 cat >>confdefs.h <<_ACEOF
40865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40866 _ACEOF
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE_INET_ATON 1
40869 _ACEOF
40870
40871 else
40872
40873 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40874 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40875 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40876 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40877 echo $ECHO_N "(cached) $ECHO_C" >&6
40878 else
40879 ac_check_lib_save_LIBS=$LIBS
40880 LIBS="-l$INET_LINK $LIBS"
40881 cat >conftest.$ac_ext <<_ACEOF
40882 /* confdefs.h. */
40883 _ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887
40888 /* Override any GCC internal prototype to avoid an error.
40889 Use char because int might match the return type of a GCC
40890 builtin and then its argument prototype would still apply. */
40891 #ifdef __cplusplus
40892 extern "C"
40893 #endif
40894 char inet_aton ();
40895 int
40896 main ()
40897 {
40898 return inet_aton ();
40899 ;
40900 return 0;
40901 }
40902 _ACEOF
40903 rm -f conftest.$ac_objext conftest$ac_exeext
40904 if { (ac_try="$ac_link"
40905 case "(($ac_try" in
40906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40907 *) ac_try_echo=$ac_try;;
40908 esac
40909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40910 (eval "$ac_link") 2>conftest.er1
40911 ac_status=$?
40912 grep -v '^ *+' conftest.er1 >conftest.err
40913 rm -f conftest.er1
40914 cat conftest.err >&5
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); } && {
40917 test -z "$ac_c_werror_flag" ||
40918 test ! -s conftest.err
40919 } && test -s conftest$ac_exeext &&
40920 $as_test_x conftest$ac_exeext; then
40921 eval "$as_ac_Lib=yes"
40922 else
40923 echo "$as_me: failed program was:" >&5
40924 sed 's/^/| /' conftest.$ac_ext >&5
40925
40926 eval "$as_ac_Lib=no"
40927 fi
40928
40929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40930 conftest$ac_exeext conftest.$ac_ext
40931 LIBS=$ac_check_lib_save_LIBS
40932 fi
40933 ac_res=`eval echo '${'$as_ac_Lib'}'`
40934 { echo "$as_me:$LINENO: result: $ac_res" >&5
40935 echo "${ECHO_T}$ac_res" >&6; }
40936 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40937 cat >>confdefs.h <<\_ACEOF
40938 #define HAVE_INET_ATON 1
40939 _ACEOF
40940
40941 fi
40942
40943
40944 fi
40945 done
40946
40947
40948 if test "x$INET_LINK" != "x"; then
40949 cat >>confdefs.h <<\_ACEOF
40950 #define HAVE_INET_ADDR 1
40951 _ACEOF
40952
40953 INET_LINK=" -l$INET_LINK"
40954 fi
40955
40956
40957 for wx_func in fdopen
40958 do
40959 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40960 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40961 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40962 echo $ECHO_N "(cached) $ECHO_C" >&6
40963 else
40964
40965 cat >conftest.$ac_ext <<_ACEOF
40966
40967 /* confdefs.h. */
40968 _ACEOF
40969 cat confdefs.h >>conftest.$ac_ext
40970 cat >>conftest.$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40972
40973
40974 $ac_includes_default
40975
40976 int
40977 main ()
40978 {
40979
40980 #ifndef $wx_func
40981 &$wx_func;
40982 #endif
40983
40984
40985 ;
40986 return 0;
40987 }
40988
40989 _ACEOF
40990 rm -f conftest.$ac_objext conftest$ac_exeext
40991 if { (ac_try="$ac_link"
40992 case "(($ac_try" in
40993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40994 *) ac_try_echo=$ac_try;;
40995 esac
40996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40997 (eval "$ac_link") 2>conftest.er1
40998 ac_status=$?
40999 grep -v '^ *+' conftest.er1 >conftest.err
41000 rm -f conftest.er1
41001 cat conftest.err >&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } && {
41004 test -z "$ac_c_werror_flag" ||
41005 test ! -s conftest.err
41006 } && test -s conftest$ac_exeext &&
41007 $as_test_x conftest$ac_exeext; then
41008 eval wx_cv_func_$wx_func=yes
41009 else
41010 echo "$as_me: failed program was:" >&5
41011 sed 's/^/| /' conftest.$ac_ext >&5
41012
41013 eval wx_cv_func_$wx_func=no
41014 fi
41015
41016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41017 conftest$ac_exeext conftest.$ac_ext
41018
41019 fi
41020 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41021 { echo "$as_me:$LINENO: result: $ac_res" >&5
41022 echo "${ECHO_T}$ac_res" >&6; }
41023
41024 if eval test \$wx_cv_func_$wx_func = yes
41025 then
41026 cat >>confdefs.h <<_ACEOF
41027 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41028 _ACEOF
41029
41030
41031 else
41032 :
41033
41034 fi
41035 done
41036
41037
41038 fi
41039
41040
41041
41042 cat >confcache <<\_ACEOF
41043 # This file is a shell script that caches the results of configure
41044 # tests run on this system so they can be shared between configure
41045 # scripts and configure runs, see configure's option --config-cache.
41046 # It is not useful on other systems. If it contains results you don't
41047 # want to keep, you may remove or edit it.
41048 #
41049 # config.status only pays attention to the cache file if you give it
41050 # the --recheck option to rerun configure.
41051 #
41052 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41053 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41054 # following values.
41055
41056 _ACEOF
41057
41058 # The following way of writing the cache mishandles newlines in values,
41059 # but we know of no workaround that is simple, portable, and efficient.
41060 # So, we kill variables containing newlines.
41061 # Ultrix sh set writes to stderr and can't be redirected directly,
41062 # and sets the high bit in the cache file unless we assign to the vars.
41063 (
41064 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41065 eval ac_val=\$$ac_var
41066 case $ac_val in #(
41067 *${as_nl}*)
41068 case $ac_var in #(
41069 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41070 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41071 esac
41072 case $ac_var in #(
41073 _ | IFS | as_nl) ;; #(
41074 *) $as_unset $ac_var ;;
41075 esac ;;
41076 esac
41077 done
41078
41079 (set) 2>&1 |
41080 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41081 *${as_nl}ac_space=\ *)
41082 # `set' does not quote correctly, so add quotes (double-quote
41083 # substitution turns \\\\ into \\, and sed turns \\ into \).
41084 sed -n \
41085 "s/'/'\\\\''/g;
41086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41087 ;; #(
41088 *)
41089 # `set' quotes correctly as required by POSIX, so do not add quotes.
41090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41091 ;;
41092 esac |
41093 sort
41094 ) |
41095 sed '
41096 /^ac_cv_env_/b end
41097 t clear
41098 :clear
41099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41100 t end
41101 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41102 :end' >>confcache
41103 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41104 if test -w "$cache_file"; then
41105 test "x$cache_file" != "x/dev/null" &&
41106 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41107 echo "$as_me: updating cache $cache_file" >&6;}
41108 cat confcache >$cache_file
41109 else
41110 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41111 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41112 fi
41113 fi
41114 rm -f confcache
41115
41116
41117 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41118
41119
41120 THREADS_LINK=
41121 THREADS_CFLAGS=
41122
41123 if test "$wxUSE_THREADS" = "yes" ; then
41124 if test "$USE_BEOS" = 1; then
41125 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41126 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41127 wxUSE_THREADS="no"
41128 fi
41129 fi
41130
41131 if test "$wxUSE_THREADS" = "yes" ; then
41132
41133
41134 THREAD_OPTS="-pthread"
41135 if test "x$SUNCXX" = xyes; then
41136 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41137 fi
41138
41139 case "${host}" in
41140 *-*-solaris2* | *-*-sunos4* )
41141 if test "x$GCC" = "xyes"; then
41142 THREAD_OPTS="-pthreads $THREAD_OPTS"
41143 fi
41144 ;;
41145 *-*-freebsd*)
41146 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41147 ;;
41148 *-*-darwin* | *-*-cygwin* )
41149 THREAD_OPTS=""
41150 ;;
41151 *-*-aix*)
41152 THREAD_OPTS="pthreads"
41153 ;;
41154 *-hp-hpux* )
41155 if test "x$GCC" = "xyes"; then
41156 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41157 THREAD_OPTS=""
41158 else
41159 THREAD_OPTS="-mt"
41160 fi
41161 ;;
41162
41163 *-*-irix* )
41164 if test "x$GCC" = "xyes"; then
41165 THREAD_OPTS=""
41166 fi
41167 ;;
41168
41169 *-*-*UnixWare*)
41170 if test "x$GCC" != "xyes"; then
41171 THREAD_OPTS="-Ethread"
41172 fi
41173 ;;
41174 esac
41175
41176 THREAD_OPTS="$THREAD_OPTS pthread none"
41177
41178 THREADS_OK=no
41179 for flag in $THREAD_OPTS; do
41180 case $flag in
41181 none)
41182 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41183 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41184 ;;
41185
41186 -*)
41187 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41188 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41189 THREADS_CFLAGS="$flag"
41190 ;;
41191
41192 *)
41193 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41194 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41195 THREADS_LINK="-l$flag"
41196 ;;
41197 esac
41198
41199 save_LIBS="$LIBS"
41200 save_CFLAGS="$CFLAGS"
41201 LIBS="$THREADS_LINK $LIBS"
41202 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41203
41204 cat >conftest.$ac_ext <<_ACEOF
41205 /* confdefs.h. */
41206 _ACEOF
41207 cat confdefs.h >>conftest.$ac_ext
41208 cat >>conftest.$ac_ext <<_ACEOF
41209 /* end confdefs.h. */
41210 #include <pthread.h>
41211 int
41212 main ()
41213 {
41214 pthread_create(0,0,0,0);
41215 ;
41216 return 0;
41217 }
41218 _ACEOF
41219 rm -f conftest.$ac_objext conftest$ac_exeext
41220 if { (ac_try="$ac_link"
41221 case "(($ac_try" in
41222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41223 *) ac_try_echo=$ac_try;;
41224 esac
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_link") 2>conftest.er1
41227 ac_status=$?
41228 grep -v '^ *+' conftest.er1 >conftest.err
41229 rm -f conftest.er1
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_c_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest$ac_exeext &&
41236 $as_test_x conftest$ac_exeext; then
41237 THREADS_OK=yes
41238 else
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41241
41242
41243 fi
41244
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41247
41248 LIBS="$save_LIBS"
41249 CFLAGS="$save_CFLAGS"
41250
41251 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41252 echo "${ECHO_T}$THREADS_OK" >&6; }
41253 if test "x$THREADS_OK" = "xyes"; then
41254 break;
41255 fi
41256
41257 THREADS_LINK=""
41258 THREADS_CFLAGS=""
41259 done
41260
41261 if test "x$THREADS_OK" != "xyes"; then
41262 wxUSE_THREADS=no
41263 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41264 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41265 else
41266 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41267 LIBS="$THREADS_LINK $LIBS"
41268
41269 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41270 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41271 flag=no
41272 case "${host}" in
41273 *-aix*)
41274 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41275 flag="-D_THREAD_SAFE"
41276 ;;
41277 *-freebsd*)
41278 flag="-D_THREAD_SAFE"
41279 ;;
41280 *-hp-hpux* )
41281 flag="-D_REENTRANT"
41282 if test "x$GCC" != "xyes"; then
41283 flag="$flag -D_RWSTD_MULTI_THREAD"
41284 fi
41285 ;;
41286 *solaris* | alpha*-osf*)
41287 flag="-D_REENTRANT"
41288 ;;
41289 esac
41290 { echo "$as_me:$LINENO: result: ${flag}" >&5
41291 echo "${ECHO_T}${flag}" >&6; }
41292 if test "x$flag" != xno; then
41293 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41294 fi
41295
41296 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41297 fi
41298 fi
41299
41300 if test "$wxUSE_THREADS" = "yes" ; then
41301
41302 for ac_func in thr_setconcurrency
41303 do
41304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 else
41310 cat >conftest.$ac_ext <<_ACEOF
41311 /* confdefs.h. */
41312 _ACEOF
41313 cat confdefs.h >>conftest.$ac_ext
41314 cat >>conftest.$ac_ext <<_ACEOF
41315 /* end confdefs.h. */
41316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41318 #define $ac_func innocuous_$ac_func
41319
41320 /* System header to define __stub macros and hopefully few prototypes,
41321 which can conflict with char $ac_func (); below.
41322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41323 <limits.h> exists even on freestanding compilers. */
41324
41325 #ifdef __STDC__
41326 # include <limits.h>
41327 #else
41328 # include <assert.h>
41329 #endif
41330
41331 #undef $ac_func
41332
41333 /* Override any GCC internal prototype to avoid an error.
41334 Use char because int might match the return type of a GCC
41335 builtin and then its argument prototype would still apply. */
41336 #ifdef __cplusplus
41337 extern "C"
41338 #endif
41339 char $ac_func ();
41340 /* The GNU C library defines this for functions which it implements
41341 to always fail with ENOSYS. Some functions are actually named
41342 something starting with __ and the normal name is an alias. */
41343 #if defined __stub_$ac_func || defined __stub___$ac_func
41344 choke me
41345 #endif
41346
41347 int
41348 main ()
41349 {
41350 return $ac_func ();
41351 ;
41352 return 0;
41353 }
41354 _ACEOF
41355 rm -f conftest.$ac_objext conftest$ac_exeext
41356 if { (ac_try="$ac_link"
41357 case "(($ac_try" in
41358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41359 *) ac_try_echo=$ac_try;;
41360 esac
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_link") 2>conftest.er1
41363 ac_status=$?
41364 grep -v '^ *+' conftest.er1 >conftest.err
41365 rm -f conftest.er1
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } && {
41369 test -z "$ac_c_werror_flag" ||
41370 test ! -s conftest.err
41371 } && test -s conftest$ac_exeext &&
41372 $as_test_x conftest$ac_exeext; then
41373 eval "$as_ac_var=yes"
41374 else
41375 echo "$as_me: failed program was:" >&5
41376 sed 's/^/| /' conftest.$ac_ext >&5
41377
41378 eval "$as_ac_var=no"
41379 fi
41380
41381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41382 conftest$ac_exeext conftest.$ac_ext
41383 fi
41384 ac_res=`eval echo '${'$as_ac_var'}'`
41385 { echo "$as_me:$LINENO: result: $ac_res" >&5
41386 echo "${ECHO_T}$ac_res" >&6; }
41387 if test `eval echo '${'$as_ac_var'}'` = yes; then
41388 cat >>confdefs.h <<_ACEOF
41389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41390 _ACEOF
41391
41392 fi
41393 done
41394
41395
41396 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41397 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41398 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 else
41401
41402 ac_ext=cpp
41403 ac_cpp='$CXXCPP $CPPFLAGS'
41404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41407
41408 cat >conftest.$ac_ext <<_ACEOF
41409 /* confdefs.h. */
41410 _ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41414 #include <pthread.h>
41415 void ThreadCleanupFunc(void *p);
41416
41417 int
41418 main ()
41419 {
41420
41421 void *p;
41422 pthread_cleanup_push(ThreadCleanupFunc, p);
41423 pthread_cleanup_pop(0);
41424
41425 ;
41426 return 0;
41427 }
41428 _ACEOF
41429 rm -f conftest.$ac_objext
41430 if { (ac_try="$ac_compile"
41431 case "(($ac_try" in
41432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41433 *) ac_try_echo=$ac_try;;
41434 esac
41435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41436 (eval "$ac_compile") 2>conftest.er1
41437 ac_status=$?
41438 grep -v '^ *+' conftest.er1 >conftest.err
41439 rm -f conftest.er1
41440 cat conftest.err >&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } && {
41443 test -z "$ac_cxx_werror_flag" ||
41444 test ! -s conftest.err
41445 } && test -s conftest.$ac_objext; then
41446
41447 wx_cv_func_pthread_cleanup=yes
41448
41449 else
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41452
41453
41454 wx_cv_func_pthread_cleanup=no
41455
41456
41457 fi
41458
41459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41460 ac_ext=c
41461 ac_cpp='$CPP $CPPFLAGS'
41462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41465
41466
41467 fi
41468 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41469 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41470 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41471 cat >>confdefs.h <<\_ACEOF
41472 #define wxHAVE_PTHREAD_CLEANUP 1
41473 _ACEOF
41474
41475 fi
41476
41477
41478 for ac_header in sched.h
41479 do
41480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41484 echo $ECHO_N "(cached) $ECHO_C" >&6
41485 else
41486 cat >conftest.$ac_ext <<_ACEOF
41487 /* confdefs.h. */
41488 _ACEOF
41489 cat confdefs.h >>conftest.$ac_ext
41490 cat >>conftest.$ac_ext <<_ACEOF
41491 /* end confdefs.h. */
41492 $ac_includes_default
41493
41494 #include <$ac_header>
41495 _ACEOF
41496 rm -f conftest.$ac_objext
41497 if { (ac_try="$ac_compile"
41498 case "(($ac_try" in
41499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41500 *) ac_try_echo=$ac_try;;
41501 esac
41502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41503 (eval "$ac_compile") 2>conftest.er1
41504 ac_status=$?
41505 grep -v '^ *+' conftest.er1 >conftest.err
41506 rm -f conftest.er1
41507 cat conftest.err >&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } && {
41510 test -z "$ac_c_werror_flag" ||
41511 test ! -s conftest.err
41512 } && test -s conftest.$ac_objext; then
41513 eval "$as_ac_Header=yes"
41514 else
41515 echo "$as_me: failed program was:" >&5
41516 sed 's/^/| /' conftest.$ac_ext >&5
41517
41518 eval "$as_ac_Header=no"
41519 fi
41520
41521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41522 fi
41523 ac_res=`eval echo '${'$as_ac_Header'}'`
41524 { echo "$as_me:$LINENO: result: $ac_res" >&5
41525 echo "${ECHO_T}$ac_res" >&6; }
41526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41527 cat >>confdefs.h <<_ACEOF
41528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41529 _ACEOF
41530
41531 fi
41532
41533 done
41534
41535 if test "$ac_cv_header_sched_h" = "yes"; then
41536 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41537 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41538 if test "${ac_cv_func_sched_yield+set}" = set; then
41539 echo $ECHO_N "(cached) $ECHO_C" >&6
41540 else
41541 cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h. */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41549 #define sched_yield innocuous_sched_yield
41550
41551 /* System header to define __stub macros and hopefully few prototypes,
41552 which can conflict with char sched_yield (); below.
41553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41554 <limits.h> exists even on freestanding compilers. */
41555
41556 #ifdef __STDC__
41557 # include <limits.h>
41558 #else
41559 # include <assert.h>
41560 #endif
41561
41562 #undef sched_yield
41563
41564 /* Override any GCC internal prototype to avoid an error.
41565 Use char because int might match the return type of a GCC
41566 builtin and then its argument prototype would still apply. */
41567 #ifdef __cplusplus
41568 extern "C"
41569 #endif
41570 char sched_yield ();
41571 /* The GNU C library defines this for functions which it implements
41572 to always fail with ENOSYS. Some functions are actually named
41573 something starting with __ and the normal name is an alias. */
41574 #if defined __stub_sched_yield || defined __stub___sched_yield
41575 choke me
41576 #endif
41577
41578 int
41579 main ()
41580 {
41581 return sched_yield ();
41582 ;
41583 return 0;
41584 }
41585 _ACEOF
41586 rm -f conftest.$ac_objext conftest$ac_exeext
41587 if { (ac_try="$ac_link"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41591 esac
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_link") 2>conftest.er1
41594 ac_status=$?
41595 grep -v '^ *+' conftest.er1 >conftest.err
41596 rm -f conftest.er1
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest$ac_exeext &&
41603 $as_test_x conftest$ac_exeext; then
41604 ac_cv_func_sched_yield=yes
41605 else
41606 echo "$as_me: failed program was:" >&5
41607 sed 's/^/| /' conftest.$ac_ext >&5
41608
41609 ac_cv_func_sched_yield=no
41610 fi
41611
41612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41613 conftest$ac_exeext conftest.$ac_ext
41614 fi
41615 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41616 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41617 if test $ac_cv_func_sched_yield = yes; then
41618 cat >>confdefs.h <<\_ACEOF
41619 #define HAVE_SCHED_YIELD 1
41620 _ACEOF
41621
41622 else
41623
41624 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41625 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41626 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 else
41629 ac_check_lib_save_LIBS=$LIBS
41630 LIBS="-lposix4 $LIBS"
41631 cat >conftest.$ac_ext <<_ACEOF
41632 /* confdefs.h. */
41633 _ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637
41638 /* Override any GCC internal prototype to avoid an error.
41639 Use char because int might match the return type of a GCC
41640 builtin and then its argument prototype would still apply. */
41641 #ifdef __cplusplus
41642 extern "C"
41643 #endif
41644 char sched_yield ();
41645 int
41646 main ()
41647 {
41648 return sched_yield ();
41649 ;
41650 return 0;
41651 }
41652 _ACEOF
41653 rm -f conftest.$ac_objext conftest$ac_exeext
41654 if { (ac_try="$ac_link"
41655 case "(($ac_try" in
41656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41657 *) ac_try_echo=$ac_try;;
41658 esac
41659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41660 (eval "$ac_link") 2>conftest.er1
41661 ac_status=$?
41662 grep -v '^ *+' conftest.er1 >conftest.err
41663 rm -f conftest.er1
41664 cat conftest.err >&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); } && {
41667 test -z "$ac_c_werror_flag" ||
41668 test ! -s conftest.err
41669 } && test -s conftest$ac_exeext &&
41670 $as_test_x conftest$ac_exeext; then
41671 ac_cv_lib_posix4_sched_yield=yes
41672 else
41673 echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.$ac_ext >&5
41675
41676 ac_cv_lib_posix4_sched_yield=no
41677 fi
41678
41679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41680 conftest$ac_exeext conftest.$ac_ext
41681 LIBS=$ac_check_lib_save_LIBS
41682 fi
41683 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41684 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41685 if test $ac_cv_lib_posix4_sched_yield = yes; then
41686 cat >>confdefs.h <<\_ACEOF
41687 #define HAVE_SCHED_YIELD 1
41688 _ACEOF
41689 POSIX4_LINK=" -lposix4"
41690 else
41691 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41692 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41693
41694 fi
41695
41696
41697
41698 fi
41699
41700 fi
41701
41702 HAVE_PRIOR_FUNCS=0
41703 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41704 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41705 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41706 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 else
41708 cat >conftest.$ac_ext <<_ACEOF
41709 /* confdefs.h. */
41710 _ACEOF
41711 cat confdefs.h >>conftest.$ac_ext
41712 cat >>conftest.$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41714 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41716 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41717
41718 /* System header to define __stub macros and hopefully few prototypes,
41719 which can conflict with char pthread_attr_getschedpolicy (); below.
41720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41721 <limits.h> exists even on freestanding compilers. */
41722
41723 #ifdef __STDC__
41724 # include <limits.h>
41725 #else
41726 # include <assert.h>
41727 #endif
41728
41729 #undef pthread_attr_getschedpolicy
41730
41731 /* Override any GCC internal prototype to avoid an error.
41732 Use char because int might match the return type of a GCC
41733 builtin and then its argument prototype would still apply. */
41734 #ifdef __cplusplus
41735 extern "C"
41736 #endif
41737 char pthread_attr_getschedpolicy ();
41738 /* The GNU C library defines this for functions which it implements
41739 to always fail with ENOSYS. Some functions are actually named
41740 something starting with __ and the normal name is an alias. */
41741 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41742 choke me
41743 #endif
41744
41745 int
41746 main ()
41747 {
41748 return pthread_attr_getschedpolicy ();
41749 ;
41750 return 0;
41751 }
41752 _ACEOF
41753 rm -f conftest.$ac_objext conftest$ac_exeext
41754 if { (ac_try="$ac_link"
41755 case "(($ac_try" in
41756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41757 *) ac_try_echo=$ac_try;;
41758 esac
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_link") 2>conftest.er1
41761 ac_status=$?
41762 grep -v '^ *+' conftest.er1 >conftest.err
41763 rm -f conftest.er1
41764 cat conftest.err >&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } && {
41767 test -z "$ac_c_werror_flag" ||
41768 test ! -s conftest.err
41769 } && test -s conftest$ac_exeext &&
41770 $as_test_x conftest$ac_exeext; then
41771 ac_cv_func_pthread_attr_getschedpolicy=yes
41772 else
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776 ac_cv_func_pthread_attr_getschedpolicy=no
41777 fi
41778
41779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41780 conftest$ac_exeext conftest.$ac_ext
41781 fi
41782 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41785 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41789 else
41790 cat >conftest.$ac_ext <<_ACEOF
41791 /* confdefs.h. */
41792 _ACEOF
41793 cat confdefs.h >>conftest.$ac_ext
41794 cat >>conftest.$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41799
41800 /* System header to define __stub macros and hopefully few prototypes,
41801 which can conflict with char pthread_attr_setschedparam (); below.
41802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41803 <limits.h> exists even on freestanding compilers. */
41804
41805 #ifdef __STDC__
41806 # include <limits.h>
41807 #else
41808 # include <assert.h>
41809 #endif
41810
41811 #undef pthread_attr_setschedparam
41812
41813 /* Override any GCC internal prototype to avoid an error.
41814 Use char because int might match the return type of a GCC
41815 builtin and then its argument prototype would still apply. */
41816 #ifdef __cplusplus
41817 extern "C"
41818 #endif
41819 char pthread_attr_setschedparam ();
41820 /* The GNU C library defines this for functions which it implements
41821 to always fail with ENOSYS. Some functions are actually named
41822 something starting with __ and the normal name is an alias. */
41823 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41824 choke me
41825 #endif
41826
41827 int
41828 main ()
41829 {
41830 return pthread_attr_setschedparam ();
41831 ;
41832 return 0;
41833 }
41834 _ACEOF
41835 rm -f conftest.$ac_objext conftest$ac_exeext
41836 if { (ac_try="$ac_link"
41837 case "(($ac_try" in
41838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41839 *) ac_try_echo=$ac_try;;
41840 esac
41841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41842 (eval "$ac_link") 2>conftest.er1
41843 ac_status=$?
41844 grep -v '^ *+' conftest.er1 >conftest.err
41845 rm -f conftest.er1
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } && {
41849 test -z "$ac_c_werror_flag" ||
41850 test ! -s conftest.err
41851 } && test -s conftest$ac_exeext &&
41852 $as_test_x conftest$ac_exeext; then
41853 ac_cv_func_pthread_attr_setschedparam=yes
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41857
41858 ac_cv_func_pthread_attr_setschedparam=no
41859 fi
41860
41861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41862 conftest$ac_exeext conftest.$ac_ext
41863 fi
41864 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41865 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41866 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41867 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41868 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41869 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41870 echo $ECHO_N "(cached) $ECHO_C" >&6
41871 else
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41880 #define sched_get_priority_max innocuous_sched_get_priority_max
41881
41882 /* System header to define __stub macros and hopefully few prototypes,
41883 which can conflict with char sched_get_priority_max (); below.
41884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41885 <limits.h> exists even on freestanding compilers. */
41886
41887 #ifdef __STDC__
41888 # include <limits.h>
41889 #else
41890 # include <assert.h>
41891 #endif
41892
41893 #undef sched_get_priority_max
41894
41895 /* Override any GCC internal prototype to avoid an error.
41896 Use char because int might match the return type of a GCC
41897 builtin and then its argument prototype would still apply. */
41898 #ifdef __cplusplus
41899 extern "C"
41900 #endif
41901 char sched_get_priority_max ();
41902 /* The GNU C library defines this for functions which it implements
41903 to always fail with ENOSYS. Some functions are actually named
41904 something starting with __ and the normal name is an alias. */
41905 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41906 choke me
41907 #endif
41908
41909 int
41910 main ()
41911 {
41912 return sched_get_priority_max ();
41913 ;
41914 return 0;
41915 }
41916 _ACEOF
41917 rm -f conftest.$ac_objext conftest$ac_exeext
41918 if { (ac_try="$ac_link"
41919 case "(($ac_try" in
41920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41921 *) ac_try_echo=$ac_try;;
41922 esac
41923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41924 (eval "$ac_link") 2>conftest.er1
41925 ac_status=$?
41926 grep -v '^ *+' conftest.er1 >conftest.err
41927 rm -f conftest.er1
41928 cat conftest.err >&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); } && {
41931 test -z "$ac_c_werror_flag" ||
41932 test ! -s conftest.err
41933 } && test -s conftest$ac_exeext &&
41934 $as_test_x conftest$ac_exeext; then
41935 ac_cv_func_sched_get_priority_max=yes
41936 else
41937 echo "$as_me: failed program was:" >&5
41938 sed 's/^/| /' conftest.$ac_ext >&5
41939
41940 ac_cv_func_sched_get_priority_max=no
41941 fi
41942
41943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41944 conftest$ac_exeext conftest.$ac_ext
41945 fi
41946 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41947 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41948 if test $ac_cv_func_sched_get_priority_max = yes; then
41949 HAVE_PRIOR_FUNCS=1
41950 else
41951 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41952 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41953 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41954 echo $ECHO_N "(cached) $ECHO_C" >&6
41955 else
41956 ac_check_lib_save_LIBS=$LIBS
41957 LIBS="-lposix4 $LIBS"
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964
41965 /* Override any GCC internal prototype to avoid an error.
41966 Use char because int might match the return type of a GCC
41967 builtin and then its argument prototype would still apply. */
41968 #ifdef __cplusplus
41969 extern "C"
41970 #endif
41971 char sched_get_priority_max ();
41972 int
41973 main ()
41974 {
41975 return sched_get_priority_max ();
41976 ;
41977 return 0;
41978 }
41979 _ACEOF
41980 rm -f conftest.$ac_objext conftest$ac_exeext
41981 if { (ac_try="$ac_link"
41982 case "(($ac_try" in
41983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41984 *) ac_try_echo=$ac_try;;
41985 esac
41986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41987 (eval "$ac_link") 2>conftest.er1
41988 ac_status=$?
41989 grep -v '^ *+' conftest.er1 >conftest.err
41990 rm -f conftest.er1
41991 cat conftest.err >&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } && {
41994 test -z "$ac_c_werror_flag" ||
41995 test ! -s conftest.err
41996 } && test -s conftest$ac_exeext &&
41997 $as_test_x conftest$ac_exeext; then
41998 ac_cv_lib_posix4_sched_get_priority_max=yes
41999 else
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.$ac_ext >&5
42002
42003 ac_cv_lib_posix4_sched_get_priority_max=no
42004 fi
42005
42006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42007 conftest$ac_exeext conftest.$ac_ext
42008 LIBS=$ac_check_lib_save_LIBS
42009 fi
42010 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42011 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42012 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42013
42014 HAVE_PRIOR_FUNCS=1
42015 POSIX4_LINK=" -lposix4"
42016
42017 fi
42018
42019
42020 fi
42021
42022
42023 fi
42024
42025
42026 fi
42027
42028
42029 if test "$HAVE_PRIOR_FUNCS" = 1; then
42030 cat >>confdefs.h <<\_ACEOF
42031 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42032 _ACEOF
42033
42034 else
42035 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42036 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42037 fi
42038
42039 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42040 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42041 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42042 echo $ECHO_N "(cached) $ECHO_C" >&6
42043 else
42044 cat >conftest.$ac_ext <<_ACEOF
42045 /* confdefs.h. */
42046 _ACEOF
42047 cat confdefs.h >>conftest.$ac_ext
42048 cat >>conftest.$ac_ext <<_ACEOF
42049 /* end confdefs.h. */
42050 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42052 #define pthread_cancel innocuous_pthread_cancel
42053
42054 /* System header to define __stub macros and hopefully few prototypes,
42055 which can conflict with char pthread_cancel (); below.
42056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42057 <limits.h> exists even on freestanding compilers. */
42058
42059 #ifdef __STDC__
42060 # include <limits.h>
42061 #else
42062 # include <assert.h>
42063 #endif
42064
42065 #undef pthread_cancel
42066
42067 /* Override any GCC internal prototype to avoid an error.
42068 Use char because int might match the return type of a GCC
42069 builtin and then its argument prototype would still apply. */
42070 #ifdef __cplusplus
42071 extern "C"
42072 #endif
42073 char pthread_cancel ();
42074 /* The GNU C library defines this for functions which it implements
42075 to always fail with ENOSYS. Some functions are actually named
42076 something starting with __ and the normal name is an alias. */
42077 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42078 choke me
42079 #endif
42080
42081 int
42082 main ()
42083 {
42084 return pthread_cancel ();
42085 ;
42086 return 0;
42087 }
42088 _ACEOF
42089 rm -f conftest.$ac_objext conftest$ac_exeext
42090 if { (ac_try="$ac_link"
42091 case "(($ac_try" in
42092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42093 *) ac_try_echo=$ac_try;;
42094 esac
42095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42096 (eval "$ac_link") 2>conftest.er1
42097 ac_status=$?
42098 grep -v '^ *+' conftest.er1 >conftest.err
42099 rm -f conftest.er1
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } && {
42103 test -z "$ac_c_werror_flag" ||
42104 test ! -s conftest.err
42105 } && test -s conftest$ac_exeext &&
42106 $as_test_x conftest$ac_exeext; then
42107 ac_cv_func_pthread_cancel=yes
42108 else
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42111
42112 ac_cv_func_pthread_cancel=no
42113 fi
42114
42115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42116 conftest$ac_exeext conftest.$ac_ext
42117 fi
42118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42119 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42120 if test $ac_cv_func_pthread_cancel = yes; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define HAVE_PTHREAD_CANCEL 1
42123 _ACEOF
42124
42125 else
42126 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42127 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42128 fi
42129
42130
42131 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42132 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42133 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42134 echo $ECHO_N "(cached) $ECHO_C" >&6
42135 else
42136 cat >conftest.$ac_ext <<_ACEOF
42137 /* confdefs.h. */
42138 _ACEOF
42139 cat confdefs.h >>conftest.$ac_ext
42140 cat >>conftest.$ac_ext <<_ACEOF
42141 /* end confdefs.h. */
42142 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42144 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42145
42146 /* System header to define __stub macros and hopefully few prototypes,
42147 which can conflict with char pthread_mutex_timedlock (); below.
42148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42149 <limits.h> exists even on freestanding compilers. */
42150
42151 #ifdef __STDC__
42152 # include <limits.h>
42153 #else
42154 # include <assert.h>
42155 #endif
42156
42157 #undef pthread_mutex_timedlock
42158
42159 /* Override any GCC internal prototype to avoid an error.
42160 Use char because int might match the return type of a GCC
42161 builtin and then its argument prototype would still apply. */
42162 #ifdef __cplusplus
42163 extern "C"
42164 #endif
42165 char pthread_mutex_timedlock ();
42166 /* The GNU C library defines this for functions which it implements
42167 to always fail with ENOSYS. Some functions are actually named
42168 something starting with __ and the normal name is an alias. */
42169 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42170 choke me
42171 #endif
42172
42173 int
42174 main ()
42175 {
42176 return pthread_mutex_timedlock ();
42177 ;
42178 return 0;
42179 }
42180 _ACEOF
42181 rm -f conftest.$ac_objext conftest$ac_exeext
42182 if { (ac_try="$ac_link"
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_link") 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_exeext &&
42198 $as_test_x conftest$ac_exeext; then
42199 ac_cv_func_pthread_mutex_timedlock=yes
42200 else
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42203
42204 ac_cv_func_pthread_mutex_timedlock=no
42205 fi
42206
42207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42208 conftest$ac_exeext conftest.$ac_ext
42209 fi
42210 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42211 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42212 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42213 cat >>confdefs.h <<\_ACEOF
42214 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42215 _ACEOF
42216
42217 else
42218 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42219 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42220 fi
42221
42222
42223 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42224 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42225 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42227 else
42228 cat >conftest.$ac_ext <<_ACEOF
42229 /* confdefs.h. */
42230 _ACEOF
42231 cat confdefs.h >>conftest.$ac_ext
42232 cat >>conftest.$ac_ext <<_ACEOF
42233 /* end confdefs.h. */
42234 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42236 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42237
42238 /* System header to define __stub macros and hopefully few prototypes,
42239 which can conflict with char pthread_attr_setstacksize (); below.
42240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42241 <limits.h> exists even on freestanding compilers. */
42242
42243 #ifdef __STDC__
42244 # include <limits.h>
42245 #else
42246 # include <assert.h>
42247 #endif
42248
42249 #undef pthread_attr_setstacksize
42250
42251 /* Override any GCC internal prototype to avoid an error.
42252 Use char because int might match the return type of a GCC
42253 builtin and then its argument prototype would still apply. */
42254 #ifdef __cplusplus
42255 extern "C"
42256 #endif
42257 char pthread_attr_setstacksize ();
42258 /* The GNU C library defines this for functions which it implements
42259 to always fail with ENOSYS. Some functions are actually named
42260 something starting with __ and the normal name is an alias. */
42261 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42262 choke me
42263 #endif
42264
42265 int
42266 main ()
42267 {
42268 return pthread_attr_setstacksize ();
42269 ;
42270 return 0;
42271 }
42272 _ACEOF
42273 rm -f conftest.$ac_objext conftest$ac_exeext
42274 if { (ac_try="$ac_link"
42275 case "(($ac_try" in
42276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42278 esac
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_link") 2>conftest.er1
42281 ac_status=$?
42282 grep -v '^ *+' conftest.er1 >conftest.err
42283 rm -f conftest.er1
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest$ac_exeext &&
42290 $as_test_x conftest$ac_exeext; then
42291 ac_cv_func_pthread_attr_setstacksize=yes
42292 else
42293 echo "$as_me: failed program was:" >&5
42294 sed 's/^/| /' conftest.$ac_ext >&5
42295
42296 ac_cv_func_pthread_attr_setstacksize=no
42297 fi
42298
42299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42300 conftest$ac_exeext conftest.$ac_ext
42301 fi
42302 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42303 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42304 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42305 cat >>confdefs.h <<\_ACEOF
42306 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42307 _ACEOF
42308
42309 fi
42310
42311
42312
42313 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42314 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42315 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42317 else
42318
42319 cat >conftest.$ac_ext <<_ACEOF
42320 /* confdefs.h. */
42321 _ACEOF
42322 cat confdefs.h >>conftest.$ac_ext
42323 cat >>conftest.$ac_ext <<_ACEOF
42324 /* end confdefs.h. */
42325 #include <pthread.h>
42326 int
42327 main ()
42328 {
42329
42330 pthread_mutexattr_t attr;
42331 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42332
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 rm -f conftest.$ac_objext
42338 if { (ac_try="$ac_compile"
42339 case "(($ac_try" in
42340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42341 *) ac_try_echo=$ac_try;;
42342 esac
42343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42344 (eval "$ac_compile") 2>conftest.er1
42345 ac_status=$?
42346 grep -v '^ *+' conftest.er1 >conftest.err
42347 rm -f conftest.er1
42348 cat conftest.err >&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && {
42351 test -z "$ac_c_werror_flag" ||
42352 test ! -s conftest.err
42353 } && test -s conftest.$ac_objext; then
42354 wx_cv_type_pthread_mutexattr_t=yes
42355 else
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42358
42359 wx_cv_type_pthread_mutexattr_t=no
42360
42361 fi
42362
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42364
42365 fi
42366 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42367 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42368
42369 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42370 cat >>confdefs.h <<\_ACEOF
42371 #define HAVE_PTHREAD_MUTEXATTR_T 1
42372 _ACEOF
42373
42374
42375 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42376 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42377 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42378 echo $ECHO_N "(cached) $ECHO_C" >&6
42379 else
42380
42381 cat >conftest.$ac_ext <<_ACEOF
42382 /* confdefs.h. */
42383 _ACEOF
42384 cat confdefs.h >>conftest.$ac_ext
42385 cat >>conftest.$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 #include <pthread.h>
42388 int
42389 main ()
42390 {
42391
42392 pthread_mutexattr_t attr;
42393 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42394
42395 ;
42396 return 0;
42397 }
42398 _ACEOF
42399 rm -f conftest.$ac_objext
42400 if { (ac_try="$ac_compile"
42401 case "(($ac_try" in
42402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42403 *) ac_try_echo=$ac_try;;
42404 esac
42405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42406 (eval "$ac_compile") 2>conftest.er1
42407 ac_status=$?
42408 grep -v '^ *+' conftest.er1 >conftest.err
42409 rm -f conftest.er1
42410 cat conftest.err >&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } && {
42413 test -z "$ac_c_werror_flag" ||
42414 test ! -s conftest.err
42415 } && test -s conftest.$ac_objext; then
42416 wx_cv_func_pthread_mutexattr_settype_decl=yes
42417 else
42418 echo "$as_me: failed program was:" >&5
42419 sed 's/^/| /' conftest.$ac_ext >&5
42420
42421 wx_cv_func_pthread_mutexattr_settype_decl=no
42422
42423 fi
42424
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42426
42427 fi
42428 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42429 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42430 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42433 _ACEOF
42434
42435 fi
42436 else
42437 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42438 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42439 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42440 echo $ECHO_N "(cached) $ECHO_C" >&6
42441 else
42442
42443 cat >conftest.$ac_ext <<_ACEOF
42444 /* confdefs.h. */
42445 _ACEOF
42446 cat confdefs.h >>conftest.$ac_ext
42447 cat >>conftest.$ac_ext <<_ACEOF
42448 /* end confdefs.h. */
42449 #include <pthread.h>
42450 int
42451 main ()
42452 {
42453
42454 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42455
42456 ;
42457 return 0;
42458 }
42459 _ACEOF
42460 rm -f conftest.$ac_objext
42461 if { (ac_try="$ac_compile"
42462 case "(($ac_try" in
42463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42464 *) ac_try_echo=$ac_try;;
42465 esac
42466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42467 (eval "$ac_compile") 2>conftest.er1
42468 ac_status=$?
42469 grep -v '^ *+' conftest.er1 >conftest.err
42470 rm -f conftest.er1
42471 cat conftest.err >&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); } && {
42474 test -z "$ac_c_werror_flag" ||
42475 test ! -s conftest.err
42476 } && test -s conftest.$ac_objext; then
42477
42478 wx_cv_type_pthread_rec_mutex_init=yes
42479
42480 else
42481 echo "$as_me: failed program was:" >&5
42482 sed 's/^/| /' conftest.$ac_ext >&5
42483
42484
42485 wx_cv_type_pthread_rec_mutex_init=no
42486
42487
42488 fi
42489
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42491
42492 fi
42493 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42494 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42495 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42496 cat >>confdefs.h <<\_ACEOF
42497 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42498 _ACEOF
42499
42500 else
42501 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42502 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42503 fi
42504 fi
42505 fi
42506
42507 else
42508 if test "$wxUSE_THREADS" = "yes" ; then
42509 case "${host}" in
42510 *-*-mingw32* )
42511 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42512 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42513 if test "${wx_cv_cflags_mthread+set}" = set; then
42514 echo $ECHO_N "(cached) $ECHO_C" >&6
42515 else
42516
42517 CFLAGS_OLD="$CFLAGS"
42518 CFLAGS="-mthreads $CFLAGS"
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
42526 int
42527 main ()
42528 {
42529
42530 ;
42531 return 0;
42532 }
42533 _ACEOF
42534 rm -f conftest.$ac_objext
42535 if { (ac_try="$ac_compile"
42536 case "(($ac_try" in
42537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42539 esac
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_compile") 2>conftest.er1
42542 ac_status=$?
42543 grep -v '^ *+' conftest.er1 >conftest.err
42544 rm -f conftest.er1
42545 cat conftest.err >&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); } && {
42548 test -z "$ac_c_werror_flag" ||
42549 test ! -s conftest.err
42550 } && test -s conftest.$ac_objext; then
42551 wx_cv_cflags_mthread=yes
42552 else
42553 echo "$as_me: failed program was:" >&5
42554 sed 's/^/| /' conftest.$ac_ext >&5
42555
42556 wx_cv_cflags_mthread=no
42557
42558 fi
42559
42560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42561
42562
42563 fi
42564 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42565 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42566
42567 if test "$wx_cv_cflags_mthread" = "yes"; then
42568 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42569 LDFLAGS="$LDFLAGS -mthreads"
42570 else
42571 CFLAGS="$CFLAGS_OLD"
42572 fi
42573 ;;
42574 *-pc-os2*emx )
42575 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42576 LDFLAGS="$LDFLAGS -Zmt"
42577 ;;
42578 esac
42579 fi
42580 fi
42581
42582 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42583 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42584 if test "${ac_cv_func_localtime_r+set}" = set; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42586 else
42587 cat >conftest.$ac_ext <<_ACEOF
42588 /* confdefs.h. */
42589 _ACEOF
42590 cat confdefs.h >>conftest.$ac_ext
42591 cat >>conftest.$ac_ext <<_ACEOF
42592 /* end confdefs.h. */
42593 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42595 #define localtime_r innocuous_localtime_r
42596
42597 /* System header to define __stub macros and hopefully few prototypes,
42598 which can conflict with char localtime_r (); below.
42599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42600 <limits.h> exists even on freestanding compilers. */
42601
42602 #ifdef __STDC__
42603 # include <limits.h>
42604 #else
42605 # include <assert.h>
42606 #endif
42607
42608 #undef localtime_r
42609
42610 /* Override any GCC internal prototype to avoid an error.
42611 Use char because int might match the return type of a GCC
42612 builtin and then its argument prototype would still apply. */
42613 #ifdef __cplusplus
42614 extern "C"
42615 #endif
42616 char localtime_r ();
42617 /* The GNU C library defines this for functions which it implements
42618 to always fail with ENOSYS. Some functions are actually named
42619 something starting with __ and the normal name is an alias. */
42620 #if defined __stub_localtime_r || defined __stub___localtime_r
42621 choke me
42622 #endif
42623
42624 int
42625 main ()
42626 {
42627 return localtime_r ();
42628 ;
42629 return 0;
42630 }
42631 _ACEOF
42632 rm -f conftest.$ac_objext conftest$ac_exeext
42633 if { (ac_try="$ac_link"
42634 case "(($ac_try" in
42635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636 *) ac_try_echo=$ac_try;;
42637 esac
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639 (eval "$ac_link") 2>conftest.er1
42640 ac_status=$?
42641 grep -v '^ *+' conftest.er1 >conftest.err
42642 rm -f conftest.er1
42643 cat conftest.err >&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); } && {
42646 test -z "$ac_c_werror_flag" ||
42647 test ! -s conftest.err
42648 } && test -s conftest$ac_exeext &&
42649 $as_test_x conftest$ac_exeext; then
42650 ac_cv_func_localtime_r=yes
42651 else
42652 echo "$as_me: failed program was:" >&5
42653 sed 's/^/| /' conftest.$ac_ext >&5
42654
42655 ac_cv_func_localtime_r=no
42656 fi
42657
42658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42659 conftest$ac_exeext conftest.$ac_ext
42660 fi
42661 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42662 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42663 if test $ac_cv_func_localtime_r = yes; then
42664 cat >>confdefs.h <<\_ACEOF
42665 #define HAVE_LOCALTIME_R 1
42666 _ACEOF
42667
42668 fi
42669
42670 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42671 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42672 if test "${ac_cv_func_gmtime_r+set}" = set; then
42673 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 else
42675 cat >conftest.$ac_ext <<_ACEOF
42676 /* confdefs.h. */
42677 _ACEOF
42678 cat confdefs.h >>conftest.$ac_ext
42679 cat >>conftest.$ac_ext <<_ACEOF
42680 /* end confdefs.h. */
42681 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42683 #define gmtime_r innocuous_gmtime_r
42684
42685 /* System header to define __stub macros and hopefully few prototypes,
42686 which can conflict with char gmtime_r (); below.
42687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42688 <limits.h> exists even on freestanding compilers. */
42689
42690 #ifdef __STDC__
42691 # include <limits.h>
42692 #else
42693 # include <assert.h>
42694 #endif
42695
42696 #undef gmtime_r
42697
42698 /* Override any GCC internal prototype to avoid an error.
42699 Use char because int might match the return type of a GCC
42700 builtin and then its argument prototype would still apply. */
42701 #ifdef __cplusplus
42702 extern "C"
42703 #endif
42704 char gmtime_r ();
42705 /* The GNU C library defines this for functions which it implements
42706 to always fail with ENOSYS. Some functions are actually named
42707 something starting with __ and the normal name is an alias. */
42708 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42709 choke me
42710 #endif
42711
42712 int
42713 main ()
42714 {
42715 return gmtime_r ();
42716 ;
42717 return 0;
42718 }
42719 _ACEOF
42720 rm -f conftest.$ac_objext conftest$ac_exeext
42721 if { (ac_try="$ac_link"
42722 case "(($ac_try" in
42723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42724 *) ac_try_echo=$ac_try;;
42725 esac
42726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42727 (eval "$ac_link") 2>conftest.er1
42728 ac_status=$?
42729 grep -v '^ *+' conftest.er1 >conftest.err
42730 rm -f conftest.er1
42731 cat conftest.err >&5
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); } && {
42734 test -z "$ac_c_werror_flag" ||
42735 test ! -s conftest.err
42736 } && test -s conftest$ac_exeext &&
42737 $as_test_x conftest$ac_exeext; then
42738 ac_cv_func_gmtime_r=yes
42739 else
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42742
42743 ac_cv_func_gmtime_r=no
42744 fi
42745
42746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42747 conftest$ac_exeext conftest.$ac_ext
42748 fi
42749 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42750 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42751 if test $ac_cv_func_gmtime_r = yes; then
42752 cat >>confdefs.h <<\_ACEOF
42753 #define HAVE_GMTIME_R 1
42754 _ACEOF
42755
42756 fi
42757
42758 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42759 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42760 if test "${ac_cv_func_readdir_r+set}" = set; then
42761 echo $ECHO_N "(cached) $ECHO_C" >&6
42762 else
42763 cat >conftest.$ac_ext <<_ACEOF
42764 /* confdefs.h. */
42765 _ACEOF
42766 cat confdefs.h >>conftest.$ac_ext
42767 cat >>conftest.$ac_ext <<_ACEOF
42768 /* end confdefs.h. */
42769 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42771 #define readdir_r innocuous_readdir_r
42772
42773 /* System header to define __stub macros and hopefully few prototypes,
42774 which can conflict with char readdir_r (); below.
42775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42776 <limits.h> exists even on freestanding compilers. */
42777
42778 #ifdef __STDC__
42779 # include <limits.h>
42780 #else
42781 # include <assert.h>
42782 #endif
42783
42784 #undef readdir_r
42785
42786 /* Override any GCC internal prototype to avoid an error.
42787 Use char because int might match the return type of a GCC
42788 builtin and then its argument prototype would still apply. */
42789 #ifdef __cplusplus
42790 extern "C"
42791 #endif
42792 char readdir_r ();
42793 /* The GNU C library defines this for functions which it implements
42794 to always fail with ENOSYS. Some functions are actually named
42795 something starting with __ and the normal name is an alias. */
42796 #if defined __stub_readdir_r || defined __stub___readdir_r
42797 choke me
42798 #endif
42799
42800 int
42801 main ()
42802 {
42803 return readdir_r ();
42804 ;
42805 return 0;
42806 }
42807 _ACEOF
42808 rm -f conftest.$ac_objext conftest$ac_exeext
42809 if { (ac_try="$ac_link"
42810 case "(($ac_try" in
42811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42812 *) ac_try_echo=$ac_try;;
42813 esac
42814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42815 (eval "$ac_link") 2>conftest.er1
42816 ac_status=$?
42817 grep -v '^ *+' conftest.er1 >conftest.err
42818 rm -f conftest.er1
42819 cat conftest.err >&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); } && {
42822 test -z "$ac_c_werror_flag" ||
42823 test ! -s conftest.err
42824 } && test -s conftest$ac_exeext &&
42825 $as_test_x conftest$ac_exeext; then
42826 ac_cv_func_readdir_r=yes
42827 else
42828 echo "$as_me: failed program was:" >&5
42829 sed 's/^/| /' conftest.$ac_ext >&5
42830
42831 ac_cv_func_readdir_r=no
42832 fi
42833
42834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42835 conftest$ac_exeext conftest.$ac_ext
42836 fi
42837 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42838 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42839 if test $ac_cv_func_readdir_r = yes; then
42840 cat >>confdefs.h <<\_ACEOF
42841 #define HAVE_READDIR_R 1
42842 _ACEOF
42843
42844 fi
42845
42846
42847
42848
42849 ac_ext=c
42850 ac_cpp='$CPP $CPPFLAGS'
42851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854
42855 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42856 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42857
42858 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42860 else
42861
42862
42863 ################################################################
42864
42865 ac_cv_func_which_gethostbyname_r=unknown
42866
42867 #
42868 # ONE ARGUMENT (sanity check)
42869 #
42870
42871 # This should fail, as there is no variant of gethostbyname_r() that takes
42872 # a single argument. If it actually compiles, then we can assume that
42873 # netdb.h is not declaring the function, and the compiler is thereby
42874 # assuming an implicit prototype. In which case, we're out of luck.
42875 #
42876 cat >conftest.$ac_ext <<_ACEOF
42877 /* confdefs.h. */
42878 _ACEOF
42879 cat confdefs.h >>conftest.$ac_ext
42880 cat >>conftest.$ac_ext <<_ACEOF
42881 /* end confdefs.h. */
42882 #include <netdb.h>
42883 int
42884 main ()
42885 {
42886
42887 char *name = "www.gnu.org";
42888 (void)gethostbyname_r(name) /* ; */
42889
42890 ;
42891 return 0;
42892 }
42893 _ACEOF
42894 rm -f conftest.$ac_objext
42895 if { (ac_try="$ac_compile"
42896 case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42899 esac
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_compile") 2>conftest.er1
42902 ac_status=$?
42903 grep -v '^ *+' conftest.er1 >conftest.err
42904 rm -f conftest.er1
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest.$ac_objext; then
42911 ac_cv_func_which_gethostbyname_r=no
42912 else
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42915
42916
42917 fi
42918
42919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42920
42921 #
42922 # SIX ARGUMENTS
42923 # (e.g. Linux)
42924 #
42925
42926 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42927
42928 cat >conftest.$ac_ext <<_ACEOF
42929 /* confdefs.h. */
42930 _ACEOF
42931 cat confdefs.h >>conftest.$ac_ext
42932 cat >>conftest.$ac_ext <<_ACEOF
42933 /* end confdefs.h. */
42934 #include <netdb.h>
42935 int
42936 main ()
42937 {
42938
42939 char *name = "www.gnu.org";
42940 struct hostent ret, *retp;
42941 char buf[1024];
42942 int buflen = 1024;
42943 int my_h_errno;
42944 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42945
42946 ;
42947 return 0;
42948 }
42949 _ACEOF
42950 rm -f conftest.$ac_objext
42951 if { (ac_try="$ac_compile"
42952 case "(($ac_try" in
42953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42954 *) ac_try_echo=$ac_try;;
42955 esac
42956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42957 (eval "$ac_compile") 2>conftest.er1
42958 ac_status=$?
42959 grep -v '^ *+' conftest.er1 >conftest.err
42960 rm -f conftest.er1
42961 cat conftest.err >&5
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); } && {
42964 test -z "$ac_c_werror_flag" ||
42965 test ! -s conftest.err
42966 } && test -s conftest.$ac_objext; then
42967 ac_cv_func_which_gethostbyname_r=six
42968 else
42969 echo "$as_me: failed program was:" >&5
42970 sed 's/^/| /' conftest.$ac_ext >&5
42971
42972
42973 fi
42974
42975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42976
42977 fi
42978
42979 #
42980 # FIVE ARGUMENTS
42981 # (e.g. Solaris)
42982 #
42983
42984 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42985
42986 cat >conftest.$ac_ext <<_ACEOF
42987 /* confdefs.h. */
42988 _ACEOF
42989 cat confdefs.h >>conftest.$ac_ext
42990 cat >>conftest.$ac_ext <<_ACEOF
42991 /* end confdefs.h. */
42992 #include <netdb.h>
42993 int
42994 main ()
42995 {
42996
42997 char *name = "www.gnu.org";
42998 struct hostent ret;
42999 char buf[1024];
43000 int buflen = 1024;
43001 int my_h_errno;
43002 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43003
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 rm -f conftest.$ac_objext
43009 if { (ac_try="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43012 *) ac_try_echo=$ac_try;;
43013 esac
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43016 ac_status=$?
43017 grep -v '^ *+' conftest.er1 >conftest.err
43018 rm -f conftest.er1
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_c_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.$ac_objext; then
43025 ac_cv_func_which_gethostbyname_r=five
43026 else
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43029
43030
43031 fi
43032
43033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43034
43035 fi
43036
43037 #
43038 # THREE ARGUMENTS
43039 # (e.g. AIX, HP-UX, Tru64)
43040 #
43041
43042 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43043
43044 cat >conftest.$ac_ext <<_ACEOF
43045 /* confdefs.h. */
43046 _ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050 #include <netdb.h>
43051 int
43052 main ()
43053 {
43054
43055 char *name = "www.gnu.org";
43056 struct hostent ret;
43057 struct hostent_data data;
43058 (void)gethostbyname_r(name, &ret, &data) /* ; */
43059
43060 ;
43061 return 0;
43062 }
43063 _ACEOF
43064 rm -f conftest.$ac_objext
43065 if { (ac_try="$ac_compile"
43066 case "(($ac_try" in
43067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43068 *) ac_try_echo=$ac_try;;
43069 esac
43070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43071 (eval "$ac_compile") 2>conftest.er1
43072 ac_status=$?
43073 grep -v '^ *+' conftest.er1 >conftest.err
43074 rm -f conftest.er1
43075 cat conftest.err >&5
43076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077 (exit $ac_status); } && {
43078 test -z "$ac_c_werror_flag" ||
43079 test ! -s conftest.err
43080 } && test -s conftest.$ac_objext; then
43081 ac_cv_func_which_gethostbyname_r=three
43082 else
43083 echo "$as_me: failed program was:" >&5
43084 sed 's/^/| /' conftest.$ac_ext >&5
43085
43086
43087 fi
43088
43089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43090
43091 fi
43092
43093 ################################################################
43094
43095
43096 fi
43097
43098 case "$ac_cv_func_which_gethostbyname_r" in
43099 three)
43100 { echo "$as_me:$LINENO: result: three" >&5
43101 echo "${ECHO_T}three" >&6; }
43102 cat >>confdefs.h <<\_ACEOF
43103 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43104 _ACEOF
43105
43106 ;;
43107
43108 five)
43109 { echo "$as_me:$LINENO: result: five" >&5
43110 echo "${ECHO_T}five" >&6; }
43111 cat >>confdefs.h <<\_ACEOF
43112 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43113 _ACEOF
43114
43115 ;;
43116
43117 six)
43118 { echo "$as_me:$LINENO: result: six" >&5
43119 echo "${ECHO_T}six" >&6; }
43120 cat >>confdefs.h <<\_ACEOF
43121 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43122 _ACEOF
43123
43124 ;;
43125
43126 no)
43127 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43128 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43129 ;;
43130
43131 unknown)
43132 { echo "$as_me:$LINENO: result: can't tell" >&5
43133 echo "${ECHO_T}can't tell" >&6; }
43134 ;;
43135
43136 *)
43137 { { echo "$as_me:$LINENO: error: internal error" >&5
43138 echo "$as_me: error: internal error" >&2;}
43139 { (exit 1); exit 1; }; }
43140 ;;
43141 esac
43142
43143 ac_ext=c
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148
43149
43150
43151 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43152 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43153 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43154 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43155 if test "${ac_cv_func_gethostbyname+set}" = set; then
43156 echo $ECHO_N "(cached) $ECHO_C" >&6
43157 else
43158 cat >conftest.$ac_ext <<_ACEOF
43159 /* confdefs.h. */
43160 _ACEOF
43161 cat confdefs.h >>conftest.$ac_ext
43162 cat >>conftest.$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43166 #define gethostbyname innocuous_gethostbyname
43167
43168 /* System header to define __stub macros and hopefully few prototypes,
43169 which can conflict with char gethostbyname (); below.
43170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43171 <limits.h> exists even on freestanding compilers. */
43172
43173 #ifdef __STDC__
43174 # include <limits.h>
43175 #else
43176 # include <assert.h>
43177 #endif
43178
43179 #undef gethostbyname
43180
43181 /* Override any GCC internal prototype to avoid an error.
43182 Use char because int might match the return type of a GCC
43183 builtin and then its argument prototype would still apply. */
43184 #ifdef __cplusplus
43185 extern "C"
43186 #endif
43187 char gethostbyname ();
43188 /* The GNU C library defines this for functions which it implements
43189 to always fail with ENOSYS. Some functions are actually named
43190 something starting with __ and the normal name is an alias. */
43191 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43192 choke me
43193 #endif
43194
43195 int
43196 main ()
43197 {
43198 return gethostbyname ();
43199 ;
43200 return 0;
43201 }
43202 _ACEOF
43203 rm -f conftest.$ac_objext conftest$ac_exeext
43204 if { (ac_try="$ac_link"
43205 case "(($ac_try" in
43206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43208 esac
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_link") 2>conftest.er1
43211 ac_status=$?
43212 grep -v '^ *+' conftest.er1 >conftest.err
43213 rm -f conftest.er1
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } && {
43217 test -z "$ac_c_werror_flag" ||
43218 test ! -s conftest.err
43219 } && test -s conftest$ac_exeext &&
43220 $as_test_x conftest$ac_exeext; then
43221 ac_cv_func_gethostbyname=yes
43222 else
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43225
43226 ac_cv_func_gethostbyname=no
43227 fi
43228
43229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43230 conftest$ac_exeext conftest.$ac_ext
43231 fi
43232 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43233 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43234 if test $ac_cv_func_gethostbyname = yes; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define HAVE_GETHOSTBYNAME 1
43237 _ACEOF
43238
43239 fi
43240
43241 fi
43242
43243 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43244 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43245 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43247 else
43248
43249 ac_ext=cpp
43250 ac_cpp='$CXXCPP $CPPFLAGS'
43251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43254
43255
43256 cat >conftest.$ac_ext <<_ACEOF
43257 /* confdefs.h. */
43258 _ACEOF
43259 cat confdefs.h >>conftest.$ac_ext
43260 cat >>conftest.$ac_ext <<_ACEOF
43261 /* end confdefs.h. */
43262 #include <netdb.h>
43263 int
43264 main ()
43265 {
43266
43267 char *name;
43268 char *proto;
43269 struct servent *se, *res;
43270 char buffer[2048];
43271 int buflen = 2048;
43272 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43273
43274 ;
43275 return 0;
43276 }
43277 _ACEOF
43278 rm -f conftest.$ac_objext
43279 if { (ac_try="$ac_compile"
43280 case "(($ac_try" in
43281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43282 *) ac_try_echo=$ac_try;;
43283 esac
43284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43285 (eval "$ac_compile") 2>conftest.er1
43286 ac_status=$?
43287 grep -v '^ *+' conftest.er1 >conftest.err
43288 rm -f conftest.er1
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } && {
43292 test -z "$ac_cxx_werror_flag" ||
43293 test ! -s conftest.err
43294 } && test -s conftest.$ac_objext; then
43295 ac_cv_func_which_getservbyname_r=six
43296 else
43297 echo "$as_me: failed program was:" >&5
43298 sed 's/^/| /' conftest.$ac_ext >&5
43299
43300
43301 cat >conftest.$ac_ext <<_ACEOF
43302 /* confdefs.h. */
43303 _ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43307 #include <netdb.h>
43308 int
43309 main ()
43310 {
43311
43312 char *name;
43313 char *proto;
43314 struct servent *se;
43315 char buffer[2048];
43316 int buflen = 2048;
43317 (void) getservbyname_r(name, proto, se, buffer, buflen)
43318
43319 ;
43320 return 0;
43321 }
43322 _ACEOF
43323 rm -f conftest.$ac_objext
43324 if { (ac_try="$ac_compile"
43325 case "(($ac_try" in
43326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43327 *) ac_try_echo=$ac_try;;
43328 esac
43329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43330 (eval "$ac_compile") 2>conftest.er1
43331 ac_status=$?
43332 grep -v '^ *+' conftest.er1 >conftest.err
43333 rm -f conftest.er1
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } && {
43337 test -z "$ac_cxx_werror_flag" ||
43338 test ! -s conftest.err
43339 } && test -s conftest.$ac_objext; then
43340 ac_cv_func_which_getservbyname_r=five
43341 else
43342 echo "$as_me: failed program was:" >&5
43343 sed 's/^/| /' conftest.$ac_ext >&5
43344
43345
43346 cat >conftest.$ac_ext <<_ACEOF
43347 /* confdefs.h. */
43348 _ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h. */
43352 #include <netdb.h>
43353 int
43354 main ()
43355 {
43356
43357 char *name;
43358 char *proto;
43359 struct servent *se;
43360 struct servent_data data;
43361 (void) getservbyname_r(name, proto, se, &data);
43362
43363 ;
43364 return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (ac_try="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43372 esac
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43375 ac_status=$?
43376 grep -v '^ *+' conftest.er1 >conftest.err
43377 rm -f conftest.er1
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_cxx_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43384 ac_cv_func_which_getservbyname_r=four
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389 ac_cv_func_which_getservbyname_r=no
43390
43391 fi
43392
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394
43395
43396 fi
43397
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43399
43400
43401 fi
43402
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404 ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43409
43410
43411
43412 fi
43413 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43414 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43415
43416 if test $ac_cv_func_which_getservbyname_r = six; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43419 _ACEOF
43420
43421 elif test $ac_cv_func_which_getservbyname_r = five; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43424 _ACEOF
43425
43426 elif test $ac_cv_func_which_getservbyname_r = four; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43429 _ACEOF
43430
43431 fi
43432
43433
43434 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43435 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43436
43437 for ac_func in getservbyname
43438 do
43439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43444 else
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43453 #define $ac_func innocuous_$ac_func
43454
43455 /* System header to define __stub macros and hopefully few prototypes,
43456 which can conflict with char $ac_func (); below.
43457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43458 <limits.h> exists even on freestanding compilers. */
43459
43460 #ifdef __STDC__
43461 # include <limits.h>
43462 #else
43463 # include <assert.h>
43464 #endif
43465
43466 #undef $ac_func
43467
43468 /* Override any GCC internal prototype to avoid an error.
43469 Use char because int might match the return type of a GCC
43470 builtin and then its argument prototype would still apply. */
43471 #ifdef __cplusplus
43472 extern "C"
43473 #endif
43474 char $ac_func ();
43475 /* The GNU C library defines this for functions which it implements
43476 to always fail with ENOSYS. Some functions are actually named
43477 something starting with __ and the normal name is an alias. */
43478 #if defined __stub_$ac_func || defined __stub___$ac_func
43479 choke me
43480 #endif
43481
43482 int
43483 main ()
43484 {
43485 return $ac_func ();
43486 ;
43487 return 0;
43488 }
43489 _ACEOF
43490 rm -f conftest.$ac_objext conftest$ac_exeext
43491 if { (ac_try="$ac_link"
43492 case "(($ac_try" in
43493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43494 *) ac_try_echo=$ac_try;;
43495 esac
43496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43497 (eval "$ac_link") 2>conftest.er1
43498 ac_status=$?
43499 grep -v '^ *+' conftest.er1 >conftest.err
43500 rm -f conftest.er1
43501 cat conftest.err >&5
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); } && {
43504 test -z "$ac_c_werror_flag" ||
43505 test ! -s conftest.err
43506 } && test -s conftest$ac_exeext &&
43507 $as_test_x conftest$ac_exeext; then
43508 eval "$as_ac_var=yes"
43509 else
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.$ac_ext >&5
43512
43513 eval "$as_ac_var=no"
43514 fi
43515
43516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43517 conftest$ac_exeext conftest.$ac_ext
43518 fi
43519 ac_res=`eval echo '${'$as_ac_var'}'`
43520 { echo "$as_me:$LINENO: result: $ac_res" >&5
43521 echo "${ECHO_T}$ac_res" >&6; }
43522 if test `eval echo '${'$as_ac_var'}'` = yes; then
43523 cat >>confdefs.h <<_ACEOF
43524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43525 _ACEOF
43526 cat >>confdefs.h <<\_ACEOF
43527 #define HAVE_GETSERVBYNAME 1
43528 _ACEOF
43529
43530 fi
43531 done
43532
43533 fi
43534
43535 if test "$wxUSE_THREADS" = "yes"; then
43536 cat >>confdefs.h <<\_ACEOF
43537 #define wxUSE_THREADS 1
43538 _ACEOF
43539
43540
43541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43542 else
43543 if test "$wx_cv_func_strtok_r" = "yes"; then
43544 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43545 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43546 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43548 { echo "$as_me:$LINENO: result: yes" >&5
43549 echo "${ECHO_T}yes" >&6; }
43550 else
43551 { echo "$as_me:$LINENO: result: no" >&5
43552 echo "${ECHO_T}no" >&6; }
43553 fi
43554 fi
43555 fi
43556
43557 if test "$WXGTK20" = 1 ; then
43558 cat >>confdefs.h <<_ACEOF
43559 #define __WXGTK20__ $WXGTK20
43560 _ACEOF
43561
43562 WXGTK12=1
43563 fi
43564
43565 if test "$WXGTK12" = 1 ; then
43566 cat >>confdefs.h <<_ACEOF
43567 #define __WXGTK12__ $WXGTK12
43568 _ACEOF
43569
43570 fi
43571
43572 if test "$WXGTK127" = 1 ; then
43573 cat >>confdefs.h <<_ACEOF
43574 #define __WXGTK127__ $WXGTK127
43575 _ACEOF
43576
43577 fi
43578
43579 if test "$WXGPE" = 1 ; then
43580 cat >>confdefs.h <<_ACEOF
43581 #define __WXGPE__ $WXGPE
43582 _ACEOF
43583
43584 fi
43585
43586 DEBUG_CFLAGS=
43587 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43588 DEBUG_CFLAGS="-g"
43589 wxUSE_OPTIMISE=no
43590 fi
43591
43592 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43593 wxUSE_DEBUG_INFO=yes
43594 if test "$GCC" = yes; then
43595 DEBUG_CFLAGS="-ggdb"
43596 fi
43597 fi
43598
43599 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define WXDEBUG 1
43602 _ACEOF
43603
43604 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43605 else
43606 if test "$wxUSE_GTK" = 1 ; then
43607 if test "x$wxGTK_VERSION" = "x1" ; then
43608 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43609 fi
43610 fi
43611 fi
43612
43613 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43614 cat >>confdefs.h <<\_ACEOF
43615 #define wxUSE_MEMORY_TRACING 1
43616 _ACEOF
43617
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43620 _ACEOF
43621
43622 cat >>confdefs.h <<\_ACEOF
43623 #define wxUSE_DEBUG_NEW_ALWAYS 1
43624 _ACEOF
43625
43626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43627 fi
43628
43629 if test "$wxUSE_DMALLOC" = "yes" ; then
43630 DMALLOC_LIBS="-ldmallocthcxx"
43631 fi
43632
43633 PROFILE_FLAGS=
43634 if test "$wxUSE_PROFILE" = "yes" ; then
43635 PROFILE_FLAGS=" -pg"
43636 fi
43637
43638 if test "$GCC" = "yes" ; then
43639 if test "$wxUSE_NO_RTTI" = "yes" ; then
43640 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43641 fi
43642 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43643 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43644 fi
43645 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43646 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43647 fi
43648
43649 case "${host}" in
43650 powerpc*-*-aix* )
43651 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43652 ;;
43653 *-hppa* )
43654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43655 ;;
43656 esac
43657 fi
43658
43659 OPTIMISE_CFLAGS=
43660 if test "$wxUSE_OPTIMISE" = "no" ; then
43661 if test "$GCC" = yes ; then
43662 OPTIMISE_CFLAGS="-O0"
43663 fi
43664 else
43665 if test "$GCC" = yes ; then
43666 case "${host}" in
43667 *-pc-os2_emx | *-pc-os2-emx )
43668 OPTIMISE_CFLAGS="-O2"
43669 ;;
43670 *)
43671 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43672 ;;
43673 esac
43674 else
43675 OPTIMISE_CFLAGS="-O"
43676 fi
43677 fi
43678
43679
43680 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define WXWIN_COMPATIBILITY_2_6 1
43683 _ACEOF
43684
43685
43686 WXWIN_COMPATIBILITY_2_8="yes"
43687 fi
43688
43689 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define WXWIN_COMPATIBILITY_2_8 1
43692 _ACEOF
43693
43694 fi
43695
43696
43697 if test "$wxUSE_GUI" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_GUI 1
43700 _ACEOF
43701
43702
43703 fi
43704
43705
43706 if test "$wxUSE_UNIX" = "yes"; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_UNIX 1
43709 _ACEOF
43710
43711 fi
43712
43713
43714 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43715
43716 HAVE_DL_FUNCS=0
43717 HAVE_SHL_FUNCS=0
43718 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43719 if test "$USE_DARWIN" = 1; then
43720 HAVE_DL_FUNCS=1
43721 elif test "$USE_DOS" = 1; then
43722 HAVE_DL_FUNCS=0
43723 else
43724
43725 for ac_func in dlopen
43726 do
43727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43731 echo $ECHO_N "(cached) $ECHO_C" >&6
43732 else
43733 cat >conftest.$ac_ext <<_ACEOF
43734 /* confdefs.h. */
43735 _ACEOF
43736 cat confdefs.h >>conftest.$ac_ext
43737 cat >>conftest.$ac_ext <<_ACEOF
43738 /* end confdefs.h. */
43739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43741 #define $ac_func innocuous_$ac_func
43742
43743 /* System header to define __stub macros and hopefully few prototypes,
43744 which can conflict with char $ac_func (); below.
43745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43746 <limits.h> exists even on freestanding compilers. */
43747
43748 #ifdef __STDC__
43749 # include <limits.h>
43750 #else
43751 # include <assert.h>
43752 #endif
43753
43754 #undef $ac_func
43755
43756 /* Override any GCC internal prototype to avoid an error.
43757 Use char because int might match the return type of a GCC
43758 builtin and then its argument prototype would still apply. */
43759 #ifdef __cplusplus
43760 extern "C"
43761 #endif
43762 char $ac_func ();
43763 /* The GNU C library defines this for functions which it implements
43764 to always fail with ENOSYS. Some functions are actually named
43765 something starting with __ and the normal name is an alias. */
43766 #if defined __stub_$ac_func || defined __stub___$ac_func
43767 choke me
43768 #endif
43769
43770 int
43771 main ()
43772 {
43773 return $ac_func ();
43774 ;
43775 return 0;
43776 }
43777 _ACEOF
43778 rm -f conftest.$ac_objext conftest$ac_exeext
43779 if { (ac_try="$ac_link"
43780 case "(($ac_try" in
43781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43782 *) ac_try_echo=$ac_try;;
43783 esac
43784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43785 (eval "$ac_link") 2>conftest.er1
43786 ac_status=$?
43787 grep -v '^ *+' conftest.er1 >conftest.err
43788 rm -f conftest.er1
43789 cat conftest.err >&5
43790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43791 (exit $ac_status); } && {
43792 test -z "$ac_c_werror_flag" ||
43793 test ! -s conftest.err
43794 } && test -s conftest$ac_exeext &&
43795 $as_test_x conftest$ac_exeext; then
43796 eval "$as_ac_var=yes"
43797 else
43798 echo "$as_me: failed program was:" >&5
43799 sed 's/^/| /' conftest.$ac_ext >&5
43800
43801 eval "$as_ac_var=no"
43802 fi
43803
43804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43805 conftest$ac_exeext conftest.$ac_ext
43806 fi
43807 ac_res=`eval echo '${'$as_ac_var'}'`
43808 { echo "$as_me:$LINENO: result: $ac_res" >&5
43809 echo "${ECHO_T}$ac_res" >&6; }
43810 if test `eval echo '${'$as_ac_var'}'` = yes; then
43811 cat >>confdefs.h <<_ACEOF
43812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43813 _ACEOF
43814
43815 cat >>confdefs.h <<\_ACEOF
43816 #define HAVE_DLOPEN 1
43817 _ACEOF
43818
43819 HAVE_DL_FUNCS=1
43820
43821 else
43822
43823 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43824 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43825 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43826 echo $ECHO_N "(cached) $ECHO_C" >&6
43827 else
43828 ac_check_lib_save_LIBS=$LIBS
43829 LIBS="-ldl $LIBS"
43830 cat >conftest.$ac_ext <<_ACEOF
43831 /* confdefs.h. */
43832 _ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43836
43837 /* Override any GCC internal prototype to avoid an error.
43838 Use char because int might match the return type of a GCC
43839 builtin and then its argument prototype would still apply. */
43840 #ifdef __cplusplus
43841 extern "C"
43842 #endif
43843 char dlopen ();
43844 int
43845 main ()
43846 {
43847 return dlopen ();
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext conftest$ac_exeext
43853 if { (ac_try="$ac_link"
43854 case "(($ac_try" in
43855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43856 *) ac_try_echo=$ac_try;;
43857 esac
43858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43859 (eval "$ac_link") 2>conftest.er1
43860 ac_status=$?
43861 grep -v '^ *+' conftest.er1 >conftest.err
43862 rm -f conftest.er1
43863 cat conftest.err >&5
43864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865 (exit $ac_status); } && {
43866 test -z "$ac_c_werror_flag" ||
43867 test ! -s conftest.err
43868 } && test -s conftest$ac_exeext &&
43869 $as_test_x conftest$ac_exeext; then
43870 ac_cv_lib_dl_dlopen=yes
43871 else
43872 echo "$as_me: failed program was:" >&5
43873 sed 's/^/| /' conftest.$ac_ext >&5
43874
43875 ac_cv_lib_dl_dlopen=no
43876 fi
43877
43878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43879 conftest$ac_exeext conftest.$ac_ext
43880 LIBS=$ac_check_lib_save_LIBS
43881 fi
43882 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43883 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43884 if test $ac_cv_lib_dl_dlopen = yes; then
43885
43886 cat >>confdefs.h <<\_ACEOF
43887 #define HAVE_DLOPEN 1
43888 _ACEOF
43889
43890 HAVE_DL_FUNCS=1
43891 DL_LINK=" -ldl$DL_LINK"
43892
43893 else
43894
43895
43896 for ac_func in shl_load
43897 do
43898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43902 echo $ECHO_N "(cached) $ECHO_C" >&6
43903 else
43904 cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h. */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h. */
43910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43912 #define $ac_func innocuous_$ac_func
43913
43914 /* System header to define __stub macros and hopefully few prototypes,
43915 which can conflict with char $ac_func (); below.
43916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43917 <limits.h> exists even on freestanding compilers. */
43918
43919 #ifdef __STDC__
43920 # include <limits.h>
43921 #else
43922 # include <assert.h>
43923 #endif
43924
43925 #undef $ac_func
43926
43927 /* Override any GCC internal prototype to avoid an error.
43928 Use char because int might match the return type of a GCC
43929 builtin and then its argument prototype would still apply. */
43930 #ifdef __cplusplus
43931 extern "C"
43932 #endif
43933 char $ac_func ();
43934 /* The GNU C library defines this for functions which it implements
43935 to always fail with ENOSYS. Some functions are actually named
43936 something starting with __ and the normal name is an alias. */
43937 #if defined __stub_$ac_func || defined __stub___$ac_func
43938 choke me
43939 #endif
43940
43941 int
43942 main ()
43943 {
43944 return $ac_func ();
43945 ;
43946 return 0;
43947 }
43948 _ACEOF
43949 rm -f conftest.$ac_objext conftest$ac_exeext
43950 if { (ac_try="$ac_link"
43951 case "(($ac_try" in
43952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43953 *) ac_try_echo=$ac_try;;
43954 esac
43955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43956 (eval "$ac_link") 2>conftest.er1
43957 ac_status=$?
43958 grep -v '^ *+' conftest.er1 >conftest.err
43959 rm -f conftest.er1
43960 cat conftest.err >&5
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); } && {
43963 test -z "$ac_c_werror_flag" ||
43964 test ! -s conftest.err
43965 } && test -s conftest$ac_exeext &&
43966 $as_test_x conftest$ac_exeext; then
43967 eval "$as_ac_var=yes"
43968 else
43969 echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43971
43972 eval "$as_ac_var=no"
43973 fi
43974
43975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43976 conftest$ac_exeext conftest.$ac_ext
43977 fi
43978 ac_res=`eval echo '${'$as_ac_var'}'`
43979 { echo "$as_me:$LINENO: result: $ac_res" >&5
43980 echo "${ECHO_T}$ac_res" >&6; }
43981 if test `eval echo '${'$as_ac_var'}'` = yes; then
43982 cat >>confdefs.h <<_ACEOF
43983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43984 _ACEOF
43985
43986 cat >>confdefs.h <<\_ACEOF
43987 #define HAVE_SHL_LOAD 1
43988 _ACEOF
43989
43990 HAVE_SHL_FUNCS=1
43991
43992 else
43993
43994 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43995 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43996 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43997 echo $ECHO_N "(cached) $ECHO_C" >&6
43998 else
43999 ac_check_lib_save_LIBS=$LIBS
44000 LIBS="-lshl_load $LIBS"
44001 cat >conftest.$ac_ext <<_ACEOF
44002 /* confdefs.h. */
44003 _ACEOF
44004 cat confdefs.h >>conftest.$ac_ext
44005 cat >>conftest.$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44007
44008 /* Override any GCC internal prototype to avoid an error.
44009 Use char because int might match the return type of a GCC
44010 builtin and then its argument prototype would still apply. */
44011 #ifdef __cplusplus
44012 extern "C"
44013 #endif
44014 char dld ();
44015 int
44016 main ()
44017 {
44018 return dld ();
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 rm -f conftest.$ac_objext conftest$ac_exeext
44024 if { (ac_try="$ac_link"
44025 case "(($ac_try" in
44026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44027 *) ac_try_echo=$ac_try;;
44028 esac
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_link") 2>conftest.er1
44031 ac_status=$?
44032 grep -v '^ *+' conftest.er1 >conftest.err
44033 rm -f conftest.er1
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_c_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest$ac_exeext &&
44040 $as_test_x conftest$ac_exeext; then
44041 ac_cv_lib_shl_load_dld=yes
44042 else
44043 echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44045
44046 ac_cv_lib_shl_load_dld=no
44047 fi
44048
44049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44050 conftest$ac_exeext conftest.$ac_ext
44051 LIBS=$ac_check_lib_save_LIBS
44052 fi
44053 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44054 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44055 if test $ac_cv_lib_shl_load_dld = yes; then
44056
44057 HAVE_SHL_FUNCS=1
44058 DL_LINK=" -ldld$DL_LINK"
44059
44060 fi
44061
44062
44063 fi
44064 done
44065
44066
44067 fi
44068
44069
44070 fi
44071 done
44072
44073
44074 if test "$HAVE_DL_FUNCS" = 1; then
44075
44076 for ac_func in dlerror
44077 do
44078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44079 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44081 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44082 echo $ECHO_N "(cached) $ECHO_C" >&6
44083 else
44084 cat >conftest.$ac_ext <<_ACEOF
44085 /* confdefs.h. */
44086 _ACEOF
44087 cat confdefs.h >>conftest.$ac_ext
44088 cat >>conftest.$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44092 #define $ac_func innocuous_$ac_func
44093
44094 /* System header to define __stub macros and hopefully few prototypes,
44095 which can conflict with char $ac_func (); below.
44096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44097 <limits.h> exists even on freestanding compilers. */
44098
44099 #ifdef __STDC__
44100 # include <limits.h>
44101 #else
44102 # include <assert.h>
44103 #endif
44104
44105 #undef $ac_func
44106
44107 /* Override any GCC internal prototype to avoid an error.
44108 Use char because int might match the return type of a GCC
44109 builtin and then its argument prototype would still apply. */
44110 #ifdef __cplusplus
44111 extern "C"
44112 #endif
44113 char $ac_func ();
44114 /* The GNU C library defines this for functions which it implements
44115 to always fail with ENOSYS. Some functions are actually named
44116 something starting with __ and the normal name is an alias. */
44117 #if defined __stub_$ac_func || defined __stub___$ac_func
44118 choke me
44119 #endif
44120
44121 int
44122 main ()
44123 {
44124 return $ac_func ();
44125 ;
44126 return 0;
44127 }
44128 _ACEOF
44129 rm -f conftest.$ac_objext conftest$ac_exeext
44130 if { (ac_try="$ac_link"
44131 case "(($ac_try" in
44132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44133 *) ac_try_echo=$ac_try;;
44134 esac
44135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44136 (eval "$ac_link") 2>conftest.er1
44137 ac_status=$?
44138 grep -v '^ *+' conftest.er1 >conftest.err
44139 rm -f conftest.er1
44140 cat conftest.err >&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); } && {
44143 test -z "$ac_c_werror_flag" ||
44144 test ! -s conftest.err
44145 } && test -s conftest$ac_exeext &&
44146 $as_test_x conftest$ac_exeext; then
44147 eval "$as_ac_var=yes"
44148 else
44149 echo "$as_me: failed program was:" >&5
44150 sed 's/^/| /' conftest.$ac_ext >&5
44151
44152 eval "$as_ac_var=no"
44153 fi
44154
44155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44156 conftest$ac_exeext conftest.$ac_ext
44157 fi
44158 ac_res=`eval echo '${'$as_ac_var'}'`
44159 { echo "$as_me:$LINENO: result: $ac_res" >&5
44160 echo "${ECHO_T}$ac_res" >&6; }
44161 if test `eval echo '${'$as_ac_var'}'` = yes; then
44162 cat >>confdefs.h <<_ACEOF
44163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44164 _ACEOF
44165 cat >>confdefs.h <<\_ACEOF
44166 #define HAVE_DLERROR 1
44167 _ACEOF
44168
44169 else
44170
44171 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44172 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44173 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44174 echo $ECHO_N "(cached) $ECHO_C" >&6
44175 else
44176 ac_check_lib_save_LIBS=$LIBS
44177 LIBS="-ldl $LIBS"
44178 cat >conftest.$ac_ext <<_ACEOF
44179 /* confdefs.h. */
44180 _ACEOF
44181 cat confdefs.h >>conftest.$ac_ext
44182 cat >>conftest.$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44184
44185 /* Override any GCC internal prototype to avoid an error.
44186 Use char because int might match the return type of a GCC
44187 builtin and then its argument prototype would still apply. */
44188 #ifdef __cplusplus
44189 extern "C"
44190 #endif
44191 char dlerror ();
44192 int
44193 main ()
44194 {
44195 return dlerror ();
44196 ;
44197 return 0;
44198 }
44199 _ACEOF
44200 rm -f conftest.$ac_objext conftest$ac_exeext
44201 if { (ac_try="$ac_link"
44202 case "(($ac_try" in
44203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44204 *) ac_try_echo=$ac_try;;
44205 esac
44206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44207 (eval "$ac_link") 2>conftest.er1
44208 ac_status=$?
44209 grep -v '^ *+' conftest.er1 >conftest.err
44210 rm -f conftest.er1
44211 cat conftest.err >&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } && {
44214 test -z "$ac_c_werror_flag" ||
44215 test ! -s conftest.err
44216 } && test -s conftest$ac_exeext &&
44217 $as_test_x conftest$ac_exeext; then
44218 ac_cv_lib_dl_dlerror=yes
44219 else
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44222
44223 ac_cv_lib_dl_dlerror=no
44224 fi
44225
44226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44227 conftest$ac_exeext conftest.$ac_ext
44228 LIBS=$ac_check_lib_save_LIBS
44229 fi
44230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44231 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44232 if test $ac_cv_lib_dl_dlerror = yes; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define HAVE_DLERROR 1
44235 _ACEOF
44236
44237 fi
44238
44239
44240
44241 fi
44242 done
44243
44244 fi
44245 fi
44246
44247 if test "$HAVE_DL_FUNCS" = 0; then
44248 if test "$HAVE_SHL_FUNCS" = 0; then
44249 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44250 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44251 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44252 wxUSE_DYNAMIC_LOADER=no
44253 wxUSE_DYNLIB_CLASS=no
44254 else
44255 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44256 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44257 fi
44258 fi
44259 fi
44260 fi
44261 fi
44262
44263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_DYNAMIC_LOADER 1
44266 _ACEOF
44267
44268 fi
44269 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_DYNLIB_CLASS 1
44272 _ACEOF
44273
44274 fi
44275
44276
44277
44278 if test "$wxUSE_PLUGINS" = "yes" ; then
44279 if test "$wxUSE_SHARED" = "no" ; then
44280 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44281 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44282 wxUSE_PLUGINS=no
44283 fi
44284 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44285 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44286 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44287 wxUSE_PLUGINS=no
44288 fi
44289 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44290 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44291 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44292 wxUSE_PLUGINS=no
44293 fi
44294 if test "$wxUSE_PLUGINS" = "yes" ; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_PLUGINS 1
44297 _ACEOF
44298
44299 fi
44300 fi
44301
44302
44303 if test "$wxUSE_STL" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_STL 1
44306 _ACEOF
44307
44308 fi
44309
44310 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_EXTENDED_RTTI 1
44313 _ACEOF
44314
44315 fi
44316
44317 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_APPLE_IEEE 1
44320 _ACEOF
44321
44322 fi
44323
44324 if test "$wxUSE_TIMER" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_TIMER 1
44327 _ACEOF
44328
44329 fi
44330
44331 if test "$USE_UNIX" = "1" ; then
44332 if test "$wxUSE_MGL" != 1; then
44333 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44334 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44335 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44337 else
44338
44339 cat >conftest.$ac_ext <<_ACEOF
44340 /* confdefs.h. */
44341 _ACEOF
44342 cat confdefs.h >>conftest.$ac_ext
44343 cat >>conftest.$ac_ext <<_ACEOF
44344 /* end confdefs.h. */
44345
44346 #include <sys/ioctl.h>
44347 #include <sys/soundcard.h>
44348
44349 int
44350 main ()
44351 {
44352
44353 ioctl(0, SNDCTL_DSP_SPEED, 0);
44354
44355 ;
44356 return 0;
44357 }
44358 _ACEOF
44359 rm -f conftest.$ac_objext conftest$ac_exeext
44360 if { (ac_try="$ac_link"
44361 case "(($ac_try" in
44362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44363 *) ac_try_echo=$ac_try;;
44364 esac
44365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44366 (eval "$ac_link") 2>conftest.er1
44367 ac_status=$?
44368 grep -v '^ *+' conftest.er1 >conftest.err
44369 rm -f conftest.er1
44370 cat conftest.err >&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } && {
44373 test -z "$ac_c_werror_flag" ||
44374 test ! -s conftest.err
44375 } && test -s conftest$ac_exeext &&
44376 $as_test_x conftest$ac_exeext; then
44377 ac_cv_header_sys_soundcard=yes
44378 else
44379 echo "$as_me: failed program was:" >&5
44380 sed 's/^/| /' conftest.$ac_ext >&5
44381
44382
44383 saveLibs="$LIBS"
44384 LIBS="$saveLibs -lossaudio"
44385 cat >conftest.$ac_ext <<_ACEOF
44386 /* confdefs.h. */
44387 _ACEOF
44388 cat confdefs.h >>conftest.$ac_ext
44389 cat >>conftest.$ac_ext <<_ACEOF
44390 /* end confdefs.h. */
44391
44392 #include <sys/ioctl.h>
44393 #include <sys/soundcard.h>
44394
44395 int
44396 main ()
44397 {
44398
44399 ioctl(0, SNDCTL_DSP_SPEED, 0);
44400
44401 ;
44402 return 0;
44403 }
44404 _ACEOF
44405 rm -f conftest.$ac_objext conftest$ac_exeext
44406 if { (ac_try="$ac_link"
44407 case "(($ac_try" in
44408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44409 *) ac_try_echo=$ac_try;;
44410 esac
44411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44412 (eval "$ac_link") 2>conftest.er1
44413 ac_status=$?
44414 grep -v '^ *+' conftest.er1 >conftest.err
44415 rm -f conftest.er1
44416 cat conftest.err >&5
44417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44418 (exit $ac_status); } && {
44419 test -z "$ac_c_werror_flag" ||
44420 test ! -s conftest.err
44421 } && test -s conftest$ac_exeext &&
44422 $as_test_x conftest$ac_exeext; then
44423 ac_cv_header_sys_soundcard=yes
44424 else
44425 echo "$as_me: failed program was:" >&5
44426 sed 's/^/| /' conftest.$ac_ext >&5
44427
44428
44429 LIBS="$saveLibs"
44430 ac_cv_header_sys_soundcard=no
44431
44432
44433 fi
44434
44435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44436 conftest$ac_exeext conftest.$ac_ext
44437
44438
44439 fi
44440
44441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44442 conftest$ac_exeext conftest.$ac_ext
44443
44444 fi
44445 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44446 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44447 fi
44448
44449 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define HAVE_SYS_SOUNDCARD_H 1
44452 _ACEOF
44453
44454 fi
44455 fi
44456
44457 WITH_PLUGIN_SDL=0
44458 if test "$wxUSE_SOUND" = "yes"; then
44459 if test "$USE_UNIX" = "1" ; then
44460 if test "$wxUSE_LIBSDL" != "no"; then
44461
44462 # Check whether --with-sdl-prefix was given.
44463 if test "${with_sdl_prefix+set}" = set; then
44464 withval=$with_sdl_prefix; sdl_prefix="$withval"
44465 else
44466 sdl_prefix=""
44467 fi
44468
44469
44470 # Check whether --with-sdl-exec-prefix was given.
44471 if test "${with_sdl_exec_prefix+set}" = set; then
44472 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44473 else
44474 sdl_exec_prefix=""
44475 fi
44476
44477 # Check whether --enable-sdltest was given.
44478 if test "${enable_sdltest+set}" = set; then
44479 enableval=$enable_sdltest;
44480 else
44481 enable_sdltest=yes
44482 fi
44483
44484
44485 if test x$sdl_exec_prefix != x ; then
44486 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44487 if test x${SDL_CONFIG+set} != xset ; then
44488 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44489 fi
44490 fi
44491 if test x$sdl_prefix != x ; then
44492 sdl_args="$sdl_args --prefix=$sdl_prefix"
44493 if test x${SDL_CONFIG+set} != xset ; then
44494 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44495 fi
44496 fi
44497
44498 if test "x$prefix" != xNONE; then
44499 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44500 fi
44501 # Extract the first word of "sdl-config", so it can be a program name with args.
44502 set dummy sdl-config; ac_word=$2
44503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44505 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44506 echo $ECHO_N "(cached) $ECHO_C" >&6
44507 else
44508 case $SDL_CONFIG in
44509 [\\/]* | ?:[\\/]*)
44510 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44511 ;;
44512 *)
44513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44514 for as_dir in $PATH
44515 do
44516 IFS=$as_save_IFS
44517 test -z "$as_dir" && as_dir=.
44518 for ac_exec_ext in '' $ac_executable_extensions; do
44519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44520 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44522 break 2
44523 fi
44524 done
44525 done
44526 IFS=$as_save_IFS
44527
44528 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44529 ;;
44530 esac
44531 fi
44532 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44533 if test -n "$SDL_CONFIG"; then
44534 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44535 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44536 else
44537 { echo "$as_me:$LINENO: result: no" >&5
44538 echo "${ECHO_T}no" >&6; }
44539 fi
44540
44541
44542 min_sdl_version=1.2.0
44543 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44544 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44545 no_sdl=""
44546 if test "$SDL_CONFIG" = "no" ; then
44547 no_sdl=yes
44548 else
44549 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44550 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44551
44552 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44554 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44556 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44558 if test "x$enable_sdltest" = "xyes" ; then
44559 ac_save_CFLAGS="$CFLAGS"
44560 ac_save_CXXFLAGS="$CXXFLAGS"
44561 ac_save_LIBS="$LIBS"
44562 CFLAGS="$CFLAGS $SDL_CFLAGS"
44563 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44564 LIBS="$LIBS $SDL_LIBS"
44565 rm -f conf.sdltest
44566 if test "$cross_compiling" = yes; then
44567 echo $ac_n "cross compiling; assumed OK... $ac_c"
44568 else
44569 cat >conftest.$ac_ext <<_ACEOF
44570 /* confdefs.h. */
44571 _ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h. */
44575
44576 #include <stdio.h>
44577 #include <stdlib.h>
44578 #include <string.h>
44579 #include "SDL.h"
44580
44581 char*
44582 my_strdup (char *str)
44583 {
44584 char *new_str;
44585
44586 if (str)
44587 {
44588 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44589 strcpy (new_str, str);
44590 }
44591 else
44592 new_str = NULL;
44593
44594 return new_str;
44595 }
44596
44597 int main (int argc, char *argv[])
44598 {
44599 int major, minor, micro;
44600 char *tmp_version;
44601
44602 /* This hangs on some systems (?)
44603 system ("touch conf.sdltest");
44604 */
44605 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44606
44607 /* HP/UX 9 (%@#!) writes to sscanf strings */
44608 tmp_version = my_strdup("$min_sdl_version");
44609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44610 printf("%s, bad version string\n", "$min_sdl_version");
44611 exit(1);
44612 }
44613
44614 if (($sdl_major_version > major) ||
44615 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44616 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44617 {
44618 return 0;
44619 }
44620 else
44621 {
44622 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44623 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44624 printf("*** best to upgrade to the required version.\n");
44625 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44626 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44627 printf("*** config.cache before re-running configure\n");
44628 return 1;
44629 }
44630 }
44631
44632
44633 _ACEOF
44634 rm -f conftest$ac_exeext
44635 if { (ac_try="$ac_link"
44636 case "(($ac_try" in
44637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44638 *) ac_try_echo=$ac_try;;
44639 esac
44640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44641 (eval "$ac_link") 2>&5
44642 ac_status=$?
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44645 { (case "(($ac_try" in
44646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44647 *) ac_try_echo=$ac_try;;
44648 esac
44649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44650 (eval "$ac_try") 2>&5
44651 ac_status=$?
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); }; }; then
44654 :
44655 else
44656 echo "$as_me: program exited with status $ac_status" >&5
44657 echo "$as_me: failed program was:" >&5
44658 sed 's/^/| /' conftest.$ac_ext >&5
44659
44660 ( exit $ac_status )
44661 no_sdl=yes
44662 fi
44663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44664 fi
44665
44666
44667 CFLAGS="$ac_save_CFLAGS"
44668 CXXFLAGS="$ac_save_CXXFLAGS"
44669 LIBS="$ac_save_LIBS"
44670 fi
44671 fi
44672 if test "x$no_sdl" = x ; then
44673 { echo "$as_me:$LINENO: result: yes" >&5
44674 echo "${ECHO_T}yes" >&6; }
44675
44676 EXTRALIBS_SDL="$SDL_LIBS"
44677 CFLAGS="$SDL_CFLAGS $CFLAGS"
44678 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44679 cat >>confdefs.h <<\_ACEOF
44680 #define wxUSE_LIBSDL 1
44681 _ACEOF
44682
44683
44684 else
44685 { echo "$as_me:$LINENO: result: no" >&5
44686 echo "${ECHO_T}no" >&6; }
44687 if test "$SDL_CONFIG" = "no" ; then
44688 echo "*** The sdl-config script installed by SDL could not be found"
44689 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44690 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44691 echo "*** full path to sdl-config."
44692 else
44693 if test -f conf.sdltest ; then
44694 :
44695 else
44696 echo "*** Could not run SDL test program, checking why..."
44697 CFLAGS="$CFLAGS $SDL_CFLAGS"
44698 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44699 LIBS="$LIBS $SDL_LIBS"
44700 cat >conftest.$ac_ext <<_ACEOF
44701 /* confdefs.h. */
44702 _ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44706
44707 #include <stdio.h>
44708 #include "SDL.h"
44709
44710 int main(int argc, char *argv[])
44711 { return 0; }
44712 #undef main
44713 #define main K_and_R_C_main
44714
44715 int
44716 main ()
44717 {
44718 return 0;
44719 ;
44720 return 0;
44721 }
44722 _ACEOF
44723 rm -f conftest.$ac_objext conftest$ac_exeext
44724 if { (ac_try="$ac_link"
44725 case "(($ac_try" in
44726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44727 *) ac_try_echo=$ac_try;;
44728 esac
44729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44730 (eval "$ac_link") 2>conftest.er1
44731 ac_status=$?
44732 grep -v '^ *+' conftest.er1 >conftest.err
44733 rm -f conftest.er1
44734 cat conftest.err >&5
44735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44736 (exit $ac_status); } && {
44737 test -z "$ac_c_werror_flag" ||
44738 test ! -s conftest.err
44739 } && test -s conftest$ac_exeext &&
44740 $as_test_x conftest$ac_exeext; then
44741 echo "*** The test program compiled, but did not run. This usually means"
44742 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44743 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44744 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44745 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44746 echo "*** is required on your system"
44747 echo "***"
44748 echo "*** If you have an old version installed, it is best to remove it, although"
44749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44750 else
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.$ac_ext >&5
44753
44754 echo "*** The test program failed to compile or link. See the file config.log for the"
44755 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44756 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44757 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44758 fi
44759
44760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44761 conftest$ac_exeext conftest.$ac_ext
44762 CFLAGS="$ac_save_CFLAGS"
44763 CXXFLAGS="$ac_save_CXXFLAGS"
44764 LIBS="$ac_save_LIBS"
44765 fi
44766 fi
44767 SDL_CFLAGS=""
44768 SDL_LIBS=""
44769 wxUSE_LIBSDL="no"
44770 fi
44771
44772
44773 rm -f conf.sdltest
44774
44775 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44776 WITH_PLUGIN_SDL=1
44777 fi
44778 fi
44779 else
44780 if test "$wxUSE_MGL" = 1; then
44781 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44782 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44783 wxUSE_SOUND="no"
44784 fi
44785 fi
44786 fi
44787
44788 if test "$wxUSE_SOUND" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_SOUND 1
44791 _ACEOF
44792
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44794 fi
44795
44796 if test "$WXGTK20" = 1; then
44797
44798
44799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44800 if test -n "$ac_tool_prefix"; then
44801 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44802 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44806 echo $ECHO_N "(cached) $ECHO_C" >&6
44807 else
44808 case $PKG_CONFIG in
44809 [\\/]* | ?:[\\/]*)
44810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44811 ;;
44812 *)
44813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44814 for as_dir in $PATH
44815 do
44816 IFS=$as_save_IFS
44817 test -z "$as_dir" && as_dir=.
44818 for ac_exec_ext in '' $ac_executable_extensions; do
44819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44822 break 2
44823 fi
44824 done
44825 done
44826 IFS=$as_save_IFS
44827
44828 ;;
44829 esac
44830 fi
44831 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44832 if test -n "$PKG_CONFIG"; then
44833 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44834 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44835 else
44836 { echo "$as_me:$LINENO: result: no" >&5
44837 echo "${ECHO_T}no" >&6; }
44838 fi
44839
44840
44841 fi
44842 if test -z "$ac_cv_path_PKG_CONFIG"; then
44843 ac_pt_PKG_CONFIG=$PKG_CONFIG
44844 # Extract the first word of "pkg-config", so it can be a program name with args.
44845 set dummy pkg-config; ac_word=$2
44846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44848 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44849 echo $ECHO_N "(cached) $ECHO_C" >&6
44850 else
44851 case $ac_pt_PKG_CONFIG in
44852 [\\/]* | ?:[\\/]*)
44853 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44854 ;;
44855 *)
44856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44857 for as_dir in $PATH
44858 do
44859 IFS=$as_save_IFS
44860 test -z "$as_dir" && as_dir=.
44861 for ac_exec_ext in '' $ac_executable_extensions; do
44862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44863 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44865 break 2
44866 fi
44867 done
44868 done
44869 IFS=$as_save_IFS
44870
44871 ;;
44872 esac
44873 fi
44874 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44875 if test -n "$ac_pt_PKG_CONFIG"; then
44876 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44877 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44878 else
44879 { echo "$as_me:$LINENO: result: no" >&5
44880 echo "${ECHO_T}no" >&6; }
44881 fi
44882
44883 if test "x$ac_pt_PKG_CONFIG" = x; then
44884 PKG_CONFIG=""
44885 else
44886 case $cross_compiling:$ac_tool_warned in
44887 yes:)
44888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44889 whose name does not start with the host triplet. If you think this
44890 configuration is useful to you, please write to autoconf@gnu.org." >&5
44891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44892 whose name does not start with the host triplet. If you think this
44893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44894 ac_tool_warned=yes ;;
44895 esac
44896 PKG_CONFIG=$ac_pt_PKG_CONFIG
44897 fi
44898 else
44899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44900 fi
44901
44902 fi
44903 if test -n "$PKG_CONFIG"; then
44904 _pkg_min_version=0.9.0
44905 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44906 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44908 { echo "$as_me:$LINENO: result: yes" >&5
44909 echo "${ECHO_T}yes" >&6; }
44910 else
44911 { echo "$as_me:$LINENO: result: no" >&5
44912 echo "${ECHO_T}no" >&6; }
44913 PKG_CONFIG=""
44914 fi
44915
44916 fi
44917
44918 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44919 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44920
44921
44922 pkg_failed=no
44923 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44924 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44925
44926 if test -n "$PKG_CONFIG"; then
44927 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44928 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44929 else
44930 if test -n "$PKG_CONFIG" && \
44931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44932 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44933 ac_status=$?
44934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44935 (exit $ac_status); }; then
44936 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44937 else
44938 pkg_failed=yes
44939 fi
44940 fi
44941 else
44942 pkg_failed=untried
44943 fi
44944 if test -n "$PKG_CONFIG"; then
44945 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44946 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44947 else
44948 if test -n "$PKG_CONFIG" && \
44949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44950 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44951 ac_status=$?
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); }; then
44954 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44955 else
44956 pkg_failed=yes
44957 fi
44958 fi
44959 else
44960 pkg_failed=untried
44961 fi
44962
44963
44964
44965 if test $pkg_failed = yes; then
44966
44967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44968 _pkg_short_errors_supported=yes
44969 else
44970 _pkg_short_errors_supported=no
44971 fi
44972 if test $_pkg_short_errors_supported = yes; then
44973 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44974 else
44975 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44976 fi
44977 # Put the nasty error message in config.log where it belongs
44978 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44979
44980
44981 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44982 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44983 wxUSE_LIBGNOMEPRINT="no"
44984
44985
44986 elif test $pkg_failed = untried; then
44987
44988 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44989 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44990 wxUSE_LIBGNOMEPRINT="no"
44991
44992
44993 else
44994 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44995 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44996 { echo "$as_me:$LINENO: result: yes" >&5
44997 echo "${ECHO_T}yes" >&6; }
44998
44999 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45000 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_LIBGNOMEPRINT 1
45003 _ACEOF
45004
45005
45006 fi
45007 fi
45008 fi
45009
45010 if test "$wxUSE_MIMETYPE" = "yes" ; then
45011 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45012
45013
45014 pkg_failed=no
45015 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45016 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45017
45018 if test -n "$PKG_CONFIG"; then
45019 if test -n "$GNOMEVFS_CFLAGS"; then
45020 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45021 else
45022 if test -n "$PKG_CONFIG" && \
45023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45024 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45025 ac_status=$?
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); }; then
45028 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45029 else
45030 pkg_failed=yes
45031 fi
45032 fi
45033 else
45034 pkg_failed=untried
45035 fi
45036 if test -n "$PKG_CONFIG"; then
45037 if test -n "$GNOMEVFS_LIBS"; then
45038 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45039 else
45040 if test -n "$PKG_CONFIG" && \
45041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45042 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45043 ac_status=$?
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; then
45046 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45047 else
45048 pkg_failed=yes
45049 fi
45050 fi
45051 else
45052 pkg_failed=untried
45053 fi
45054
45055
45056
45057 if test $pkg_failed = yes; then
45058
45059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45060 _pkg_short_errors_supported=yes
45061 else
45062 _pkg_short_errors_supported=no
45063 fi
45064 if test $_pkg_short_errors_supported = yes; then
45065 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45066 else
45067 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45068 fi
45069 # Put the nasty error message in config.log where it belongs
45070 echo "$GNOMEVFS_PKG_ERRORS" >&5
45071
45072
45073 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45074 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45075 wxUSE_LIBGNOMEVFS="no"
45076
45077
45078 elif test $pkg_failed = untried; then
45079
45080 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45081 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45082 wxUSE_LIBGNOMEVFS="no"
45083
45084
45085 else
45086 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45087 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45088 { echo "$as_me:$LINENO: result: yes" >&5
45089 echo "${ECHO_T}yes" >&6; }
45090
45091 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45092 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_LIBGNOMEVFS 1
45095 _ACEOF
45096
45097
45098 fi
45099 fi
45100 fi
45101
45102 if test "$wxUSE_LIBHILDON" = "yes" ; then
45103
45104 pkg_failed=no
45105 { echo "$as_me:$LINENO: checking for HILDON" >&5
45106 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45107
45108 if test -n "$PKG_CONFIG"; then
45109 if test -n "$HILDON_CFLAGS"; then
45110 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45111 else
45112 if test -n "$PKG_CONFIG" && \
45113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45114 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45115 ac_status=$?
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; then
45118 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45119 else
45120 pkg_failed=yes
45121 fi
45122 fi
45123 else
45124 pkg_failed=untried
45125 fi
45126 if test -n "$PKG_CONFIG"; then
45127 if test -n "$HILDON_LIBS"; then
45128 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45129 else
45130 if test -n "$PKG_CONFIG" && \
45131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45132 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45133 ac_status=$?
45134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135 (exit $ac_status); }; then
45136 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45137 else
45138 pkg_failed=yes
45139 fi
45140 fi
45141 else
45142 pkg_failed=untried
45143 fi
45144
45145
45146
45147 if test $pkg_failed = yes; then
45148
45149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45150 _pkg_short_errors_supported=yes
45151 else
45152 _pkg_short_errors_supported=no
45153 fi
45154 if test $_pkg_short_errors_supported = yes; then
45155 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45156 else
45157 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45158 fi
45159 # Put the nasty error message in config.log where it belongs
45160 echo "$HILDON_PKG_ERRORS" >&5
45161
45162
45163 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45164 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45165 wxUSE_LIBHILDON="no"
45166
45167
45168 elif test $pkg_failed = untried; then
45169
45170 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45171 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45172 wxUSE_LIBHILDON="no"
45173
45174
45175 else
45176 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45177 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45178 { echo "$as_me:$LINENO: result: yes" >&5
45179 echo "${ECHO_T}yes" >&6; }
45180
45181 EXTRALIBS_HILDON="$HILDON_LIBS"
45182 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45183 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_LIBHILDON 1
45186 _ACEOF
45187
45188
45189 fi
45190 fi
45191 fi
45192
45193 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_CMDLINE_PARSER 1
45196 _ACEOF
45197
45198 fi
45199
45200 if test "$wxUSE_STOPWATCH" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_STOPWATCH 1
45203 _ACEOF
45204
45205 fi
45206
45207 if test "$wxUSE_DATETIME" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_DATETIME 1
45210 _ACEOF
45211
45212 fi
45213
45214 if test "$wxUSE_FILE" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_FILE 1
45217 _ACEOF
45218
45219 fi
45220
45221 if test "$wxUSE_FFILE" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_FFILE 1
45224 _ACEOF
45225
45226 fi
45227
45228 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45229 if test "$wxUSE_STREAMS" != yes; then
45230 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45231 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45232 wxUSE_ARCHIVE_STREAMS=no
45233 else
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_ARCHIVE_STREAMS 1
45236 _ACEOF
45237
45238 fi
45239 fi
45240
45241 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45242 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45243 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45244 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45245 elif test "$wxUSE_ZLIB" = "no"; then
45246 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45247 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45248 else
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_ZIPSTREAM 1
45251 _ACEOF
45252
45253 fi
45254 fi
45255
45256 if test "$wxUSE_TARSTREAM" = "yes"; then
45257 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45258 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45259 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45260 else
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_TARSTREAM 1
45263 _ACEOF
45264
45265 fi
45266 fi
45267
45268 if test "$wxUSE_FILESYSTEM" = "yes"; then
45269 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45270 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45271 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45272 wxUSE_FILESYSTEM=no
45273 else
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_FILESYSTEM 1
45276 _ACEOF
45277
45278 fi
45279 fi
45280
45281 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45282 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45283 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45284 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45285 else
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_FS_ARCHIVE 1
45288 _ACEOF
45289
45290 fi
45291 fi
45292
45293 if test "$wxUSE_FS_ZIP" = "yes"; then
45294 if test "$wxUSE_FS_ARCHIVE" != yes; then
45295 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45296 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45297 else
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_FS_ZIP 1
45300 _ACEOF
45301
45302 fi
45303 fi
45304
45305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45306 if test "$USE_UNIX" != 1; then
45307 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45308 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45309 wxUSE_ON_FATAL_EXCEPTION=no
45310 else
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_ON_FATAL_EXCEPTION 1
45313 _ACEOF
45314
45315 fi
45316 fi
45317
45318 if test "$wxUSE_STACKWALKER" = "yes"; then
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_STACKWALKER 1
45321 _ACEOF
45322
45323 fi
45324
45325 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45326 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45327 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45328 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45329 wxUSE_DEBUGREPORT=no
45330 else
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_DEBUGREPORT 1
45333 _ACEOF
45334
45335 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45337 fi
45338 fi
45339 fi
45340
45341 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_SNGLINST_CHECKER 1
45344 _ACEOF
45345
45346 fi
45347
45348 if test "$wxUSE_BUSYINFO" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_BUSYINFO 1
45351 _ACEOF
45352
45353 fi
45354
45355 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_STD_IOSTREAM 1
45358 _ACEOF
45359
45360 fi
45361
45362 if test "$wxUSE_STD_STRING" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_STD_STRING 1
45365 _ACEOF
45366
45367 fi
45368
45369 if test "$wxUSE_STDPATHS" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_STDPATHS 1
45372 _ACEOF
45373
45374 fi
45375
45376 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_TEXTBUFFER 1
45379 _ACEOF
45380
45381 fi
45382
45383 if test "$wxUSE_TEXTFILE" = "yes"; then
45384 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45385 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45386 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45387 else
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_TEXTFILE 1
45390 _ACEOF
45391
45392 fi
45393 fi
45394
45395 if test "$wxUSE_CONFIG" = "yes" ; then
45396 if test "$wxUSE_TEXTFILE" != "yes"; then
45397 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45398 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45399 else
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_CONFIG 1
45402 _ACEOF
45403
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_CONFIG_NATIVE 1
45406 _ACEOF
45407
45408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45409 fi
45410 fi
45411
45412 if test "$wxUSE_INTL" = "yes" ; then
45413 if test "$wxUSE_FILE" != "yes"; then
45414 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45415 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45416 else
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_INTL 1
45419 _ACEOF
45420
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45422 GUIDIST="$GUIDIST INTL_DIST"
45423 fi
45424 fi
45425
45426 if test "$wxUSE_LOG" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_LOG 1
45429 _ACEOF
45430
45431
45432 if test "$wxUSE_LOGGUI" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_LOGGUI 1
45435 _ACEOF
45436
45437 fi
45438
45439 if test "$wxUSE_LOGWINDOW" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_LOGWINDOW 1
45442 _ACEOF
45443
45444 fi
45445
45446 if test "$wxUSE_LOGDIALOG" = "yes"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_LOG_DIALOG 1
45449 _ACEOF
45450
45451 fi
45452
45453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45454 fi
45455
45456 if test "$wxUSE_LONGLONG" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_LONGLONG 1
45459 _ACEOF
45460
45461 fi
45462
45463 if test "$wxUSE_GEOMETRY" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_GEOMETRY 1
45466 _ACEOF
45467
45468 fi
45469
45470 if test "$wxUSE_BASE64" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_BASE64 1
45473 _ACEOF
45474
45475 fi
45476
45477 if test "$wxUSE_STREAMS" = "yes" ; then
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_STREAMS 1
45480 _ACEOF
45481
45482 fi
45483
45484 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_PRINTF_POS_PARAMS 1
45487 _ACEOF
45488
45489 fi
45490
45491 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_OBJC_UNIQUIFYING 1
45494 _ACEOF
45495
45496 fi
45497
45498
45499 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_CONSOLE_EVENTLOOP 1
45502 _ACEOF
45503
45504
45505 if test "$wxUSE_UNIX" = "yes"; then
45506 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_SELECT_DISPATCHER 1
45509 _ACEOF
45510
45511 fi
45512
45513 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45514
45515 for ac_header in sys/epoll.h
45516 do
45517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45522 echo $ECHO_N "(cached) $ECHO_C" >&6
45523 fi
45524 ac_res=`eval echo '${'$as_ac_Header'}'`
45525 { echo "$as_me:$LINENO: result: $ac_res" >&5
45526 echo "${ECHO_T}$ac_res" >&6; }
45527 else
45528 # Is the header compilable?
45529 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45531 cat >conftest.$ac_ext <<_ACEOF
45532 /* confdefs.h. */
45533 _ACEOF
45534 cat confdefs.h >>conftest.$ac_ext
45535 cat >>conftest.$ac_ext <<_ACEOF
45536 /* end confdefs.h. */
45537 $ac_includes_default
45538 #include <$ac_header>
45539 _ACEOF
45540 rm -f conftest.$ac_objext
45541 if { (ac_try="$ac_compile"
45542 case "(($ac_try" in
45543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45544 *) ac_try_echo=$ac_try;;
45545 esac
45546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45547 (eval "$ac_compile") 2>conftest.er1
45548 ac_status=$?
45549 grep -v '^ *+' conftest.er1 >conftest.err
45550 rm -f conftest.er1
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } && {
45554 test -z "$ac_c_werror_flag" ||
45555 test ! -s conftest.err
45556 } && test -s conftest.$ac_objext; then
45557 ac_header_compiler=yes
45558 else
45559 echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45561
45562 ac_header_compiler=no
45563 fi
45564
45565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45566 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45567 echo "${ECHO_T}$ac_header_compiler" >&6; }
45568
45569 # Is the header present?
45570 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h. */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 #include <$ac_header>
45579 _ACEOF
45580 if { (ac_try="$ac_cpp conftest.$ac_ext"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45584 esac
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45587 ac_status=$?
45588 grep -v '^ *+' conftest.er1 >conftest.err
45589 rm -f conftest.er1
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } >/dev/null && {
45593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45594 test ! -s conftest.err
45595 }; then
45596 ac_header_preproc=yes
45597 else
45598 echo "$as_me: failed program was:" >&5
45599 sed 's/^/| /' conftest.$ac_ext >&5
45600
45601 ac_header_preproc=no
45602 fi
45603
45604 rm -f conftest.err conftest.$ac_ext
45605 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45606 echo "${ECHO_T}$ac_header_preproc" >&6; }
45607
45608 # So? What about this header?
45609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45610 yes:no: )
45611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45615 ac_header_preproc=yes
45616 ;;
45617 no:yes:* )
45618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45630 ( cat <<\_ASBOX
45631 ## ----------------------------------------- ##
45632 ## Report this to wx-dev@lists.wxwidgets.org ##
45633 ## ----------------------------------------- ##
45634 _ASBOX
45635 ) | sed "s/^/$as_me: WARNING: /" >&2
45636 ;;
45637 esac
45638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45641 echo $ECHO_N "(cached) $ECHO_C" >&6
45642 else
45643 eval "$as_ac_Header=\$ac_header_preproc"
45644 fi
45645 ac_res=`eval echo '${'$as_ac_Header'}'`
45646 { echo "$as_me:$LINENO: result: $ac_res" >&5
45647 echo "${ECHO_T}$ac_res" >&6; }
45648
45649 fi
45650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45651 cat >>confdefs.h <<_ACEOF
45652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45653 _ACEOF
45654
45655 fi
45656
45657 done
45658
45659 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_EPOLL_DISPATCHER 1
45662 _ACEOF
45663
45664 else
45665 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45666 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45667 fi
45668 fi
45669 fi
45670 fi
45671
45672
45673
45674
45675 for ac_func in gettimeofday ftime
45676 do
45677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45682 else
45683 cat >conftest.$ac_ext <<_ACEOF
45684 /* confdefs.h. */
45685 _ACEOF
45686 cat confdefs.h >>conftest.$ac_ext
45687 cat >>conftest.$ac_ext <<_ACEOF
45688 /* end confdefs.h. */
45689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45691 #define $ac_func innocuous_$ac_func
45692
45693 /* System header to define __stub macros and hopefully few prototypes,
45694 which can conflict with char $ac_func (); below.
45695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45696 <limits.h> exists even on freestanding compilers. */
45697
45698 #ifdef __STDC__
45699 # include <limits.h>
45700 #else
45701 # include <assert.h>
45702 #endif
45703
45704 #undef $ac_func
45705
45706 /* Override any GCC internal prototype to avoid an error.
45707 Use char because int might match the return type of a GCC
45708 builtin and then its argument prototype would still apply. */
45709 #ifdef __cplusplus
45710 extern "C"
45711 #endif
45712 char $ac_func ();
45713 /* The GNU C library defines this for functions which it implements
45714 to always fail with ENOSYS. Some functions are actually named
45715 something starting with __ and the normal name is an alias. */
45716 #if defined __stub_$ac_func || defined __stub___$ac_func
45717 choke me
45718 #endif
45719
45720 int
45721 main ()
45722 {
45723 return $ac_func ();
45724 ;
45725 return 0;
45726 }
45727 _ACEOF
45728 rm -f conftest.$ac_objext conftest$ac_exeext
45729 if { (ac_try="$ac_link"
45730 case "(($ac_try" in
45731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45732 *) ac_try_echo=$ac_try;;
45733 esac
45734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45735 (eval "$ac_link") 2>conftest.er1
45736 ac_status=$?
45737 grep -v '^ *+' conftest.er1 >conftest.err
45738 rm -f conftest.er1
45739 cat conftest.err >&5
45740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45741 (exit $ac_status); } && {
45742 test -z "$ac_c_werror_flag" ||
45743 test ! -s conftest.err
45744 } && test -s conftest$ac_exeext &&
45745 $as_test_x conftest$ac_exeext; then
45746 eval "$as_ac_var=yes"
45747 else
45748 echo "$as_me: failed program was:" >&5
45749 sed 's/^/| /' conftest.$ac_ext >&5
45750
45751 eval "$as_ac_var=no"
45752 fi
45753
45754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45755 conftest$ac_exeext conftest.$ac_ext
45756 fi
45757 ac_res=`eval echo '${'$as_ac_var'}'`
45758 { echo "$as_me:$LINENO: result: $ac_res" >&5
45759 echo "${ECHO_T}$ac_res" >&6; }
45760 if test `eval echo '${'$as_ac_var'}'` = yes; then
45761 cat >>confdefs.h <<_ACEOF
45762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45763 _ACEOF
45764 break
45765 fi
45766 done
45767
45768
45769 if test "$ac_cv_func_gettimeofday" = "yes"; then
45770 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45771 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45772 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45773 echo $ECHO_N "(cached) $ECHO_C" >&6
45774 else
45775
45776 cat >conftest.$ac_ext <<_ACEOF
45777 /* confdefs.h. */
45778 _ACEOF
45779 cat confdefs.h >>conftest.$ac_ext
45780 cat >>conftest.$ac_ext <<_ACEOF
45781 /* end confdefs.h. */
45782
45783 #include <sys/time.h>
45784 #include <unistd.h>
45785
45786 int
45787 main ()
45788 {
45789
45790 struct timeval tv;
45791 gettimeofday(&tv, NULL);
45792
45793 ;
45794 return 0;
45795 }
45796 _ACEOF
45797 rm -f conftest.$ac_objext
45798 if { (ac_try="$ac_compile"
45799 case "(($ac_try" in
45800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45801 *) ac_try_echo=$ac_try;;
45802 esac
45803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45804 (eval "$ac_compile") 2>conftest.er1
45805 ac_status=$?
45806 grep -v '^ *+' conftest.er1 >conftest.err
45807 rm -f conftest.er1
45808 cat conftest.err >&5
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); } && {
45811 test -z "$ac_c_werror_flag" ||
45812 test ! -s conftest.err
45813 } && test -s conftest.$ac_objext; then
45814 wx_cv_func_gettimeofday_has_2_args=yes
45815 else
45816 echo "$as_me: failed program was:" >&5
45817 sed 's/^/| /' conftest.$ac_ext >&5
45818
45819 cat >conftest.$ac_ext <<_ACEOF
45820 /* confdefs.h. */
45821 _ACEOF
45822 cat confdefs.h >>conftest.$ac_ext
45823 cat >>conftest.$ac_ext <<_ACEOF
45824 /* end confdefs.h. */
45825
45826 #include <sys/time.h>
45827 #include <unistd.h>
45828
45829 int
45830 main ()
45831 {
45832
45833 struct timeval tv;
45834 gettimeofday(&tv);
45835
45836 ;
45837 return 0;
45838 }
45839 _ACEOF
45840 rm -f conftest.$ac_objext
45841 if { (ac_try="$ac_compile"
45842 case "(($ac_try" in
45843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45844 *) ac_try_echo=$ac_try;;
45845 esac
45846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45847 (eval "$ac_compile") 2>conftest.er1
45848 ac_status=$?
45849 grep -v '^ *+' conftest.er1 >conftest.err
45850 rm -f conftest.er1
45851 cat conftest.err >&5
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); } && {
45854 test -z "$ac_c_werror_flag" ||
45855 test ! -s conftest.err
45856 } && test -s conftest.$ac_objext; then
45857 wx_cv_func_gettimeofday_has_2_args=no
45858 else
45859 echo "$as_me: failed program was:" >&5
45860 sed 's/^/| /' conftest.$ac_ext >&5
45861
45862
45863 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45864 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45865 wx_cv_func_gettimeofday_has_2_args=unknown
45866
45867
45868 fi
45869
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871
45872 fi
45873
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875
45876 fi
45877 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45878 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45879
45880 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45881 cat >>confdefs.h <<\_ACEOF
45882 #define WX_GETTIMEOFDAY_NO_TZ 1
45883 _ACEOF
45884
45885 fi
45886 fi
45887
45888 if test "$wxUSE_DATETIME" = "yes"; then
45889 { echo "$as_me:$LINENO: checking for strptime" >&5
45890 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45891 if test "${ac_cv_func_strptime+set}" = set; then
45892 echo $ECHO_N "(cached) $ECHO_C" >&6
45893 else
45894 cat >conftest.$ac_ext <<_ACEOF
45895 /* confdefs.h. */
45896 _ACEOF
45897 cat confdefs.h >>conftest.$ac_ext
45898 cat >>conftest.$ac_ext <<_ACEOF
45899 /* end confdefs.h. */
45900 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45902 #define strptime innocuous_strptime
45903
45904 /* System header to define __stub macros and hopefully few prototypes,
45905 which can conflict with char strptime (); below.
45906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45907 <limits.h> exists even on freestanding compilers. */
45908
45909 #ifdef __STDC__
45910 # include <limits.h>
45911 #else
45912 # include <assert.h>
45913 #endif
45914
45915 #undef strptime
45916
45917 /* Override any GCC internal prototype to avoid an error.
45918 Use char because int might match the return type of a GCC
45919 builtin and then its argument prototype would still apply. */
45920 #ifdef __cplusplus
45921 extern "C"
45922 #endif
45923 char strptime ();
45924 /* The GNU C library defines this for functions which it implements
45925 to always fail with ENOSYS. Some functions are actually named
45926 something starting with __ and the normal name is an alias. */
45927 #if defined __stub_strptime || defined __stub___strptime
45928 choke me
45929 #endif
45930
45931 int
45932 main ()
45933 {
45934 return strptime ();
45935 ;
45936 return 0;
45937 }
45938 _ACEOF
45939 rm -f conftest.$ac_objext conftest$ac_exeext
45940 if { (ac_try="$ac_link"
45941 case "(($ac_try" in
45942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45943 *) ac_try_echo=$ac_try;;
45944 esac
45945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45946 (eval "$ac_link") 2>conftest.er1
45947 ac_status=$?
45948 grep -v '^ *+' conftest.er1 >conftest.err
45949 rm -f conftest.er1
45950 cat conftest.err >&5
45951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952 (exit $ac_status); } && {
45953 test -z "$ac_c_werror_flag" ||
45954 test ! -s conftest.err
45955 } && test -s conftest$ac_exeext &&
45956 $as_test_x conftest$ac_exeext; then
45957 ac_cv_func_strptime=yes
45958 else
45959 echo "$as_me: failed program was:" >&5
45960 sed 's/^/| /' conftest.$ac_ext >&5
45961
45962 ac_cv_func_strptime=no
45963 fi
45964
45965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45966 conftest$ac_exeext conftest.$ac_ext
45967 fi
45968 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45969 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45970
45971 if test "$ac_cv_func_strptime" = "yes"; then
45972 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45973 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45974 if test "${wx_cv_func_strptime_decl+set}" = set; then
45975 echo $ECHO_N "(cached) $ECHO_C" >&6
45976 else
45977
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45983
45984 cat >conftest.$ac_ext <<_ACEOF
45985 /* confdefs.h. */
45986 _ACEOF
45987 cat confdefs.h >>conftest.$ac_ext
45988 cat >>conftest.$ac_ext <<_ACEOF
45989 /* end confdefs.h. */
45990
45991 #include <time.h>
45992
45993 int
45994 main ()
45995 {
45996
45997 struct tm t;
45998 strptime("foo", "bar", &t);
45999
46000 ;
46001 return 0;
46002 }
46003 _ACEOF
46004 rm -f conftest.$ac_objext
46005 if { (ac_try="$ac_compile"
46006 case "(($ac_try" in
46007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46008 *) ac_try_echo=$ac_try;;
46009 esac
46010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46011 (eval "$ac_compile") 2>conftest.er1
46012 ac_status=$?
46013 grep -v '^ *+' conftest.er1 >conftest.err
46014 rm -f conftest.er1
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } && {
46018 test -z "$ac_cxx_werror_flag" ||
46019 test ! -s conftest.err
46020 } && test -s conftest.$ac_objext; then
46021 wx_cv_func_strptime_decl=yes
46022 else
46023 echo "$as_me: failed program was:" >&5
46024 sed 's/^/| /' conftest.$ac_ext >&5
46025
46026 wx_cv_func_strptime_decl=no
46027
46028 fi
46029
46030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46031 ac_ext=c
46032 ac_cpp='$CPP $CPPFLAGS'
46033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46036
46037
46038
46039 fi
46040 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46041 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46042 fi
46043 if test "$wx_cv_func_strptime_decl" = "yes"; then
46044 cat >>confdefs.h <<\_ACEOF
46045 #define HAVE_STRPTIME_DECL 1
46046 _ACEOF
46047
46048 else
46049 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46050 fi
46051 if test "$ac_cv_func_strptime" = "yes"; then
46052 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46053 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46054 if test "${wx_cv_func_strptime_ok+set}" = set; then
46055 echo $ECHO_N "(cached) $ECHO_C" >&6
46056 else
46057 if test "$cross_compiling" = yes; then
46058 wx_cv_func_strptime_ok=no
46059
46060 else
46061 cat >conftest.$ac_ext <<_ACEOF
46062
46063 #include <stdlib.h>
46064 #include <time.h>
46065 #include "confdefs.h"
46066
46067 $wx_strptime_decl
46068
46069 int main()
46070 {
46071 struct tm t;
46072 return !!strptime("", "%x", &t);
46073 }
46074
46075 _ACEOF
46076 rm -f conftest$ac_exeext
46077 if { (ac_try="$ac_link"
46078 case "(($ac_try" in
46079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46080 *) ac_try_echo=$ac_try;;
46081 esac
46082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46083 (eval "$ac_link") 2>&5
46084 ac_status=$?
46085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46087 { (case "(($ac_try" in
46088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46089 *) ac_try_echo=$ac_try;;
46090 esac
46091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46092 (eval "$ac_try") 2>&5
46093 ac_status=$?
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); }; }; then
46096 wx_cv_func_strptime_ok=yes
46097 else
46098 echo "$as_me: program exited with status $ac_status" >&5
46099 echo "$as_me: failed program was:" >&5
46100 sed 's/^/| /' conftest.$ac_ext >&5
46101
46102 ( exit $ac_status )
46103 wx_cv_func_strptime_ok=no
46104 fi
46105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46106 fi
46107
46108
46109
46110 fi
46111 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46112 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46113
46114 if test "$wx_cv_func_strptime_ok" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define HAVE_STRPTIME 1
46117 _ACEOF
46118
46119 fi
46120 fi
46121
46122 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46123 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46124 if test "${wx_cv_var_timezone+set}" = set; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46126 else
46127
46128 ac_ext=cpp
46129 ac_cpp='$CXXCPP $CPPFLAGS'
46130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46133
46134 cat >conftest.$ac_ext <<_ACEOF
46135 /* confdefs.h. */
46136 _ACEOF
46137 cat confdefs.h >>conftest.$ac_ext
46138 cat >>conftest.$ac_ext <<_ACEOF
46139 /* end confdefs.h. */
46140
46141 #include <time.h>
46142
46143 int
46144 main ()
46145 {
46146
46147 int tz;
46148 tz = timezone;
46149
46150 ;
46151 return 0;
46152 }
46153 _ACEOF
46154 rm -f conftest.$ac_objext
46155 if { (ac_try="$ac_compile"
46156 case "(($ac_try" in
46157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46158 *) ac_try_echo=$ac_try;;
46159 esac
46160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46161 (eval "$ac_compile") 2>conftest.er1
46162 ac_status=$?
46163 grep -v '^ *+' conftest.er1 >conftest.err
46164 rm -f conftest.er1
46165 cat conftest.err >&5
46166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46167 (exit $ac_status); } && {
46168 test -z "$ac_cxx_werror_flag" ||
46169 test ! -s conftest.err
46170 } && test -s conftest.$ac_objext; then
46171
46172 wx_cv_var_timezone=timezone
46173
46174 else
46175 echo "$as_me: failed program was:" >&5
46176 sed 's/^/| /' conftest.$ac_ext >&5
46177
46178
46179 cat >conftest.$ac_ext <<_ACEOF
46180 /* confdefs.h. */
46181 _ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185
46186 #include <time.h>
46187
46188 int
46189 main ()
46190 {
46191
46192 int tz;
46193 tz = _timezone;
46194
46195 ;
46196 return 0;
46197 }
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (ac_try="$ac_compile"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46203 *) ac_try_echo=$ac_try;;
46204 esac
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_compile") 2>conftest.er1
46207 ac_status=$?
46208 grep -v '^ *+' conftest.er1 >conftest.err
46209 rm -f conftest.er1
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_cxx_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest.$ac_objext; then
46216
46217 wx_cv_var_timezone=_timezone
46218
46219 else
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.$ac_ext >&5
46222
46223
46224 cat >conftest.$ac_ext <<_ACEOF
46225 /* confdefs.h. */
46226 _ACEOF
46227 cat confdefs.h >>conftest.$ac_ext
46228 cat >>conftest.$ac_ext <<_ACEOF
46229 /* end confdefs.h. */
46230
46231 #include <time.h>
46232
46233 int
46234 main ()
46235 {
46236
46237 int tz;
46238 tz = __timezone;
46239
46240 ;
46241 return 0;
46242 }
46243 _ACEOF
46244 rm -f conftest.$ac_objext
46245 if { (ac_try="$ac_compile"
46246 case "(($ac_try" in
46247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46248 *) ac_try_echo=$ac_try;;
46249 esac
46250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46251 (eval "$ac_compile") 2>conftest.er1
46252 ac_status=$?
46253 grep -v '^ *+' conftest.er1 >conftest.err
46254 rm -f conftest.er1
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } && {
46258 test -z "$ac_cxx_werror_flag" ||
46259 test ! -s conftest.err
46260 } && test -s conftest.$ac_objext; then
46261
46262 wx_cv_var_timezone=__timezone
46263
46264 else
46265 echo "$as_me: failed program was:" >&5
46266 sed 's/^/| /' conftest.$ac_ext >&5
46267
46268
46269 if test "$USE_DOS" = 0 ; then
46270 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46271 echo "$as_me: WARNING: no timezone variable" >&2;}
46272 fi
46273
46274
46275 fi
46276
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278
46279
46280 fi
46281
46282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46283
46284
46285 fi
46286
46287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46288 ac_ext=c
46289 ac_cpp='$CPP $CPPFLAGS'
46290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46293
46294
46295
46296 fi
46297 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46298 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46299
46300 if test "x$wx_cv_var_timezone" != x ; then
46301 cat >>confdefs.h <<_ACEOF
46302 #define WX_TIMEZONE $wx_cv_var_timezone
46303 _ACEOF
46304
46305 fi
46306
46307
46308 for ac_func in localtime
46309 do
46310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46314 echo $ECHO_N "(cached) $ECHO_C" >&6
46315 else
46316 cat >conftest.$ac_ext <<_ACEOF
46317 /* confdefs.h. */
46318 _ACEOF
46319 cat confdefs.h >>conftest.$ac_ext
46320 cat >>conftest.$ac_ext <<_ACEOF
46321 /* end confdefs.h. */
46322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46324 #define $ac_func innocuous_$ac_func
46325
46326 /* System header to define __stub macros and hopefully few prototypes,
46327 which can conflict with char $ac_func (); below.
46328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46329 <limits.h> exists even on freestanding compilers. */
46330
46331 #ifdef __STDC__
46332 # include <limits.h>
46333 #else
46334 # include <assert.h>
46335 #endif
46336
46337 #undef $ac_func
46338
46339 /* Override any GCC internal prototype to avoid an error.
46340 Use char because int might match the return type of a GCC
46341 builtin and then its argument prototype would still apply. */
46342 #ifdef __cplusplus
46343 extern "C"
46344 #endif
46345 char $ac_func ();
46346 /* The GNU C library defines this for functions which it implements
46347 to always fail with ENOSYS. Some functions are actually named
46348 something starting with __ and the normal name is an alias. */
46349 #if defined __stub_$ac_func || defined __stub___$ac_func
46350 choke me
46351 #endif
46352
46353 int
46354 main ()
46355 {
46356 return $ac_func ();
46357 ;
46358 return 0;
46359 }
46360 _ACEOF
46361 rm -f conftest.$ac_objext conftest$ac_exeext
46362 if { (ac_try="$ac_link"
46363 case "(($ac_try" in
46364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46365 *) ac_try_echo=$ac_try;;
46366 esac
46367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46368 (eval "$ac_link") 2>conftest.er1
46369 ac_status=$?
46370 grep -v '^ *+' conftest.er1 >conftest.err
46371 rm -f conftest.er1
46372 cat conftest.err >&5
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); } && {
46375 test -z "$ac_c_werror_flag" ||
46376 test ! -s conftest.err
46377 } && test -s conftest$ac_exeext &&
46378 $as_test_x conftest$ac_exeext; then
46379 eval "$as_ac_var=yes"
46380 else
46381 echo "$as_me: failed program was:" >&5
46382 sed 's/^/| /' conftest.$ac_ext >&5
46383
46384 eval "$as_ac_var=no"
46385 fi
46386
46387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46388 conftest$ac_exeext conftest.$ac_ext
46389 fi
46390 ac_res=`eval echo '${'$as_ac_var'}'`
46391 { echo "$as_me:$LINENO: result: $ac_res" >&5
46392 echo "${ECHO_T}$ac_res" >&6; }
46393 if test `eval echo '${'$as_ac_var'}'` = yes; then
46394 cat >>confdefs.h <<_ACEOF
46395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46396 _ACEOF
46397
46398 fi
46399 done
46400
46401
46402 if test "$ac_cv_func_localtime" = "yes"; then
46403 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46404 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46405 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46406 echo $ECHO_N "(cached) $ECHO_C" >&6
46407 else
46408
46409 cat >conftest.$ac_ext <<_ACEOF
46410 /* confdefs.h. */
46411 _ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46415
46416 #include <time.h>
46417
46418 int
46419 main ()
46420 {
46421
46422 struct tm tm;
46423 tm.tm_gmtoff++;
46424
46425 ;
46426 return 0;
46427 }
46428 _ACEOF
46429 rm -f conftest.$ac_objext
46430 if { (ac_try="$ac_compile"
46431 case "(($ac_try" in
46432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46433 *) ac_try_echo=$ac_try;;
46434 esac
46435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46436 (eval "$ac_compile") 2>conftest.er1
46437 ac_status=$?
46438 grep -v '^ *+' conftest.er1 >conftest.err
46439 rm -f conftest.er1
46440 cat conftest.err >&5
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); } && {
46443 test -z "$ac_c_werror_flag" ||
46444 test ! -s conftest.err
46445 } && test -s conftest.$ac_objext; then
46446
46447 wx_cv_struct_tm_has_gmtoff=yes
46448
46449 else
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46452
46453 wx_cv_struct_tm_has_gmtoff=no
46454
46455 fi
46456
46457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46458
46459 fi
46460 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46461 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46462 fi
46463
46464 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define WX_GMTOFF_IN_TM 1
46467 _ACEOF
46468
46469 fi
46470
46471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46472 fi
46473
46474
46475 if test "$wxUSE_SOCKETS" = "yes"; then
46476 if test "$wxUSE_MGL" = "1"; then
46477 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46478 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46479 wxUSE_SOCKETS="no"
46480 fi
46481 fi
46482
46483 if test "$wxUSE_SOCKETS" = "yes"; then
46484 if test "$TOOLKIT" != "MSW"; then
46485 { echo "$as_me:$LINENO: checking for socket" >&5
46486 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46487 if test "${ac_cv_func_socket+set}" = set; then
46488 echo $ECHO_N "(cached) $ECHO_C" >&6
46489 else
46490 cat >conftest.$ac_ext <<_ACEOF
46491 /* confdefs.h. */
46492 _ACEOF
46493 cat confdefs.h >>conftest.$ac_ext
46494 cat >>conftest.$ac_ext <<_ACEOF
46495 /* end confdefs.h. */
46496 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46498 #define socket innocuous_socket
46499
46500 /* System header to define __stub macros and hopefully few prototypes,
46501 which can conflict with char socket (); below.
46502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46503 <limits.h> exists even on freestanding compilers. */
46504
46505 #ifdef __STDC__
46506 # include <limits.h>
46507 #else
46508 # include <assert.h>
46509 #endif
46510
46511 #undef socket
46512
46513 /* Override any GCC internal prototype to avoid an error.
46514 Use char because int might match the return type of a GCC
46515 builtin and then its argument prototype would still apply. */
46516 #ifdef __cplusplus
46517 extern "C"
46518 #endif
46519 char socket ();
46520 /* The GNU C library defines this for functions which it implements
46521 to always fail with ENOSYS. Some functions are actually named
46522 something starting with __ and the normal name is an alias. */
46523 #if defined __stub_socket || defined __stub___socket
46524 choke me
46525 #endif
46526
46527 int
46528 main ()
46529 {
46530 return socket ();
46531 ;
46532 return 0;
46533 }
46534 _ACEOF
46535 rm -f conftest.$ac_objext conftest$ac_exeext
46536 if { (ac_try="$ac_link"
46537 case "(($ac_try" in
46538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46539 *) ac_try_echo=$ac_try;;
46540 esac
46541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46542 (eval "$ac_link") 2>conftest.er1
46543 ac_status=$?
46544 grep -v '^ *+' conftest.er1 >conftest.err
46545 rm -f conftest.er1
46546 cat conftest.err >&5
46547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 (exit $ac_status); } && {
46549 test -z "$ac_c_werror_flag" ||
46550 test ! -s conftest.err
46551 } && test -s conftest$ac_exeext &&
46552 $as_test_x conftest$ac_exeext; then
46553 ac_cv_func_socket=yes
46554 else
46555 echo "$as_me: failed program was:" >&5
46556 sed 's/^/| /' conftest.$ac_ext >&5
46557
46558 ac_cv_func_socket=no
46559 fi
46560
46561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46562 conftest$ac_exeext conftest.$ac_ext
46563 fi
46564 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46565 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46566 if test $ac_cv_func_socket = yes; then
46567 :
46568 else
46569
46570 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46571 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46572 if test "${ac_cv_lib_socket_socket+set}" = set; then
46573 echo $ECHO_N "(cached) $ECHO_C" >&6
46574 else
46575 ac_check_lib_save_LIBS=$LIBS
46576 LIBS="-lsocket $LIBS"
46577 cat >conftest.$ac_ext <<_ACEOF
46578 /* confdefs.h. */
46579 _ACEOF
46580 cat confdefs.h >>conftest.$ac_ext
46581 cat >>conftest.$ac_ext <<_ACEOF
46582 /* end confdefs.h. */
46583
46584 /* Override any GCC internal prototype to avoid an error.
46585 Use char because int might match the return type of a GCC
46586 builtin and then its argument prototype would still apply. */
46587 #ifdef __cplusplus
46588 extern "C"
46589 #endif
46590 char socket ();
46591 int
46592 main ()
46593 {
46594 return socket ();
46595 ;
46596 return 0;
46597 }
46598 _ACEOF
46599 rm -f conftest.$ac_objext conftest$ac_exeext
46600 if { (ac_try="$ac_link"
46601 case "(($ac_try" in
46602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46603 *) ac_try_echo=$ac_try;;
46604 esac
46605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46606 (eval "$ac_link") 2>conftest.er1
46607 ac_status=$?
46608 grep -v '^ *+' conftest.er1 >conftest.err
46609 rm -f conftest.er1
46610 cat conftest.err >&5
46611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46612 (exit $ac_status); } && {
46613 test -z "$ac_c_werror_flag" ||
46614 test ! -s conftest.err
46615 } && test -s conftest$ac_exeext &&
46616 $as_test_x conftest$ac_exeext; then
46617 ac_cv_lib_socket_socket=yes
46618 else
46619 echo "$as_me: failed program was:" >&5
46620 sed 's/^/| /' conftest.$ac_ext >&5
46621
46622 ac_cv_lib_socket_socket=no
46623 fi
46624
46625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46626 conftest$ac_exeext conftest.$ac_ext
46627 LIBS=$ac_check_lib_save_LIBS
46628 fi
46629 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46630 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46631 if test $ac_cv_lib_socket_socket = yes; then
46632 if test "$INET_LINK" != " -lsocket"; then
46633 INET_LINK="$INET_LINK -lsocket"
46634 fi
46635 else
46636
46637 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46638 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46639 wxUSE_SOCKETS=no
46640
46641
46642 fi
46643
46644
46645
46646 fi
46647
46648 fi
46649 fi
46650
46651 if test "$wxUSE_SOCKETS" = "yes" ; then
46652 if test "$TOOLKIT" != "MSW"; then
46653 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46654 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46655 if test "${wx_cv_type_getsockname3+set}" = set; then
46656 echo $ECHO_N "(cached) $ECHO_C" >&6
46657 else
46658
46659 ac_ext=cpp
46660 ac_cpp='$CXXCPP $CPPFLAGS'
46661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664
46665 cat >conftest.$ac_ext <<_ACEOF
46666 /* confdefs.h. */
46667 _ACEOF
46668 cat confdefs.h >>conftest.$ac_ext
46669 cat >>conftest.$ac_ext <<_ACEOF
46670 /* end confdefs.h. */
46671
46672 #include <sys/types.h>
46673 #include <sys/socket.h>
46674
46675 int
46676 main ()
46677 {
46678
46679 socklen_t len;
46680 getsockname(0, 0, &len);
46681
46682 ;
46683 return 0;
46684 }
46685 _ACEOF
46686 rm -f conftest.$ac_objext
46687 if { (ac_try="$ac_compile"
46688 case "(($ac_try" in
46689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46690 *) ac_try_echo=$ac_try;;
46691 esac
46692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46693 (eval "$ac_compile") 2>conftest.er1
46694 ac_status=$?
46695 grep -v '^ *+' conftest.er1 >conftest.err
46696 rm -f conftest.er1
46697 cat conftest.err >&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); } && {
46700 test -z "$ac_cxx_werror_flag" ||
46701 test ! -s conftest.err
46702 } && test -s conftest.$ac_objext; then
46703 wx_cv_type_getsockname3=socklen_t
46704 else
46705 echo "$as_me: failed program was:" >&5
46706 sed 's/^/| /' conftest.$ac_ext >&5
46707
46708
46709 CFLAGS_OLD="$CFLAGS"
46710 if test "$GCC" = yes ; then
46711 CFLAGS="-Werror $CFLAGS"
46712 fi
46713
46714 cat >conftest.$ac_ext <<_ACEOF
46715 /* confdefs.h. */
46716 _ACEOF
46717 cat confdefs.h >>conftest.$ac_ext
46718 cat >>conftest.$ac_ext <<_ACEOF
46719 /* end confdefs.h. */
46720
46721 #include <sys/types.h>
46722 #include <sys/socket.h>
46723
46724 int
46725 main ()
46726 {
46727
46728 size_t len;
46729 getsockname(0, 0, &len);
46730
46731 ;
46732 return 0;
46733 }
46734 _ACEOF
46735 rm -f conftest.$ac_objext
46736 if { (ac_try="$ac_compile"
46737 case "(($ac_try" in
46738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46739 *) ac_try_echo=$ac_try;;
46740 esac
46741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46742 (eval "$ac_compile") 2>conftest.er1
46743 ac_status=$?
46744 grep -v '^ *+' conftest.er1 >conftest.err
46745 rm -f conftest.er1
46746 cat conftest.err >&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); } && {
46749 test -z "$ac_cxx_werror_flag" ||
46750 test ! -s conftest.err
46751 } && test -s conftest.$ac_objext; then
46752 wx_cv_type_getsockname3=size_t
46753 else
46754 echo "$as_me: failed program was:" >&5
46755 sed 's/^/| /' conftest.$ac_ext >&5
46756
46757 cat >conftest.$ac_ext <<_ACEOF
46758 /* confdefs.h. */
46759 _ACEOF
46760 cat confdefs.h >>conftest.$ac_ext
46761 cat >>conftest.$ac_ext <<_ACEOF
46762 /* end confdefs.h. */
46763
46764 #include <sys/types.h>
46765 #include <sys/socket.h>
46766
46767 int
46768 main ()
46769 {
46770
46771 int len;
46772 getsockname(0, 0, &len);
46773
46774 ;
46775 return 0;
46776 }
46777 _ACEOF
46778 rm -f conftest.$ac_objext
46779 if { (ac_try="$ac_compile"
46780 case "(($ac_try" in
46781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46782 *) ac_try_echo=$ac_try;;
46783 esac
46784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46785 (eval "$ac_compile") 2>conftest.er1
46786 ac_status=$?
46787 grep -v '^ *+' conftest.er1 >conftest.err
46788 rm -f conftest.er1
46789 cat conftest.err >&5
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); } && {
46792 test -z "$ac_cxx_werror_flag" ||
46793 test ! -s conftest.err
46794 } && test -s conftest.$ac_objext; then
46795 wx_cv_type_getsockname3=int
46796 else
46797 echo "$as_me: failed program was:" >&5
46798 sed 's/^/| /' conftest.$ac_ext >&5
46799
46800 wx_cv_type_getsockname3=unknown
46801
46802 fi
46803
46804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46805
46806 fi
46807
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809
46810 CFLAGS="$CFLAGS_OLD"
46811
46812
46813 fi
46814
46815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46816 ac_ext=c
46817 ac_cpp='$CPP $CPPFLAGS'
46818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46821
46822
46823 fi
46824 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46825 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46826
46827 if test "$wx_cv_type_getsockname3" = "unknown"; then
46828 wxUSE_SOCKETS=no
46829 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46830 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46831 else
46832 cat >>confdefs.h <<_ACEOF
46833 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46834 _ACEOF
46835
46836 fi
46837 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46838 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46839 if test "${wx_cv_type_getsockopt5+set}" = set; then
46840 echo $ECHO_N "(cached) $ECHO_C" >&6
46841 else
46842
46843 ac_ext=cpp
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46848
46849 cat >conftest.$ac_ext <<_ACEOF
46850 /* confdefs.h. */
46851 _ACEOF
46852 cat confdefs.h >>conftest.$ac_ext
46853 cat >>conftest.$ac_ext <<_ACEOF
46854 /* end confdefs.h. */
46855
46856 #include <sys/types.h>
46857 #include <sys/socket.h>
46858
46859 int
46860 main ()
46861 {
46862
46863 socklen_t len;
46864 getsockopt(0, 0, 0, 0, &len);
46865
46866 ;
46867 return 0;
46868 }
46869 _ACEOF
46870 rm -f conftest.$ac_objext
46871 if { (ac_try="$ac_compile"
46872 case "(($ac_try" in
46873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46874 *) ac_try_echo=$ac_try;;
46875 esac
46876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46877 (eval "$ac_compile") 2>conftest.er1
46878 ac_status=$?
46879 grep -v '^ *+' conftest.er1 >conftest.err
46880 rm -f conftest.er1
46881 cat conftest.err >&5
46882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46883 (exit $ac_status); } && {
46884 test -z "$ac_cxx_werror_flag" ||
46885 test ! -s conftest.err
46886 } && test -s conftest.$ac_objext; then
46887 wx_cv_type_getsockopt5=socklen_t
46888 else
46889 echo "$as_me: failed program was:" >&5
46890 sed 's/^/| /' conftest.$ac_ext >&5
46891
46892
46893 cat >conftest.$ac_ext <<_ACEOF
46894 /* confdefs.h. */
46895 _ACEOF
46896 cat confdefs.h >>conftest.$ac_ext
46897 cat >>conftest.$ac_ext <<_ACEOF
46898 /* end confdefs.h. */
46899
46900 #include <sys/types.h>
46901 #include <sys/socket.h>
46902
46903 int
46904 main ()
46905 {
46906
46907 size_t len;
46908 getsockopt(0, 0, 0, 0, &len);
46909
46910 ;
46911 return 0;
46912 }
46913 _ACEOF
46914 rm -f conftest.$ac_objext
46915 if { (ac_try="$ac_compile"
46916 case "(($ac_try" in
46917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46918 *) ac_try_echo=$ac_try;;
46919 esac
46920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46921 (eval "$ac_compile") 2>conftest.er1
46922 ac_status=$?
46923 grep -v '^ *+' conftest.er1 >conftest.err
46924 rm -f conftest.er1
46925 cat conftest.err >&5
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); } && {
46928 test -z "$ac_cxx_werror_flag" ||
46929 test ! -s conftest.err
46930 } && test -s conftest.$ac_objext; then
46931 wx_cv_type_getsockopt5=size_t
46932 else
46933 echo "$as_me: failed program was:" >&5
46934 sed 's/^/| /' conftest.$ac_ext >&5
46935
46936 cat >conftest.$ac_ext <<_ACEOF
46937 /* confdefs.h. */
46938 _ACEOF
46939 cat confdefs.h >>conftest.$ac_ext
46940 cat >>conftest.$ac_ext <<_ACEOF
46941 /* end confdefs.h. */
46942
46943 #include <sys/types.h>
46944 #include <sys/socket.h>
46945
46946 int
46947 main ()
46948 {
46949
46950 int len;
46951 getsockopt(0, 0, 0, 0, &len);
46952
46953 ;
46954 return 0;
46955 }
46956 _ACEOF
46957 rm -f conftest.$ac_objext
46958 if { (ac_try="$ac_compile"
46959 case "(($ac_try" in
46960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46961 *) ac_try_echo=$ac_try;;
46962 esac
46963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46964 (eval "$ac_compile") 2>conftest.er1
46965 ac_status=$?
46966 grep -v '^ *+' conftest.er1 >conftest.err
46967 rm -f conftest.er1
46968 cat conftest.err >&5
46969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46970 (exit $ac_status); } && {
46971 test -z "$ac_cxx_werror_flag" ||
46972 test ! -s conftest.err
46973 } && test -s conftest.$ac_objext; then
46974 wx_cv_type_getsockopt5=int
46975 else
46976 echo "$as_me: failed program was:" >&5
46977 sed 's/^/| /' conftest.$ac_ext >&5
46978
46979 wx_cv_type_getsockopt5=unknown
46980
46981 fi
46982
46983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46984
46985 fi
46986
46987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46988
46989
46990 fi
46991
46992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46993 ac_ext=c
46994 ac_cpp='$CPP $CPPFLAGS'
46995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46998
46999
47000 fi
47001 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47002 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47003
47004 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47005 wxUSE_SOCKETS=no
47006 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47007 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47008 else
47009 cat >>confdefs.h <<_ACEOF
47010 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47011 _ACEOF
47012
47013 fi
47014 fi
47015 fi
47016
47017 if test "$wxUSE_SOCKETS" = "yes" ; then
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_SOCKETS 1
47020 _ACEOF
47021
47022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47023 fi
47024
47025 if test "$wxUSE_PROTOCOL" = "yes"; then
47026 if test "$wxUSE_SOCKETS" != "yes"; then
47027 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47028 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47029 wxUSE_PROTOCOL=no
47030 fi
47031 fi
47032
47033 if test "$wxUSE_PROTOCOL" = "yes"; then
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_PROTOCOL 1
47036 _ACEOF
47037
47038
47039 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_PROTOCOL_HTTP 1
47042 _ACEOF
47043
47044 fi
47045 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_PROTOCOL_FTP 1
47048 _ACEOF
47049
47050 fi
47051 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_PROTOCOL_FILE 1
47054 _ACEOF
47055
47056 fi
47057 else
47058 if test "$wxUSE_FS_INET" = "yes"; then
47059 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47060 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47061 wxUSE_FS_INET="no"
47062 fi
47063 fi
47064
47065 if test "$wxUSE_URL" = "yes"; then
47066 if test "$wxUSE_PROTOCOL" != "yes"; then
47067 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47068 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47069 wxUSE_URL=no
47070 fi
47071 if test "$wxUSE_URL" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_URL 1
47074 _ACEOF
47075
47076 fi
47077 fi
47078
47079 if test "$wxUSE_VARIANT" = "yes"; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_VARIANT 1
47082 _ACEOF
47083
47084 fi
47085
47086 if test "$wxUSE_FS_INET" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_FS_INET 1
47089 _ACEOF
47090
47091 fi
47092
47093
47094 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47095 wxUSE_JOYSTICK=no
47096
47097 if test "$TOOLKIT" = "MSW"; then
47098 wxUSE_JOYSTICK=yes
47099
47100 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47101 if test "$USE_DARWIN" = 1; then
47102 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47103 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47104 ac_ext=cpp
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47109
47110 cat >conftest.$ac_ext <<_ACEOF
47111 /* confdefs.h. */
47112 _ACEOF
47113 cat confdefs.h >>conftest.$ac_ext
47114 cat >>conftest.$ac_ext <<_ACEOF
47115 /* end confdefs.h. */
47116 #include <IOKit/hid/IOHIDLib.h>
47117 int
47118 main ()
47119 {
47120 IOHIDQueueInterface *qi = NULL;
47121 IOHIDCallbackFunction cb = NULL;
47122 qi->setEventCallout(NULL, cb, NULL, NULL);
47123 ;
47124 return 0;
47125 }
47126 _ACEOF
47127 rm -f conftest.$ac_objext
47128 if { (ac_try="$ac_compile"
47129 case "(($ac_try" in
47130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47131 *) ac_try_echo=$ac_try;;
47132 esac
47133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47134 (eval "$ac_compile") 2>conftest.er1
47135 ac_status=$?
47136 grep -v '^ *+' conftest.er1 >conftest.err
47137 rm -f conftest.er1
47138 cat conftest.err >&5
47139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140 (exit $ac_status); } && {
47141 test -z "$ac_cxx_werror_flag" ||
47142 test ! -s conftest.err
47143 } && test -s conftest.$ac_objext; then
47144 wxUSE_JOYSTICK=yes
47145
47146 else
47147 echo "$as_me: failed program was:" >&5
47148 sed 's/^/| /' conftest.$ac_ext >&5
47149
47150
47151 fi
47152
47153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47154 ac_ext=c
47155 ac_cpp='$CPP $CPPFLAGS'
47156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47159
47160 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47161 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47162 fi
47163
47164 else
47165 if test "$wxUSE_MGL" != "1"; then
47166
47167 for ac_header in linux/joystick.h
47168 do
47169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47174 else
47175 cat >conftest.$ac_ext <<_ACEOF
47176 /* confdefs.h. */
47177 _ACEOF
47178 cat confdefs.h >>conftest.$ac_ext
47179 cat >>conftest.$ac_ext <<_ACEOF
47180 /* end confdefs.h. */
47181 $ac_includes_default
47182
47183 #include <$ac_header>
47184 _ACEOF
47185 rm -f conftest.$ac_objext
47186 if { (ac_try="$ac_compile"
47187 case "(($ac_try" in
47188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47189 *) ac_try_echo=$ac_try;;
47190 esac
47191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47192 (eval "$ac_compile") 2>conftest.er1
47193 ac_status=$?
47194 grep -v '^ *+' conftest.er1 >conftest.err
47195 rm -f conftest.er1
47196 cat conftest.err >&5
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); } && {
47199 test -z "$ac_c_werror_flag" ||
47200 test ! -s conftest.err
47201 } && test -s conftest.$ac_objext; then
47202 eval "$as_ac_Header=yes"
47203 else
47204 echo "$as_me: failed program was:" >&5
47205 sed 's/^/| /' conftest.$ac_ext >&5
47206
47207 eval "$as_ac_Header=no"
47208 fi
47209
47210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47211 fi
47212 ac_res=`eval echo '${'$as_ac_Header'}'`
47213 { echo "$as_me:$LINENO: result: $ac_res" >&5
47214 echo "${ECHO_T}$ac_res" >&6; }
47215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47216 cat >>confdefs.h <<_ACEOF
47217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47218 _ACEOF
47219 wxUSE_JOYSTICK=yes
47220 fi
47221
47222 done
47223
47224 fi
47225 fi
47226
47227 if test "$wxUSE_JOYSTICK" = "yes"; then
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_JOYSTICK 1
47230 _ACEOF
47231
47232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47233 else
47234 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47235 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47236 fi
47237 fi
47238
47239
47240
47241 if test "$wxUSE_FONTENUM" = "yes" ; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_FONTENUM 1
47244 _ACEOF
47245
47246 fi
47247
47248 if test "$wxUSE_FONTMAP" = "yes" ; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_FONTMAP 1
47251 _ACEOF
47252
47253 fi
47254
47255 if test "$wxUSE_UNICODE" = "yes" ; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_UNICODE 1
47258 _ACEOF
47259
47260
47261 if test "$USE_WIN32" != 1; then
47262 wxUSE_UNICODE_MSLU=no
47263 fi
47264
47265 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47266 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47267 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47268 if test "${ac_cv_lib_unicows_main+set}" = set; then
47269 echo $ECHO_N "(cached) $ECHO_C" >&6
47270 else
47271 ac_check_lib_save_LIBS=$LIBS
47272 LIBS="-lunicows $LIBS"
47273 cat >conftest.$ac_ext <<_ACEOF
47274 /* confdefs.h. */
47275 _ACEOF
47276 cat confdefs.h >>conftest.$ac_ext
47277 cat >>conftest.$ac_ext <<_ACEOF
47278 /* end confdefs.h. */
47279
47280
47281 int
47282 main ()
47283 {
47284 return main ();
47285 ;
47286 return 0;
47287 }
47288 _ACEOF
47289 rm -f conftest.$ac_objext conftest$ac_exeext
47290 if { (ac_try="$ac_link"
47291 case "(($ac_try" in
47292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47293 *) ac_try_echo=$ac_try;;
47294 esac
47295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47296 (eval "$ac_link") 2>conftest.er1
47297 ac_status=$?
47298 grep -v '^ *+' conftest.er1 >conftest.err
47299 rm -f conftest.er1
47300 cat conftest.err >&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); } && {
47303 test -z "$ac_c_werror_flag" ||
47304 test ! -s conftest.err
47305 } && test -s conftest$ac_exeext &&
47306 $as_test_x conftest$ac_exeext; then
47307 ac_cv_lib_unicows_main=yes
47308 else
47309 echo "$as_me: failed program was:" >&5
47310 sed 's/^/| /' conftest.$ac_ext >&5
47311
47312 ac_cv_lib_unicows_main=no
47313 fi
47314
47315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47316 conftest$ac_exeext conftest.$ac_ext
47317 LIBS=$ac_check_lib_save_LIBS
47318 fi
47319 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47320 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47321 if test $ac_cv_lib_unicows_main = yes; then
47322
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_UNICODE_MSLU 1
47325 _ACEOF
47326
47327
47328 else
47329
47330 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47331 Applications will only run on Windows NT/2000/XP!" >&5
47332 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47333 Applications will only run on Windows NT/2000/XP!" >&2;}
47334 wxUSE_UNICODE_MSLU=no
47335
47336 fi
47337
47338 fi
47339 fi
47340
47341 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_UNICODE_UTF8 1
47344 _ACEOF
47345
47346
47347 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_UTF8_LOCALE_ONLY 1
47350 _ACEOF
47351
47352 fi
47353 fi
47354
47355 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_EXPERIMENTAL_PRINTF 1
47358 _ACEOF
47359
47360 fi
47361
47362
47363 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_CONSTRAINTS 1
47366 _ACEOF
47367
47368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47369 fi
47370
47371 if test "$wxUSE_MDI" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_MDI 1
47374 _ACEOF
47375
47376
47377 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_MDI_ARCHITECTURE 1
47380 _ACEOF
47381
47382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47383 fi
47384 fi
47385
47386 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47389 _ACEOF
47390
47391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47392 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47394 fi
47395 fi
47396
47397 if test "$wxUSE_HELP" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_HELP 1
47400 _ACEOF
47401
47402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47403
47404 if test "$wxUSE_MSW" = 1; then
47405 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_MS_HTML_HELP 1
47408 _ACEOF
47409
47410 fi
47411 fi
47412
47413 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47414 if test "$wxUSE_HTML" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_WXHTML_HELP 1
47417 _ACEOF
47418
47419 else
47420 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47421 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47422 wxUSE_WXHTML_HELP=no
47423 fi
47424 fi
47425 fi
47426
47427 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47428 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47429 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47430 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47431 else
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_PRINTING_ARCHITECTURE 1
47434 _ACEOF
47435
47436 fi
47437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47438 fi
47439
47440 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_POSTSCRIPT 1
47443 _ACEOF
47444
47445 fi
47446
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47449 _ACEOF
47450
47451
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_NORMALIZED_PS_FONTS 1
47454 _ACEOF
47455
47456
47457 if test "$wxUSE_SVG" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_SVG 1
47460 _ACEOF
47461
47462 fi
47463
47464
47465 if test "$wxUSE_METAFILE" = "yes"; then
47466 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47467 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47468 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47469 wxUSE_METAFILE=no
47470 fi
47471 fi
47472
47473
47474 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47475 -o "$wxUSE_CLIPBOARD" = "yes" \
47476 -o "$wxUSE_OLE" = "yes" \
47477 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47478 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47479 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47480 if test "${ac_cv_header_ole2_h+set}" = set; then
47481 echo $ECHO_N "(cached) $ECHO_C" >&6
47482 else
47483 cat >conftest.$ac_ext <<_ACEOF
47484 /* confdefs.h. */
47485 _ACEOF
47486 cat confdefs.h >>conftest.$ac_ext
47487 cat >>conftest.$ac_ext <<_ACEOF
47488 /* end confdefs.h. */
47489
47490
47491 #include <ole2.h>
47492 _ACEOF
47493 rm -f conftest.$ac_objext
47494 if { (ac_try="$ac_compile"
47495 case "(($ac_try" in
47496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47497 *) ac_try_echo=$ac_try;;
47498 esac
47499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47500 (eval "$ac_compile") 2>conftest.er1
47501 ac_status=$?
47502 grep -v '^ *+' conftest.er1 >conftest.err
47503 rm -f conftest.er1
47504 cat conftest.err >&5
47505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506 (exit $ac_status); } && {
47507 test -z "$ac_c_werror_flag" ||
47508 test ! -s conftest.err
47509 } && test -s conftest.$ac_objext; then
47510 ac_cv_header_ole2_h=yes
47511 else
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47514
47515 ac_cv_header_ole2_h=no
47516 fi
47517
47518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47519 fi
47520 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47521 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47522
47523
47524
47525 if test "$ac_cv_header_ole2_h" = "yes" ; then
47526 if test "$GCC" = yes ; then
47527 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47528 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47529 cat >conftest.$ac_ext <<_ACEOF
47530 /* confdefs.h. */
47531 _ACEOF
47532 cat confdefs.h >>conftest.$ac_ext
47533 cat >>conftest.$ac_ext <<_ACEOF
47534 /* end confdefs.h. */
47535 #include <windows.h>
47536 #include <ole2.h>
47537 int
47538 main ()
47539 {
47540
47541 ;
47542 return 0;
47543 }
47544 _ACEOF
47545 rm -f conftest.$ac_objext
47546 if { (ac_try="$ac_compile"
47547 case "(($ac_try" in
47548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47549 *) ac_try_echo=$ac_try;;
47550 esac
47551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47552 (eval "$ac_compile") 2>conftest.er1
47553 ac_status=$?
47554 grep -v '^ *+' conftest.er1 >conftest.err
47555 rm -f conftest.er1
47556 cat conftest.err >&5
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); } && {
47559 test -z "$ac_c_werror_flag" ||
47560 test ! -s conftest.err
47561 } && test -s conftest.$ac_objext; then
47562 { echo "$as_me:$LINENO: result: no" >&5
47563 echo "${ECHO_T}no" >&6; }
47564 else
47565 echo "$as_me: failed program was:" >&5
47566 sed 's/^/| /' conftest.$ac_ext >&5
47567
47568 { echo "$as_me:$LINENO: result: yes" >&5
47569 echo "${ECHO_T}yes" >&6; }
47570 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47571 fi
47572
47573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47574 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47575 if test "$wxUSE_OLE" = "yes" ; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_OLE 1
47578 _ACEOF
47579
47580 cat >>confdefs.h <<\_ACEOF
47581 #define wxUSE_OLE_AUTOMATION 1
47582 _ACEOF
47583
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_ACTIVEX 1
47586 _ACEOF
47587
47588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47589 fi
47590 fi
47591
47592 if test "$wxUSE_DATAOBJ" = "yes" ; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_DATAOBJ 1
47595 _ACEOF
47596
47597 fi
47598 else
47599 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47600 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47601
47602 wxUSE_CLIPBOARD=no
47603 wxUSE_DRAG_AND_DROP=no
47604 wxUSE_DATAOBJ=no
47605 wxUSE_OLE=no
47606 fi
47607
47608 if test "$wxUSE_METAFILE" = "yes"; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_METAFILE 1
47611 _ACEOF
47612
47613
47614 cat >>confdefs.h <<\_ACEOF
47615 #define wxUSE_ENH_METAFILE 1
47616 _ACEOF
47617
47618 fi
47619 fi
47620
47621 if test "$wxUSE_IPC" = "yes"; then
47622 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47623 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47624 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47625 wxUSE_IPC=no
47626 fi
47627
47628 if test "$wxUSE_IPC" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_IPC 1
47631 _ACEOF
47632
47633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47634 fi
47635 fi
47636
47637 if test "$wxUSE_DATAOBJ" = "yes"; then
47638 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47639 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47640 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47641 wxUSE_DATAOBJ=no
47642 else
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_DATAOBJ 1
47645 _ACEOF
47646
47647 fi
47648 else
47649 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47650 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47651 wxUSE_CLIPBOARD=no
47652 wxUSE_DRAG_AND_DROP=no
47653 fi
47654
47655 if test "$wxUSE_CLIPBOARD" = "yes"; then
47656 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47657 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47658 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47659 wxUSE_CLIPBOARD=no
47660 fi
47661
47662 if test "$wxUSE_CLIPBOARD" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_CLIPBOARD 1
47665 _ACEOF
47666
47667 fi
47668 fi
47669
47670 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47671 if test "$wxUSE_GTK" = 1; then
47672 if test "$WXGTK12" != 1; then
47673 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47674 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47675 wxUSE_DRAG_AND_DROP=no
47676 fi
47677 fi
47678
47679 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47680 "$wxUSE_DFB" = 1; then
47681 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47682 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47683 wxUSE_DRAG_AND_DROP=no
47684 fi
47685
47686 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_DRAG_AND_DROP 1
47689 _ACEOF
47690
47691 fi
47692
47693 fi
47694
47695 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47697 fi
47698
47699 if test "$wxUSE_SPLINES" = "yes" ; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_SPLINES 1
47702 _ACEOF
47703
47704 fi
47705
47706 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_MOUSEWHEEL 1
47709 _ACEOF
47710
47711 fi
47712
47713
47714 USES_CONTROLS=0
47715 if test "$wxUSE_CONTROLS" = "yes"; then
47716 USES_CONTROLS=1
47717 fi
47718
47719 if test "$wxUSE_ACCEL" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_ACCEL 1
47722 _ACEOF
47723
47724 USES_CONTROLS=1
47725 fi
47726
47727 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_ANIMATIONCTRL 1
47730 _ACEOF
47731
47732 USES_CONTROLS=1
47733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47734 fi
47735
47736 if test "$wxUSE_BUTTON" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_BUTTON 1
47739 _ACEOF
47740
47741 USES_CONTROLS=1
47742 fi
47743
47744 if test "$wxUSE_BMPBUTTON" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_BMPBUTTON 1
47747 _ACEOF
47748
47749 USES_CONTROLS=1
47750 fi
47751
47752 if test "$wxUSE_CALCTRL" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_CALENDARCTRL 1
47755 _ACEOF
47756
47757 USES_CONTROLS=1
47758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47759 fi
47760
47761 if test "$wxUSE_CARET" = "yes"; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CARET 1
47764 _ACEOF
47765
47766 USES_CONTROLS=1
47767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47768 fi
47769
47770 if test "$wxUSE_COLLPANE" = "yes"; then
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_COLLPANE 1
47773 _ACEOF
47774
47775 USES_CONTROLS=1
47776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47777 fi
47778
47779 if test "$wxUSE_COMBOBOX" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_COMBOBOX 1
47782 _ACEOF
47783
47784 USES_CONTROLS=1
47785 fi
47786
47787 if test "$wxUSE_COMBOCTRL" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_COMBOCTRL 1
47790 _ACEOF
47791
47792 USES_CONTROLS=1
47793 fi
47794
47795 if test "$wxUSE_CHOICE" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_CHOICE 1
47798 _ACEOF
47799
47800 USES_CONTROLS=1
47801 fi
47802
47803 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_CHOICEBOOK 1
47806 _ACEOF
47807
47808 USES_CONTROLS=1
47809 fi
47810
47811 if test "$wxUSE_CHECKBOX" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_CHECKBOX 1
47814 _ACEOF
47815
47816 USES_CONTROLS=1
47817 fi
47818
47819 if test "$wxUSE_CHECKLST" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_CHECKLISTBOX 1
47822 _ACEOF
47823
47824 USES_CONTROLS=1
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47826 fi
47827
47828 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_COLOURPICKERCTRL 1
47831 _ACEOF
47832
47833 USES_CONTROLS=1
47834 fi
47835
47836 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_DATEPICKCTRL 1
47839 _ACEOF
47840
47841 USES_CONTROLS=1
47842 fi
47843
47844 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_DIRPICKERCTRL 1
47847 _ACEOF
47848
47849 USES_CONTROLS=1
47850 fi
47851
47852 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_FILEPICKERCTRL 1
47855 _ACEOF
47856
47857 USES_CONTROLS=1
47858 fi
47859
47860 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_FONTPICKERCTRL 1
47863 _ACEOF
47864
47865 USES_CONTROLS=1
47866 fi
47867
47868 if test "$wxUSE_DISPLAY" = "yes"; then
47869 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47870 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47871 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47872 wxUSE_DISPLAY=no
47873 else
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_DISPLAY 1
47876 _ACEOF
47877
47878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47879 fi
47880 fi
47881
47882 if test "$wxUSE_DETECT_SM" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_DETECT_SM 1
47885 _ACEOF
47886
47887 fi
47888
47889 if test "$wxUSE_GAUGE" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_GAUGE 1
47892 _ACEOF
47893
47894 USES_CONTROLS=1
47895 fi
47896
47897 if test "$wxUSE_GRID" = "yes"; then
47898 cat >>confdefs.h <<\_ACEOF
47899 #define wxUSE_GRID 1
47900 _ACEOF
47901
47902 USES_CONTROLS=1
47903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47904 fi
47905
47906 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_HYPERLINKCTRL 1
47909 _ACEOF
47910
47911 USES_CONTROLS=1
47912 fi
47913
47914 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_BITMAPCOMBOBOX 1
47917 _ACEOF
47918
47919 USES_CONTROLS=1
47920 fi
47921
47922 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DATAVIEWCTRL 1
47925 _ACEOF
47926
47927 USES_CONTROLS=1
47928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47929 fi
47930
47931 if test "$wxUSE_IMAGLIST" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_IMAGLIST 1
47934 _ACEOF
47935
47936 fi
47937
47938 if test "$wxUSE_LISTBOOK" = "yes"; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_LISTBOOK 1
47941 _ACEOF
47942
47943 USES_CONTROLS=1
47944 fi
47945
47946 if test "$wxUSE_LISTBOX" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_LISTBOX 1
47949 _ACEOF
47950
47951 USES_CONTROLS=1
47952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47953 fi
47954
47955 if test "$wxUSE_LISTCTRL" = "yes"; then
47956 if test "$wxUSE_IMAGLIST" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_LISTCTRL 1
47959 _ACEOF
47960
47961 USES_CONTROLS=1
47962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47963 else
47964 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47965 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47966 fi
47967 fi
47968
47969 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47970 cat >>confdefs.h <<\_ACEOF
47971 #define wxUSE_EDITABLELISTBOX 1
47972 _ACEOF
47973
47974 USES_CONTROLS=1
47975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47976 fi
47977
47978 if test "$wxUSE_NOTEBOOK" = "yes"; then
47979 cat >>confdefs.h <<\_ACEOF
47980 #define wxUSE_NOTEBOOK 1
47981 _ACEOF
47982
47983 USES_CONTROLS=1
47984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47985 fi
47986
47987 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47988 cat >>confdefs.h <<\_ACEOF
47989 #define wxUSE_ODCOMBOBOX 1
47990 _ACEOF
47991
47992 USES_CONTROLS=1
47993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47994 fi
47995
47996
47997 if test "$wxUSE_RADIOBOX" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_RADIOBOX 1
48000 _ACEOF
48001
48002 USES_CONTROLS=1
48003 fi
48004
48005 if test "$wxUSE_RADIOBTN" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_RADIOBTN 1
48008 _ACEOF
48009
48010 USES_CONTROLS=1
48011 fi
48012
48013 if test "$wxUSE_SASH" = "yes"; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define wxUSE_SASH 1
48016 _ACEOF
48017
48018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48019 fi
48020
48021 if test "$wxUSE_SCROLLBAR" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_SCROLLBAR 1
48024 _ACEOF
48025
48026 USES_CONTROLS=1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48028 fi
48029
48030 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_SEARCHCTRL 1
48033 _ACEOF
48034
48035 USES_CONTROLS=1
48036 fi
48037
48038 if test "$wxUSE_SLIDER" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_SLIDER 1
48041 _ACEOF
48042
48043 USES_CONTROLS=1
48044 fi
48045
48046 if test "$wxUSE_SPINBTN" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_SPINBTN 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 fi
48053
48054 if test "$wxUSE_SPINCTRL" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_SPINCTRL 1
48057 _ACEOF
48058
48059 USES_CONTROLS=1
48060 fi
48061
48062 if test "$wxUSE_SPLITTER" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_SPLITTER 1
48065 _ACEOF
48066
48067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48068 fi
48069
48070 if test "$wxUSE_STATBMP" = "yes"; then
48071 cat >>confdefs.h <<\_ACEOF
48072 #define wxUSE_STATBMP 1
48073 _ACEOF
48074
48075 USES_CONTROLS=1
48076 fi
48077
48078 if test "$wxUSE_STATBOX" = "yes"; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_STATBOX 1
48081 _ACEOF
48082
48083 USES_CONTROLS=1
48084 fi
48085
48086 if test "$wxUSE_STATTEXT" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_STATTEXT 1
48089 _ACEOF
48090
48091 USES_CONTROLS=1
48092 fi
48093
48094 if test "$wxUSE_STATLINE" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_STATLINE 1
48097 _ACEOF
48098
48099 USES_CONTROLS=1
48100 fi
48101
48102 if test "$wxUSE_STATUSBAR" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_NATIVE_STATUSBAR 1
48105 _ACEOF
48106
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_STATUSBAR 1
48109 _ACEOF
48110
48111 USES_CONTROLS=1
48112
48113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48114 fi
48115
48116 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_TAB_DIALOG 1
48119 _ACEOF
48120
48121 fi
48122
48123 if test "$wxUSE_TEXTCTRL" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_TEXTCTRL 1
48126 _ACEOF
48127
48128 USES_CONTROLS=1
48129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48130 fi
48131
48132 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48133 if test "$wxUSE_COCOA" = 1 ; then
48134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48135 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48136 wxUSE_TOGGLEBTN=no
48137 fi
48138
48139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_TOGGLEBTN 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145 fi
48146 fi
48147
48148 if test "$wxUSE_TOOLBAR" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_TOOLBAR 1
48151 _ACEOF
48152
48153 USES_CONTROLS=1
48154
48155 if test "$wxUSE_UNIVERSAL" = "yes"; then
48156 wxUSE_TOOLBAR_NATIVE="no"
48157 else
48158 wxUSE_TOOLBAR_NATIVE="yes"
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_TOOLBAR_NATIVE 1
48161 _ACEOF
48162
48163 fi
48164
48165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48166 fi
48167
48168 if test "$wxUSE_TOOLTIPS" = "yes"; then
48169 if test "$wxUSE_MOTIF" = 1; then
48170 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48171 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48172 else
48173 if test "$wxUSE_UNIVERSAL" = "yes"; then
48174 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48175 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48176 else
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_TOOLTIPS 1
48179 _ACEOF
48180
48181 fi
48182 fi
48183 fi
48184
48185 if test "$wxUSE_TREEBOOK" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_TREEBOOK 1
48188 _ACEOF
48189
48190 USES_CONTROLS=1
48191 fi
48192
48193 if test "$wxUSE_TOOLBOOK" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TOOLBOOK 1
48196 _ACEOF
48197
48198 USES_CONTROLS=1
48199 fi
48200
48201 if test "$wxUSE_TREECTRL" = "yes"; then
48202 if test "$wxUSE_IMAGLIST" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TREECTRL 1
48205 _ACEOF
48206
48207 USES_CONTROLS=1
48208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48209 else
48210 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48211 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48212 fi
48213 fi
48214
48215 if test "$wxUSE_POPUPWIN" = "yes"; then
48216 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48217 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48218 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48219 else
48220 if test "$wxUSE_PM" = 1; then
48221 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48222 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48223 else
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_POPUPWIN 1
48226 _ACEOF
48227
48228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48229
48230 USES_CONTROLS=1
48231 fi
48232 fi
48233 fi
48234
48235 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48236 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48237 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48238 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48239 else
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_DIALUP_MANAGER 1
48242 _ACEOF
48243
48244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48245 fi
48246 fi
48247
48248 if test "$wxUSE_TIPWINDOW" = "yes"; then
48249 if test "$wxUSE_PM" = 1; then
48250 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48251 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48252 else
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_TIPWINDOW 1
48255 _ACEOF
48256
48257 fi
48258 fi
48259
48260 if test "$USES_CONTROLS" = 1; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_CONTROLS 1
48263 _ACEOF
48264
48265 fi
48266
48267
48268 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_ACCESSIBILITY 1
48271 _ACEOF
48272
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48274 fi
48275
48276 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_DRAGIMAGE 1
48279 _ACEOF
48280
48281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48282 fi
48283
48284 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48285 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48286 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48287 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48288 else
48289 cat >>confdefs.h <<\_ACEOF
48290 #define wxUSE_EXCEPTIONS 1
48291 _ACEOF
48292
48293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48294 fi
48295 fi
48296
48297 USE_HTML=0
48298 if test "$wxUSE_HTML" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_HTML 1
48301 _ACEOF
48302
48303 USE_HTML=1
48304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48305 if test "$wxUSE_MAC" = 1; then
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48307 fi
48308 fi
48309 if test "$wxUSE_WEBKIT" = "yes"; then
48310 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48311 old_CPPFLAGS="$CPPFLAGS"
48312 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48313 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48314 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48315 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48316 echo $ECHO_N "(cached) $ECHO_C" >&6
48317 else
48318 cat >conftest.$ac_ext <<_ACEOF
48319 /* confdefs.h. */
48320 _ACEOF
48321 cat confdefs.h >>conftest.$ac_ext
48322 cat >>conftest.$ac_ext <<_ACEOF
48323 /* end confdefs.h. */
48324
48325 #include <Carbon/Carbon.h>
48326 #include <WebKit/WebKit.h>
48327
48328
48329 #include <WebKit/HIWebView.h>
48330 _ACEOF
48331 rm -f conftest.$ac_objext
48332 if { (ac_try="$ac_compile"
48333 case "(($ac_try" in
48334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48335 *) ac_try_echo=$ac_try;;
48336 esac
48337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48338 (eval "$ac_compile") 2>conftest.er1
48339 ac_status=$?
48340 grep -v '^ *+' conftest.er1 >conftest.err
48341 rm -f conftest.er1
48342 cat conftest.err >&5
48343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344 (exit $ac_status); } && {
48345 test -z "$ac_c_werror_flag" ||
48346 test ! -s conftest.err
48347 } && test -s conftest.$ac_objext; then
48348 ac_cv_header_WebKit_HIWebView_h=yes
48349 else
48350 echo "$as_me: failed program was:" >&5
48351 sed 's/^/| /' conftest.$ac_ext >&5
48352
48353 ac_cv_header_WebKit_HIWebView_h=no
48354 fi
48355
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48357 fi
48358 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48359 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48360 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48361
48362 cat >>confdefs.h <<\_ACEOF
48363 #define wxUSE_WEBKIT 1
48364 _ACEOF
48365
48366 WEBKIT_LINK="-framework WebKit"
48367
48368 else
48369
48370 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48371 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48372 wxUSE_WEBKIT=no
48373
48374 fi
48375
48376
48377 CPPFLAGS="$old_CPPFLAGS"
48378 elif test "$wxUSE_COCOA" = 1; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_WEBKIT 1
48381 _ACEOF
48382
48383 else
48384 wxUSE_WEBKIT=no
48385 fi
48386 fi
48387
48388 USE_XRC=0
48389 if test "$wxUSE_XRC" = "yes"; then
48390 if test "$wxUSE_XML" != "yes"; then
48391 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48392 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48393 wxUSE_XRC=no
48394 else
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_XRC 1
48397 _ACEOF
48398
48399 USE_XRC=1
48400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48401 fi
48402 fi
48403
48404 USE_AUI=0
48405 if test "$wxUSE_AUI" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_AUI 1
48408 _ACEOF
48409
48410 USE_AUI=1
48411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48412 fi
48413
48414 USE_STC=0
48415 if test "$wxUSE_STC" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_STC 1
48418 _ACEOF
48419
48420 USE_STC=1
48421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48422 fi
48423
48424 if test "$wxUSE_MENUS" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_MENUS 1
48427 _ACEOF
48428
48429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48430 fi
48431
48432 if test "$wxUSE_METAFILE" = "yes"; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_METAFILE 1
48435 _ACEOF
48436
48437 fi
48438
48439 if test "$wxUSE_MIMETYPE" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_MIMETYPE 1
48442 _ACEOF
48443
48444 fi
48445
48446 if test "$wxUSE_MINIFRAME" = "yes"; then
48447 cat >>confdefs.h <<\_ACEOF
48448 #define wxUSE_MINIFRAME 1
48449 _ACEOF
48450
48451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48452 fi
48453
48454 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48455 cat >>confdefs.h <<\_ACEOF
48456 #define wxUSE_SYSTEM_OPTIONS 1
48457 _ACEOF
48458
48459 fi
48460
48461 if test "$wxUSE_TASKBARICON" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_TASKBARICON 1
48464 _ACEOF
48465
48466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48467 fi
48468
48469
48470 if test "$wxUSE_VALIDATORS" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_VALIDATORS 1
48473 _ACEOF
48474
48475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48476 fi
48477
48478 if test "$wxUSE_PALETTE" = "yes" ; then
48479 if test "$wxUSE_DFB" = 1; then
48480 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48481 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48482 wxUSE_PALETTE=no
48483 else
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_PALETTE 1
48486 _ACEOF
48487
48488 fi
48489 fi
48490
48491 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48492 LIBS=" -lunicows $LIBS"
48493 fi
48494
48495 USE_RICHTEXT=0
48496 if test "$wxUSE_RICHTEXT" = "yes"; then
48497 cat >>confdefs.h <<\_ACEOF
48498 #define wxUSE_RICHTEXT 1
48499 _ACEOF
48500
48501 USE_RICHTEXT=1
48502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48503 fi
48504
48505
48506 if test "$wxUSE_IMAGE" = "yes" ; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_IMAGE 1
48509 _ACEOF
48510
48511
48512 if test "$wxUSE_GIF" = "yes" ; then
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_GIF 1
48515 _ACEOF
48516
48517 fi
48518
48519 if test "$wxUSE_PCX" = "yes" ; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_PCX 1
48522 _ACEOF
48523
48524 fi
48525
48526 if test "$wxUSE_TGA" = "yes" ; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_TGA 1
48529 _ACEOF
48530
48531 fi
48532
48533 if test "$wxUSE_IFF" = "yes" ; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_IFF 1
48536 _ACEOF
48537
48538 fi
48539
48540 if test "$wxUSE_PNM" = "yes" ; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_PNM 1
48543 _ACEOF
48544
48545 fi
48546
48547 if test "$wxUSE_XPM" = "yes" ; then
48548 cat >>confdefs.h <<\_ACEOF
48549 #define wxUSE_XPM 1
48550 _ACEOF
48551
48552 fi
48553
48554 if test "$wxUSE_ICO_CUR" = "yes" ; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_ICO_CUR 1
48557 _ACEOF
48558
48559 fi
48560 fi
48561
48562
48563 if test "$wxUSE_ABOUTDLG" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_ABOUTDLG 1
48566 _ACEOF
48567
48568 fi
48569
48570 if test "$wxUSE_CHOICEDLG" = "yes"; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_CHOICEDLG 1
48573 _ACEOF
48574
48575 fi
48576
48577 if test "$wxUSE_COLOURDLG" = "yes"; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_COLOURDLG 1
48580 _ACEOF
48581
48582 fi
48583
48584 if test "$wxUSE_FILEDLG" = "yes"; then
48585 cat >>confdefs.h <<\_ACEOF
48586 #define wxUSE_FILEDLG 1
48587 _ACEOF
48588
48589 fi
48590
48591 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_FINDREPLDLG 1
48594 _ACEOF
48595
48596 fi
48597
48598 if test "$wxUSE_FONTDLG" = "yes"; then
48599 cat >>confdefs.h <<\_ACEOF
48600 #define wxUSE_FONTDLG 1
48601 _ACEOF
48602
48603 fi
48604
48605 if test "$wxUSE_DIRDLG" = "yes"; then
48606 if test "$wxUSE_TREECTRL" != "yes"; then
48607 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48608 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48609 else
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_DIRDLG 1
48612 _ACEOF
48613
48614 fi
48615 fi
48616
48617 if test "$wxUSE_MSGDLG" = "yes"; then
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_MSGDLG 1
48620 _ACEOF
48621
48622 fi
48623
48624 if test "$wxUSE_NUMBERDLG" = "yes"; then
48625 cat >>confdefs.h <<\_ACEOF
48626 #define wxUSE_NUMBERDLG 1
48627 _ACEOF
48628
48629 fi
48630
48631 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48633 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48634 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48635 else
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_PROGRESSDLG 1
48638 _ACEOF
48639
48640 fi
48641 fi
48642
48643 if test "$wxUSE_SPLASH" = "yes"; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_SPLASH 1
48646 _ACEOF
48647
48648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48649 fi
48650
48651 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48652 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48653 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48654 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48655 else
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_STARTUP_TIPS 1
48658 _ACEOF
48659
48660 fi
48661 fi
48662
48663 if test "$wxUSE_TEXTDLG" = "yes"; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_TEXTDLG 1
48666 _ACEOF
48667
48668 fi
48669
48670 if test "$wxUSE_WIZARDDLG" = "yes"; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_WIZARDDLG 1
48673 _ACEOF
48674
48675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48676 fi
48677
48678
48679 if test "$wxUSE_MSW" = 1 ; then
48680
48681 if test "$wxUSE_DC_CACHEING" = "yes"; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_DC_CACHEING 1
48684 _ACEOF
48685
48686 fi
48687
48688 if test "$wxUSE_DIB" = "yes"; then
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_WXDIB 1
48691 _ACEOF
48692
48693 fi
48694
48695 if test "$wxUSE_REGKEY" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_REGKEY 1
48698 _ACEOF
48699
48700 fi
48701
48702 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48705 _ACEOF
48706
48707 fi
48708
48709 if test "$wxUSE_UXTHEME" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_UXTHEME 1
48712 _ACEOF
48713
48714 fi
48715
48716 fi
48717
48718
48719 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48720 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48721 cat >>confdefs.h <<\_ACEOF
48722 #define wxUSE_GRAPHICS_CONTEXT 1
48723 _ACEOF
48724
48725 elif test "$wxUSE_GTK" != 1; then
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_GRAPHICS_CONTEXT 1
48728 _ACEOF
48729
48730 else
48731
48732 pkg_failed=no
48733 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48734 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48735
48736 if test -n "$PKG_CONFIG"; then
48737 if test -n "$CAIRO_CFLAGS"; then
48738 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48739 else
48740 if test -n "$PKG_CONFIG" && \
48741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48742 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48743 ac_status=$?
48744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745 (exit $ac_status); }; then
48746 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48747 else
48748 pkg_failed=yes
48749 fi
48750 fi
48751 else
48752 pkg_failed=untried
48753 fi
48754 if test -n "$PKG_CONFIG"; then
48755 if test -n "$CAIRO_LIBS"; then
48756 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48757 else
48758 if test -n "$PKG_CONFIG" && \
48759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48760 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48761 ac_status=$?
48762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48763 (exit $ac_status); }; then
48764 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48765 else
48766 pkg_failed=yes
48767 fi
48768 fi
48769 else
48770 pkg_failed=untried
48771 fi
48772
48773
48774
48775 if test $pkg_failed = yes; then
48776
48777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48778 _pkg_short_errors_supported=yes
48779 else
48780 _pkg_short_errors_supported=no
48781 fi
48782 if test $_pkg_short_errors_supported = yes; then
48783 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48784 else
48785 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48786 fi
48787 # Put the nasty error message in config.log where it belongs
48788 echo "$CAIRO_PKG_ERRORS" >&5
48789
48790 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48791 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48792
48793 elif test $pkg_failed = untried; then
48794 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48795 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48796
48797 else
48798 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48799 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48800 { echo "$as_me:$LINENO: result: yes" >&5
48801 echo "${ECHO_T}yes" >&6; }
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_GRAPHICS_CONTEXT 1
48804 _ACEOF
48805
48806 fi
48807 fi
48808 fi
48809
48810
48811 USE_MEDIA=0
48812
48813 if test "$wxUSE_MEDIACTRL" = "yes"; then
48814 USE_MEDIA=1
48815
48816 if test "$wxUSE_GTK" = 1; then
48817 wxUSE_GSTREAMER="no"
48818
48819 GST_VERSION_MAJOR=0
48820 GST_VERSION_MINOR=10
48821 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48822
48823 if test "$wxUSE_GSTREAMER8" = "no"; then
48824
48825 pkg_failed=no
48826 { echo "$as_me:$LINENO: checking for GST" >&5
48827 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48828
48829 if test -n "$PKG_CONFIG"; then
48830 if test -n "$GST_CFLAGS"; then
48831 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48832 else
48833 if test -n "$PKG_CONFIG" && \
48834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48835 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48836 ac_status=$?
48837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838 (exit $ac_status); }; then
48839 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48840 else
48841 pkg_failed=yes
48842 fi
48843 fi
48844 else
48845 pkg_failed=untried
48846 fi
48847 if test -n "$PKG_CONFIG"; then
48848 if test -n "$GST_LIBS"; then
48849 pkg_cv_GST_LIBS="$GST_LIBS"
48850 else
48851 if test -n "$PKG_CONFIG" && \
48852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48853 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48854 ac_status=$?
48855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856 (exit $ac_status); }; then
48857 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48858 else
48859 pkg_failed=yes
48860 fi
48861 fi
48862 else
48863 pkg_failed=untried
48864 fi
48865
48866
48867
48868 if test $pkg_failed = yes; then
48869
48870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48871 _pkg_short_errors_supported=yes
48872 else
48873 _pkg_short_errors_supported=no
48874 fi
48875 if test $_pkg_short_errors_supported = yes; then
48876 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48877 else
48878 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48879 fi
48880 # Put the nasty error message in config.log where it belongs
48881 echo "$GST_PKG_ERRORS" >&5
48882
48883
48884 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48885 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48886 GST_VERSION_MINOR=8
48887
48888
48889 elif test $pkg_failed = untried; then
48890
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48892 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48893 GST_VERSION_MINOR=8
48894
48895
48896 else
48897 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48898 GST_LIBS=$pkg_cv_GST_LIBS
48899 { echo "$as_me:$LINENO: result: yes" >&5
48900 echo "${ECHO_T}yes" >&6; }
48901
48902 wxUSE_GSTREAMER="yes"
48903 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48904
48905 fi
48906 else
48907 GST_VERSION_MINOR=8
48908 fi
48909
48910 if test $GST_VERSION_MINOR = "8"; then
48911 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48912
48913 pkg_failed=no
48914 { echo "$as_me:$LINENO: checking for GST" >&5
48915 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48916
48917 if test -n "$PKG_CONFIG"; then
48918 if test -n "$GST_CFLAGS"; then
48919 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48920 else
48921 if test -n "$PKG_CONFIG" && \
48922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48923 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48924 ac_status=$?
48925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926 (exit $ac_status); }; then
48927 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48928 else
48929 pkg_failed=yes
48930 fi
48931 fi
48932 else
48933 pkg_failed=untried
48934 fi
48935 if test -n "$PKG_CONFIG"; then
48936 if test -n "$GST_LIBS"; then
48937 pkg_cv_GST_LIBS="$GST_LIBS"
48938 else
48939 if test -n "$PKG_CONFIG" && \
48940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48941 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48942 ac_status=$?
48943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48944 (exit $ac_status); }; then
48945 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48946 else
48947 pkg_failed=yes
48948 fi
48949 fi
48950 else
48951 pkg_failed=untried
48952 fi
48953
48954
48955
48956 if test $pkg_failed = yes; then
48957
48958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48959 _pkg_short_errors_supported=yes
48960 else
48961 _pkg_short_errors_supported=no
48962 fi
48963 if test $_pkg_short_errors_supported = yes; then
48964 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48965 else
48966 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48967 fi
48968 # Put the nasty error message in config.log where it belongs
48969 echo "$GST_PKG_ERRORS" >&5
48970
48971
48972 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48973 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48974
48975 elif test $pkg_failed = untried; then
48976
48977 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48978 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48979
48980 else
48981 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48982 GST_LIBS=$pkg_cv_GST_LIBS
48983 { echo "$as_me:$LINENO: result: yes" >&5
48984 echo "${ECHO_T}yes" >&6; }
48985 wxUSE_GSTREAMER="yes"
48986 fi
48987 fi
48988
48989
48990 if test "$wxUSE_GSTREAMER" = "yes"; then
48991 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48992 LIBS="$GST_LIBS $LIBS"
48993
48994 cat >>confdefs.h <<\_ACEOF
48995 #define wxUSE_GSTREAMER 1
48996 _ACEOF
48997
48998 else
48999 USE_MEDIA=0
49000 fi
49001 fi
49002
49003 if test $USE_MEDIA = 1; then
49004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_MEDIACTRL 1
49007 _ACEOF
49008
49009 fi
49010 fi
49011
49012
49013 if test "$cross_compiling" = "yes"; then
49014 OSINFO="\"$host\""
49015 else
49016 OSINFO=`uname -s -r -m`
49017 OSINFO="\"$OSINFO\""
49018 fi
49019
49020 cat >>confdefs.h <<_ACEOF
49021 #define WXWIN_OS_DESCRIPTION $OSINFO
49022 _ACEOF
49023
49024
49025
49026 if test "x$prefix" != "xNONE"; then
49027 wxPREFIX=$prefix
49028 else
49029 wxPREFIX=$ac_default_prefix
49030 fi
49031
49032 cat >>confdefs.h <<_ACEOF
49033 #define wxINSTALL_PREFIX "$wxPREFIX"
49034 _ACEOF
49035
49036
49037
49038
49039 STD_BASE_LIBS="base"
49040 STD_GUI_LIBS=""
49041 BUILT_WX_LIBS="base"
49042 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49043
49044 if test "$wxUSE_SOCKETS" = "yes" ; then
49045 STD_BASE_LIBS="net $STD_BASE_LIBS"
49046 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49047 fi
49048 if test "$wxUSE_ODBC" != "no" ; then
49049 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49050 fi
49051 if test "$wxUSE_XML" = "yes" ; then
49052 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49053 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49054 fi
49055
49056 if test "$wxUSE_GUI" = "yes"; then
49057 STD_GUI_LIBS="adv core"
49058 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49059
49060 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49061 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49062 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49063 fi
49064 if test "$wxUSE_ODBC" != "no" ; then
49065 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49066 fi
49067 if test "$wxUSE_HTML" = "yes" ; then
49068 STD_GUI_LIBS="html $STD_GUI_LIBS"
49069 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49070 fi
49071 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49072 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49073 fi
49074 if test "$wxUSE_OPENGL" = "yes" ; then
49075 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49076 fi
49077 if test "$wxUSE_AUI" = "yes" ; then
49078 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49079 fi
49080 if test "$wxUSE_STC" = "yes" ; then
49081 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49082 fi
49083 if test "$wxUSE_XRC" = "yes" ; then
49084 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49085 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49086 fi
49087 fi
49088
49089
49090
49091
49092
49093
49094
49095
49096 if test "$wxUSE_MAC" = 1 ; then
49097 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49098 if test "$USE_DARWIN" = 1; then
49099 LDFLAGS="$LDFLAGS -framework QuickTime"
49100 else
49101 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49102 fi
49103 fi
49104 if test "$USE_DARWIN" = 1; then
49105 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49106 else
49107 LDFLAGS="$LDFLAGS -lCarbonLib"
49108 fi
49109 fi
49110 if test "$wxUSE_COCOA" = 1 ; then
49111 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49112 if test "$wxUSE_MEDIACTRL" = "yes"; then
49113 LDFLAGS="$LDFLAGS -framework QuickTime"
49114 fi
49115 fi
49116 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49117 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49118 fi
49119
49120 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49121
49122 if test "$wxUSE_GUI" = "yes"; then
49123
49124
49125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49126 dynamic erase event exec font image minimal mobile \
49127 mobile/wxedit mobile/styles propsize render \
49128 rotate shaped svg taborder vscroll widgets"
49129
49130 if test "$wxUSE_MONOLITHIC" != "yes"; then
49131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49132 fi
49133 if test "$TOOLKIT" = "MSW"; then
49134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49135 if test "$wxUSE_UNIVERSAL" != "yes"; then
49136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49137 fi
49138 fi
49139 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49141 fi
49142 else
49143 SAMPLES_SUBDIRS="console"
49144 fi
49145
49146
49147 if test "x$INTELCC" = "xyes" ; then
49148 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49149 elif test "$GCC" = yes ; then
49150 CWARNINGS="-Wall -Wundef"
49151 fi
49152
49153 if test "x$INTELCXX" = "xyes" ; then
49154 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49155 elif test "$GXX" = yes ; then
49156 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49157 fi
49158
49159
49160 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49161 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49162
49163
49164 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49165 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49166 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49167 $CPPFLAGS `
49168
49169 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49170 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49171 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49172
49173 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49174
49175
49176 if test "x$MWCC" = "xyes"; then
49177
49178 CC="$CC -cwd source -I-"
49179 CXX="$CXX -cwd source -I-"
49180 fi
49181
49182
49183 LIBS=`echo $LIBS`
49184 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49185 EXTRALIBS_XML="$EXPAT_LINK"
49186 EXTRALIBS_HTML="$MSPACK_LINK"
49187 EXTRALIBS_ODBC="$ODBC_LINK"
49188 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49189 if test "$wxUSE_GUI" = "yes"; then
49190 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49191 fi
49192 if test "$wxUSE_OPENGL" = "yes"; then
49193 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49194 fi
49195
49196 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49197
49198 WXCONFIG_LIBS="$LIBS"
49199
49200 if test "$wxUSE_REGEX" = "builtin" ; then
49201 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49202 fi
49203 if test "$wxUSE_EXPAT" = "builtin" ; then
49204 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49205 fi
49206 if test "$wxUSE_ODBC" = "builtin" ; then
49207 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49208 fi
49209 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49210 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49211 fi
49212 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49213 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49214 fi
49215 if test "$wxUSE_LIBPNG" = "builtin" ; then
49216 wxconfig_3rdparty="png $wxconfig_3rdparty"
49217 fi
49218 if test "$wxUSE_ZLIB" = "builtin" ; then
49219 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49220 fi
49221
49222 for i in $wxconfig_3rdparty ; do
49223 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49224 done
49225
49226
49227 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49228 WXUNIV=1
49229
49230 case "$wxUNIV_THEMES" in
49231 ''|all)
49232 cat >>confdefs.h <<\_ACEOF
49233 #define wxUSE_ALL_THEMES 1
49234 _ACEOF
49235
49236 ;;
49237
49238 *)
49239 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49240 cat >>confdefs.h <<_ACEOF
49241 #define wxUSE_THEME_$t 1
49242 _ACEOF
49243
49244 done
49245 esac
49246 else
49247 WXUNIV=0
49248 fi
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258 if test $wxUSE_MONOLITHIC = "yes" ; then
49259 MONOLITHIC=1
49260 else
49261 MONOLITHIC=0
49262 fi
49263
49264 if test $wxUSE_PLUGINS = "yes" ; then
49265 USE_PLUGINS=1
49266 else
49267 USE_PLUGINS=0
49268 fi
49269
49270 if test $wxUSE_ODBC != "no" ; then
49271 USE_ODBC=1
49272 else
49273 USE_ODBC=0
49274 fi
49275
49276 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49277 USE_QA=1
49278 else
49279 USE_QA=0
49280 fi
49281
49282 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49283 OFFICIAL_BUILD=1
49284 else
49285 OFFICIAL_BUILD=0
49286 fi
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49314
49315
49316
49317
49318
49319
49320
49321
49322 case "$TOOLKIT" in
49323 GTK)
49324 TOOLKIT_DESC="GTK+"
49325 if test "$WXGTK20" = 1; then
49326 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49327 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49328 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49329 fi
49330 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49331 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49332 fi
49333 if test "$wxUSE_LIBHILDON" = "yes"; then
49334 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49335 fi
49336
49337 if test "$TOOLKIT_EXTRA" != ""; then
49338 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49339 fi
49340 fi
49341 ;;
49342
49343 ?*)
49344 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49345 ;;
49346
49347 *)
49348 TOOLKIT_DESC="base only"
49349 ;;
49350 esac
49351
49352 if test "$wxUSE_WINE" = "yes"; then
49353 BAKEFILE_FORCE_PLATFORM=win32
49354 fi
49355
49356 if test "$wxUSE_MAC" = 1 ; then
49357 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49358 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49359 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49360 else
49361 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49362 fi
49363 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49364 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49365 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49366 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49367 bk_use_pch=no
49368 fi
49369 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49370 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49371 fi
49372
49373 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49374 then
49375 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49376 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49377 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49378 echo $ECHO_N "(cached) $ECHO_C" >&6
49379 else
49380
49381 echo '#include <stdio.h>
49382 const wchar_t test_var[] = L"awidetest";' > conftest.h
49383
49384 echo '#include "conftest.h"
49385 int main()
49386 {
49387 printf("%ls", test_var);
49388 return 0;
49389 }' > conftest.cpp
49390
49391 wx_cv_gcc_pch_bug="pch not supported"
49392
49393 if $CXX conftest.h >/dev/null 2>&1
49394 then
49395 wx_cv_gcc_pch_bug=
49396
49397 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49398 then
49399 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49400 grep awidetest >/dev/null
49401 then
49402 wx_cv_gcc_pch_bug=no
49403 else
49404 wx_cv_gcc_pch_bug=yes
49405 fi
49406 fi
49407 fi
49408
49409 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49410
49411 fi
49412 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49413 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49414
49415 if test "$wx_cv_gcc_pch_bug" = yes; then
49416 bk_use_pch=no
49417 fi
49418 fi
49419
49420
49421
49422
49423 if test "x$BAKEFILE_HOST" = "x"; then
49424 if test "x${host}" = "x" ; then
49425 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49426 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49427 { (exit 1); exit 1; }; }
49428 fi
49429
49430 BAKEFILE_HOST="${host}"
49431 fi
49432
49433 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49434
49435 if test -n "$ac_tool_prefix"; then
49436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49440 if test "${ac_cv_prog_RANLIB+set}" = set; then
49441 echo $ECHO_N "(cached) $ECHO_C" >&6
49442 else
49443 if test -n "$RANLIB"; then
49444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49445 else
49446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49447 for as_dir in $PATH
49448 do
49449 IFS=$as_save_IFS
49450 test -z "$as_dir" && as_dir=.
49451 for ac_exec_ext in '' $ac_executable_extensions; do
49452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49455 break 2
49456 fi
49457 done
49458 done
49459 IFS=$as_save_IFS
49460
49461 fi
49462 fi
49463 RANLIB=$ac_cv_prog_RANLIB
49464 if test -n "$RANLIB"; then
49465 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49466 echo "${ECHO_T}$RANLIB" >&6; }
49467 else
49468 { echo "$as_me:$LINENO: result: no" >&5
49469 echo "${ECHO_T}no" >&6; }
49470 fi
49471
49472
49473 fi
49474 if test -z "$ac_cv_prog_RANLIB"; then
49475 ac_ct_RANLIB=$RANLIB
49476 # Extract the first word of "ranlib", so it can be a program name with args.
49477 set dummy ranlib; ac_word=$2
49478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49481 echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49483 if test -n "$ac_ct_RANLIB"; then
49484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49485 else
49486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49487 for as_dir in $PATH
49488 do
49489 IFS=$as_save_IFS
49490 test -z "$as_dir" && as_dir=.
49491 for ac_exec_ext in '' $ac_executable_extensions; do
49492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49493 ac_cv_prog_ac_ct_RANLIB="ranlib"
49494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49495 break 2
49496 fi
49497 done
49498 done
49499 IFS=$as_save_IFS
49500
49501 fi
49502 fi
49503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49504 if test -n "$ac_ct_RANLIB"; then
49505 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49506 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49507 else
49508 { echo "$as_me:$LINENO: result: no" >&5
49509 echo "${ECHO_T}no" >&6; }
49510 fi
49511
49512 if test "x$ac_ct_RANLIB" = x; then
49513 RANLIB=":"
49514 else
49515 case $cross_compiling:$ac_tool_warned in
49516 yes:)
49517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49518 whose name does not start with the host triplet. If you think this
49519 configuration is useful to you, please write to autoconf@gnu.org." >&5
49520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49521 whose name does not start with the host triplet. If you think this
49522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49523 ac_tool_warned=yes ;;
49524 esac
49525 RANLIB=$ac_ct_RANLIB
49526 fi
49527 else
49528 RANLIB="$ac_cv_prog_RANLIB"
49529 fi
49530
49531 # Find a good install program. We prefer a C program (faster),
49532 # so one script is as good as another. But avoid the broken or
49533 # incompatible versions:
49534 # SysV /etc/install, /usr/sbin/install
49535 # SunOS /usr/etc/install
49536 # IRIX /sbin/install
49537 # AIX /bin/install
49538 # AmigaOS /C/install, which installs bootblocks on floppy discs
49539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49542 # OS/2's system install, which has a completely different semantic
49543 # ./install, which can be erroneously created by make from ./install.sh.
49544 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49545 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49546 if test -z "$INSTALL"; then
49547 if test "${ac_cv_path_install+set}" = set; then
49548 echo $ECHO_N "(cached) $ECHO_C" >&6
49549 else
49550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49551 for as_dir in $PATH
49552 do
49553 IFS=$as_save_IFS
49554 test -z "$as_dir" && as_dir=.
49555 # Account for people who put trailing slashes in PATH elements.
49556 case $as_dir/ in
49557 ./ | .// | /cC/* | \
49558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49560 /usr/ucb/* ) ;;
49561 *)
49562 # OSF1 and SCO ODT 3.0 have their own names for install.
49563 # Don't use installbsd from OSF since it installs stuff as root
49564 # by default.
49565 for ac_prog in ginstall scoinst install; do
49566 for ac_exec_ext in '' $ac_executable_extensions; do
49567 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49568 if test $ac_prog = install &&
49569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49570 # AIX install. It has an incompatible calling convention.
49571 :
49572 elif test $ac_prog = install &&
49573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49574 # program-specific install script used by HP pwplus--don't use.
49575 :
49576 else
49577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49578 break 3
49579 fi
49580 fi
49581 done
49582 done
49583 ;;
49584 esac
49585 done
49586 IFS=$as_save_IFS
49587
49588
49589 fi
49590 if test "${ac_cv_path_install+set}" = set; then
49591 INSTALL=$ac_cv_path_install
49592 else
49593 # As a last resort, use the slow shell script. Don't cache a
49594 # value for INSTALL within a source directory, because that will
49595 # break other packages using the cache if that directory is
49596 # removed, or if the value is a relative name.
49597 INSTALL=$ac_install_sh
49598 fi
49599 fi
49600 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49601 echo "${ECHO_T}$INSTALL" >&6; }
49602
49603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49604 # It thinks the first close brace ends the variable substitution.
49605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49606
49607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49608
49609 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49610
49611 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49612 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49613 LN_S=$as_ln_s
49614 if test "$LN_S" = "ln -s"; then
49615 { echo "$as_me:$LINENO: result: yes" >&5
49616 echo "${ECHO_T}yes" >&6; }
49617 else
49618 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49619 echo "${ECHO_T}no, using $LN_S" >&6; }
49620 fi
49621
49622
49623 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49624 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49625 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49626 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49627 echo $ECHO_N "(cached) $ECHO_C" >&6
49628 else
49629 cat >conftest.make <<\_ACEOF
49630 SHELL = /bin/sh
49631 all:
49632 @echo '@@@%%%=$(MAKE)=@@@%%%'
49633 _ACEOF
49634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49636 *@@@%%%=?*=@@@%%%*)
49637 eval ac_cv_prog_make_${ac_make}_set=yes;;
49638 *)
49639 eval ac_cv_prog_make_${ac_make}_set=no;;
49640 esac
49641 rm -f conftest.make
49642 fi
49643 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49644 { echo "$as_me:$LINENO: result: yes" >&5
49645 echo "${ECHO_T}yes" >&6; }
49646 SET_MAKE=
49647 else
49648 { echo "$as_me:$LINENO: result: no" >&5
49649 echo "${ECHO_T}no" >&6; }
49650 SET_MAKE="MAKE=${MAKE-make}"
49651 fi
49652
49653
49654
49655 if test "x$SUNCXX" = "xyes"; then
49656 AR=$CXX
49657 AROPTIONS="-xar -o"
49658
49659 elif test "x$SGICC" = "xyes"; then
49660 AR=$CXX
49661 AROPTIONS="-ar -o"
49662
49663 else
49664 if test -n "$ac_tool_prefix"; then
49665 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49666 set dummy ${ac_tool_prefix}ar; ac_word=$2
49667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49669 if test "${ac_cv_prog_AR+set}" = set; then
49670 echo $ECHO_N "(cached) $ECHO_C" >&6
49671 else
49672 if test -n "$AR"; then
49673 ac_cv_prog_AR="$AR" # Let the user override the test.
49674 else
49675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49676 for as_dir in $PATH
49677 do
49678 IFS=$as_save_IFS
49679 test -z "$as_dir" && as_dir=.
49680 for ac_exec_ext in '' $ac_executable_extensions; do
49681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49682 ac_cv_prog_AR="${ac_tool_prefix}ar"
49683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49684 break 2
49685 fi
49686 done
49687 done
49688 IFS=$as_save_IFS
49689
49690 fi
49691 fi
49692 AR=$ac_cv_prog_AR
49693 if test -n "$AR"; then
49694 { echo "$as_me:$LINENO: result: $AR" >&5
49695 echo "${ECHO_T}$AR" >&6; }
49696 else
49697 { echo "$as_me:$LINENO: result: no" >&5
49698 echo "${ECHO_T}no" >&6; }
49699 fi
49700
49701
49702 fi
49703 if test -z "$ac_cv_prog_AR"; then
49704 ac_ct_AR=$AR
49705 # Extract the first word of "ar", so it can be a program name with args.
49706 set dummy ar; ac_word=$2
49707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49709 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49710 echo $ECHO_N "(cached) $ECHO_C" >&6
49711 else
49712 if test -n "$ac_ct_AR"; then
49713 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49714 else
49715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49716 for as_dir in $PATH
49717 do
49718 IFS=$as_save_IFS
49719 test -z "$as_dir" && as_dir=.
49720 for ac_exec_ext in '' $ac_executable_extensions; do
49721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49722 ac_cv_prog_ac_ct_AR="ar"
49723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49724 break 2
49725 fi
49726 done
49727 done
49728 IFS=$as_save_IFS
49729
49730 fi
49731 fi
49732 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49733 if test -n "$ac_ct_AR"; then
49734 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49735 echo "${ECHO_T}$ac_ct_AR" >&6; }
49736 else
49737 { echo "$as_me:$LINENO: result: no" >&5
49738 echo "${ECHO_T}no" >&6; }
49739 fi
49740
49741 if test "x$ac_ct_AR" = x; then
49742 AR="ar"
49743 else
49744 case $cross_compiling:$ac_tool_warned in
49745 yes:)
49746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49747 whose name does not start with the host triplet. If you think this
49748 configuration is useful to you, please write to autoconf@gnu.org." >&5
49749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49750 whose name does not start with the host triplet. If you think this
49751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49752 ac_tool_warned=yes ;;
49753 esac
49754 AR=$ac_ct_AR
49755 fi
49756 else
49757 AR="$ac_cv_prog_AR"
49758 fi
49759
49760 AROPTIONS=rcu
49761 fi
49762
49763
49764 if test -n "$ac_tool_prefix"; then
49765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49766 set dummy ${ac_tool_prefix}strip; ac_word=$2
49767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49769 if test "${ac_cv_prog_STRIP+set}" = set; then
49770 echo $ECHO_N "(cached) $ECHO_C" >&6
49771 else
49772 if test -n "$STRIP"; then
49773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49774 else
49775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49776 for as_dir in $PATH
49777 do
49778 IFS=$as_save_IFS
49779 test -z "$as_dir" && as_dir=.
49780 for ac_exec_ext in '' $ac_executable_extensions; do
49781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49782 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49784 break 2
49785 fi
49786 done
49787 done
49788 IFS=$as_save_IFS
49789
49790 fi
49791 fi
49792 STRIP=$ac_cv_prog_STRIP
49793 if test -n "$STRIP"; then
49794 { echo "$as_me:$LINENO: result: $STRIP" >&5
49795 echo "${ECHO_T}$STRIP" >&6; }
49796 else
49797 { echo "$as_me:$LINENO: result: no" >&5
49798 echo "${ECHO_T}no" >&6; }
49799 fi
49800
49801
49802 fi
49803 if test -z "$ac_cv_prog_STRIP"; then
49804 ac_ct_STRIP=$STRIP
49805 # Extract the first word of "strip", so it can be a program name with args.
49806 set dummy strip; ac_word=$2
49807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49809 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49811 else
49812 if test -n "$ac_ct_STRIP"; then
49813 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49814 else
49815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49816 for as_dir in $PATH
49817 do
49818 IFS=$as_save_IFS
49819 test -z "$as_dir" && as_dir=.
49820 for ac_exec_ext in '' $ac_executable_extensions; do
49821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49822 ac_cv_prog_ac_ct_STRIP="strip"
49823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49824 break 2
49825 fi
49826 done
49827 done
49828 IFS=$as_save_IFS
49829
49830 fi
49831 fi
49832 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49833 if test -n "$ac_ct_STRIP"; then
49834 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49835 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49836 else
49837 { echo "$as_me:$LINENO: result: no" >&5
49838 echo "${ECHO_T}no" >&6; }
49839 fi
49840
49841 if test "x$ac_ct_STRIP" = x; then
49842 STRIP=":"
49843 else
49844 case $cross_compiling:$ac_tool_warned in
49845 yes:)
49846 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49847 whose name does not start with the host triplet. If you think this
49848 configuration is useful to you, please write to autoconf@gnu.org." >&5
49849 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49850 whose name does not start with the host triplet. If you think this
49851 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49852 ac_tool_warned=yes ;;
49853 esac
49854 STRIP=$ac_ct_STRIP
49855 fi
49856 else
49857 STRIP="$ac_cv_prog_STRIP"
49858 fi
49859
49860 if test -n "$ac_tool_prefix"; then
49861 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49862 set dummy ${ac_tool_prefix}nm; ac_word=$2
49863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49865 if test "${ac_cv_prog_NM+set}" = set; then
49866 echo $ECHO_N "(cached) $ECHO_C" >&6
49867 else
49868 if test -n "$NM"; then
49869 ac_cv_prog_NM="$NM" # Let the user override the test.
49870 else
49871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49872 for as_dir in $PATH
49873 do
49874 IFS=$as_save_IFS
49875 test -z "$as_dir" && as_dir=.
49876 for ac_exec_ext in '' $ac_executable_extensions; do
49877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49878 ac_cv_prog_NM="${ac_tool_prefix}nm"
49879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49880 break 2
49881 fi
49882 done
49883 done
49884 IFS=$as_save_IFS
49885
49886 fi
49887 fi
49888 NM=$ac_cv_prog_NM
49889 if test -n "$NM"; then
49890 { echo "$as_me:$LINENO: result: $NM" >&5
49891 echo "${ECHO_T}$NM" >&6; }
49892 else
49893 { echo "$as_me:$LINENO: result: no" >&5
49894 echo "${ECHO_T}no" >&6; }
49895 fi
49896
49897
49898 fi
49899 if test -z "$ac_cv_prog_NM"; then
49900 ac_ct_NM=$NM
49901 # Extract the first word of "nm", so it can be a program name with args.
49902 set dummy nm; ac_word=$2
49903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49905 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49906 echo $ECHO_N "(cached) $ECHO_C" >&6
49907 else
49908 if test -n "$ac_ct_NM"; then
49909 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49910 else
49911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49912 for as_dir in $PATH
49913 do
49914 IFS=$as_save_IFS
49915 test -z "$as_dir" && as_dir=.
49916 for ac_exec_ext in '' $ac_executable_extensions; do
49917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49918 ac_cv_prog_ac_ct_NM="nm"
49919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49920 break 2
49921 fi
49922 done
49923 done
49924 IFS=$as_save_IFS
49925
49926 fi
49927 fi
49928 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49929 if test -n "$ac_ct_NM"; then
49930 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49931 echo "${ECHO_T}$ac_ct_NM" >&6; }
49932 else
49933 { echo "$as_me:$LINENO: result: no" >&5
49934 echo "${ECHO_T}no" >&6; }
49935 fi
49936
49937 if test "x$ac_ct_NM" = x; then
49938 NM=":"
49939 else
49940 case $cross_compiling:$ac_tool_warned in
49941 yes:)
49942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49943 whose name does not start with the host triplet. If you think this
49944 configuration is useful to you, please write to autoconf@gnu.org." >&5
49945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49946 whose name does not start with the host triplet. If you think this
49947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49948 ac_tool_warned=yes ;;
49949 esac
49950 NM=$ac_ct_NM
49951 fi
49952 else
49953 NM="$ac_cv_prog_NM"
49954 fi
49955
49956
49957 case ${BAKEFILE_HOST} in
49958 *-hp-hpux* )
49959 INSTALL_DIR="mkdir -p"
49960 ;;
49961 * )
49962 INSTALL_DIR='$(INSTALL) -d'
49963 ;;
49964 esac
49965
49966
49967 LDFLAGS_GUI=
49968 case ${BAKEFILE_HOST} in
49969 *-*-cygwin* | *-*-mingw32* )
49970 LDFLAGS_GUI="-mwindows"
49971 esac
49972
49973
49974 fi
49975
49976 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49977 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49978 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49979 echo $ECHO_N "(cached) $ECHO_C" >&6
49980 else
49981
49982 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49983 egrep -s GNU > /dev/null); then
49984 bakefile_cv_prog_makeisgnu="yes"
49985 else
49986 bakefile_cv_prog_makeisgnu="no"
49987 fi
49988
49989 fi
49990 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49991 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49992
49993 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49994 IF_GNU_MAKE=""
49995 else
49996 IF_GNU_MAKE="#"
49997 fi
49998
49999
50000
50001 PLATFORM_UNIX=0
50002 PLATFORM_WIN32=0
50003 PLATFORM_MSDOS=0
50004 PLATFORM_MAC=0
50005 PLATFORM_MACOS=0
50006 PLATFORM_MACOSX=0
50007 PLATFORM_OS2=0
50008 PLATFORM_BEOS=0
50009
50010 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50011 case "${BAKEFILE_HOST}" in
50012 *-*-mingw32* )
50013 PLATFORM_WIN32=1
50014 ;;
50015 *-pc-msdosdjgpp )
50016 PLATFORM_MSDOS=1
50017 ;;
50018 *-pc-os2_emx | *-pc-os2-emx )
50019 PLATFORM_OS2=1
50020 ;;
50021 *-*-darwin* )
50022 PLATFORM_MAC=1
50023 PLATFORM_MACOSX=1
50024 ;;
50025 *-*-beos* )
50026 PLATFORM_BEOS=1
50027 ;;
50028 powerpc-apple-macos* )
50029 PLATFORM_MAC=1
50030 PLATFORM_MACOS=1
50031 ;;
50032 * )
50033 PLATFORM_UNIX=1
50034 ;;
50035 esac
50036 else
50037 case "$BAKEFILE_FORCE_PLATFORM" in
50038 win32 )
50039 PLATFORM_WIN32=1
50040 ;;
50041 msdos )
50042 PLATFORM_MSDOS=1
50043 ;;
50044 os2 )
50045 PLATFORM_OS2=1
50046 ;;
50047 darwin )
50048 PLATFORM_MAC=1
50049 PLATFORM_MACOSX=1
50050 ;;
50051 unix )
50052 PLATFORM_UNIX=1
50053 ;;
50054 beos )
50055 PLATFORM_BEOS=1
50056 ;;
50057 * )
50058 ;;
50059 esac
50060 fi
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072 # Check whether --enable-omf was given.
50073 if test "${enable_omf+set}" = set; then
50074 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50075 fi
50076
50077
50078 case "${BAKEFILE_HOST}" in
50079 *-*-darwin* )
50080 if test "x$GCC" = "xyes"; then
50081 CFLAGS="$CFLAGS -fno-common"
50082 CXXFLAGS="$CXXFLAGS -fno-common"
50083 fi
50084 if test "x$XLCC" = "xyes"; then
50085 CFLAGS="$CFLAGS -qnocommon"
50086 CXXFLAGS="$CXXFLAGS -qnocommon"
50087 fi
50088 ;;
50089
50090 *-pc-os2_emx | *-pc-os2-emx )
50091 if test "x$bk_os2_use_omf" = "xyes" ; then
50092 AR=emxomfar
50093 RANLIB=:
50094 LDFLAGS="-Zomf $LDFLAGS"
50095 CFLAGS="-Zomf $CFLAGS"
50096 CXXFLAGS="-Zomf $CXXFLAGS"
50097 OS2_LIBEXT="lib"
50098 else
50099 OS2_LIBEXT="a"
50100 fi
50101 ;;
50102
50103 i*86-*-beos* )
50104 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50105 ;;
50106 esac
50107
50108
50109 SO_SUFFIX="so"
50110 SO_SUFFIX_MODULE="so"
50111 EXEEXT=""
50112 LIBPREFIX="lib"
50113 LIBEXT=".a"
50114 DLLPREFIX="lib"
50115 DLLPREFIX_MODULE=""
50116 DLLIMP_SUFFIX=""
50117 dlldir="$libdir"
50118
50119 case "${BAKEFILE_HOST}" in
50120 *-hp-hpux* )
50121 SO_SUFFIX="sl"
50122 SO_SUFFIX_MODULE="sl"
50123 ;;
50124 *-*-aix* )
50125 SO_SUFFIX="a"
50126 SO_SUFFIX_MODULE="a"
50127 ;;
50128 *-*-cygwin* )
50129 SO_SUFFIX="dll"
50130 SO_SUFFIX_MODULE="dll"
50131 DLLIMP_SUFFIX="dll.a"
50132 EXEEXT=".exe"
50133 DLLPREFIX="cyg"
50134 dlldir="$bindir"
50135 ;;
50136 *-*-mingw32* )
50137 SO_SUFFIX="dll"
50138 SO_SUFFIX_MODULE="dll"
50139 DLLIMP_SUFFIX="dll.a"
50140 EXEEXT=".exe"
50141 DLLPREFIX=""
50142 dlldir="$bindir"
50143 ;;
50144 *-pc-msdosdjgpp )
50145 EXEEXT=".exe"
50146 DLLPREFIX=""
50147 dlldir="$bindir"
50148 ;;
50149 *-pc-os2_emx | *-pc-os2-emx )
50150 SO_SUFFIX="dll"
50151 SO_SUFFIX_MODULE="dll"
50152 DLLIMP_SUFFIX=$OS2_LIBEXT
50153 EXEEXT=".exe"
50154 DLLPREFIX=""
50155 LIBPREFIX=""
50156 LIBEXT=".$OS2_LIBEXT"
50157 dlldir="$bindir"
50158 ;;
50159 *-*-darwin* )
50160 SO_SUFFIX="dylib"
50161 SO_SUFFIX_MODULE="bundle"
50162 ;;
50163 esac
50164
50165 if test "x$DLLIMP_SUFFIX" = "x" ; then
50166 DLLIMP_SUFFIX="$SO_SUFFIX"
50167 fi
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180 PIC_FLAG=""
50181 if test "x$GCC" = "xyes"; then
50182 PIC_FLAG="-fPIC"
50183 fi
50184
50185 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50186 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50187 WINDOWS_IMPLIB=0
50188
50189 case "${BAKEFILE_HOST}" in
50190 *-hp-hpux* )
50191 if test "x$GCC" != "xyes"; then
50192 LDFLAGS="$LDFLAGS -L/usr/lib"
50193
50194 SHARED_LD_CC="${CC} -b -o"
50195 SHARED_LD_CXX="${CXX} -b -o"
50196 PIC_FLAG="+Z"
50197 fi
50198 ;;
50199
50200 *-*-linux* )
50201 if test "$INTELCC" = "yes"; then
50202 PIC_FLAG="-KPIC"
50203 elif test "x$SUNCXX" = "xyes"; then
50204 SHARED_LD_CC="${CC} -G -o"
50205 SHARED_LD_CXX="${CXX} -G -o"
50206 PIC_FLAG="-KPIC"
50207 fi
50208 ;;
50209
50210 *-*-solaris2* )
50211 if test "x$SUNCXX" = xyes ; then
50212 SHARED_LD_CC="${CC} -G -o"
50213 SHARED_LD_CXX="${CXX} -G -o"
50214 PIC_FLAG="-KPIC"
50215 fi
50216 ;;
50217
50218 *-*-darwin* )
50219
50220 D='$'
50221 cat <<EOF >shared-ld-sh
50222 #!/bin/sh
50223 #-----------------------------------------------------------------------------
50224 #-- Name: distrib/mac/shared-ld-sh
50225 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50226 #-- Author: Gilles Depeyrot
50227 #-- Copyright: (c) 2002 Gilles Depeyrot
50228 #-- Licence: any use permitted
50229 #-----------------------------------------------------------------------------
50230
50231 verbose=0
50232 args=""
50233 objects=""
50234 linking_flag="-dynamiclib"
50235 ldargs="-r -keep_private_externs -nostdlib"
50236
50237 while test ${D}# -gt 0; do
50238 case ${D}1 in
50239
50240 -v)
50241 verbose=1
50242 ;;
50243
50244 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50245 # collect these options and values
50246 args="${D}{args} ${D}1 ${D}2"
50247 shift
50248 ;;
50249
50250 -s|-Wl,*)
50251 # collect these load args
50252 ldargs="${D}{ldargs} ${D}1"
50253 ;;
50254
50255 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50256 # collect these options
50257 args="${D}{args} ${D}1"
50258 ;;
50259
50260 -dynamiclib|-bundle)
50261 linking_flag="${D}1"
50262 ;;
50263
50264 -*)
50265 echo "shared-ld: unhandled option '${D}1'"
50266 exit 1
50267 ;;
50268
50269 *.o | *.a | *.dylib)
50270 # collect object files
50271 objects="${D}{objects} ${D}1"
50272 ;;
50273
50274 *)
50275 echo "shared-ld: unhandled argument '${D}1'"
50276 exit 1
50277 ;;
50278
50279 esac
50280 shift
50281 done
50282
50283 status=0
50284
50285 #
50286 # Link one module containing all the others
50287 #
50288 if test ${D}{verbose} = 1; then
50289 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50290 fi
50291 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50292 status=${D}?
50293
50294 #
50295 # Link the shared library from the single module created, but only if the
50296 # previous command didn't fail:
50297 #
50298 if test ${D}{status} = 0; then
50299 if test ${D}{verbose} = 1; then
50300 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50301 fi
50302 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50303 status=${D}?
50304 fi
50305
50306 #
50307 # Remove intermediate module
50308 #
50309 rm -f master.${D}${D}.o
50310
50311 exit ${D}status
50312 EOF
50313
50314 chmod +x shared-ld-sh
50315
50316 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50317 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50318
50319
50320 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50321 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50322 if test "${bakefile_cv_gcc31+set}" = set; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50324 else
50325
50326 cat >conftest.$ac_ext <<_ACEOF
50327 /* confdefs.h. */
50328 _ACEOF
50329 cat confdefs.h >>conftest.$ac_ext
50330 cat >>conftest.$ac_ext <<_ACEOF
50331 /* end confdefs.h. */
50332
50333 int
50334 main ()
50335 {
50336
50337 #if (__GNUC__ < 3) || \
50338 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50339 This is old gcc
50340 #endif
50341
50342 ;
50343 return 0;
50344 }
50345 _ACEOF
50346 rm -f conftest.$ac_objext
50347 if { (ac_try="$ac_compile"
50348 case "(($ac_try" in
50349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50350 *) ac_try_echo=$ac_try;;
50351 esac
50352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50353 (eval "$ac_compile") 2>conftest.er1
50354 ac_status=$?
50355 grep -v '^ *+' conftest.er1 >conftest.err
50356 rm -f conftest.er1
50357 cat conftest.err >&5
50358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359 (exit $ac_status); } && {
50360 test -z "$ac_c_werror_flag" ||
50361 test ! -s conftest.err
50362 } && test -s conftest.$ac_objext; then
50363
50364 bakefile_cv_gcc31=yes
50365
50366 else
50367 echo "$as_me: failed program was:" >&5
50368 sed 's/^/| /' conftest.$ac_ext >&5
50369
50370
50371 bakefile_cv_gcc31=no
50372
50373
50374 fi
50375
50376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50377
50378 fi
50379 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50380 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50381 if test "$bakefile_cv_gcc31" = "no"; then
50382 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50383 SHARED_LD_CXX="$SHARED_LD_CC"
50384 else
50385 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50386 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50387 fi
50388
50389 if test "x$GCC" == "xyes"; then
50390 PIC_FLAG="-dynamic -fPIC"
50391 fi
50392 if test "x$XLCC" = "xyes"; then
50393 PIC_FLAG="-dynamic -DPIC"
50394 fi
50395 ;;
50396
50397 *-*-aix* )
50398 if test "x$GCC" = "xyes"; then
50399 PIC_FLAG=""
50400
50401 case "${BAKEFILE_HOST}" in
50402 *-*-aix5* )
50403 LD_EXPFULL="-Wl,-bexpfull"
50404 ;;
50405 esac
50406
50407 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50408 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50409 else
50410 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50411 set dummy makeC++SharedLib; ac_word=$2
50412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50414 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50415 echo $ECHO_N "(cached) $ECHO_C" >&6
50416 else
50417 if test -n "$AIX_CXX_LD"; then
50418 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50419 else
50420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50421 for as_dir in $PATH
50422 do
50423 IFS=$as_save_IFS
50424 test -z "$as_dir" && as_dir=.
50425 for ac_exec_ext in '' $ac_executable_extensions; do
50426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50427 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50429 break 2
50430 fi
50431 done
50432 done
50433 IFS=$as_save_IFS
50434
50435 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50436 fi
50437 fi
50438 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50439 if test -n "$AIX_CXX_LD"; then
50440 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50441 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50442 else
50443 { echo "$as_me:$LINENO: result: no" >&5
50444 echo "${ECHO_T}no" >&6; }
50445 fi
50446
50447
50448 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50449 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50450 fi
50451 ;;
50452
50453 *-*-beos* )
50454 SHARED_LD_CC="${LD} -nostart -o"
50455 SHARED_LD_CXX="${LD} -nostart -o"
50456 ;;
50457
50458 *-*-irix* )
50459 if test "x$GCC" != "xyes"; then
50460 PIC_FLAG="-KPIC"
50461 fi
50462 ;;
50463
50464 *-*-cygwin* | *-*-mingw32* )
50465 PIC_FLAG=""
50466 SHARED_LD_CC="\$(CC) -shared -o"
50467 SHARED_LD_CXX="\$(CXX) -shared -o"
50468 WINDOWS_IMPLIB=1
50469 ;;
50470
50471 *-pc-os2_emx | *-pc-os2-emx )
50472 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50473 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50474 PIC_FLAG=""
50475
50476 D='$'
50477 cat <<EOF >dllar.sh
50478 #!/bin/sh
50479 #
50480 # dllar - a tool to build both a .dll and an .a file
50481 # from a set of object (.o) files for EMX/OS2.
50482 #
50483 # Written by Andrew Zabolotny, bit@freya.etu.ru
50484 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50485 #
50486 # This script will accept a set of files on the command line.
50487 # All the public symbols from the .o files will be exported into
50488 # a .DEF file, then linker will be run (through gcc) against them to
50489 # build a shared library consisting of all given .o files. All libraries
50490 # (.a) will be first decompressed into component .o files then act as
50491 # described above. You can optionally give a description (-d "description")
50492 # which will be put into .DLL. To see the list of accepted options (as well
50493 # as command-line format) simply run this program without options. The .DLL
50494 # is built to be imported by name (there is no guarantee that new versions
50495 # of the library you build will have same ordinals for same symbols).
50496 #
50497 # dllar is free software; you can redistribute it and/or modify
50498 # it under the terms of the GNU General Public License as published by
50499 # the Free Software Foundation; either version 2, or (at your option)
50500 # any later version.
50501 #
50502 # dllar is distributed in the hope that it will be useful,
50503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50505 # GNU General Public License for more details.
50506 #
50507 # You should have received a copy of the GNU General Public License
50508 # along with dllar; see the file COPYING. If not, write to the Free
50509 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50510 # 02111-1307, USA.
50511
50512 # To successfuly run this program you will need:
50513 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50514 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50515 # - gcc
50516 # (used to build the .dll)
50517 # - emxexp
50518 # (used to create .def file from .o files)
50519 # - emximp
50520 # (used to create .a file from .def file)
50521 # - GNU text utilites (cat, sort, uniq)
50522 # used to process emxexp output
50523 # - GNU file utilities (mv, rm)
50524 # - GNU sed
50525 # - lxlite (optional, see flag below)
50526 # (used for general .dll cleanup)
50527 #
50528
50529 flag_USE_LXLITE=1;
50530
50531 #
50532 # helper functions
50533 # basnam, variant of basename, which does _not_ remove the path, _iff_
50534 # second argument (suffix to remove) is given
50535 basnam(){
50536 case ${D}# in
50537 1)
50538 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50539 ;;
50540 2)
50541 echo ${D}1 | sed 's/'${D}2'${D}//'
50542 ;;
50543 *)
50544 echo "error in basnam ${D}*"
50545 exit 8
50546 ;;
50547 esac
50548 }
50549
50550 # Cleanup temporary files and output
50551 CleanUp() {
50552 cd ${D}curDir
50553 for i in ${D}inputFiles ; do
50554 case ${D}i in
50555 *!)
50556 rm -rf \`basnam ${D}i !\`
50557 ;;
50558 *)
50559 ;;
50560 esac
50561 done
50562
50563 # Kill result in case of failure as there is just to many stupid make/nmake
50564 # things out there which doesn't do this.
50565 if [ ${D}# -eq 0 ]; then
50566 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50567 fi
50568 }
50569
50570 # Print usage and exit script with rc=1.
50571 PrintHelp() {
50572 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50573 echo ' [-name-mangler-script script.sh]'
50574 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50575 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50576 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50577 echo ' [*.o] [*.a]'
50578 echo '*> "output_file" should have no extension.'
50579 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50580 echo ' The import library name is derived from this and is set to "name".a,'
50581 echo ' unless overridden by -import'
50582 echo '*> "importlib_name" should have no extension.'
50583 echo ' If it has the .o, or .a extension, it is automatically removed.'
50584 echo ' This name is used as the import library name and may be longer and'
50585 echo ' more descriptive than the DLL name which has to follow the old '
50586 echo ' 8.3 convention of FAT.'
50587 echo '*> "script.sh may be given to override the output_file name by a'
50588 echo ' different name. It is mainly useful if the regular make process'
50589 echo ' of some package does not take into account OS/2 restriction of'
50590 echo ' DLL name lengths. It takes the importlib name as input and is'
50591 echo ' supposed to procude a shorter name as output. The script should'
50592 echo ' expect to get importlib_name without extension and should produce'
50593 echo ' a (max.) 8 letter name without extension.'
50594 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50595 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50596 echo ' These flags will be put at the start of GCC command line.'
50597 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50598 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50599 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50600 echo ' If the last character of a symbol is "*", all symbols beginning'
50601 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50602 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50603 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50604 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50605 echo ' C runtime DLLs.'
50606 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50607 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50608 echo ' unchanged to GCC at the end of command line.'
50609 echo '*> If you create a DLL from a library and you do not specify -o,'
50610 echo ' the basename for DLL and import library will be set to library name,'
50611 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50612 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50613 echo ' library will be renamed into gcc_s.a.'
50614 echo '--------'
50615 echo 'Example:'
50616 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50617 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50618 CleanUp
50619 exit 1
50620 }
50621
50622 # Execute a command.
50623 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50624 # @Uses Whatever CleanUp() uses.
50625 doCommand() {
50626 echo "${D}*"
50627 eval ${D}*
50628 rcCmd=${D}?
50629
50630 if [ ${D}rcCmd -ne 0 ]; then
50631 echo "command failed, exit code="${D}rcCmd
50632 CleanUp
50633 exit ${D}rcCmd
50634 fi
50635 }
50636
50637 # main routine
50638 # setup globals
50639 cmdLine=${D}*
50640 outFile=""
50641 outimpFile=""
50642 inputFiles=""
50643 renameScript=""
50644 description=""
50645 CC=gcc.exe
50646 CFLAGS="-s -Zcrtdll"
50647 EXTRA_CFLAGS=""
50648 EXPORT_BY_ORDINALS=0
50649 exclude_symbols=""
50650 library_flags=""
50651 curDir=\`pwd\`
50652 curDirS=curDir
50653 case ${D}curDirS in
50654 */)
50655 ;;
50656 *)
50657 curDirS=${D}{curDirS}"/"
50658 ;;
50659 esac
50660 # Parse commandline
50661 libsToLink=0
50662 omfLinking=0
50663 while [ ${D}1 ]; do
50664 case ${D}1 in
50665 -ord*)
50666 EXPORT_BY_ORDINALS=1;
50667 ;;
50668 -o*)
50669 shift
50670 outFile=${D}1
50671 ;;
50672 -i*)
50673 shift
50674 outimpFile=${D}1
50675 ;;
50676 -name-mangler-script)
50677 shift
50678 renameScript=${D}1
50679 ;;
50680 -d*)
50681 shift
50682 description=${D}1
50683 ;;
50684 -f*)
50685 shift
50686 CFLAGS=${D}1
50687 ;;
50688 -c*)
50689 shift
50690 CC=${D}1
50691 ;;
50692 -h*)
50693 PrintHelp
50694 ;;
50695 -ex*)
50696 shift
50697 exclude_symbols=${D}{exclude_symbols}${D}1" "
50698 ;;
50699 -libf*)
50700 shift
50701 library_flags=${D}{library_flags}${D}1" "
50702 ;;
50703 -nocrt*)
50704 CFLAGS="-s"
50705 ;;
50706 -nolxl*)
50707 flag_USE_LXLITE=0
50708 ;;
50709 -* | /*)
50710 case ${D}1 in
50711 -L* | -l*)
50712 libsToLink=1
50713 ;;
50714 -Zomf)
50715 omfLinking=1
50716 ;;
50717 *)
50718 ;;
50719 esac
50720 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50721 ;;
50722 *.dll)
50723 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50724 if [ ${D}omfLinking -eq 1 ]; then
50725 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50726 else
50727 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50728 fi
50729 ;;
50730 *)
50731 found=0;
50732 if [ ${D}libsToLink -ne 0 ]; then
50733 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50734 else
50735 for file in ${D}1 ; do
50736 if [ -f ${D}file ]; then
50737 inputFiles="${D}{inputFiles} ${D}file"
50738 found=1
50739 fi
50740 done
50741 if [ ${D}found -eq 0 ]; then
50742 echo "ERROR: No file(s) found: "${D}1
50743 exit 8
50744 fi
50745 fi
50746 ;;
50747 esac
50748 shift
50749 done # iterate cmdline words
50750
50751 #
50752 if [ -z "${D}inputFiles" ]; then
50753 echo "dllar: no input files"
50754 PrintHelp
50755 fi
50756
50757 # Now extract all .o files from .a files
50758 newInputFiles=""
50759 for file in ${D}inputFiles ; do
50760 case ${D}file in
50761 *.a | *.lib)
50762 case ${D}file in
50763 *.a)
50764 suffix=".a"
50765 AR="ar"
50766 ;;
50767 *.lib)
50768 suffix=".lib"
50769 AR="emxomfar"
50770 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50771 ;;
50772 *)
50773 ;;
50774 esac
50775 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50776 mkdir ${D}dirname
50777 if [ ${D}? -ne 0 ]; then
50778 echo "Failed to create subdirectory ./${D}dirname"
50779 CleanUp
50780 exit 8;
50781 fi
50782 # Append '!' to indicate archive
50783 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50784 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50785 cd ${D}curDir
50786 found=0;
50787 for subfile in ${D}dirname/*.o* ; do
50788 if [ -f ${D}subfile ]; then
50789 found=1
50790 if [ -s ${D}subfile ]; then
50791 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50792 newInputFiles="${D}newInputFiles ${D}subfile"
50793 fi
50794 fi
50795 done
50796 if [ ${D}found -eq 0 ]; then
50797 echo "WARNING: there are no files in archive \\'${D}file\\'"
50798 fi
50799 ;;
50800 *)
50801 newInputFiles="${D}{newInputFiles} ${D}file"
50802 ;;
50803 esac
50804 done
50805 inputFiles="${D}newInputFiles"
50806
50807 # Output filename(s).
50808 do_backup=0;
50809 if [ -z ${D}outFile ]; then
50810 do_backup=1;
50811 set outFile ${D}inputFiles; outFile=${D}2
50812 fi
50813
50814 # If it is an archive, remove the '!' and the '_%' suffixes
50815 case ${D}outFile in
50816 *_%!)
50817 outFile=\`basnam ${D}outFile _%!\`
50818 ;;
50819 *)
50820 ;;
50821 esac
50822 case ${D}outFile in
50823 *.dll)
50824 outFile=\`basnam ${D}outFile .dll\`
50825 ;;
50826 *.DLL)
50827 outFile=\`basnam ${D}outFile .DLL\`
50828 ;;
50829 *.o)
50830 outFile=\`basnam ${D}outFile .o\`
50831 ;;
50832 *.obj)
50833 outFile=\`basnam ${D}outFile .obj\`
50834 ;;
50835 *.a)
50836 outFile=\`basnam ${D}outFile .a\`
50837 ;;
50838 *.lib)
50839 outFile=\`basnam ${D}outFile .lib\`
50840 ;;
50841 *)
50842 ;;
50843 esac
50844 case ${D}outimpFile in
50845 *.a)
50846 outimpFile=\`basnam ${D}outimpFile .a\`
50847 ;;
50848 *.lib)
50849 outimpFile=\`basnam ${D}outimpFile .lib\`
50850 ;;
50851 *)
50852 ;;
50853 esac
50854 if [ -z ${D}outimpFile ]; then
50855 outimpFile=${D}outFile
50856 fi
50857 defFile="${D}{outFile}.def"
50858 arcFile="${D}{outimpFile}.a"
50859 arcFile2="${D}{outimpFile}.lib"
50860
50861 #create ${D}dllFile as something matching 8.3 restrictions,
50862 if [ -z ${D}renameScript ] ; then
50863 dllFile="${D}outFile"
50864 else
50865 dllFile=\`${D}renameScript ${D}outimpFile\`
50866 fi
50867
50868 if [ ${D}do_backup -ne 0 ] ; then
50869 if [ -f ${D}arcFile ] ; then
50870 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50871 fi
50872 if [ -f ${D}arcFile2 ] ; then
50873 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50874 fi
50875 fi
50876
50877 # Extract public symbols from all the object files.
50878 tmpdefFile=${D}{defFile}_%
50879 rm -f ${D}tmpdefFile
50880 for file in ${D}inputFiles ; do
50881 case ${D}file in
50882 *!)
50883 ;;
50884 *)
50885 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50886 ;;
50887 esac
50888 done
50889
50890 # Create the def file.
50891 rm -f ${D}defFile
50892 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50893 dllFile="${D}{dllFile}.dll"
50894 if [ ! -z ${D}description ]; then
50895 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50896 fi
50897 echo "EXPORTS" >> ${D}defFile
50898
50899 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50900 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50901
50902 # Checks if the export is ok or not.
50903 for word in ${D}exclude_symbols; do
50904 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50905 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50906 done
50907
50908
50909 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50910 sed "=" < ${D}tmpdefFile | \\
50911 sed '
50912 N
50913 : loop
50914 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50915 t loop
50916 ' > ${D}{tmpdefFile}%
50917 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50918 else
50919 rm -f ${D}{tmpdefFile}%
50920 fi
50921 cat ${D}tmpdefFile >> ${D}defFile
50922 rm -f ${D}tmpdefFile
50923
50924 # Do linking, create implib, and apply lxlite.
50925 gccCmdl="";
50926 for file in ${D}inputFiles ; do
50927 case ${D}file in
50928 *!)
50929 ;;
50930 *)
50931 gccCmdl="${D}gccCmdl ${D}file"
50932 ;;
50933 esac
50934 done
50935 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50936 touch "${D}{outFile}.dll"
50937
50938 doCommand "emximp -o ${D}arcFile ${D}defFile"
50939 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50940 add_flags="";
50941 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50942 add_flags="-ynd"
50943 fi
50944 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50945 fi
50946 doCommand "emxomf -s -l ${D}arcFile"
50947
50948 # Successful exit.
50949 CleanUp 1
50950 exit 0
50951 EOF
50952
50953 chmod +x dllar.sh
50954 ;;
50955
50956 powerpc-apple-macos* | \
50957 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50958 *-*-mirbsd* | \
50959 *-*-sunos4* | \
50960 *-*-osf* | \
50961 *-*-dgux5* | \
50962 *-*-sysv5* | \
50963 *-pc-msdosdjgpp )
50964 ;;
50965
50966 *)
50967 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50968 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50969 { (exit 1); exit 1; }; }
50970 esac
50971
50972 if test "x$PIC_FLAG" != "x" ; then
50973 PIC_FLAG="$PIC_FLAG -DPIC"
50974 fi
50975
50976 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50977 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50978 fi
50979 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50980 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50981 fi
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991 USE_SOVERSION=0
50992 USE_SOVERLINUX=0
50993 USE_SOVERSOLARIS=0
50994 USE_SOVERCYGWIN=0
50995 USE_SOSYMLINKS=0
50996 USE_MACVERSION=0
50997 SONAME_FLAG=
50998
50999 case "${BAKEFILE_HOST}" in
51000 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51001 if test "x$SUNCXX" = "xyes"; then
51002 SONAME_FLAG="-h "
51003 else
51004 SONAME_FLAG="-Wl,-soname,"
51005 fi
51006 USE_SOVERSION=1
51007 USE_SOVERLINUX=1
51008 USE_SOSYMLINKS=1
51009 ;;
51010
51011 *-*-solaris2* )
51012 SONAME_FLAG="-h "
51013 USE_SOVERSION=1
51014 USE_SOVERSOLARIS=1
51015 USE_SOSYMLINKS=1
51016 ;;
51017
51018 *-*-darwin* )
51019 USE_MACVERSION=1
51020 USE_SOVERSION=1
51021 USE_SOSYMLINKS=1
51022 ;;
51023
51024 *-*-cygwin* )
51025 USE_SOVERSION=1
51026 USE_SOVERCYGWIN=1
51027 ;;
51028 esac
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039 # Check whether --enable-dependency-tracking was given.
51040 if test "${enable_dependency_tracking+set}" = set; then
51041 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51042 fi
51043
51044
51045 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51046 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51047
51048 BK_DEPS=""
51049 if test "x$bk_use_trackdeps" = "xno" ; then
51050 DEPS_TRACKING=0
51051 { echo "$as_me:$LINENO: result: disabled" >&5
51052 echo "${ECHO_T}disabled" >&6; }
51053 else
51054 DEPS_TRACKING=1
51055
51056 if test "x$GCC" = "xyes"; then
51057 DEPSMODE=gcc
51058 case "${BAKEFILE_HOST}" in
51059 *-*-darwin* )
51060 DEPSFLAG="-no-cpp-precomp -MMD"
51061 ;;
51062 * )
51063 DEPSFLAG="-MMD"
51064 ;;
51065 esac
51066 { echo "$as_me:$LINENO: result: gcc" >&5
51067 echo "${ECHO_T}gcc" >&6; }
51068 elif test "x$MWCC" = "xyes"; then
51069 DEPSMODE=mwcc
51070 DEPSFLAG="-MM"
51071 { echo "$as_me:$LINENO: result: mwcc" >&5
51072 echo "${ECHO_T}mwcc" >&6; }
51073 elif test "x$SUNCC" = "xyes"; then
51074 DEPSMODE=unixcc
51075 DEPSFLAG="-xM1"
51076 { echo "$as_me:$LINENO: result: Sun cc" >&5
51077 echo "${ECHO_T}Sun cc" >&6; }
51078 elif test "x$SGICC" = "xyes"; then
51079 DEPSMODE=unixcc
51080 DEPSFLAG="-M"
51081 { echo "$as_me:$LINENO: result: SGI cc" >&5
51082 echo "${ECHO_T}SGI cc" >&6; }
51083 elif test "x$HPCC" = "xyes"; then
51084 DEPSMODE=unixcc
51085 DEPSFLAG="+make"
51086 { echo "$as_me:$LINENO: result: HP cc" >&5
51087 echo "${ECHO_T}HP cc" >&6; }
51088 elif test "x$COMPAQCC" = "xyes"; then
51089 DEPSMODE=gcc
51090 DEPSFLAG="-MD"
51091 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51092 echo "${ECHO_T}Compaq cc" >&6; }
51093 else
51094 DEPS_TRACKING=0
51095 { echo "$as_me:$LINENO: result: none" >&5
51096 echo "${ECHO_T}none" >&6; }
51097 fi
51098
51099 if test $DEPS_TRACKING = 1 ; then
51100
51101 D='$'
51102 cat <<EOF >bk-deps
51103 #!/bin/sh
51104
51105 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51106 # script. It is used to track C/C++ files dependencies in portable way.
51107 #
51108 # Permission is given to use this file in any way.
51109
51110 DEPSMODE=${DEPSMODE}
51111 DEPSDIR=.deps
51112 DEPSFLAG="${DEPSFLAG}"
51113
51114 mkdir -p ${D}DEPSDIR
51115
51116 if test ${D}DEPSMODE = gcc ; then
51117 ${D}* ${D}{DEPSFLAG}
51118 status=${D}?
51119 if test ${D}{status} != 0 ; then
51120 exit ${D}{status}
51121 fi
51122 # move created file to the location we want it in:
51123 while test ${D}# -gt 0; do
51124 case "${D}1" in
51125 -o )
51126 shift
51127 objfile=${D}1
51128 ;;
51129 -* )
51130 ;;
51131 * )
51132 srcfile=${D}1
51133 ;;
51134 esac
51135 shift
51136 done
51137 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51138 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51139 if test -f ${D}depfile ; then
51140 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51141 rm -f ${D}depfile
51142 else
51143 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51144 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51145 if test ! -f ${D}depfile ; then
51146 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51147 depfile="${D}objfile.d"
51148 fi
51149 if test -f ${D}depfile ; then
51150 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51151 rm -f ${D}depfile
51152 fi
51153 fi
51154 exit 0
51155 elif test ${D}DEPSMODE = mwcc ; then
51156 ${D}* || exit ${D}?
51157 # Run mwcc again with -MM and redirect into the dep file we want
51158 # NOTE: We can't use shift here because we need ${D}* to be valid
51159 prevarg=
51160 for arg in ${D}* ; do
51161 if test "${D}prevarg" = "-o"; then
51162 objfile=${D}arg
51163 else
51164 case "${D}arg" in
51165 -* )
51166 ;;
51167 * )
51168 srcfile=${D}arg
51169 ;;
51170 esac
51171 fi
51172 prevarg="${D}arg"
51173 done
51174 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51175 exit 0
51176 elif test ${D}DEPSMODE = unixcc; then
51177 ${D}* || exit ${D}?
51178 # Run compiler again with deps flag and redirect into the dep file.
51179 # It doesn't work if the '-o FILE' option is used, but without it the
51180 # dependency file will contain the wrong name for the object. So it is
51181 # removed from the command line, and the dep file is fixed with sed.
51182 cmd=""
51183 while test ${D}# -gt 0; do
51184 case "${D}1" in
51185 -o )
51186 shift
51187 objfile=${D}1
51188 ;;
51189 * )
51190 eval arg${D}#=\\${D}1
51191 cmd="${D}cmd \\${D}arg${D}#"
51192 ;;
51193 esac
51194 shift
51195 done
51196 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51197 exit 0
51198 else
51199 ${D}*
51200 exit ${D}?
51201 fi
51202 EOF
51203
51204 chmod +x bk-deps
51205 BK_DEPS="`pwd`/bk-deps"
51206 fi
51207 fi
51208
51209
51210
51211
51212
51213 case ${BAKEFILE_HOST} in
51214 *-*-cygwin* | *-*-mingw32* )
51215 if test -n "$ac_tool_prefix"; then
51216 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51217 set dummy ${ac_tool_prefix}windres; ac_word=$2
51218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51220 if test "${ac_cv_prog_WINDRES+set}" = set; then
51221 echo $ECHO_N "(cached) $ECHO_C" >&6
51222 else
51223 if test -n "$WINDRES"; then
51224 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51225 else
51226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51227 for as_dir in $PATH
51228 do
51229 IFS=$as_save_IFS
51230 test -z "$as_dir" && as_dir=.
51231 for ac_exec_ext in '' $ac_executable_extensions; do
51232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51233 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51235 break 2
51236 fi
51237 done
51238 done
51239 IFS=$as_save_IFS
51240
51241 fi
51242 fi
51243 WINDRES=$ac_cv_prog_WINDRES
51244 if test -n "$WINDRES"; then
51245 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51246 echo "${ECHO_T}$WINDRES" >&6; }
51247 else
51248 { echo "$as_me:$LINENO: result: no" >&5
51249 echo "${ECHO_T}no" >&6; }
51250 fi
51251
51252
51253 fi
51254 if test -z "$ac_cv_prog_WINDRES"; then
51255 ac_ct_WINDRES=$WINDRES
51256 # Extract the first word of "windres", so it can be a program name with args.
51257 set dummy windres; ac_word=$2
51258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51260 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51261 echo $ECHO_N "(cached) $ECHO_C" >&6
51262 else
51263 if test -n "$ac_ct_WINDRES"; then
51264 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51265 else
51266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51267 for as_dir in $PATH
51268 do
51269 IFS=$as_save_IFS
51270 test -z "$as_dir" && as_dir=.
51271 for ac_exec_ext in '' $ac_executable_extensions; do
51272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51273 ac_cv_prog_ac_ct_WINDRES="windres"
51274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51275 break 2
51276 fi
51277 done
51278 done
51279 IFS=$as_save_IFS
51280
51281 fi
51282 fi
51283 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51284 if test -n "$ac_ct_WINDRES"; then
51285 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51286 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51287 else
51288 { echo "$as_me:$LINENO: result: no" >&5
51289 echo "${ECHO_T}no" >&6; }
51290 fi
51291
51292 if test "x$ac_ct_WINDRES" = x; then
51293 WINDRES=""
51294 else
51295 case $cross_compiling:$ac_tool_warned in
51296 yes:)
51297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51298 whose name does not start with the host triplet. If you think this
51299 configuration is useful to you, please write to autoconf@gnu.org." >&5
51300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51301 whose name does not start with the host triplet. If you think this
51302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51303 ac_tool_warned=yes ;;
51304 esac
51305 WINDRES=$ac_ct_WINDRES
51306 fi
51307 else
51308 WINDRES="$ac_cv_prog_WINDRES"
51309 fi
51310
51311 ;;
51312
51313 *-*-darwin* | powerpc-apple-macos* )
51314 # Extract the first word of "Rez", so it can be a program name with args.
51315 set dummy Rez; ac_word=$2
51316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51318 if test "${ac_cv_prog_REZ+set}" = set; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51320 else
51321 if test -n "$REZ"; then
51322 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51323 else
51324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51325 for as_dir in $PATH
51326 do
51327 IFS=$as_save_IFS
51328 test -z "$as_dir" && as_dir=.
51329 for ac_exec_ext in '' $ac_executable_extensions; do
51330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51331 ac_cv_prog_REZ="Rez"
51332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51333 break 2
51334 fi
51335 done
51336 done
51337 IFS=$as_save_IFS
51338
51339 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51340 fi
51341 fi
51342 REZ=$ac_cv_prog_REZ
51343 if test -n "$REZ"; then
51344 { echo "$as_me:$LINENO: result: $REZ" >&5
51345 echo "${ECHO_T}$REZ" >&6; }
51346 else
51347 { echo "$as_me:$LINENO: result: no" >&5
51348 echo "${ECHO_T}no" >&6; }
51349 fi
51350
51351
51352 # Extract the first word of "SetFile", so it can be a program name with args.
51353 set dummy SetFile; ac_word=$2
51354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51356 if test "${ac_cv_prog_SETFILE+set}" = set; then
51357 echo $ECHO_N "(cached) $ECHO_C" >&6
51358 else
51359 if test -n "$SETFILE"; then
51360 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51361 else
51362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51363 for as_dir in $PATH
51364 do
51365 IFS=$as_save_IFS
51366 test -z "$as_dir" && as_dir=.
51367 for ac_exec_ext in '' $ac_executable_extensions; do
51368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51369 ac_cv_prog_SETFILE="SetFile"
51370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51371 break 2
51372 fi
51373 done
51374 done
51375 IFS=$as_save_IFS
51376
51377 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51378 fi
51379 fi
51380 SETFILE=$ac_cv_prog_SETFILE
51381 if test -n "$SETFILE"; then
51382 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51383 echo "${ECHO_T}$SETFILE" >&6; }
51384 else
51385 { echo "$as_me:$LINENO: result: no" >&5
51386 echo "${ECHO_T}no" >&6; }
51387 fi
51388
51389
51390 ;;
51391 esac
51392
51393
51394
51395
51396
51397
51398 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51399
51400
51401 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51402
51403
51404
51405 # Check whether --enable-precomp-headers was given.
51406 if test "${enable_precomp_headers+set}" = set; then
51407 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51408 fi
51409
51410
51411 GCC_PCH=0
51412 ICC_PCH=0
51413 USE_PCH=0
51414 BK_MAKE_PCH=""
51415
51416 case ${BAKEFILE_HOST} in
51417 *-*-cygwin* )
51418 bk_use_pch="no"
51419 ;;
51420 esac
51421
51422 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51423 if test "x$GCC" = "xyes"; then
51424 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51425 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51426 cat >conftest.$ac_ext <<_ACEOF
51427 /* confdefs.h. */
51428 _ACEOF
51429 cat confdefs.h >>conftest.$ac_ext
51430 cat >>conftest.$ac_ext <<_ACEOF
51431 /* end confdefs.h. */
51432
51433 int
51434 main ()
51435 {
51436
51437 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51438 There is no PCH support
51439 #endif
51440 #if (__GNUC__ < 3)
51441 There is no PCH support
51442 #endif
51443 #if (__GNUC__ == 3) && \
51444 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51445 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51446 ( defined(__INTEL_COMPILER) )
51447 There is no PCH support
51448 #endif
51449
51450 ;
51451 return 0;
51452 }
51453 _ACEOF
51454 rm -f conftest.$ac_objext
51455 if { (ac_try="$ac_compile"
51456 case "(($ac_try" in
51457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51458 *) ac_try_echo=$ac_try;;
51459 esac
51460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51461 (eval "$ac_compile") 2>conftest.er1
51462 ac_status=$?
51463 grep -v '^ *+' conftest.er1 >conftest.err
51464 rm -f conftest.er1
51465 cat conftest.err >&5
51466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51467 (exit $ac_status); } && {
51468 test -z "$ac_c_werror_flag" ||
51469 test ! -s conftest.err
51470 } && test -s conftest.$ac_objext; then
51471
51472 { echo "$as_me:$LINENO: result: yes" >&5
51473 echo "${ECHO_T}yes" >&6; }
51474 GCC_PCH=1
51475
51476 else
51477 echo "$as_me: failed program was:" >&5
51478 sed 's/^/| /' conftest.$ac_ext >&5
51479
51480
51481 cat >conftest.$ac_ext <<_ACEOF
51482 /* confdefs.h. */
51483 _ACEOF
51484 cat confdefs.h >>conftest.$ac_ext
51485 cat >>conftest.$ac_ext <<_ACEOF
51486 /* end confdefs.h. */
51487
51488 int
51489 main ()
51490 {
51491
51492 #if !defined(__INTEL_COMPILER) || \
51493 (__INTEL_COMPILER < 800)
51494 There is no PCH support
51495 #endif
51496
51497 ;
51498 return 0;
51499 }
51500 _ACEOF
51501 rm -f conftest.$ac_objext
51502 if { (ac_try="$ac_compile"
51503 case "(($ac_try" in
51504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51505 *) ac_try_echo=$ac_try;;
51506 esac
51507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51508 (eval "$ac_compile") 2>conftest.er1
51509 ac_status=$?
51510 grep -v '^ *+' conftest.er1 >conftest.err
51511 rm -f conftest.er1
51512 cat conftest.err >&5
51513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 (exit $ac_status); } && {
51515 test -z "$ac_c_werror_flag" ||
51516 test ! -s conftest.err
51517 } && test -s conftest.$ac_objext; then
51518
51519 { echo "$as_me:$LINENO: result: yes" >&5
51520 echo "${ECHO_T}yes" >&6; }
51521 ICC_PCH=1
51522
51523 else
51524 echo "$as_me: failed program was:" >&5
51525 sed 's/^/| /' conftest.$ac_ext >&5
51526
51527
51528 { echo "$as_me:$LINENO: result: no" >&5
51529 echo "${ECHO_T}no" >&6; }
51530
51531 fi
51532
51533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51534
51535 fi
51536
51537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51538 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51539 USE_PCH=1
51540
51541 D='$'
51542 cat <<EOF >bk-make-pch
51543 #!/bin/sh
51544
51545 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51546 # script. It is used to generated precompiled headers.
51547 #
51548 # Permission is given to use this file in any way.
51549
51550 outfile="${D}{1}"
51551 header="${D}{2}"
51552 shift
51553 shift
51554
51555 compiler=""
51556 headerfile=""
51557
51558 while test ${D}{#} -gt 0; do
51559 add_to_cmdline=1
51560 case "${D}{1}" in
51561 -I* )
51562 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51563 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51564 headerfile="${D}{incdir}/${D}{header}"
51565 fi
51566 ;;
51567 -use-pch|-use_pch )
51568 shift
51569 add_to_cmdline=0
51570 ;;
51571 esac
51572 if test ${D}add_to_cmdline = 1 ; then
51573 compiler="${D}{compiler} ${D}{1}"
51574 fi
51575 shift
51576 done
51577
51578 if test "x${D}{headerfile}" = "x" ; then
51579 echo "error: can't find header ${D}{header} in include paths" >&2
51580 else
51581 if test -f ${D}{outfile} ; then
51582 rm -f ${D}{outfile}
51583 else
51584 mkdir -p \`dirname ${D}{outfile}\`
51585 fi
51586 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51587 mkdir -p .deps
51588 if test "x${GCC_PCH}" = "x1" ; then
51589 # can do this because gcc is >= 3.4:
51590 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51591 elif test "x${ICC_PCH}" = "x1" ; then
51592 filename=pch_gen-${D}${D}
51593 file=${D}{filename}.c
51594 dfile=${D}{filename}.d
51595 cat > ${D}file <<EOT
51596 #include "${D}header"
51597 EOT
51598 # using -MF icc complains about differing command lines in creation/use
51599 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51600 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51601 rm -f ${D}file ${D}dfile ${D}{filename}.o
51602 fi
51603 exit ${D}{?}
51604 fi
51605 EOF
51606
51607 chmod +x bk-make-pch
51608 BK_MAKE_PCH="`pwd`/bk-make-pch"
51609 fi
51610 fi
51611 fi
51612
51613
51614
51615
51616
51617 COND_BUILD_DEBUG="#"
51618 if test "x$BUILD" = "xdebug" ; then
51619 COND_BUILD_DEBUG=""
51620 fi
51621
51622 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51623 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51624 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51625 fi
51626
51627 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51629 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51630 fi
51631
51632 COND_BUILD_DEBUG_UNICODE_0="#"
51633 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51634 COND_BUILD_DEBUG_UNICODE_0=""
51635 fi
51636
51637 COND_BUILD_DEBUG_UNICODE_1="#"
51638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51639 COND_BUILD_DEBUG_UNICODE_1=""
51640 fi
51641
51642 COND_BUILD_RELEASE="#"
51643 if test "x$BUILD" = "xrelease" ; then
51644 COND_BUILD_RELEASE=""
51645 fi
51646
51647 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51648 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51649 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51650 fi
51651
51652 COND_BUILD_RELEASE_UNICODE_0="#"
51653 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51654 COND_BUILD_RELEASE_UNICODE_0=""
51655 fi
51656
51657 COND_BUILD_RELEASE_UNICODE_1="#"
51658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51659 COND_BUILD_RELEASE_UNICODE_1=""
51660 fi
51661
51662 COND_DEBUG_FLAG_1="#"
51663 if test "x$DEBUG_FLAG" = "x1" ; then
51664 COND_DEBUG_FLAG_1=""
51665 fi
51666
51667 COND_DEBUG_INFO_0="#"
51668 if test "x$DEBUG_INFO" = "x0" ; then
51669 COND_DEBUG_INFO_0=""
51670 fi
51671
51672 COND_DEBUG_INFO_1="#"
51673 if test "x$DEBUG_INFO" = "x1" ; then
51674 COND_DEBUG_INFO_1=""
51675 fi
51676
51677 COND_DEPS_TRACKING_0="#"
51678 if test "x$DEPS_TRACKING" = "x0" ; then
51679 COND_DEPS_TRACKING_0=""
51680 fi
51681
51682 COND_DEPS_TRACKING_1="#"
51683 if test "x$DEPS_TRACKING" = "x1" ; then
51684 COND_DEPS_TRACKING_1=""
51685 fi
51686
51687 COND_GCC_PCH_1="#"
51688 if test "x$GCC_PCH" = "x1" ; then
51689 COND_GCC_PCH_1=""
51690 fi
51691
51692 COND_ICC_PCH_1="#"
51693 if test "x$ICC_PCH" = "x1" ; then
51694 COND_ICC_PCH_1=""
51695 fi
51696
51697 COND_MONOLITHIC_0="#"
51698 if test "x$MONOLITHIC" = "x0" ; then
51699 COND_MONOLITHIC_0=""
51700 fi
51701
51702 COND_MONOLITHIC_0_SHARED_0="#"
51703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51704 COND_MONOLITHIC_0_SHARED_0=""
51705 fi
51706
51707 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51709 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51710 fi
51711
51712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51714 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51715 fi
51716
51717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51720 fi
51721
51722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51725 fi
51726
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51730 fi
51731
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51735 fi
51736
51737 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51740 fi
51741
51742 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51745 fi
51746
51747 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51750 fi
51751
51752 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51755 fi
51756
51757 COND_MONOLITHIC_0_SHARED_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51759 COND_MONOLITHIC_0_SHARED_1=""
51760 fi
51761
51762 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51764 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51765 fi
51766
51767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51770 fi
51771
51772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51775 fi
51776
51777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51780 fi
51781
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51785 fi
51786
51787 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51790 fi
51791
51792 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51794 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51795 fi
51796
51797 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51799 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51800 fi
51801
51802 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51804 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51805 fi
51806
51807 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51809 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51810 fi
51811
51812 COND_MONOLITHIC_0_USE_AUI_1="#"
51813 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51814 COND_MONOLITHIC_0_USE_AUI_1=""
51815 fi
51816
51817 COND_MONOLITHIC_0_USE_GUI_1="#"
51818 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51819 COND_MONOLITHIC_0_USE_GUI_1=""
51820 fi
51821
51822 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51823 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51825 fi
51826
51827 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51829 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51830 fi
51831
51832 COND_MONOLITHIC_0_USE_HTML_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51834 COND_MONOLITHIC_0_USE_HTML_1=""
51835 fi
51836
51837 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51839 COND_MONOLITHIC_0_USE_MEDIA_1=""
51840 fi
51841
51842 COND_MONOLITHIC_0_USE_ODBC_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51844 COND_MONOLITHIC_0_USE_ODBC_1=""
51845 fi
51846
51847 COND_MONOLITHIC_0_USE_QA_1="#"
51848 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51849 COND_MONOLITHIC_0_USE_QA_1=""
51850 fi
51851
51852 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51854 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51855 fi
51856
51857 COND_MONOLITHIC_0_USE_STC_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51859 COND_MONOLITHIC_0_USE_STC_1=""
51860 fi
51861
51862 COND_MONOLITHIC_0_USE_XRC_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51864 COND_MONOLITHIC_0_USE_XRC_1=""
51865 fi
51866
51867 COND_MONOLITHIC_1="#"
51868 if test "x$MONOLITHIC" = "x1" ; then
51869 COND_MONOLITHIC_1=""
51870 fi
51871
51872 COND_MONOLITHIC_1_SHARED_0="#"
51873 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51874 COND_MONOLITHIC_1_SHARED_0=""
51875 fi
51876
51877 COND_MONOLITHIC_1_SHARED_1="#"
51878 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51879 COND_MONOLITHIC_1_SHARED_1=""
51880 fi
51881
51882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51883 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51884 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51885 fi
51886
51887 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51888 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51889 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51890 fi
51891
51892 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51893 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51894 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51895 fi
51896
51897 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51898 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51899 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51900 fi
51901
51902 COND_PLATFORM_MACOSX_1="#"
51903 if test "x$PLATFORM_MACOSX" = "x1" ; then
51904 COND_PLATFORM_MACOSX_1=""
51905 fi
51906
51907 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51908 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51909 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51910 fi
51911
51912 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51915 fi
51916
51917 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51918 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51919 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51920 fi
51921
51922 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51925 fi
51926
51927 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51929 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51930 fi
51931
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51933 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51934 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51935 fi
51936
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51939 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51940 fi
51941
51942 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51944 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51945 fi
51946
51947 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51949 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51950 fi
51951
51952 COND_PLATFORM_MACOS_1="#"
51953 if test "x$PLATFORM_MACOS" = "x1" ; then
51954 COND_PLATFORM_MACOS_1=""
51955 fi
51956
51957 COND_PLATFORM_MAC_1="#"
51958 if test "x$PLATFORM_MAC" = "x1" ; then
51959 COND_PLATFORM_MAC_1=""
51960 fi
51961
51962 COND_PLATFORM_MSDOS_0="#"
51963 if test "x$PLATFORM_MSDOS" = "x0" ; then
51964 COND_PLATFORM_MSDOS_0=""
51965 fi
51966
51967 COND_PLATFORM_MSDOS_1="#"
51968 if test "x$PLATFORM_MSDOS" = "x1" ; then
51969 COND_PLATFORM_MSDOS_1=""
51970 fi
51971
51972 COND_PLATFORM_OS2_1="#"
51973 if test "x$PLATFORM_OS2" = "x1" ; then
51974 COND_PLATFORM_OS2_1=""
51975 fi
51976
51977 COND_PLATFORM_UNIX_0="#"
51978 if test "x$PLATFORM_UNIX" = "x0" ; then
51979 COND_PLATFORM_UNIX_0=""
51980 fi
51981
51982 COND_PLATFORM_UNIX_1="#"
51983 if test "x$PLATFORM_UNIX" = "x1" ; then
51984 COND_PLATFORM_UNIX_1=""
51985 fi
51986
51987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51988 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51989 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51990 fi
51991
51992 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51993 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51995 fi
51996
51997 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51998 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51999 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52000 fi
52001
52002 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52003 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52004 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52005 fi
52006
52007 COND_PLATFORM_WIN32_0="#"
52008 if test "x$PLATFORM_WIN32" = "x0" ; then
52009 COND_PLATFORM_WIN32_0=""
52010 fi
52011
52012 COND_PLATFORM_WIN32_1="#"
52013 if test "x$PLATFORM_WIN32" = "x1" ; then
52014 COND_PLATFORM_WIN32_1=""
52015 fi
52016
52017 COND_SHARED_0="#"
52018 if test "x$SHARED" = "x0" ; then
52019 COND_SHARED_0=""
52020 fi
52021
52022 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52023 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52024 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52025 fi
52026
52027 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52028 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52029 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52030 fi
52031
52032 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52033 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52034 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52035 fi
52036
52037 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52038 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52039 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52040 fi
52041
52042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52043 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52045 fi
52046
52047 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52048 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52050 fi
52051
52052 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52053 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52054 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52055 fi
52056
52057 COND_SHARED_0_USE_STC_1="#"
52058 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52059 COND_SHARED_0_USE_STC_1=""
52060 fi
52061
52062 COND_SHARED_0_USE_XRC_1="#"
52063 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52064 COND_SHARED_0_USE_XRC_1=""
52065 fi
52066
52067 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52068 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52069 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52070 fi
52071
52072 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52073 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52074 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52075 fi
52076
52077 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52078 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52079 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52080 fi
52081
52082 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52083 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52084 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52085 fi
52086
52087 COND_SHARED_1="#"
52088 if test "x$SHARED" = "x1" ; then
52089 COND_SHARED_1=""
52090 fi
52091
52092 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52093 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52094 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52095 fi
52096
52097 COND_SHARED_1_USE_XRC_1="#"
52098 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52099 COND_SHARED_1_USE_XRC_1=""
52100 fi
52101
52102 COND_TOOLKIT_="#"
52103 if test "x$TOOLKIT" = "x" ; then
52104 COND_TOOLKIT_=""
52105 fi
52106
52107 COND_TOOLKIT_COCOA="#"
52108 if test "x$TOOLKIT" = "xCOCOA" ; then
52109 COND_TOOLKIT_COCOA=""
52110 fi
52111
52112 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52113 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52114 COND_TOOLKIT_COCOA_USE_GUI_1=""
52115 fi
52116
52117 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52118 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52119 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52120 fi
52121
52122 COND_TOOLKIT_DFB="#"
52123 if test "x$TOOLKIT" = "xDFB" ; then
52124 COND_TOOLKIT_DFB=""
52125 fi
52126
52127 COND_TOOLKIT_DFB_USE_GUI_1="#"
52128 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52129 COND_TOOLKIT_DFB_USE_GUI_1=""
52130 fi
52131
52132 COND_TOOLKIT_GTK="#"
52133 if test "x$TOOLKIT" = "xGTK" ; then
52134 COND_TOOLKIT_GTK=""
52135 fi
52136
52137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52138 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52139 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52140 fi
52141
52142 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52143 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52145 fi
52146
52147 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52148 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52149 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52150 fi
52151
52152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52153 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52155 fi
52156
52157 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52158 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52159 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52160 fi
52161
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52163 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52164 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52165 fi
52166
52167 COND_TOOLKIT_GTK_USE_GUI_1="#"
52168 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52169 COND_TOOLKIT_GTK_USE_GUI_1=""
52170 fi
52171
52172 COND_TOOLKIT_MAC="#"
52173 if test "x$TOOLKIT" = "xMAC" ; then
52174 COND_TOOLKIT_MAC=""
52175 fi
52176
52177 COND_TOOLKIT_MAC_USE_GUI_1="#"
52178 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52179 COND_TOOLKIT_MAC_USE_GUI_1=""
52180 fi
52181
52182 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52183 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52184 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52185 fi
52186
52187 COND_TOOLKIT_MGL="#"
52188 if test "x$TOOLKIT" = "xMGL" ; then
52189 COND_TOOLKIT_MGL=""
52190 fi
52191
52192 COND_TOOLKIT_MGL_USE_GUI_1="#"
52193 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52194 COND_TOOLKIT_MGL_USE_GUI_1=""
52195 fi
52196
52197 COND_TOOLKIT_MOTIF="#"
52198 if test "x$TOOLKIT" = "xMOTIF" ; then
52199 COND_TOOLKIT_MOTIF=""
52200 fi
52201
52202 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52203 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52204 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52205 fi
52206
52207 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52210 fi
52211
52212 COND_TOOLKIT_MSW="#"
52213 if test "x$TOOLKIT" = "xMSW" ; then
52214 COND_TOOLKIT_MSW=""
52215 fi
52216
52217 COND_TOOLKIT_MSW_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_MSW_USE_GUI_1=""
52220 fi
52221
52222 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52223 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52224 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52225 fi
52226
52227 COND_TOOLKIT_MSW_WXUNIV_0="#"
52228 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52229 COND_TOOLKIT_MSW_WXUNIV_0=""
52230 fi
52231
52232 COND_TOOLKIT_PM="#"
52233 if test "x$TOOLKIT" = "xPM" ; then
52234 COND_TOOLKIT_PM=""
52235 fi
52236
52237 COND_TOOLKIT_PM_USE_GUI_1="#"
52238 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52239 COND_TOOLKIT_PM_USE_GUI_1=""
52240 fi
52241
52242 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52243 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52244 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52245 fi
52246
52247 COND_TOOLKIT_WINCE="#"
52248 if test "x$TOOLKIT" = "xWINCE" ; then
52249 COND_TOOLKIT_WINCE=""
52250 fi
52251
52252 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52253 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52254 COND_TOOLKIT_WINCE_USE_GUI_1=""
52255 fi
52256
52257 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52258 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52259 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52260 fi
52261
52262 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52263 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52264 COND_TOOLKIT_WINCE_WXUNIV_0=""
52265 fi
52266
52267 COND_TOOLKIT_X11="#"
52268 if test "x$TOOLKIT" = "xX11" ; then
52269 COND_TOOLKIT_X11=""
52270 fi
52271
52272 COND_TOOLKIT_X11_USE_GUI_1="#"
52273 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52274 COND_TOOLKIT_X11_USE_GUI_1=""
52275 fi
52276
52277 COND_UNICODE_1="#"
52278 if test "x$UNICODE" = "x1" ; then
52279 COND_UNICODE_1=""
52280 fi
52281
52282 COND_USE_EXCEPTIONS_0="#"
52283 if test "x$USE_EXCEPTIONS" = "x0" ; then
52284 COND_USE_EXCEPTIONS_0=""
52285 fi
52286
52287 COND_USE_EXCEPTIONS_1="#"
52288 if test "x$USE_EXCEPTIONS" = "x1" ; then
52289 COND_USE_EXCEPTIONS_1=""
52290 fi
52291
52292 COND_USE_GUI_0="#"
52293 if test "x$USE_GUI" = "x0" ; then
52294 COND_USE_GUI_0=""
52295 fi
52296
52297 COND_USE_GUI_1="#"
52298 if test "x$USE_GUI" = "x1" ; then
52299 COND_USE_GUI_1=""
52300 fi
52301
52302 COND_USE_GUI_1_USE_OPENGL_1="#"
52303 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52304 COND_USE_GUI_1_USE_OPENGL_1=""
52305 fi
52306
52307 COND_USE_GUI_1_WXUNIV_0="#"
52308 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52309 COND_USE_GUI_1_WXUNIV_0=""
52310 fi
52311
52312 COND_USE_GUI_1_WXUNIV_1="#"
52313 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52314 COND_USE_GUI_1_WXUNIV_1=""
52315 fi
52316
52317 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52318 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52319 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52320 fi
52321
52322 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52323 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52324 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52325 fi
52326
52327 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52328 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52329 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52330 fi
52331
52332 COND_USE_ODBC_1="#"
52333 if test "x$USE_ODBC" = "x1" ; then
52334 COND_USE_ODBC_1=""
52335 fi
52336
52337 COND_USE_OPENGL_1="#"
52338 if test "x$USE_OPENGL" = "x1" ; then
52339 COND_USE_OPENGL_1=""
52340 fi
52341
52342 COND_USE_PCH_1="#"
52343 if test "x$USE_PCH" = "x1" ; then
52344 COND_USE_PCH_1=""
52345 fi
52346
52347 COND_USE_PLUGINS_0="#"
52348 if test "x$USE_PLUGINS" = "x0" ; then
52349 COND_USE_PLUGINS_0=""
52350 fi
52351
52352 COND_USE_RTTI_0="#"
52353 if test "x$USE_RTTI" = "x0" ; then
52354 COND_USE_RTTI_0=""
52355 fi
52356
52357 COND_USE_RTTI_1="#"
52358 if test "x$USE_RTTI" = "x1" ; then
52359 COND_USE_RTTI_1=""
52360 fi
52361
52362 COND_USE_SOSYMLINKS_1="#"
52363 if test "x$USE_SOSYMLINKS" = "x1" ; then
52364 COND_USE_SOSYMLINKS_1=""
52365 fi
52366
52367 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52368 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52369 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52370 fi
52371
52372 COND_USE_SOVERLINUX_1="#"
52373 if test "x$USE_SOVERLINUX" = "x1" ; then
52374 COND_USE_SOVERLINUX_1=""
52375 fi
52376
52377 COND_USE_SOVERSION_0="#"
52378 if test "x$USE_SOVERSION" = "x0" ; then
52379 COND_USE_SOVERSION_0=""
52380 fi
52381
52382 COND_USE_SOVERSOLARIS_1="#"
52383 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52384 COND_USE_SOVERSOLARIS_1=""
52385 fi
52386
52387 COND_USE_STC_1="#"
52388 if test "x$USE_STC" = "x1" ; then
52389 COND_USE_STC_1=""
52390 fi
52391
52392 COND_USE_THREADS_0="#"
52393 if test "x$USE_THREADS" = "x0" ; then
52394 COND_USE_THREADS_0=""
52395 fi
52396
52397 COND_USE_THREADS_1="#"
52398 if test "x$USE_THREADS" = "x1" ; then
52399 COND_USE_THREADS_1=""
52400 fi
52401
52402 COND_USE_XRC_1="#"
52403 if test "x$USE_XRC" = "x1" ; then
52404 COND_USE_XRC_1=""
52405 fi
52406
52407 COND_WINDOWS_IMPLIB_1="#"
52408 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52409 COND_WINDOWS_IMPLIB_1=""
52410 fi
52411
52412 COND_WITH_PLUGIN_SDL_1="#"
52413 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52414 COND_WITH_PLUGIN_SDL_1=""
52415 fi
52416
52417 COND_WXUNIV_0="#"
52418 if test "x$WXUNIV" = "x0" ; then
52419 COND_WXUNIV_0=""
52420 fi
52421
52422 COND_WXUNIV_1="#"
52423 if test "x$WXUNIV" = "x1" ; then
52424 COND_WXUNIV_1=""
52425 fi
52426
52427 COND_WXUSE_EXPAT_BUILTIN="#"
52428 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52429 COND_WXUSE_EXPAT_BUILTIN=""
52430 fi
52431
52432 COND_WXUSE_LIBJPEG_BUILTIN="#"
52433 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52434 COND_WXUSE_LIBJPEG_BUILTIN=""
52435 fi
52436
52437 COND_WXUSE_LIBPNG_BUILTIN="#"
52438 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52439 COND_WXUSE_LIBPNG_BUILTIN=""
52440 fi
52441
52442 COND_WXUSE_LIBTIFF_BUILTIN="#"
52443 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52444 COND_WXUSE_LIBTIFF_BUILTIN=""
52445 fi
52446
52447 COND_WXUSE_ODBC_BUILTIN="#"
52448 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52449 COND_WXUSE_ODBC_BUILTIN=""
52450 fi
52451
52452 COND_WXUSE_REGEX_BUILTIN="#"
52453 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52454 COND_WXUSE_REGEX_BUILTIN=""
52455 fi
52456
52457 COND_WXUSE_ZLIB_BUILTIN="#"
52458 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52459 COND_WXUSE_ZLIB_BUILTIN=""
52460 fi
52461
52462
52463
52464 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52465 { { 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
52466 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;}
52467 { (exit 1); exit 1; }; }
52468 fi
52469
52470 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52471 { { 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
52472 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;}
52473 { (exit 1); exit 1; }; }
52474 fi
52475
52476
52477 if test $GCC_PCH = 1
52478 then
52479 if test "$wx_cv_gcc_pch_bug" = yes; then
52480 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52481 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52482 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52483 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52484 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52485 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52486 fi
52487
52488 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52489 fi
52490
52491
52492 if test "$wxUSE_MAC" = 1 ; then
52493 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52494 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52495 mv temp bk-deps
52496 chmod +x bk-deps
52497 fi
52498 fi
52499
52500 if test "$wxUSE_SHARED" = "yes"; then
52501
52502 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52503 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52504
52505 case "${host}" in
52506 *-pc-os2_emx | *-pc-os2-emx )
52507 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52508 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52509 cp -p ${srcdir}/src/os2/dllnames.sh .
52510 cp -p ${srcdir}/src/os2/dllar.sh .
52511 ;;
52512 esac
52513 else
52514
52515 EXE_LINKER="$CXX -o"
52516
52517 fi
52518 if test "$wxUSE_OMF" = "yes"; then
52519 case "${host}" in
52520 *-pc-os2_emx | *-pc-os2-emx )
52521 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52522 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52523 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52524 ;;
52525 esac
52526 fi
52527
52528 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52529
52530
52531 case "${host}" in
52532 *-*-solaris2* )
52533 if "$GCC" = yes; then
52534 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52535 LIBS=`echo $LIBS | sed 's/-mt//'`
52536 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52537 fi
52538 ;;
52539
52540 *-*-linux* )
52541 if test "x$SUNCXX" = xyes; then
52542 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52543 LIBS=`echo $LIBS | sed 's/-pthread//'`
52544 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52545 fi
52546 ;;
52547 esac
52548
52549 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52550 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52551
52552 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52553
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569
52570
52571
52572
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52618 echo $ECHO_N "(cached) $ECHO_C" >&6
52619 else
52620 cat >conftest.make <<\_ACEOF
52621 SHELL = /bin/sh
52622 all:
52623 @echo '@@@%%%=$(MAKE)=@@@%%%'
52624 _ACEOF
52625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52627 *@@@%%%=?*=@@@%%%*)
52628 eval ac_cv_prog_make_${ac_make}_set=yes;;
52629 *)
52630 eval ac_cv_prog_make_${ac_make}_set=no;;
52631 esac
52632 rm -f conftest.make
52633 fi
52634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52635 { echo "$as_me:$LINENO: result: yes" >&5
52636 echo "${ECHO_T}yes" >&6; }
52637 SET_MAKE=
52638 else
52639 { echo "$as_me:$LINENO: result: no" >&5
52640 echo "${ECHO_T}no" >&6; }
52641 SET_MAKE="MAKE=${MAKE-make}"
52642 fi
52643
52644
52645
52646 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52647
52648
52649 if test "$USE_WIN32" = 1; then
52650 ac_config_commands="$ac_config_commands
52651 rcdefs.h
52652 "
52653
52654 fi
52655
52656 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52657
52658
52659 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52660
52661
52662 if test "$wx_cv_version_script" = "yes"; then
52663 ac_config_files="$ac_config_files version-script"
52664
52665 fi
52666 ac_config_files="$ac_config_files Makefile"
52667
52668
52669 ac_config_commands="$ac_config_commands wx-config"
52670
52671
52672
52673 if test "$wxWITH_SUBDIRS" != "no"; then
52674 if test "$wxUSE_GUI" = "yes"; then
52675 SUBDIRS="samples demos utils"
52676 else SUBDIRS="samples utils"
52677 fi
52678
52679
52680
52681 # Check whether --with-cppunit-prefix was given.
52682 if test "${with_cppunit_prefix+set}" = set; then
52683 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52684 else
52685 cppunit_config_prefix=""
52686 fi
52687
52688
52689 # Check whether --with-cppunit-exec-prefix was given.
52690 if test "${with_cppunit_exec_prefix+set}" = set; then
52691 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52692 else
52693 cppunit_config_exec_prefix=""
52694 fi
52695
52696
52697 if test x$cppunit_config_exec_prefix != x ; then
52698 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52699 if test x${CPPUNIT_CONFIG+set} != xset ; then
52700 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52701 fi
52702 fi
52703 if test x$cppunit_config_prefix != x ; then
52704 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52705 if test x${CPPUNIT_CONFIG+set} != xset ; then
52706 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52707 fi
52708 fi
52709
52710 # Extract the first word of "cppunit-config", so it can be a program name with args.
52711 set dummy cppunit-config; ac_word=$2
52712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52714 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52715 echo $ECHO_N "(cached) $ECHO_C" >&6
52716 else
52717 case $CPPUNIT_CONFIG in
52718 [\\/]* | ?:[\\/]*)
52719 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52720 ;;
52721 *)
52722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52723 for as_dir in $PATH
52724 do
52725 IFS=$as_save_IFS
52726 test -z "$as_dir" && as_dir=.
52727 for ac_exec_ext in '' $ac_executable_extensions; do
52728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52729 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52731 break 2
52732 fi
52733 done
52734 done
52735 IFS=$as_save_IFS
52736
52737 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52738 ;;
52739 esac
52740 fi
52741 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52742 if test -n "$CPPUNIT_CONFIG"; then
52743 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52744 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52745 else
52746 { echo "$as_me:$LINENO: result: no" >&5
52747 echo "${ECHO_T}no" >&6; }
52748 fi
52749
52750
52751 cppunit_version_min=1.8.0
52752
52753 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52754 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52755 no_cppunit=""
52756 if test "$CPPUNIT_CONFIG" = "no" ; then
52757 { echo "$as_me:$LINENO: result: no" >&5
52758 echo "${ECHO_T}no" >&6; }
52759 no_cppunit=yes
52760 else
52761 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52762 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52763 cppunit_version=`$CPPUNIT_CONFIG --version`
52764
52765 cppunit_major_version=`echo $cppunit_version | \
52766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52767 cppunit_minor_version=`echo $cppunit_version | \
52768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52769 cppunit_micro_version=`echo $cppunit_version | \
52770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52771
52772 cppunit_major_min=`echo $cppunit_version_min | \
52773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52774 cppunit_minor_min=`echo $cppunit_version_min | \
52775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52776 cppunit_micro_min=`echo $cppunit_version_min | \
52777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52778
52779 cppunit_version_proper=`expr \
52780 $cppunit_major_version \> $cppunit_major_min \| \
52781 $cppunit_major_version \= $cppunit_major_min \& \
52782 $cppunit_minor_version \> $cppunit_minor_min \| \
52783 $cppunit_major_version \= $cppunit_major_min \& \
52784 $cppunit_minor_version \= $cppunit_minor_min \& \
52785 $cppunit_micro_version \>= $cppunit_micro_min `
52786
52787 if test "$cppunit_version_proper" = "1" ; then
52788 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52789 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52790 else
52791 { echo "$as_me:$LINENO: result: no" >&5
52792 echo "${ECHO_T}no" >&6; }
52793 no_cppunit=yes
52794 fi
52795 fi
52796
52797 if test "x$no_cppunit" = x ; then
52798 SUBDIRS="$SUBDIRS tests"
52799 else
52800 CPPUNIT_CFLAGS=""
52801 CPPUNIT_LIBS=""
52802 :
52803 fi
52804
52805
52806
52807
52808
52809 for subdir in `echo $SUBDIRS`; do
52810 if test -d ${srcdir}/${subdir} ; then
52811 if test "$wxUSE_GUI" = "yes"; then
52812 if test ${subdir} = "samples"; then
52813 makefiles="samples/Makefile.in $makefiles"
52814 for sample in `echo $SAMPLES_SUBDIRS`; do
52815 if test -d $srcdir/samples/$sample; then
52816 makefiles="samples/$sample/Makefile.in $makefiles"
52817 fi
52818 done
52819 else
52820 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52821 eval "disabled=\$$disabled_var"
52822 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52823 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52824 fi
52825 else if test ${subdir} = "samples"; then
52826 makefiles="samples/Makefile.in samples/console/Makefile.in"
52827 elif test ${subdir} = "utils"; then
52828 makefiles=""
52829 for util in HelpGen tex2rtf ; do
52830 if test -d $srcdir/utils/$util ; then
52831 makefiles="utils/$util/Makefile.in \
52832 utils/$util/src/Makefile.in \
52833 $makefiles"
52834 fi
52835 done
52836 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52837 fi
52838 fi
52839
52840 for mkin in $makefiles ; do
52841 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52842 ac_config_files="$ac_config_files $mk"
52843
52844 done
52845 fi
52846 done
52847 fi
52848 cat >confcache <<\_ACEOF
52849 # This file is a shell script that caches the results of configure
52850 # tests run on this system so they can be shared between configure
52851 # scripts and configure runs, see configure's option --config-cache.
52852 # It is not useful on other systems. If it contains results you don't
52853 # want to keep, you may remove or edit it.
52854 #
52855 # config.status only pays attention to the cache file if you give it
52856 # the --recheck option to rerun configure.
52857 #
52858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52860 # following values.
52861
52862 _ACEOF
52863
52864 # The following way of writing the cache mishandles newlines in values,
52865 # but we know of no workaround that is simple, portable, and efficient.
52866 # So, we kill variables containing newlines.
52867 # Ultrix sh set writes to stderr and can't be redirected directly,
52868 # and sets the high bit in the cache file unless we assign to the vars.
52869 (
52870 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52871 eval ac_val=\$$ac_var
52872 case $ac_val in #(
52873 *${as_nl}*)
52874 case $ac_var in #(
52875 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52876 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52877 esac
52878 case $ac_var in #(
52879 _ | IFS | as_nl) ;; #(
52880 *) $as_unset $ac_var ;;
52881 esac ;;
52882 esac
52883 done
52884
52885 (set) 2>&1 |
52886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52887 *${as_nl}ac_space=\ *)
52888 # `set' does not quote correctly, so add quotes (double-quote
52889 # substitution turns \\\\ into \\, and sed turns \\ into \).
52890 sed -n \
52891 "s/'/'\\\\''/g;
52892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52893 ;; #(
52894 *)
52895 # `set' quotes correctly as required by POSIX, so do not add quotes.
52896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52897 ;;
52898 esac |
52899 sort
52900 ) |
52901 sed '
52902 /^ac_cv_env_/b end
52903 t clear
52904 :clear
52905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52906 t end
52907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52908 :end' >>confcache
52909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52910 if test -w "$cache_file"; then
52911 test "x$cache_file" != "x/dev/null" &&
52912 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52913 echo "$as_me: updating cache $cache_file" >&6;}
52914 cat confcache >$cache_file
52915 else
52916 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52917 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52918 fi
52919 fi
52920 rm -f confcache
52921
52922 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52923 # Let make expand exec_prefix.
52924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52925
52926 DEFS=-DHAVE_CONFIG_H
52927
52928 ac_libobjs=
52929 ac_ltlibobjs=
52930 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52931 # 1. Remove the extension, and $U if already installed.
52932 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52933 ac_i=`echo "$ac_i" | sed "$ac_script"`
52934 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52935 # will be set to the directory where LIBOBJS objects are built.
52936 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52937 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52938 done
52939 LIBOBJS=$ac_libobjs
52940
52941 LTLIBOBJS=$ac_ltlibobjs
52942
52943
52944
52945 : ${CONFIG_STATUS=./config.status}
52946 ac_clean_files_save=$ac_clean_files
52947 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52948 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52949 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52950 cat >$CONFIG_STATUS <<_ACEOF
52951 #! $SHELL
52952 # Generated by $as_me.
52953 # Run this file to recreate the current configuration.
52954 # Compiler output produced by configure, useful for debugging
52955 # configure, is in config.log if it exists.
52956
52957 debug=false
52958 ac_cs_recheck=false
52959 ac_cs_silent=false
52960 SHELL=\${CONFIG_SHELL-$SHELL}
52961 _ACEOF
52962
52963 cat >>$CONFIG_STATUS <<\_ACEOF
52964 ## --------------------- ##
52965 ## M4sh Initialization. ##
52966 ## --------------------- ##
52967
52968 # Be more Bourne compatible
52969 DUALCASE=1; export DUALCASE # for MKS sh
52970 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52971 emulate sh
52972 NULLCMD=:
52973 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52974 # is contrary to our usage. Disable this feature.
52975 alias -g '${1+"$@"}'='"$@"'
52976 setopt NO_GLOB_SUBST
52977 else
52978 case `(set -o) 2>/dev/null` in
52979 *posix*) set -o posix ;;
52980 esac
52981
52982 fi
52983
52984
52985
52986
52987 # PATH needs CR
52988 # Avoid depending upon Character Ranges.
52989 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52990 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52991 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52992 as_cr_digits='0123456789'
52993 as_cr_alnum=$as_cr_Letters$as_cr_digits
52994
52995 # The user is always right.
52996 if test "${PATH_SEPARATOR+set}" != set; then
52997 echo "#! /bin/sh" >conf$$.sh
52998 echo "exit 0" >>conf$$.sh
52999 chmod +x conf$$.sh
53000 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53001 PATH_SEPARATOR=';'
53002 else
53003 PATH_SEPARATOR=:
53004 fi
53005 rm -f conf$$.sh
53006 fi
53007
53008 # Support unset when possible.
53009 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53010 as_unset=unset
53011 else
53012 as_unset=false
53013 fi
53014
53015
53016 # IFS
53017 # We need space, tab and new line, in precisely that order. Quoting is
53018 # there to prevent editors from complaining about space-tab.
53019 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53020 # splitting by setting IFS to empty value.)
53021 as_nl='
53022 '
53023 IFS=" "" $as_nl"
53024
53025 # Find who we are. Look in the path if we contain no directory separator.
53026 case $0 in
53027 *[\\/]* ) as_myself=$0 ;;
53028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53029 for as_dir in $PATH
53030 do
53031 IFS=$as_save_IFS
53032 test -z "$as_dir" && as_dir=.
53033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53034 done
53035 IFS=$as_save_IFS
53036
53037 ;;
53038 esac
53039 # We did not find ourselves, most probably we were run as `sh COMMAND'
53040 # in which case we are not to be found in the path.
53041 if test "x$as_myself" = x; then
53042 as_myself=$0
53043 fi
53044 if test ! -f "$as_myself"; then
53045 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53046 { (exit 1); exit 1; }
53047 fi
53048
53049 # Work around bugs in pre-3.0 UWIN ksh.
53050 for as_var in ENV MAIL MAILPATH
53051 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53052 done
53053 PS1='$ '
53054 PS2='> '
53055 PS4='+ '
53056
53057 # NLS nuisances.
53058 for as_var in \
53059 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53060 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53061 LC_TELEPHONE LC_TIME
53062 do
53063 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53064 eval $as_var=C; export $as_var
53065 else
53066 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53067 fi
53068 done
53069
53070 # Required to use basename.
53071 if expr a : '\(a\)' >/dev/null 2>&1 &&
53072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53073 as_expr=expr
53074 else
53075 as_expr=false
53076 fi
53077
53078 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53079 as_basename=basename
53080 else
53081 as_basename=false
53082 fi
53083
53084
53085 # Name of the executable.
53086 as_me=`$as_basename -- "$0" ||
53087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53088 X"$0" : 'X\(//\)$' \| \
53089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53090 echo X/"$0" |
53091 sed '/^.*\/\([^/][^/]*\)\/*$/{
53092 s//\1/
53093 q
53094 }
53095 /^X\/\(\/\/\)$/{
53096 s//\1/
53097 q
53098 }
53099 /^X\/\(\/\).*/{
53100 s//\1/
53101 q
53102 }
53103 s/.*/./; q'`
53104
53105 # CDPATH.
53106 $as_unset CDPATH
53107
53108
53109
53110 as_lineno_1=$LINENO
53111 as_lineno_2=$LINENO
53112 test "x$as_lineno_1" != "x$as_lineno_2" &&
53113 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53114
53115 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53116 # uniformly replaced by the line number. The first 'sed' inserts a
53117 # line-number line after each line using $LINENO; the second 'sed'
53118 # does the real work. The second script uses 'N' to pair each
53119 # line-number line with the line containing $LINENO, and appends
53120 # trailing '-' during substitution so that $LINENO is not a special
53121 # case at line end.
53122 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53123 # scripts with optimization help from Paolo Bonzini. Blame Lee
53124 # E. McMahon (1931-1989) for sed's syntax. :-)
53125 sed -n '
53126 p
53127 /[$]LINENO/=
53128 ' <$as_myself |
53129 sed '
53130 s/[$]LINENO.*/&-/
53131 t lineno
53132 b
53133 :lineno
53134 N
53135 :loop
53136 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53137 t loop
53138 s/-\n.*//
53139 ' >$as_me.lineno &&
53140 chmod +x "$as_me.lineno" ||
53141 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53142 { (exit 1); exit 1; }; }
53143
53144 # Don't try to exec as it changes $[0], causing all sort of problems
53145 # (the dirname of $[0] is not the place where we might find the
53146 # original and so on. Autoconf is especially sensitive to this).
53147 . "./$as_me.lineno"
53148 # Exit status is that of the last command.
53149 exit
53150 }
53151
53152
53153 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53154 as_dirname=dirname
53155 else
53156 as_dirname=false
53157 fi
53158
53159 ECHO_C= ECHO_N= ECHO_T=
53160 case `echo -n x` in
53161 -n*)
53162 case `echo 'x\c'` in
53163 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53164 *) ECHO_C='\c';;
53165 esac;;
53166 *)
53167 ECHO_N='-n';;
53168 esac
53169
53170 if expr a : '\(a\)' >/dev/null 2>&1 &&
53171 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53172 as_expr=expr
53173 else
53174 as_expr=false
53175 fi
53176
53177 rm -f conf$$ conf$$.exe conf$$.file
53178 if test -d conf$$.dir; then
53179 rm -f conf$$.dir/conf$$.file
53180 else
53181 rm -f conf$$.dir
53182 mkdir conf$$.dir
53183 fi
53184 echo >conf$$.file
53185 if ln -s conf$$.file conf$$ 2>/dev/null; then
53186 as_ln_s='ln -s'
53187 # ... but there are two gotchas:
53188 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53189 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53190 # In both cases, we have to default to `cp -p'.
53191 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53192 as_ln_s='cp -p'
53193 elif ln conf$$.file conf$$ 2>/dev/null; then
53194 as_ln_s=ln
53195 else
53196 as_ln_s='cp -p'
53197 fi
53198 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53199 rmdir conf$$.dir 2>/dev/null
53200
53201 if mkdir -p . 2>/dev/null; then
53202 as_mkdir_p=:
53203 else
53204 test -d ./-p && rmdir ./-p
53205 as_mkdir_p=false
53206 fi
53207
53208 if test -x / >/dev/null 2>&1; then
53209 as_test_x='test -x'
53210 else
53211 if ls -dL / >/dev/null 2>&1; then
53212 as_ls_L_option=L
53213 else
53214 as_ls_L_option=
53215 fi
53216 as_test_x='
53217 eval sh -c '\''
53218 if test -d "$1"; then
53219 test -d "$1/.";
53220 else
53221 case $1 in
53222 -*)set "./$1";;
53223 esac;
53224 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53225 ???[sx]*):;;*)false;;esac;fi
53226 '\'' sh
53227 '
53228 fi
53229 as_executable_p=$as_test_x
53230
53231 # Sed expression to map a string onto a valid CPP name.
53232 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53233
53234 # Sed expression to map a string onto a valid variable name.
53235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53236
53237
53238 exec 6>&1
53239
53240 # Save the log message, to keep $[0] and so on meaningful, and to
53241 # report actual input values of CONFIG_FILES etc. instead of their
53242 # values after options handling.
53243 ac_log="
53244 This file was extended by wxWidgets $as_me 2.9.0, which was
53245 generated by GNU Autoconf 2.61. Invocation command line was
53246
53247 CONFIG_FILES = $CONFIG_FILES
53248 CONFIG_HEADERS = $CONFIG_HEADERS
53249 CONFIG_LINKS = $CONFIG_LINKS
53250 CONFIG_COMMANDS = $CONFIG_COMMANDS
53251 $ $0 $@
53252
53253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53254 "
53255
53256 _ACEOF
53257
53258 cat >>$CONFIG_STATUS <<_ACEOF
53259 # Files that config.status was made for.
53260 config_files="$ac_config_files"
53261 config_headers="$ac_config_headers"
53262 config_commands="$ac_config_commands"
53263
53264 _ACEOF
53265
53266 cat >>$CONFIG_STATUS <<\_ACEOF
53267 ac_cs_usage="\
53268 \`$as_me' instantiates files from templates according to the
53269 current configuration.
53270
53271 Usage: $0 [OPTIONS] [FILE]...
53272
53273 -h, --help print this help, then exit
53274 -V, --version print version number and configuration settings, then exit
53275 -q, --quiet do not print progress messages
53276 -d, --debug don't remove temporary files
53277 --recheck update $as_me by reconfiguring in the same conditions
53278 --file=FILE[:TEMPLATE]
53279 instantiate the configuration file FILE
53280 --header=FILE[:TEMPLATE]
53281 instantiate the configuration header FILE
53282
53283 Configuration files:
53284 $config_files
53285
53286 Configuration headers:
53287 $config_headers
53288
53289 Configuration commands:
53290 $config_commands
53291
53292 Report bugs to <bug-autoconf@gnu.org>."
53293
53294 _ACEOF
53295 cat >>$CONFIG_STATUS <<_ACEOF
53296 ac_cs_version="\\
53297 wxWidgets config.status 2.9.0
53298 configured by $0, generated by GNU Autoconf 2.61,
53299 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53300
53301 Copyright (C) 2006 Free Software Foundation, Inc.
53302 This config.status script is free software; the Free Software Foundation
53303 gives unlimited permission to copy, distribute and modify it."
53304
53305 ac_pwd='$ac_pwd'
53306 srcdir='$srcdir'
53307 INSTALL='$INSTALL'
53308 _ACEOF
53309
53310 cat >>$CONFIG_STATUS <<\_ACEOF
53311 # If no file are specified by the user, then we need to provide default
53312 # value. By we need to know if files were specified by the user.
53313 ac_need_defaults=:
53314 while test $# != 0
53315 do
53316 case $1 in
53317 --*=*)
53318 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53319 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53320 ac_shift=:
53321 ;;
53322 *)
53323 ac_option=$1
53324 ac_optarg=$2
53325 ac_shift=shift
53326 ;;
53327 esac
53328
53329 case $ac_option in
53330 # Handling of the options.
53331 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53332 ac_cs_recheck=: ;;
53333 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53334 echo "$ac_cs_version"; exit ;;
53335 --debug | --debu | --deb | --de | --d | -d )
53336 debug=: ;;
53337 --file | --fil | --fi | --f )
53338 $ac_shift
53339 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53340 ac_need_defaults=false;;
53341 --header | --heade | --head | --hea )
53342 $ac_shift
53343 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53344 ac_need_defaults=false;;
53345 --he | --h)
53346 # Conflict between --help and --header
53347 { echo "$as_me: error: ambiguous option: $1
53348 Try \`$0 --help' for more information." >&2
53349 { (exit 1); exit 1; }; };;
53350 --help | --hel | -h )
53351 echo "$ac_cs_usage"; exit ;;
53352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53354 ac_cs_silent=: ;;
53355
53356 # This is an error.
53357 -*) { echo "$as_me: error: unrecognized option: $1
53358 Try \`$0 --help' for more information." >&2
53359 { (exit 1); exit 1; }; } ;;
53360
53361 *) ac_config_targets="$ac_config_targets $1"
53362 ac_need_defaults=false ;;
53363
53364 esac
53365 shift
53366 done
53367
53368 ac_configure_extra_args=
53369
53370 if $ac_cs_silent; then
53371 exec 6>/dev/null
53372 ac_configure_extra_args="$ac_configure_extra_args --silent"
53373 fi
53374
53375 _ACEOF
53376 cat >>$CONFIG_STATUS <<_ACEOF
53377 if \$ac_cs_recheck; then
53378 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53379 CONFIG_SHELL=$SHELL
53380 export CONFIG_SHELL
53381 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53382 fi
53383
53384 _ACEOF
53385 cat >>$CONFIG_STATUS <<\_ACEOF
53386 exec 5>>config.log
53387 {
53388 echo
53389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53390 ## Running $as_me. ##
53391 _ASBOX
53392 echo "$ac_log"
53393 } >&5
53394
53395 _ACEOF
53396 cat >>$CONFIG_STATUS <<_ACEOF
53397 #
53398 # INIT-COMMANDS
53399 #
53400
53401 CPP="$CPP"
53402 infile="$srcdir/include/wx/msw/genrcdefs.h"
53403 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53404
53405
53406 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53407 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53408 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53409 LN_S="${LN_S}"
53410
53411
53412 _ACEOF
53413
53414 cat >>$CONFIG_STATUS <<\_ACEOF
53415
53416 # Handling of arguments.
53417 for ac_config_target in $ac_config_targets
53418 do
53419 case $ac_config_target in
53420 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53421 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53422 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53423 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53424 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53425 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53426 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53427 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53428
53429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53431 { (exit 1); exit 1; }; };;
53432 esac
53433 done
53434
53435
53436 # If the user did not use the arguments to specify the items to instantiate,
53437 # then the envvar interface is used. Set only those that are not.
53438 # We use the long form for the default assignment because of an extremely
53439 # bizarre bug on SunOS 4.1.3.
53440 if $ac_need_defaults; then
53441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53444 fi
53445
53446 # Have a temporary directory for convenience. Make it in the build tree
53447 # simply because there is no reason against having it here, and in addition,
53448 # creating and moving files from /tmp can sometimes cause problems.
53449 # Hook for its removal unless debugging.
53450 # Note that there is a small window in which the directory will not be cleaned:
53451 # after its creation but before its name has been assigned to `$tmp'.
53452 $debug ||
53453 {
53454 tmp=
53455 trap 'exit_status=$?
53456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53457 ' 0
53458 trap '{ (exit 1); exit 1; }' 1 2 13 15
53459 }
53460 # Create a (secure) tmp directory for tmp files.
53461
53462 {
53463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53464 test -n "$tmp" && test -d "$tmp"
53465 } ||
53466 {
53467 tmp=./conf$$-$RANDOM
53468 (umask 077 && mkdir "$tmp")
53469 } ||
53470 {
53471 echo "$me: cannot create a temporary directory in ." >&2
53472 { (exit 1); exit 1; }
53473 }
53474
53475 #
53476 # Set up the sed scripts for CONFIG_FILES section.
53477 #
53478
53479 # No need to generate the scripts if there are no CONFIG_FILES.
53480 # This happens for instance when ./config.status config.h
53481 if test -n "$CONFIG_FILES"; then
53482
53483 _ACEOF
53484
53485
53486
53487 ac_delim='%!_!# '
53488 for ac_last_try in false false false false false :; do
53489 cat >conf$$subs.sed <<_ACEOF
53490 SHELL!$SHELL$ac_delim
53491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53497 exec_prefix!$exec_prefix$ac_delim
53498 prefix!$prefix$ac_delim
53499 program_transform_name!$program_transform_name$ac_delim
53500 bindir!$bindir$ac_delim
53501 sbindir!$sbindir$ac_delim
53502 libexecdir!$libexecdir$ac_delim
53503 datarootdir!$datarootdir$ac_delim
53504 datadir!$datadir$ac_delim
53505 sysconfdir!$sysconfdir$ac_delim
53506 sharedstatedir!$sharedstatedir$ac_delim
53507 localstatedir!$localstatedir$ac_delim
53508 includedir!$includedir$ac_delim
53509 oldincludedir!$oldincludedir$ac_delim
53510 docdir!$docdir$ac_delim
53511 infodir!$infodir$ac_delim
53512 htmldir!$htmldir$ac_delim
53513 dvidir!$dvidir$ac_delim
53514 pdfdir!$pdfdir$ac_delim
53515 psdir!$psdir$ac_delim
53516 libdir!$libdir$ac_delim
53517 localedir!$localedir$ac_delim
53518 mandir!$mandir$ac_delim
53519 DEFS!$DEFS$ac_delim
53520 ECHO_C!$ECHO_C$ac_delim
53521 ECHO_N!$ECHO_N$ac_delim
53522 ECHO_T!$ECHO_T$ac_delim
53523 LIBS!$LIBS$ac_delim
53524 build_alias!$build_alias$ac_delim
53525 host_alias!$host_alias$ac_delim
53526 target_alias!$target_alias$ac_delim
53527 build!$build$ac_delim
53528 build_cpu!$build_cpu$ac_delim
53529 build_vendor!$build_vendor$ac_delim
53530 build_os!$build_os$ac_delim
53531 host!$host$ac_delim
53532 host_cpu!$host_cpu$ac_delim
53533 host_vendor!$host_vendor$ac_delim
53534 host_os!$host_os$ac_delim
53535 target!$target$ac_delim
53536 target_cpu!$target_cpu$ac_delim
53537 target_vendor!$target_vendor$ac_delim
53538 target_os!$target_os$ac_delim
53539 wx_top_builddir!$wx_top_builddir$ac_delim
53540 CC!$CC$ac_delim
53541 CFLAGS!$CFLAGS$ac_delim
53542 LDFLAGS!$LDFLAGS$ac_delim
53543 CPPFLAGS!$CPPFLAGS$ac_delim
53544 ac_ct_CC!$ac_ct_CC$ac_delim
53545 EXEEXT!$EXEEXT$ac_delim
53546 OBJEXT!$OBJEXT$ac_delim
53547 CPP!$CPP$ac_delim
53548 GREP!$GREP$ac_delim
53549 EGREP!$EGREP$ac_delim
53550 CXX!$CXX$ac_delim
53551 CXXFLAGS!$CXXFLAGS$ac_delim
53552 ac_ct_CXX!$ac_ct_CXX$ac_delim
53553 RANLIB!$RANLIB$ac_delim
53554 AR!$AR$ac_delim
53555 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53556 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53557 INSTALL_DATA!$INSTALL_DATA$ac_delim
53558 STRIP!$STRIP$ac_delim
53559 WINDRES!$WINDRES$ac_delim
53560 DLLTOOL!$DLLTOOL$ac_delim
53561 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53562 LN_S!$LN_S$ac_delim
53563 subdirs!$subdirs$ac_delim
53564 PKG_CONFIG!$PKG_CONFIG$ac_delim
53565 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53566 GTK_LIBS!$GTK_LIBS$ac_delim
53567 GTK_CONFIG!$GTK_CONFIG$ac_delim
53568 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53569 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53570 XMKMF!$XMKMF$ac_delim
53571 X_CFLAGS!$X_CFLAGS$ac_delim
53572 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53573 X_LIBS!$X_LIBS$ac_delim
53574 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53575 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53576 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53577 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53578 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53579 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53580 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53581 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53582 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53583 REZ!$REZ$ac_delim
53584 DEREZ!$DEREZ$ac_delim
53585 SETFILE!$SETFILE$ac_delim
53586 LIBICONV!$LIBICONV$ac_delim
53587 _ACEOF
53588
53589 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53590 break
53591 elif $ac_last_try; then
53592 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53593 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53594 { (exit 1); exit 1; }; }
53595 else
53596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53597 fi
53598 done
53599
53600 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53601 if test -n "$ac_eof"; then
53602 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53603 ac_eof=`expr $ac_eof + 1`
53604 fi
53605
53606 cat >>$CONFIG_STATUS <<_ACEOF
53607 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53609 _ACEOF
53610 sed '
53611 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53612 s/^/s,@/; s/!/@,|#_!!_#|/
53613 :n
53614 t n
53615 s/'"$ac_delim"'$/,g/; t
53616 s/$/\\/; p
53617 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53618 ' >>$CONFIG_STATUS <conf$$subs.sed
53619 rm -f conf$$subs.sed
53620 cat >>$CONFIG_STATUS <<_ACEOF
53621 CEOF$ac_eof
53622 _ACEOF
53623
53624
53625 ac_delim='%!_!# '
53626 for ac_last_try in false false false false false :; do
53627 cat >conf$$subs.sed <<_ACEOF
53628 SDL_CONFIG!$SDL_CONFIG$ac_delim
53629 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53630 SDL_LIBS!$SDL_LIBS$ac_delim
53631 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53632 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53633 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53634 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53635 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53636 HILDON_LIBS!$HILDON_LIBS$ac_delim
53637 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53638 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53639 GST_CFLAGS!$GST_CFLAGS$ac_delim
53640 GST_LIBS!$GST_LIBS$ac_delim
53641 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53642 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53643 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53644 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53645 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53646 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53647 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53648 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53649 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53650 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53651 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53652 VENDOR!$VENDOR$ac_delim
53653 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53654 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53655 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53656 WXUNIV!$WXUNIV$ac_delim
53657 MONOLITHIC!$MONOLITHIC$ac_delim
53658 USE_PLUGINS!$USE_PLUGINS$ac_delim
53659 CXXWARNINGS!$CXXWARNINGS$ac_delim
53660 EXTRALIBS!$EXTRALIBS$ac_delim
53661 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53662 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53663 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53664 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53665 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53666 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53667 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53668 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53669 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53670 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53671 UNICODE!$UNICODE$ac_delim
53672 BUILD!$BUILD$ac_delim
53673 DEBUG_INFO!$DEBUG_INFO$ac_delim
53674 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53675 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53676 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53677 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53678 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53679 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53680 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53681 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53682 SET_MAKE!$SET_MAKE$ac_delim
53683 MAKE_SET!$MAKE_SET$ac_delim
53684 AROPTIONS!$AROPTIONS$ac_delim
53685 NM!$NM$ac_delim
53686 INSTALL_DIR!$INSTALL_DIR$ac_delim
53687 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53688 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53689 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53690 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53691 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53692 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53693 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53694 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53695 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53696 SO_SUFFIX!$SO_SUFFIX$ac_delim
53697 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53698 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53699 LIBPREFIX!$LIBPREFIX$ac_delim
53700 LIBEXT!$LIBEXT$ac_delim
53701 DLLPREFIX!$DLLPREFIX$ac_delim
53702 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53703 dlldir!$dlldir$ac_delim
53704 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53705 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53706 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53707 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53708 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53709 PIC_FLAG!$PIC_FLAG$ac_delim
53710 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53711 USE_SOVERSION!$USE_SOVERSION$ac_delim
53712 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53713 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53714 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53715 USE_MACVERSION!$USE_MACVERSION$ac_delim
53716 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53717 SONAME_FLAG!$SONAME_FLAG$ac_delim
53718 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53719 BK_DEPS!$BK_DEPS$ac_delim
53720 GCC_PCH!$GCC_PCH$ac_delim
53721 ICC_PCH!$ICC_PCH$ac_delim
53722 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53723 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53724 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53725 _ACEOF
53726
53727 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53728 break
53729 elif $ac_last_try; then
53730 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53731 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53732 { (exit 1); exit 1; }; }
53733 else
53734 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53735 fi
53736 done
53737
53738 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53739 if test -n "$ac_eof"; then
53740 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53741 ac_eof=`expr $ac_eof + 1`
53742 fi
53743
53744 cat >>$CONFIG_STATUS <<_ACEOF
53745 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53747 _ACEOF
53748 sed '
53749 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53750 s/^/s,@/; s/!/@,|#_!!_#|/
53751 :n
53752 t n
53753 s/'"$ac_delim"'$/,g/; t
53754 s/$/\\/; p
53755 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53756 ' >>$CONFIG_STATUS <conf$$subs.sed
53757 rm -f conf$$subs.sed
53758 cat >>$CONFIG_STATUS <<_ACEOF
53759 CEOF$ac_eof
53760 _ACEOF
53761
53762
53763 ac_delim='%!_!# '
53764 for ac_last_try in false false false false false :; do
53765 cat >conf$$subs.sed <<_ACEOF
53766 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53767 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53768 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53769 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53770 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53771 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53772 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53773 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53774 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53775 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53776 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53777 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53778 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53779 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53780 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53781 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53782 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53788 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53789 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53790 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53792 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53793 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53799 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53800 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53801 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53802 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53803 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53804 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53805 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53806 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53807 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53808 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53809 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53810 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53811 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53812 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53813 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53814 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53815 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53816 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53817 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53818 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53819 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53820 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53821 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53822 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53823 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53824 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53825 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53826 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53827 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53828 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53829 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53830 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53831 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53832 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53833 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53834 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53835 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53836 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53837 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53838 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53839 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53840 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53841 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53842 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53843 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53844 COND_SHARED_0!$COND_SHARED_0$ac_delim
53845 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53846 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53847 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53848 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53849 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53850 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53851 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53852 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53853 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53854 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53855 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53856 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53857 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53858 COND_SHARED_1!$COND_SHARED_1$ac_delim
53859 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53860 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53861 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53862 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53863 _ACEOF
53864
53865 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53866 break
53867 elif $ac_last_try; then
53868 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53869 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53870 { (exit 1); exit 1; }; }
53871 else
53872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53873 fi
53874 done
53875
53876 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53877 if test -n "$ac_eof"; then
53878 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53879 ac_eof=`expr $ac_eof + 1`
53880 fi
53881
53882 cat >>$CONFIG_STATUS <<_ACEOF
53883 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53885 _ACEOF
53886 sed '
53887 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53888 s/^/s,@/; s/!/@,|#_!!_#|/
53889 :n
53890 t n
53891 s/'"$ac_delim"'$/,g/; t
53892 s/$/\\/; p
53893 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53894 ' >>$CONFIG_STATUS <conf$$subs.sed
53895 rm -f conf$$subs.sed
53896 cat >>$CONFIG_STATUS <<_ACEOF
53897 CEOF$ac_eof
53898 _ACEOF
53899
53900
53901 ac_delim='%!_!# '
53902 for ac_last_try in false false false false false :; do
53903 cat >conf$$subs.sed <<_ACEOF
53904 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53906 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53907 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53908 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53915 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53916 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53917 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53919 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53920 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53921 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53922 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53924 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53925 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53927 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53928 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53929 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53931 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53932 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53934 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53935 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53936 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53937 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53938 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53939 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53940 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53941 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53942 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53943 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53944 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53948 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53949 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53950 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53951 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53952 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53953 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53954 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53955 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53956 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53957 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53958 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53959 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53960 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53961 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53962 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53963 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53964 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53965 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53966 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53967 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53968 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53969 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53970 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53971 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53972 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53973 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53974 SHARED!$SHARED$ac_delim
53975 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53976 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53977 USE_GUI!$USE_GUI$ac_delim
53978 AFMINSTALL!$AFMINSTALL$ac_delim
53979 WIN32INSTALL!$WIN32INSTALL$ac_delim
53980 TOOLKIT!$TOOLKIT$ac_delim
53981 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53982 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53983 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53984 cross_compiling!$cross_compiling$ac_delim
53985 WIDGET_SET!$WIDGET_SET$ac_delim
53986 WX_RELEASE!$WX_RELEASE$ac_delim
53987 WX_VERSION!$WX_VERSION$ac_delim
53988 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53989 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53990 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53991 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53992 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53993 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53994 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53995 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53996 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53997 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53998 EXE_LINKER!$EXE_LINKER$ac_delim
53999 GUIDIST!$GUIDIST$ac_delim
54000 DISTDIR!$DISTDIR$ac_delim
54001 _ACEOF
54002
54003 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54004 break
54005 elif $ac_last_try; then
54006 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54007 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54008 { (exit 1); exit 1; }; }
54009 else
54010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54011 fi
54012 done
54013
54014 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54015 if test -n "$ac_eof"; then
54016 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54017 ac_eof=`expr $ac_eof + 1`
54018 fi
54019
54020 cat >>$CONFIG_STATUS <<_ACEOF
54021 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54023 _ACEOF
54024 sed '
54025 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54026 s/^/s,@/; s/!/@,|#_!!_#|/
54027 :n
54028 t n
54029 s/'"$ac_delim"'$/,g/; t
54030 s/$/\\/; p
54031 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54032 ' >>$CONFIG_STATUS <conf$$subs.sed
54033 rm -f conf$$subs.sed
54034 cat >>$CONFIG_STATUS <<_ACEOF
54035 CEOF$ac_eof
54036 _ACEOF
54037
54038
54039 ac_delim='%!_!# '
54040 for ac_last_try in false false false false false :; do
54041 cat >conf$$subs.sed <<_ACEOF
54042 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54043 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54044 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54045 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54046 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54047 RESCOMP!$RESCOMP$ac_delim
54048 RESFLAGS!$RESFLAGS$ac_delim
54049 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54050 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54051 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54052 LIBWXMACRES!$LIBWXMACRES$ac_delim
54053 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54054 MACSETFILE!$MACSETFILE$ac_delim
54055 GCC!$GCC$ac_delim
54056 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54057 LIBOBJS!$LIBOBJS$ac_delim
54058 LTLIBOBJS!$LTLIBOBJS$ac_delim
54059 _ACEOF
54060
54061 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54062 break
54063 elif $ac_last_try; then
54064 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54065 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54066 { (exit 1); exit 1; }; }
54067 else
54068 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54069 fi
54070 done
54071
54072 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54073 if test -n "$ac_eof"; then
54074 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54075 ac_eof=`expr $ac_eof + 1`
54076 fi
54077
54078 cat >>$CONFIG_STATUS <<_ACEOF
54079 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54081 _ACEOF
54082 sed '
54083 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54084 s/^/s,@/; s/!/@,|#_!!_#|/
54085 :n
54086 t n
54087 s/'"$ac_delim"'$/,g/; t
54088 s/$/\\/; p
54089 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54090 ' >>$CONFIG_STATUS <conf$$subs.sed
54091 rm -f conf$$subs.sed
54092 cat >>$CONFIG_STATUS <<_ACEOF
54093 :end
54094 s/|#_!!_#|//g
54095 CEOF$ac_eof
54096 _ACEOF
54097
54098
54099 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54100 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54101 # trailing colons and then remove the whole line if VPATH becomes empty
54102 # (actually we leave an empty line to preserve line numbers).
54103 if test "x$srcdir" = x.; then
54104 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54105 s/:*\$(srcdir):*/:/
54106 s/:*\${srcdir}:*/:/
54107 s/:*@srcdir@:*/:/
54108 s/^\([^=]*=[ ]*\):*/\1/
54109 s/:*$//
54110 s/^[^=]*=[ ]*$//
54111 }'
54112 fi
54113
54114 cat >>$CONFIG_STATUS <<\_ACEOF
54115 fi # test -n "$CONFIG_FILES"
54116
54117
54118 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54119 do
54120 case $ac_tag in
54121 :[FHLC]) ac_mode=$ac_tag; continue;;
54122 esac
54123 case $ac_mode$ac_tag in
54124 :[FHL]*:*);;
54125 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54126 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54127 { (exit 1); exit 1; }; };;
54128 :[FH]-) ac_tag=-:-;;
54129 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54130 esac
54131 ac_save_IFS=$IFS
54132 IFS=:
54133 set x $ac_tag
54134 IFS=$ac_save_IFS
54135 shift
54136 ac_file=$1
54137 shift
54138
54139 case $ac_mode in
54140 :L) ac_source=$1;;
54141 :[FH])
54142 ac_file_inputs=
54143 for ac_f
54144 do
54145 case $ac_f in
54146 -) ac_f="$tmp/stdin";;
54147 *) # Look for the file first in the build tree, then in the source tree
54148 # (if the path is not absolute). The absolute path cannot be DOS-style,
54149 # because $ac_f cannot contain `:'.
54150 test -f "$ac_f" ||
54151 case $ac_f in
54152 [\\/$]*) false;;
54153 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54154 esac ||
54155 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54156 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54157 { (exit 1); exit 1; }; };;
54158 esac
54159 ac_file_inputs="$ac_file_inputs $ac_f"
54160 done
54161
54162 # Let's still pretend it is `configure' which instantiates (i.e., don't
54163 # use $as_me), people would be surprised to read:
54164 # /* config.h. Generated by config.status. */
54165 configure_input="Generated from "`IFS=:
54166 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54167 if test x"$ac_file" != x-; then
54168 configure_input="$ac_file. $configure_input"
54169 { echo "$as_me:$LINENO: creating $ac_file" >&5
54170 echo "$as_me: creating $ac_file" >&6;}
54171 fi
54172
54173 case $ac_tag in
54174 *:-:* | *:-) cat >"$tmp/stdin";;
54175 esac
54176 ;;
54177 esac
54178
54179 ac_dir=`$as_dirname -- "$ac_file" ||
54180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54181 X"$ac_file" : 'X\(//\)[^/]' \| \
54182 X"$ac_file" : 'X\(//\)$' \| \
54183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54184 echo X"$ac_file" |
54185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54186 s//\1/
54187 q
54188 }
54189 /^X\(\/\/\)[^/].*/{
54190 s//\1/
54191 q
54192 }
54193 /^X\(\/\/\)$/{
54194 s//\1/
54195 q
54196 }
54197 /^X\(\/\).*/{
54198 s//\1/
54199 q
54200 }
54201 s/.*/./; q'`
54202 { as_dir="$ac_dir"
54203 case $as_dir in #(
54204 -*) as_dir=./$as_dir;;
54205 esac
54206 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54207 as_dirs=
54208 while :; do
54209 case $as_dir in #(
54210 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54211 *) as_qdir=$as_dir;;
54212 esac
54213 as_dirs="'$as_qdir' $as_dirs"
54214 as_dir=`$as_dirname -- "$as_dir" ||
54215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54216 X"$as_dir" : 'X\(//\)[^/]' \| \
54217 X"$as_dir" : 'X\(//\)$' \| \
54218 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54219 echo X"$as_dir" |
54220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54221 s//\1/
54222 q
54223 }
54224 /^X\(\/\/\)[^/].*/{
54225 s//\1/
54226 q
54227 }
54228 /^X\(\/\/\)$/{
54229 s//\1/
54230 q
54231 }
54232 /^X\(\/\).*/{
54233 s//\1/
54234 q
54235 }
54236 s/.*/./; q'`
54237 test -d "$as_dir" && break
54238 done
54239 test -z "$as_dirs" || eval "mkdir $as_dirs"
54240 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54241 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54242 { (exit 1); exit 1; }; }; }
54243 ac_builddir=.
54244
54245 case "$ac_dir" in
54246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54247 *)
54248 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54249 # A ".." for each directory in $ac_dir_suffix.
54250 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54251 case $ac_top_builddir_sub in
54252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54254 esac ;;
54255 esac
54256 ac_abs_top_builddir=$ac_pwd
54257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54258 # for backward compatibility:
54259 ac_top_builddir=$ac_top_build_prefix
54260
54261 case $srcdir in
54262 .) # We are building in place.
54263 ac_srcdir=.
54264 ac_top_srcdir=$ac_top_builddir_sub
54265 ac_abs_top_srcdir=$ac_pwd ;;
54266 [\\/]* | ?:[\\/]* ) # Absolute name.
54267 ac_srcdir=$srcdir$ac_dir_suffix;
54268 ac_top_srcdir=$srcdir
54269 ac_abs_top_srcdir=$srcdir ;;
54270 *) # Relative name.
54271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54272 ac_top_srcdir=$ac_top_build_prefix$srcdir
54273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54274 esac
54275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54276
54277
54278 case $ac_mode in
54279 :F)
54280 #
54281 # CONFIG_FILE
54282 #
54283
54284 case $INSTALL in
54285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54286 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54287 esac
54288 _ACEOF
54289
54290 cat >>$CONFIG_STATUS <<\_ACEOF
54291 # If the template does not know about datarootdir, expand it.
54292 # FIXME: This hack should be removed a few years after 2.60.
54293 ac_datarootdir_hack=; ac_datarootdir_seen=
54294
54295 case `sed -n '/datarootdir/ {
54296 p
54297 q
54298 }
54299 /@datadir@/p
54300 /@docdir@/p
54301 /@infodir@/p
54302 /@localedir@/p
54303 /@mandir@/p
54304 ' $ac_file_inputs` in
54305 *datarootdir*) ac_datarootdir_seen=yes;;
54306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54307 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54308 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54309 _ACEOF
54310 cat >>$CONFIG_STATUS <<_ACEOF
54311 ac_datarootdir_hack='
54312 s&@datadir@&$datadir&g
54313 s&@docdir@&$docdir&g
54314 s&@infodir@&$infodir&g
54315 s&@localedir@&$localedir&g
54316 s&@mandir@&$mandir&g
54317 s&\\\${datarootdir}&$datarootdir&g' ;;
54318 esac
54319 _ACEOF
54320
54321 # Neutralize VPATH when `$srcdir' = `.'.
54322 # Shell code in configure.ac might set extrasub.
54323 # FIXME: do we really want to maintain this feature?
54324 cat >>$CONFIG_STATUS <<_ACEOF
54325 sed "$ac_vpsub
54326 $extrasub
54327 _ACEOF
54328 cat >>$CONFIG_STATUS <<\_ACEOF
54329 :t
54330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54331 s&@configure_input@&$configure_input&;t t
54332 s&@top_builddir@&$ac_top_builddir_sub&;t t
54333 s&@srcdir@&$ac_srcdir&;t t
54334 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54335 s&@top_srcdir@&$ac_top_srcdir&;t t
54336 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54337 s&@builddir@&$ac_builddir&;t t
54338 s&@abs_builddir@&$ac_abs_builddir&;t t
54339 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54340 s&@INSTALL@&$ac_INSTALL&;t t
54341 $ac_datarootdir_hack
54342 " $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
54343
54344 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54345 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54346 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54347 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54348 which seems to be undefined. Please make sure it is defined." >&5
54349 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54350 which seems to be undefined. Please make sure it is defined." >&2;}
54351
54352 rm -f "$tmp/stdin"
54353 case $ac_file in
54354 -) cat "$tmp/out"; rm -f "$tmp/out";;
54355 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54356 esac
54357 ;;
54358 :H)
54359 #
54360 # CONFIG_HEADER
54361 #
54362 _ACEOF
54363
54364 # Transform confdefs.h into a sed script `conftest.defines', that
54365 # substitutes the proper values into config.h.in to produce config.h.
54366 rm -f conftest.defines conftest.tail
54367 # First, append a space to every undef/define line, to ease matching.
54368 echo 's/$/ /' >conftest.defines
54369 # Then, protect against being on the right side of a sed subst, or in
54370 # an unquoted here document, in config.status. If some macros were
54371 # called several times there might be several #defines for the same
54372 # symbol, which is useless. But do not sort them, since the last
54373 # AC_DEFINE must be honored.
54374 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54375 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54376 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54377 # PARAMS is the parameter list in the macro definition--in most cases, it's
54378 # just an empty string.
54379 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54380 ac_dB='\\)[ (].*,\\1define\\2'
54381 ac_dC=' '
54382 ac_dD=' ,'
54383
54384 uniq confdefs.h |
54385 sed -n '
54386 t rset
54387 :rset
54388 s/^[ ]*#[ ]*define[ ][ ]*//
54389 t ok
54390 d
54391 :ok
54392 s/[\\&,]/\\&/g
54393 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54394 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54395 ' >>conftest.defines
54396
54397 # Remove the space that was appended to ease matching.
54398 # Then replace #undef with comments. This is necessary, for
54399 # example, in the case of _POSIX_SOURCE, which is predefined and required
54400 # on some systems where configure will not decide to define it.
54401 # (The regexp can be short, since the line contains either #define or #undef.)
54402 echo 's/ $//
54403 s,^[ #]*u.*,/* & */,' >>conftest.defines
54404
54405 # Break up conftest.defines:
54406 ac_max_sed_lines=50
54407
54408 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54409 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54410 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54411 # et cetera.
54412 ac_in='$ac_file_inputs'
54413 ac_out='"$tmp/out1"'
54414 ac_nxt='"$tmp/out2"'
54415
54416 while :
54417 do
54418 # Write a here document:
54419 cat >>$CONFIG_STATUS <<_ACEOF
54420 # First, check the format of the line:
54421 cat >"\$tmp/defines.sed" <<\\CEOF
54422 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54423 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54424 b
54425 :def
54426 _ACEOF
54427 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54428 echo 'CEOF
54429 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54430 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54431 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54432 grep . conftest.tail >/dev/null || break
54433 rm -f conftest.defines
54434 mv conftest.tail conftest.defines
54435 done
54436 rm -f conftest.defines conftest.tail
54437
54438 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54439 cat >>$CONFIG_STATUS <<\_ACEOF
54440 if test x"$ac_file" != x-; then
54441 echo "/* $configure_input */" >"$tmp/config.h"
54442 cat "$ac_result" >>"$tmp/config.h"
54443 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54444 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54445 echo "$as_me: $ac_file is unchanged" >&6;}
54446 else
54447 rm -f $ac_file
54448 mv "$tmp/config.h" $ac_file
54449 fi
54450 else
54451 echo "/* $configure_input */"
54452 cat "$ac_result"
54453 fi
54454 rm -f "$tmp/out12"
54455 ;;
54456
54457 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54458 echo "$as_me: executing $ac_file commands" >&6;}
54459 ;;
54460 esac
54461
54462
54463 case $ac_file$ac_mode in
54464 "rcdefs.h":C)
54465 mkdir -p $outdir &&
54466 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54467 ;;
54468 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54469 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54470 "wx-config":C) rm -f wx-config
54471 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54472 ;;
54473
54474 esac
54475 done # for ac_tag
54476
54477
54478 { (exit 0); exit 0; }
54479 _ACEOF
54480 chmod +x $CONFIG_STATUS
54481 ac_clean_files=$ac_clean_files_save
54482
54483
54484 # configure is writing to config.log, and then calls config.status.
54485 # config.status does its own redirection, appending to config.log.
54486 # Unfortunately, on DOS this fails, as config.log is still kept open
54487 # by configure, so config.status won't be able to write to it; its
54488 # output is simply discarded. So we exec the FD to /dev/null,
54489 # effectively closing config.log, so it can be properly (re)opened and
54490 # appended to by config.status. When coming back to configure, we
54491 # need to make the FD available again.
54492 if test "$no_create" != yes; then
54493 ac_cs_success=:
54494 ac_config_status_args=
54495 test "$silent" = yes &&
54496 ac_config_status_args="$ac_config_status_args --quiet"
54497 exec 5>/dev/null
54498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54499 exec 5>>config.log
54500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54501 # would make configure fail if this is the last instruction.
54502 $ac_cs_success || { (exit 1); exit 1; }
54503 fi
54504
54505 #
54506 # CONFIG_SUBDIRS section.
54507 #
54508 if test "$no_recursion" != yes; then
54509
54510 # Remove --cache-file and --srcdir arguments so they do not pile up.
54511 ac_sub_configure_args=
54512 ac_prev=
54513 eval "set x $ac_configure_args"
54514 shift
54515 for ac_arg
54516 do
54517 if test -n "$ac_prev"; then
54518 ac_prev=
54519 continue
54520 fi
54521 case $ac_arg in
54522 -cache-file | --cache-file | --cache-fil | --cache-fi \
54523 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54524 ac_prev=cache_file ;;
54525 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54526 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54527 | --c=*)
54528 ;;
54529 --config-cache | -C)
54530 ;;
54531 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54532 ac_prev=srcdir ;;
54533 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54534 ;;
54535 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54536 ac_prev=prefix ;;
54537 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54538 ;;
54539 *)
54540 case $ac_arg in
54541 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54542 esac
54543 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54544 esac
54545 done
54546
54547 # Always prepend --prefix to ensure using the same prefix
54548 # in subdir configurations.
54549 ac_arg="--prefix=$prefix"
54550 case $ac_arg in
54551 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54552 esac
54553 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54554
54555 # Pass --silent
54556 if test "$silent" = yes; then
54557 ac_sub_configure_args="--silent $ac_sub_configure_args"
54558 fi
54559
54560 ac_popdir=`pwd`
54561 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54562
54563 # Do not complain, so a configure script can configure whichever
54564 # parts of a large source tree are present.
54565 test -d "$srcdir/$ac_dir" || continue
54566
54567 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54568 echo "$as_me:$LINENO: $ac_msg" >&5
54569 echo "$ac_msg" >&6
54570 { as_dir="$ac_dir"
54571 case $as_dir in #(
54572 -*) as_dir=./$as_dir;;
54573 esac
54574 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54575 as_dirs=
54576 while :; do
54577 case $as_dir in #(
54578 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54579 *) as_qdir=$as_dir;;
54580 esac
54581 as_dirs="'$as_qdir' $as_dirs"
54582 as_dir=`$as_dirname -- "$as_dir" ||
54583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54584 X"$as_dir" : 'X\(//\)[^/]' \| \
54585 X"$as_dir" : 'X\(//\)$' \| \
54586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54587 echo X"$as_dir" |
54588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54589 s//\1/
54590 q
54591 }
54592 /^X\(\/\/\)[^/].*/{
54593 s//\1/
54594 q
54595 }
54596 /^X\(\/\/\)$/{
54597 s//\1/
54598 q
54599 }
54600 /^X\(\/\).*/{
54601 s//\1/
54602 q
54603 }
54604 s/.*/./; q'`
54605 test -d "$as_dir" && break
54606 done
54607 test -z "$as_dirs" || eval "mkdir $as_dirs"
54608 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54609 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54610 { (exit 1); exit 1; }; }; }
54611 ac_builddir=.
54612
54613 case "$ac_dir" in
54614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54615 *)
54616 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54617 # A ".." for each directory in $ac_dir_suffix.
54618 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54619 case $ac_top_builddir_sub in
54620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54622 esac ;;
54623 esac
54624 ac_abs_top_builddir=$ac_pwd
54625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54626 # for backward compatibility:
54627 ac_top_builddir=$ac_top_build_prefix
54628
54629 case $srcdir in
54630 .) # We are building in place.
54631 ac_srcdir=.
54632 ac_top_srcdir=$ac_top_builddir_sub
54633 ac_abs_top_srcdir=$ac_pwd ;;
54634 [\\/]* | ?:[\\/]* ) # Absolute name.
54635 ac_srcdir=$srcdir$ac_dir_suffix;
54636 ac_top_srcdir=$srcdir
54637 ac_abs_top_srcdir=$srcdir ;;
54638 *) # Relative name.
54639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54640 ac_top_srcdir=$ac_top_build_prefix$srcdir
54641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54642 esac
54643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54644
54645
54646 cd "$ac_dir"
54647
54648 # Check for guested configure; otherwise get Cygnus style configure.
54649 if test -f "$ac_srcdir/configure.gnu"; then
54650 ac_sub_configure=$ac_srcdir/configure.gnu
54651 elif test -f "$ac_srcdir/configure"; then
54652 ac_sub_configure=$ac_srcdir/configure
54653 elif test -f "$ac_srcdir/configure.in"; then
54654 # This should be Cygnus configure.
54655 ac_sub_configure=$ac_aux_dir/configure
54656 else
54657 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54658 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54659 ac_sub_configure=
54660 fi
54661
54662 # The recursion is here.
54663 if test -n "$ac_sub_configure"; then
54664 # Make the cache file name correct relative to the subdirectory.
54665 case $cache_file in
54666 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54667 *) # Relative name.
54668 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54669 esac
54670
54671 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54672 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54673 # The eval makes quoting arguments work.
54674 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54675 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54676 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54677 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54678 { (exit 1); exit 1; }; }
54679 fi
54680
54681 cd "$ac_popdir"
54682 done
54683 fi
54684
54685
54686 echo
54687 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54688 echo ""
54689 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54690 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54691
54692 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54693 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54694 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54695 if test "$wxUSE_UNICODE" = "yes"; then
54696 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54697 echo " (using UTF-8)"
54698 else
54699 echo " (using wchar_t)"
54700 fi
54701 else
54702 echo
54703 fi
54704
54705 echo " What level of wxWidgets compatibility should be enabled?"
54706 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54707 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54708
54709 echo " Which libraries should wxWidgets use?"
54710 echo " jpeg ${wxUSE_LIBJPEG-none}"
54711 echo " png ${wxUSE_LIBPNG-none}"
54712 echo " regex ${wxUSE_REGEX}"
54713 echo " tiff ${wxUSE_LIBTIFF-none}"
54714 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54715 echo " xpm ${wxUSE_LIBXPM-none}"
54716 fi
54717 echo " zlib ${wxUSE_ZLIB}"
54718 echo " odbc ${wxUSE_ODBC}"
54719 echo " expat ${wxUSE_EXPAT}"
54720 echo " libmspack ${wxUSE_LIBMSPACK}"
54721 echo " sdl ${wxUSE_LIBSDL}"
54722
54723 echo ""
54724