]> git.saurik.com Git - wxWidgets.git/blob - configure
re-disable Universal Mac builds by default
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47631 2007-07-21 23:22:56Z 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-ownerdrawn use owner drawn controls (Win32 only)
1852 --enable-regkey use wxRegKey class (Win32 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1862 can
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1865
1866 Optional Packages:
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1882 --with-x11 use X11
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1906
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1915 CPP C preprocessor
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1919 DIRECTFB_CFLAGS
1920 C compiler flags for DIRECTFB, overriding pkg-config
1921 DIRECTFB_LIBS
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1924 PANGOX_CFLAGS
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1927 PANGOFT2_CFLAGS
1928 C compiler flags for PANGOFT2, overriding pkg-config
1929 PANGOFT2_LIBS
1930 linker flags for PANGOFT2, overriding pkg-config
1931 PANGOXFT_CFLAGS
1932 C compiler flags for PANGOXFT, overriding pkg-config
1933 PANGOXFT_LIBS
1934 linker flags for PANGOXFT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 GNOMEVFS_CFLAGS
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1941 GNOMEVFS_LIBS
1942 linker flags for GNOMEVFS, overriding pkg-config
1943 HILDON_CFLAGS
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 CAIRO_CFLAGS
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1951
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1954
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1956 _ACEOF
1957 ac_status=$?
1958 fi
1959
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1964 ac_builddir=.
1965
1966 case "$ac_dir" in
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *)
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 esac ;;
1976 esac
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1981
1982 case $srcdir in
1983 .) # We are building in place.
1984 ac_srcdir=.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1991 *) # Relative name.
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 esac
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2001 echo &&
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2006 else
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 fi || ac_status=$?
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2010 done
2011 fi
2012
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2015 cat <<\_ACEOF
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2018
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2023 _ACEOF
2024 exit
2025 fi
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2029
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2032
2033 $ $0 $@
2034
2035 _ACEOF
2036 exec 5>>config.log
2037 {
2038 cat <<_ASUNAME
2039 ## --------- ##
2040 ## Platform. ##
2041 ## --------- ##
2042
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059
2060 _ASUNAME
2061
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2064 do
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2068 done
2069 IFS=$as_save_IFS
2070
2071 } >&5
2072
2073 cat >&5 <<_ACEOF
2074
2075
2076 ## ----------- ##
2077 ## Core tests. ##
2078 ## ----------- ##
2079
2080 _ACEOF
2081
2082
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_configure_args=
2089 ac_configure_args0=
2090 ac_configure_args1=
2091 ac_must_keep_next=false
2092 for ac_pass in 1 2
2093 do
2094 for ac_arg
2095 do
2096 case $ac_arg in
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 continue ;;
2101 *\'*)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 esac
2104 case $ac_pass in
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 2)
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2110 else
2111 case $ac_arg in
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 esac
2119 ;;
2120 -* ) ac_must_keep_next=true ;;
2121 esac
2122 fi
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2124 ;;
2125 esac
2126 done
2127 done
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2138 {
2139 echo
2140
2141 cat <<\_ASBOX
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2145 _ASBOX
2146 echo
2147 # The following way of writing the cache mishandles newlines in values,
2148 (
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in #(
2152 *${as_nl}*)
2153 case $ac_var in #(
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 esac
2157 case $ac_var in #(
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2160 esac ;;
2161 esac
2162 done
2163 (set) 2>&1 |
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2166 sed -n \
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 ;; #(
2170 *)
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ;;
2173 esac |
2174 sort
2175 )
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2182 _ASBOX
2183 echo
2184 for ac_var in $ac_subst_vars
2185 do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 esac
2190 echo "$ac_var='\''$ac_val'\''"
2191 done | sort
2192 echo
2193
2194 if test -n "$ac_subst_files"; then
2195 cat <<\_ASBOX
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2199 _ASBOX
2200 echo
2201 for ac_var in $ac_subst_files
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210 fi
2211
2212 if test -s confdefs.h; then
2213 cat <<\_ASBOX
2214 ## ----------- ##
2215 ## confdefs.h. ##
2216 ## ----------- ##
2217 _ASBOX
2218 echo
2219 cat confdefs.h
2220 echo
2221 fi
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2225 } >&5
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 exit $exit_status
2229 ' 0
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 done
2233 ac_signal=0
2234
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 else
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2274 fi
2275 shift
2276 for ac_site_file
2277 do
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2282 . "$ac_site_file"
2283 fi
2284 done
2285
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2292 case $cache_file in
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2295 esac
2296 fi
2297 else
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2300 >$cache_file
2301 fi
2302
2303 # Check that the precious variables saved in the cache have kept the same
2304 # value.
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2312 set,)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,set)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,);;
2321 *)
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2330 fi;;
2331 esac
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2334 case $ac_new_val in
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2337 esac
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 esac
2342 fi
2343 done
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2350 fi
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
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386 ac_aux_dir=
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 break
2392 elif test -f "$ac_dir/install.sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 break
2396 elif test -f "$ac_dir/shtool"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 break
2400 fi
2401 done
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
2407
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415
2416
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2422
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439
2440 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2444 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2448 esac
2449 build=$ac_cv_build
2450 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_build
2452 shift
2453 build_cpu=$1
2454 build_vendor=$2
2455 shift; shift
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2458 build_os=$*
2459 IFS=$ac_save_IFS
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461
2462
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2470 else
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475 fi
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 case $ac_cv_host in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 host=$ac_cv_host
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_host
2489 shift
2490 host_cpu=$1
2491 host_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 host_os=$*
2496 IFS=$ac_save_IFS
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2507 else
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_target
2526 shift
2527 target_cpu=$1
2528 target_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 target_os=$*
2533 IFS=$ac_save_IFS
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2541 NONENONEs,x,x, &&
2542 program_prefix=${target_alias}-
2543
2544
2545
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2548 wx_release_number=0
2549 wx_subrelease_number=0
2550
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556
2557
2558 wx_top_builddir="`pwd`"
2559
2560
2561
2562
2563 USE_UNIX=1
2564 USE_OS2=0
2565 USE_WIN32=0
2566 USE_DOS=0
2567 USE_BEOS=0
2568 USE_MAC=0
2569
2570 USE_AIX=
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2572 USE_GNU= USE_HPUX=
2573 USE_LINUX=
2574 USE_NETBSD=
2575 USE_OPENBSD=
2576 USE_OSF= USE_SGI=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2578 USE_ULTRIX=
2579 USE_UNIXWARE=
2580
2581 USE_ALPHA=
2582
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586
2587 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_GTK=0
2589 DEFAULT_wxUSE_MAC=0
2590 DEFAULT_wxUSE_MGL=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_wxUSE_MSW=0
2594 DEFAULT_wxUSE_PM=0
2595 DEFAULT_wxUSE_X11=0
2596 DEFAULT_wxUSE_DFB=0
2597
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2608
2609 PROGRAM_EXT=
2610 SO_SUFFIX=so
2611 SAMPLES_RPATH_FLAG=
2612 SAMPLES_RPATH_POSTLINK=
2613
2614 DEFAULT_STD_FLAG=yes
2615
2616 case "${host}" in
2617 *-hp-hpux* )
2618 USE_HPUX=1
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 SO_SUFFIX=sl
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __HPUX__ 1
2624 _ACEOF
2625
2626
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 ;;
2629 *-*-linux* )
2630 USE_LINUX=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __LINUX__ 1
2633 _ACEOF
2634
2635 TMP=`uname -m`
2636 if test "x$TMP" = "xalpha"; then
2637 USE_ALPHA=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __ALPHA__ 1
2640 _ACEOF
2641
2642 fi
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 ;;
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2646 USE_GNU=1
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-irix5* | *-*-irix6* )
2658 USE_SGI=1
2659 USE_SVR4=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SGI__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 ;;
2670 *-*-solaris2* )
2671 USE_SUN=1
2672 USE_SOLARIS=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2688 ;;
2689 *-*-sunos4* )
2690 USE_SUN=1
2691 USE_SUNOS=1
2692 USE_BSD=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUNOS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __BSD__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-freebsd*)
2708 USE_BSD=1
2709 USE_FREEBSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 ;;
2720 *-*-openbsd*|*-*-mirbsd*)
2721 USE_BSD=1
2722 USE_OPENBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-netbsd*)
2734 USE_BSD=1
2735 USE_NETBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 ;;
2749 *-*-osf* )
2750 USE_ALPHA=1
2751 USE_OSF=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __ALPHA__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __OSF__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2762 ;;
2763 *-*-dgux5* )
2764 USE_ALPHA=1
2765 USE_SVR4=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SVR4__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 ;;
2776 *-*-sysv5* )
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-aix* )
2790 USE_AIX=1
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 SO_SUFFIX=a
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 SO_SUFFIX=dll
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2823 ;;
2824
2825 *-pc-msdosdjgpp )
2826 USE_UNIX=0
2827 USE_DOS=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __DOS__ 1
2830 _ACEOF
2831
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 ;;
2835
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __EMX__ 1
2839 _ACEOF
2840
2841 USE_OS2=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __OS2__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2848 CXX=gcc
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2852 ac_save_IFS="$IFS"
2853 IFS='\\'
2854 ac_TEMP_PATH=
2855 for ac_dir in $PATH; do
2856 IFS=$ac_save_IFS
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2859 else
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 fi
2862 done
2863 export PATH="$ac_TEMP_PATH"
2864 unset ac_TEMP_PATH
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-darwin* )
2869 USE_BSD=1
2870 USE_DARWIN=1
2871 SO_SUFFIX=dylib
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BSD__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2882 _ACEOF
2883
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887 powerpc-apple-macos* )
2888 USE_UNIX=0
2889 ac_cv_c_bigendian=yes
2890 SO_SUFFIX=shlib
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_ODBC=no
2934 DEFAULT_wxUSE_OPENGL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_DATAVIEWCTRL=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2941
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2946
2947 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2948
2949 DEFAULT_wxUSE_GTK2=yes
2950
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2952
2953
2954 for toolkit in `echo $ALL_TOOLKITS`; do
2955 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2956 if test "x$LINE" != "x" ; then
2957 has_toolkit_in_cache=1
2958 eval "DEFAULT_$LINE"
2959 eval "CACHE_$toolkit=1"
2960
2961 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2962 if test "x$LINE" != "x" ; then
2963 eval "DEFAULT_$LINE"
2964 fi
2965 fi
2966 done
2967
2968
2969
2970
2971
2972 enablestring=disable
2973 defaultval=
2974 if test -z "$defaultval"; then
2975 if test x"$enablestring" = xdisable; then
2976 defaultval=yes
2977 else
2978 defaultval=no
2979 fi
2980 fi
2981
2982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2983 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2984 # Check whether --enable-gui was given.
2985 if test "${enable_gui+set}" = set; then
2986 enableval=$enable_gui;
2987 if test "$enableval" = yes; then
2988 wx_cv_use_gui='wxUSE_GUI=yes'
2989 else
2990 wx_cv_use_gui='wxUSE_GUI=no'
2991 fi
2992 cache=yes
2993
2994 else
2995
2996 cache=no
2997 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x ; then
2999 eval "DEFAULT_$LINE"
3000 fi
3001
3002 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3003
3004 fi
3005
3006
3007 eval "$wx_cv_use_gui"
3008 if test "x$cache" = xyes; then
3009 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3010 fi
3011
3012 if test x"$enablestring" = xdisable; then
3013 if test $wxUSE_GUI = yes; then
3014 result=no
3015 else
3016 result=yes
3017 fi
3018 else
3019 result=$wxUSE_GUI
3020 fi
3021
3022 { echo "$as_me:$LINENO: result: $result" >&5
3023 echo "${ECHO_T}$result" >&6; }
3024
3025
3026 enablestring=
3027 defaultval=
3028 if test -z "$defaultval"; then
3029 if test x"$enablestring" = xdisable; then
3030 defaultval=yes
3031 else
3032 defaultval=no
3033 fi
3034 fi
3035
3036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3037 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3038 # Check whether --enable-monolithic was given.
3039 if test "${enable_monolithic+set}" = set; then
3040 enableval=$enable_monolithic;
3041 if test "$enableval" = yes; then
3042 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3043 else
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3045 fi
3046 cache=yes
3047
3048 else
3049
3050 cache=no
3051 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3054 fi
3055
3056 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3057
3058 fi
3059
3060
3061 eval "$wx_cv_use_monolithic"
3062 if test "x$cache" = xyes; then
3063 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3064 fi
3065
3066 if test x"$enablestring" = xdisable; then
3067 if test $wxUSE_MONOLITHIC = yes; then
3068 result=no
3069 else
3070 result=yes
3071 fi
3072 else
3073 result=$wxUSE_MONOLITHIC
3074 fi
3075
3076 { echo "$as_me:$LINENO: result: $result" >&5
3077 echo "${ECHO_T}$result" >&6; }
3078
3079
3080 enablestring=
3081 defaultval=
3082 if test -z "$defaultval"; then
3083 if test x"$enablestring" = xdisable; then
3084 defaultval=yes
3085 else
3086 defaultval=no
3087 fi
3088 fi
3089
3090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3091 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3092 # Check whether --enable-plugins was given.
3093 if test "${enable_plugins+set}" = set; then
3094 enableval=$enable_plugins;
3095 if test "$enableval" = yes; then
3096 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3097 else
3098 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3099 fi
3100 cache=yes
3101
3102 else
3103
3104 cache=no
3105 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3106 if test "x$LINE" != x ; then
3107 eval "DEFAULT_$LINE"
3108 fi
3109
3110 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3111
3112 fi
3113
3114
3115 eval "$wx_cv_use_plugins"
3116 if test "x$cache" = xyes; then
3117 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3118 fi
3119
3120 if test x"$enablestring" = xdisable; then
3121 if test $wxUSE_PLUGINS = yes; then
3122 result=no
3123 else
3124 result=yes
3125 fi
3126 else
3127 result=$wxUSE_PLUGINS
3128 fi
3129
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 withstring=without
3135 defaultval=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x"$withstring" = xwithout; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3145
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3151 else
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 fi
3154 cache=yes
3155
3156 else
3157
3158 cache=no
3159 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x ; then
3161 eval "DEFAULT_$LINE"
3162 fi
3163
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3165
3166 fi
3167
3168
3169 eval "$wx_cv_use_subdirs"
3170 if test "x$cache" = xyes; then
3171 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test x"$withstring" = xwithout; then
3175 if test $wxWITH_SUBDIRS = yes; then
3176 result=no
3177 else
3178 result=yes
3179 fi
3180 else
3181 result=$wxWITH_SUBDIRS
3182 fi
3183
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3186
3187
3188 # Check whether --with-flavour was given.
3189 if test "${with_flavour+set}" = set; then
3190 withval=$with_flavour; WX_FLAVOUR="$withval"
3191 fi
3192
3193
3194 enablestring=
3195 defaultval=
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3198 defaultval=yes
3199 else
3200 defaultval=no
3201 fi
3202 fi
3203
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3206 # Check whether --enable-official_build was given.
3207 if test "${enable_official_build+set}" = set; then
3208 enableval=$enable_official_build;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3211 else
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3213 fi
3214 cache=yes
3215
3216 else
3217
3218 cache=no
3219 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3222 fi
3223
3224 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3225
3226 fi
3227
3228
3229 eval "$wx_cv_use_official_build"
3230 if test "x$cache" = xyes; then
3231 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3232 fi
3233
3234 if test x"$enablestring" = xdisable; then
3235 if test $wxUSE_OFFICIAL_BUILD = yes; then
3236 result=no
3237 else
3238 result=yes
3239 fi
3240 else
3241 result=$wxUSE_OFFICIAL_BUILD
3242 fi
3243
3244 { echo "$as_me:$LINENO: result: $result" >&5
3245 echo "${ECHO_T}$result" >&6; }
3246
3247 # Check whether --enable-vendor was given.
3248 if test "${enable_vendor+set}" = set; then
3249 enableval=$enable_vendor; VENDOR="$enableval"
3250 fi
3251
3252 if test "x$VENDOR" = "x"; then
3253 VENDOR="custom"
3254 fi
3255
3256
3257 enablestring=disable
3258 defaultval=
3259 if test -z "$defaultval"; then
3260 if test x"$enablestring" = xdisable; then
3261 defaultval=yes
3262 else
3263 defaultval=no
3264 fi
3265 fi
3266
3267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3268 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3269 # Check whether --enable-all-features was given.
3270 if test "${enable_all_features+set}" = set; then
3271 enableval=$enable_all_features;
3272 if test "$enableval" = yes; then
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3274 else
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3276 fi
3277 cache=yes
3278
3279 else
3280
3281 cache=no
3282 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3285 fi
3286
3287 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3288
3289 fi
3290
3291
3292 eval "$wx_cv_use_all_features"
3293 if test "x$cache" = xyes; then
3294 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3295 fi
3296
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_ALL_FEATURES = yes; then
3299 result=no
3300 else
3301 result=yes
3302 fi
3303 else
3304 result=$wxUSE_ALL_FEATURES
3305 fi
3306
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3309
3310
3311
3312 if test "$wxUSE_GUI" = "yes"; then
3313
3314
3315 enablestring=
3316 defaultval=
3317 if test -z "$defaultval"; then
3318 if test x"$enablestring" = xdisable; then
3319 defaultval=yes
3320 else
3321 defaultval=no
3322 fi
3323 fi
3324
3325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3326 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3327 # Check whether --enable-universal was given.
3328 if test "${enable_universal+set}" = set; then
3329 enableval=$enable_universal;
3330 if test "$enableval" = yes; then
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3332 else
3333 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3334 fi
3335 cache=yes
3336
3337 else
3338
3339 cache=no
3340 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3341 if test "x$LINE" != x ; then
3342 eval "DEFAULT_$LINE"
3343 fi
3344
3345 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3346
3347 fi
3348
3349
3350 eval "$wx_cv_use_universal"
3351 if test "x$cache" = xyes; then
3352 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3353 fi
3354
3355 if test x"$enablestring" = xdisable; then
3356 if test $wxUSE_UNIVERSAL = yes; then
3357 result=no
3358 else
3359 result=yes
3360 fi
3361 else
3362 result=$wxUSE_UNIVERSAL
3363 fi
3364
3365 { echo "$as_me:$LINENO: result: $result" >&5
3366 echo "${ECHO_T}$result" >&6; }
3367
3368 if test "$wxUSE_UNIVERSAL" = "yes"; then
3369
3370 # Check whether --with-themes was given.
3371 if test "${with_themes+set}" = set; then
3372 withval=$with_themes; wxUNIV_THEMES="$withval"
3373 fi
3374
3375 fi
3376
3377
3378 # Check whether --with-gtk was given.
3379 if test "${with_gtk+set}" = set; then
3380 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-motif was given.
3385 if test "${with_motif+set}" = set; then
3386 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-mac was given.
3391 if test "${with_mac+set}" = set; then
3392 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-wine was given.
3403 if test "${with_wine+set}" = set; then
3404 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3405 fi
3406
3407
3408 # Check whether --with-msw was given.
3409 if test "${with_msw+set}" = set; then
3410 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-pm was given.
3415 if test "${with_pm+set}" = set; then
3416 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-mgl was given.
3421 if test "${with_mgl+set}" = set; then
3422 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-directfb was given.
3427 if test "${with_directfb+set}" = set; then
3428 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-microwin was given.
3433 if test "${with_microwin+set}" = set; then
3434 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-x11 was given.
3439 if test "${with_x11+set}" = set; then
3440 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 enablestring=
3445 defaultval=
3446 if test -z "$defaultval"; then
3447 if test x"$enablestring" = xdisable; then
3448 defaultval=yes
3449 else
3450 defaultval=no
3451 fi
3452 fi
3453
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3456 # Check whether --enable-nanox was given.
3457 if test "${enable_nanox+set}" = set; then
3458 enableval=$enable_nanox;
3459 if test "$enableval" = yes; then
3460 wx_cv_use_nanox='wxUSE_NANOX=yes'
3461 else
3462 wx_cv_use_nanox='wxUSE_NANOX=no'
3463 fi
3464 cache=yes
3465
3466 else
3467
3468 cache=no
3469 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3472 fi
3473
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_nanox"
3480 if test "x$cache" = xyes; then
3481 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3482 fi
3483
3484 if test x"$enablestring" = xdisable; then
3485 if test $wxUSE_NANOX = yes; then
3486 result=no
3487 else
3488 result=yes
3489 fi
3490 else
3491 result=$wxUSE_NANOX
3492 fi
3493
3494 { echo "$as_me:$LINENO: result: $result" >&5
3495 echo "${ECHO_T}$result" >&6; }
3496
3497
3498 # Check whether --enable-gtk2 was given.
3499 if test "${enable_gtk2+set}" = set; then
3500 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3501 fi
3502
3503
3504 enablestring=
3505 defaultval=
3506 if test -z "$defaultval"; then
3507 if test x"$enablestring" = xdisable; then
3508 defaultval=yes
3509 else
3510 defaultval=no
3511 fi
3512 fi
3513
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3516 # Check whether --enable-gpe was given.
3517 if test "${enable_gpe+set}" = set; then
3518 enableval=$enable_gpe;
3519 if test "$enableval" = yes; then
3520 wx_cv_use_gpe='wxUSE_GPE=yes'
3521 else
3522 wx_cv_use_gpe='wxUSE_GPE=no'
3523 fi
3524 cache=yes
3525
3526 else
3527
3528 cache=no
3529 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 fi
3533
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3535
3536 fi
3537
3538
3539 eval "$wx_cv_use_gpe"
3540 if test "x$cache" = xyes; then
3541 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3542 fi
3543
3544 if test x"$enablestring" = xdisable; then
3545 if test $wxUSE_GPE = yes; then
3546 result=no
3547 else
3548 result=yes
3549 fi
3550 else
3551 result=$wxUSE_GPE
3552 fi
3553
3554 { echo "$as_me:$LINENO: result: $result" >&5
3555 echo "${ECHO_T}$result" >&6; }
3556
3557
3558
3559
3560 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3561 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3562
3563 # Check whether --with-libpng was given.
3564 if test "${with_libpng+set}" = set; then
3565 withval=$with_libpng;
3566 if test "$withval" = yes; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3568 elif test "$withval" = no; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3570 elif test "$withval" = sys; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3572 elif test "$withval" = builtin; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3574 else
3575 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3576 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3577 { (exit 1); exit 1; }; }
3578 fi
3579 cache=yes
3580
3581 else
3582
3583 cache=no
3584 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3587 fi
3588
3589 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3590
3591 fi
3592
3593
3594 eval "$wx_cv_use_libpng"
3595 if test "x$cache" = xyes; then
3596 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3597 fi
3598
3599 if test "$wxUSE_LIBPNG" = yes; then
3600 { echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6; }
3602 elif test "$wxUSE_LIBPNG" = no; then
3603 { echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6; }
3605 elif test "$wxUSE_LIBPNG" = sys; then
3606 { echo "$as_me:$LINENO: result: system version" >&5
3607 echo "${ECHO_T}system version" >&6; }
3608 elif test "$wxUSE_LIBPNG" = builtin; then
3609 { echo "$as_me:$LINENO: result: builtin version" >&5
3610 echo "${ECHO_T}builtin version" >&6; }
3611 else
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3615 fi
3616
3617
3618 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3619 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3620
3621 # Check whether --with-libjpeg was given.
3622 if test "${with_libjpeg+set}" = set; then
3623 withval=$with_libjpeg;
3624 if test "$withval" = yes; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3626 elif test "$withval" = no; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3628 elif test "$withval" = sys; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3630 elif test "$withval" = builtin; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3632 else
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3636 fi
3637 cache=yes
3638
3639 else
3640
3641 cache=no
3642 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3645 fi
3646
3647 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3648
3649 fi
3650
3651
3652 eval "$wx_cv_use_libjpeg"
3653 if test "x$cache" = xyes; then
3654 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3655 fi
3656
3657 if test "$wxUSE_LIBJPEG" = yes; then
3658 { echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = no; then
3661 { echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = sys; then
3664 { echo "$as_me:$LINENO: result: system version" >&5
3665 echo "${ECHO_T}system version" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = builtin; then
3667 { echo "$as_me:$LINENO: result: builtin version" >&5
3668 echo "${ECHO_T}builtin version" >&6; }
3669 else
3670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3671 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3672 { (exit 1); exit 1; }; }
3673 fi
3674
3675
3676 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3677 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3678
3679 # Check whether --with-libtiff was given.
3680 if test "${with_libtiff+set}" = set; then
3681 withval=$with_libtiff;
3682 if test "$withval" = yes; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3684 elif test "$withval" = no; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3686 elif test "$withval" = sys; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3688 elif test "$withval" = builtin; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3690 else
3691 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3692 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3694 fi
3695 cache=yes
3696
3697 else
3698
3699 cache=no
3700 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 fi
3704
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3706
3707 fi
3708
3709
3710 eval "$wx_cv_use_libtiff"
3711 if test "x$cache" = xyes; then
3712 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3713 fi
3714
3715 if test "$wxUSE_LIBTIFF" = yes; then
3716 { echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6; }
3718 elif test "$wxUSE_LIBTIFF" = no; then
3719 { echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6; }
3721 elif test "$wxUSE_LIBTIFF" = sys; then
3722 { echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = builtin; then
3725 { echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6; }
3727 else
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3731 fi
3732
3733
3734 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3735 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3736
3737 # Check whether --with-libxpm was given.
3738 if test "${with_libxpm+set}" = set; then
3739 withval=$with_libxpm;
3740 if test "$withval" = yes; then
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3742 elif test "$withval" = no; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3744 elif test "$withval" = sys; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3746 elif test "$withval" = builtin; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3748 else
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3752 fi
3753 cache=yes
3754
3755 else
3756
3757 cache=no
3758 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 fi
3762
3763 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3764
3765 fi
3766
3767
3768 eval "$wx_cv_use_libxpm"
3769 if test "x$cache" = xyes; then
3770 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3771 fi
3772
3773 if test "$wxUSE_LIBXPM" = yes; then
3774 { echo "$as_me:$LINENO: result: yes" >&5
3775 echo "${ECHO_T}yes" >&6; }
3776 elif test "$wxUSE_LIBXPM" = no; then
3777 { echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6; }
3779 elif test "$wxUSE_LIBXPM" = sys; then
3780 { echo "$as_me:$LINENO: result: system version" >&5
3781 echo "${ECHO_T}system version" >&6; }
3782 elif test "$wxUSE_LIBXPM" = builtin; then
3783 { echo "$as_me:$LINENO: result: builtin version" >&5
3784 echo "${ECHO_T}builtin version" >&6; }
3785 else
3786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3787 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3788 { (exit 1); exit 1; }; }
3789 fi
3790
3791
3792 withstring=
3793 defaultval=$wxUSE_ALL_FEATURES
3794 if test -z "$defaultval"; then
3795 if test x"$withstring" = xwithout; then
3796 defaultval=yes
3797 else
3798 defaultval=no
3799 fi
3800 fi
3801 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3802 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3803
3804 # Check whether --with-libmspack was given.
3805 if test "${with_libmspack+set}" = set; then
3806 withval=$with_libmspack;
3807 if test "$withval" = yes; then
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3809 else
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3811 fi
3812 cache=yes
3813
3814 else
3815
3816 cache=no
3817 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 fi
3821
3822 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3823
3824 fi
3825
3826
3827 eval "$wx_cv_use_libmspack"
3828 if test "x$cache" = xyes; then
3829 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test x"$withstring" = xwithout; then
3833 if test $wxUSE_LIBMSPACK = yes; then
3834 result=no
3835 else
3836 result=yes
3837 fi
3838 else
3839 result=$wxUSE_LIBMSPACK
3840 fi
3841
3842 { echo "$as_me:$LINENO: result: $result" >&5
3843 echo "${ECHO_T}$result" >&6; }
3844
3845
3846 withstring=without
3847 defaultval=$wxUSE_ALL_FEATURES
3848 if test -z "$defaultval"; then
3849 if test x"$withstring" = xwithout; then
3850 defaultval=yes
3851 else
3852 defaultval=no
3853 fi
3854 fi
3855 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3856 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3857
3858 # Check whether --with-gnomeprint was given.
3859 if test "${with_gnomeprint+set}" = set; then
3860 withval=$with_gnomeprint;
3861 if test "$withval" = yes; then
3862 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3863 else
3864 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3865 fi
3866 cache=yes
3867
3868 else
3869
3870 cache=no
3871 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3874 fi
3875
3876 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3877
3878 fi
3879
3880
3881 eval "$wx_cv_use_gnomeprint"
3882 if test "x$cache" = xyes; then
3883 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3884 fi
3885
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_LIBGNOMEPRINT = yes; then
3888 result=no
3889 else
3890 result=yes
3891 fi
3892 else
3893 result=$wxUSE_LIBGNOMEPRINT
3894 fi
3895
3896 { echo "$as_me:$LINENO: result: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3898
3899
3900 withstring=
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3904 defaultval=yes
3905 else
3906 defaultval=no
3907 fi
3908 fi
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3911
3912 # Check whether --with-gnomevfs was given.
3913 if test "${with_gnomevfs+set}" = set; then
3914 withval=$with_gnomevfs;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3917 else
3918 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3919 fi
3920 cache=yes
3921
3922 else
3923
3924 cache=no
3925 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3928 fi
3929
3930 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3931
3932 fi
3933
3934
3935 eval "$wx_cv_use_gnomevfs"
3936 if test "x$cache" = xyes; then
3937 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_LIBGNOMEVFS = yes; then
3942 result=no
3943 else
3944 result=yes
3945 fi
3946 else
3947 result=$wxUSE_LIBGNOMEVFS
3948 fi
3949
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3952
3953
3954 withstring=
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3958 defaultval=yes
3959 else
3960 defaultval=no
3961 fi
3962 fi
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3965
3966 # Check whether --with-hildon was given.
3967 if test "${with_hildon+set}" = set; then
3968 withval=$with_hildon;
3969 if test "$withval" = yes; then
3970 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3971 else
3972 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3973 fi
3974 cache=yes
3975
3976 else
3977
3978 cache=no
3979 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3980 if test "x$LINE" != x ; then
3981 eval "DEFAULT_$LINE"
3982 fi
3983
3984 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3985
3986 fi
3987
3988
3989 eval "$wx_cv_use_hildon"
3990 if test "x$cache" = xyes; then
3991 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3992 fi
3993
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBHILDON = yes; then
3996 result=no
3997 else
3998 result=yes
3999 fi
4000 else
4001 result=$wxUSE_LIBHILDON
4002 fi
4003
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4006
4007
4008 withstring=
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4012 defaultval=yes
4013 else
4014 defaultval=no
4015 fi
4016 fi
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4019
4020 # Check whether --with-opengl was given.
4021 if test "${with_opengl+set}" = set; then
4022 withval=$with_opengl;
4023 if test "$withval" = yes; then
4024 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4025 else
4026 wx_cv_use_opengl='wxUSE_OPENGL=no'
4027 fi
4028 cache=yes
4029
4030 else
4031
4032 cache=no
4033 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 fi
4037
4038 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4039
4040 fi
4041
4042
4043 eval "$wx_cv_use_opengl"
4044 if test "x$cache" = xyes; then
4045 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4046 fi
4047
4048 if test x"$withstring" = xwithout; then
4049 if test $wxUSE_OPENGL = yes; then
4050 result=no
4051 else
4052 result=yes
4053 fi
4054 else
4055 result=$wxUSE_OPENGL
4056 fi
4057
4058 { echo "$as_me:$LINENO: result: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4060
4061
4062 fi
4063
4064
4065 withstring=
4066 defaultval=$wxUSE_ALL_FEATURES
4067 if test -z "$defaultval"; then
4068 if test x"$withstring" = xwithout; then
4069 defaultval=yes
4070 else
4071 defaultval=no
4072 fi
4073 fi
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4076
4077 # Check whether --with-dmalloc was given.
4078 if test "${with_dmalloc+set}" = set; then
4079 withval=$with_dmalloc;
4080 if test "$withval" = yes; then
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4082 else
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4084 fi
4085 cache=yes
4086
4087 else
4088
4089 cache=no
4090 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4093 fi
4094
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4096
4097 fi
4098
4099
4100 eval "$wx_cv_use_dmalloc"
4101 if test "x$cache" = xyes; then
4102 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4103 fi
4104
4105 if test x"$withstring" = xwithout; then
4106 if test $wxUSE_DMALLOC = yes; then
4107 result=no
4108 else
4109 result=yes
4110 fi
4111 else
4112 result=$wxUSE_DMALLOC
4113 fi
4114
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4117
4118
4119 withstring=
4120 defaultval=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x"$withstring" = xwithout; then
4123 defaultval=yes
4124 else
4125 defaultval=no
4126 fi
4127 fi
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4130
4131 # Check whether --with-sdl was given.
4132 if test "${with_sdl+set}" = set; then
4133 withval=$with_sdl;
4134 if test "$withval" = yes; then
4135 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4136 else
4137 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4138 fi
4139 cache=yes
4140
4141 else
4142
4143 cache=no
4144 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x ; then
4146 eval "DEFAULT_$LINE"
4147 fi
4148
4149 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4150
4151 fi
4152
4153
4154 eval "$wx_cv_use_sdl"
4155 if test "x$cache" = xyes; then
4156 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4157 fi
4158
4159 if test x"$withstring" = xwithout; then
4160 if test $wxUSE_LIBSDL = yes; then
4161 result=no
4162 else
4163 result=yes
4164 fi
4165 else
4166 result=$wxUSE_LIBSDL
4167 fi
4168
4169 { echo "$as_me:$LINENO: result: $result" >&5
4170 echo "${ECHO_T}$result" >&6; }
4171
4172
4173 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4174 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4175
4176 # Check whether --with-regex was given.
4177 if test "${with_regex+set}" = set; then
4178 withval=$with_regex;
4179 if test "$withval" = yes; then
4180 wx_cv_use_regex='wxUSE_REGEX=yes'
4181 elif test "$withval" = no; then
4182 wx_cv_use_regex='wxUSE_REGEX=no'
4183 elif test "$withval" = sys; then
4184 wx_cv_use_regex='wxUSE_REGEX=sys'
4185 elif test "$withval" = builtin; then
4186 wx_cv_use_regex='wxUSE_REGEX=builtin'
4187 else
4188 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4189 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4190 { (exit 1); exit 1; }; }
4191 fi
4192 cache=yes
4193
4194 else
4195
4196 cache=no
4197 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 fi
4201
4202 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4203
4204 fi
4205
4206
4207 eval "$wx_cv_use_regex"
4208 if test "x$cache" = xyes; then
4209 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4210 fi
4211
4212 if test "$wxUSE_REGEX" = yes; then
4213 { echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6; }
4215 elif test "$wxUSE_REGEX" = no; then
4216 { echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6; }
4218 elif test "$wxUSE_REGEX" = sys; then
4219 { echo "$as_me:$LINENO: result: system version" >&5
4220 echo "${ECHO_T}system version" >&6; }
4221 elif test "$wxUSE_REGEX" = builtin; then
4222 { echo "$as_me:$LINENO: result: builtin version" >&5
4223 echo "${ECHO_T}builtin version" >&6; }
4224 else
4225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4227 { (exit 1); exit 1; }; }
4228 fi
4229
4230
4231 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4232 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4233
4234 # Check whether --with-zlib was given.
4235 if test "${with_zlib+set}" = set; then
4236 withval=$with_zlib;
4237 if test "$withval" = yes; then
4238 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4239 elif test "$withval" = no; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=no'
4241 elif test "$withval" = sys; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4243 elif test "$withval" = builtin; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4245 else
4246 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4247 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4248 { (exit 1); exit 1; }; }
4249 fi
4250 cache=yes
4251
4252 else
4253
4254 cache=no
4255 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4256 if test "x$LINE" != x ; then
4257 eval "DEFAULT_$LINE"
4258 fi
4259
4260 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4261
4262 fi
4263
4264
4265 eval "$wx_cv_use_zlib"
4266 if test "x$cache" = xyes; then
4267 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4268 fi
4269
4270 if test "$wxUSE_ZLIB" = yes; then
4271 { echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6; }
4273 elif test "$wxUSE_ZLIB" = no; then
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4276 elif test "$wxUSE_ZLIB" = sys; then
4277 { echo "$as_me:$LINENO: result: system version" >&5
4278 echo "${ECHO_T}system version" >&6; }
4279 elif test "$wxUSE_ZLIB" = builtin; then
4280 { echo "$as_me:$LINENO: result: builtin version" >&5
4281 echo "${ECHO_T}builtin version" >&6; }
4282 else
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4286 fi
4287
4288
4289 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4290 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4291
4292 # Check whether --with-odbc was given.
4293 if test "${with_odbc+set}" = set; then
4294 withval=$with_odbc;
4295 if test "$withval" = yes; then
4296 wx_cv_use_odbc='wxUSE_ODBC=yes'
4297 elif test "$withval" = no; then
4298 wx_cv_use_odbc='wxUSE_ODBC=no'
4299 elif test "$withval" = sys; then
4300 wx_cv_use_odbc='wxUSE_ODBC=sys'
4301 elif test "$withval" = builtin; then
4302 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4303 else
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4307 fi
4308 cache=yes
4309
4310 else
4311
4312 cache=no
4313 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 fi
4317
4318 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4319
4320 fi
4321
4322
4323 eval "$wx_cv_use_odbc"
4324 if test "x$cache" = xyes; then
4325 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4326 fi
4327
4328 if test "$wxUSE_ODBC" = yes; then
4329 { echo "$as_me:$LINENO: result: yes" >&5
4330 echo "${ECHO_T}yes" >&6; }
4331 elif test "$wxUSE_ODBC" = no; then
4332 { echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6; }
4334 elif test "$wxUSE_ODBC" = sys; then
4335 { echo "$as_me:$LINENO: result: system version" >&5
4336 echo "${ECHO_T}system version" >&6; }
4337 elif test "$wxUSE_ODBC" = builtin; then
4338 { echo "$as_me:$LINENO: result: builtin version" >&5
4339 echo "${ECHO_T}builtin version" >&6; }
4340 else
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4344 fi
4345
4346
4347 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4348 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4349
4350 # Check whether --with-expat was given.
4351 if test "${with_expat+set}" = set; then
4352 withval=$with_expat;
4353 if test "$withval" = yes; then
4354 wx_cv_use_expat='wxUSE_EXPAT=yes'
4355 elif test "$withval" = no; then
4356 wx_cv_use_expat='wxUSE_EXPAT=no'
4357 elif test "$withval" = sys; then
4358 wx_cv_use_expat='wxUSE_EXPAT=sys'
4359 elif test "$withval" = builtin; then
4360 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4361 else
4362 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4363 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4365 fi
4366 cache=yes
4367
4368 else
4369
4370 cache=no
4371 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x ; then
4373 eval "DEFAULT_$LINE"
4374 fi
4375
4376 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4377
4378 fi
4379
4380
4381 eval "$wx_cv_use_expat"
4382 if test "x$cache" = xyes; then
4383 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4384 fi
4385
4386 if test "$wxUSE_EXPAT" = yes; then
4387 { echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6; }
4389 elif test "$wxUSE_EXPAT" = no; then
4390 { echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6; }
4392 elif test "$wxUSE_EXPAT" = sys; then
4393 { echo "$as_me:$LINENO: result: system version" >&5
4394 echo "${ECHO_T}system version" >&6; }
4395 elif test "$wxUSE_EXPAT" = builtin; then
4396 { echo "$as_me:$LINENO: result: builtin version" >&5
4397 echo "${ECHO_T}builtin version" >&6; }
4398 else
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4402 fi
4403
4404
4405
4406
4407 enablestring=disable
4408 defaultval=
4409 if test -z "$defaultval"; then
4410 if test x"$enablestring" = xdisable; then
4411 defaultval=yes
4412 else
4413 defaultval=no
4414 fi
4415 fi
4416
4417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4419 # Check whether --enable-shared was given.
4420 if test "${enable_shared+set}" = set; then
4421 enableval=$enable_shared;
4422 if test "$enableval" = yes; then
4423 wx_cv_use_shared='wxUSE_SHARED=yes'
4424 else
4425 wx_cv_use_shared='wxUSE_SHARED=no'
4426 fi
4427 cache=yes
4428
4429 else
4430
4431 cache=no
4432 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x ; then
4434 eval "DEFAULT_$LINE"
4435 fi
4436
4437 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4438
4439 fi
4440
4441
4442 eval "$wx_cv_use_shared"
4443 if test "x$cache" = xyes; then
4444 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4445 fi
4446
4447 if test x"$enablestring" = xdisable; then
4448 if test $wxUSE_SHARED = yes; then
4449 result=no
4450 else
4451 result=yes
4452 fi
4453 else
4454 result=$wxUSE_SHARED
4455 fi
4456
4457 { echo "$as_me:$LINENO: result: $result" >&5
4458 echo "${ECHO_T}$result" >&6; }
4459
4460
4461 enablestring=disable
4462 defaultval=
4463 if test -z "$defaultval"; then
4464 if test x"$enablestring" = xdisable; then
4465 defaultval=yes
4466 else
4467 defaultval=no
4468 fi
4469 fi
4470
4471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4473 # Check whether --enable-optimise was given.
4474 if test "${enable_optimise+set}" = set; then
4475 enableval=$enable_optimise;
4476 if test "$enableval" = yes; then
4477 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4478 else
4479 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4480 fi
4481 cache=yes
4482
4483 else
4484
4485 cache=no
4486 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 fi
4490
4491 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4492
4493 fi
4494
4495
4496 eval "$wx_cv_use_optimise"
4497 if test "x$cache" = xyes; then
4498 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4499 fi
4500
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_OPTIMISE = yes; then
4503 result=no
4504 else
4505 result=yes
4506 fi
4507 else
4508 result=$wxUSE_OPTIMISE
4509 fi
4510
4511 { echo "$as_me:$LINENO: result: $result" >&5
4512 echo "${ECHO_T}$result" >&6; }
4513
4514
4515 enablestring=
4516 defaultval=
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4519 defaultval=yes
4520 else
4521 defaultval=no
4522 fi
4523 fi
4524
4525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4527 # Check whether --enable-debug was given.
4528 if test "${enable_debug+set}" = set; then
4529 enableval=$enable_debug;
4530 if test "$enableval" = yes; then
4531 wx_cv_use_debug='wxUSE_DEBUG=yes'
4532 else
4533 wx_cv_use_debug='wxUSE_DEBUG=no'
4534 fi
4535 cache=yes
4536
4537 else
4538
4539 cache=no
4540 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4543 fi
4544
4545 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4546
4547 fi
4548
4549
4550 eval "$wx_cv_use_debug"
4551 if test "x$cache" = xyes; then
4552 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4553 fi
4554
4555 if test x"$enablestring" = xdisable; then
4556 if test $wxUSE_DEBUG = yes; then
4557 result=no
4558 else
4559 result=yes
4560 fi
4561 else
4562 result=$wxUSE_DEBUG
4563 fi
4564
4565 { echo "$as_me:$LINENO: result: $result" >&5
4566 echo "${ECHO_T}$result" >&6; }
4567
4568
4569 enablestring=
4570 defaultval=
4571 if test -z "$defaultval"; then
4572 if test x"$enablestring" = xdisable; then
4573 defaultval=yes
4574 else
4575 defaultval=no
4576 fi
4577 fi
4578
4579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4581 # Check whether --enable-stl was given.
4582 if test "${enable_stl+set}" = set; then
4583 enableval=$enable_stl;
4584 if test "$enableval" = yes; then
4585 wx_cv_use_stl='wxUSE_STL=yes'
4586 else
4587 wx_cv_use_stl='wxUSE_STL=no'
4588 fi
4589 cache=yes
4590
4591 else
4592
4593 cache=no
4594 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 fi
4598
4599 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_stl"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_STL = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_STL
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4635 # Check whether --enable-std_iostreams was given.
4636 if test "${enable_std_iostreams+set}" = set; then
4637 enableval=$enable_std_iostreams;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4640 else
4641 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4642 fi
4643 cache=yes
4644
4645 else
4646
4647 cache=no
4648 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x ; then
4650 eval "DEFAULT_$LINE"
4651 fi
4652
4653 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4654
4655 fi
4656
4657
4658 eval "$wx_cv_use_std_iostreams"
4659 if test "x$cache" = xyes; then
4660 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4661 fi
4662
4663 if test x"$enablestring" = xdisable; then
4664 if test $wxUSE_STD_IOSTREAM = yes; then
4665 result=no
4666 else
4667 result=yes
4668 fi
4669 else
4670 result=$wxUSE_STD_IOSTREAM
4671 fi
4672
4673 { echo "$as_me:$LINENO: result: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4675
4676
4677 enablestring=
4678 defaultval=
4679 if test -z "$defaultval"; then
4680 if test x"$enablestring" = xdisable; then
4681 defaultval=yes
4682 else
4683 defaultval=no
4684 fi
4685 fi
4686
4687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4688 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4689 # Check whether --enable-std_string was given.
4690 if test "${enable_std_string+set}" = set; then
4691 enableval=$enable_std_string;
4692 if test "$enableval" = yes; then
4693 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4694 else
4695 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4696 fi
4697 cache=yes
4698
4699 else
4700
4701 cache=no
4702 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4703 if test "x$LINE" != x ; then
4704 eval "DEFAULT_$LINE"
4705 fi
4706
4707 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4708
4709 fi
4710
4711
4712 eval "$wx_cv_use_std_string"
4713 if test "x$cache" = xyes; then
4714 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4715 fi
4716
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_STD_STRING = yes; then
4719 result=no
4720 else
4721 result=yes
4722 fi
4723 else
4724 result=$wxUSE_STD_STRING
4725 fi
4726
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4729
4730
4731 enablestring=disable
4732 defaultval=
4733 if test -z "$defaultval"; then
4734 if test x"$enablestring" = xdisable; then
4735 defaultval=yes
4736 else
4737 defaultval=no
4738 fi
4739 fi
4740
4741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4743 # Check whether --enable-unicode was given.
4744 if test "${enable_unicode+set}" = set; then
4745 enableval=$enable_unicode;
4746 if test "$enableval" = yes; then
4747 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4748 else
4749 wx_cv_use_unicode='wxUSE_UNICODE=no'
4750 fi
4751 cache=yes
4752
4753 else
4754
4755 cache=no
4756 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x ; then
4758 eval "DEFAULT_$LINE"
4759 fi
4760
4761 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_unicode"
4767 if test "x$cache" = xyes; then
4768 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_UNICODE = yes; then
4773 result=no
4774 else
4775 result=yes
4776 fi
4777 else
4778 result=$wxUSE_UNICODE
4779 fi
4780
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4783
4784
4785 enablestring=
4786 defaultval=
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4789 defaultval=yes
4790 else
4791 defaultval=no
4792 fi
4793 fi
4794
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4797 # Check whether --enable-mslu was given.
4798 if test "${enable_mslu+set}" = set; then
4799 enableval=$enable_mslu;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4802 else
4803 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4804 fi
4805 cache=yes
4806
4807 else
4808
4809 cache=no
4810 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x ; then
4812 eval "DEFAULT_$LINE"
4813 fi
4814
4815 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4816
4817 fi
4818
4819
4820 eval "$wx_cv_use_mslu"
4821 if test "x$cache" = xyes; then
4822 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4823 fi
4824
4825 if test x"$enablestring" = xdisable; then
4826 if test $wxUSE_UNICODE_MSLU = yes; then
4827 result=no
4828 else
4829 result=yes
4830 fi
4831 else
4832 result=$wxUSE_UNICODE_MSLU
4833 fi
4834
4835 { echo "$as_me:$LINENO: result: $result" >&5
4836 echo "${ECHO_T}$result" >&6; }
4837
4838
4839 enablestring=
4840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4842 # Check whether --enable-utf8 was given.
4843 if test "${enable_utf8+set}" = set; then
4844 enableval=$enable_utf8;
4845 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4846 cache=yes
4847
4848 else
4849
4850 cache=no
4851 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4854 fi
4855
4856 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_utf8"
4862 if test "x$cache" = xyes; then
4863 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4864 fi
4865
4866 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4867 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4868
4869
4870 enablestring=
4871 defaultval=
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4874 defaultval=yes
4875 else
4876 defaultval=no
4877 fi
4878 fi
4879
4880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4882 # Check whether --enable-utf8only was given.
4883 if test "${enable_utf8only+set}" = set; then
4884 enableval=$enable_utf8only;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4887 else
4888 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4889 fi
4890 cache=yes
4891
4892 else
4893
4894 cache=no
4895 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x ; then
4897 eval "DEFAULT_$LINE"
4898 fi
4899
4900 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4901
4902 fi
4903
4904
4905 eval "$wx_cv_use_utf8only"
4906 if test "x$cache" = xyes; then
4907 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4908 fi
4909
4910 if test x"$enablestring" = xdisable; then
4911 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4912 result=no
4913 else
4914 result=yes
4915 fi
4916 else
4917 result=$wxUSE_UNICODE_UTF8_LOCALE
4918 fi
4919
4920 { echo "$as_me:$LINENO: result: $result" >&5
4921 echo "${ECHO_T}$result" >&6; }
4922
4923
4924 enablestring=
4925 defaultval=
4926 if test -z "$defaultval"; then
4927 if test x"$enablestring" = xdisable; then
4928 defaultval=yes
4929 else
4930 defaultval=no
4931 fi
4932 fi
4933
4934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4935 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4936 # Check whether --enable-extended_rtti was given.
4937 if test "${enable_extended_rtti+set}" = set; then
4938 enableval=$enable_extended_rtti;
4939 if test "$enableval" = yes; then
4940 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4941 else
4942 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4943 fi
4944 cache=yes
4945
4946 else
4947
4948 cache=no
4949 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4952 fi
4953
4954 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4955
4956 fi
4957
4958
4959 eval "$wx_cv_use_extended_rtti"
4960 if test "x$cache" = xyes; then
4961 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4962 fi
4963
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_EXTENDED_RTTI = yes; then
4966 result=no
4967 else
4968 result=yes
4969 fi
4970 else
4971 result=$wxUSE_EXTENDED_RTTI
4972 fi
4973
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4976
4977 if test "$USE_OS2" = "1"; then
4978 DEFAULT_wxUSE_OMF=no
4979
4980 enablestring=
4981 defaultval=
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4984 defaultval=yes
4985 else
4986 defaultval=no
4987 fi
4988 fi
4989
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4992 # Check whether --enable-omf was given.
4993 if test "${enable_omf+set}" = set; then
4994 enableval=$enable_omf;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_omf='wxUSE_OMF=yes'
4997 else
4998 wx_cv_use_omf='wxUSE_OMF=no'
4999 fi
5000 cache=yes
5001
5002 else
5003
5004 cache=no
5005 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 fi
5009
5010 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5011
5012 fi
5013
5014
5015 eval "$wx_cv_use_omf"
5016 if test "x$cache" = xyes; then
5017 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5018 fi
5019
5020 if test x"$enablestring" = xdisable; then
5021 if test $wxUSE_OMF = yes; then
5022 result=no
5023 else
5024 result=yes
5025 fi
5026 else
5027 result=$wxUSE_OMF
5028 fi
5029
5030 { echo "$as_me:$LINENO: result: $result" >&5
5031 echo "${ECHO_T}$result" >&6; }
5032
5033 fi
5034
5035 if test "$wxUSE_DEBUG" = "yes"; then
5036 DEFAULT_wxUSE_DEBUG_FLAG=yes
5037 DEFAULT_wxUSE_DEBUG_INFO=yes
5038 BUILD=debug
5039 elif test "$wxUSE_DEBUG" = "no"; then
5040 DEFAULT_wxUSE_DEBUG_FLAG=no
5041 DEFAULT_wxUSE_DEBUG_INFO=no
5042 BUILD=release
5043 fi
5044
5045
5046 enablestring=
5047 defaultval=
5048 if test -z "$defaultval"; then
5049 if test x"$enablestring" = xdisable; then
5050 defaultval=yes
5051 else
5052 defaultval=no
5053 fi
5054 fi
5055
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5058 # Check whether --enable-debug_flag was given.
5059 if test "${enable_debug_flag+set}" = set; then
5060 enableval=$enable_debug_flag;
5061 if test "$enableval" = yes; then
5062 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5063 else
5064 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5065 fi
5066 cache=yes
5067
5068 else
5069
5070 cache=no
5071 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x ; then
5073 eval "DEFAULT_$LINE"
5074 fi
5075
5076 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5077
5078 fi
5079
5080
5081 eval "$wx_cv_use_debug_flag"
5082 if test "x$cache" = xyes; then
5083 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5084 fi
5085
5086 if test x"$enablestring" = xdisable; then
5087 if test $wxUSE_DEBUG_FLAG = yes; then
5088 result=no
5089 else
5090 result=yes
5091 fi
5092 else
5093 result=$wxUSE_DEBUG_FLAG
5094 fi
5095
5096 { echo "$as_me:$LINENO: result: $result" >&5
5097 echo "${ECHO_T}$result" >&6; }
5098
5099
5100 enablestring=
5101 defaultval=
5102 if test -z "$defaultval"; then
5103 if test x"$enablestring" = xdisable; then
5104 defaultval=yes
5105 else
5106 defaultval=no
5107 fi
5108 fi
5109
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5112 # Check whether --enable-debug_info was given.
5113 if test "${enable_debug_info+set}" = set; then
5114 enableval=$enable_debug_info;
5115 if test "$enableval" = yes; then
5116 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5117 else
5118 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5119 fi
5120 cache=yes
5121
5122 else
5123
5124 cache=no
5125 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5128 fi
5129
5130 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5131
5132 fi
5133
5134
5135 eval "$wx_cv_use_debug_info"
5136 if test "x$cache" = xyes; then
5137 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_DEBUG_INFO = yes; then
5142 result=no
5143 else
5144 result=yes
5145 fi
5146 else
5147 result=$wxUSE_DEBUG_INFO
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153
5154 enablestring=
5155 defaultval=
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5158 defaultval=yes
5159 else
5160 defaultval=no
5161 fi
5162 fi
5163
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5166 # Check whether --enable-debug_gdb was given.
5167 if test "${enable_debug_gdb+set}" = set; then
5168 enableval=$enable_debug_gdb;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5171 else
5172 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5173 fi
5174 cache=yes
5175
5176 else
5177
5178 cache=no
5179 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x ; then
5181 eval "DEFAULT_$LINE"
5182 fi
5183
5184 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5185
5186 fi
5187
5188
5189 eval "$wx_cv_use_debug_gdb"
5190 if test "x$cache" = xyes; then
5191 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5192 fi
5193
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_DEBUG_GDB = yes; then
5196 result=no
5197 else
5198 result=yes
5199 fi
5200 else
5201 result=$wxUSE_DEBUG_GDB
5202 fi
5203
5204 { echo "$as_me:$LINENO: result: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5206
5207
5208 enablestring=
5209 defaultval=
5210 if test -z "$defaultval"; then
5211 if test x"$enablestring" = xdisable; then
5212 defaultval=yes
5213 else
5214 defaultval=no
5215 fi
5216 fi
5217
5218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5220 # Check whether --enable-debug_cntxt was given.
5221 if test "${enable_debug_cntxt+set}" = set; then
5222 enableval=$enable_debug_cntxt;
5223 if test "$enableval" = yes; then
5224 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5225 else
5226 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5227 fi
5228 cache=yes
5229
5230 else
5231
5232 cache=no
5233 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 fi
5237
5238 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5239
5240 fi
5241
5242
5243 eval "$wx_cv_use_debug_cntxt"
5244 if test "x$cache" = xyes; then
5245 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5246 fi
5247
5248 if test x"$enablestring" = xdisable; then
5249 if test $wxUSE_DEBUG_CONTEXT = yes; then
5250 result=no
5251 else
5252 result=yes
5253 fi
5254 else
5255 result=$wxUSE_DEBUG_CONTEXT
5256 fi
5257
5258 { echo "$as_me:$LINENO: result: $result" >&5
5259 echo "${ECHO_T}$result" >&6; }
5260
5261
5262 enablestring=
5263 defaultval=
5264 if test -z "$defaultval"; then
5265 if test x"$enablestring" = xdisable; then
5266 defaultval=yes
5267 else
5268 defaultval=no
5269 fi
5270 fi
5271
5272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5273 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5274 # Check whether --enable-mem_tracing was given.
5275 if test "${enable_mem_tracing+set}" = set; then
5276 enableval=$enable_mem_tracing;
5277 if test "$enableval" = yes; then
5278 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5279 else
5280 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5281 fi
5282 cache=yes
5283
5284 else
5285
5286 cache=no
5287 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5290 fi
5291
5292 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5293
5294 fi
5295
5296
5297 eval "$wx_cv_use_mem_tracing"
5298 if test "x$cache" = xyes; then
5299 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test x"$enablestring" = xdisable; then
5303 if test $wxUSE_MEM_TRACING = yes; then
5304 result=no
5305 else
5306 result=yes
5307 fi
5308 else
5309 result=$wxUSE_MEM_TRACING
5310 fi
5311
5312 { echo "$as_me:$LINENO: result: $result" >&5
5313 echo "${ECHO_T}$result" >&6; }
5314
5315
5316 enablestring=
5317 defaultval=
5318 if test -z "$defaultval"; then
5319 if test x"$enablestring" = xdisable; then
5320 defaultval=yes
5321 else
5322 defaultval=no
5323 fi
5324 fi
5325
5326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5328 # Check whether --enable-profile was given.
5329 if test "${enable_profile+set}" = set; then
5330 enableval=$enable_profile;
5331 if test "$enableval" = yes; then
5332 wx_cv_use_profile='wxUSE_PROFILE=yes'
5333 else
5334 wx_cv_use_profile='wxUSE_PROFILE=no'
5335 fi
5336 cache=yes
5337
5338 else
5339
5340 cache=no
5341 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 fi
5345
5346 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_profile"
5352 if test "x$cache" = xyes; then
5353 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5354 fi
5355
5356 if test x"$enablestring" = xdisable; then
5357 if test $wxUSE_PROFILE = yes; then
5358 result=no
5359 else
5360 result=yes
5361 fi
5362 else
5363 result=$wxUSE_PROFILE
5364 fi
5365
5366 { echo "$as_me:$LINENO: result: $result" >&5
5367 echo "${ECHO_T}$result" >&6; }
5368
5369
5370 enablestring=
5371 defaultval=
5372 if test -z "$defaultval"; then
5373 if test x"$enablestring" = xdisable; then
5374 defaultval=yes
5375 else
5376 defaultval=no
5377 fi
5378 fi
5379
5380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5382 # Check whether --enable-no_rtti was given.
5383 if test "${enable_no_rtti+set}" = set; then
5384 enableval=$enable_no_rtti;
5385 if test "$enableval" = yes; then
5386 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5387 else
5388 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5389 fi
5390 cache=yes
5391
5392 else
5393
5394 cache=no
5395 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5398 fi
5399
5400 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5401
5402 fi
5403
5404
5405 eval "$wx_cv_use_no_rtti"
5406 if test "x$cache" = xyes; then
5407 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5408 fi
5409
5410 if test x"$enablestring" = xdisable; then
5411 if test $wxUSE_NO_RTTI = yes; then
5412 result=no
5413 else
5414 result=yes
5415 fi
5416 else
5417 result=$wxUSE_NO_RTTI
5418 fi
5419
5420 { echo "$as_me:$LINENO: result: $result" >&5
5421 echo "${ECHO_T}$result" >&6; }
5422
5423
5424 enablestring=
5425 defaultval=
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5428 defaultval=yes
5429 else
5430 defaultval=no
5431 fi
5432 fi
5433
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5436 # Check whether --enable-no_exceptions was given.
5437 if test "${enable_no_exceptions+set}" = set; then
5438 enableval=$enable_no_exceptions;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5441 else
5442 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5443 fi
5444 cache=yes
5445
5446 else
5447
5448 cache=no
5449 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 fi
5453
5454 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5455
5456 fi
5457
5458
5459 eval "$wx_cv_use_no_exceptions"
5460 if test "x$cache" = xyes; then
5461 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5462 fi
5463
5464 if test x"$enablestring" = xdisable; then
5465 if test $wxUSE_NO_EXCEPTIONS = yes; then
5466 result=no
5467 else
5468 result=yes
5469 fi
5470 else
5471 result=$wxUSE_NO_EXCEPTIONS
5472 fi
5473
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5476
5477
5478 enablestring=
5479 defaultval=
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5482 defaultval=yes
5483 else
5484 defaultval=no
5485 fi
5486 fi
5487
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5490 # Check whether --enable-permissive was given.
5491 if test "${enable_permissive+set}" = set; then
5492 enableval=$enable_permissive;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5495 else
5496 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5497 fi
5498 cache=yes
5499
5500 else
5501
5502 cache=no
5503 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x ; then
5505 eval "DEFAULT_$LINE"
5506 fi
5507
5508 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5509
5510 fi
5511
5512
5513 eval "$wx_cv_use_permissive"
5514 if test "x$cache" = xyes; then
5515 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_PERMISSIVE = yes; then
5520 result=no
5521 else
5522 result=yes
5523 fi
5524 else
5525 result=$wxUSE_PERMISSIVE
5526 fi
5527
5528 { echo "$as_me:$LINENO: result: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5530
5531
5532 enablestring=
5533 defaultval=
5534 if test -z "$defaultval"; then
5535 if test x"$enablestring" = xdisable; then
5536 defaultval=yes
5537 else
5538 defaultval=no
5539 fi
5540 fi
5541
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5544 # Check whether --enable-no_deps was given.
5545 if test "${enable_no_deps+set}" = set; then
5546 enableval=$enable_no_deps;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5549 else
5550 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5551 fi
5552 cache=yes
5553
5554 else
5555
5556 cache=no
5557 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 fi
5561
5562 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5563
5564 fi
5565
5566
5567 eval "$wx_cv_use_no_deps"
5568 if test "x$cache" = xyes; then
5569 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5570 fi
5571
5572 if test x"$enablestring" = xdisable; then
5573 if test $wxUSE_NO_DEPS = yes; then
5574 result=no
5575 else
5576 result=yes
5577 fi
5578 else
5579 result=$wxUSE_NO_DEPS
5580 fi
5581
5582 { echo "$as_me:$LINENO: result: $result" >&5
5583 echo "${ECHO_T}$result" >&6; }
5584
5585
5586 enablestring=disable
5587 defaultval=
5588 if test -z "$defaultval"; then
5589 if test x"$enablestring" = xdisable; then
5590 defaultval=yes
5591 else
5592 defaultval=no
5593 fi
5594 fi
5595
5596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5598 # Check whether --enable-vararg_macros was given.
5599 if test "${enable_vararg_macros+set}" = set; then
5600 enableval=$enable_vararg_macros;
5601 if test "$enableval" = yes; then
5602 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5603 else
5604 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5605 fi
5606 cache=yes
5607
5608 else
5609
5610 cache=no
5611 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5614 fi
5615
5616 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5617
5618 fi
5619
5620
5621 eval "$wx_cv_use_vararg_macros"
5622 if test "x$cache" = xyes; then
5623 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5624 fi
5625
5626 if test x"$enablestring" = xdisable; then
5627 if test $wxUSE_VARARG_MACROS = yes; then
5628 result=no
5629 else
5630 result=yes
5631 fi
5632 else
5633 result=$wxUSE_VARARG_MACROS
5634 fi
5635
5636 { echo "$as_me:$LINENO: result: $result" >&5
5637 echo "${ECHO_T}$result" >&6; }
5638
5639
5640 enablestring=
5641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5642 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5643 # Check whether --enable-universal_binary was given.
5644 if test "${enable_universal_binary+set}" = set; then
5645 enableval=$enable_universal_binary;
5646 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5647 cache=yes
5648
5649 else
5650
5651 cache=no
5652 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5655 fi
5656
5657 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5658
5659 fi
5660
5661
5662 eval "$wx_cv_use_universal_binary"
5663 if test "x$cache" = xyes; then
5664 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5668 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5669
5670
5671
5672 enablestring=
5673 defaultval=
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5676 defaultval=yes
5677 else
5678 defaultval=no
5679 fi
5680 fi
5681
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5684 # Check whether --enable-compat26 was given.
5685 if test "${enable_compat26+set}" = set; then
5686 enableval=$enable_compat26;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5689 else
5690 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5691 fi
5692 cache=yes
5693
5694 else
5695
5696 cache=no
5697 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x ; then
5699 eval "DEFAULT_$LINE"
5700 fi
5701
5702 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5703
5704 fi
5705
5706
5707 eval "$wx_cv_use_compat26"
5708 if test "x$cache" = xyes; then
5709 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test x"$enablestring" = xdisable; then
5713 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5714 result=no
5715 else
5716 result=yes
5717 fi
5718 else
5719 result=$WXWIN_COMPATIBILITY_2_6
5720 fi
5721
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5724
5725
5726 enablestring=disable
5727 defaultval=
5728 if test -z "$defaultval"; then
5729 if test x"$enablestring" = xdisable; then
5730 defaultval=yes
5731 else
5732 defaultval=no
5733 fi
5734 fi
5735
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5738 # Check whether --enable-compat28 was given.
5739 if test "${enable_compat28+set}" = set; then
5740 enableval=$enable_compat28;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5743 else
5744 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5745 fi
5746 cache=yes
5747
5748 else
5749
5750 cache=no
5751 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 fi
5755
5756 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5757
5758 fi
5759
5760
5761 eval "$wx_cv_use_compat28"
5762 if test "x$cache" = xyes; then
5763 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5764 fi
5765
5766 if test x"$enablestring" = xdisable; then
5767 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5768 result=no
5769 else
5770 result=yes
5771 fi
5772 else
5773 result=$WXWIN_COMPATIBILITY_2_8
5774 fi
5775
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5778
5779
5780
5781 enablestring=disable
5782 defaultval=
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5785 defaultval=yes
5786 else
5787 defaultval=no
5788 fi
5789 fi
5790
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5793 # Check whether --enable-rpath was given.
5794 if test "${enable_rpath+set}" = set; then
5795 enableval=$enable_rpath;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_rpath='wxUSE_RPATH=yes'
5798 else
5799 wx_cv_use_rpath='wxUSE_RPATH=no'
5800 fi
5801 cache=yes
5802
5803 else
5804
5805 cache=no
5806 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5809 fi
5810
5811 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_rpath"
5817 if test "x$cache" = xyes; then
5818 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5819 fi
5820
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_RPATH = yes; then
5823 result=no
5824 else
5825 result=yes
5826 fi
5827 else
5828 result=$wxUSE_RPATH
5829 fi
5830
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835
5836 enablestring=
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}-objc_uniquifying" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5848 # Check whether --enable-objc_uniquifying was given.
5849 if test "${enable_objc_uniquifying+set}" = set; then
5850 enableval=$enable_objc_uniquifying;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5853 else
5854 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5855 fi
5856 cache=yes
5857
5858 else
5859
5860 cache=no
5861 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5864 fi
5865
5866 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5867
5868 fi
5869
5870
5871 eval "$wx_cv_use_objc_uniquifying"
5872 if test "x$cache" = xyes; then
5873 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5878 result=no
5879 else
5880 result=yes
5881 fi
5882 else
5883 result=$wxUSE_OBJC_UNIQUIFYING
5884 fi
5885
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5888
5889
5890
5891 enablestring=disable
5892 defaultval=
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}-visibility" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5903 # Check whether --enable-visibility was given.
5904 if test "${enable_visibility+set}" = set; then
5905 enableval=$enable_visibility;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5908 else
5909 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5910 fi
5911 cache=yes
5912
5913 else
5914
5915 cache=no
5916 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5919 fi
5920
5921 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5922
5923 fi
5924
5925
5926 eval "$wx_cv_use_visibility"
5927 if test "x$cache" = xyes; then
5928 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test x"$enablestring" = xdisable; then
5932 if test $wxUSE_VISIBILITY = yes; then
5933 result=no
5934 else
5935 result=yes
5936 fi
5937 else
5938 result=$wxUSE_VISIBILITY
5939 fi
5940
5941 { echo "$as_me:$LINENO: result: $result" >&5
5942 echo "${ECHO_T}$result" >&6; }
5943
5944
5945
5946
5947 enablestring=
5948 defaultval=$wxUSE_ALL_FEATURES
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5951 defaultval=yes
5952 else
5953 defaultval=no
5954 fi
5955 fi
5956
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5959 # Check whether --enable-intl was given.
5960 if test "${enable_intl+set}" = set; then
5961 enableval=$enable_intl;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_intl='wxUSE_INTL=yes'
5964 else
5965 wx_cv_use_intl='wxUSE_INTL=no'
5966 fi
5967 cache=yes
5968
5969 else
5970
5971 cache=no
5972 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5975 fi
5976
5977 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5978
5979 fi
5980
5981
5982 eval "$wx_cv_use_intl"
5983 if test "x$cache" = xyes; then
5984 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5985 fi
5986
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_INTL = yes; then
5989 result=no
5990 else
5991 result=yes
5992 fi
5993 else
5994 result=$wxUSE_INTL
5995 fi
5996
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
5999
6000
6001 enablestring=
6002 defaultval=$wxUSE_ALL_FEATURES
6003 if test -z "$defaultval"; then
6004 if test x"$enablestring" = xdisable; then
6005 defaultval=yes
6006 else
6007 defaultval=no
6008 fi
6009 fi
6010
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6013 # Check whether --enable-config was given.
6014 if test "${enable_config+set}" = set; then
6015 enableval=$enable_config;
6016 if test "$enableval" = yes; then
6017 wx_cv_use_config='wxUSE_CONFIG=yes'
6018 else
6019 wx_cv_use_config='wxUSE_CONFIG=no'
6020 fi
6021 cache=yes
6022
6023 else
6024
6025 cache=no
6026 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 fi
6030
6031 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6032
6033 fi
6034
6035
6036 eval "$wx_cv_use_config"
6037 if test "x$cache" = xyes; then
6038 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_CONFIG = yes; then
6043 result=no
6044 else
6045 result=yes
6046 fi
6047 else
6048 result=$wxUSE_CONFIG
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055
6056 enablestring=
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6060 defaultval=yes
6061 else
6062 defaultval=no
6063 fi
6064 fi
6065
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6068 # Check whether --enable-protocols was given.
6069 if test "${enable_protocols+set}" = set; then
6070 enableval=$enable_protocols;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6073 else
6074 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6075 fi
6076 cache=yes
6077
6078 else
6079
6080 cache=no
6081 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6084 fi
6085
6086 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6087
6088 fi
6089
6090
6091 eval "$wx_cv_use_protocols"
6092 if test "x$cache" = xyes; then
6093 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6094 fi
6095
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_PROTOCOL = yes; then
6098 result=no
6099 else
6100 result=yes
6101 fi
6102 else
6103 result=$wxUSE_PROTOCOL
6104 fi
6105
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6108
6109
6110 enablestring=
6111 defaultval=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x"$enablestring" = xdisable; then
6114 defaultval=yes
6115 else
6116 defaultval=no
6117 fi
6118 fi
6119
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6122 # Check whether --enable-ftp was given.
6123 if test "${enable_ftp+set}" = set; then
6124 enableval=$enable_ftp;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6127 else
6128 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6129 fi
6130 cache=yes
6131
6132 else
6133
6134 cache=no
6135 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x ; then
6137 eval "DEFAULT_$LINE"
6138 fi
6139
6140 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6141
6142 fi
6143
6144
6145 eval "$wx_cv_use_ftp"
6146 if test "x$cache" = xyes; then
6147 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6148 fi
6149
6150 if test x"$enablestring" = xdisable; then
6151 if test $wxUSE_PROTOCOL_FTP = yes; then
6152 result=no
6153 else
6154 result=yes
6155 fi
6156 else
6157 result=$wxUSE_PROTOCOL_FTP
6158 fi
6159
6160 { echo "$as_me:$LINENO: result: $result" >&5
6161 echo "${ECHO_T}$result" >&6; }
6162
6163
6164 enablestring=
6165 defaultval=$wxUSE_ALL_FEATURES
6166 if test -z "$defaultval"; then
6167 if test x"$enablestring" = xdisable; then
6168 defaultval=yes
6169 else
6170 defaultval=no
6171 fi
6172 fi
6173
6174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6176 # Check whether --enable-http was given.
6177 if test "${enable_http+set}" = set; then
6178 enableval=$enable_http;
6179 if test "$enableval" = yes; then
6180 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6181 else
6182 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6183 fi
6184 cache=yes
6185
6186 else
6187
6188 cache=no
6189 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 fi
6193
6194 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6195
6196 fi
6197
6198
6199 eval "$wx_cv_use_http"
6200 if test "x$cache" = xyes; then
6201 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test x"$enablestring" = xdisable; then
6205 if test $wxUSE_PROTOCOL_HTTP = yes; then
6206 result=no
6207 else
6208 result=yes
6209 fi
6210 else
6211 result=$wxUSE_PROTOCOL_HTTP
6212 fi
6213
6214 { echo "$as_me:$LINENO: result: $result" >&5
6215 echo "${ECHO_T}$result" >&6; }
6216
6217
6218 enablestring=
6219 defaultval=$wxUSE_ALL_FEATURES
6220 if test -z "$defaultval"; then
6221 if test x"$enablestring" = xdisable; then
6222 defaultval=yes
6223 else
6224 defaultval=no
6225 fi
6226 fi
6227
6228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6230 # Check whether --enable-fileproto was given.
6231 if test "${enable_fileproto+set}" = set; then
6232 enableval=$enable_fileproto;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6235 else
6236 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6237 fi
6238 cache=yes
6239
6240 else
6241
6242 cache=no
6243 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6246 fi
6247
6248 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6249
6250 fi
6251
6252
6253 eval "$wx_cv_use_fileproto"
6254 if test "x$cache" = xyes; then
6255 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6256 fi
6257
6258 if test x"$enablestring" = xdisable; then
6259 if test $wxUSE_PROTOCOL_FILE = yes; then
6260 result=no
6261 else
6262 result=yes
6263 fi
6264 else
6265 result=$wxUSE_PROTOCOL_FILE
6266 fi
6267
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6270
6271
6272 enablestring=
6273 defaultval=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x"$enablestring" = xdisable; then
6276 defaultval=yes
6277 else
6278 defaultval=no
6279 fi
6280 fi
6281
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6284 # Check whether --enable-sockets was given.
6285 if test "${enable_sockets+set}" = set; then
6286 enableval=$enable_sockets;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6289 else
6290 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6291 fi
6292 cache=yes
6293
6294 else
6295
6296 cache=no
6297 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6300 fi
6301
6302 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_sockets"
6308 if test "x$cache" = xyes; then
6309 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6310 fi
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_SOCKETS = yes; then
6314 result=no
6315 else
6316 result=yes
6317 fi
6318 else
6319 result=$wxUSE_SOCKETS
6320 fi
6321
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6324
6325
6326 enablestring=
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6330 defaultval=yes
6331 else
6332 defaultval=no
6333 fi
6334 fi
6335
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6338 # Check whether --enable-ole was given.
6339 if test "${enable_ole+set}" = set; then
6340 enableval=$enable_ole;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_ole='wxUSE_OLE=yes'
6343 else
6344 wx_cv_use_ole='wxUSE_OLE=no'
6345 fi
6346 cache=yes
6347
6348 else
6349
6350 cache=no
6351 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x ; then
6353 eval "DEFAULT_$LINE"
6354 fi
6355
6356 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6357
6358 fi
6359
6360
6361 eval "$wx_cv_use_ole"
6362 if test "x$cache" = xyes; then
6363 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_OLE = yes; then
6368 result=no
6369 else
6370 result=yes
6371 fi
6372 else
6373 result=$wxUSE_OLE
6374 fi
6375
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6378
6379
6380 enablestring=
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6384 defaultval=yes
6385 else
6386 defaultval=no
6387 fi
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6392 # Check whether --enable-dataobj was given.
6393 if test "${enable_dataobj+set}" = set; then
6394 enableval=$enable_dataobj;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6397 else
6398 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6399 fi
6400 cache=yes
6401
6402 else
6403
6404 cache=no
6405 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6408 fi
6409
6410 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6411
6412 fi
6413
6414
6415 eval "$wx_cv_use_dataobj"
6416 if test "x$cache" = xyes; then
6417 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test x"$enablestring" = xdisable; then
6421 if test $wxUSE_DATAOBJ = yes; then
6422 result=no
6423 else
6424 result=yes
6425 fi
6426 else
6427 result=$wxUSE_DATAOBJ
6428 fi
6429
6430 { echo "$as_me:$LINENO: result: $result" >&5
6431 echo "${ECHO_T}$result" >&6; }
6432
6433
6434
6435 enablestring=
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6439 defaultval=yes
6440 else
6441 defaultval=no
6442 fi
6443 fi
6444
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6447 # Check whether --enable-ipc was given.
6448 if test "${enable_ipc+set}" = set; then
6449 enableval=$enable_ipc;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_ipc='wxUSE_IPC=yes'
6452 else
6453 wx_cv_use_ipc='wxUSE_IPC=no'
6454 fi
6455 cache=yes
6456
6457 else
6458
6459 cache=no
6460 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6463 fi
6464
6465 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6466
6467 fi
6468
6469
6470 eval "$wx_cv_use_ipc"
6471 if test "x$cache" = xyes; then
6472 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_IPC = yes; then
6477 result=no
6478 else
6479 result=yes
6480 fi
6481 else
6482 result=$wxUSE_IPC
6483 fi
6484
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6487
6488
6489
6490 enablestring=
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6494 defaultval=yes
6495 else
6496 defaultval=no
6497 fi
6498 fi
6499
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6502 # Check whether --enable-baseevtloop was given.
6503 if test "${enable_baseevtloop+set}" = set; then
6504 enableval=$enable_baseevtloop;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6507 else
6508 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6509 fi
6510 cache=yes
6511
6512 else
6513
6514 cache=no
6515 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x ; then
6517 eval "DEFAULT_$LINE"
6518 fi
6519
6520 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_baseevtloop"
6526 if test "x$cache" = xyes; then
6527 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6532 result=no
6533 else
6534 result=yes
6535 fi
6536 else
6537 result=$wxUSE_CONSOLE_EVENTLOOP
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6556 # Check whether --enable-epoolloop was given.
6557 if test "${enable_epoolloop+set}" = set; then
6558 enableval=$enable_epoolloop;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6561 else
6562 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6563 fi
6564 cache=yes
6565
6566 else
6567
6568 cache=no
6569 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 fi
6573
6574 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6575
6576 fi
6577
6578
6579 eval "$wx_cv_use_epoolloop"
6580 if test "x$cache" = xyes; then
6581 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test x"$enablestring" = xdisable; then
6585 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6586 result=no
6587 else
6588 result=yes
6589 fi
6590 else
6591 result=$wxUSE_EPOLL_DISPATCHER
6592 fi
6593
6594 { echo "$as_me:$LINENO: result: $result" >&5
6595 echo "${ECHO_T}$result" >&6; }
6596
6597
6598 enablestring=
6599 defaultval=$wxUSE_ALL_FEATURES
6600 if test -z "$defaultval"; then
6601 if test x"$enablestring" = xdisable; then
6602 defaultval=yes
6603 else
6604 defaultval=no
6605 fi
6606 fi
6607
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6610 # Check whether --enable-selectloop was given.
6611 if test "${enable_selectloop+set}" = set; then
6612 enableval=$enable_selectloop;
6613 if test "$enableval" = yes; then
6614 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6615 else
6616 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6617 fi
6618 cache=yes
6619
6620 else
6621
6622 cache=no
6623 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x ; then
6625 eval "DEFAULT_$LINE"
6626 fi
6627
6628 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6629
6630 fi
6631
6632
6633 eval "$wx_cv_use_selectloop"
6634 if test "x$cache" = xyes; then
6635 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6636 fi
6637
6638 if test x"$enablestring" = xdisable; then
6639 if test $wxUSE_SELECT_DISPATCHER = yes; then
6640 result=no
6641 else
6642 result=yes
6643 fi
6644 else
6645 result=$wxUSE_SELECT_DISPATCHER
6646 fi
6647
6648 { echo "$as_me:$LINENO: result: $result" >&5
6649 echo "${ECHO_T}$result" >&6; }
6650
6651
6652
6653 enablestring=
6654 defaultval=$wxUSE_ALL_FEATURES
6655 if test -z "$defaultval"; then
6656 if test x"$enablestring" = xdisable; then
6657 defaultval=yes
6658 else
6659 defaultval=no
6660 fi
6661 fi
6662
6663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6665 # Check whether --enable-apple_ieee was given.
6666 if test "${enable_apple_ieee+set}" = set; then
6667 enableval=$enable_apple_ieee;
6668 if test "$enableval" = yes; then
6669 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6670 else
6671 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6672 fi
6673 cache=yes
6674
6675 else
6676
6677 cache=no
6678 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6681 fi
6682
6683 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6684
6685 fi
6686
6687
6688 eval "$wx_cv_use_apple_ieee"
6689 if test "x$cache" = xyes; then
6690 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6691 fi
6692
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_APPLE_IEEE = yes; then
6695 result=no
6696 else
6697 result=yes
6698 fi
6699 else
6700 result=$wxUSE_APPLE_IEEE
6701 fi
6702
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6705
6706
6707 enablestring=
6708 defaultval=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6711 defaultval=yes
6712 else
6713 defaultval=no
6714 fi
6715 fi
6716
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6719 # Check whether --enable-arcstream was given.
6720 if test "${enable_arcstream+set}" = set; then
6721 enableval=$enable_arcstream;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6724 else
6725 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6726 fi
6727 cache=yes
6728
6729 else
6730
6731 cache=no
6732 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 fi
6736
6737 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6738
6739 fi
6740
6741
6742 eval "$wx_cv_use_arcstream"
6743 if test "x$cache" = xyes; then
6744 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6749 result=no
6750 else
6751 result=yes
6752 fi
6753 else
6754 result=$wxUSE_ARCHIVE_STREAMS
6755 fi
6756
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6759
6760
6761 enablestring=
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6765 defaultval=yes
6766 else
6767 defaultval=no
6768 fi
6769 fi
6770
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6773 # Check whether --enable-base64 was given.
6774 if test "${enable_base64+set}" = set; then
6775 enableval=$enable_base64;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_base64='wxUSE_BASE64=yes'
6778 else
6779 wx_cv_use_base64='wxUSE_BASE64=no'
6780 fi
6781 cache=yes
6782
6783 else
6784
6785 cache=no
6786 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 fi
6790
6791 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6792
6793 fi
6794
6795
6796 eval "$wx_cv_use_base64"
6797 if test "x$cache" = xyes; then
6798 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6799 fi
6800
6801 if test x"$enablestring" = xdisable; then
6802 if test $wxUSE_BASE64 = yes; then
6803 result=no
6804 else
6805 result=yes
6806 fi
6807 else
6808 result=$wxUSE_BASE64
6809 fi
6810
6811 { echo "$as_me:$LINENO: result: $result" >&5
6812 echo "${ECHO_T}$result" >&6; }
6813
6814
6815 enablestring=
6816 defaultval=$wxUSE_ALL_FEATURES
6817 if test -z "$defaultval"; then
6818 if test x"$enablestring" = xdisable; then
6819 defaultval=yes
6820 else
6821 defaultval=no
6822 fi
6823 fi
6824
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6827 # Check whether --enable-backtrace was given.
6828 if test "${enable_backtrace+set}" = set; then
6829 enableval=$enable_backtrace;
6830 if test "$enableval" = yes; then
6831 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6832 else
6833 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6834 fi
6835 cache=yes
6836
6837 else
6838
6839 cache=no
6840 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x ; then
6842 eval "DEFAULT_$LINE"
6843 fi
6844
6845 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6846
6847 fi
6848
6849
6850 eval "$wx_cv_use_backtrace"
6851 if test "x$cache" = xyes; then
6852 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6853 fi
6854
6855 if test x"$enablestring" = xdisable; then
6856 if test $wxUSE_STACKWALKER = yes; then
6857 result=no
6858 else
6859 result=yes
6860 fi
6861 else
6862 result=$wxUSE_STACKWALKER
6863 fi
6864
6865 { echo "$as_me:$LINENO: result: $result" >&5
6866 echo "${ECHO_T}$result" >&6; }
6867
6868
6869 enablestring=
6870 defaultval=$wxUSE_ALL_FEATURES
6871 if test -z "$defaultval"; then
6872 if test x"$enablestring" = xdisable; then
6873 defaultval=yes
6874 else
6875 defaultval=no
6876 fi
6877 fi
6878
6879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6880 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6881 # Check whether --enable-catch_segvs was given.
6882 if test "${enable_catch_segvs+set}" = set; then
6883 enableval=$enable_catch_segvs;
6884 if test "$enableval" = yes; then
6885 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6886 else
6887 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6888 fi
6889 cache=yes
6890
6891 else
6892
6893 cache=no
6894 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x ; then
6896 eval "DEFAULT_$LINE"
6897 fi
6898
6899 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6900
6901 fi
6902
6903
6904 eval "$wx_cv_use_catch_segvs"
6905 if test "x$cache" = xyes; then
6906 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test x"$enablestring" = xdisable; then
6910 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6911 result=no
6912 else
6913 result=yes
6914 fi
6915 else
6916 result=$wxUSE_ON_FATAL_EXCEPTION
6917 fi
6918
6919 { echo "$as_me:$LINENO: result: $result" >&5
6920 echo "${ECHO_T}$result" >&6; }
6921
6922
6923 enablestring=
6924 defaultval=$wxUSE_ALL_FEATURES
6925 if test -z "$defaultval"; then
6926 if test x"$enablestring" = xdisable; then
6927 defaultval=yes
6928 else
6929 defaultval=no
6930 fi
6931 fi
6932
6933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6935 # Check whether --enable-cmdline was given.
6936 if test "${enable_cmdline+set}" = set; then
6937 enableval=$enable_cmdline;
6938 if test "$enableval" = yes; then
6939 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6940 else
6941 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6942 fi
6943 cache=yes
6944
6945 else
6946
6947 cache=no
6948 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6951 fi
6952
6953 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6954
6955 fi
6956
6957
6958 eval "$wx_cv_use_cmdline"
6959 if test "x$cache" = xyes; then
6960 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6961 fi
6962
6963 if test x"$enablestring" = xdisable; then
6964 if test $wxUSE_CMDLINE_PARSER = yes; then
6965 result=no
6966 else
6967 result=yes
6968 fi
6969 else
6970 result=$wxUSE_CMDLINE_PARSER
6971 fi
6972
6973 { echo "$as_me:$LINENO: result: $result" >&5
6974 echo "${ECHO_T}$result" >&6; }
6975
6976
6977 enablestring=
6978 defaultval=$wxUSE_ALL_FEATURES
6979 if test -z "$defaultval"; then
6980 if test x"$enablestring" = xdisable; then
6981 defaultval=yes
6982 else
6983 defaultval=no
6984 fi
6985 fi
6986
6987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6989 # Check whether --enable-datetime was given.
6990 if test "${enable_datetime+set}" = set; then
6991 enableval=$enable_datetime;
6992 if test "$enableval" = yes; then
6993 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6994 else
6995 wx_cv_use_datetime='wxUSE_DATETIME=no'
6996 fi
6997 cache=yes
6998
6999 else
7000
7001 cache=no
7002 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7005 fi
7006
7007 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_datetime"
7013 if test "x$cache" = xyes; then
7014 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DATETIME = yes; then
7019 result=no
7020 else
7021 result=yes
7022 fi
7023 else
7024 result=$wxUSE_DATETIME
7025 fi
7026
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7043 # Check whether --enable-debugreport was given.
7044 if test "${enable_debugreport+set}" = set; then
7045 enableval=$enable_debugreport;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7048 else
7049 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7050 fi
7051 cache=yes
7052
7053 else
7054
7055 cache=no
7056 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x ; then
7058 eval "DEFAULT_$LINE"
7059 fi
7060
7061 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7062
7063 fi
7064
7065
7066 eval "$wx_cv_use_debugreport"
7067 if test "x$cache" = xyes; then
7068 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7069 fi
7070
7071 if test x"$enablestring" = xdisable; then
7072 if test $wxUSE_DEBUGREPORT = yes; then
7073 result=no
7074 else
7075 result=yes
7076 fi
7077 else
7078 result=$wxUSE_DEBUGREPORT
7079 fi
7080
7081 { echo "$as_me:$LINENO: result: $result" >&5
7082 echo "${ECHO_T}$result" >&6; }
7083
7084
7085 enablestring=
7086 defaultval=$wxUSE_ALL_FEATURES
7087 if test -z "$defaultval"; then
7088 if test x"$enablestring" = xdisable; then
7089 defaultval=yes
7090 else
7091 defaultval=no
7092 fi
7093 fi
7094
7095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7097 # Check whether --enable-dialupman was given.
7098 if test "${enable_dialupman+set}" = set; then
7099 enableval=$enable_dialupman;
7100 if test "$enableval" = yes; then
7101 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7102 else
7103 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7104 fi
7105 cache=yes
7106
7107 else
7108
7109 cache=no
7110 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7113 fi
7114
7115 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7116
7117 fi
7118
7119
7120 eval "$wx_cv_use_dialupman"
7121 if test "x$cache" = xyes; then
7122 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_DIALUP_MANAGER = yes; then
7127 result=no
7128 else
7129 result=yes
7130 fi
7131 else
7132 result=$wxUSE_DIALUP_MANAGER
7133 fi
7134
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7137
7138
7139 enablestring=
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7143 defaultval=yes
7144 else
7145 defaultval=no
7146 fi
7147 fi
7148
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7151 # Check whether --enable-dynlib was given.
7152 if test "${enable_dynlib+set}" = set; then
7153 enableval=$enable_dynlib;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7156 else
7157 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7158 fi
7159 cache=yes
7160
7161 else
7162
7163 cache=no
7164 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7167 fi
7168
7169 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7170
7171 fi
7172
7173
7174 eval "$wx_cv_use_dynlib"
7175 if test "x$cache" = xyes; then
7176 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7177 fi
7178
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_DYNLIB_CLASS = yes; then
7181 result=no
7182 else
7183 result=yes
7184 fi
7185 else
7186 result=$wxUSE_DYNLIB_CLASS
7187 fi
7188
7189 { echo "$as_me:$LINENO: result: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7191
7192
7193 enablestring=
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7197 defaultval=yes
7198 else
7199 defaultval=no
7200 fi
7201 fi
7202
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7205 # Check whether --enable-dynamicloader was given.
7206 if test "${enable_dynamicloader+set}" = set; then
7207 enableval=$enable_dynamicloader;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7210 else
7211 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7212 fi
7213 cache=yes
7214
7215 else
7216
7217 cache=no
7218 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x ; then
7220 eval "DEFAULT_$LINE"
7221 fi
7222
7223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7224
7225 fi
7226
7227
7228 eval "$wx_cv_use_dynamicloader"
7229 if test "x$cache" = xyes; then
7230 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7231 fi
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_DYNAMIC_LOADER = yes; then
7235 result=no
7236 else
7237 result=yes
7238 fi
7239 else
7240 result=$wxUSE_DYNAMIC_LOADER
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7259 # Check whether --enable-exceptions was given.
7260 if test "${enable_exceptions+set}" = set; then
7261 enableval=$enable_exceptions;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7264 else
7265 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7266 fi
7267 cache=yes
7268
7269 else
7270
7271 cache=no
7272 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7273 if test "x$LINE" != x ; then
7274 eval "DEFAULT_$LINE"
7275 fi
7276
7277 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_exceptions"
7283 if test "x$cache" = xyes; then
7284 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7285 fi
7286
7287 if test x"$enablestring" = xdisable; then
7288 if test $wxUSE_EXCEPTIONS = yes; then
7289 result=no
7290 else
7291 result=yes
7292 fi
7293 else
7294 result=$wxUSE_EXCEPTIONS
7295 fi
7296
7297 { echo "$as_me:$LINENO: result: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7299
7300
7301 enablestring=
7302 defaultval=$wxUSE_ALL_FEATURES
7303 if test -z "$defaultval"; then
7304 if test x"$enablestring" = xdisable; then
7305 defaultval=yes
7306 else
7307 defaultval=no
7308 fi
7309 fi
7310
7311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7313 # Check whether --enable-ffile was given.
7314 if test "${enable_ffile+set}" = set; then
7315 enableval=$enable_ffile;
7316 if test "$enableval" = yes; then
7317 wx_cv_use_ffile='wxUSE_FFILE=yes'
7318 else
7319 wx_cv_use_ffile='wxUSE_FFILE=no'
7320 fi
7321 cache=yes
7322
7323 else
7324
7325 cache=no
7326 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 fi
7330
7331 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7332
7333 fi
7334
7335
7336 eval "$wx_cv_use_ffile"
7337 if test "x$cache" = xyes; then
7338 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_FFILE = yes; then
7343 result=no
7344 else
7345 result=yes
7346 fi
7347 else
7348 result=$wxUSE_FFILE
7349 fi
7350
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7353
7354
7355 enablestring=
7356 defaultval=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x"$enablestring" = xdisable; then
7359 defaultval=yes
7360 else
7361 defaultval=no
7362 fi
7363 fi
7364
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7367 # Check whether --enable-file was given.
7368 if test "${enable_file+set}" = set; then
7369 enableval=$enable_file;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_file='wxUSE_FILE=yes'
7372 else
7373 wx_cv_use_file='wxUSE_FILE=no'
7374 fi
7375 cache=yes
7376
7377 else
7378
7379 cache=no
7380 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7383 fi
7384
7385 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7386
7387 fi
7388
7389
7390 eval "$wx_cv_use_file"
7391 if test "x$cache" = xyes; then
7392 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7393 fi
7394
7395 if test x"$enablestring" = xdisable; then
7396 if test $wxUSE_FILE = yes; then
7397 result=no
7398 else
7399 result=yes
7400 fi
7401 else
7402 result=$wxUSE_FILE
7403 fi
7404
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7407
7408
7409 enablestring=
7410 defaultval=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x"$enablestring" = xdisable; then
7413 defaultval=yes
7414 else
7415 defaultval=no
7416 fi
7417 fi
7418
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7421 # Check whether --enable-filesystem was given.
7422 if test "${enable_filesystem+set}" = set; then
7423 enableval=$enable_filesystem;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7426 else
7427 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7428 fi
7429 cache=yes
7430
7431 else
7432
7433 cache=no
7434 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 fi
7438
7439 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7440
7441 fi
7442
7443
7444 eval "$wx_cv_use_filesystem"
7445 if test "x$cache" = xyes; then
7446 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7447 fi
7448
7449 if test x"$enablestring" = xdisable; then
7450 if test $wxUSE_FILESYSTEM = yes; then
7451 result=no
7452 else
7453 result=yes
7454 fi
7455 else
7456 result=$wxUSE_FILESYSTEM
7457 fi
7458
7459 { echo "$as_me:$LINENO: result: $result" >&5
7460 echo "${ECHO_T}$result" >&6; }
7461
7462
7463 enablestring=
7464 defaultval=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x"$enablestring" = xdisable; then
7467 defaultval=yes
7468 else
7469 defaultval=no
7470 fi
7471 fi
7472
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7475 # Check whether --enable-fontenum was given.
7476 if test "${enable_fontenum+set}" = set; then
7477 enableval=$enable_fontenum;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7480 else
7481 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7482 fi
7483 cache=yes
7484
7485 else
7486
7487 cache=no
7488 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x ; then
7490 eval "DEFAULT_$LINE"
7491 fi
7492
7493 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7494
7495 fi
7496
7497
7498 eval "$wx_cv_use_fontenum"
7499 if test "x$cache" = xyes; then
7500 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_FONTENUM = yes; then
7505 result=no
7506 else
7507 result=yes
7508 fi
7509 else
7510 result=$wxUSE_FONTENUM
7511 fi
7512
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7515
7516
7517 enablestring=
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7521 defaultval=yes
7522 else
7523 defaultval=no
7524 fi
7525 fi
7526
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7529 # Check whether --enable-fontmap was given.
7530 if test "${enable_fontmap+set}" = set; then
7531 enableval=$enable_fontmap;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7534 else
7535 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7536 fi
7537 cache=yes
7538
7539 else
7540
7541 cache=no
7542 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7543 if test "x$LINE" != x ; then
7544 eval "DEFAULT_$LINE"
7545 fi
7546
7547 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7548
7549 fi
7550
7551
7552 eval "$wx_cv_use_fontmap"
7553 if test "x$cache" = xyes; then
7554 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7555 fi
7556
7557 if test x"$enablestring" = xdisable; then
7558 if test $wxUSE_FONTMAP = yes; then
7559 result=no
7560 else
7561 result=yes
7562 fi
7563 else
7564 result=$wxUSE_FONTMAP
7565 fi
7566
7567 { echo "$as_me:$LINENO: result: $result" >&5
7568 echo "${ECHO_T}$result" >&6; }
7569
7570
7571 enablestring=
7572 defaultval=$wxUSE_ALL_FEATURES
7573 if test -z "$defaultval"; then
7574 if test x"$enablestring" = xdisable; then
7575 defaultval=yes
7576 else
7577 defaultval=no
7578 fi
7579 fi
7580
7581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7583 # Check whether --enable-fs_archive was given.
7584 if test "${enable_fs_archive+set}" = set; then
7585 enableval=$enable_fs_archive;
7586 if test "$enableval" = yes; then
7587 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7588 else
7589 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7590 fi
7591 cache=yes
7592
7593 else
7594
7595 cache=no
7596 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 fi
7600
7601 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7602
7603 fi
7604
7605
7606 eval "$wx_cv_use_fs_archive"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FS_ARCHIVE = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_FS_ARCHIVE
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7637 # Check whether --enable-fs_inet was given.
7638 if test "${enable_fs_inet+set}" = set; then
7639 enableval=$enable_fs_inet;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7642 else
7643 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7644 fi
7645 cache=yes
7646
7647 else
7648
7649 cache=no
7650 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7653 fi
7654
7655 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7656
7657 fi
7658
7659
7660 eval "$wx_cv_use_fs_inet"
7661 if test "x$cache" = xyes; then
7662 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7663 fi
7664
7665 if test x"$enablestring" = xdisable; then
7666 if test $wxUSE_FS_INET = yes; then
7667 result=no
7668 else
7669 result=yes
7670 fi
7671 else
7672 result=$wxUSE_FS_INET
7673 fi
7674
7675 { echo "$as_me:$LINENO: result: $result" >&5
7676 echo "${ECHO_T}$result" >&6; }
7677
7678
7679 enablestring=
7680 defaultval=$wxUSE_ALL_FEATURES
7681 if test -z "$defaultval"; then
7682 if test x"$enablestring" = xdisable; then
7683 defaultval=yes
7684 else
7685 defaultval=no
7686 fi
7687 fi
7688
7689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7691 # Check whether --enable-fs_zip was given.
7692 if test "${enable_fs_zip+set}" = set; then
7693 enableval=$enable_fs_zip;
7694 if test "$enableval" = yes; then
7695 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7696 else
7697 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7698 fi
7699 cache=yes
7700
7701 else
7702
7703 cache=no
7704 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 fi
7708
7709 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_fs_zip"
7715 if test "x$cache" = xyes; then
7716 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7717 fi
7718
7719 if test x"$enablestring" = xdisable; then
7720 if test $wxUSE_FS_ZIP = yes; then
7721 result=no
7722 else
7723 result=yes
7724 fi
7725 else
7726 result=$wxUSE_FS_ZIP
7727 fi
7728
7729 { echo "$as_me:$LINENO: result: $result" >&5
7730 echo "${ECHO_T}$result" >&6; }
7731
7732
7733 enablestring=
7734 defaultval=$wxUSE_ALL_FEATURES
7735 if test -z "$defaultval"; then
7736 if test x"$enablestring" = xdisable; then
7737 defaultval=yes
7738 else
7739 defaultval=no
7740 fi
7741 fi
7742
7743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7745 # Check whether --enable-geometry was given.
7746 if test "${enable_geometry+set}" = set; then
7747 enableval=$enable_geometry;
7748 if test "$enableval" = yes; then
7749 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7750 else
7751 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7752 fi
7753 cache=yes
7754
7755 else
7756
7757 cache=no
7758 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x ; then
7760 eval "DEFAULT_$LINE"
7761 fi
7762
7763 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7764
7765 fi
7766
7767
7768 eval "$wx_cv_use_geometry"
7769 if test "x$cache" = xyes; then
7770 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7771 fi
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_GEOMETRY = yes; then
7775 result=no
7776 else
7777 result=yes
7778 fi
7779 else
7780 result=$wxUSE_GEOMETRY
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7799 # Check whether --enable-log was given.
7800 if test "${enable_log+set}" = set; then
7801 enableval=$enable_log;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_log='wxUSE_LOG=yes'
7804 else
7805 wx_cv_use_log='wxUSE_LOG=no'
7806 fi
7807 cache=yes
7808
7809 else
7810
7811 cache=no
7812 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 fi
7816
7817 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7818
7819 fi
7820
7821
7822 eval "$wx_cv_use_log"
7823 if test "x$cache" = xyes; then
7824 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7825 fi
7826
7827 if test x"$enablestring" = xdisable; then
7828 if test $wxUSE_LOG = yes; then
7829 result=no
7830 else
7831 result=yes
7832 fi
7833 else
7834 result=$wxUSE_LOG
7835 fi
7836
7837 { echo "$as_me:$LINENO: result: $result" >&5
7838 echo "${ECHO_T}$result" >&6; }
7839
7840
7841 enablestring=
7842 defaultval=$wxUSE_ALL_FEATURES
7843 if test -z "$defaultval"; then
7844 if test x"$enablestring" = xdisable; then
7845 defaultval=yes
7846 else
7847 defaultval=no
7848 fi
7849 fi
7850
7851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7853 # Check whether --enable-longlong was given.
7854 if test "${enable_longlong+set}" = set; then
7855 enableval=$enable_longlong;
7856 if test "$enableval" = yes; then
7857 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7858 else
7859 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7860 fi
7861 cache=yes
7862
7863 else
7864
7865 cache=no
7866 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7869 fi
7870
7871 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7872
7873 fi
7874
7875
7876 eval "$wx_cv_use_longlong"
7877 if test "x$cache" = xyes; then
7878 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7879 fi
7880
7881 if test x"$enablestring" = xdisable; then
7882 if test $wxUSE_LONGLONG = yes; then
7883 result=no
7884 else
7885 result=yes
7886 fi
7887 else
7888 result=$wxUSE_LONGLONG
7889 fi
7890
7891 { echo "$as_me:$LINENO: result: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7893
7894
7895 enablestring=
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7899 defaultval=yes
7900 else
7901 defaultval=no
7902 fi
7903 fi
7904
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7907 # Check whether --enable-mimetype was given.
7908 if test "${enable_mimetype+set}" = set; then
7909 enableval=$enable_mimetype;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7912 else
7913 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7914 fi
7915 cache=yes
7916
7917 else
7918
7919 cache=no
7920 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 fi
7924
7925 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7926
7927 fi
7928
7929
7930 eval "$wx_cv_use_mimetype"
7931 if test "x$cache" = xyes; then
7932 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7933 fi
7934
7935 if test x"$enablestring" = xdisable; then
7936 if test $wxUSE_MIMETYPE = yes; then
7937 result=no
7938 else
7939 result=yes
7940 fi
7941 else
7942 result=$wxUSE_MIMETYPE
7943 fi
7944
7945 { echo "$as_me:$LINENO: result: $result" >&5
7946 echo "${ECHO_T}$result" >&6; }
7947
7948
7949 enablestring=
7950 defaultval=$wxUSE_ALL_FEATURES
7951 if test -z "$defaultval"; then
7952 if test x"$enablestring" = xdisable; then
7953 defaultval=yes
7954 else
7955 defaultval=no
7956 fi
7957 fi
7958
7959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7961 # Check whether --enable-snglinst was given.
7962 if test "${enable_snglinst+set}" = set; then
7963 enableval=$enable_snglinst;
7964 if test "$enableval" = yes; then
7965 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7966 else
7967 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7968 fi
7969 cache=yes
7970
7971 else
7972
7973 cache=no
7974 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7977 fi
7978
7979 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7980
7981 fi
7982
7983
7984 eval "$wx_cv_use_snglinst"
7985 if test "x$cache" = xyes; then
7986 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_SNGLINST_CHECKER = yes; then
7991 result=no
7992 else
7993 result=yes
7994 fi
7995 else
7996 result=$wxUSE_SNGLINST_CHECKER
7997 fi
7998
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8001
8002
8003 enablestring=
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8007 defaultval=yes
8008 else
8009 defaultval=no
8010 fi
8011 fi
8012
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8015 # Check whether --enable-stdpaths was given.
8016 if test "${enable_stdpaths+set}" = set; then
8017 enableval=$enable_stdpaths;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8020 else
8021 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8022 fi
8023 cache=yes
8024
8025 else
8026
8027 cache=no
8028 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8031 fi
8032
8033 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8034
8035 fi
8036
8037
8038 eval "$wx_cv_use_stdpaths"
8039 if test "x$cache" = xyes; then
8040 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8041 fi
8042
8043 if test x"$enablestring" = xdisable; then
8044 if test $wxUSE_STDPATHS = yes; then
8045 result=no
8046 else
8047 result=yes
8048 fi
8049 else
8050 result=$wxUSE_STDPATHS
8051 fi
8052
8053 { echo "$as_me:$LINENO: result: $result" >&5
8054 echo "${ECHO_T}$result" >&6; }
8055
8056
8057 enablestring=
8058 defaultval=$wxUSE_ALL_FEATURES
8059 if test -z "$defaultval"; then
8060 if test x"$enablestring" = xdisable; then
8061 defaultval=yes
8062 else
8063 defaultval=no
8064 fi
8065 fi
8066
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8069 # Check whether --enable-stopwatch was given.
8070 if test "${enable_stopwatch+set}" = set; then
8071 enableval=$enable_stopwatch;
8072 if test "$enableval" = yes; then
8073 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8074 else
8075 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8076 fi
8077 cache=yes
8078
8079 else
8080
8081 cache=no
8082 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x ; then
8084 eval "DEFAULT_$LINE"
8085 fi
8086
8087 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8088
8089 fi
8090
8091
8092 eval "$wx_cv_use_stopwatch"
8093 if test "x$cache" = xyes; then
8094 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8095 fi
8096
8097 if test x"$enablestring" = xdisable; then
8098 if test $wxUSE_STOPWATCH = yes; then
8099 result=no
8100 else
8101 result=yes
8102 fi
8103 else
8104 result=$wxUSE_STOPWATCH
8105 fi
8106
8107 { echo "$as_me:$LINENO: result: $result" >&5
8108 echo "${ECHO_T}$result" >&6; }
8109
8110
8111 enablestring=
8112 defaultval=$wxUSE_ALL_FEATURES
8113 if test -z "$defaultval"; then
8114 if test x"$enablestring" = xdisable; then
8115 defaultval=yes
8116 else
8117 defaultval=no
8118 fi
8119 fi
8120
8121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8123 # Check whether --enable-streams was given.
8124 if test "${enable_streams+set}" = set; then
8125 enableval=$enable_streams;
8126 if test "$enableval" = yes; then
8127 wx_cv_use_streams='wxUSE_STREAMS=yes'
8128 else
8129 wx_cv_use_streams='wxUSE_STREAMS=no'
8130 fi
8131 cache=yes
8132
8133 else
8134
8135 cache=no
8136 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8139 fi
8140
8141 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8142
8143 fi
8144
8145
8146 eval "$wx_cv_use_streams"
8147 if test "x$cache" = xyes; then
8148 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test x"$enablestring" = xdisable; then
8152 if test $wxUSE_STREAMS = yes; then
8153 result=no
8154 else
8155 result=yes
8156 fi
8157 else
8158 result=$wxUSE_STREAMS
8159 fi
8160
8161 { echo "$as_me:$LINENO: result: $result" >&5
8162 echo "${ECHO_T}$result" >&6; }
8163
8164
8165 enablestring=
8166 defaultval=$wxUSE_ALL_FEATURES
8167 if test -z "$defaultval"; then
8168 if test x"$enablestring" = xdisable; then
8169 defaultval=yes
8170 else
8171 defaultval=no
8172 fi
8173 fi
8174
8175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8177 # Check whether --enable-system_options was given.
8178 if test "${enable_system_options+set}" = set; then
8179 enableval=$enable_system_options;
8180 if test "$enableval" = yes; then
8181 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8182 else
8183 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8184 fi
8185 cache=yes
8186
8187 else
8188
8189 cache=no
8190 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8193 fi
8194
8195 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8196
8197 fi
8198
8199
8200 eval "$wx_cv_use_system_options"
8201 if test "x$cache" = xyes; then
8202 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8207 result=no
8208 else
8209 result=yes
8210 fi
8211 else
8212 result=$wxUSE_SYSTEM_OPTIONS
8213 fi
8214
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8217
8218
8219 enablestring=
8220 defaultval=$wxUSE_ALL_FEATURES
8221 if test -z "$defaultval"; then
8222 if test x"$enablestring" = xdisable; then
8223 defaultval=yes
8224 else
8225 defaultval=no
8226 fi
8227 fi
8228
8229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8230 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8231 # Check whether --enable-tarstream was given.
8232 if test "${enable_tarstream+set}" = set; then
8233 enableval=$enable_tarstream;
8234 if test "$enableval" = yes; then
8235 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8236 else
8237 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8238 fi
8239 cache=yes
8240
8241 else
8242
8243 cache=no
8244 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x ; then
8246 eval "DEFAULT_$LINE"
8247 fi
8248
8249 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8250
8251 fi
8252
8253
8254 eval "$wx_cv_use_tarstream"
8255 if test "x$cache" = xyes; then
8256 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8257 fi
8258
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_TARSTREAM = yes; then
8261 result=no
8262 else
8263 result=yes
8264 fi
8265 else
8266 result=$wxUSE_TARSTREAM
8267 fi
8268
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8271
8272
8273 enablestring=
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8277 defaultval=yes
8278 else
8279 defaultval=no
8280 fi
8281 fi
8282
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8285 # Check whether --enable-textbuf was given.
8286 if test "${enable_textbuf+set}" = set; then
8287 enableval=$enable_textbuf;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8290 else
8291 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8292 fi
8293 cache=yes
8294
8295 else
8296
8297 cache=no
8298 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x ; then
8300 eval "DEFAULT_$LINE"
8301 fi
8302
8303 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8304
8305 fi
8306
8307
8308 eval "$wx_cv_use_textbuf"
8309 if test "x$cache" = xyes; then
8310 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test x"$enablestring" = xdisable; then
8314 if test $wxUSE_TEXTBUFFER = yes; then
8315 result=no
8316 else
8317 result=yes
8318 fi
8319 else
8320 result=$wxUSE_TEXTBUFFER
8321 fi
8322
8323 { echo "$as_me:$LINENO: result: $result" >&5
8324 echo "${ECHO_T}$result" >&6; }
8325
8326
8327 enablestring=
8328 defaultval=$wxUSE_ALL_FEATURES
8329 if test -z "$defaultval"; then
8330 if test x"$enablestring" = xdisable; then
8331 defaultval=yes
8332 else
8333 defaultval=no
8334 fi
8335 fi
8336
8337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8339 # Check whether --enable-textfile was given.
8340 if test "${enable_textfile+set}" = set; then
8341 enableval=$enable_textfile;
8342 if test "$enableval" = yes; then
8343 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8344 else
8345 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8346 fi
8347 cache=yes
8348
8349 else
8350
8351 cache=no
8352 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 fi
8356
8357 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8358
8359 fi
8360
8361
8362 eval "$wx_cv_use_textfile"
8363 if test "x$cache" = xyes; then
8364 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8365 fi
8366
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_TEXTFILE = yes; then
8369 result=no
8370 else
8371 result=yes
8372 fi
8373 else
8374 result=$wxUSE_TEXTFILE
8375 fi
8376
8377 { echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6; }
8379
8380
8381 enablestring=
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8385 defaultval=yes
8386 else
8387 defaultval=no
8388 fi
8389 fi
8390
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8393 # Check whether --enable-timer was given.
8394 if test "${enable_timer+set}" = set; then
8395 enableval=$enable_timer;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_timer='wxUSE_TIMER=yes'
8398 else
8399 wx_cv_use_timer='wxUSE_TIMER=no'
8400 fi
8401 cache=yes
8402
8403 else
8404
8405 cache=no
8406 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x ; then
8408 eval "DEFAULT_$LINE"
8409 fi
8410
8411 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8412
8413 fi
8414
8415
8416 eval "$wx_cv_use_timer"
8417 if test "x$cache" = xyes; then
8418 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8419 fi
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_TIMER = yes; then
8423 result=no
8424 else
8425 result=yes
8426 fi
8427 else
8428 result=$wxUSE_TIMER
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8447 # Check whether --enable-sound was given.
8448 if test "${enable_sound+set}" = set; then
8449 enableval=$enable_sound;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_sound='wxUSE_SOUND=yes'
8452 else
8453 wx_cv_use_sound='wxUSE_SOUND=no'
8454 fi
8455 cache=yes
8456
8457 else
8458
8459 cache=no
8460 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 fi
8464
8465 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8466
8467 fi
8468
8469
8470 eval "$wx_cv_use_sound"
8471 if test "x$cache" = xyes; then
8472 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_SOUND = yes; then
8477 result=no
8478 else
8479 result=yes
8480 fi
8481 else
8482 result=$wxUSE_SOUND
8483 fi
8484
8485 { echo "$as_me:$LINENO: result: $result" >&5
8486 echo "${ECHO_T}$result" >&6; }
8487
8488
8489 enablestring=
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8493 defaultval=yes
8494 else
8495 defaultval=no
8496 fi
8497 fi
8498
8499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8501 # Check whether --enable-mediactrl was given.
8502 if test "${enable_mediactrl+set}" = set; then
8503 enableval=$enable_mediactrl;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8506 else
8507 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8508 fi
8509 cache=yes
8510
8511 else
8512
8513 cache=no
8514 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 fi
8518
8519 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8520
8521 fi
8522
8523
8524 eval "$wx_cv_use_mediactrl"
8525 if test "x$cache" = xyes; then
8526 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8527 fi
8528
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_MEDIACTRL = yes; then
8531 result=no
8532 else
8533 result=yes
8534 fi
8535 else
8536 result=$wxUSE_MEDIACTRL
8537 fi
8538
8539 { echo "$as_me:$LINENO: result: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8541
8542
8543 enablestring=
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8547 defaultval=yes
8548 else
8549 defaultval=no
8550 fi
8551 fi
8552
8553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8555 # Check whether --enable-gstreamer8 was given.
8556 if test "${enable_gstreamer8+set}" = set; then
8557 enableval=$enable_gstreamer8;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8560 else
8561 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8562 fi
8563 cache=yes
8564
8565 else
8566
8567 cache=no
8568 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8571 fi
8572
8573 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8574
8575 fi
8576
8577
8578 eval "$wx_cv_use_gstreamer8"
8579 if test "x$cache" = xyes; then
8580 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_GSTREAMER8 = yes; then
8585 result=no
8586 else
8587 result=yes
8588 fi
8589 else
8590 result=$wxUSE_GSTREAMER8
8591 fi
8592
8593 { echo "$as_me:$LINENO: result: $result" >&5
8594 echo "${ECHO_T}$result" >&6; }
8595
8596
8597 enablestring=
8598 defaultval=$wxUSE_ALL_FEATURES
8599 if test -z "$defaultval"; then
8600 if test x"$enablestring" = xdisable; then
8601 defaultval=yes
8602 else
8603 defaultval=no
8604 fi
8605 fi
8606
8607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8609 # Check whether --enable-printfposparam was given.
8610 if test "${enable_printfposparam+set}" = set; then
8611 enableval=$enable_printfposparam;
8612 if test "$enableval" = yes; then
8613 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8614 else
8615 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8616 fi
8617 cache=yes
8618
8619 else
8620
8621 cache=no
8622 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 fi
8626
8627 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8628
8629 fi
8630
8631
8632 eval "$wx_cv_use_printfposparam"
8633 if test "x$cache" = xyes; then
8634 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8635 fi
8636
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8639 result=no
8640 else
8641 result=yes
8642 fi
8643 else
8644 result=$wxUSE_PRINTF_POS_PARAMS
8645 fi
8646
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8649
8650
8651 enablestring=
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8655 defaultval=yes
8656 else
8657 defaultval=no
8658 fi
8659 fi
8660
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8663 # Check whether --enable-zipstream was given.
8664 if test "${enable_zipstream+set}" = set; then
8665 enableval=$enable_zipstream;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8668 else
8669 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8670 fi
8671 cache=yes
8672
8673 else
8674
8675 cache=no
8676 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8679 fi
8680
8681 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8682
8683 fi
8684
8685
8686 eval "$wx_cv_use_zipstream"
8687 if test "x$cache" = xyes; then
8688 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8689 fi
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_ZIPSTREAM = yes; then
8693 result=no
8694 else
8695 result=yes
8696 fi
8697 else
8698 result=$wxUSE_ZIPSTREAM
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8718 # Check whether --enable-url was given.
8719 if test "${enable_url+set}" = set; then
8720 enableval=$enable_url;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_url='wxUSE_URL=yes'
8723 else
8724 wx_cv_use_url='wxUSE_URL=no'
8725 fi
8726 cache=yes
8727
8728 else
8729
8730 cache=no
8731 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8734 fi
8735
8736 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8737
8738 fi
8739
8740
8741 eval "$wx_cv_use_url"
8742 if test "x$cache" = xyes; then
8743 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8744 fi
8745
8746 if test x"$enablestring" = xdisable; then
8747 if test $wxUSE_URL = yes; then
8748 result=no
8749 else
8750 result=yes
8751 fi
8752 else
8753 result=$wxUSE_URL
8754 fi
8755
8756 { echo "$as_me:$LINENO: result: $result" >&5
8757 echo "${ECHO_T}$result" >&6; }
8758
8759
8760 enablestring=
8761 defaultval=$wxUSE_ALL_FEATURES
8762 if test -z "$defaultval"; then
8763 if test x"$enablestring" = xdisable; then
8764 defaultval=yes
8765 else
8766 defaultval=no
8767 fi
8768 fi
8769
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8772 # Check whether --enable-variant was given.
8773 if test "${enable_variant+set}" = set; then
8774 enableval=$enable_variant;
8775 if test "$enableval" = yes; then
8776 wx_cv_use_variant='wxUSE_VARIANT=yes'
8777 else
8778 wx_cv_use_variant='wxUSE_VARIANT=no'
8779 fi
8780 cache=yes
8781
8782 else
8783
8784 cache=no
8785 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x ; then
8787 eval "DEFAULT_$LINE"
8788 fi
8789
8790 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8791
8792 fi
8793
8794
8795 eval "$wx_cv_use_variant"
8796 if test "x$cache" = xyes; then
8797 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8798 fi
8799
8800 if test x"$enablestring" = xdisable; then
8801 if test $wxUSE_VARIANT = yes; then
8802 result=no
8803 else
8804 result=yes
8805 fi
8806 else
8807 result=$wxUSE_VARIANT
8808 fi
8809
8810 { echo "$as_me:$LINENO: result: $result" >&5
8811 echo "${ECHO_T}$result" >&6; }
8812
8813
8814 enablestring=
8815 defaultval=$wxUSE_ALL_FEATURES
8816 if test -z "$defaultval"; then
8817 if test x"$enablestring" = xdisable; then
8818 defaultval=yes
8819 else
8820 defaultval=no
8821 fi
8822 fi
8823
8824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8825 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8826 # Check whether --enable-protocol was given.
8827 if test "${enable_protocol+set}" = set; then
8828 enableval=$enable_protocol;
8829 if test "$enableval" = yes; then
8830 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8831 else
8832 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8833 fi
8834 cache=yes
8835
8836 else
8837
8838 cache=no
8839 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8842 fi
8843
8844 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8845
8846 fi
8847
8848
8849 eval "$wx_cv_use_protocol"
8850 if test "x$cache" = xyes; then
8851 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8852 fi
8853
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_PROTOCOL = yes; then
8856 result=no
8857 else
8858 result=yes
8859 fi
8860 else
8861 result=$wxUSE_PROTOCOL
8862 fi
8863
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8866
8867
8868 enablestring=
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8872 defaultval=yes
8873 else
8874 defaultval=no
8875 fi
8876 fi
8877
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8880 # Check whether --enable-protocol_http was given.
8881 if test "${enable_protocol_http+set}" = set; then
8882 enableval=$enable_protocol_http;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8885 else
8886 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8887 fi
8888 cache=yes
8889
8890 else
8891
8892 cache=no
8893 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 fi
8897
8898 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8899
8900 fi
8901
8902
8903 eval "$wx_cv_use_protocol_http"
8904 if test "x$cache" = xyes; then
8905 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8906 fi
8907
8908 if test x"$enablestring" = xdisable; then
8909 if test $wxUSE_PROTOCOL_HTTP = yes; then
8910 result=no
8911 else
8912 result=yes
8913 fi
8914 else
8915 result=$wxUSE_PROTOCOL_HTTP
8916 fi
8917
8918 { echo "$as_me:$LINENO: result: $result" >&5
8919 echo "${ECHO_T}$result" >&6; }
8920
8921
8922 enablestring=
8923 defaultval=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x"$enablestring" = xdisable; then
8926 defaultval=yes
8927 else
8928 defaultval=no
8929 fi
8930 fi
8931
8932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8934 # Check whether --enable-protocol_ftp was given.
8935 if test "${enable_protocol_ftp+set}" = set; then
8936 enableval=$enable_protocol_ftp;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8939 else
8940 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8941 fi
8942 cache=yes
8943
8944 else
8945
8946 cache=no
8947 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 fi
8951
8952 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8953
8954 fi
8955
8956
8957 eval "$wx_cv_use_protocol_ftp"
8958 if test "x$cache" = xyes; then
8959 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8960 fi
8961
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_PROTOCOL_FTP = yes; then
8964 result=no
8965 else
8966 result=yes
8967 fi
8968 else
8969 result=$wxUSE_PROTOCOL_FTP
8970 fi
8971
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8974
8975
8976 enablestring=
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8980 defaultval=yes
8981 else
8982 defaultval=no
8983 fi
8984 fi
8985
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8988 # Check whether --enable-protocol_file was given.
8989 if test "${enable_protocol_file+set}" = set; then
8990 enableval=$enable_protocol_file;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8993 else
8994 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8995 fi
8996 cache=yes
8997
8998 else
8999
9000 cache=no
9001 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9002 if test "x$LINE" != x ; then
9003 eval "DEFAULT_$LINE"
9004 fi
9005
9006 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9007
9008 fi
9009
9010
9011 eval "$wx_cv_use_protocol_file"
9012 if test "x$cache" = xyes; then
9013 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test x"$enablestring" = xdisable; then
9017 if test $wxUSE_PROTOCOL_FILE = yes; then
9018 result=no
9019 else
9020 result=yes
9021 fi
9022 else
9023 result=$wxUSE_PROTOCOL_FILE
9024 fi
9025
9026 { echo "$as_me:$LINENO: result: $result" >&5
9027 echo "${ECHO_T}$result" >&6; }
9028
9029
9030
9031 enablestring=
9032 defaultval=$wxUSE_ALL_FEATURES
9033 if test -z "$defaultval"; then
9034 if test x"$enablestring" = xdisable; then
9035 defaultval=yes
9036 else
9037 defaultval=no
9038 fi
9039 fi
9040
9041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9043 # Check whether --enable-threads was given.
9044 if test "${enable_threads+set}" = set; then
9045 enableval=$enable_threads;
9046 if test "$enableval" = yes; then
9047 wx_cv_use_threads='wxUSE_THREADS=yes'
9048 else
9049 wx_cv_use_threads='wxUSE_THREADS=no'
9050 fi
9051 cache=yes
9052
9053 else
9054
9055 cache=no
9056 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x ; then
9058 eval "DEFAULT_$LINE"
9059 fi
9060
9061 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_threads"
9067 if test "x$cache" = xyes; then
9068 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_THREADS = yes; then
9073 result=no
9074 else
9075 result=yes
9076 fi
9077 else
9078 result=$wxUSE_THREADS
9079 fi
9080
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9083
9084
9085 if test "$wxUSE_GUI" = "yes"; then
9086
9087
9088
9089 enablestring=
9090 defaultval=$wxUSE_ALL_FEATURES
9091 if test -z "$defaultval"; then
9092 if test x"$enablestring" = xdisable; then
9093 defaultval=yes
9094 else
9095 defaultval=no
9096 fi
9097 fi
9098
9099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9101 # Check whether --enable-docview was given.
9102 if test "${enable_docview+set}" = set; then
9103 enableval=$enable_docview;
9104 if test "$enableval" = yes; then
9105 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9106 else
9107 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9108 fi
9109 cache=yes
9110
9111 else
9112
9113 cache=no
9114 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 fi
9118
9119 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9120
9121 fi
9122
9123
9124 eval "$wx_cv_use_docview"
9125 if test "x$cache" = xyes; then
9126 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9131 result=no
9132 else
9133 result=yes
9134 fi
9135 else
9136 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9137 fi
9138
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9141
9142
9143 enablestring=
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9147 defaultval=yes
9148 else
9149 defaultval=no
9150 fi
9151 fi
9152
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9155 # Check whether --enable-help was given.
9156 if test "${enable_help+set}" = set; then
9157 enableval=$enable_help;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_help='wxUSE_HELP=yes'
9160 else
9161 wx_cv_use_help='wxUSE_HELP=no'
9162 fi
9163 cache=yes
9164
9165 else
9166
9167 cache=no
9168 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9169 if test "x$LINE" != x ; then
9170 eval "DEFAULT_$LINE"
9171 fi
9172
9173 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_help"
9179 if test "x$cache" = xyes; then
9180 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9181 fi
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_HELP = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_HELP
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197 enablestring=
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9201 defaultval=yes
9202 else
9203 defaultval=no
9204 fi
9205 fi
9206
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9209 # Check whether --enable-mshtmlhelp was given.
9210 if test "${enable_mshtmlhelp+set}" = set; then
9211 enableval=$enable_mshtmlhelp;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9214 else
9215 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9216 fi
9217 cache=yes
9218
9219 else
9220
9221 cache=no
9222 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 fi
9226
9227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9228
9229 fi
9230
9231
9232 eval "$wx_cv_use_mshtmlhelp"
9233 if test "x$cache" = xyes; then
9234 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9235 fi
9236
9237 if test x"$enablestring" = xdisable; then
9238 if test $wxUSE_MS_HTML_HELP = yes; then
9239 result=no
9240 else
9241 result=yes
9242 fi
9243 else
9244 result=$wxUSE_MS_HTML_HELP
9245 fi
9246
9247 { echo "$as_me:$LINENO: result: $result" >&5
9248 echo "${ECHO_T}$result" >&6; }
9249
9250
9251 enablestring=
9252 defaultval=$wxUSE_ALL_FEATURES
9253 if test -z "$defaultval"; then
9254 if test x"$enablestring" = xdisable; then
9255 defaultval=yes
9256 else
9257 defaultval=no
9258 fi
9259 fi
9260
9261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9263 # Check whether --enable-html was given.
9264 if test "${enable_html+set}" = set; then
9265 enableval=$enable_html;
9266 if test "$enableval" = yes; then
9267 wx_cv_use_html='wxUSE_HTML=yes'
9268 else
9269 wx_cv_use_html='wxUSE_HTML=no'
9270 fi
9271 cache=yes
9272
9273 else
9274
9275 cache=no
9276 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9279 fi
9280
9281 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9282
9283 fi
9284
9285
9286 eval "$wx_cv_use_html"
9287 if test "x$cache" = xyes; then
9288 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test x"$enablestring" = xdisable; then
9292 if test $wxUSE_HTML = yes; then
9293 result=no
9294 else
9295 result=yes
9296 fi
9297 else
9298 result=$wxUSE_HTML
9299 fi
9300
9301 { echo "$as_me:$LINENO: result: $result" >&5
9302 echo "${ECHO_T}$result" >&6; }
9303
9304
9305 enablestring=
9306 defaultval=$wxUSE_ALL_FEATURES
9307 if test -z "$defaultval"; then
9308 if test x"$enablestring" = xdisable; then
9309 defaultval=yes
9310 else
9311 defaultval=no
9312 fi
9313 fi
9314
9315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9317 # Check whether --enable-htmlhelp was given.
9318 if test "${enable_htmlhelp+set}" = set; then
9319 enableval=$enable_htmlhelp;
9320 if test "$enableval" = yes; then
9321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9322 else
9323 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9324 fi
9325 cache=yes
9326
9327 else
9328
9329 cache=no
9330 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9333 fi
9334
9335 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9336
9337 fi
9338
9339
9340 eval "$wx_cv_use_htmlhelp"
9341 if test "x$cache" = xyes; then
9342 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9343 fi
9344
9345 if test x"$enablestring" = xdisable; then
9346 if test $wxUSE_WXHTML_HELP = yes; then
9347 result=no
9348 else
9349 result=yes
9350 fi
9351 else
9352 result=$wxUSE_WXHTML_HELP
9353 fi
9354
9355 { echo "$as_me:$LINENO: result: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9357
9358
9359 enablestring=
9360 defaultval=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x"$enablestring" = xdisable; then
9363 defaultval=yes
9364 else
9365 defaultval=no
9366 fi
9367 fi
9368
9369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9371 # Check whether --enable-xrc was given.
9372 if test "${enable_xrc+set}" = set; then
9373 enableval=$enable_xrc;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_xrc='wxUSE_XRC=yes'
9376 else
9377 wx_cv_use_xrc='wxUSE_XRC=no'
9378 fi
9379 cache=yes
9380
9381 else
9382
9383 cache=no
9384 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x ; then
9386 eval "DEFAULT_$LINE"
9387 fi
9388
9389 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_xrc"
9395 if test "x$cache" = xyes; then
9396 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_XRC = yes; then
9401 result=no
9402 else
9403 result=yes
9404 fi
9405 else
9406 result=$wxUSE_XRC
9407 fi
9408
9409 { echo "$as_me:$LINENO: result: $result" >&5
9410 echo "${ECHO_T}$result" >&6; }
9411
9412
9413 enablestring=
9414 defaultval=$wxUSE_ALL_FEATURES
9415 if test -z "$defaultval"; then
9416 if test x"$enablestring" = xdisable; then
9417 defaultval=yes
9418 else
9419 defaultval=no
9420 fi
9421 fi
9422
9423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9424 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9425 # Check whether --enable-aui was given.
9426 if test "${enable_aui+set}" = set; then
9427 enableval=$enable_aui;
9428 if test "$enableval" = yes; then
9429 wx_cv_use_aui='wxUSE_AUI=yes'
9430 else
9431 wx_cv_use_aui='wxUSE_AUI=no'
9432 fi
9433 cache=yes
9434
9435 else
9436
9437 cache=no
9438 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9439 if test "x$LINE" != x ; then
9440 eval "DEFAULT_$LINE"
9441 fi
9442
9443 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_aui"
9449 if test "x$cache" = xyes; then
9450 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9451 fi
9452
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_AUI = yes; then
9455 result=no
9456 else
9457 result=yes
9458 fi
9459 else
9460 result=$wxUSE_AUI
9461 fi
9462
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9465
9466
9467 enablestring=
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9471 defaultval=yes
9472 else
9473 defaultval=no
9474 fi
9475 fi
9476
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9479 # Check whether --enable-stc was given.
9480 if test "${enable_stc+set}" = set; then
9481 enableval=$enable_stc;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_stc='wxUSE_STC=yes'
9484 else
9485 wx_cv_use_stc='wxUSE_STC=no'
9486 fi
9487 cache=yes
9488
9489 else
9490
9491 cache=no
9492 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9495 fi
9496
9497 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9498
9499 fi
9500
9501
9502 eval "$wx_cv_use_stc"
9503 if test "x$cache" = xyes; then
9504 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9505 fi
9506
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_STC = yes; then
9509 result=no
9510 else
9511 result=yes
9512 fi
9513 else
9514 result=$wxUSE_STC
9515 fi
9516
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9519
9520
9521 enablestring=
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9525 defaultval=yes
9526 else
9527 defaultval=no
9528 fi
9529 fi
9530
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9533 # Check whether --enable-constraints was given.
9534 if test "${enable_constraints+set}" = set; then
9535 enableval=$enable_constraints;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9538 else
9539 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9540 fi
9541 cache=yes
9542
9543 else
9544
9545 cache=no
9546 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9549 fi
9550
9551 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9552
9553 fi
9554
9555
9556 eval "$wx_cv_use_constraints"
9557 if test "x$cache" = xyes; then
9558 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test x"$enablestring" = xdisable; then
9562 if test $wxUSE_CONSTRAINTS = yes; then
9563 result=no
9564 else
9565 result=yes
9566 fi
9567 else
9568 result=$wxUSE_CONSTRAINTS
9569 fi
9570
9571 { echo "$as_me:$LINENO: result: $result" >&5
9572 echo "${ECHO_T}$result" >&6; }
9573
9574
9575 enablestring=
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9579 defaultval=yes
9580 else
9581 defaultval=no
9582 fi
9583 fi
9584
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9587 # Check whether --enable-printarch was given.
9588 if test "${enable_printarch+set}" = set; then
9589 enableval=$enable_printarch;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9592 else
9593 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9594 fi
9595 cache=yes
9596
9597 else
9598
9599 cache=no
9600 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x ; then
9602 eval "DEFAULT_$LINE"
9603 fi
9604
9605 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9606
9607 fi
9608
9609
9610 eval "$wx_cv_use_printarch"
9611 if test "x$cache" = xyes; then
9612 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9613 fi
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9617 result=no
9618 else
9619 result=yes
9620 fi
9621 else
9622 result=$wxUSE_PRINTING_ARCHITECTURE
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 enablestring=
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9633 defaultval=yes
9634 else
9635 defaultval=no
9636 fi
9637 fi
9638
9639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9641 # Check whether --enable-mdi was given.
9642 if test "${enable_mdi+set}" = set; then
9643 enableval=$enable_mdi;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_mdi='wxUSE_MDI=yes'
9646 else
9647 wx_cv_use_mdi='wxUSE_MDI=no'
9648 fi
9649 cache=yes
9650
9651 else
9652
9653 cache=no
9654 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9657 fi
9658
9659 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_mdi"
9665 if test "x$cache" = xyes; then
9666 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test x"$enablestring" = xdisable; then
9670 if test $wxUSE_MDI = yes; then
9671 result=no
9672 else
9673 result=yes
9674 fi
9675 else
9676 result=$wxUSE_MDI
9677 fi
9678
9679 { echo "$as_me:$LINENO: result: $result" >&5
9680 echo "${ECHO_T}$result" >&6; }
9681
9682
9683 enablestring=
9684 defaultval=$wxUSE_ALL_FEATURES
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9687 defaultval=yes
9688 else
9689 defaultval=no
9690 fi
9691 fi
9692
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9695 # Check whether --enable-mdidoc was given.
9696 if test "${enable_mdidoc+set}" = set; then
9697 enableval=$enable_mdidoc;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9700 else
9701 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9702 fi
9703 cache=yes
9704
9705 else
9706
9707 cache=no
9708 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9709 if test "x$LINE" != x ; then
9710 eval "DEFAULT_$LINE"
9711 fi
9712
9713 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9714
9715 fi
9716
9717
9718 eval "$wx_cv_use_mdidoc"
9719 if test "x$cache" = xyes; then
9720 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9721 fi
9722
9723 if test x"$enablestring" = xdisable; then
9724 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9725 result=no
9726 else
9727 result=yes
9728 fi
9729 else
9730 result=$wxUSE_MDI_ARCHITECTURE
9731 fi
9732
9733 { echo "$as_me:$LINENO: result: $result" >&5
9734 echo "${ECHO_T}$result" >&6; }
9735
9736
9737 enablestring=
9738 defaultval=$wxUSE_ALL_FEATURES
9739 if test -z "$defaultval"; then
9740 if test x"$enablestring" = xdisable; then
9741 defaultval=yes
9742 else
9743 defaultval=no
9744 fi
9745 fi
9746
9747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9748 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9749 # Check whether --enable-loggui was given.
9750 if test "${enable_loggui+set}" = set; then
9751 enableval=$enable_loggui;
9752 if test "$enableval" = yes; then
9753 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9754 else
9755 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9756 fi
9757 cache=yes
9758
9759 else
9760
9761 cache=no
9762 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9763 if test "x$LINE" != x ; then
9764 eval "DEFAULT_$LINE"
9765 fi
9766
9767 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9768
9769 fi
9770
9771
9772 eval "$wx_cv_use_loggui"
9773 if test "x$cache" = xyes; then
9774 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9775 fi
9776
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_LOGGUI = yes; then
9779 result=no
9780 else
9781 result=yes
9782 fi
9783 else
9784 result=$wxUSE_LOGGUI
9785 fi
9786
9787 { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9789
9790
9791 enablestring=
9792 defaultval=$wxUSE_ALL_FEATURES
9793 if test -z "$defaultval"; then
9794 if test x"$enablestring" = xdisable; then
9795 defaultval=yes
9796 else
9797 defaultval=no
9798 fi
9799 fi
9800
9801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9803 # Check whether --enable-logwin was given.
9804 if test "${enable_logwin+set}" = set; then
9805 enableval=$enable_logwin;
9806 if test "$enableval" = yes; then
9807 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9808 else
9809 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9810 fi
9811 cache=yes
9812
9813 else
9814
9815 cache=no
9816 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9819 fi
9820
9821 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9822
9823 fi
9824
9825
9826 eval "$wx_cv_use_logwin"
9827 if test "x$cache" = xyes; then
9828 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9829 fi
9830
9831 if test x"$enablestring" = xdisable; then
9832 if test $wxUSE_LOGWINDOW = yes; then
9833 result=no
9834 else
9835 result=yes
9836 fi
9837 else
9838 result=$wxUSE_LOGWINDOW
9839 fi
9840
9841 { echo "$as_me:$LINENO: result: $result" >&5
9842 echo "${ECHO_T}$result" >&6; }
9843
9844
9845 enablestring=
9846 defaultval=$wxUSE_ALL_FEATURES
9847 if test -z "$defaultval"; then
9848 if test x"$enablestring" = xdisable; then
9849 defaultval=yes
9850 else
9851 defaultval=no
9852 fi
9853 fi
9854
9855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9857 # Check whether --enable-logdialog was given.
9858 if test "${enable_logdialog+set}" = set; then
9859 enableval=$enable_logdialog;
9860 if test "$enableval" = yes; then
9861 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9862 else
9863 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9864 fi
9865 cache=yes
9866
9867 else
9868
9869 cache=no
9870 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9873 fi
9874
9875 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9876
9877 fi
9878
9879
9880 eval "$wx_cv_use_logdialog"
9881 if test "x$cache" = xyes; then
9882 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9883 fi
9884
9885 if test x"$enablestring" = xdisable; then
9886 if test $wxUSE_LOGDIALOG = yes; then
9887 result=no
9888 else
9889 result=yes
9890 fi
9891 else
9892 result=$wxUSE_LOGDIALOG
9893 fi
9894
9895 { echo "$as_me:$LINENO: result: $result" >&5
9896 echo "${ECHO_T}$result" >&6; }
9897
9898
9899 enablestring=
9900 defaultval=$wxUSE_ALL_FEATURES
9901 if test -z "$defaultval"; then
9902 if test x"$enablestring" = xdisable; then
9903 defaultval=yes
9904 else
9905 defaultval=no
9906 fi
9907 fi
9908
9909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9911 # Check whether --enable-webkit was given.
9912 if test "${enable_webkit+set}" = set; then
9913 enableval=$enable_webkit;
9914 if test "$enableval" = yes; then
9915 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9916 else
9917 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9918 fi
9919 cache=yes
9920
9921 else
9922
9923 cache=no
9924 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x ; then
9926 eval "DEFAULT_$LINE"
9927 fi
9928
9929 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9930
9931 fi
9932
9933
9934 eval "$wx_cv_use_webkit"
9935 if test "x$cache" = xyes; then
9936 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_WEBKIT = yes; then
9941 result=no
9942 else
9943 result=yes
9944 fi
9945 else
9946 result=$wxUSE_WEBKIT
9947 fi
9948
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9965 # Check whether --enable-richtext was given.
9966 if test "${enable_richtext+set}" = set; then
9967 enableval=$enable_richtext;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9970 else
9971 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9972 fi
9973 cache=yes
9974
9975 else
9976
9977 cache=no
9978 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9979 if test "x$LINE" != x ; then
9980 eval "DEFAULT_$LINE"
9981 fi
9982
9983 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9984
9985 fi
9986
9987
9988 eval "$wx_cv_use_richtext"
9989 if test "x$cache" = xyes; then
9990 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9991 fi
9992
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_RICHTEXT = yes; then
9995 result=no
9996 else
9997 result=yes
9998 fi
9999 else
10000 result=$wxUSE_RICHTEXT
10001 fi
10002
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10005
10006
10007 enablestring=
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10011 defaultval=yes
10012 else
10013 defaultval=no
10014 fi
10015 fi
10016
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10019 # Check whether --enable-graphics_ctx was given.
10020 if test "${enable_graphics_ctx+set}" = set; then
10021 enableval=$enable_graphics_ctx;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10024 else
10025 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10026 fi
10027 cache=yes
10028
10029 else
10030
10031 cache=no
10032 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x ; then
10034 eval "DEFAULT_$LINE"
10035 fi
10036
10037 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10038
10039 fi
10040
10041
10042 eval "$wx_cv_use_graphics_ctx"
10043 if test "x$cache" = xyes; then
10044 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10045 fi
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10049 result=no
10050 else
10051 result=yes
10052 fi
10053 else
10054 result=$wxUSE_GRAPHICS_CONTEXT
10055 fi
10056
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10073 # Check whether --enable-postscript was given.
10074 if test "${enable_postscript+set}" = set; then
10075 enableval=$enable_postscript;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10078 else
10079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10080 fi
10081 cache=yes
10082
10083 else
10084
10085 cache=no
10086 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 fi
10090
10091 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10092
10093 fi
10094
10095
10096 eval "$wx_cv_use_postscript"
10097 if test "x$cache" = xyes; then
10098 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10099 fi
10100
10101 if test x"$enablestring" = xdisable; then
10102 if test $wxUSE_POSTSCRIPT = yes; then
10103 result=no
10104 else
10105 result=yes
10106 fi
10107 else
10108 result=$wxUSE_POSTSCRIPT
10109 fi
10110
10111 { echo "$as_me:$LINENO: result: $result" >&5
10112 echo "${ECHO_T}$result" >&6; }
10113
10114
10115 enablestring=
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10119 defaultval=yes
10120 else
10121 defaultval=no
10122 fi
10123 fi
10124
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10127 # Check whether --enable-svg was given.
10128 if test "${enable_svg+set}" = set; then
10129 enableval=$enable_svg;
10130 if test "$enableval" = yes; then
10131 wx_cv_use_svg='wxUSE_SVG=yes'
10132 else
10133 wx_cv_use_svg='wxUSE_SVG=no'
10134 fi
10135 cache=yes
10136
10137 else
10138
10139 cache=no
10140 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10141 if test "x$LINE" != x ; then
10142 eval "DEFAULT_$LINE"
10143 fi
10144
10145 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10146
10147 fi
10148
10149
10150 eval "$wx_cv_use_svg"
10151 if test "x$cache" = xyes; then
10152 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10153 fi
10154
10155 if test x"$enablestring" = xdisable; then
10156 if test $wxUSE_SVG = yes; then
10157 result=no
10158 else
10159 result=yes
10160 fi
10161 else
10162 result=$wxUSE_SVG
10163 fi
10164
10165 { echo "$as_me:$LINENO: result: $result" >&5
10166 echo "${ECHO_T}$result" >&6; }
10167
10168
10169
10170
10171 enablestring=
10172 defaultval=$wxUSE_ALL_FEATURES
10173 if test -z "$defaultval"; then
10174 if test x"$enablestring" = xdisable; then
10175 defaultval=yes
10176 else
10177 defaultval=no
10178 fi
10179 fi
10180
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10183 # Check whether --enable-clipboard was given.
10184 if test "${enable_clipboard+set}" = set; then
10185 enableval=$enable_clipboard;
10186 if test "$enableval" = yes; then
10187 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10188 else
10189 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10190 fi
10191 cache=yes
10192
10193 else
10194
10195 cache=no
10196 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10197 if test "x$LINE" != x ; then
10198 eval "DEFAULT_$LINE"
10199 fi
10200
10201 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10202
10203 fi
10204
10205
10206 eval "$wx_cv_use_clipboard"
10207 if test "x$cache" = xyes; then
10208 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10209 fi
10210
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_CLIPBOARD = yes; then
10213 result=no
10214 else
10215 result=yes
10216 fi
10217 else
10218 result=$wxUSE_CLIPBOARD
10219 fi
10220
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10223
10224
10225 enablestring=
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10229 defaultval=yes
10230 else
10231 defaultval=no
10232 fi
10233 fi
10234
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10237 # Check whether --enable-dnd was given.
10238 if test "${enable_dnd+set}" = set; then
10239 enableval=$enable_dnd;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10242 else
10243 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10244 fi
10245 cache=yes
10246
10247 else
10248
10249 cache=no
10250 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 fi
10254
10255 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10256
10257 fi
10258
10259
10260 eval "$wx_cv_use_dnd"
10261 if test "x$cache" = xyes; then
10262 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10263 fi
10264
10265 if test x"$enablestring" = xdisable; then
10266 if test $wxUSE_DRAG_AND_DROP = yes; then
10267 result=no
10268 else
10269 result=yes
10270 fi
10271 else
10272 result=$wxUSE_DRAG_AND_DROP
10273 fi
10274
10275 { echo "$as_me:$LINENO: result: $result" >&5
10276 echo "${ECHO_T}$result" >&6; }
10277
10278
10279 enablestring=
10280 defaultval=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x"$enablestring" = xdisable; then
10283 defaultval=yes
10284 else
10285 defaultval=no
10286 fi
10287 fi
10288
10289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10291 # Check whether --enable-metafile was given.
10292 if test "${enable_metafile+set}" = set; then
10293 enableval=$enable_metafile;
10294 if test "$enableval" = yes; then
10295 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10296 else
10297 wx_cv_use_metafile='wxUSE_METAFILE=no'
10298 fi
10299 cache=yes
10300
10301 else
10302
10303 cache=no
10304 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x ; then
10306 eval "DEFAULT_$LINE"
10307 fi
10308
10309 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10310
10311 fi
10312
10313
10314 eval "$wx_cv_use_metafile"
10315 if test "x$cache" = xyes; then
10316 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10317 fi
10318
10319 if test x"$enablestring" = xdisable; then
10320 if test $wxUSE_METAFILE = yes; then
10321 result=no
10322 else
10323 result=yes
10324 fi
10325 else
10326 result=$wxUSE_METAFILE
10327 fi
10328
10329 { echo "$as_me:$LINENO: result: $result" >&5
10330 echo "${ECHO_T}$result" >&6; }
10331
10332
10333
10334 DEFAULT_wxUSE_CONTROLS=none
10335
10336 enablestring=disable
10337 defaultval=
10338 if test -z "$defaultval"; then
10339 if test x"$enablestring" = xdisable; then
10340 defaultval=yes
10341 else
10342 defaultval=no
10343 fi
10344 fi
10345
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10348 # Check whether --enable-controls was given.
10349 if test "${enable_controls+set}" = set; then
10350 enableval=$enable_controls;
10351 if test "$enableval" = yes; then
10352 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10353 else
10354 wx_cv_use_controls='wxUSE_CONTROLS=no'
10355 fi
10356 cache=yes
10357
10358 else
10359
10360 cache=no
10361 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10362 if test "x$LINE" != x ; then
10363 eval "DEFAULT_$LINE"
10364 fi
10365
10366 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10367
10368 fi
10369
10370
10371 eval "$wx_cv_use_controls"
10372 if test "x$cache" = xyes; then
10373 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10374 fi
10375
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_CONTROLS = yes; then
10378 result=no
10379 else
10380 result=yes
10381 fi
10382 else
10383 result=$wxUSE_CONTROLS
10384 fi
10385
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10388
10389
10390 if test "$wxUSE_CONTROLS" = "yes"; then
10391 DEFAULT_wxUSE_ACCEL=yes
10392 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10393 DEFAULT_wxUSE_BMPBUTTON=yes
10394 DEFAULT_wxUSE_BUTTON=yes
10395 DEFAULT_wxUSE_CALCTRL=yes
10396 DEFAULT_wxUSE_CARET=yes
10397 DEFAULT_wxUSE_COMBOBOX=yes
10398 DEFAULT_wxUSE_CHECKBOX=yes
10399 DEFAULT_wxUSE_CHECKLISTBOX=yes
10400 DEFAULT_wxUSE_CHOICE=yes
10401 DEFAULT_wxUSE_CHOICEBOOK=yes
10402 DEFAULT_wxUSE_COLLPANE=yes
10403 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10404 DEFAULT_wxUSE_COMBOBOX=yes
10405 DEFAULT_wxUSE_DATEPICKCTRL=yes
10406 DEFAULT_wxUSE_DISPLAY=yes
10407 DEFAULT_wxUSE_DETECT_SM=yes
10408 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10409 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10410 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10411 DEFAULT_wxUSE_GAUGE=yes
10412 DEFAULT_wxUSE_GRID=yes
10413 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10414 DEFAULT_wxUSE_DATAVIEWCTRL=no
10415 DEFAULT_wxUSE_IMAGLIST=yes
10416 DEFAULT_wxUSE_LISTBOOK=yes
10417 DEFAULT_wxUSE_LISTBOX=yes
10418 DEFAULT_wxUSE_LISTCTRL=yes
10419 DEFAULT_wxUSE_NOTEBOOK=yes
10420 DEFAULT_wxUSE_RADIOBOX=yes
10421 DEFAULT_wxUSE_RADIOBTN=yes
10422 DEFAULT_wxUSE_SASH=yes
10423 DEFAULT_wxUSE_SCROLLBAR=yes
10424 DEFAULT_wxUSE_SEARCHCTRL=yes
10425 DEFAULT_wxUSE_SLIDER=yes
10426 DEFAULT_wxUSE_SPINBTN=yes
10427 DEFAULT_wxUSE_SPINCTRL=yes
10428 DEFAULT_wxUSE_SPLITTER=yes
10429 DEFAULT_wxUSE_STATBMP=yes
10430 DEFAULT_wxUSE_STATBOX=yes
10431 DEFAULT_wxUSE_STATLINE=yes
10432 DEFAULT_wxUSE_STATUSBAR=yes
10433 DEFAULT_wxUSE_TAB_DIALOG=yes
10434 DEFAULT_wxUSE_TOGGLEBTN=yes
10435 DEFAULT_wxUSE_TOOLBAR=yes
10436 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10437 DEFAULT_wxUSE_TOOLTIPS=yes
10438 DEFAULT_wxUSE_TREEBOOK=yes
10439 DEFAULT_wxUSE_TOOLBOOK=yes
10440 DEFAULT_wxUSE_TREECTRL=yes
10441 DEFAULT_wxUSE_POPUPWIN=yes
10442 DEFAULT_wxUSE_TIPWINDOW=yes
10443 elif test "$wxUSE_CONTROLS" = "no"; then
10444 DEFAULT_wxUSE_ACCEL=no
10445 DEFAULT_wxUSE_ANIMATIONCTRL=no
10446 DEFAULT_wxUSE_BMPBUTTON=no
10447 DEFAULT_wxUSE_BUTTON=no
10448 DEFAULT_wxUSE_CALCTRL=no
10449 DEFAULT_wxUSE_CARET=no
10450 DEFAULT_wxUSE_COLLPANE=no
10451 DEFAULT_wxUSE_COMBOBOX=no
10452 DEFAULT_wxUSE_CHECKBOX=no
10453 DEFAULT_wxUSE_CHECKLISTBOX=no
10454 DEFAULT_wxUSE_CHOICE=no
10455 DEFAULT_wxUSE_CHOICEBOOK=no
10456 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10457 DEFAULT_wxUSE_COMBOBOX=no
10458 DEFAULT_wxUSE_DATEPICKCTRL=no
10459 DEFAULT_wxUSE_DISPLAY=no
10460 DEFAULT_wxUSE_DETECT_SM=no
10461 DEFAULT_wxUSE_DIRPICKERCTRL=no
10462 DEFAULT_wxUSE_FILEPICKERCTRL=no
10463 DEFAULT_wxUSE_FONTPICKERCTRL=no
10464 DEFAULT_wxUSE_GAUGE=no
10465 DEFAULT_wxUSE_GRID=no
10466 DEFAULT_wxUSE_HYPERLINKCTRL=no
10467 DEFAULT_wxUSE_DATAVIEWCTRL=no
10468 DEFAULT_wxUSE_IMAGLIST=no
10469 DEFAULT_wxUSE_LISTBOOK=no
10470 DEFAULT_wxUSE_LISTBOX=no
10471 DEFAULT_wxUSE_LISTCTRL=no
10472 DEFAULT_wxUSE_NOTEBOOK=no
10473 DEFAULT_wxUSE_RADIOBOX=no
10474 DEFAULT_wxUSE_RADIOBTN=no
10475 DEFAULT_wxUSE_SASH=no
10476 DEFAULT_wxUSE_SCROLLBAR=no
10477 DEFAULT_wxUSE_SEARCHCTRL=no
10478 DEFAULT_wxUSE_SLIDER=no
10479 DEFAULT_wxUSE_SPINBTN=no
10480 DEFAULT_wxUSE_SPINCTRL=no
10481 DEFAULT_wxUSE_SPLITTER=no
10482 DEFAULT_wxUSE_STATBMP=no
10483 DEFAULT_wxUSE_STATBOX=no
10484 DEFAULT_wxUSE_STATLINE=no
10485 DEFAULT_wxUSE_STATUSBAR=no
10486 DEFAULT_wxUSE_TAB_DIALOG=no
10487 DEFAULT_wxUSE_TOGGLEBTN=no
10488 DEFAULT_wxUSE_TOOLBAR=no
10489 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10490 DEFAULT_wxUSE_TOOLTIPS=no
10491 DEFAULT_wxUSE_TREEBOOK=no
10492 DEFAULT_wxUSE_TOOLBOOK=no
10493 DEFAULT_wxUSE_TREECTRL=no
10494 DEFAULT_wxUSE_POPUPWIN=no
10495 DEFAULT_wxUSE_TIPWINDOW=no
10496 fi
10497
10498
10499 enablestring=
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10503 defaultval=yes
10504 else
10505 defaultval=no
10506 fi
10507 fi
10508
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10511 # Check whether --enable-accel was given.
10512 if test "${enable_accel+set}" = set; then
10513 enableval=$enable_accel;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_accel='wxUSE_ACCEL=yes'
10516 else
10517 wx_cv_use_accel='wxUSE_ACCEL=no'
10518 fi
10519 cache=yes
10520
10521 else
10522
10523 cache=no
10524 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10525 if test "x$LINE" != x ; then
10526 eval "DEFAULT_$LINE"
10527 fi
10528
10529 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10530
10531 fi
10532
10533
10534 eval "$wx_cv_use_accel"
10535 if test "x$cache" = xyes; then
10536 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10537 fi
10538
10539 if test x"$enablestring" = xdisable; then
10540 if test $wxUSE_ACCEL = yes; then
10541 result=no
10542 else
10543 result=yes
10544 fi
10545 else
10546 result=$wxUSE_ACCEL
10547 fi
10548
10549 { echo "$as_me:$LINENO: result: $result" >&5
10550 echo "${ECHO_T}$result" >&6; }
10551
10552
10553 enablestring=
10554 defaultval=$wxUSE_ALL_FEATURES
10555 if test -z "$defaultval"; then
10556 if test x"$enablestring" = xdisable; then
10557 defaultval=yes
10558 else
10559 defaultval=no
10560 fi
10561 fi
10562
10563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10564 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10565 # Check whether --enable-animatectrl was given.
10566 if test "${enable_animatectrl+set}" = set; then
10567 enableval=$enable_animatectrl;
10568 if test "$enableval" = yes; then
10569 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10570 else
10571 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10572 fi
10573 cache=yes
10574
10575 else
10576
10577 cache=no
10578 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 fi
10582
10583 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10584
10585 fi
10586
10587
10588 eval "$wx_cv_use_animatectrl"
10589 if test "x$cache" = xyes; then
10590 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10591 fi
10592
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_ANIMATIONCTRL = yes; then
10595 result=no
10596 else
10597 result=yes
10598 fi
10599 else
10600 result=$wxUSE_ANIMATIONCTRL
10601 fi
10602
10603 { echo "$as_me:$LINENO: result: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10605
10606
10607 enablestring=
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10611 defaultval=yes
10612 else
10613 defaultval=no
10614 fi
10615 fi
10616
10617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10618 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10619 # Check whether --enable-button was given.
10620 if test "${enable_button+set}" = set; then
10621 enableval=$enable_button;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_button='wxUSE_BUTTON=yes'
10624 else
10625 wx_cv_use_button='wxUSE_BUTTON=no'
10626 fi
10627 cache=yes
10628
10629 else
10630
10631 cache=no
10632 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10633 if test "x$LINE" != x ; then
10634 eval "DEFAULT_$LINE"
10635 fi
10636
10637 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10638
10639 fi
10640
10641
10642 eval "$wx_cv_use_button"
10643 if test "x$cache" = xyes; then
10644 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10645 fi
10646
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_BUTTON = yes; then
10649 result=no
10650 else
10651 result=yes
10652 fi
10653 else
10654 result=$wxUSE_BUTTON
10655 fi
10656
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10659
10660
10661 enablestring=
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10665 defaultval=yes
10666 else
10667 defaultval=no
10668 fi
10669 fi
10670
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10673 # Check whether --enable-bmpbutton was given.
10674 if test "${enable_bmpbutton+set}" = set; then
10675 enableval=$enable_bmpbutton;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10678 else
10679 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10680 fi
10681 cache=yes
10682
10683 else
10684
10685 cache=no
10686 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10687 if test "x$LINE" != x ; then
10688 eval "DEFAULT_$LINE"
10689 fi
10690
10691 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10692
10693 fi
10694
10695
10696 eval "$wx_cv_use_bmpbutton"
10697 if test "x$cache" = xyes; then
10698 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10699 fi
10700
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_BMPBUTTON = yes; then
10703 result=no
10704 else
10705 result=yes
10706 fi
10707 else
10708 result=$wxUSE_BMPBUTTON
10709 fi
10710
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10713
10714
10715 enablestring=
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10719 defaultval=yes
10720 else
10721 defaultval=no
10722 fi
10723 fi
10724
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10727 # Check whether --enable-bmpcombobox was given.
10728 if test "${enable_bmpcombobox+set}" = set; then
10729 enableval=$enable_bmpcombobox;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10732 else
10733 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10734 fi
10735 cache=yes
10736
10737 else
10738
10739 cache=no
10740 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x ; then
10742 eval "DEFAULT_$LINE"
10743 fi
10744
10745 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10746
10747 fi
10748
10749
10750 eval "$wx_cv_use_bmpcombobox"
10751 if test "x$cache" = xyes; then
10752 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10753 fi
10754
10755 if test x"$enablestring" = xdisable; then
10756 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10757 result=no
10758 else
10759 result=yes
10760 fi
10761 else
10762 result=$wxUSE_BITMAPCOMBOBOX
10763 fi
10764
10765 { echo "$as_me:$LINENO: result: $result" >&5
10766 echo "${ECHO_T}$result" >&6; }
10767
10768
10769 enablestring=
10770 defaultval=$wxUSE_ALL_FEATURES
10771 if test -z "$defaultval"; then
10772 if test x"$enablestring" = xdisable; then
10773 defaultval=yes
10774 else
10775 defaultval=no
10776 fi
10777 fi
10778
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10781 # Check whether --enable-calendar was given.
10782 if test "${enable_calendar+set}" = set; then
10783 enableval=$enable_calendar;
10784 if test "$enableval" = yes; then
10785 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10786 else
10787 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10788 fi
10789 cache=yes
10790
10791 else
10792
10793 cache=no
10794 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 fi
10798
10799 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10800
10801 fi
10802
10803
10804 eval "$wx_cv_use_calendar"
10805 if test "x$cache" = xyes; then
10806 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10807 fi
10808
10809 if test x"$enablestring" = xdisable; then
10810 if test $wxUSE_CALCTRL = yes; then
10811 result=no
10812 else
10813 result=yes
10814 fi
10815 else
10816 result=$wxUSE_CALCTRL
10817 fi
10818
10819 { echo "$as_me:$LINENO: result: $result" >&5
10820 echo "${ECHO_T}$result" >&6; }
10821
10822
10823 enablestring=
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10827 defaultval=yes
10828 else
10829 defaultval=no
10830 fi
10831 fi
10832
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10835 # Check whether --enable-caret was given.
10836 if test "${enable_caret+set}" = set; then
10837 enableval=$enable_caret;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_caret='wxUSE_CARET=yes'
10840 else
10841 wx_cv_use_caret='wxUSE_CARET=no'
10842 fi
10843 cache=yes
10844
10845 else
10846
10847 cache=no
10848 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10851 fi
10852
10853 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10854
10855 fi
10856
10857
10858 eval "$wx_cv_use_caret"
10859 if test "x$cache" = xyes; then
10860 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10861 fi
10862
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_CARET = yes; then
10865 result=no
10866 else
10867 result=yes
10868 fi
10869 else
10870 result=$wxUSE_CARET
10871 fi
10872
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10889 # Check whether --enable-checkbox was given.
10890 if test "${enable_checkbox+set}" = set; then
10891 enableval=$enable_checkbox;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10894 else
10895 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10896 fi
10897 cache=yes
10898
10899 else
10900
10901 cache=no
10902 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10903 if test "x$LINE" != x ; then
10904 eval "DEFAULT_$LINE"
10905 fi
10906
10907 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10908
10909 fi
10910
10911
10912 eval "$wx_cv_use_checkbox"
10913 if test "x$cache" = xyes; then
10914 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10915 fi
10916
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_CHECKBOX = yes; then
10919 result=no
10920 else
10921 result=yes
10922 fi
10923 else
10924 result=$wxUSE_CHECKBOX
10925 fi
10926
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10929
10930
10931 enablestring=
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10935 defaultval=yes
10936 else
10937 defaultval=no
10938 fi
10939 fi
10940
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10943 # Check whether --enable-checklst was given.
10944 if test "${enable_checklst+set}" = set; then
10945 enableval=$enable_checklst;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10948 else
10949 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10950 fi
10951 cache=yes
10952
10953 else
10954
10955 cache=no
10956 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10957 if test "x$LINE" != x ; then
10958 eval "DEFAULT_$LINE"
10959 fi
10960
10961 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10962
10963 fi
10964
10965
10966 eval "$wx_cv_use_checklst"
10967 if test "x$cache" = xyes; then
10968 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10969 fi
10970
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_CHECKLST = yes; then
10973 result=no
10974 else
10975 result=yes
10976 fi
10977 else
10978 result=$wxUSE_CHECKLST
10979 fi
10980
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10997 # Check whether --enable-choice was given.
10998 if test "${enable_choice+set}" = set; then
10999 enableval=$enable_choice;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_choice='wxUSE_CHOICE=yes'
11002 else
11003 wx_cv_use_choice='wxUSE_CHOICE=no'
11004 fi
11005 cache=yes
11006
11007 else
11008
11009 cache=no
11010 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11011 if test "x$LINE" != x ; then
11012 eval "DEFAULT_$LINE"
11013 fi
11014
11015 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11016
11017 fi
11018
11019
11020 eval "$wx_cv_use_choice"
11021 if test "x$cache" = xyes; then
11022 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11023 fi
11024
11025 if test x"$enablestring" = xdisable; then
11026 if test $wxUSE_CHOICE = yes; then
11027 result=no
11028 else
11029 result=yes
11030 fi
11031 else
11032 result=$wxUSE_CHOICE
11033 fi
11034
11035 { echo "$as_me:$LINENO: result: $result" >&5
11036 echo "${ECHO_T}$result" >&6; }
11037
11038
11039 enablestring=
11040 defaultval=$wxUSE_ALL_FEATURES
11041 if test -z "$defaultval"; then
11042 if test x"$enablestring" = xdisable; then
11043 defaultval=yes
11044 else
11045 defaultval=no
11046 fi
11047 fi
11048
11049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11050 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11051 # Check whether --enable-choicebook was given.
11052 if test "${enable_choicebook+set}" = set; then
11053 enableval=$enable_choicebook;
11054 if test "$enableval" = yes; then
11055 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11056 else
11057 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11058 fi
11059 cache=yes
11060
11061 else
11062
11063 cache=no
11064 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11065 if test "x$LINE" != x ; then
11066 eval "DEFAULT_$LINE"
11067 fi
11068
11069 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11070
11071 fi
11072
11073
11074 eval "$wx_cv_use_choicebook"
11075 if test "x$cache" = xyes; then
11076 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11077 fi
11078
11079 if test x"$enablestring" = xdisable; then
11080 if test $wxUSE_CHOICEBOOK = yes; then
11081 result=no
11082 else
11083 result=yes
11084 fi
11085 else
11086 result=$wxUSE_CHOICEBOOK
11087 fi
11088
11089 { echo "$as_me:$LINENO: result: $result" >&5
11090 echo "${ECHO_T}$result" >&6; }
11091
11092
11093 enablestring=
11094 defaultval=$wxUSE_ALL_FEATURES
11095 if test -z "$defaultval"; then
11096 if test x"$enablestring" = xdisable; then
11097 defaultval=yes
11098 else
11099 defaultval=no
11100 fi
11101 fi
11102
11103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11104 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11105 # Check whether --enable-collpane was given.
11106 if test "${enable_collpane+set}" = set; then
11107 enableval=$enable_collpane;
11108 if test "$enableval" = yes; then
11109 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11110 else
11111 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11112 fi
11113 cache=yes
11114
11115 else
11116
11117 cache=no
11118 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11119 if test "x$LINE" != x ; then
11120 eval "DEFAULT_$LINE"
11121 fi
11122
11123 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11124
11125 fi
11126
11127
11128 eval "$wx_cv_use_collpane"
11129 if test "x$cache" = xyes; then
11130 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11131 fi
11132
11133 if test x"$enablestring" = xdisable; then
11134 if test $wxUSE_COLLPANE = yes; then
11135 result=no
11136 else
11137 result=yes
11138 fi
11139 else
11140 result=$wxUSE_COLLPANE
11141 fi
11142
11143 { echo "$as_me:$LINENO: result: $result" >&5
11144 echo "${ECHO_T}$result" >&6; }
11145
11146
11147 enablestring=
11148 defaultval=$wxUSE_ALL_FEATURES
11149 if test -z "$defaultval"; then
11150 if test x"$enablestring" = xdisable; then
11151 defaultval=yes
11152 else
11153 defaultval=no
11154 fi
11155 fi
11156
11157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11159 # Check whether --enable-colourpicker was given.
11160 if test "${enable_colourpicker+set}" = set; then
11161 enableval=$enable_colourpicker;
11162 if test "$enableval" = yes; then
11163 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11164 else
11165 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11166 fi
11167 cache=yes
11168
11169 else
11170
11171 cache=no
11172 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11173 if test "x$LINE" != x ; then
11174 eval "DEFAULT_$LINE"
11175 fi
11176
11177 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11178
11179 fi
11180
11181
11182 eval "$wx_cv_use_colourpicker"
11183 if test "x$cache" = xyes; then
11184 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11185 fi
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_COLOURPICKERCTRL = yes; then
11189 result=no
11190 else
11191 result=yes
11192 fi
11193 else
11194 result=$wxUSE_COLOURPICKERCTRL
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11213 # Check whether --enable-combobox was given.
11214 if test "${enable_combobox+set}" = set; then
11215 enableval=$enable_combobox;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11218 else
11219 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11220 fi
11221 cache=yes
11222
11223 else
11224
11225 cache=no
11226 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x ; then
11228 eval "DEFAULT_$LINE"
11229 fi
11230
11231 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11232
11233 fi
11234
11235
11236 eval "$wx_cv_use_combobox"
11237 if test "x$cache" = xyes; then
11238 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11239 fi
11240
11241 if test x"$enablestring" = xdisable; then
11242 if test $wxUSE_COMBOBOX = yes; then
11243 result=no
11244 else
11245 result=yes
11246 fi
11247 else
11248 result=$wxUSE_COMBOBOX
11249 fi
11250
11251 { echo "$as_me:$LINENO: result: $result" >&5
11252 echo "${ECHO_T}$result" >&6; }
11253
11254
11255 enablestring=
11256 defaultval=$wxUSE_ALL_FEATURES
11257 if test -z "$defaultval"; then
11258 if test x"$enablestring" = xdisable; then
11259 defaultval=yes
11260 else
11261 defaultval=no
11262 fi
11263 fi
11264
11265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11267 # Check whether --enable-comboctrl was given.
11268 if test "${enable_comboctrl+set}" = set; then
11269 enableval=$enable_comboctrl;
11270 if test "$enableval" = yes; then
11271 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11272 else
11273 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11274 fi
11275 cache=yes
11276
11277 else
11278
11279 cache=no
11280 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x ; then
11282 eval "DEFAULT_$LINE"
11283 fi
11284
11285 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11286
11287 fi
11288
11289
11290 eval "$wx_cv_use_comboctrl"
11291 if test "x$cache" = xyes; then
11292 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11293 fi
11294
11295 if test x"$enablestring" = xdisable; then
11296 if test $wxUSE_COMBOCTRL = yes; then
11297 result=no
11298 else
11299 result=yes
11300 fi
11301 else
11302 result=$wxUSE_COMBOCTRL
11303 fi
11304
11305 { echo "$as_me:$LINENO: result: $result" >&5
11306 echo "${ECHO_T}$result" >&6; }
11307
11308
11309 enablestring=
11310 defaultval=$wxUSE_ALL_FEATURES
11311 if test -z "$defaultval"; then
11312 if test x"$enablestring" = xdisable; then
11313 defaultval=yes
11314 else
11315 defaultval=no
11316 fi
11317 fi
11318
11319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11320 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11321 # Check whether --enable-datepick was given.
11322 if test "${enable_datepick+set}" = set; then
11323 enableval=$enable_datepick;
11324 if test "$enableval" = yes; then
11325 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11326 else
11327 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11328 fi
11329 cache=yes
11330
11331 else
11332
11333 cache=no
11334 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11335 if test "x$LINE" != x ; then
11336 eval "DEFAULT_$LINE"
11337 fi
11338
11339 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11340
11341 fi
11342
11343
11344 eval "$wx_cv_use_datepick"
11345 if test "x$cache" = xyes; then
11346 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11347 fi
11348
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_DATEPICKCTRL = yes; then
11351 result=no
11352 else
11353 result=yes
11354 fi
11355 else
11356 result=$wxUSE_DATEPICKCTRL
11357 fi
11358
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11361
11362
11363 enablestring=
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11367 defaultval=yes
11368 else
11369 defaultval=no
11370 fi
11371 fi
11372
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11375 # Check whether --enable-dirpicker was given.
11376 if test "${enable_dirpicker+set}" = set; then
11377 enableval=$enable_dirpicker;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11380 else
11381 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11382 fi
11383 cache=yes
11384
11385 else
11386
11387 cache=no
11388 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11389 if test "x$LINE" != x ; then
11390 eval "DEFAULT_$LINE"
11391 fi
11392
11393 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11394
11395 fi
11396
11397
11398 eval "$wx_cv_use_dirpicker"
11399 if test "x$cache" = xyes; then
11400 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11401 fi
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_DIRPICKERCTRL = yes; then
11405 result=no
11406 else
11407 result=yes
11408 fi
11409 else
11410 result=$wxUSE_DIRPICKERCTRL
11411 fi
11412
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11429 # Check whether --enable-display was given.
11430 if test "${enable_display+set}" = set; then
11431 enableval=$enable_display;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_display='wxUSE_DISPLAY=yes'
11434 else
11435 wx_cv_use_display='wxUSE_DISPLAY=no'
11436 fi
11437 cache=yes
11438
11439 else
11440
11441 cache=no
11442 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x ; then
11444 eval "DEFAULT_$LINE"
11445 fi
11446
11447 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11448
11449 fi
11450
11451
11452 eval "$wx_cv_use_display"
11453 if test "x$cache" = xyes; then
11454 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11455 fi
11456
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_DISPLAY = yes; then
11459 result=no
11460 else
11461 result=yes
11462 fi
11463 else
11464 result=$wxUSE_DISPLAY
11465 fi
11466
11467 { echo "$as_me:$LINENO: result: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11469
11470
11471 enablestring=
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11475 defaultval=yes
11476 else
11477 defaultval=no
11478 fi
11479 fi
11480
11481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11483 # Check whether --enable-detect_sm was given.
11484 if test "${enable_detect_sm+set}" = set; then
11485 enableval=$enable_detect_sm;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11488 else
11489 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11490 fi
11491 cache=yes
11492
11493 else
11494
11495 cache=no
11496 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11499 fi
11500
11501 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11502
11503 fi
11504
11505
11506 eval "$wx_cv_use_detect_sm"
11507 if test "x$cache" = xyes; then
11508 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11509 fi
11510
11511 if test x"$enablestring" = xdisable; then
11512 if test $wxUSE_DETECT_SM = yes; then
11513 result=no
11514 else
11515 result=yes
11516 fi
11517 else
11518 result=$wxUSE_DETECT_SM
11519 fi
11520
11521 { echo "$as_me:$LINENO: result: $result" >&5
11522 echo "${ECHO_T}$result" >&6; }
11523
11524
11525 enablestring=
11526 defaultval=$wxUSE_ALL_FEATURES
11527 if test -z "$defaultval"; then
11528 if test x"$enablestring" = xdisable; then
11529 defaultval=yes
11530 else
11531 defaultval=no
11532 fi
11533 fi
11534
11535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11536 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11537 # Check whether --enable-editablebox was given.
11538 if test "${enable_editablebox+set}" = set; then
11539 enableval=$enable_editablebox;
11540 if test "$enableval" = yes; then
11541 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11542 else
11543 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11544 fi
11545 cache=yes
11546
11547 else
11548
11549 cache=no
11550 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11553 fi
11554
11555 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_editablebox"
11561 if test "x$cache" = xyes; then
11562 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11563 fi
11564
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_EDITABLELISTBOX = yes; then
11567 result=no
11568 else
11569 result=yes
11570 fi
11571 else
11572 result=$wxUSE_EDITABLELISTBOX
11573 fi
11574
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11577
11578
11579 enablestring=
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11583 defaultval=yes
11584 else
11585 defaultval=no
11586 fi
11587 fi
11588
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11591 # Check whether --enable-filepicker was given.
11592 if test "${enable_filepicker+set}" = set; then
11593 enableval=$enable_filepicker;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11596 else
11597 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11598 fi
11599 cache=yes
11600
11601 else
11602
11603 cache=no
11604 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11607 fi
11608
11609 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11610
11611 fi
11612
11613
11614 eval "$wx_cv_use_filepicker"
11615 if test "x$cache" = xyes; then
11616 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_FILEPICKERCTRL = yes; then
11621 result=no
11622 else
11623 result=yes
11624 fi
11625 else
11626 result=$wxUSE_FILEPICKERCTRL
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}-fontpicker" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11645 # Check whether --enable-fontpicker was given.
11646 if test "${enable_fontpicker+set}" = set; then
11647 enableval=$enable_fontpicker;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11650 else
11651 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11652 fi
11653 cache=yes
11654
11655 else
11656
11657 cache=no
11658 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11661 fi
11662
11663 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11664
11665 fi
11666
11667
11668 eval "$wx_cv_use_fontpicker"
11669 if test "x$cache" = xyes; then
11670 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11671 fi
11672
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_FONTPICKERCTRL = yes; then
11675 result=no
11676 else
11677 result=yes
11678 fi
11679 else
11680 result=$wxUSE_FONTPICKERCTRL
11681 fi
11682
11683 { echo "$as_me:$LINENO: result: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11685
11686
11687 enablestring=
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11691 defaultval=yes
11692 else
11693 defaultval=no
11694 fi
11695 fi
11696
11697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11699 # Check whether --enable-gauge was given.
11700 if test "${enable_gauge+set}" = set; then
11701 enableval=$enable_gauge;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11704 else
11705 wx_cv_use_gauge='wxUSE_GAUGE=no'
11706 fi
11707 cache=yes
11708
11709 else
11710
11711 cache=no
11712 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11713 if test "x$LINE" != x ; then
11714 eval "DEFAULT_$LINE"
11715 fi
11716
11717 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11718
11719 fi
11720
11721
11722 eval "$wx_cv_use_gauge"
11723 if test "x$cache" = xyes; then
11724 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11725 fi
11726
11727 if test x"$enablestring" = xdisable; then
11728 if test $wxUSE_GAUGE = yes; then
11729 result=no
11730 else
11731 result=yes
11732 fi
11733 else
11734 result=$wxUSE_GAUGE
11735 fi
11736
11737 { echo "$as_me:$LINENO: result: $result" >&5
11738 echo "${ECHO_T}$result" >&6; }
11739
11740
11741 enablestring=
11742 defaultval=$wxUSE_ALL_FEATURES
11743 if test -z "$defaultval"; then
11744 if test x"$enablestring" = xdisable; then
11745 defaultval=yes
11746 else
11747 defaultval=no
11748 fi
11749 fi
11750
11751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11752 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11753 # Check whether --enable-grid was given.
11754 if test "${enable_grid+set}" = set; then
11755 enableval=$enable_grid;
11756 if test "$enableval" = yes; then
11757 wx_cv_use_grid='wxUSE_GRID=yes'
11758 else
11759 wx_cv_use_grid='wxUSE_GRID=no'
11760 fi
11761 cache=yes
11762
11763 else
11764
11765 cache=no
11766 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11769 fi
11770
11771 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11772
11773 fi
11774
11775
11776 eval "$wx_cv_use_grid"
11777 if test "x$cache" = xyes; then
11778 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11779 fi
11780
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_GRID = yes; then
11783 result=no
11784 else
11785 result=yes
11786 fi
11787 else
11788 result=$wxUSE_GRID
11789 fi
11790
11791 { echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11793
11794
11795 enablestring=
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11799 defaultval=yes
11800 else
11801 defaultval=no
11802 fi
11803 fi
11804
11805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11807 # Check whether --enable-dataviewctrl was given.
11808 if test "${enable_dataviewctrl+set}" = set; then
11809 enableval=$enable_dataviewctrl;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11812 else
11813 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11814 fi
11815 cache=yes
11816
11817 else
11818
11819 cache=no
11820 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11821 if test "x$LINE" != x ; then
11822 eval "DEFAULT_$LINE"
11823 fi
11824
11825 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11826
11827 fi
11828
11829
11830 eval "$wx_cv_use_dataviewctrl"
11831 if test "x$cache" = xyes; then
11832 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11833 fi
11834
11835 if test x"$enablestring" = xdisable; then
11836 if test $wxUSE_DATAVIEWCTRL = yes; then
11837 result=no
11838 else
11839 result=yes
11840 fi
11841 else
11842 result=$wxUSE_DATAVIEWCTRL
11843 fi
11844
11845 { echo "$as_me:$LINENO: result: $result" >&5
11846 echo "${ECHO_T}$result" >&6; }
11847
11848
11849 enablestring=
11850 defaultval=$wxUSE_ALL_FEATURES
11851 if test -z "$defaultval"; then
11852 if test x"$enablestring" = xdisable; then
11853 defaultval=yes
11854 else
11855 defaultval=no
11856 fi
11857 fi
11858
11859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11860 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11861 # Check whether --enable-hyperlink was given.
11862 if test "${enable_hyperlink+set}" = set; then
11863 enableval=$enable_hyperlink;
11864 if test "$enableval" = yes; then
11865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11866 else
11867 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11868 fi
11869 cache=yes
11870
11871 else
11872
11873 cache=no
11874 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11875 if test "x$LINE" != x ; then
11876 eval "DEFAULT_$LINE"
11877 fi
11878
11879 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11880
11881 fi
11882
11883
11884 eval "$wx_cv_use_hyperlink"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11887 fi
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_HYPERLINKCTRL = yes; then
11891 result=no
11892 else
11893 result=yes
11894 fi
11895 else
11896 result=$wxUSE_HYPERLINKCTRL
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11915 # Check whether --enable-imaglist was given.
11916 if test "${enable_imaglist+set}" = set; then
11917 enableval=$enable_imaglist;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11920 else
11921 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11922 fi
11923 cache=yes
11924
11925 else
11926
11927 cache=no
11928 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11931 fi
11932
11933 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11934
11935 fi
11936
11937
11938 eval "$wx_cv_use_imaglist"
11939 if test "x$cache" = xyes; then
11940 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11941 fi
11942
11943 if test x"$enablestring" = xdisable; then
11944 if test $wxUSE_IMAGLIST = yes; then
11945 result=no
11946 else
11947 result=yes
11948 fi
11949 else
11950 result=$wxUSE_IMAGLIST
11951 fi
11952
11953 { echo "$as_me:$LINENO: result: $result" >&5
11954 echo "${ECHO_T}$result" >&6; }
11955
11956
11957 enablestring=
11958 defaultval=$wxUSE_ALL_FEATURES
11959 if test -z "$defaultval"; then
11960 if test x"$enablestring" = xdisable; then
11961 defaultval=yes
11962 else
11963 defaultval=no
11964 fi
11965 fi
11966
11967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11968 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11969 # Check whether --enable-listbook was given.
11970 if test "${enable_listbook+set}" = set; then
11971 enableval=$enable_listbook;
11972 if test "$enableval" = yes; then
11973 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11974 else
11975 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11976 fi
11977 cache=yes
11978
11979 else
11980
11981 cache=no
11982 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11983 if test "x$LINE" != x ; then
11984 eval "DEFAULT_$LINE"
11985 fi
11986
11987 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11988
11989 fi
11990
11991
11992 eval "$wx_cv_use_listbook"
11993 if test "x$cache" = xyes; then
11994 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11995 fi
11996
11997 if test x"$enablestring" = xdisable; then
11998 if test $wxUSE_LISTBOOK = yes; then
11999 result=no
12000 else
12001 result=yes
12002 fi
12003 else
12004 result=$wxUSE_LISTBOOK
12005 fi
12006
12007 { echo "$as_me:$LINENO: result: $result" >&5
12008 echo "${ECHO_T}$result" >&6; }
12009
12010
12011 enablestring=
12012 defaultval=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x"$enablestring" = xdisable; then
12015 defaultval=yes
12016 else
12017 defaultval=no
12018 fi
12019 fi
12020
12021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12022 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12023 # Check whether --enable-listbox was given.
12024 if test "${enable_listbox+set}" = set; then
12025 enableval=$enable_listbox;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12028 else
12029 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12030 fi
12031 cache=yes
12032
12033 else
12034
12035 cache=no
12036 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12037 if test "x$LINE" != x ; then
12038 eval "DEFAULT_$LINE"
12039 fi
12040
12041 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12042
12043 fi
12044
12045
12046 eval "$wx_cv_use_listbox"
12047 if test "x$cache" = xyes; then
12048 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12049 fi
12050
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_LISTBOX = yes; then
12053 result=no
12054 else
12055 result=yes
12056 fi
12057 else
12058 result=$wxUSE_LISTBOX
12059 fi
12060
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12063
12064
12065 enablestring=
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12069 defaultval=yes
12070 else
12071 defaultval=no
12072 fi
12073 fi
12074
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12077 # Check whether --enable-listctrl was given.
12078 if test "${enable_listctrl+set}" = set; then
12079 enableval=$enable_listctrl;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12082 else
12083 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12084 fi
12085 cache=yes
12086
12087 else
12088
12089 cache=no
12090 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12091 if test "x$LINE" != x ; then
12092 eval "DEFAULT_$LINE"
12093 fi
12094
12095 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_listctrl"
12101 if test "x$cache" = xyes; then
12102 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12103 fi
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_LISTCTRL = yes; then
12107 result=no
12108 else
12109 result=yes
12110 fi
12111 else
12112 result=$wxUSE_LISTCTRL
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12131 # Check whether --enable-notebook was given.
12132 if test "${enable_notebook+set}" = set; then
12133 enableval=$enable_notebook;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12136 else
12137 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12138 fi
12139 cache=yes
12140
12141 else
12142
12143 cache=no
12144 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12145 if test "x$LINE" != x ; then
12146 eval "DEFAULT_$LINE"
12147 fi
12148
12149 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12150
12151 fi
12152
12153
12154 eval "$wx_cv_use_notebook"
12155 if test "x$cache" = xyes; then
12156 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12157 fi
12158
12159 if test x"$enablestring" = xdisable; then
12160 if test $wxUSE_NOTEBOOK = yes; then
12161 result=no
12162 else
12163 result=yes
12164 fi
12165 else
12166 result=$wxUSE_NOTEBOOK
12167 fi
12168
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 echo "${ECHO_T}$result" >&6; }
12171
12172
12173 enablestring=
12174 defaultval=$wxUSE_ALL_FEATURES
12175 if test -z "$defaultval"; then
12176 if test x"$enablestring" = xdisable; then
12177 defaultval=yes
12178 else
12179 defaultval=no
12180 fi
12181 fi
12182
12183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12184 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12185 # Check whether --enable-odcombobox was given.
12186 if test "${enable_odcombobox+set}" = set; then
12187 enableval=$enable_odcombobox;
12188 if test "$enableval" = yes; then
12189 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12190 else
12191 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12192 fi
12193 cache=yes
12194
12195 else
12196
12197 cache=no
12198 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12199 if test "x$LINE" != x ; then
12200 eval "DEFAULT_$LINE"
12201 fi
12202
12203 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12204
12205 fi
12206
12207
12208 eval "$wx_cv_use_odcombobox"
12209 if test "x$cache" = xyes; then
12210 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12211 fi
12212
12213 if test x"$enablestring" = xdisable; then
12214 if test $wxUSE_ODCOMBOBOX = yes; then
12215 result=no
12216 else
12217 result=yes
12218 fi
12219 else
12220 result=$wxUSE_ODCOMBOBOX
12221 fi
12222
12223 { echo "$as_me:$LINENO: result: $result" >&5
12224 echo "${ECHO_T}$result" >&6; }
12225
12226
12227 enablestring=
12228 defaultval=$wxUSE_ALL_FEATURES
12229 if test -z "$defaultval"; then
12230 if test x"$enablestring" = xdisable; then
12231 defaultval=yes
12232 else
12233 defaultval=no
12234 fi
12235 fi
12236
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12239 # Check whether --enable-radiobox was given.
12240 if test "${enable_radiobox+set}" = set; then
12241 enableval=$enable_radiobox;
12242 if test "$enableval" = yes; then
12243 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12244 else
12245 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12246 fi
12247 cache=yes
12248
12249 else
12250
12251 cache=no
12252 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12253 if test "x$LINE" != x ; then
12254 eval "DEFAULT_$LINE"
12255 fi
12256
12257 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12258
12259 fi
12260
12261
12262 eval "$wx_cv_use_radiobox"
12263 if test "x$cache" = xyes; then
12264 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12265 fi
12266
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_RADIOBOX = yes; then
12269 result=no
12270 else
12271 result=yes
12272 fi
12273 else
12274 result=$wxUSE_RADIOBOX
12275 fi
12276
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12279
12280
12281 enablestring=
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12285 defaultval=yes
12286 else
12287 defaultval=no
12288 fi
12289 fi
12290
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12293 # Check whether --enable-radiobtn was given.
12294 if test "${enable_radiobtn+set}" = set; then
12295 enableval=$enable_radiobtn;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12298 else
12299 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12300 fi
12301 cache=yes
12302
12303 else
12304
12305 cache=no
12306 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 fi
12310
12311 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12312
12313 fi
12314
12315
12316 eval "$wx_cv_use_radiobtn"
12317 if test "x$cache" = xyes; then
12318 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12319 fi
12320
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_RADIOBTN = yes; then
12323 result=no
12324 else
12325 result=yes
12326 fi
12327 else
12328 result=$wxUSE_RADIOBTN
12329 fi
12330
12331 { echo "$as_me:$LINENO: result: $result" >&5
12332 echo "${ECHO_T}$result" >&6; }
12333
12334
12335 enablestring=
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12339 defaultval=yes
12340 else
12341 defaultval=no
12342 fi
12343 fi
12344
12345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12346 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12347 # Check whether --enable-sash was given.
12348 if test "${enable_sash+set}" = set; then
12349 enableval=$enable_sash;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_sash='wxUSE_SASH=yes'
12352 else
12353 wx_cv_use_sash='wxUSE_SASH=no'
12354 fi
12355 cache=yes
12356
12357 else
12358
12359 cache=no
12360 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12361 if test "x$LINE" != x ; then
12362 eval "DEFAULT_$LINE"
12363 fi
12364
12365 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12366
12367 fi
12368
12369
12370 eval "$wx_cv_use_sash"
12371 if test "x$cache" = xyes; then
12372 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12373 fi
12374
12375 if test x"$enablestring" = xdisable; then
12376 if test $wxUSE_SASH = yes; then
12377 result=no
12378 else
12379 result=yes
12380 fi
12381 else
12382 result=$wxUSE_SASH
12383 fi
12384
12385 { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12387
12388
12389 enablestring=
12390 defaultval=$wxUSE_ALL_FEATURES
12391 if test -z "$defaultval"; then
12392 if test x"$enablestring" = xdisable; then
12393 defaultval=yes
12394 else
12395 defaultval=no
12396 fi
12397 fi
12398
12399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12401 # Check whether --enable-scrollbar was given.
12402 if test "${enable_scrollbar+set}" = set; then
12403 enableval=$enable_scrollbar;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12406 else
12407 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12408 fi
12409 cache=yes
12410
12411 else
12412
12413 cache=no
12414 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12415 if test "x$LINE" != x ; then
12416 eval "DEFAULT_$LINE"
12417 fi
12418
12419 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12420
12421 fi
12422
12423
12424 eval "$wx_cv_use_scrollbar"
12425 if test "x$cache" = xyes; then
12426 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12427 fi
12428
12429 if test x"$enablestring" = xdisable; then
12430 if test $wxUSE_SCROLLBAR = yes; then
12431 result=no
12432 else
12433 result=yes
12434 fi
12435 else
12436 result=$wxUSE_SCROLLBAR
12437 fi
12438
12439 { echo "$as_me:$LINENO: result: $result" >&5
12440 echo "${ECHO_T}$result" >&6; }
12441
12442
12443 enablestring=
12444 defaultval=$wxUSE_ALL_FEATURES
12445 if test -z "$defaultval"; then
12446 if test x"$enablestring" = xdisable; then
12447 defaultval=yes
12448 else
12449 defaultval=no
12450 fi
12451 fi
12452
12453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12454 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12455 # Check whether --enable-searchctrl was given.
12456 if test "${enable_searchctrl+set}" = set; then
12457 enableval=$enable_searchctrl;
12458 if test "$enableval" = yes; then
12459 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12460 else
12461 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12462 fi
12463 cache=yes
12464
12465 else
12466
12467 cache=no
12468 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12469 if test "x$LINE" != x ; then
12470 eval "DEFAULT_$LINE"
12471 fi
12472
12473 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12474
12475 fi
12476
12477
12478 eval "$wx_cv_use_searchctrl"
12479 if test "x$cache" = xyes; then
12480 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12481 fi
12482
12483 if test x"$enablestring" = xdisable; then
12484 if test $wxUSE_SEARCHCTRL = yes; then
12485 result=no
12486 else
12487 result=yes
12488 fi
12489 else
12490 result=$wxUSE_SEARCHCTRL
12491 fi
12492
12493 { echo "$as_me:$LINENO: result: $result" >&5
12494 echo "${ECHO_T}$result" >&6; }
12495
12496
12497 enablestring=
12498 defaultval=$wxUSE_ALL_FEATURES
12499 if test -z "$defaultval"; then
12500 if test x"$enablestring" = xdisable; then
12501 defaultval=yes
12502 else
12503 defaultval=no
12504 fi
12505 fi
12506
12507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12508 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12509 # Check whether --enable-slider was given.
12510 if test "${enable_slider+set}" = set; then
12511 enableval=$enable_slider;
12512 if test "$enableval" = yes; then
12513 wx_cv_use_slider='wxUSE_SLIDER=yes'
12514 else
12515 wx_cv_use_slider='wxUSE_SLIDER=no'
12516 fi
12517 cache=yes
12518
12519 else
12520
12521 cache=no
12522 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12523 if test "x$LINE" != x ; then
12524 eval "DEFAULT_$LINE"
12525 fi
12526
12527 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12528
12529 fi
12530
12531
12532 eval "$wx_cv_use_slider"
12533 if test "x$cache" = xyes; then
12534 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12535 fi
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_SLIDER = yes; then
12539 result=no
12540 else
12541 result=yes
12542 fi
12543 else
12544 result=$wxUSE_SLIDER
12545 fi
12546
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12563 # Check whether --enable-spinbtn was given.
12564 if test "${enable_spinbtn+set}" = set; then
12565 enableval=$enable_spinbtn;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12568 else
12569 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12570 fi
12571 cache=yes
12572
12573 else
12574
12575 cache=no
12576 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12577 if test "x$LINE" != x ; then
12578 eval "DEFAULT_$LINE"
12579 fi
12580
12581 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12582
12583 fi
12584
12585
12586 eval "$wx_cv_use_spinbtn"
12587 if test "x$cache" = xyes; then
12588 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12589 fi
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_SPINBTN = yes; then
12593 result=no
12594 else
12595 result=yes
12596 fi
12597 else
12598 result=$wxUSE_SPINBTN
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12617 # Check whether --enable-spinctrl was given.
12618 if test "${enable_spinctrl+set}" = set; then
12619 enableval=$enable_spinctrl;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12622 else
12623 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12624 fi
12625 cache=yes
12626
12627 else
12628
12629 cache=no
12630 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x ; then
12632 eval "DEFAULT_$LINE"
12633 fi
12634
12635 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_spinctrl"
12641 if test "x$cache" = xyes; then
12642 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12643 fi
12644
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_SPINCTRL = yes; then
12647 result=no
12648 else
12649 result=yes
12650 fi
12651 else
12652 result=$wxUSE_SPINCTRL
12653 fi
12654
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12657
12658
12659 enablestring=
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12663 defaultval=yes
12664 else
12665 defaultval=no
12666 fi
12667 fi
12668
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12671 # Check whether --enable-splitter was given.
12672 if test "${enable_splitter+set}" = set; then
12673 enableval=$enable_splitter;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12676 else
12677 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12678 fi
12679 cache=yes
12680
12681 else
12682
12683 cache=no
12684 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12685 if test "x$LINE" != x ; then
12686 eval "DEFAULT_$LINE"
12687 fi
12688
12689 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12690
12691 fi
12692
12693
12694 eval "$wx_cv_use_splitter"
12695 if test "x$cache" = xyes; then
12696 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12697 fi
12698
12699 if test x"$enablestring" = xdisable; then
12700 if test $wxUSE_SPLITTER = yes; then
12701 result=no
12702 else
12703 result=yes
12704 fi
12705 else
12706 result=$wxUSE_SPLITTER
12707 fi
12708
12709 { echo "$as_me:$LINENO: result: $result" >&5
12710 echo "${ECHO_T}$result" >&6; }
12711
12712
12713 enablestring=
12714 defaultval=$wxUSE_ALL_FEATURES
12715 if test -z "$defaultval"; then
12716 if test x"$enablestring" = xdisable; then
12717 defaultval=yes
12718 else
12719 defaultval=no
12720 fi
12721 fi
12722
12723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12724 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12725 # Check whether --enable-statbmp was given.
12726 if test "${enable_statbmp+set}" = set; then
12727 enableval=$enable_statbmp;
12728 if test "$enableval" = yes; then
12729 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12730 else
12731 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12732 fi
12733 cache=yes
12734
12735 else
12736
12737 cache=no
12738 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12739 if test "x$LINE" != x ; then
12740 eval "DEFAULT_$LINE"
12741 fi
12742
12743 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12744
12745 fi
12746
12747
12748 eval "$wx_cv_use_statbmp"
12749 if test "x$cache" = xyes; then
12750 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12751 fi
12752
12753 if test x"$enablestring" = xdisable; then
12754 if test $wxUSE_STATBMP = yes; then
12755 result=no
12756 else
12757 result=yes
12758 fi
12759 else
12760 result=$wxUSE_STATBMP
12761 fi
12762
12763 { echo "$as_me:$LINENO: result: $result" >&5
12764 echo "${ECHO_T}$result" >&6; }
12765
12766
12767 enablestring=
12768 defaultval=$wxUSE_ALL_FEATURES
12769 if test -z "$defaultval"; then
12770 if test x"$enablestring" = xdisable; then
12771 defaultval=yes
12772 else
12773 defaultval=no
12774 fi
12775 fi
12776
12777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12778 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12779 # Check whether --enable-statbox was given.
12780 if test "${enable_statbox+set}" = set; then
12781 enableval=$enable_statbox;
12782 if test "$enableval" = yes; then
12783 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12784 else
12785 wx_cv_use_statbox='wxUSE_STATBOX=no'
12786 fi
12787 cache=yes
12788
12789 else
12790
12791 cache=no
12792 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12793 if test "x$LINE" != x ; then
12794 eval "DEFAULT_$LINE"
12795 fi
12796
12797 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12798
12799 fi
12800
12801
12802 eval "$wx_cv_use_statbox"
12803 if test "x$cache" = xyes; then
12804 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12805 fi
12806
12807 if test x"$enablestring" = xdisable; then
12808 if test $wxUSE_STATBOX = yes; then
12809 result=no
12810 else
12811 result=yes
12812 fi
12813 else
12814 result=$wxUSE_STATBOX
12815 fi
12816
12817 { echo "$as_me:$LINENO: result: $result" >&5
12818 echo "${ECHO_T}$result" >&6; }
12819
12820
12821 enablestring=
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12825 defaultval=yes
12826 else
12827 defaultval=no
12828 fi
12829 fi
12830
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12833 # Check whether --enable-statline was given.
12834 if test "${enable_statline+set}" = set; then
12835 enableval=$enable_statline;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_statline='wxUSE_STATLINE=yes'
12838 else
12839 wx_cv_use_statline='wxUSE_STATLINE=no'
12840 fi
12841 cache=yes
12842
12843 else
12844
12845 cache=no
12846 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12847 if test "x$LINE" != x ; then
12848 eval "DEFAULT_$LINE"
12849 fi
12850
12851 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12852
12853 fi
12854
12855
12856 eval "$wx_cv_use_statline"
12857 if test "x$cache" = xyes; then
12858 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12859 fi
12860
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_STATLINE = yes; then
12863 result=no
12864 else
12865 result=yes
12866 fi
12867 else
12868 result=$wxUSE_STATLINE
12869 fi
12870
12871 { echo "$as_me:$LINENO: result: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12873
12874
12875 enablestring=
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12879 defaultval=yes
12880 else
12881 defaultval=no
12882 fi
12883 fi
12884
12885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12886 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12887 # Check whether --enable-stattext was given.
12888 if test "${enable_stattext+set}" = set; then
12889 enableval=$enable_stattext;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12892 else
12893 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12894 fi
12895 cache=yes
12896
12897 else
12898
12899 cache=no
12900 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12901 if test "x$LINE" != x ; then
12902 eval "DEFAULT_$LINE"
12903 fi
12904
12905 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12906
12907 fi
12908
12909
12910 eval "$wx_cv_use_stattext"
12911 if test "x$cache" = xyes; then
12912 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12913 fi
12914
12915 if test x"$enablestring" = xdisable; then
12916 if test $wxUSE_STATTEXT = yes; then
12917 result=no
12918 else
12919 result=yes
12920 fi
12921 else
12922 result=$wxUSE_STATTEXT
12923 fi
12924
12925 { echo "$as_me:$LINENO: result: $result" >&5
12926 echo "${ECHO_T}$result" >&6; }
12927
12928
12929 enablestring=
12930 defaultval=$wxUSE_ALL_FEATURES
12931 if test -z "$defaultval"; then
12932 if test x"$enablestring" = xdisable; then
12933 defaultval=yes
12934 else
12935 defaultval=no
12936 fi
12937 fi
12938
12939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12940 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12941 # Check whether --enable-statusbar was given.
12942 if test "${enable_statusbar+set}" = set; then
12943 enableval=$enable_statusbar;
12944 if test "$enableval" = yes; then
12945 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12946 else
12947 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12948 fi
12949 cache=yes
12950
12951 else
12952
12953 cache=no
12954 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12955 if test "x$LINE" != x ; then
12956 eval "DEFAULT_$LINE"
12957 fi
12958
12959 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12960
12961 fi
12962
12963
12964 eval "$wx_cv_use_statusbar"
12965 if test "x$cache" = xyes; then
12966 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12967 fi
12968
12969 if test x"$enablestring" = xdisable; then
12970 if test $wxUSE_STATUSBAR = yes; then
12971 result=no
12972 else
12973 result=yes
12974 fi
12975 else
12976 result=$wxUSE_STATUSBAR
12977 fi
12978
12979 { echo "$as_me:$LINENO: result: $result" >&5
12980 echo "${ECHO_T}$result" >&6; }
12981
12982
12983 enablestring=
12984 defaultval=$wxUSE_ALL_FEATURES
12985 if test -z "$defaultval"; then
12986 if test x"$enablestring" = xdisable; then
12987 defaultval=yes
12988 else
12989 defaultval=no
12990 fi
12991 fi
12992
12993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12994 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12995 # Check whether --enable-tabdialog was given.
12996 if test "${enable_tabdialog+set}" = set; then
12997 enableval=$enable_tabdialog;
12998 if test "$enableval" = yes; then
12999 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13000 else
13001 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13002 fi
13003 cache=yes
13004
13005 else
13006
13007 cache=no
13008 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13009 if test "x$LINE" != x ; then
13010 eval "DEFAULT_$LINE"
13011 fi
13012
13013 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13014
13015 fi
13016
13017
13018 eval "$wx_cv_use_tabdialog"
13019 if test "x$cache" = xyes; then
13020 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13021 fi
13022
13023 if test x"$enablestring" = xdisable; then
13024 if test $wxUSE_TAB_DIALOG = yes; then
13025 result=no
13026 else
13027 result=yes
13028 fi
13029 else
13030 result=$wxUSE_TAB_DIALOG
13031 fi
13032
13033 { echo "$as_me:$LINENO: result: $result" >&5
13034 echo "${ECHO_T}$result" >&6; }
13035
13036
13037 enablestring=
13038 defaultval=$wxUSE_ALL_FEATURES
13039 if test -z "$defaultval"; then
13040 if test x"$enablestring" = xdisable; then
13041 defaultval=yes
13042 else
13043 defaultval=no
13044 fi
13045 fi
13046
13047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13048 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13049 # Check whether --enable-taskbaricon was given.
13050 if test "${enable_taskbaricon+set}" = set; then
13051 enableval=$enable_taskbaricon;
13052 if test "$enableval" = yes; then
13053 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13054 else
13055 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13056 fi
13057 cache=yes
13058
13059 else
13060
13061 cache=no
13062 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13063 if test "x$LINE" != x ; then
13064 eval "DEFAULT_$LINE"
13065 fi
13066
13067 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13068
13069 fi
13070
13071
13072 eval "$wx_cv_use_taskbaricon"
13073 if test "x$cache" = xyes; then
13074 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13075 fi
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_TASKBARICON = yes; then
13079 result=no
13080 else
13081 result=yes
13082 fi
13083 else
13084 result=$wxUSE_TASKBARICON
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13103 # Check whether --enable-textctrl was given.
13104 if test "${enable_textctrl+set}" = set; then
13105 enableval=$enable_textctrl;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13108 else
13109 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13110 fi
13111 cache=yes
13112
13113 else
13114
13115 cache=no
13116 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13117 if test "x$LINE" != x ; then
13118 eval "DEFAULT_$LINE"
13119 fi
13120
13121 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_textctrl"
13127 if test "x$cache" = xyes; then
13128 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13129 fi
13130
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_TEXTCTRL = yes; then
13133 result=no
13134 else
13135 result=yes
13136 fi
13137 else
13138 result=$wxUSE_TEXTCTRL
13139 fi
13140
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13143
13144
13145 enablestring=
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13149 defaultval=yes
13150 else
13151 defaultval=no
13152 fi
13153 fi
13154
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13157 # Check whether --enable-togglebtn was given.
13158 if test "${enable_togglebtn+set}" = set; then
13159 enableval=$enable_togglebtn;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13162 else
13163 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13164 fi
13165 cache=yes
13166
13167 else
13168
13169 cache=no
13170 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13171 if test "x$LINE" != x ; then
13172 eval "DEFAULT_$LINE"
13173 fi
13174
13175 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13176
13177 fi
13178
13179
13180 eval "$wx_cv_use_togglebtn"
13181 if test "x$cache" = xyes; then
13182 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13183 fi
13184
13185 if test x"$enablestring" = xdisable; then
13186 if test $wxUSE_TOGGLEBTN = yes; then
13187 result=no
13188 else
13189 result=yes
13190 fi
13191 else
13192 result=$wxUSE_TOGGLEBTN
13193 fi
13194
13195 { echo "$as_me:$LINENO: result: $result" >&5
13196 echo "${ECHO_T}$result" >&6; }
13197
13198
13199 enablestring=
13200 defaultval=$wxUSE_ALL_FEATURES
13201 if test -z "$defaultval"; then
13202 if test x"$enablestring" = xdisable; then
13203 defaultval=yes
13204 else
13205 defaultval=no
13206 fi
13207 fi
13208
13209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13210 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13211 # Check whether --enable-toolbar was given.
13212 if test "${enable_toolbar+set}" = set; then
13213 enableval=$enable_toolbar;
13214 if test "$enableval" = yes; then
13215 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13216 else
13217 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13218 fi
13219 cache=yes
13220
13221 else
13222
13223 cache=no
13224 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13225 if test "x$LINE" != x ; then
13226 eval "DEFAULT_$LINE"
13227 fi
13228
13229 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13230
13231 fi
13232
13233
13234 eval "$wx_cv_use_toolbar"
13235 if test "x$cache" = xyes; then
13236 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13237 fi
13238
13239 if test x"$enablestring" = xdisable; then
13240 if test $wxUSE_TOOLBAR = yes; then
13241 result=no
13242 else
13243 result=yes
13244 fi
13245 else
13246 result=$wxUSE_TOOLBAR
13247 fi
13248
13249 { echo "$as_me:$LINENO: result: $result" >&5
13250 echo "${ECHO_T}$result" >&6; }
13251
13252
13253 enablestring=
13254 defaultval=$wxUSE_ALL_FEATURES
13255 if test -z "$defaultval"; then
13256 if test x"$enablestring" = xdisable; then
13257 defaultval=yes
13258 else
13259 defaultval=no
13260 fi
13261 fi
13262
13263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13264 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13265 # Check whether --enable-tbarnative was given.
13266 if test "${enable_tbarnative+set}" = set; then
13267 enableval=$enable_tbarnative;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13270 else
13271 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13272 fi
13273 cache=yes
13274
13275 else
13276
13277 cache=no
13278 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13279 if test "x$LINE" != x ; then
13280 eval "DEFAULT_$LINE"
13281 fi
13282
13283 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13284
13285 fi
13286
13287
13288 eval "$wx_cv_use_tbarnative"
13289 if test "x$cache" = xyes; then
13290 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13291 fi
13292
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13295 result=no
13296 else
13297 result=yes
13298 fi
13299 else
13300 result=$wxUSE_TOOLBAR_NATIVE
13301 fi
13302
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13305
13306
13307 enablestring=
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13311 defaultval=yes
13312 else
13313 defaultval=no
13314 fi
13315 fi
13316
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13319 # Check whether --enable-treebook was given.
13320 if test "${enable_treebook+set}" = set; then
13321 enableval=$enable_treebook;
13322 if test "$enableval" = yes; then
13323 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13324 else
13325 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13326 fi
13327 cache=yes
13328
13329 else
13330
13331 cache=no
13332 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13333 if test "x$LINE" != x ; then
13334 eval "DEFAULT_$LINE"
13335 fi
13336
13337 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13338
13339 fi
13340
13341
13342 eval "$wx_cv_use_treebook"
13343 if test "x$cache" = xyes; then
13344 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13345 fi
13346
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_TREEBOOK = yes; then
13349 result=no
13350 else
13351 result=yes
13352 fi
13353 else
13354 result=$wxUSE_TREEBOOK
13355 fi
13356
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13373 # Check whether --enable-toolbook was given.
13374 if test "${enable_toolbook+set}" = set; then
13375 enableval=$enable_toolbook;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13378 else
13379 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13380 fi
13381 cache=yes
13382
13383 else
13384
13385 cache=no
13386 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13387 if test "x$LINE" != x ; then
13388 eval "DEFAULT_$LINE"
13389 fi
13390
13391 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13392
13393 fi
13394
13395
13396 eval "$wx_cv_use_toolbook"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13399 fi
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_TOOLBOOK = yes; then
13403 result=no
13404 else
13405 result=yes
13406 fi
13407 else
13408 result=$wxUSE_TOOLBOOK
13409 fi
13410
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13427 # Check whether --enable-treectrl was given.
13428 if test "${enable_treectrl+set}" = set; then
13429 enableval=$enable_treectrl;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13432 else
13433 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13434 fi
13435 cache=yes
13436
13437 else
13438
13439 cache=no
13440 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13443 fi
13444
13445 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13446
13447 fi
13448
13449
13450 eval "$wx_cv_use_treectrl"
13451 if test "x$cache" = xyes; then
13452 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13453 fi
13454
13455 if test x"$enablestring" = xdisable; then
13456 if test $wxUSE_TREECTRL = yes; then
13457 result=no
13458 else
13459 result=yes
13460 fi
13461 else
13462 result=$wxUSE_TREECTRL
13463 fi
13464
13465 { echo "$as_me:$LINENO: result: $result" >&5
13466 echo "${ECHO_T}$result" >&6; }
13467
13468
13469 enablestring=
13470 defaultval=$wxUSE_ALL_FEATURES
13471 if test -z "$defaultval"; then
13472 if test x"$enablestring" = xdisable; then
13473 defaultval=yes
13474 else
13475 defaultval=no
13476 fi
13477 fi
13478
13479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13480 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13481 # Check whether --enable-tipwindow was given.
13482 if test "${enable_tipwindow+set}" = set; then
13483 enableval=$enable_tipwindow;
13484 if test "$enableval" = yes; then
13485 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13486 else
13487 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13488 fi
13489 cache=yes
13490
13491 else
13492
13493 cache=no
13494 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13495 if test "x$LINE" != x ; then
13496 eval "DEFAULT_$LINE"
13497 fi
13498
13499 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13500
13501 fi
13502
13503
13504 eval "$wx_cv_use_tipwindow"
13505 if test "x$cache" = xyes; then
13506 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13507 fi
13508
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_TIPWINDOW = yes; then
13511 result=no
13512 else
13513 result=yes
13514 fi
13515 else
13516 result=$wxUSE_TIPWINDOW
13517 fi
13518
13519 { echo "$as_me:$LINENO: result: $result" >&5
13520 echo "${ECHO_T}$result" >&6; }
13521
13522
13523 enablestring=
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13527 defaultval=yes
13528 else
13529 defaultval=no
13530 fi
13531 fi
13532
13533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13534 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13535 # Check whether --enable-popupwin was given.
13536 if test "${enable_popupwin+set}" = set; then
13537 enableval=$enable_popupwin;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13540 else
13541 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13542 fi
13543 cache=yes
13544
13545 else
13546
13547 cache=no
13548 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13549 if test "x$LINE" != x ; then
13550 eval "DEFAULT_$LINE"
13551 fi
13552
13553 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13554
13555 fi
13556
13557
13558 eval "$wx_cv_use_popupwin"
13559 if test "x$cache" = xyes; then
13560 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13561 fi
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_POPUPWIN = yes; then
13565 result=no
13566 else
13567 result=yes
13568 fi
13569 else
13570 result=$wxUSE_POPUPWIN
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577
13578
13579 enablestring=
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13583 defaultval=yes
13584 else
13585 defaultval=no
13586 fi
13587 fi
13588
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13591 # Check whether --enable-commondlg was given.
13592 if test "${enable_commondlg+set}" = set; then
13593 enableval=$enable_commondlg;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13596 else
13597 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13598 fi
13599 cache=yes
13600
13601 else
13602
13603 cache=no
13604 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13607 fi
13608
13609 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13610
13611 fi
13612
13613
13614 eval "$wx_cv_use_commondlg"
13615 if test "x$cache" = xyes; then
13616 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13617 fi
13618
13619 if test x"$enablestring" = xdisable; then
13620 if test $wxUSE_COMMONDLGS = yes; then
13621 result=no
13622 else
13623 result=yes
13624 fi
13625 else
13626 result=$wxUSE_COMMONDLGS
13627 fi
13628
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
13631
13632
13633 enablestring=
13634 defaultval=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x"$enablestring" = xdisable; then
13637 defaultval=yes
13638 else
13639 defaultval=no
13640 fi
13641 fi
13642
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13645 # Check whether --enable-aboutdlg was given.
13646 if test "${enable_aboutdlg+set}" = set; then
13647 enableval=$enable_aboutdlg;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13650 else
13651 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13652 fi
13653 cache=yes
13654
13655 else
13656
13657 cache=no
13658 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13659 if test "x$LINE" != x ; then
13660 eval "DEFAULT_$LINE"
13661 fi
13662
13663 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13664
13665 fi
13666
13667
13668 eval "$wx_cv_use_aboutdlg"
13669 if test "x$cache" = xyes; then
13670 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13671 fi
13672
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_ABOUTDLG = yes; then
13675 result=no
13676 else
13677 result=yes
13678 fi
13679 else
13680 result=$wxUSE_ABOUTDLG
13681 fi
13682
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13685
13686
13687 enablestring=
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13691 defaultval=yes
13692 else
13693 defaultval=no
13694 fi
13695 fi
13696
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13699 # Check whether --enable-choicedlg was given.
13700 if test "${enable_choicedlg+set}" = set; then
13701 enableval=$enable_choicedlg;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13704 else
13705 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13706 fi
13707 cache=yes
13708
13709 else
13710
13711 cache=no
13712 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13713 if test "x$LINE" != x ; then
13714 eval "DEFAULT_$LINE"
13715 fi
13716
13717 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13718
13719 fi
13720
13721
13722 eval "$wx_cv_use_choicedlg"
13723 if test "x$cache" = xyes; then
13724 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13725 fi
13726
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_CHOICEDLG = yes; then
13729 result=no
13730 else
13731 result=yes
13732 fi
13733 else
13734 result=$wxUSE_CHOICEDLG
13735 fi
13736
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13739
13740
13741 enablestring=
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13745 defaultval=yes
13746 else
13747 defaultval=no
13748 fi
13749 fi
13750
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13753 # Check whether --enable-coldlg was given.
13754 if test "${enable_coldlg+set}" = set; then
13755 enableval=$enable_coldlg;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13758 else
13759 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13760 fi
13761 cache=yes
13762
13763 else
13764
13765 cache=no
13766 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13767 if test "x$LINE" != x ; then
13768 eval "DEFAULT_$LINE"
13769 fi
13770
13771 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13772
13773 fi
13774
13775
13776 eval "$wx_cv_use_coldlg"
13777 if test "x$cache" = xyes; then
13778 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13779 fi
13780
13781 if test x"$enablestring" = xdisable; then
13782 if test $wxUSE_COLOURDLG = yes; then
13783 result=no
13784 else
13785 result=yes
13786 fi
13787 else
13788 result=$wxUSE_COLOURDLG
13789 fi
13790
13791 { echo "$as_me:$LINENO: result: $result" >&5
13792 echo "${ECHO_T}$result" >&6; }
13793
13794
13795 enablestring=
13796 defaultval=$wxUSE_ALL_FEATURES
13797 if test -z "$defaultval"; then
13798 if test x"$enablestring" = xdisable; then
13799 defaultval=yes
13800 else
13801 defaultval=no
13802 fi
13803 fi
13804
13805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13806 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13807 # Check whether --enable-filedlg was given.
13808 if test "${enable_filedlg+set}" = set; then
13809 enableval=$enable_filedlg;
13810 if test "$enableval" = yes; then
13811 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13812 else
13813 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13814 fi
13815 cache=yes
13816
13817 else
13818
13819 cache=no
13820 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13821 if test "x$LINE" != x ; then
13822 eval "DEFAULT_$LINE"
13823 fi
13824
13825 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_filedlg"
13831 if test "x$cache" = xyes; then
13832 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13833 fi
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_FILEDLG = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_FILEDLG
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 enablestring=
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13853 defaultval=yes
13854 else
13855 defaultval=no
13856 fi
13857 fi
13858
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13861 # Check whether --enable-finddlg was given.
13862 if test "${enable_finddlg+set}" = set; then
13863 enableval=$enable_finddlg;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13866 else
13867 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13868 fi
13869 cache=yes
13870
13871 else
13872
13873 cache=no
13874 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13877 fi
13878
13879 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13880
13881 fi
13882
13883
13884 eval "$wx_cv_use_finddlg"
13885 if test "x$cache" = xyes; then
13886 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13887 fi
13888
13889 if test x"$enablestring" = xdisable; then
13890 if test $wxUSE_FINDREPLDLG = yes; then
13891 result=no
13892 else
13893 result=yes
13894 fi
13895 else
13896 result=$wxUSE_FINDREPLDLG
13897 fi
13898
13899 { echo "$as_me:$LINENO: result: $result" >&5
13900 echo "${ECHO_T}$result" >&6; }
13901
13902
13903 enablestring=
13904 defaultval=$wxUSE_ALL_FEATURES
13905 if test -z "$defaultval"; then
13906 if test x"$enablestring" = xdisable; then
13907 defaultval=yes
13908 else
13909 defaultval=no
13910 fi
13911 fi
13912
13913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13914 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13915 # Check whether --enable-fontdlg was given.
13916 if test "${enable_fontdlg+set}" = set; then
13917 enableval=$enable_fontdlg;
13918 if test "$enableval" = yes; then
13919 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13920 else
13921 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13922 fi
13923 cache=yes
13924
13925 else
13926
13927 cache=no
13928 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13929 if test "x$LINE" != x ; then
13930 eval "DEFAULT_$LINE"
13931 fi
13932
13933 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13934
13935 fi
13936
13937
13938 eval "$wx_cv_use_fontdlg"
13939 if test "x$cache" = xyes; then
13940 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13941 fi
13942
13943 if test x"$enablestring" = xdisable; then
13944 if test $wxUSE_FONTDLG = yes; then
13945 result=no
13946 else
13947 result=yes
13948 fi
13949 else
13950 result=$wxUSE_FONTDLG
13951 fi
13952
13953 { echo "$as_me:$LINENO: result: $result" >&5
13954 echo "${ECHO_T}$result" >&6; }
13955
13956
13957 enablestring=
13958 defaultval=$wxUSE_ALL_FEATURES
13959 if test -z "$defaultval"; then
13960 if test x"$enablestring" = xdisable; then
13961 defaultval=yes
13962 else
13963 defaultval=no
13964 fi
13965 fi
13966
13967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13968 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13969 # Check whether --enable-dirdlg was given.
13970 if test "${enable_dirdlg+set}" = set; then
13971 enableval=$enable_dirdlg;
13972 if test "$enableval" = yes; then
13973 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13974 else
13975 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13976 fi
13977 cache=yes
13978
13979 else
13980
13981 cache=no
13982 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13983 if test "x$LINE" != x ; then
13984 eval "DEFAULT_$LINE"
13985 fi
13986
13987 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13988
13989 fi
13990
13991
13992 eval "$wx_cv_use_dirdlg"
13993 if test "x$cache" = xyes; then
13994 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13995 fi
13996
13997 if test x"$enablestring" = xdisable; then
13998 if test $wxUSE_DIRDLG = yes; then
13999 result=no
14000 else
14001 result=yes
14002 fi
14003 else
14004 result=$wxUSE_DIRDLG
14005 fi
14006
14007 { echo "$as_me:$LINENO: result: $result" >&5
14008 echo "${ECHO_T}$result" >&6; }
14009
14010
14011 enablestring=
14012 defaultval=$wxUSE_ALL_FEATURES
14013 if test -z "$defaultval"; then
14014 if test x"$enablestring" = xdisable; then
14015 defaultval=yes
14016 else
14017 defaultval=no
14018 fi
14019 fi
14020
14021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14022 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14023 # Check whether --enable-msgdlg was given.
14024 if test "${enable_msgdlg+set}" = set; then
14025 enableval=$enable_msgdlg;
14026 if test "$enableval" = yes; then
14027 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14028 else
14029 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14030 fi
14031 cache=yes
14032
14033 else
14034
14035 cache=no
14036 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14037 if test "x$LINE" != x ; then
14038 eval "DEFAULT_$LINE"
14039 fi
14040
14041 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14042
14043 fi
14044
14045
14046 eval "$wx_cv_use_msgdlg"
14047 if test "x$cache" = xyes; then
14048 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14049 fi
14050
14051 if test x"$enablestring" = xdisable; then
14052 if test $wxUSE_MSGDLG = yes; then
14053 result=no
14054 else
14055 result=yes
14056 fi
14057 else
14058 result=$wxUSE_MSGDLG
14059 fi
14060
14061 { echo "$as_me:$LINENO: result: $result" >&5
14062 echo "${ECHO_T}$result" >&6; }
14063
14064
14065 enablestring=
14066 defaultval=$wxUSE_ALL_FEATURES
14067 if test -z "$defaultval"; then
14068 if test x"$enablestring" = xdisable; then
14069 defaultval=yes
14070 else
14071 defaultval=no
14072 fi
14073 fi
14074
14075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14076 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14077 # Check whether --enable-numberdlg was given.
14078 if test "${enable_numberdlg+set}" = set; then
14079 enableval=$enable_numberdlg;
14080 if test "$enableval" = yes; then
14081 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14082 else
14083 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14084 fi
14085 cache=yes
14086
14087 else
14088
14089 cache=no
14090 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14091 if test "x$LINE" != x ; then
14092 eval "DEFAULT_$LINE"
14093 fi
14094
14095 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14096
14097 fi
14098
14099
14100 eval "$wx_cv_use_numberdlg"
14101 if test "x$cache" = xyes; then
14102 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14103 fi
14104
14105 if test x"$enablestring" = xdisable; then
14106 if test $wxUSE_NUMBERDLG = yes; then
14107 result=no
14108 else
14109 result=yes
14110 fi
14111 else
14112 result=$wxUSE_NUMBERDLG
14113 fi
14114
14115 { echo "$as_me:$LINENO: result: $result" >&5
14116 echo "${ECHO_T}$result" >&6; }
14117
14118
14119 enablestring=
14120 defaultval=$wxUSE_ALL_FEATURES
14121 if test -z "$defaultval"; then
14122 if test x"$enablestring" = xdisable; then
14123 defaultval=yes
14124 else
14125 defaultval=no
14126 fi
14127 fi
14128
14129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14130 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14131 # Check whether --enable-splash was given.
14132 if test "${enable_splash+set}" = set; then
14133 enableval=$enable_splash;
14134 if test "$enableval" = yes; then
14135 wx_cv_use_splash='wxUSE_SPLASH=yes'
14136 else
14137 wx_cv_use_splash='wxUSE_SPLASH=no'
14138 fi
14139 cache=yes
14140
14141 else
14142
14143 cache=no
14144 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14145 if test "x$LINE" != x ; then
14146 eval "DEFAULT_$LINE"
14147 fi
14148
14149 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14150
14151 fi
14152
14153
14154 eval "$wx_cv_use_splash"
14155 if test "x$cache" = xyes; then
14156 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14157 fi
14158
14159 if test x"$enablestring" = xdisable; then
14160 if test $wxUSE_SPLASH = yes; then
14161 result=no
14162 else
14163 result=yes
14164 fi
14165 else
14166 result=$wxUSE_SPLASH
14167 fi
14168
14169 { echo "$as_me:$LINENO: result: $result" >&5
14170 echo "${ECHO_T}$result" >&6; }
14171
14172
14173 enablestring=
14174 defaultval=$wxUSE_ALL_FEATURES
14175 if test -z "$defaultval"; then
14176 if test x"$enablestring" = xdisable; then
14177 defaultval=yes
14178 else
14179 defaultval=no
14180 fi
14181 fi
14182
14183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14184 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14185 # Check whether --enable-textdlg was given.
14186 if test "${enable_textdlg+set}" = set; then
14187 enableval=$enable_textdlg;
14188 if test "$enableval" = yes; then
14189 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14190 else
14191 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14192 fi
14193 cache=yes
14194
14195 else
14196
14197 cache=no
14198 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14199 if test "x$LINE" != x ; then
14200 eval "DEFAULT_$LINE"
14201 fi
14202
14203 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14204
14205 fi
14206
14207
14208 eval "$wx_cv_use_textdlg"
14209 if test "x$cache" = xyes; then
14210 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14211 fi
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TEXTDLG = yes; then
14215 result=no
14216 else
14217 result=yes
14218 fi
14219 else
14220 result=$wxUSE_TEXTDLG
14221 fi
14222
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14239 # Check whether --enable-tipdlg was given.
14240 if test "${enable_tipdlg+set}" = set; then
14241 enableval=$enable_tipdlg;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14244 else
14245 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14246 fi
14247 cache=yes
14248
14249 else
14250
14251 cache=no
14252 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14253 if test "x$LINE" != x ; then
14254 eval "DEFAULT_$LINE"
14255 fi
14256
14257 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14258
14259 fi
14260
14261
14262 eval "$wx_cv_use_tipdlg"
14263 if test "x$cache" = xyes; then
14264 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14265 fi
14266
14267 if test x"$enablestring" = xdisable; then
14268 if test $wxUSE_STARTUP_TIPS = yes; then
14269 result=no
14270 else
14271 result=yes
14272 fi
14273 else
14274 result=$wxUSE_STARTUP_TIPS
14275 fi
14276
14277 { echo "$as_me:$LINENO: result: $result" >&5
14278 echo "${ECHO_T}$result" >&6; }
14279
14280
14281 enablestring=
14282 defaultval=$wxUSE_ALL_FEATURES
14283 if test -z "$defaultval"; then
14284 if test x"$enablestring" = xdisable; then
14285 defaultval=yes
14286 else
14287 defaultval=no
14288 fi
14289 fi
14290
14291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14292 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14293 # Check whether --enable-progressdlg was given.
14294 if test "${enable_progressdlg+set}" = set; then
14295 enableval=$enable_progressdlg;
14296 if test "$enableval" = yes; then
14297 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14298 else
14299 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14300 fi
14301 cache=yes
14302
14303 else
14304
14305 cache=no
14306 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14307 if test "x$LINE" != x ; then
14308 eval "DEFAULT_$LINE"
14309 fi
14310
14311 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14312
14313 fi
14314
14315
14316 eval "$wx_cv_use_progressdlg"
14317 if test "x$cache" = xyes; then
14318 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14319 fi
14320
14321 if test x"$enablestring" = xdisable; then
14322 if test $wxUSE_PROGRESSDLG = yes; then
14323 result=no
14324 else
14325 result=yes
14326 fi
14327 else
14328 result=$wxUSE_PROGRESSDLG
14329 fi
14330
14331 { echo "$as_me:$LINENO: result: $result" >&5
14332 echo "${ECHO_T}$result" >&6; }
14333
14334
14335 enablestring=
14336 defaultval=$wxUSE_ALL_FEATURES
14337 if test -z "$defaultval"; then
14338 if test x"$enablestring" = xdisable; then
14339 defaultval=yes
14340 else
14341 defaultval=no
14342 fi
14343 fi
14344
14345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14346 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14347 # Check whether --enable-wizarddlg was given.
14348 if test "${enable_wizarddlg+set}" = set; then
14349 enableval=$enable_wizarddlg;
14350 if test "$enableval" = yes; then
14351 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14352 else
14353 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14354 fi
14355 cache=yes
14356
14357 else
14358
14359 cache=no
14360 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14361 if test "x$LINE" != x ; then
14362 eval "DEFAULT_$LINE"
14363 fi
14364
14365 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14366
14367 fi
14368
14369
14370 eval "$wx_cv_use_wizarddlg"
14371 if test "x$cache" = xyes; then
14372 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14373 fi
14374
14375 if test x"$enablestring" = xdisable; then
14376 if test $wxUSE_WIZARDDLG = yes; then
14377 result=no
14378 else
14379 result=yes
14380 fi
14381 else
14382 result=$wxUSE_WIZARDDLG
14383 fi
14384
14385 { echo "$as_me:$LINENO: result: $result" >&5
14386 echo "${ECHO_T}$result" >&6; }
14387
14388
14389
14390
14391 enablestring=
14392 defaultval=$wxUSE_ALL_FEATURES
14393 if test -z "$defaultval"; then
14394 if test x"$enablestring" = xdisable; then
14395 defaultval=yes
14396 else
14397 defaultval=no
14398 fi
14399 fi
14400
14401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14402 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14403 # Check whether --enable-menus was given.
14404 if test "${enable_menus+set}" = set; then
14405 enableval=$enable_menus;
14406 if test "$enableval" = yes; then
14407 wx_cv_use_menus='wxUSE_MENUS=yes'
14408 else
14409 wx_cv_use_menus='wxUSE_MENUS=no'
14410 fi
14411 cache=yes
14412
14413 else
14414
14415 cache=no
14416 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14417 if test "x$LINE" != x ; then
14418 eval "DEFAULT_$LINE"
14419 fi
14420
14421 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14422
14423 fi
14424
14425
14426 eval "$wx_cv_use_menus"
14427 if test "x$cache" = xyes; then
14428 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14429 fi
14430
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_MENUS = yes; then
14433 result=no
14434 else
14435 result=yes
14436 fi
14437 else
14438 result=$wxUSE_MENUS
14439 fi
14440
14441 { echo "$as_me:$LINENO: result: $result" >&5
14442 echo "${ECHO_T}$result" >&6; }
14443
14444
14445 enablestring=
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14449 defaultval=yes
14450 else
14451 defaultval=no
14452 fi
14453 fi
14454
14455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14456 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14457 # Check whether --enable-miniframe was given.
14458 if test "${enable_miniframe+set}" = set; then
14459 enableval=$enable_miniframe;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14462 else
14463 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14464 fi
14465 cache=yes
14466
14467 else
14468
14469 cache=no
14470 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14471 if test "x$LINE" != x ; then
14472 eval "DEFAULT_$LINE"
14473 fi
14474
14475 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14476
14477 fi
14478
14479
14480 eval "$wx_cv_use_miniframe"
14481 if test "x$cache" = xyes; then
14482 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14483 fi
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_MINIFRAME = yes; then
14487 result=no
14488 else
14489 result=yes
14490 fi
14491 else
14492 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14511 # Check whether --enable-tooltips was given.
14512 if test "${enable_tooltips+set}" = set; then
14513 enableval=$enable_tooltips;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14516 else
14517 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14518 fi
14519 cache=yes
14520
14521 else
14522
14523 cache=no
14524 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14525 if test "x$LINE" != x ; then
14526 eval "DEFAULT_$LINE"
14527 fi
14528
14529 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14530
14531 fi
14532
14533
14534 eval "$wx_cv_use_tooltips"
14535 if test "x$cache" = xyes; then
14536 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14537 fi
14538
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_TOOLTIPS = yes; then
14541 result=no
14542 else
14543 result=yes
14544 fi
14545 else
14546 result=$wxUSE_TOOLTIPS
14547 fi
14548
14549 { echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6; }
14551
14552
14553 enablestring=
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14557 defaultval=yes
14558 else
14559 defaultval=no
14560 fi
14561 fi
14562
14563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14564 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14565 # Check whether --enable-splines was given.
14566 if test "${enable_splines+set}" = set; then
14567 enableval=$enable_splines;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_splines='wxUSE_SPLINES=yes'
14570 else
14571 wx_cv_use_splines='wxUSE_SPLINES=no'
14572 fi
14573 cache=yes
14574
14575 else
14576
14577 cache=no
14578 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14579 if test "x$LINE" != x ; then
14580 eval "DEFAULT_$LINE"
14581 fi
14582
14583 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14584
14585 fi
14586
14587
14588 eval "$wx_cv_use_splines"
14589 if test "x$cache" = xyes; then
14590 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14591 fi
14592
14593 if test x"$enablestring" = xdisable; then
14594 if test $wxUSE_SPLINES = yes; then
14595 result=no
14596 else
14597 result=yes
14598 fi
14599 else
14600 result=$wxUSE_SPLINES
14601 fi
14602
14603 { echo "$as_me:$LINENO: result: $result" >&5
14604 echo "${ECHO_T}$result" >&6; }
14605
14606
14607 enablestring=
14608 defaultval=$wxUSE_ALL_FEATURES
14609 if test -z "$defaultval"; then
14610 if test x"$enablestring" = xdisable; then
14611 defaultval=yes
14612 else
14613 defaultval=no
14614 fi
14615 fi
14616
14617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14618 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14619 # Check whether --enable-mousewheel was given.
14620 if test "${enable_mousewheel+set}" = set; then
14621 enableval=$enable_mousewheel;
14622 if test "$enableval" = yes; then
14623 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14624 else
14625 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14626 fi
14627 cache=yes
14628
14629 else
14630
14631 cache=no
14632 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14633 if test "x$LINE" != x ; then
14634 eval "DEFAULT_$LINE"
14635 fi
14636
14637 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14638
14639 fi
14640
14641
14642 eval "$wx_cv_use_mousewheel"
14643 if test "x$cache" = xyes; then
14644 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14645 fi
14646
14647 if test x"$enablestring" = xdisable; then
14648 if test $wxUSE_MOUSEWHEEL = yes; then
14649 result=no
14650 else
14651 result=yes
14652 fi
14653 else
14654 result=$wxUSE_MOUSEWHEEL
14655 fi
14656
14657 { echo "$as_me:$LINENO: result: $result" >&5
14658 echo "${ECHO_T}$result" >&6; }
14659
14660
14661 enablestring=
14662 defaultval=$wxUSE_ALL_FEATURES
14663 if test -z "$defaultval"; then
14664 if test x"$enablestring" = xdisable; then
14665 defaultval=yes
14666 else
14667 defaultval=no
14668 fi
14669 fi
14670
14671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14672 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14673 # Check whether --enable-validators was given.
14674 if test "${enable_validators+set}" = set; then
14675 enableval=$enable_validators;
14676 if test "$enableval" = yes; then
14677 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14678 else
14679 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14680 fi
14681 cache=yes
14682
14683 else
14684
14685 cache=no
14686 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14687 if test "x$LINE" != x ; then
14688 eval "DEFAULT_$LINE"
14689 fi
14690
14691 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14692
14693 fi
14694
14695
14696 eval "$wx_cv_use_validators"
14697 if test "x$cache" = xyes; then
14698 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14699 fi
14700
14701 if test x"$enablestring" = xdisable; then
14702 if test $wxUSE_VALIDATORS = yes; then
14703 result=no
14704 else
14705 result=yes
14706 fi
14707 else
14708 result=$wxUSE_VALIDATORS
14709 fi
14710
14711 { echo "$as_me:$LINENO: result: $result" >&5
14712 echo "${ECHO_T}$result" >&6; }
14713
14714
14715 enablestring=
14716 defaultval=$wxUSE_ALL_FEATURES
14717 if test -z "$defaultval"; then
14718 if test x"$enablestring" = xdisable; then
14719 defaultval=yes
14720 else
14721 defaultval=no
14722 fi
14723 fi
14724
14725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14726 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14727 # Check whether --enable-busyinfo was given.
14728 if test "${enable_busyinfo+set}" = set; then
14729 enableval=$enable_busyinfo;
14730 if test "$enableval" = yes; then
14731 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14732 else
14733 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14734 fi
14735 cache=yes
14736
14737 else
14738
14739 cache=no
14740 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14741 if test "x$LINE" != x ; then
14742 eval "DEFAULT_$LINE"
14743 fi
14744
14745 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14746
14747 fi
14748
14749
14750 eval "$wx_cv_use_busyinfo"
14751 if test "x$cache" = xyes; then
14752 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14753 fi
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_BUSYINFO = yes; then
14757 result=no
14758 else
14759 result=yes
14760 fi
14761 else
14762 result=$wxUSE_BUSYINFO
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769 enablestring=
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14773 defaultval=yes
14774 else
14775 defaultval=no
14776 fi
14777 fi
14778
14779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14780 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14781 # Check whether --enable-joystick was given.
14782 if test "${enable_joystick+set}" = set; then
14783 enableval=$enable_joystick;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14786 else
14787 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14788 fi
14789 cache=yes
14790
14791 else
14792
14793 cache=no
14794 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14795 if test "x$LINE" != x ; then
14796 eval "DEFAULT_$LINE"
14797 fi
14798
14799 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14800
14801 fi
14802
14803
14804 eval "$wx_cv_use_joystick"
14805 if test "x$cache" = xyes; then
14806 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14807 fi
14808
14809 if test x"$enablestring" = xdisable; then
14810 if test $wxUSE_JOYSTICK = yes; then
14811 result=no
14812 else
14813 result=yes
14814 fi
14815 else
14816 result=$wxUSE_JOYSTICK
14817 fi
14818
14819 { echo "$as_me:$LINENO: result: $result" >&5
14820 echo "${ECHO_T}$result" >&6; }
14821
14822
14823 enablestring=
14824 defaultval=$wxUSE_ALL_FEATURES
14825 if test -z "$defaultval"; then
14826 if test x"$enablestring" = xdisable; then
14827 defaultval=yes
14828 else
14829 defaultval=no
14830 fi
14831 fi
14832
14833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14834 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14835 # Check whether --enable-metafile was given.
14836 if test "${enable_metafile+set}" = set; then
14837 enableval=$enable_metafile;
14838 if test "$enableval" = yes; then
14839 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14840 else
14841 wx_cv_use_metafile='wxUSE_METAFILE=no'
14842 fi
14843 cache=yes
14844
14845 else
14846
14847 cache=no
14848 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14849 if test "x$LINE" != x ; then
14850 eval "DEFAULT_$LINE"
14851 fi
14852
14853 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14854
14855 fi
14856
14857
14858 eval "$wx_cv_use_metafile"
14859 if test "x$cache" = xyes; then
14860 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14861 fi
14862
14863 if test x"$enablestring" = xdisable; then
14864 if test $wxUSE_METAFILE = yes; then
14865 result=no
14866 else
14867 result=yes
14868 fi
14869 else
14870 result=$wxUSE_METAFILE
14871 fi
14872
14873 { echo "$as_me:$LINENO: result: $result" >&5
14874 echo "${ECHO_T}$result" >&6; }
14875
14876
14877 enablestring=
14878 defaultval=$wxUSE_ALL_FEATURES
14879 if test -z "$defaultval"; then
14880 if test x"$enablestring" = xdisable; then
14881 defaultval=yes
14882 else
14883 defaultval=no
14884 fi
14885 fi
14886
14887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14888 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14889 # Check whether --enable-dragimage was given.
14890 if test "${enable_dragimage+set}" = set; then
14891 enableval=$enable_dragimage;
14892 if test "$enableval" = yes; then
14893 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14894 else
14895 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14896 fi
14897 cache=yes
14898
14899 else
14900
14901 cache=no
14902 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14903 if test "x$LINE" != x ; then
14904 eval "DEFAULT_$LINE"
14905 fi
14906
14907 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14908
14909 fi
14910
14911
14912 eval "$wx_cv_use_dragimage"
14913 if test "x$cache" = xyes; then
14914 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14915 fi
14916
14917 if test x"$enablestring" = xdisable; then
14918 if test $wxUSE_DRAGIMAGE = yes; then
14919 result=no
14920 else
14921 result=yes
14922 fi
14923 else
14924 result=$wxUSE_DRAGIMAGE
14925 fi
14926
14927 { echo "$as_me:$LINENO: result: $result" >&5
14928 echo "${ECHO_T}$result" >&6; }
14929
14930
14931 enablestring=
14932 defaultval=$wxUSE_ALL_FEATURES
14933 if test -z "$defaultval"; then
14934 if test x"$enablestring" = xdisable; then
14935 defaultval=yes
14936 else
14937 defaultval=no
14938 fi
14939 fi
14940
14941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14942 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14943 # Check whether --enable-accessibility was given.
14944 if test "${enable_accessibility+set}" = set; then
14945 enableval=$enable_accessibility;
14946 if test "$enableval" = yes; then
14947 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14948 else
14949 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14950 fi
14951 cache=yes
14952
14953 else
14954
14955 cache=no
14956 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14957 if test "x$LINE" != x ; then
14958 eval "DEFAULT_$LINE"
14959 fi
14960
14961 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14962
14963 fi
14964
14965
14966 eval "$wx_cv_use_accessibility"
14967 if test "x$cache" = xyes; then
14968 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14969 fi
14970
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_ACCESSIBILITY = yes; then
14973 result=no
14974 else
14975 result=yes
14976 fi
14977 else
14978 result=$wxUSE_ACCESSIBILITY
14979 fi
14980
14981 { echo "$as_me:$LINENO: result: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14983
14984
14985
14986
14987 enablestring=
14988 defaultval=$wxUSE_ALL_FEATURES
14989 if test -z "$defaultval"; then
14990 if test x"$enablestring" = xdisable; then
14991 defaultval=yes
14992 else
14993 defaultval=no
14994 fi
14995 fi
14996
14997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14998 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14999 # Check whether --enable-palette was given.
15000 if test "${enable_palette+set}" = set; then
15001 enableval=$enable_palette;
15002 if test "$enableval" = yes; then
15003 wx_cv_use_palette='wxUSE_PALETTE=yes'
15004 else
15005 wx_cv_use_palette='wxUSE_PALETTE=no'
15006 fi
15007 cache=yes
15008
15009 else
15010
15011 cache=no
15012 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15013 if test "x$LINE" != x ; then
15014 eval "DEFAULT_$LINE"
15015 fi
15016
15017 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15018
15019 fi
15020
15021
15022 eval "$wx_cv_use_palette"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15025 fi
15026
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_PALETTE = yes; then
15029 result=no
15030 else
15031 result=yes
15032 fi
15033 else
15034 result=$wxUSE_PALETTE
15035 fi
15036
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15039
15040
15041 enablestring=
15042 defaultval=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x"$enablestring" = xdisable; then
15045 defaultval=yes
15046 else
15047 defaultval=no
15048 fi
15049 fi
15050
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15053 # Check whether --enable-image was given.
15054 if test "${enable_image+set}" = set; then
15055 enableval=$enable_image;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_image='wxUSE_IMAGE=yes'
15058 else
15059 wx_cv_use_image='wxUSE_IMAGE=no'
15060 fi
15061 cache=yes
15062
15063 else
15064
15065 cache=no
15066 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15067 if test "x$LINE" != x ; then
15068 eval "DEFAULT_$LINE"
15069 fi
15070
15071 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15072
15073 fi
15074
15075
15076 eval "$wx_cv_use_image"
15077 if test "x$cache" = xyes; then
15078 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15079 fi
15080
15081 if test x"$enablestring" = xdisable; then
15082 if test $wxUSE_IMAGE = yes; then
15083 result=no
15084 else
15085 result=yes
15086 fi
15087 else
15088 result=$wxUSE_IMAGE
15089 fi
15090
15091 { echo "$as_me:$LINENO: result: $result" >&5
15092 echo "${ECHO_T}$result" >&6; }
15093
15094
15095 enablestring=
15096 defaultval=$wxUSE_ALL_FEATURES
15097 if test -z "$defaultval"; then
15098 if test x"$enablestring" = xdisable; then
15099 defaultval=yes
15100 else
15101 defaultval=no
15102 fi
15103 fi
15104
15105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15106 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15107 # Check whether --enable-gif was given.
15108 if test "${enable_gif+set}" = set; then
15109 enableval=$enable_gif;
15110 if test "$enableval" = yes; then
15111 wx_cv_use_gif='wxUSE_GIF=yes'
15112 else
15113 wx_cv_use_gif='wxUSE_GIF=no'
15114 fi
15115 cache=yes
15116
15117 else
15118
15119 cache=no
15120 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15121 if test "x$LINE" != x ; then
15122 eval "DEFAULT_$LINE"
15123 fi
15124
15125 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15126
15127 fi
15128
15129
15130 eval "$wx_cv_use_gif"
15131 if test "x$cache" = xyes; then
15132 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15133 fi
15134
15135 if test x"$enablestring" = xdisable; then
15136 if test $wxUSE_GIF = yes; then
15137 result=no
15138 else
15139 result=yes
15140 fi
15141 else
15142 result=$wxUSE_GIF
15143 fi
15144
15145 { echo "$as_me:$LINENO: result: $result" >&5
15146 echo "${ECHO_T}$result" >&6; }
15147
15148
15149 enablestring=
15150 defaultval=$wxUSE_ALL_FEATURES
15151 if test -z "$defaultval"; then
15152 if test x"$enablestring" = xdisable; then
15153 defaultval=yes
15154 else
15155 defaultval=no
15156 fi
15157 fi
15158
15159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15160 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15161 # Check whether --enable-pcx was given.
15162 if test "${enable_pcx+set}" = set; then
15163 enableval=$enable_pcx;
15164 if test "$enableval" = yes; then
15165 wx_cv_use_pcx='wxUSE_PCX=yes'
15166 else
15167 wx_cv_use_pcx='wxUSE_PCX=no'
15168 fi
15169 cache=yes
15170
15171 else
15172
15173 cache=no
15174 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15175 if test "x$LINE" != x ; then
15176 eval "DEFAULT_$LINE"
15177 fi
15178
15179 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15180
15181 fi
15182
15183
15184 eval "$wx_cv_use_pcx"
15185 if test "x$cache" = xyes; then
15186 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15187 fi
15188
15189 if test x"$enablestring" = xdisable; then
15190 if test $wxUSE_PCX = yes; then
15191 result=no
15192 else
15193 result=yes
15194 fi
15195 else
15196 result=$wxUSE_PCX
15197 fi
15198
15199 { echo "$as_me:$LINENO: result: $result" >&5
15200 echo "${ECHO_T}$result" >&6; }
15201
15202
15203 enablestring=
15204 defaultval=$wxUSE_ALL_FEATURES
15205 if test -z "$defaultval"; then
15206 if test x"$enablestring" = xdisable; then
15207 defaultval=yes
15208 else
15209 defaultval=no
15210 fi
15211 fi
15212
15213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15214 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15215 # Check whether --enable-tga was given.
15216 if test "${enable_tga+set}" = set; then
15217 enableval=$enable_tga;
15218 if test "$enableval" = yes; then
15219 wx_cv_use_tga='wxUSE_TGA=yes'
15220 else
15221 wx_cv_use_tga='wxUSE_TGA=no'
15222 fi
15223 cache=yes
15224
15225 else
15226
15227 cache=no
15228 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15229 if test "x$LINE" != x ; then
15230 eval "DEFAULT_$LINE"
15231 fi
15232
15233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15234
15235 fi
15236
15237
15238 eval "$wx_cv_use_tga"
15239 if test "x$cache" = xyes; then
15240 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15241 fi
15242
15243 if test x"$enablestring" = xdisable; then
15244 if test $wxUSE_TGA = yes; then
15245 result=no
15246 else
15247 result=yes
15248 fi
15249 else
15250 result=$wxUSE_TGA
15251 fi
15252
15253 { echo "$as_me:$LINENO: result: $result" >&5
15254 echo "${ECHO_T}$result" >&6; }
15255
15256
15257 enablestring=
15258 defaultval=$wxUSE_ALL_FEATURES
15259 if test -z "$defaultval"; then
15260 if test x"$enablestring" = xdisable; then
15261 defaultval=yes
15262 else
15263 defaultval=no
15264 fi
15265 fi
15266
15267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15268 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15269 # Check whether --enable-iff was given.
15270 if test "${enable_iff+set}" = set; then
15271 enableval=$enable_iff;
15272 if test "$enableval" = yes; then
15273 wx_cv_use_iff='wxUSE_IFF=yes'
15274 else
15275 wx_cv_use_iff='wxUSE_IFF=no'
15276 fi
15277 cache=yes
15278
15279 else
15280
15281 cache=no
15282 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15283 if test "x$LINE" != x ; then
15284 eval "DEFAULT_$LINE"
15285 fi
15286
15287 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15288
15289 fi
15290
15291
15292 eval "$wx_cv_use_iff"
15293 if test "x$cache" = xyes; then
15294 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15295 fi
15296
15297 if test x"$enablestring" = xdisable; then
15298 if test $wxUSE_IFF = yes; then
15299 result=no
15300 else
15301 result=yes
15302 fi
15303 else
15304 result=$wxUSE_IFF
15305 fi
15306
15307 { echo "$as_me:$LINENO: result: $result" >&5
15308 echo "${ECHO_T}$result" >&6; }
15309
15310
15311 enablestring=
15312 defaultval=$wxUSE_ALL_FEATURES
15313 if test -z "$defaultval"; then
15314 if test x"$enablestring" = xdisable; then
15315 defaultval=yes
15316 else
15317 defaultval=no
15318 fi
15319 fi
15320
15321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15322 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15323 # Check whether --enable-pnm was given.
15324 if test "${enable_pnm+set}" = set; then
15325 enableval=$enable_pnm;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_pnm='wxUSE_PNM=yes'
15328 else
15329 wx_cv_use_pnm='wxUSE_PNM=no'
15330 fi
15331 cache=yes
15332
15333 else
15334
15335 cache=no
15336 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15337 if test "x$LINE" != x ; then
15338 eval "DEFAULT_$LINE"
15339 fi
15340
15341 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15342
15343 fi
15344
15345
15346 eval "$wx_cv_use_pnm"
15347 if test "x$cache" = xyes; then
15348 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15349 fi
15350
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_PNM = yes; then
15353 result=no
15354 else
15355 result=yes
15356 fi
15357 else
15358 result=$wxUSE_PNM
15359 fi
15360
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15363
15364
15365 enablestring=
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15369 defaultval=yes
15370 else
15371 defaultval=no
15372 fi
15373 fi
15374
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15377 # Check whether --enable-xpm was given.
15378 if test "${enable_xpm+set}" = set; then
15379 enableval=$enable_xpm;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_xpm='wxUSE_XPM=yes'
15382 else
15383 wx_cv_use_xpm='wxUSE_XPM=no'
15384 fi
15385 cache=yes
15386
15387 else
15388
15389 cache=no
15390 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15393 fi
15394
15395 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15396
15397 fi
15398
15399
15400 eval "$wx_cv_use_xpm"
15401 if test "x$cache" = xyes; then
15402 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15403 fi
15404
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_XPM = yes; then
15407 result=no
15408 else
15409 result=yes
15410 fi
15411 else
15412 result=$wxUSE_XPM
15413 fi
15414
15415 { echo "$as_me:$LINENO: result: $result" >&5
15416 echo "${ECHO_T}$result" >&6; }
15417
15418
15419 enablestring=
15420 defaultval=$wxUSE_ALL_FEATURES
15421 if test -z "$defaultval"; then
15422 if test x"$enablestring" = xdisable; then
15423 defaultval=yes
15424 else
15425 defaultval=no
15426 fi
15427 fi
15428
15429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15431 # Check whether --enable-ico_cur was given.
15432 if test "${enable_ico_cur+set}" = set; then
15433 enableval=$enable_ico_cur;
15434 if test "$enableval" = yes; then
15435 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15436 else
15437 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15438 fi
15439 cache=yes
15440
15441 else
15442
15443 cache=no
15444 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15445 if test "x$LINE" != x ; then
15446 eval "DEFAULT_$LINE"
15447 fi
15448
15449 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15450
15451 fi
15452
15453
15454 eval "$wx_cv_use_ico_cur"
15455 if test "x$cache" = xyes; then
15456 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15457 fi
15458
15459 if test x"$enablestring" = xdisable; then
15460 if test $wxUSE_ICO_CUR = yes; then
15461 result=no
15462 else
15463 result=yes
15464 fi
15465 else
15466 result=$wxUSE_ICO_CUR
15467 fi
15468
15469 { echo "$as_me:$LINENO: result: $result" >&5
15470 echo "${ECHO_T}$result" >&6; }
15471
15472
15473
15474
15475 enablestring=
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15479 defaultval=yes
15480 else
15481 defaultval=no
15482 fi
15483 fi
15484
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15487 # Check whether --enable-dccache was given.
15488 if test "${enable_dccache+set}" = set; then
15489 enableval=$enable_dccache;
15490 if test "$enableval" = yes; then
15491 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15492 else
15493 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15494 fi
15495 cache=yes
15496
15497 else
15498
15499 cache=no
15500 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15501 if test "x$LINE" != x ; then
15502 eval "DEFAULT_$LINE"
15503 fi
15504
15505 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15506
15507 fi
15508
15509
15510 eval "$wx_cv_use_dccache"
15511 if test "x$cache" = xyes; then
15512 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15513 fi
15514
15515 if test x"$enablestring" = xdisable; then
15516 if test $wxUSE_DC_CACHEING = yes; then
15517 result=no
15518 else
15519 result=yes
15520 fi
15521 else
15522 result=$wxUSE_DC_CACHEING
15523 fi
15524
15525 { echo "$as_me:$LINENO: result: $result" >&5
15526 echo "${ECHO_T}$result" >&6; }
15527
15528
15529 enablestring=
15530 defaultval=$wxUSE_ALL_FEATURES
15531 if test -z "$defaultval"; then
15532 if test x"$enablestring" = xdisable; then
15533 defaultval=yes
15534 else
15535 defaultval=no
15536 fi
15537 fi
15538
15539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15540 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15541 # Check whether --enable-ps-in-msw was given.
15542 if test "${enable_ps_in_msw+set}" = set; then
15543 enableval=$enable_ps_in_msw;
15544 if test "$enableval" = yes; then
15545 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15546 else
15547 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15548 fi
15549 cache=yes
15550
15551 else
15552
15553 cache=no
15554 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15557 fi
15558
15559 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15560
15561 fi
15562
15563
15564 eval "$wx_cv_use_ps_in_msw"
15565 if test "x$cache" = xyes; then
15566 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15567 fi
15568
15569 if test x"$enablestring" = xdisable; then
15570 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15571 result=no
15572 else
15573 result=yes
15574 fi
15575 else
15576 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15577 fi
15578
15579 { echo "$as_me:$LINENO: result: $result" >&5
15580 echo "${ECHO_T}$result" >&6; }
15581
15582
15583 enablestring=
15584 defaultval=$wxUSE_ALL_FEATURES
15585 if test -z "$defaultval"; then
15586 if test x"$enablestring" = xdisable; then
15587 defaultval=yes
15588 else
15589 defaultval=no
15590 fi
15591 fi
15592
15593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15594 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15595 # Check whether --enable-ownerdrawn was given.
15596 if test "${enable_ownerdrawn+set}" = set; then
15597 enableval=$enable_ownerdrawn;
15598 if test "$enableval" = yes; then
15599 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15600 else
15601 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15602 fi
15603 cache=yes
15604
15605 else
15606
15607 cache=no
15608 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15609 if test "x$LINE" != x ; then
15610 eval "DEFAULT_$LINE"
15611 fi
15612
15613 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15614
15615 fi
15616
15617
15618 eval "$wx_cv_use_ownerdrawn"
15619 if test "x$cache" = xyes; then
15620 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15621 fi
15622
15623 if test x"$enablestring" = xdisable; then
15624 if test $wxUSE_OWNER_DRAWN = yes; then
15625 result=no
15626 else
15627 result=yes
15628 fi
15629 else
15630 result=$wxUSE_OWNER_DRAWN
15631 fi
15632
15633 { echo "$as_me:$LINENO: result: $result" >&5
15634 echo "${ECHO_T}$result" >&6; }
15635
15636
15637 enablestring=
15638 defaultval=$wxUSE_ALL_FEATURES
15639 if test -z "$defaultval"; then
15640 if test x"$enablestring" = xdisable; then
15641 defaultval=yes
15642 else
15643 defaultval=no
15644 fi
15645 fi
15646
15647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15648 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15649 # Check whether --enable-regkey was given.
15650 if test "${enable_regkey+set}" = set; then
15651 enableval=$enable_regkey;
15652 if test "$enableval" = yes; then
15653 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15654 else
15655 wx_cv_use_regkey='wxUSE_REGKEY=no'
15656 fi
15657 cache=yes
15658
15659 else
15660
15661 cache=no
15662 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15663 if test "x$LINE" != x ; then
15664 eval "DEFAULT_$LINE"
15665 fi
15666
15667 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15668
15669 fi
15670
15671
15672 eval "$wx_cv_use_regkey"
15673 if test "x$cache" = xyes; then
15674 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15675 fi
15676
15677 if test x"$enablestring" = xdisable; then
15678 if test $wxUSE_REGKEY = yes; then
15679 result=no
15680 else
15681 result=yes
15682 fi
15683 else
15684 result=$wxUSE_REGKEY
15685 fi
15686
15687 { echo "$as_me:$LINENO: result: $result" >&5
15688 echo "${ECHO_T}$result" >&6; }
15689
15690
15691 enablestring=
15692 defaultval=$wxUSE_ALL_FEATURES
15693 if test -z "$defaultval"; then
15694 if test x"$enablestring" = xdisable; then
15695 defaultval=yes
15696 else
15697 defaultval=no
15698 fi
15699 fi
15700
15701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15702 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15703 # Check whether --enable-uxtheme was given.
15704 if test "${enable_uxtheme+set}" = set; then
15705 enableval=$enable_uxtheme;
15706 if test "$enableval" = yes; then
15707 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15708 else
15709 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15710 fi
15711 cache=yes
15712
15713 else
15714
15715 cache=no
15716 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15717 if test "x$LINE" != x ; then
15718 eval "DEFAULT_$LINE"
15719 fi
15720
15721 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15722
15723 fi
15724
15725
15726 eval "$wx_cv_use_uxtheme"
15727 if test "x$cache" = xyes; then
15728 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15729 fi
15730
15731 if test x"$enablestring" = xdisable; then
15732 if test $wxUSE_UXTHEME = yes; then
15733 result=no
15734 else
15735 result=yes
15736 fi
15737 else
15738 result=$wxUSE_UXTHEME
15739 fi
15740
15741 { echo "$as_me:$LINENO: result: $result" >&5
15742 echo "${ECHO_T}$result" >&6; }
15743
15744
15745 enablestring=
15746 defaultval=$wxUSE_ALL_FEATURES
15747 if test -z "$defaultval"; then
15748 if test x"$enablestring" = xdisable; then
15749 defaultval=yes
15750 else
15751 defaultval=no
15752 fi
15753 fi
15754
15755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15756 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15757 # Check whether --enable-wxdib was given.
15758 if test "${enable_wxdib+set}" = set; then
15759 enableval=$enable_wxdib;
15760 if test "$enableval" = yes; then
15761 wx_cv_use_wxdib='wxUSE_DIB=yes'
15762 else
15763 wx_cv_use_wxdib='wxUSE_DIB=no'
15764 fi
15765 cache=yes
15766
15767 else
15768
15769 cache=no
15770 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15771 if test "x$LINE" != x ; then
15772 eval "DEFAULT_$LINE"
15773 fi
15774
15775 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15776
15777 fi
15778
15779
15780 eval "$wx_cv_use_wxdib"
15781 if test "x$cache" = xyes; then
15782 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15783 fi
15784
15785 if test x"$enablestring" = xdisable; then
15786 if test $wxUSE_DIB = yes; then
15787 result=no
15788 else
15789 result=yes
15790 fi
15791 else
15792 result=$wxUSE_DIB
15793 fi
15794
15795 { echo "$as_me:$LINENO: result: $result" >&5
15796 echo "${ECHO_T}$result" >&6; }
15797
15798
15799 fi
15800
15801
15802 echo "saving argument cache $wx_arg_cache_file"
15803 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15804
15805
15806
15807 { echo "$as_me:$LINENO: checking for toolkit" >&5
15808 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15809
15810 # In Wine, we need to default to MSW, not GTK or MOTIF
15811 if test "$wxUSE_WINE" = "yes"; then
15812 DEFAULT_DEFAULT_wxUSE_GTK=0
15813 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15814 DEFAULT_DEFAULT_wxUSE_MSW=1
15815 wxUSE_SHARED=no
15816 CC=${CC:-winegcc}
15817 CXX=${CXX:-wineg++}
15818 fi
15819
15820
15821 if test "$wxUSE_GUI" = "yes"; then
15822
15823 if test "$USE_BEOS" = 1; then
15824 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15825 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15826 { (exit 1); exit 1; }; }
15827 fi
15828
15829 if test "$TOOLKIT_GIVEN" = 1; then
15830 for toolkit in `echo $ALL_TOOLKITS`; do
15831 var=wxUSE_$toolkit
15832 eval "value=\$${var}"
15833 if test "x$value" = "xno"; then
15834 eval "$var=0"
15835 elif test "x$value" != "x"; then
15836 eval "$var=1"
15837 fi
15838
15839 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15840 eval "wx${toolkit}_VERSION=$value"
15841 fi
15842 done
15843 else
15844 for toolkit in `echo $ALL_TOOLKITS`; do
15845 if test "$has_toolkit_in_cache" != 1; then
15846 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15847 else
15848 var=DEFAULT_wxUSE_$toolkit
15849
15850 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15851 if test "x$version" != "x"; then
15852 eval "wx${toolkit}_VERSION=$version"
15853 fi
15854 fi
15855 eval "wxUSE_$toolkit=\$${var}"
15856 done
15857 fi
15858
15859 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15860 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15861 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15862
15863 case "${host}" in
15864 *-pc-os2_emx | *-pc-os2-emx )
15865 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15866 esac
15867
15868 case "$NUM_TOOLKITS" in
15869 1)
15870 ;;
15871 0)
15872 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15873 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15874 { (exit 1); exit 1; }; }
15875 ;;
15876 *)
15877 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15878 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15879 { (exit 1); exit 1; }; }
15880 esac
15881
15882 # to be removed when --disable-gtk2 isn't needed
15883 if test "x$wxUSE_GTK2" = "xyes"; then
15884 wxGTK_VERSION=2
15885 elif test "x$wxUSE_GTK2" = "xno"; then
15886 wxGTK_VERSION=1
15887 fi
15888
15889 for toolkit in `echo $ALL_TOOLKITS`; do
15890 var=wxUSE_$toolkit
15891 eval "value=\$${var}"
15892 if test "x$value" != x; then
15893 cache_var=CACHE_$toolkit
15894 eval "cache=\$${cache_var}"
15895 if test "$cache" = 1; then
15896 echo "$var=$value" >> ${wx_arg_cache_file}
15897 eval "version=\$wx${toolkit}_VERSION"
15898 if test "x$version" != "x"; then
15899 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15900 fi
15901 fi
15902 if test "$value" = 1; then
15903 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15904 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15905 echo "${ECHO_T}$toolkit_echo" >&6; }
15906 fi
15907 fi
15908 done
15909 else
15910 if test "x$host_alias" != "x"; then
15911 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15912 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15913 else
15914 { echo "$as_me:$LINENO: result: base only" >&5
15915 echo "${ECHO_T}base only" >&6; }
15916 fi
15917 fi
15918
15919
15920 cat >confcache <<\_ACEOF
15921 # This file is a shell script that caches the results of configure
15922 # tests run on this system so they can be shared between configure
15923 # scripts and configure runs, see configure's option --config-cache.
15924 # It is not useful on other systems. If it contains results you don't
15925 # want to keep, you may remove or edit it.
15926 #
15927 # config.status only pays attention to the cache file if you give it
15928 # the --recheck option to rerun configure.
15929 #
15930 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15932 # following values.
15933
15934 _ACEOF
15935
15936 # The following way of writing the cache mishandles newlines in values,
15937 # but we know of no workaround that is simple, portable, and efficient.
15938 # So, we kill variables containing newlines.
15939 # Ultrix sh set writes to stderr and can't be redirected directly,
15940 # and sets the high bit in the cache file unless we assign to the vars.
15941 (
15942 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15943 eval ac_val=\$$ac_var
15944 case $ac_val in #(
15945 *${as_nl}*)
15946 case $ac_var in #(
15947 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15948 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15949 esac
15950 case $ac_var in #(
15951 _ | IFS | as_nl) ;; #(
15952 *) $as_unset $ac_var ;;
15953 esac ;;
15954 esac
15955 done
15956
15957 (set) 2>&1 |
15958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15959 *${as_nl}ac_space=\ *)
15960 # `set' does not quote correctly, so add quotes (double-quote
15961 # substitution turns \\\\ into \\, and sed turns \\ into \).
15962 sed -n \
15963 "s/'/'\\\\''/g;
15964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15965 ;; #(
15966 *)
15967 # `set' quotes correctly as required by POSIX, so do not add quotes.
15968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15969 ;;
15970 esac |
15971 sort
15972 ) |
15973 sed '
15974 /^ac_cv_env_/b end
15975 t clear
15976 :clear
15977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15978 t end
15979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15980 :end' >>confcache
15981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15982 if test -w "$cache_file"; then
15983 test "x$cache_file" != "x/dev/null" &&
15984 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15985 echo "$as_me: updating cache $cache_file" >&6;}
15986 cat confcache >$cache_file
15987 else
15988 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15989 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15990 fi
15991 fi
15992 rm -f confcache
15993
15994 CFLAGS=${CFLAGS:=}
15995
15996
15997
15998 ac_ext=c
15999 ac_cpp='$CPP $CPPFLAGS'
16000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16003 if test -n "$ac_tool_prefix"; then
16004 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16005 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16008 if test "${ac_cv_prog_CC+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011 if test -n "$CC"; then
16012 ac_cv_prog_CC="$CC" # Let the user override the test.
16013 else
16014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16015 for as_dir in $PATH
16016 do
16017 IFS=$as_save_IFS
16018 test -z "$as_dir" && as_dir=.
16019 for ac_exec_ext in '' $ac_executable_extensions; do
16020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16021 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16023 break 2
16024 fi
16025 done
16026 done
16027 IFS=$as_save_IFS
16028
16029 fi
16030 fi
16031 CC=$ac_cv_prog_CC
16032 if test -n "$CC"; then
16033 { echo "$as_me:$LINENO: result: $CC" >&5
16034 echo "${ECHO_T}$CC" >&6; }
16035 else
16036 { echo "$as_me:$LINENO: result: no" >&5
16037 echo "${ECHO_T}no" >&6; }
16038 fi
16039
16040
16041 fi
16042 if test -z "$ac_cv_prog_CC"; then
16043 ac_ct_CC=$CC
16044 # Extract the first word of "gcc", so it can be a program name with args.
16045 set dummy gcc; ac_word=$2
16046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 else
16051 if test -n "$ac_ct_CC"; then
16052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16053 else
16054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16055 for as_dir in $PATH
16056 do
16057 IFS=$as_save_IFS
16058 test -z "$as_dir" && as_dir=.
16059 for ac_exec_ext in '' $ac_executable_extensions; do
16060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16061 ac_cv_prog_ac_ct_CC="gcc"
16062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16063 break 2
16064 fi
16065 done
16066 done
16067 IFS=$as_save_IFS
16068
16069 fi
16070 fi
16071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16072 if test -n "$ac_ct_CC"; then
16073 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16074 echo "${ECHO_T}$ac_ct_CC" >&6; }
16075 else
16076 { echo "$as_me:$LINENO: result: no" >&5
16077 echo "${ECHO_T}no" >&6; }
16078 fi
16079
16080 if test "x$ac_ct_CC" = x; then
16081 CC=""
16082 else
16083 case $cross_compiling:$ac_tool_warned in
16084 yes:)
16085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16086 whose name does not start with the host triplet. If you think this
16087 configuration is useful to you, please write to autoconf@gnu.org." >&5
16088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16089 whose name does not start with the host triplet. If you think this
16090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16091 ac_tool_warned=yes ;;
16092 esac
16093 CC=$ac_ct_CC
16094 fi
16095 else
16096 CC="$ac_cv_prog_CC"
16097 fi
16098
16099 if test -z "$CC"; then
16100 if test -n "$ac_tool_prefix"; then
16101 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16102 set dummy ${ac_tool_prefix}cc; ac_word=$2
16103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16105 if test "${ac_cv_prog_CC+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 if test -n "$CC"; then
16109 ac_cv_prog_CC="$CC" # Let the user override the test.
16110 else
16111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16112 for as_dir in $PATH
16113 do
16114 IFS=$as_save_IFS
16115 test -z "$as_dir" && as_dir=.
16116 for ac_exec_ext in '' $ac_executable_extensions; do
16117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16118 ac_cv_prog_CC="${ac_tool_prefix}cc"
16119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16120 break 2
16121 fi
16122 done
16123 done
16124 IFS=$as_save_IFS
16125
16126 fi
16127 fi
16128 CC=$ac_cv_prog_CC
16129 if test -n "$CC"; then
16130 { echo "$as_me:$LINENO: result: $CC" >&5
16131 echo "${ECHO_T}$CC" >&6; }
16132 else
16133 { echo "$as_me:$LINENO: result: no" >&5
16134 echo "${ECHO_T}no" >&6; }
16135 fi
16136
16137
16138 fi
16139 fi
16140 if test -z "$CC"; then
16141 # Extract the first word of "cc", so it can be a program name with args.
16142 set dummy cc; ac_word=$2
16143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16145 if test "${ac_cv_prog_CC+set}" = set; then
16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 else
16148 if test -n "$CC"; then
16149 ac_cv_prog_CC="$CC" # Let the user override the test.
16150 else
16151 ac_prog_rejected=no
16152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16153 for as_dir in $PATH
16154 do
16155 IFS=$as_save_IFS
16156 test -z "$as_dir" && as_dir=.
16157 for ac_exec_ext in '' $ac_executable_extensions; do
16158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16159 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16160 ac_prog_rejected=yes
16161 continue
16162 fi
16163 ac_cv_prog_CC="cc"
16164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16165 break 2
16166 fi
16167 done
16168 done
16169 IFS=$as_save_IFS
16170
16171 if test $ac_prog_rejected = yes; then
16172 # We found a bogon in the path, so make sure we never use it.
16173 set dummy $ac_cv_prog_CC
16174 shift
16175 if test $# != 0; then
16176 # We chose a different compiler from the bogus one.
16177 # However, it has the same basename, so the bogon will be chosen
16178 # first if we set CC to just the basename; use the full file name.
16179 shift
16180 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16181 fi
16182 fi
16183 fi
16184 fi
16185 CC=$ac_cv_prog_CC
16186 if test -n "$CC"; then
16187 { echo "$as_me:$LINENO: result: $CC" >&5
16188 echo "${ECHO_T}$CC" >&6; }
16189 else
16190 { echo "$as_me:$LINENO: result: no" >&5
16191 echo "${ECHO_T}no" >&6; }
16192 fi
16193
16194
16195 fi
16196 if test -z "$CC"; then
16197 if test -n "$ac_tool_prefix"; then
16198 for ac_prog in cl.exe
16199 do
16200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16204 if test "${ac_cv_prog_CC+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 else
16207 if test -n "$CC"; then
16208 ac_cv_prog_CC="$CC" # Let the user override the test.
16209 else
16210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16211 for as_dir in $PATH
16212 do
16213 IFS=$as_save_IFS
16214 test -z "$as_dir" && as_dir=.
16215 for ac_exec_ext in '' $ac_executable_extensions; do
16216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16217 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16219 break 2
16220 fi
16221 done
16222 done
16223 IFS=$as_save_IFS
16224
16225 fi
16226 fi
16227 CC=$ac_cv_prog_CC
16228 if test -n "$CC"; then
16229 { echo "$as_me:$LINENO: result: $CC" >&5
16230 echo "${ECHO_T}$CC" >&6; }
16231 else
16232 { echo "$as_me:$LINENO: result: no" >&5
16233 echo "${ECHO_T}no" >&6; }
16234 fi
16235
16236
16237 test -n "$CC" && break
16238 done
16239 fi
16240 if test -z "$CC"; then
16241 ac_ct_CC=$CC
16242 for ac_prog in cl.exe
16243 do
16244 # Extract the first word of "$ac_prog", so it can be a program name with args.
16245 set dummy $ac_prog; ac_word=$2
16246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16249 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 else
16251 if test -n "$ac_ct_CC"; then
16252 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16253 else
16254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16255 for as_dir in $PATH
16256 do
16257 IFS=$as_save_IFS
16258 test -z "$as_dir" && as_dir=.
16259 for ac_exec_ext in '' $ac_executable_extensions; do
16260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16261 ac_cv_prog_ac_ct_CC="$ac_prog"
16262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16263 break 2
16264 fi
16265 done
16266 done
16267 IFS=$as_save_IFS
16268
16269 fi
16270 fi
16271 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16272 if test -n "$ac_ct_CC"; then
16273 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16274 echo "${ECHO_T}$ac_ct_CC" >&6; }
16275 else
16276 { echo "$as_me:$LINENO: result: no" >&5
16277 echo "${ECHO_T}no" >&6; }
16278 fi
16279
16280
16281 test -n "$ac_ct_CC" && break
16282 done
16283
16284 if test "x$ac_ct_CC" = x; then
16285 CC=""
16286 else
16287 case $cross_compiling:$ac_tool_warned in
16288 yes:)
16289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16290 whose name does not start with the host triplet. If you think this
16291 configuration is useful to you, please write to autoconf@gnu.org." >&5
16292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16293 whose name does not start with the host triplet. If you think this
16294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16295 ac_tool_warned=yes ;;
16296 esac
16297 CC=$ac_ct_CC
16298 fi
16299 fi
16300
16301 fi
16302
16303
16304 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: no acceptable C compiler found in \$PATH
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16309
16310 # Provide some information about the compiler.
16311 echo "$as_me:$LINENO: checking for C compiler version" >&5
16312 ac_compiler=`set X $ac_compile; echo $2`
16313 { (ac_try="$ac_compiler --version >&5"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compiler --version >&5") 2>&5
16320 ac_status=$?
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }
16323 { (ac_try="$ac_compiler -v >&5"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16327 esac
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_compiler -v >&5") 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }
16333 { (ac_try="$ac_compiler -V >&5"
16334 case "(($ac_try" in
16335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16336 *) ac_try_echo=$ac_try;;
16337 esac
16338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16339 (eval "$ac_compiler -V >&5") 2>&5
16340 ac_status=$?
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }
16343
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350
16351 int
16352 main ()
16353 {
16354
16355 ;
16356 return 0;
16357 }
16358 _ACEOF
16359 ac_clean_files_save=$ac_clean_files
16360 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16361 # Try to create an executable without -o first, disregard a.out.
16362 # It will help us diagnose broken compilers, and finding out an intuition
16363 # of exeext.
16364 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16365 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16366 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16367 #
16368 # List of possible output files, starting from the most likely.
16369 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16370 # only as a last resort. b.out is created by i960 compilers.
16371 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16372 #
16373 # The IRIX 6 linker writes into existing files which may not be
16374 # executable, retaining their permissions. Remove them first so a
16375 # subsequent execution test works.
16376 ac_rmfiles=
16377 for ac_file in $ac_files
16378 do
16379 case $ac_file in
16380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16381 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16382 esac
16383 done
16384 rm -f $ac_rmfiles
16385
16386 if { (ac_try="$ac_link_default"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16390 esac
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_link_default") 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; then
16396 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16397 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16398 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16399 # so that the user can short-circuit this test for compilers unknown to
16400 # Autoconf.
16401 for ac_file in $ac_files ''
16402 do
16403 test -f "$ac_file" || continue
16404 case $ac_file in
16405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16406 ;;
16407 [ab].out )
16408 # We found the default executable, but exeext='' is most
16409 # certainly right.
16410 break;;
16411 *.* )
16412 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16413 then :; else
16414 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16415 fi
16416 # We set ac_cv_exeext here because the later test for it is not
16417 # safe: cross compilers may not add the suffix if given an `-o'
16418 # argument, so we may need to know it at that point already.
16419 # Even if this section looks crufty: it has the advantage of
16420 # actually working.
16421 break;;
16422 * )
16423 break;;
16424 esac
16425 done
16426 test "$ac_cv_exeext" = no && ac_cv_exeext=
16427
16428 else
16429 ac_file=''
16430 fi
16431
16432 { echo "$as_me:$LINENO: result: $ac_file" >&5
16433 echo "${ECHO_T}$ac_file" >&6; }
16434 if test -z "$ac_file"; then
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: C compiler cannot create executables
16441 See \`config.log' for more details." >&2;}
16442 { (exit 77); exit 77; }; }
16443 fi
16444
16445 ac_exeext=$ac_cv_exeext
16446
16447 # Check that the compiler produces executables we can run. If not, either
16448 # the compiler is broken, or we cross compile.
16449 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16450 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16451 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16452 # If not cross compiling, check that we can run a simple program.
16453 if test "$cross_compiling" != yes; then
16454 if { ac_try='./$ac_file'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16458 esac
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16464 cross_compiling=no
16465 else
16466 if test "$cross_compiling" = maybe; then
16467 cross_compiling=yes
16468 else
16469 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16470 If you meant to cross compile, use \`--host'.
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot run C compiled programs.
16473 If you meant to cross compile, use \`--host'.
16474 See \`config.log' for more details." >&2;}
16475 { (exit 1); exit 1; }; }
16476 fi
16477 fi
16478 fi
16479 { echo "$as_me:$LINENO: result: yes" >&5
16480 echo "${ECHO_T}yes" >&6; }
16481
16482 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16483 ac_clean_files=$ac_clean_files_save
16484 # Check that the compiler produces executables we can run. If not, either
16485 # the compiler is broken, or we cross compile.
16486 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16487 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16488 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16489 echo "${ECHO_T}$cross_compiling" >&6; }
16490
16491 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16492 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16493 if { (ac_try="$ac_link"
16494 case "(($ac_try" in
16495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16496 *) ac_try_echo=$ac_try;;
16497 esac
16498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16499 (eval "$ac_link") 2>&5
16500 ac_status=$?
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; then
16503 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16504 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16505 # work properly (i.e., refer to `conftest.exe'), while it won't with
16506 # `rm'.
16507 for ac_file in conftest.exe conftest conftest.*; do
16508 test -f "$ac_file" || continue
16509 case $ac_file in
16510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16511 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16512 break;;
16513 * ) break;;
16514 esac
16515 done
16516 else
16517 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16518 See \`config.log' for more details." >&5
16519 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16520 See \`config.log' for more details." >&2;}
16521 { (exit 1); exit 1; }; }
16522 fi
16523
16524 rm -f conftest$ac_cv_exeext
16525 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16526 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16527
16528 rm -f conftest.$ac_ext
16529 EXEEXT=$ac_cv_exeext
16530 ac_exeext=$EXEEXT
16531 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16532 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16533 if test "${ac_cv_objext+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 else
16536 cat >conftest.$ac_ext <<_ACEOF
16537 /* confdefs.h. */
16538 _ACEOF
16539 cat confdefs.h >>conftest.$ac_ext
16540 cat >>conftest.$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542
16543 int
16544 main ()
16545 {
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.o conftest.obj
16552 if { (ac_try="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16556 esac
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_compile") 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; then
16562 for ac_file in conftest.o conftest.obj conftest.*; do
16563 test -f "$ac_file" || continue;
16564 case $ac_file in
16565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16567 break;;
16568 esac
16569 done
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16575 See \`config.log' for more details." >&5
16576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16577 See \`config.log' for more details." >&2;}
16578 { (exit 1); exit 1; }; }
16579 fi
16580
16581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16582 fi
16583 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16584 echo "${ECHO_T}$ac_cv_objext" >&6; }
16585 OBJEXT=$ac_cv_objext
16586 ac_objext=$OBJEXT
16587 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 else
16592 cat >conftest.$ac_ext <<_ACEOF
16593 /* confdefs.h. */
16594 _ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598
16599 int
16600 main ()
16601 {
16602 #ifndef __GNUC__
16603 choke me
16604 #endif
16605
16606 ;
16607 return 0;
16608 }
16609 _ACEOF
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16615 esac
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_compiler_gnu=yes
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 ac_compiler_gnu=no
16633 fi
16634
16635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16637
16638 fi
16639 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16640 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16641 GCC=`test $ac_compiler_gnu = yes && echo yes`
16642 ac_test_CFLAGS=${CFLAGS+set}
16643 ac_save_CFLAGS=$CFLAGS
16644 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16645 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16646 if test "${ac_cv_prog_cc_g+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 else
16649 ac_save_c_werror_flag=$ac_c_werror_flag
16650 ac_c_werror_flag=yes
16651 ac_cv_prog_cc_g=no
16652 CFLAGS="-g"
16653 cat >conftest.$ac_ext <<_ACEOF
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659
16660 int
16661 main ()
16662 {
16663
16664 ;
16665 return 0;
16666 }
16667 _ACEOF
16668 rm -f conftest.$ac_objext
16669 if { (ac_try="$ac_compile"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16673 esac
16674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16675 (eval "$ac_compile") 2>conftest.er1
16676 ac_status=$?
16677 grep -v '^ *+' conftest.er1 >conftest.err
16678 rm -f conftest.er1
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && {
16682 test -z "$ac_c_werror_flag" ||
16683 test ! -s conftest.err
16684 } && test -s conftest.$ac_objext; then
16685 ac_cv_prog_cc_g=yes
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16689
16690 CFLAGS=""
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697
16698 int
16699 main ()
16700 {
16701
16702 ;
16703 return 0;
16704 }
16705 _ACEOF
16706 rm -f conftest.$ac_objext
16707 if { (ac_try="$ac_compile"
16708 case "(($ac_try" in
16709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16711 esac
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_compile") 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest.$ac_objext; then
16723 :
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ac_c_werror_flag=$ac_save_c_werror_flag
16729 CFLAGS="-g"
16730 cat >conftest.$ac_ext <<_ACEOF
16731 /* confdefs.h. */
16732 _ACEOF
16733 cat confdefs.h >>conftest.$ac_ext
16734 cat >>conftest.$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736
16737 int
16738 main ()
16739 {
16740
16741 ;
16742 return 0;
16743 }
16744 _ACEOF
16745 rm -f conftest.$ac_objext
16746 if { (ac_try="$ac_compile"
16747 case "(($ac_try" in
16748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;;
16750 esac
16751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16752 (eval "$ac_compile") 2>conftest.er1
16753 ac_status=$?
16754 grep -v '^ *+' conftest.er1 >conftest.err
16755 rm -f conftest.er1
16756 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && {
16759 test -z "$ac_c_werror_flag" ||
16760 test ! -s conftest.err
16761 } && test -s conftest.$ac_objext; then
16762 ac_cv_prog_cc_g=yes
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16766
16767
16768 fi
16769
16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 fi
16772
16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16774 fi
16775
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16777 ac_c_werror_flag=$ac_save_c_werror_flag
16778 fi
16779 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16780 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16781 if test "$ac_test_CFLAGS" = set; then
16782 CFLAGS=$ac_save_CFLAGS
16783 elif test $ac_cv_prog_cc_g = yes; then
16784 if test "$GCC" = yes; then
16785 CFLAGS="-g -O2"
16786 else
16787 CFLAGS="-g"
16788 fi
16789 else
16790 if test "$GCC" = yes; then
16791 CFLAGS="-O2"
16792 else
16793 CFLAGS=
16794 fi
16795 fi
16796 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16797 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16798 if test "${ac_cv_prog_cc_c89+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 ac_cv_prog_cc_c89=no
16802 ac_save_CC=$CC
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #include <stdarg.h>
16810 #include <stdio.h>
16811 #include <sys/types.h>
16812 #include <sys/stat.h>
16813 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16814 struct buf { int x; };
16815 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16816 static char *e (p, i)
16817 char **p;
16818 int i;
16819 {
16820 return p[i];
16821 }
16822 static char *f (char * (*g) (char **, int), char **p, ...)
16823 {
16824 char *s;
16825 va_list v;
16826 va_start (v,p);
16827 s = g (p, va_arg (v,int));
16828 va_end (v);
16829 return s;
16830 }
16831
16832 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16833 function prototypes and stuff, but not '\xHH' hex character constants.
16834 These don't provoke an error unfortunately, instead are silently treated
16835 as 'x'. The following induces an error, until -std is added to get
16836 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16837 array size at least. It's necessary to write '\x00'==0 to get something
16838 that's true only with -std. */
16839 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16840
16841 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16842 inside strings and character constants. */
16843 #define FOO(x) 'x'
16844 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16845
16846 int test (int i, double x);
16847 struct s1 {int (*f) (int a);};
16848 struct s2 {int (*f) (double a);};
16849 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16850 int argc;
16851 char **argv;
16852 int
16853 main ()
16854 {
16855 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16856 ;
16857 return 0;
16858 }
16859 _ACEOF
16860 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16861 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16862 do
16863 CC="$ac_save_CC $ac_arg"
16864 rm -f conftest.$ac_objext
16865 if { (ac_try="$ac_compile"
16866 case "(($ac_try" in
16867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16868 *) ac_try_echo=$ac_try;;
16869 esac
16870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16871 (eval "$ac_compile") 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_c_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest.$ac_objext; then
16881 ac_cv_prog_cc_c89=$ac_arg
16882 else
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.$ac_ext >&5
16885
16886
16887 fi
16888
16889 rm -f core conftest.err conftest.$ac_objext
16890 test "x$ac_cv_prog_cc_c89" != "xno" && break
16891 done
16892 rm -f conftest.$ac_ext
16893 CC=$ac_save_CC
16894
16895 fi
16896 # AC_CACHE_VAL
16897 case "x$ac_cv_prog_cc_c89" in
16898 x)
16899 { echo "$as_me:$LINENO: result: none needed" >&5
16900 echo "${ECHO_T}none needed" >&6; } ;;
16901 xno)
16902 { echo "$as_me:$LINENO: result: unsupported" >&5
16903 echo "${ECHO_T}unsupported" >&6; } ;;
16904 *)
16905 CC="$CC $ac_cv_prog_cc_c89"
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16908 esac
16909
16910
16911 ac_ext=c
16912 ac_cpp='$CPP $CPPFLAGS'
16913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16916
16917
16918
16919
16920 ac_ext=c
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16925
16926 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16927 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16928 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16931 cat >conftest.$ac_ext <<_ACEOF
16932 /* confdefs.h. */
16933 _ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937
16938 int
16939 main ()
16940 {
16941
16942 #ifndef __INTEL_COMPILER
16943 choke me
16944 #endif
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (ac_try="$ac_compile"
16952 case "(($ac_try" in
16953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16955 esac
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_compile") 2>conftest.er1
16958 ac_status=$?
16959 grep -v '^ *+' conftest.er1 >conftest.err
16960 rm -f conftest.er1
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } && {
16964 test -z "$ac_c_werror_flag" ||
16965 test ! -s conftest.err
16966 } && test -s conftest.$ac_objext; then
16967 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16968 else
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16971
16972 bakefile_cv_c_compiler___INTEL_COMPILER=no
16973
16974 fi
16975
16976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16977
16978
16979 fi
16980 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16981 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16982 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16983 :; INTELCC=yes
16984 else
16985 :;
16986 fi
16987 ac_ext=c
16988 ac_cpp='$CPP $CPPFLAGS'
16989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16992
16993
16994
16995
16996 if test "x$GCC" != "xyes"; then
16997 if test "xCC" = "xC"; then
16998 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16999 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17000 if test "${bakefile_cv_c_exto+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 else
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009
17010 int
17011 main ()
17012 {
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext conftest.$ac_ext.o
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; then
17024 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17025 case $ac_file in
17026 conftest.$ac_ext.o)
17027 bakefile_cv_c_exto="-ext o"
17028 ;;
17029 *)
17030 ;;
17031 esac
17032 done
17033 else
17034 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17035 See \`config.log' for more details." >&5
17036 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17037 See \`config.log' for more details." >&2;}
17038 { (exit 1); exit 1; }; }
17039
17040 fi
17041
17042 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17043
17044 fi
17045 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17046 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17048 if test "c" = "c"; then
17049 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17050 fi
17051 if test "c" = "cxx"; then
17052 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17053 fi
17054 fi
17055
17056 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17057 unset ac_cv_prog_cc_g
17058 ac_test_CFLAGS=${CFLAGS+set}
17059 ac_save_CFLAGS=$CFLAGS
17060 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17061 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17062 if test "${ac_cv_prog_cc_g+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 else
17065 ac_save_c_werror_flag=$ac_c_werror_flag
17066 ac_c_werror_flag=yes
17067 ac_cv_prog_cc_g=no
17068 CFLAGS="-g"
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075
17076 int
17077 main ()
17078 {
17079
17080 ;
17081 return 0;
17082 }
17083 _ACEOF
17084 rm -f conftest.$ac_objext
17085 if { (ac_try="$ac_compile"
17086 case "(($ac_try" in
17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17088 *) ac_try_echo=$ac_try;;
17089 esac
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_compile") 2>conftest.er1
17092 ac_status=$?
17093 grep -v '^ *+' conftest.er1 >conftest.err
17094 rm -f conftest.er1
17095 cat conftest.err >&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } && {
17098 test -z "$ac_c_werror_flag" ||
17099 test ! -s conftest.err
17100 } && test -s conftest.$ac_objext; then
17101 ac_cv_prog_cc_g=yes
17102 else
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17105
17106 CFLAGS=""
17107 cat >conftest.$ac_ext <<_ACEOF
17108 /* confdefs.h. */
17109 _ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113
17114 int
17115 main ()
17116 {
17117
17118 ;
17119 return 0;
17120 }
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (ac_try="$ac_compile"
17124 case "(($ac_try" in
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17126 *) ac_try_echo=$ac_try;;
17127 esac
17128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17129 (eval "$ac_compile") 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } && {
17136 test -z "$ac_c_werror_flag" ||
17137 test ! -s conftest.err
17138 } && test -s conftest.$ac_objext; then
17139 :
17140 else
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17143
17144 ac_c_werror_flag=$ac_save_c_werror_flag
17145 CFLAGS="-g"
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152
17153 int
17154 main ()
17155 {
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext
17162 if { (ac_try="$ac_compile"
17163 case "(($ac_try" in
17164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17165 *) ac_try_echo=$ac_try;;
17166 esac
17167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17168 (eval "$ac_compile") 2>conftest.er1
17169 ac_status=$?
17170 grep -v '^ *+' conftest.er1 >conftest.err
17171 rm -f conftest.er1
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } && {
17175 test -z "$ac_c_werror_flag" ||
17176 test ! -s conftest.err
17177 } && test -s conftest.$ac_objext; then
17178 ac_cv_prog_cc_g=yes
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17182
17183
17184 fi
17185
17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17187 fi
17188
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 fi
17191
17192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193 ac_c_werror_flag=$ac_save_c_werror_flag
17194 fi
17195 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17196 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17197 if test "$ac_test_CFLAGS" = set; then
17198 CFLAGS=$ac_save_CFLAGS
17199 elif test $ac_cv_prog_cc_g = yes; then
17200 if test "$GCC" = yes; then
17201 CFLAGS="-g -O2"
17202 else
17203 CFLAGS="-g"
17204 fi
17205 else
17206 if test "$GCC" = yes; then
17207 CFLAGS="-O2"
17208 else
17209 CFLAGS=
17210 fi
17211 fi
17212 fi
17213 fi
17214
17215 case `uname -s` in
17216 AIX*)
17217
17218
17219 ac_ext=c
17220 ac_cpp='$CPP $CPPFLAGS'
17221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17224
17225 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17226 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17227 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236
17237 int
17238 main ()
17239 {
17240
17241 #ifndef __xlC__
17242 choke me
17243 #endif
17244
17245 ;
17246 return 0;
17247 }
17248 _ACEOF
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17254 esac
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 bakefile_cv_c_compiler___xlC__=yes
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17270
17271 bakefile_cv_c_compiler___xlC__=no
17272
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
17277
17278 fi
17279 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17280 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17281 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17282 :; XLCC=yes
17283 else
17284 :;
17285 fi
17286 ac_ext=c
17287 ac_cpp='$CPP $CPPFLAGS'
17288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17291
17292
17293
17294 ;;
17295
17296 Darwin)
17297
17298
17299 ac_ext=c
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304
17305 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17306 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17307 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316
17317 int
17318 main ()
17319 {
17320
17321 #ifndef __MWERKS__
17322 choke me
17323 #endif
17324
17325 ;
17326 return 0;
17327 }
17328 _ACEOF
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17334 esac
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17337 ac_status=$?
17338 grep -v '^ *+' conftest.er1 >conftest.err
17339 rm -f conftest.er1
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 bakefile_cv_c_compiler___MWERKS__=yes
17347 else
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17350
17351 bakefile_cv_c_compiler___MWERKS__=no
17352
17353 fi
17354
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356
17357
17358 fi
17359 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17360 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17361 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17362 :; MWCC=yes
17363 else
17364 :;
17365 fi
17366 ac_ext=c
17367 ac_cpp='$CPP $CPPFLAGS'
17368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17371
17372
17373
17374
17375
17376 ac_ext=c
17377 ac_cpp='$CPP $CPPFLAGS'
17378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17381
17382 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17383 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17384 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 else
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393
17394 int
17395 main ()
17396 {
17397
17398 #ifndef __xlC__
17399 choke me
17400 #endif
17401
17402 ;
17403 return 0;
17404 }
17405 _ACEOF
17406 rm -f conftest.$ac_objext
17407 if { (ac_try="$ac_compile"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17411 esac
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_compile") 2>conftest.er1
17414 ac_status=$?
17415 grep -v '^ *+' conftest.er1 >conftest.err
17416 rm -f conftest.er1
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && {
17420 test -z "$ac_c_werror_flag" ||
17421 test ! -s conftest.err
17422 } && test -s conftest.$ac_objext; then
17423 bakefile_cv_c_compiler___xlC__=yes
17424 else
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17427
17428 bakefile_cv_c_compiler___xlC__=no
17429
17430 fi
17431
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17433
17434
17435 fi
17436 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17437 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17438 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17439 :; XLCC=yes
17440 else
17441 :;
17442 fi
17443 ac_ext=c
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449
17450
17451 ;;
17452
17453 IRIX*)
17454
17455
17456 ac_ext=c
17457 ac_cpp='$CPP $CPPFLAGS'
17458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17461
17462 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17463 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17464 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473
17474 int
17475 main ()
17476 {
17477
17478 #ifndef _SGI_COMPILER_VERSION
17479 choke me
17480 #endif
17481
17482 ;
17483 return 0;
17484 }
17485 _ACEOF
17486 rm -f conftest.$ac_objext
17487 if { (ac_try="$ac_compile"
17488 case "(($ac_try" in
17489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17490 *) ac_try_echo=$ac_try;;
17491 esac
17492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17493 (eval "$ac_compile") 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && {
17500 test -z "$ac_c_werror_flag" ||
17501 test ! -s conftest.err
17502 } && test -s conftest.$ac_objext; then
17503 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17507
17508 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17509
17510 fi
17511
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513
17514
17515 fi
17516 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17517 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17518 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17519 :; SGICC=yes
17520 else
17521 :;
17522 fi
17523 ac_ext=c
17524 ac_cpp='$CPP $CPPFLAGS'
17525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17528
17529
17530
17531 ;;
17532
17533 Linux*)
17534
17535
17536 ac_ext=c
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541
17542 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17543 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17544 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553
17554 int
17555 main ()
17556 {
17557
17558 #ifndef __SUNPRO_C
17559 choke me
17560 #endif
17561
17562 ;
17563 return 0;
17564 }
17565 _ACEOF
17566 rm -f conftest.$ac_objext
17567 if { (ac_try="$ac_compile"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17571 esac
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_compile") 2>conftest.er1
17574 ac_status=$?
17575 grep -v '^ *+' conftest.er1 >conftest.err
17576 rm -f conftest.er1
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_c_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest.$ac_objext; then
17583 bakefile_cv_c_compiler___SUNPRO_C=yes
17584 else
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.$ac_ext >&5
17587
17588 bakefile_cv_c_compiler___SUNPRO_C=no
17589
17590 fi
17591
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593
17594
17595 fi
17596 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17597 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17598 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17599 :; SUNCC=yes
17600 else
17601 :;
17602 fi
17603 ac_ext=c
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608
17609
17610
17611 ;;
17612
17613 HP-UX*)
17614
17615
17616 ac_ext=c
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
17622 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17623 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17624 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17625 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 else
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633
17634 int
17635 main ()
17636 {
17637
17638 #ifndef __HP_cc
17639 choke me
17640 #endif
17641
17642 ;
17643 return 0;
17644 }
17645 _ACEOF
17646 rm -f conftest.$ac_objext
17647 if { (ac_try="$ac_compile"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17651 esac
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_compile") 2>conftest.er1
17654 ac_status=$?
17655 grep -v '^ *+' conftest.er1 >conftest.err
17656 rm -f conftest.er1
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest.$ac_objext; then
17663 bakefile_cv_c_compiler___HP_cc=yes
17664 else
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17667
17668 bakefile_cv_c_compiler___HP_cc=no
17669
17670 fi
17671
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673
17674
17675 fi
17676 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17677 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17678 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17679 :; HPCC=yes
17680 else
17681 :;
17682 fi
17683 ac_ext=c
17684 ac_cpp='$CPP $CPPFLAGS'
17685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17688
17689
17690
17691 ;;
17692
17693 OSF1)
17694
17695
17696 ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701
17702 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17703 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713
17714 int
17715 main ()
17716 {
17717
17718 #ifndef __DECC
17719 choke me
17720 #endif
17721
17722 ;
17723 return 0;
17724 }
17725 _ACEOF
17726 rm -f conftest.$ac_objext
17727 if { (ac_try="$ac_compile"
17728 case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17731 esac
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_compile") 2>conftest.er1
17734 ac_status=$?
17735 grep -v '^ *+' conftest.er1 >conftest.err
17736 rm -f conftest.er1
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest.$ac_objext; then
17743 bakefile_cv_c_compiler___DECC=yes
17744 else
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17747
17748 bakefile_cv_c_compiler___DECC=no
17749
17750 fi
17751
17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753
17754
17755 fi
17756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17757 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17758 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17759 :; COMPAQCC=yes
17760 else
17761 :;
17762 fi
17763 ac_ext=c
17764 ac_cpp='$CPP $CPPFLAGS'
17765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17768
17769
17770
17771 ;;
17772
17773 SunOS)
17774
17775
17776 ac_ext=c
17777 ac_cpp='$CPP $CPPFLAGS'
17778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17781
17782 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17783 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17784 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 else
17787 cat >conftest.$ac_ext <<_ACEOF
17788 /* confdefs.h. */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793
17794 int
17795 main ()
17796 {
17797
17798 #ifndef __SUNPRO_C
17799 choke me
17800 #endif
17801
17802 ;
17803 return 0;
17804 }
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 bakefile_cv_c_compiler___SUNPRO_C=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 bakefile_cv_c_compiler___SUNPRO_C=no
17829
17830 fi
17831
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833
17834
17835 fi
17836 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17837 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17838 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17839 :; SUNCC=yes
17840 else
17841 :;
17842 fi
17843 ac_ext=c
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17848
17849
17850
17851 ;;
17852 esac
17853 fi
17854
17855
17856
17857 ac_ext=c
17858 ac_cpp='$CPP $CPPFLAGS'
17859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17862 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17864 # On Suns, sometimes $CPP names a directory.
17865 if test -n "$CPP" && test -d "$CPP"; then
17866 CPP=
17867 fi
17868 if test -z "$CPP"; then
17869 if test "${ac_cv_prog_CPP+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 # Double quotes because CPP needs to be expanded
17873 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17874 do
17875 ac_preproc_ok=false
17876 for ac_c_preproc_warn_flag in '' yes
17877 do
17878 # Use a header file that comes with gcc, so configuring glibc
17879 # with a fresh cross-compiler works.
17880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17881 # <limits.h> exists even on freestanding compilers.
17882 # On the NeXT, cc -E runs the code through the compiler's parser,
17883 # not just through cpp. "Syntax error" is here to catch this case.
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #ifdef __STDC__
17891 # include <limits.h>
17892 #else
17893 # include <assert.h>
17894 #endif
17895 Syntax error
17896 _ACEOF
17897 if { (ac_try="$ac_cpp conftest.$ac_ext"
17898 case "(($ac_try" in
17899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17900 *) ac_try_echo=$ac_try;;
17901 esac
17902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17904 ac_status=$?
17905 grep -v '^ *+' conftest.er1 >conftest.err
17906 rm -f conftest.er1
17907 cat conftest.err >&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } >/dev/null && {
17910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17911 test ! -s conftest.err
17912 }; then
17913 :
17914 else
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.$ac_ext >&5
17917
17918 # Broken: fails on valid input.
17919 continue
17920 fi
17921
17922 rm -f conftest.err conftest.$ac_ext
17923
17924 # OK, works on sane cases. Now check whether nonexistent headers
17925 # can be detected and how.
17926 cat >conftest.$ac_ext <<_ACEOF
17927 /* confdefs.h. */
17928 _ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 #include <ac_nonexistent.h>
17933 _ACEOF
17934 if { (ac_try="$ac_cpp conftest.$ac_ext"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17938 esac
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } >/dev/null && {
17947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 }; then
17950 # Broken: success on invalid input.
17951 continue
17952 else
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 # Passes both tests.
17957 ac_preproc_ok=:
17958 break
17959 fi
17960
17961 rm -f conftest.err conftest.$ac_ext
17962
17963 done
17964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17965 rm -f conftest.err conftest.$ac_ext
17966 if $ac_preproc_ok; then
17967 break
17968 fi
17969
17970 done
17971 ac_cv_prog_CPP=$CPP
17972
17973 fi
17974 CPP=$ac_cv_prog_CPP
17975 else
17976 ac_cv_prog_CPP=$CPP
17977 fi
17978 { echo "$as_me:$LINENO: result: $CPP" >&5
17979 echo "${ECHO_T}$CPP" >&6; }
17980 ac_preproc_ok=false
17981 for ac_c_preproc_warn_flag in '' yes
17982 do
17983 # Use a header file that comes with gcc, so configuring glibc
17984 # with a fresh cross-compiler works.
17985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17986 # <limits.h> exists even on freestanding compilers.
17987 # On the NeXT, cc -E runs the code through the compiler's parser,
17988 # not just through cpp. "Syntax error" is here to catch this case.
17989 cat >conftest.$ac_ext <<_ACEOF
17990 /* confdefs.h. */
17991 _ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 #ifdef __STDC__
17996 # include <limits.h>
17997 #else
17998 # include <assert.h>
17999 #endif
18000 Syntax error
18001 _ACEOF
18002 if { (ac_try="$ac_cpp conftest.$ac_ext"
18003 case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18006 esac
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } >/dev/null && {
18015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18017 }; then
18018 :
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18022
18023 # Broken: fails on valid input.
18024 continue
18025 fi
18026
18027 rm -f conftest.err conftest.$ac_ext
18028
18029 # OK, works on sane cases. Now check whether nonexistent headers
18030 # can be detected and how.
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 #include <ac_nonexistent.h>
18038 _ACEOF
18039 if { (ac_try="$ac_cpp conftest.$ac_ext"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18043 esac
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } >/dev/null && {
18052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18053 test ! -s conftest.err
18054 }; then
18055 # Broken: success on invalid input.
18056 continue
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 # Passes both tests.
18062 ac_preproc_ok=:
18063 break
18064 fi
18065
18066 rm -f conftest.err conftest.$ac_ext
18067
18068 done
18069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18070 rm -f conftest.err conftest.$ac_ext
18071 if $ac_preproc_ok; then
18072 :
18073 else
18074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details." >&5
18076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18077 See \`config.log' for more details." >&2;}
18078 { (exit 1); exit 1; }; }
18079 fi
18080
18081 ac_ext=c
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086
18087
18088 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18089 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18090 if test "${ac_cv_path_GREP+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 else
18093 # Extract the first word of "grep ggrep" to use in msg output
18094 if test -z "$GREP"; then
18095 set dummy grep ggrep; ac_prog_name=$2
18096 if test "${ac_cv_path_GREP+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099 ac_path_GREP_found=false
18100 # Loop through the user's path and test for each of PROGNAME-LIST
18101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18103 do
18104 IFS=$as_save_IFS
18105 test -z "$as_dir" && as_dir=.
18106 for ac_prog in grep ggrep; do
18107 for ac_exec_ext in '' $ac_executable_extensions; do
18108 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18109 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18110 # Check for GNU ac_path_GREP and select it if it is found.
18111 # Check for GNU $ac_path_GREP
18112 case `"$ac_path_GREP" --version 2>&1` in
18113 *GNU*)
18114 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18115 *)
18116 ac_count=0
18117 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18118 while :
18119 do
18120 cat "conftest.in" "conftest.in" >"conftest.tmp"
18121 mv "conftest.tmp" "conftest.in"
18122 cp "conftest.in" "conftest.nl"
18123 echo 'GREP' >> "conftest.nl"
18124 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18126 ac_count=`expr $ac_count + 1`
18127 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18128 # Best one so far, save it but keep looking for a better one
18129 ac_cv_path_GREP="$ac_path_GREP"
18130 ac_path_GREP_max=$ac_count
18131 fi
18132 # 10*(2^10) chars as input seems more than enough
18133 test $ac_count -gt 10 && break
18134 done
18135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18136 esac
18137
18138
18139 $ac_path_GREP_found && break 3
18140 done
18141 done
18142
18143 done
18144 IFS=$as_save_IFS
18145
18146
18147 fi
18148
18149 GREP="$ac_cv_path_GREP"
18150 if test -z "$GREP"; then
18151 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18152 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18153 { (exit 1); exit 1; }; }
18154 fi
18155
18156 else
18157 ac_cv_path_GREP=$GREP
18158 fi
18159
18160
18161 fi
18162 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18163 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18164 GREP="$ac_cv_path_GREP"
18165
18166
18167 { echo "$as_me:$LINENO: checking for egrep" >&5
18168 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18169 if test "${ac_cv_path_EGREP+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18173 then ac_cv_path_EGREP="$GREP -E"
18174 else
18175 # Extract the first word of "egrep" to use in msg output
18176 if test -z "$EGREP"; then
18177 set dummy egrep; ac_prog_name=$2
18178 if test "${ac_cv_path_EGREP+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18180 else
18181 ac_path_EGREP_found=false
18182 # Loop through the user's path and test for each of PROGNAME-LIST
18183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18185 do
18186 IFS=$as_save_IFS
18187 test -z "$as_dir" && as_dir=.
18188 for ac_prog in egrep; do
18189 for ac_exec_ext in '' $ac_executable_extensions; do
18190 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18191 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18192 # Check for GNU ac_path_EGREP and select it if it is found.
18193 # Check for GNU $ac_path_EGREP
18194 case `"$ac_path_EGREP" --version 2>&1` in
18195 *GNU*)
18196 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18197 *)
18198 ac_count=0
18199 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18200 while :
18201 do
18202 cat "conftest.in" "conftest.in" >"conftest.tmp"
18203 mv "conftest.tmp" "conftest.in"
18204 cp "conftest.in" "conftest.nl"
18205 echo 'EGREP' >> "conftest.nl"
18206 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18208 ac_count=`expr $ac_count + 1`
18209 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18210 # Best one so far, save it but keep looking for a better one
18211 ac_cv_path_EGREP="$ac_path_EGREP"
18212 ac_path_EGREP_max=$ac_count
18213 fi
18214 # 10*(2^10) chars as input seems more than enough
18215 test $ac_count -gt 10 && break
18216 done
18217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18218 esac
18219
18220
18221 $ac_path_EGREP_found && break 3
18222 done
18223 done
18224
18225 done
18226 IFS=$as_save_IFS
18227
18228
18229 fi
18230
18231 EGREP="$ac_cv_path_EGREP"
18232 if test -z "$EGREP"; then
18233 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18234 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18235 { (exit 1); exit 1; }; }
18236 fi
18237
18238 else
18239 ac_cv_path_EGREP=$EGREP
18240 fi
18241
18242
18243 fi
18244 fi
18245 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18246 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18247 EGREP="$ac_cv_path_EGREP"
18248
18249
18250 if test $ac_cv_c_compiler_gnu = yes; then
18251 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18252 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18253 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 else
18256 ac_pattern="Autoconf.*'x'"
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 #include <sgtty.h>
18264 Autoconf TIOCGETP
18265 _ACEOF
18266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18267 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18268 ac_cv_prog_gcc_traditional=yes
18269 else
18270 ac_cv_prog_gcc_traditional=no
18271 fi
18272 rm -f conftest*
18273
18274
18275 if test $ac_cv_prog_gcc_traditional = no; then
18276 cat >conftest.$ac_ext <<_ACEOF
18277 /* confdefs.h. */
18278 _ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #include <termio.h>
18283 Autoconf TCGETA
18284 _ACEOF
18285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18286 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18287 ac_cv_prog_gcc_traditional=yes
18288 fi
18289 rm -f conftest*
18290
18291 fi
18292 fi
18293 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18294 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18295 if test $ac_cv_prog_gcc_traditional = yes; then
18296 CC="$CC -traditional"
18297 fi
18298 fi
18299
18300
18301 CXXFLAGS=${CXXFLAGS:=}
18302
18303
18304
18305 ac_ext=cpp
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311 if test -n "$CCC"; then
18312 CXX=$CCC
18313 else
18314 if test -n "$ac_tool_prefix"; then
18315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18316 do
18317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18321 if test "${ac_cv_prog_CXX+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324 if test -n "$CXX"; then
18325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18326 else
18327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18328 for as_dir in $PATH
18329 do
18330 IFS=$as_save_IFS
18331 test -z "$as_dir" && as_dir=.
18332 for ac_exec_ext in '' $ac_executable_extensions; do
18333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18336 break 2
18337 fi
18338 done
18339 done
18340 IFS=$as_save_IFS
18341
18342 fi
18343 fi
18344 CXX=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346 { echo "$as_me:$LINENO: result: $CXX" >&5
18347 echo "${ECHO_T}$CXX" >&6; }
18348 else
18349 { echo "$as_me:$LINENO: result: no" >&5
18350 echo "${ECHO_T}no" >&6; }
18351 fi
18352
18353
18354 test -n "$CXX" && break
18355 done
18356 fi
18357 if test -z "$CXX"; then
18358 ac_ct_CXX=$CXX
18359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18360 do
18361 # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy $ac_prog; ac_word=$2
18363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18368 if test -n "$ac_ct_CXX"; then
18369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18370 else
18371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18372 for as_dir in $PATH
18373 do
18374 IFS=$as_save_IFS
18375 test -z "$as_dir" && as_dir=.
18376 for ac_exec_ext in '' $ac_executable_extensions; do
18377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18378 ac_cv_prog_ac_ct_CXX="$ac_prog"
18379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18380 break 2
18381 fi
18382 done
18383 done
18384 IFS=$as_save_IFS
18385
18386 fi
18387 fi
18388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18391 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18392 else
18393 { echo "$as_me:$LINENO: result: no" >&5
18394 echo "${ECHO_T}no" >&6; }
18395 fi
18396
18397
18398 test -n "$ac_ct_CXX" && break
18399 done
18400
18401 if test "x$ac_ct_CXX" = x; then
18402 CXX="g++"
18403 else
18404 case $cross_compiling:$ac_tool_warned in
18405 yes:)
18406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18407 whose name does not start with the host triplet. If you think this
18408 configuration is useful to you, please write to autoconf@gnu.org." >&5
18409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18410 whose name does not start with the host triplet. If you think this
18411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18412 ac_tool_warned=yes ;;
18413 esac
18414 CXX=$ac_ct_CXX
18415 fi
18416 fi
18417
18418 fi
18419 fi
18420 # Provide some information about the compiler.
18421 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18422 ac_compiler=`set X $ac_compile; echo $2`
18423 { (ac_try="$ac_compiler --version >&5"
18424 case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18427 esac
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_compiler --version >&5") 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }
18433 { (ac_try="$ac_compiler -v >&5"
18434 case "(($ac_try" in
18435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18436 *) ac_try_echo=$ac_try;;
18437 esac
18438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18439 (eval "$ac_compiler -v >&5") 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }
18443 { (ac_try="$ac_compiler -V >&5"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compiler -V >&5") 2>&5
18450 ac_status=$?
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }
18453
18454 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18455 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18456 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465
18466 int
18467 main ()
18468 {
18469 #ifndef __GNUC__
18470 choke me
18471 #endif
18472
18473 ;
18474 return 0;
18475 }
18476 _ACEOF
18477 rm -f conftest.$ac_objext
18478 if { (ac_try="$ac_compile"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18482 esac
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compile") 2>conftest.er1
18485 ac_status=$?
18486 grep -v '^ *+' conftest.er1 >conftest.err
18487 rm -f conftest.er1
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && {
18491 test -z "$ac_cxx_werror_flag" ||
18492 test ! -s conftest.err
18493 } && test -s conftest.$ac_objext; then
18494 ac_compiler_gnu=yes
18495 else
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18498
18499 ac_compiler_gnu=no
18500 fi
18501
18502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18503 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18504
18505 fi
18506 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18507 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18508 GXX=`test $ac_compiler_gnu = yes && echo yes`
18509 ac_test_CXXFLAGS=${CXXFLAGS+set}
18510 ac_save_CXXFLAGS=$CXXFLAGS
18511 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18513 if test "${ac_cv_prog_cxx_g+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18517 ac_cxx_werror_flag=yes
18518 ac_cv_prog_cxx_g=no
18519 CXXFLAGS="-g"
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526
18527 int
18528 main ()
18529 {
18530
18531 ;
18532 return 0;
18533 }
18534 _ACEOF
18535 rm -f conftest.$ac_objext
18536 if { (ac_try="$ac_compile"
18537 case "(($ac_try" in
18538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18539 *) ac_try_echo=$ac_try;;
18540 esac
18541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18542 (eval "$ac_compile") 2>conftest.er1
18543 ac_status=$?
18544 grep -v '^ *+' conftest.er1 >conftest.err
18545 rm -f conftest.er1
18546 cat conftest.err >&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && {
18549 test -z "$ac_cxx_werror_flag" ||
18550 test ! -s conftest.err
18551 } && test -s conftest.$ac_objext; then
18552 ac_cv_prog_cxx_g=yes
18553 else
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18556
18557 CXXFLAGS=""
18558 cat >conftest.$ac_ext <<_ACEOF
18559 /* confdefs.h. */
18560 _ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564
18565 int
18566 main ()
18567 {
18568
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_cxx_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 :
18591 else
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18594
18595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18596 CXXFLAGS="-g"
18597 cat >conftest.$ac_ext <<_ACEOF
18598 /* confdefs.h. */
18599 _ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603
18604 int
18605 main ()
18606 {
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18617 esac
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18620 ac_status=$?
18621 grep -v '^ *+' conftest.er1 >conftest.err
18622 rm -f conftest.er1
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_cxx_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.$ac_objext; then
18629 ac_cv_prog_cxx_g=yes
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634
18635 fi
18636
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 fi
18639
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 fi
18642
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18645 fi
18646 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18648 if test "$ac_test_CXXFLAGS" = set; then
18649 CXXFLAGS=$ac_save_CXXFLAGS
18650 elif test $ac_cv_prog_cxx_g = yes; then
18651 if test "$GXX" = yes; then
18652 CXXFLAGS="-g -O2"
18653 else
18654 CXXFLAGS="-g"
18655 fi
18656 else
18657 if test "$GXX" = yes; then
18658 CXXFLAGS="-O2"
18659 else
18660 CXXFLAGS=
18661 fi
18662 fi
18663 ac_ext=c
18664 ac_cpp='$CPP $CPPFLAGS'
18665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18668
18669
18670
18671
18672 ac_ext=cpp
18673 ac_cpp='$CXXCPP $CPPFLAGS'
18674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18677
18678 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18679 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18680 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 else
18683 cat >conftest.$ac_ext <<_ACEOF
18684 /* confdefs.h. */
18685 _ACEOF
18686 cat confdefs.h >>conftest.$ac_ext
18687 cat >>conftest.$ac_ext <<_ACEOF
18688 /* end confdefs.h. */
18689
18690 int
18691 main ()
18692 {
18693
18694 #ifndef __INTEL_COMPILER
18695 choke me
18696 #endif
18697
18698 ;
18699 return 0;
18700 }
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (ac_try="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_cxx_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18723
18724 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18725
18726 fi
18727
18728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18729
18730
18731 fi
18732 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18733 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18734 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18735 :; INTELCXX=yes
18736 else
18737 :;
18738 fi
18739 ac_ext=c
18740 ac_cpp='$CPP $CPPFLAGS'
18741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18744
18745
18746
18747
18748 if test "x$GCXX" != "xyes"; then
18749 if test "xCXX" = "xC"; then
18750 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18751 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18752 if test "${bakefile_cv_c_exto+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761
18762 int
18763 main ()
18764 {
18765
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 rm -f conftest.$ac_objext conftest.$ac_ext.o
18771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18772 (eval $ac_compile) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; then
18776 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18777 case $ac_file in
18778 conftest.$ac_ext.o)
18779 bakefile_cv_c_exto="-ext o"
18780 ;;
18781 *)
18782 ;;
18783 esac
18784 done
18785 else
18786 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18787 See \`config.log' for more details." >&5
18788 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18789 See \`config.log' for more details." >&2;}
18790 { (exit 1); exit 1; }; }
18791
18792 fi
18793
18794 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18795
18796 fi
18797 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18798 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18800 if test "c" = "c"; then
18801 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18802 fi
18803 if test "c" = "cxx"; then
18804 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18805 fi
18806 fi
18807
18808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18809 unset ac_cv_prog_cc_g
18810 ac_test_CFLAGS=${CFLAGS+set}
18811 ac_save_CFLAGS=$CFLAGS
18812 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18813 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18814 if test "${ac_cv_prog_cc_g+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 ac_save_c_werror_flag=$ac_c_werror_flag
18818 ac_c_werror_flag=yes
18819 ac_cv_prog_cc_g=no
18820 CFLAGS="-g"
18821 cat >conftest.$ac_ext <<_ACEOF
18822 /* confdefs.h. */
18823 _ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827
18828 int
18829 main ()
18830 {
18831
18832 ;
18833 return 0;
18834 }
18835 _ACEOF
18836 rm -f conftest.$ac_objext
18837 if { (ac_try="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18841 esac
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.$ac_objext; then
18853 ac_cv_prog_cc_g=yes
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18857
18858 CFLAGS=""
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865
18866 int
18867 main ()
18868 {
18869
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 rm -f conftest.$ac_objext
18875 if { (ac_try="$ac_compile"
18876 case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;;
18879 esac
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_compile") 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && {
18888 test -z "$ac_c_werror_flag" ||
18889 test ! -s conftest.err
18890 } && test -s conftest.$ac_objext; then
18891 :
18892 else
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18895
18896 ac_c_werror_flag=$ac_save_c_werror_flag
18897 CFLAGS="-g"
18898 cat >conftest.$ac_ext <<_ACEOF
18899 /* confdefs.h. */
18900 _ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904
18905 int
18906 main ()
18907 {
18908
18909 ;
18910 return 0;
18911 }
18912 _ACEOF
18913 rm -f conftest.$ac_objext
18914 if { (ac_try="$ac_compile"
18915 case "(($ac_try" in
18916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18917 *) ac_try_echo=$ac_try;;
18918 esac
18919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18920 (eval "$ac_compile") 2>conftest.er1
18921 ac_status=$?
18922 grep -v '^ *+' conftest.er1 >conftest.err
18923 rm -f conftest.er1
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } && {
18927 test -z "$ac_c_werror_flag" ||
18928 test ! -s conftest.err
18929 } && test -s conftest.$ac_objext; then
18930 ac_cv_prog_cc_g=yes
18931 else
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18934
18935
18936 fi
18937
18938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 fi
18940
18941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 fi
18943
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 ac_c_werror_flag=$ac_save_c_werror_flag
18946 fi
18947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18948 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18949 if test "$ac_test_CFLAGS" = set; then
18950 CFLAGS=$ac_save_CFLAGS
18951 elif test $ac_cv_prog_cc_g = yes; then
18952 if test "$GCC" = yes; then
18953 CFLAGS="-g -O2"
18954 else
18955 CFLAGS="-g"
18956 fi
18957 else
18958 if test "$GCC" = yes; then
18959 CFLAGS="-O2"
18960 else
18961 CFLAGS=
18962 fi
18963 fi
18964 fi
18965 fi
18966
18967 case `uname -s` in
18968 AIX*)
18969
18970
18971 ac_ext=cpp
18972 ac_cpp='$CXXCPP $CPPFLAGS'
18973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18976
18977 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18978 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18979 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988
18989 int
18990 main ()
18991 {
18992
18993 #ifndef __xlC__
18994 choke me
18995 #endif
18996
18997 ;
18998 return 0;
18999 }
19000 _ACEOF
19001 rm -f conftest.$ac_objext
19002 if { (ac_try="$ac_compile"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19006 esac
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compile") 2>conftest.er1
19009 ac_status=$?
19010 grep -v '^ *+' conftest.er1 >conftest.err
19011 rm -f conftest.er1
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_cxx_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 bakefile_cv_cxx_compiler___xlC__=yes
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19022
19023 bakefile_cv_cxx_compiler___xlC__=no
19024
19025 fi
19026
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028
19029
19030 fi
19031 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19032 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19034 :; XLCXX=yes
19035 else
19036 :;
19037 fi
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043
19044
19045
19046 ;;
19047
19048 Darwin)
19049
19050
19051 ac_ext=cpp
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19056
19057 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19058 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19059 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068
19069 int
19070 main ()
19071 {
19072
19073 #ifndef __MWERKS__
19074 choke me
19075 #endif
19076
19077 ;
19078 return 0;
19079 }
19080 _ACEOF
19081 rm -f conftest.$ac_objext
19082 if { (ac_try="$ac_compile"
19083 case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19086 esac
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_compile") 2>conftest.er1
19089 ac_status=$?
19090 grep -v '^ *+' conftest.er1 >conftest.err
19091 rm -f conftest.er1
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && {
19095 test -z "$ac_cxx_werror_flag" ||
19096 test ! -s conftest.err
19097 } && test -s conftest.$ac_objext; then
19098 bakefile_cv_cxx_compiler___MWERKS__=yes
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 bakefile_cv_cxx_compiler___MWERKS__=no
19104
19105 fi
19106
19107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108
19109
19110 fi
19111 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19112 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19113 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19114 :; MWCXX=yes
19115 else
19116 :;
19117 fi
19118 ac_ext=c
19119 ac_cpp='$CPP $CPPFLAGS'
19120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19123
19124
19125
19126
19127
19128 ac_ext=cpp
19129 ac_cpp='$CXXCPP $CPPFLAGS'
19130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19133
19134 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19135 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19136 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19139 cat >conftest.$ac_ext <<_ACEOF
19140 /* confdefs.h. */
19141 _ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19145
19146 int
19147 main ()
19148 {
19149
19150 #ifndef __xlC__
19151 choke me
19152 #endif
19153
19154 ;
19155 return 0;
19156 }
19157 _ACEOF
19158 rm -f conftest.$ac_objext
19159 if { (ac_try="$ac_compile"
19160 case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19163 esac
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && {
19172 test -z "$ac_cxx_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
19175 bakefile_cv_cxx_compiler___xlC__=yes
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180 bakefile_cv_cxx_compiler___xlC__=no
19181
19182 fi
19183
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185
19186
19187 fi
19188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19190 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19191 :; XLCXX=yes
19192 else
19193 :;
19194 fi
19195 ac_ext=c
19196 ac_cpp='$CPP $CPPFLAGS'
19197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19200
19201
19202
19203 ;;
19204
19205 IRIX*)
19206
19207
19208 ac_ext=cpp
19209 ac_cpp='$CXXCPP $CPPFLAGS'
19210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19213
19214 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19215 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19216 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 else
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225
19226 int
19227 main ()
19228 {
19229
19230 #ifndef _SGI_COMPILER_VERSION
19231 choke me
19232 #endif
19233
19234 ;
19235 return 0;
19236 }
19237 _ACEOF
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19243 esac
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19246 ac_status=$?
19247 grep -v '^ *+' conftest.er1 >conftest.err
19248 rm -f conftest.er1
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_cxx_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19256 else
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19259
19260 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19261
19262 fi
19263
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265
19266
19267 fi
19268 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19269 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19270 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19271 :; SGICXX=yes
19272 else
19273 :;
19274 fi
19275 ac_ext=c
19276 ac_cpp='$CPP $CPPFLAGS'
19277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19280
19281
19282
19283 ;;
19284
19285 Linux*)
19286
19287
19288 ac_ext=cpp
19289 ac_cpp='$CXXCPP $CPPFLAGS'
19290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19293
19294 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19295 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19296 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19297 echo $ECHO_N "(cached) $ECHO_C" >&6
19298 else
19299 cat >conftest.$ac_ext <<_ACEOF
19300 /* confdefs.h. */
19301 _ACEOF
19302 cat confdefs.h >>conftest.$ac_ext
19303 cat >>conftest.$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19305
19306 int
19307 main ()
19308 {
19309
19310 #ifndef __SUNPRO_CC
19311 choke me
19312 #endif
19313
19314 ;
19315 return 0;
19316 }
19317 _ACEOF
19318 rm -f conftest.$ac_objext
19319 if { (ac_try="$ac_compile"
19320 case "(($ac_try" in
19321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;;
19323 esac
19324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19326 ac_status=$?
19327 grep -v '^ *+' conftest.er1 >conftest.err
19328 rm -f conftest.er1
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_cxx_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19339
19340 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19341
19342 fi
19343
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345
19346
19347 fi
19348 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19349 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19350 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19351 :; SUNCXX=yes
19352 else
19353 :;
19354 fi
19355 ac_ext=c
19356 ac_cpp='$CPP $CPPFLAGS'
19357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19360
19361
19362
19363 ;;
19364
19365 HP-UX*)
19366
19367
19368 ac_ext=cpp
19369 ac_cpp='$CXXCPP $CPPFLAGS'
19370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19373
19374 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19375 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19376 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385
19386 int
19387 main ()
19388 {
19389
19390 #ifndef __HP_aCC
19391 choke me
19392 #endif
19393
19394 ;
19395 return 0;
19396 }
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_cxx_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 bakefile_cv_cxx_compiler___HP_aCC=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 bakefile_cv_cxx_compiler___HP_aCC=no
19421
19422 fi
19423
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425
19426
19427 fi
19428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19430 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19431 :; HPCXX=yes
19432 else
19433 :;
19434 fi
19435 ac_ext=c
19436 ac_cpp='$CPP $CPPFLAGS'
19437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19440
19441
19442
19443 ;;
19444
19445 OSF1)
19446
19447
19448 ac_ext=cpp
19449 ac_cpp='$CXXCPP $CPPFLAGS'
19450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19453
19454 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19455 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459 cat >conftest.$ac_ext <<_ACEOF
19460 /* confdefs.h. */
19461 _ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465
19466 int
19467 main ()
19468 {
19469
19470 #ifndef __DECCXX
19471 choke me
19472 #endif
19473
19474 ;
19475 return 0;
19476 }
19477 _ACEOF
19478 rm -f conftest.$ac_objext
19479 if { (ac_try="$ac_compile"
19480 case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19483 esac
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_compile") 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } && {
19492 test -z "$ac_cxx_werror_flag" ||
19493 test ! -s conftest.err
19494 } && test -s conftest.$ac_objext; then
19495 bakefile_cv_cxx_compiler___DECCXX=yes
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19499
19500 bakefile_cv_cxx_compiler___DECCXX=no
19501
19502 fi
19503
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505
19506
19507 fi
19508 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19509 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19510 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19511 :; COMPAQCXX=yes
19512 else
19513 :;
19514 fi
19515 ac_ext=c
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19520
19521
19522
19523 ;;
19524
19525 SunOS)
19526
19527
19528 ac_ext=cpp
19529 ac_cpp='$CXXCPP $CPPFLAGS'
19530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19533
19534 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19535 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19536 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 else
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545
19546 int
19547 main ()
19548 {
19549
19550 #ifndef __SUNPRO_CC
19551 choke me
19552 #endif
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_cxx_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19581
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585
19586
19587 fi
19588 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19589 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19590 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19591 :; SUNCXX=yes
19592 else
19593 :;
19594 fi
19595 ac_ext=c
19596 ac_cpp='$CPP $CPPFLAGS'
19597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19600
19601
19602
19603 ;;
19604 esac
19605 fi
19606
19607
19608
19609 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19610 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19611 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19612 { (exit 1); exit 1; }; }
19613 fi
19614
19615 if test -n "$ac_tool_prefix"; then
19616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19620 if test "${ac_cv_prog_RANLIB+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19623 if test -n "$RANLIB"; then
19624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19625 else
19626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19627 for as_dir in $PATH
19628 do
19629 IFS=$as_save_IFS
19630 test -z "$as_dir" && as_dir=.
19631 for ac_exec_ext in '' $ac_executable_extensions; do
19632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19635 break 2
19636 fi
19637 done
19638 done
19639 IFS=$as_save_IFS
19640
19641 fi
19642 fi
19643 RANLIB=$ac_cv_prog_RANLIB
19644 if test -n "$RANLIB"; then
19645 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19646 echo "${ECHO_T}$RANLIB" >&6; }
19647 else
19648 { echo "$as_me:$LINENO: result: no" >&5
19649 echo "${ECHO_T}no" >&6; }
19650 fi
19651
19652
19653 fi
19654 if test -z "$ac_cv_prog_RANLIB"; then
19655 ac_ct_RANLIB=$RANLIB
19656 # Extract the first word of "ranlib", so it can be a program name with args.
19657 set dummy ranlib; ac_word=$2
19658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 else
19663 if test -n "$ac_ct_RANLIB"; then
19664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19665 else
19666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19667 for as_dir in $PATH
19668 do
19669 IFS=$as_save_IFS
19670 test -z "$as_dir" && as_dir=.
19671 for ac_exec_ext in '' $ac_executable_extensions; do
19672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19673 ac_cv_prog_ac_ct_RANLIB="ranlib"
19674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19675 break 2
19676 fi
19677 done
19678 done
19679 IFS=$as_save_IFS
19680
19681 fi
19682 fi
19683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19684 if test -n "$ac_ct_RANLIB"; then
19685 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19686 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19687 else
19688 { echo "$as_me:$LINENO: result: no" >&5
19689 echo "${ECHO_T}no" >&6; }
19690 fi
19691
19692 if test "x$ac_ct_RANLIB" = x; then
19693 RANLIB=":"
19694 else
19695 case $cross_compiling:$ac_tool_warned in
19696 yes:)
19697 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19698 whose name does not start with the host triplet. If you think this
19699 configuration is useful to you, please write to autoconf@gnu.org." >&5
19700 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19701 whose name does not start with the host triplet. If you think this
19702 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19703 ac_tool_warned=yes ;;
19704 esac
19705 RANLIB=$ac_ct_RANLIB
19706 fi
19707 else
19708 RANLIB="$ac_cv_prog_RANLIB"
19709 fi
19710
19711
19712 if test "x$SUNCXX" != xyes; then
19713 if test -n "$ac_tool_prefix"; then
19714 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19715 set dummy ${ac_tool_prefix}ar; ac_word=$2
19716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19718 if test "${ac_cv_prog_AR+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 else
19721 if test -n "$AR"; then
19722 ac_cv_prog_AR="$AR" # Let the user override the test.
19723 else
19724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19725 for as_dir in $PATH
19726 do
19727 IFS=$as_save_IFS
19728 test -z "$as_dir" && as_dir=.
19729 for ac_exec_ext in '' $ac_executable_extensions; do
19730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19731 ac_cv_prog_AR="${ac_tool_prefix}ar"
19732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19733 break 2
19734 fi
19735 done
19736 done
19737 IFS=$as_save_IFS
19738
19739 fi
19740 fi
19741 AR=$ac_cv_prog_AR
19742 if test -n "$AR"; then
19743 { echo "$as_me:$LINENO: result: $AR" >&5
19744 echo "${ECHO_T}$AR" >&6; }
19745 else
19746 { echo "$as_me:$LINENO: result: no" >&5
19747 echo "${ECHO_T}no" >&6; }
19748 fi
19749
19750
19751 fi
19752 if test -z "$ac_cv_prog_AR"; then
19753 ac_ct_AR=$AR
19754 # Extract the first word of "ar", so it can be a program name with args.
19755 set dummy ar; ac_word=$2
19756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19758 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 else
19761 if test -n "$ac_ct_AR"; then
19762 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19763 else
19764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19765 for as_dir in $PATH
19766 do
19767 IFS=$as_save_IFS
19768 test -z "$as_dir" && as_dir=.
19769 for ac_exec_ext in '' $ac_executable_extensions; do
19770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19771 ac_cv_prog_ac_ct_AR="ar"
19772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19773 break 2
19774 fi
19775 done
19776 done
19777 IFS=$as_save_IFS
19778
19779 fi
19780 fi
19781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19782 if test -n "$ac_ct_AR"; then
19783 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19784 echo "${ECHO_T}$ac_ct_AR" >&6; }
19785 else
19786 { echo "$as_me:$LINENO: result: no" >&5
19787 echo "${ECHO_T}no" >&6; }
19788 fi
19789
19790 if test "x$ac_ct_AR" = x; then
19791 AR=""
19792 else
19793 case $cross_compiling:$ac_tool_warned in
19794 yes:)
19795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19796 whose name does not start with the host triplet. If you think this
19797 configuration is useful to you, please write to autoconf@gnu.org." >&5
19798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19799 whose name does not start with the host triplet. If you think this
19800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19801 ac_tool_warned=yes ;;
19802 esac
19803 AR=$ac_ct_AR
19804 fi
19805 else
19806 AR="$ac_cv_prog_AR"
19807 fi
19808
19809 if test "x$AR" = "x" ; then
19810 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19811 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19812 { (exit 1); exit 1; }; }
19813 fi
19814 fi
19815
19816 # Find a good install program. We prefer a C program (faster),
19817 # so one script is as good as another. But avoid the broken or
19818 # incompatible versions:
19819 # SysV /etc/install, /usr/sbin/install
19820 # SunOS /usr/etc/install
19821 # IRIX /sbin/install
19822 # AIX /bin/install
19823 # AmigaOS /C/install, which installs bootblocks on floppy discs
19824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19827 # OS/2's system install, which has a completely different semantic
19828 # ./install, which can be erroneously created by make from ./install.sh.
19829 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19830 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19831 if test -z "$INSTALL"; then
19832 if test "${ac_cv_path_install+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 else
19835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19836 for as_dir in $PATH
19837 do
19838 IFS=$as_save_IFS
19839 test -z "$as_dir" && as_dir=.
19840 # Account for people who put trailing slashes in PATH elements.
19841 case $as_dir/ in
19842 ./ | .// | /cC/* | \
19843 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19844 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19845 /usr/ucb/* ) ;;
19846 *)
19847 # OSF1 and SCO ODT 3.0 have their own names for install.
19848 # Don't use installbsd from OSF since it installs stuff as root
19849 # by default.
19850 for ac_prog in ginstall scoinst install; do
19851 for ac_exec_ext in '' $ac_executable_extensions; do
19852 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19853 if test $ac_prog = install &&
19854 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19855 # AIX install. It has an incompatible calling convention.
19856 :
19857 elif test $ac_prog = install &&
19858 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19859 # program-specific install script used by HP pwplus--don't use.
19860 :
19861 else
19862 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19863 break 3
19864 fi
19865 fi
19866 done
19867 done
19868 ;;
19869 esac
19870 done
19871 IFS=$as_save_IFS
19872
19873
19874 fi
19875 if test "${ac_cv_path_install+set}" = set; then
19876 INSTALL=$ac_cv_path_install
19877 else
19878 # As a last resort, use the slow shell script. Don't cache a
19879 # value for INSTALL within a source directory, because that will
19880 # break other packages using the cache if that directory is
19881 # removed, or if the value is a relative name.
19882 INSTALL=$ac_install_sh
19883 fi
19884 fi
19885 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19886 echo "${ECHO_T}$INSTALL" >&6; }
19887
19888 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19889 # It thinks the first close brace ends the variable substitution.
19890 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19891
19892 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19893
19894 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19895
19896
19897 case ${INSTALL} in
19898 /* ) # Absolute
19899 ;;
19900 ?:* ) # Drive letter, considered as absolute.
19901 ;;
19902 *)
19903 INSTALL=`pwd`/${INSTALL} ;;
19904 esac
19905
19906
19907 case "${host}" in
19908
19909 *-*-darwin* )
19910 INSTALL_PROGRAM="cp -fp"
19911 INSTALL_DATA="cp -fp"
19912 ;;
19913 *)
19914 ;;
19915 esac
19916
19917 if test -n "$ac_tool_prefix"; then
19918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19919 set dummy ${ac_tool_prefix}strip; ac_word=$2
19920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19922 if test "${ac_cv_prog_STRIP+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 else
19925 if test -n "$STRIP"; then
19926 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19927 else
19928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19929 for as_dir in $PATH
19930 do
19931 IFS=$as_save_IFS
19932 test -z "$as_dir" && as_dir=.
19933 for ac_exec_ext in '' $ac_executable_extensions; do
19934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19935 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19937 break 2
19938 fi
19939 done
19940 done
19941 IFS=$as_save_IFS
19942
19943 fi
19944 fi
19945 STRIP=$ac_cv_prog_STRIP
19946 if test -n "$STRIP"; then
19947 { echo "$as_me:$LINENO: result: $STRIP" >&5
19948 echo "${ECHO_T}$STRIP" >&6; }
19949 else
19950 { echo "$as_me:$LINENO: result: no" >&5
19951 echo "${ECHO_T}no" >&6; }
19952 fi
19953
19954
19955 fi
19956 if test -z "$ac_cv_prog_STRIP"; then
19957 ac_ct_STRIP=$STRIP
19958 # Extract the first word of "strip", so it can be a program name with args.
19959 set dummy strip; ac_word=$2
19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965 if test -n "$ac_ct_STRIP"; then
19966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19967 else
19968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19969 for as_dir in $PATH
19970 do
19971 IFS=$as_save_IFS
19972 test -z "$as_dir" && as_dir=.
19973 for ac_exec_ext in '' $ac_executable_extensions; do
19974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19975 ac_cv_prog_ac_ct_STRIP="strip"
19976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19977 break 2
19978 fi
19979 done
19980 done
19981 IFS=$as_save_IFS
19982
19983 fi
19984 fi
19985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19986 if test -n "$ac_ct_STRIP"; then
19987 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19988 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19989 else
19990 { echo "$as_me:$LINENO: result: no" >&5
19991 echo "${ECHO_T}no" >&6; }
19992 fi
19993
19994 if test "x$ac_ct_STRIP" = x; then
19995 STRIP="true"
19996 else
19997 case $cross_compiling:$ac_tool_warned in
19998 yes:)
19999 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20000 whose name does not start with the host triplet. If you think this
20001 configuration is useful to you, please write to autoconf@gnu.org." >&5
20002 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20003 whose name does not start with the host triplet. If you think this
20004 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20005 ac_tool_warned=yes ;;
20006 esac
20007 STRIP=$ac_ct_STRIP
20008 fi
20009 else
20010 STRIP="$ac_cv_prog_STRIP"
20011 fi
20012
20013
20014 if test "$wxUSE_WINE" = "yes"; then
20015 if test -n "$ac_tool_prefix"; then
20016 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20017 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20020 if test "${ac_cv_prog_WINDRES+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 else
20023 if test -n "$WINDRES"; then
20024 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20025 else
20026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20027 for as_dir in $PATH
20028 do
20029 IFS=$as_save_IFS
20030 test -z "$as_dir" && as_dir=.
20031 for ac_exec_ext in '' $ac_executable_extensions; do
20032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20033 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20035 break 2
20036 fi
20037 done
20038 done
20039 IFS=$as_save_IFS
20040
20041 fi
20042 fi
20043 WINDRES=$ac_cv_prog_WINDRES
20044 if test -n "$WINDRES"; then
20045 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20046 echo "${ECHO_T}$WINDRES" >&6; }
20047 else
20048 { echo "$as_me:$LINENO: result: no" >&5
20049 echo "${ECHO_T}no" >&6; }
20050 fi
20051
20052
20053 fi
20054 if test -z "$ac_cv_prog_WINDRES"; then
20055 ac_ct_WINDRES=$WINDRES
20056 # Extract the first word of "wrc", so it can be a program name with args.
20057 set dummy wrc; ac_word=$2
20058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20060 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 else
20063 if test -n "$ac_ct_WINDRES"; then
20064 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20065 else
20066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20067 for as_dir in $PATH
20068 do
20069 IFS=$as_save_IFS
20070 test -z "$as_dir" && as_dir=.
20071 for ac_exec_ext in '' $ac_executable_extensions; do
20072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20073 ac_cv_prog_ac_ct_WINDRES="wrc"
20074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20075 break 2
20076 fi
20077 done
20078 done
20079 IFS=$as_save_IFS
20080
20081 fi
20082 fi
20083 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20084 if test -n "$ac_ct_WINDRES"; then
20085 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20086 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20087 else
20088 { echo "$as_me:$LINENO: result: no" >&5
20089 echo "${ECHO_T}no" >&6; }
20090 fi
20091
20092 if test "x$ac_ct_WINDRES" = x; then
20093 WINDRES=""
20094 else
20095 case $cross_compiling:$ac_tool_warned in
20096 yes:)
20097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20098 whose name does not start with the host triplet. If you think this
20099 configuration is useful to you, please write to autoconf@gnu.org." >&5
20100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20101 whose name does not start with the host triplet. If you think this
20102 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20103 ac_tool_warned=yes ;;
20104 esac
20105 WINDRES=$ac_ct_WINDRES
20106 fi
20107 else
20108 WINDRES="$ac_cv_prog_WINDRES"
20109 fi
20110
20111 RESCOMP="$WINDRES"
20112 else
20113 case "${host}" in
20114 *-*-cygwin* | *-*-mingw32* )
20115 if test -n "$ac_tool_prefix"; then
20116 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20117 set dummy ${ac_tool_prefix}windres; ac_word=$2
20118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20120 if test "${ac_cv_prog_WINDRES+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 else
20123 if test -n "$WINDRES"; then
20124 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20125 else
20126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20127 for as_dir in $PATH
20128 do
20129 IFS=$as_save_IFS
20130 test -z "$as_dir" && as_dir=.
20131 for ac_exec_ext in '' $ac_executable_extensions; do
20132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20133 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20135 break 2
20136 fi
20137 done
20138 done
20139 IFS=$as_save_IFS
20140
20141 fi
20142 fi
20143 WINDRES=$ac_cv_prog_WINDRES
20144 if test -n "$WINDRES"; then
20145 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20146 echo "${ECHO_T}$WINDRES" >&6; }
20147 else
20148 { echo "$as_me:$LINENO: result: no" >&5
20149 echo "${ECHO_T}no" >&6; }
20150 fi
20151
20152
20153 fi
20154 if test -z "$ac_cv_prog_WINDRES"; then
20155 ac_ct_WINDRES=$WINDRES
20156 # Extract the first word of "windres", so it can be a program name with args.
20157 set dummy windres; ac_word=$2
20158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20160 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 if test -n "$ac_ct_WINDRES"; then
20164 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20165 else
20166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20167 for as_dir in $PATH
20168 do
20169 IFS=$as_save_IFS
20170 test -z "$as_dir" && as_dir=.
20171 for ac_exec_ext in '' $ac_executable_extensions; do
20172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20173 ac_cv_prog_ac_ct_WINDRES="windres"
20174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20175 break 2
20176 fi
20177 done
20178 done
20179 IFS=$as_save_IFS
20180
20181 fi
20182 fi
20183 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20184 if test -n "$ac_ct_WINDRES"; then
20185 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20186 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20187 else
20188 { echo "$as_me:$LINENO: result: no" >&5
20189 echo "${ECHO_T}no" >&6; }
20190 fi
20191
20192 if test "x$ac_ct_WINDRES" = x; then
20193 WINDRES=""
20194 else
20195 case $cross_compiling:$ac_tool_warned in
20196 yes:)
20197 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20198 whose name does not start with the host triplet. If you think this
20199 configuration is useful to you, please write to autoconf@gnu.org." >&5
20200 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20201 whose name does not start with the host triplet. If you think this
20202 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20203 ac_tool_warned=yes ;;
20204 esac
20205 WINDRES=$ac_ct_WINDRES
20206 fi
20207 else
20208 WINDRES="$ac_cv_prog_WINDRES"
20209 fi
20210
20211 RESCOMP="$WINDRES"
20212 if test -n "$ac_tool_prefix"; then
20213 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20214 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20217 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 else
20220 if test -n "$DLLTOOL"; then
20221 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20222 else
20223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20224 for as_dir in $PATH
20225 do
20226 IFS=$as_save_IFS
20227 test -z "$as_dir" && as_dir=.
20228 for ac_exec_ext in '' $ac_executable_extensions; do
20229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20230 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20232 break 2
20233 fi
20234 done
20235 done
20236 IFS=$as_save_IFS
20237
20238 fi
20239 fi
20240 DLLTOOL=$ac_cv_prog_DLLTOOL
20241 if test -n "$DLLTOOL"; then
20242 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20243 echo "${ECHO_T}$DLLTOOL" >&6; }
20244 else
20245 { echo "$as_me:$LINENO: result: no" >&5
20246 echo "${ECHO_T}no" >&6; }
20247 fi
20248
20249
20250 fi
20251 if test -z "$ac_cv_prog_DLLTOOL"; then
20252 ac_ct_DLLTOOL=$DLLTOOL
20253 # Extract the first word of "dlltool", so it can be a program name with args.
20254 set dummy dlltool; ac_word=$2
20255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20257 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 else
20260 if test -n "$ac_ct_DLLTOOL"; then
20261 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20262 else
20263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20264 for as_dir in $PATH
20265 do
20266 IFS=$as_save_IFS
20267 test -z "$as_dir" && as_dir=.
20268 for ac_exec_ext in '' $ac_executable_extensions; do
20269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20270 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20272 break 2
20273 fi
20274 done
20275 done
20276 IFS=$as_save_IFS
20277
20278 fi
20279 fi
20280 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20281 if test -n "$ac_ct_DLLTOOL"; then
20282 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20283 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20284 else
20285 { echo "$as_me:$LINENO: result: no" >&5
20286 echo "${ECHO_T}no" >&6; }
20287 fi
20288
20289 if test "x$ac_ct_DLLTOOL" = x; then
20290 DLLTOOL=""
20291 else
20292 case $cross_compiling:$ac_tool_warned in
20293 yes:)
20294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20295 whose name does not start with the host triplet. If you think this
20296 configuration is useful to you, please write to autoconf@gnu.org." >&5
20297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20298 whose name does not start with the host triplet. If you think this
20299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20300 ac_tool_warned=yes ;;
20301 esac
20302 DLLTOOL=$ac_ct_DLLTOOL
20303 fi
20304 else
20305 DLLTOOL="$ac_cv_prog_DLLTOOL"
20306 fi
20307
20308 ;;
20309 esac
20310 fi
20311
20312 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20313 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20314 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 else
20317
20318 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20319 $EGREP -s GNU > /dev/null); then
20320 wx_cv_prog_makeisgnu="yes"
20321 else
20322 wx_cv_prog_makeisgnu="no"
20323 fi
20324
20325 fi
20326 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20327 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20328
20329 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20330 IF_GNU_MAKE=""
20331 else
20332 IF_GNU_MAKE="#"
20333 fi
20334
20335
20336
20337 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20338 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20339 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20340 if test "${wx_cv_prog_makevpath+set}" = set; then
20341 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 else
20343
20344 cat - << EOF > confMake
20345 check : file
20346 cp \$? \$@
20347 cp \$? final_file
20348 EOF
20349
20350 if test ! -d sub ; then
20351 mkdir sub
20352 fi
20353 echo dummy > sub/file
20354 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20355 RESULT=$?
20356 rm -f sub/file check final_file confMake
20357 rmdir sub
20358 if test "$RESULT" = 0; then
20359 wx_cv_prog_makevpath="yes"
20360 else
20361 wx_cv_prog_makevpath="no"
20362 fi
20363
20364 fi
20365 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20366 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20367
20368 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20369 { { echo "$as_me:$LINENO: error:
20370 You need a make-utility that is able to use the variable
20371 VPATH correctly.
20372 If your version of make does not support VPATH correctly,
20373 please install GNU-make (possibly as gmake), and start
20374 configure with the following command:
20375 export MAKE=gmake; ./configure for sh-type shells
20376 setenv MAKE gmake; ./configure for csh-type shells
20377 Also please do remember to use gmake in this case every time
20378 you are trying to compile.
20379 " >&5
20380 echo "$as_me: error:
20381 You need a make-utility that is able to use the variable
20382 VPATH correctly.
20383 If your version of make does not support VPATH correctly,
20384 please install GNU-make (possibly as gmake), and start
20385 configure with the following command:
20386 export MAKE=gmake; ./configure for sh-type shells
20387 setenv MAKE gmake; ./configure for csh-type shells
20388 Also please do remember to use gmake in this case every time
20389 you are trying to compile.
20390 " >&2;}
20391 { (exit 1); exit 1; }; }
20392 fi fi
20393 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20394 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20395 LN_S=$as_ln_s
20396 if test "$LN_S" = "ln -s"; then
20397 { echo "$as_me:$LINENO: result: yes" >&5
20398 echo "${ECHO_T}yes" >&6; }
20399 else
20400 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20401 echo "${ECHO_T}no, using $LN_S" >&6; }
20402 fi
20403
20404
20405
20406
20407 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20408 CXXFLAGS="-qunique $CXXFLAGS"
20409 fi
20410
20411 case "${host}" in
20412 powerpc-*-darwin* )
20413 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20414 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421
20422 int
20423 main ()
20424 {
20425 #ifndef __POWERPC__
20426 choke me for lack of PowerPC
20427 #endif
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 { echo "$as_me:$LINENO: result: yes" >&5
20451 echo "${ECHO_T}yes" >&6; }
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20455
20456 { echo "$as_me:$LINENO: result: no" >&5
20457 echo "${ECHO_T}no" >&6; }
20458 cat >>confdefs.h <<\_ACEOF
20459 #define __POWERPC__ 1
20460 _ACEOF
20461
20462
20463 fi
20464
20465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20466 ;;
20467 esac
20468
20469 case "${host}" in
20470 *-*-darwin* )
20471 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20472 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <CoreFoundation/CFBase.h>
20480
20481 int
20482 main ()
20483 {
20484
20485 ;
20486 return 0;
20487 }
20488 _ACEOF
20489 rm -f conftest.$ac_objext
20490 if { (ac_try="$ac_compile"
20491 case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20494 esac
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_compile") 2>conftest.er1
20497 ac_status=$?
20498 grep -v '^ *+' conftest.er1 >conftest.err
20499 rm -f conftest.er1
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_c_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest.$ac_objext; then
20506 { echo "$as_me:$LINENO: result: yes" >&5
20507 echo "${ECHO_T}yes" >&6; }
20508 else
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20511
20512 { echo "$as_me:$LINENO: result: no" >&5
20513 echo "${ECHO_T}no" >&6; }
20514 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20515 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #define __CF_USE_FRAMEWORK_INCLUDES__
20523 #include <CoreFoundation/CFBase.h>
20524
20525 int
20526 main ()
20527 {
20528
20529 ;
20530 return 0;
20531 }
20532 _ACEOF
20533 rm -f conftest.$ac_objext
20534 if { (ac_try="$ac_compile"
20535 case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20538 esac
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_compile") 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } && {
20547 test -z "$ac_c_werror_flag" ||
20548 test ! -s conftest.err
20549 } && test -s conftest.$ac_objext; then
20550 { echo "$as_me:$LINENO: result: yes" >&5
20551 echo "${ECHO_T}yes" >&6; }
20552 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20553 else
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20556
20557 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: no. CoreFoundation not available.
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }
20562
20563 fi
20564
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20566
20567
20568 fi
20569
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20571 ;;
20572 esac
20573
20574 wants_win32=0
20575 doesnt_want_win32=0
20576 case "${host}" in
20577 *-*-cygwin*)
20578 if test "$wxUSE_MSW" = 1 ; then
20579 wants_win32=1
20580 else
20581 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20582 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20583 if test "${wx_cv_nocygwin+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593
20594 int
20595 main ()
20596 {
20597
20598 #ifdef __MINGW32__
20599 choke me
20600 #endif
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 wx_cv_nocygwin=no
20624 else
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20627
20628 wx_cv_nocygwin=yes
20629
20630 fi
20631
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633
20634
20635 fi
20636 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20637 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20638
20639 if test "$wx_cv_nocygwin" = "yes"; then
20640 wants_win32=1
20641 else
20642 doesnt_want_win32=1
20643 fi
20644 fi
20645 if test "$wants_win32" = 1 ; then
20646 BAKEFILE_FORCE_PLATFORM=win32
20647 fi
20648 ;;
20649 *-*-mingw*)
20650 wants_win32=1
20651 ;;
20652 esac
20653
20654 if test "$wxUSE_WINE" = "yes"; then
20655 wants_win32=1
20656 LDFLAGS_GUI="-mwindows"
20657 fi
20658
20659 if test "$wants_win32" = 1 ; then
20660 USE_UNIX=0
20661 USE_WIN32=1
20662 cat >>confdefs.h <<\_ACEOF
20663 #define __WIN32__ 1
20664 _ACEOF
20665
20666 cat >>confdefs.h <<\_ACEOF
20667 #define __WIN95__ 1
20668 _ACEOF
20669
20670 cat >>confdefs.h <<\_ACEOF
20671 #define __WINDOWS__ 1
20672 _ACEOF
20673
20674 cat >>confdefs.h <<\_ACEOF
20675 #define __GNUWIN32__ 1
20676 _ACEOF
20677
20678 cat >>confdefs.h <<\_ACEOF
20679 #define STRICT 1
20680 _ACEOF
20681
20682 fi
20683 if test "$doesnt_want_win32" = 1 ; then
20684 USE_UNIX=1
20685 USE_WIN32=0
20686 fi
20687
20688 if test "$USE_UNIX" = 1 ; then
20689 wxUSE_UNIX=yes
20690 cat >>confdefs.h <<\_ACEOF
20691 #define __UNIX__ 1
20692 _ACEOF
20693
20694 fi
20695
20696 case "${host}" in
20697 *-pc-os2_emx | *-pc-os2-emx )
20698 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20699 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20700 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20701 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20703 else
20704 ac_check_lib_save_LIBS=$LIBS
20705 LIBS="-lcExt $LIBS"
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712
20713 /* Override any GCC internal prototype to avoid an error.
20714 Use char because int might match the return type of a GCC
20715 builtin and then its argument prototype would still apply. */
20716 #ifdef __cplusplus
20717 extern "C"
20718 #endif
20719 char drand48 ();
20720 int
20721 main ()
20722 {
20723 return drand48 ();
20724 ;
20725 return 0;
20726 }
20727 _ACEOF
20728 rm -f conftest.$ac_objext conftest$ac_exeext
20729 if { (ac_try="$ac_link"
20730 case "(($ac_try" in
20731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20732 *) ac_try_echo=$ac_try;;
20733 esac
20734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20735 (eval "$ac_link") 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } && {
20742 test -z "$ac_c_werror_flag" ||
20743 test ! -s conftest.err
20744 } && test -s conftest$ac_exeext &&
20745 $as_test_x conftest$ac_exeext; then
20746 ac_cv_lib_cExt_drand48=yes
20747 else
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 ac_cv_lib_cExt_drand48=no
20752 fi
20753
20754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20755 conftest$ac_exeext conftest.$ac_ext
20756 LIBS=$ac_check_lib_save_LIBS
20757 fi
20758 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20759 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20760 if test $ac_cv_lib_cExt_drand48 = yes; then
20761 LIBS="$LIBS -lcExt"
20762 fi
20763
20764 else
20765 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20766 fi
20767 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20768 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20769 if test "${wx_cv_gccversion+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 else
20772
20773 if test "$cross_compiling" = yes; then
20774 wx_cv_gccversion="EMX2"
20775
20776 else
20777 cat >conftest.$ac_ext <<_ACEOF
20778 /* confdefs.h. */
20779 _ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783
20784 #include <stdio.h>
20785
20786 int main()
20787 {
20788 FILE *f=fopen("conftestval", "w");
20789 if (!f) exit(1);
20790 fprintf(f,
20791 #if (__GNUC__ < 3)
20792 "EMX2"
20793 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20794 "EMX3"
20795 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20796 "Innotek5"
20797 #else
20798 "Innotek6"
20799 #endif
20800 );
20801 exit(0);
20802 }
20803
20804 _ACEOF
20805 rm -f conftest$ac_exeext
20806 if { (ac_try="$ac_link"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20810 esac
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_link") 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20816 { (case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20819 esac
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_try") 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 wx_cv_gccversion=`cat conftestval`
20826 else
20827 echo "$as_me: program exited with status $ac_status" >&5
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ( exit $ac_status )
20832 wx_cv_gccversion="EMX2"
20833 fi
20834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20835 fi
20836
20837
20838
20839 fi
20840 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20841 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20842 if test "$wx_cv_gccversion" = "EMX2"; then
20843 LIBS="$LIBS -lstdcpp"
20844 LDFLAGS="$LDFLAGS -Zsysv-signals"
20845 else
20846 if test "$wx_cv_gccversion" = "EMX3"; then
20847 LIBS="$LIBS -lstdcxx -lgcc"
20848 LDFLAGS="$LDFLAGS -Zsysv-signals"
20849 else
20850 LIBS="$LIBS -lstdc++"
20851 fi
20852 fi
20853 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20854 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20855 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20856 wxUSE_OMF=yes
20857 enable_omf=yes
20858 fi
20859 ;;
20860 *)
20861
20862 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20863 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20864 if test "${ac_cv_string_strcasecmp+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874
20875 #include <string.h>
20876
20877 int
20878 main ()
20879 {
20880
20881 strcasecmp("foo", "bar");
20882
20883 ;
20884 return 0;
20885 }
20886 _ACEOF
20887 rm -f conftest.$ac_objext conftest$ac_exeext
20888 if { (ac_try="$ac_link"
20889 case "(($ac_try" in
20890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891 *) ac_try_echo=$ac_try;;
20892 esac
20893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894 (eval "$ac_link") 2>conftest.er1
20895 ac_status=$?
20896 grep -v '^ *+' conftest.er1 >conftest.err
20897 rm -f conftest.er1
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && {
20901 test -z "$ac_c_werror_flag" ||
20902 test ! -s conftest.err
20903 } && test -s conftest$ac_exeext &&
20904 $as_test_x conftest$ac_exeext; then
20905 ac_cv_string_strcasecmp=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20909
20910 ac_cv_string_strcasecmp=no
20911
20912 fi
20913
20914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20915 conftest$ac_exeext conftest.$ac_ext
20916
20917 fi
20918 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20919 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20920
20921 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20922 cat >>confdefs.h <<\_ACEOF
20923 #define HAVE_STRCASECMP_IN_STRING_H 1
20924 _ACEOF
20925
20926 else
20927 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20928 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20929 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 else
20932
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939
20940 #include <strings.h>
20941
20942 int
20943 main ()
20944 {
20945
20946 strcasecmp("foo", "bar");
20947
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest.$ac_objext conftest$ac_exeext
20953 if { (ac_try="$ac_link"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20957 esac
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_link") 2>conftest.er1
20960 ac_status=$?
20961 grep -v '^ *+' conftest.er1 >conftest.err
20962 rm -f conftest.er1
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } && {
20966 test -z "$ac_c_werror_flag" ||
20967 test ! -s conftest.err
20968 } && test -s conftest$ac_exeext &&
20969 $as_test_x conftest$ac_exeext; then
20970 ac_cv_strings_strcasecmp=yes
20971 else
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20974
20975 ac_cv_strings_strcasecmp=no
20976
20977 fi
20978
20979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20980 conftest$ac_exeext conftest.$ac_ext
20981
20982 fi
20983 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20984 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20985
20986 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20989 _ACEOF
20990
20991 else
20992 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20993 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20994 { (exit 1); exit 1; }; }
20995 fi
20996 fi
20997
20998 ;;
20999 esac
21000
21001
21002 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21004 if test "${ac_cv_header_stdc+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 #include <stdlib.h>
21014 #include <stdarg.h>
21015 #include <string.h>
21016 #include <float.h>
21017
21018 int
21019 main ()
21020 {
21021
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_header_stdc=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_cv_header_stdc=no
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052
21053 if test $ac_cv_header_stdc = yes; then
21054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #include <string.h>
21062
21063 _ACEOF
21064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21065 $EGREP "memchr" >/dev/null 2>&1; then
21066 :
21067 else
21068 ac_cv_header_stdc=no
21069 fi
21070 rm -f conftest*
21071
21072 fi
21073
21074 if test $ac_cv_header_stdc = yes; then
21075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #include <stdlib.h>
21083
21084 _ACEOF
21085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21086 $EGREP "free" >/dev/null 2>&1; then
21087 :
21088 else
21089 ac_cv_header_stdc=no
21090 fi
21091 rm -f conftest*
21092
21093 fi
21094
21095 if test $ac_cv_header_stdc = yes; then
21096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21097 if test "$cross_compiling" = yes; then
21098 :
21099 else
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 #include <ctype.h>
21107 #include <stdlib.h>
21108 #if ((' ' & 0x0FF) == 0x020)
21109 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21110 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21111 #else
21112 # define ISLOWER(c) \
21113 (('a' <= (c) && (c) <= 'i') \
21114 || ('j' <= (c) && (c) <= 'r') \
21115 || ('s' <= (c) && (c) <= 'z'))
21116 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21117 #endif
21118
21119 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21120 int
21121 main ()
21122 {
21123 int i;
21124 for (i = 0; i < 256; i++)
21125 if (XOR (islower (i), ISLOWER (i))
21126 || toupper (i) != TOUPPER (i))
21127 return 2;
21128 return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest$ac_exeext
21132 if { (ac_try="$ac_link"
21133 case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21136 esac
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_link") 2>&5
21139 ac_status=$?
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21142 { (case "(($ac_try" in
21143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21145 esac
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_try") 2>&5
21148 ac_status=$?
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 :
21152 else
21153 echo "$as_me: program exited with status $ac_status" >&5
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 ( exit $ac_status )
21158 ac_cv_header_stdc=no
21159 fi
21160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21161 fi
21162
21163
21164 fi
21165 fi
21166 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21167 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21168 if test $ac_cv_header_stdc = yes; then
21169
21170 cat >>confdefs.h <<\_ACEOF
21171 #define STDC_HEADERS 1
21172 _ACEOF
21173
21174 fi
21175
21176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21187 inttypes.h stdint.h unistd.h
21188 do
21189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 else
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202
21203 #include <$ac_header>
21204 _ACEOF
21205 rm -f conftest.$ac_objext
21206 if { (ac_try="$ac_compile"
21207 case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21210 esac
21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21212 (eval "$ac_compile") 2>conftest.er1
21213 ac_status=$?
21214 grep -v '^ *+' conftest.er1 >conftest.err
21215 rm -f conftest.er1
21216 cat conftest.err >&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } && {
21219 test -z "$ac_c_werror_flag" ||
21220 test ! -s conftest.err
21221 } && test -s conftest.$ac_objext; then
21222 eval "$as_ac_Header=yes"
21223 else
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21226
21227 eval "$as_ac_Header=no"
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 fi
21232 ac_res=`eval echo '${'$as_ac_Header'}'`
21233 { echo "$as_me:$LINENO: result: $ac_res" >&5
21234 echo "${ECHO_T}$ac_res" >&6; }
21235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21236 cat >>confdefs.h <<_ACEOF
21237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21238 _ACEOF
21239
21240 fi
21241
21242 done
21243
21244
21245
21246
21247
21248
21249
21250
21251 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21252 do
21253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21254 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21257 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 else
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266
21267 #include <$ac_header>
21268 _ACEOF
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 eval "$as_ac_Header=yes"
21287 else
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21290
21291 eval "$as_ac_Header=no"
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 fi
21296 ac_res=`eval echo '${'$as_ac_Header'}'`
21297 { echo "$as_me:$LINENO: result: $ac_res" >&5
21298 echo "${ECHO_T}$ac_res" >&6; }
21299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21300 cat >>confdefs.h <<_ACEOF
21301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21302 _ACEOF
21303
21304 fi
21305
21306 done
21307
21308
21309 if test "$ac_cv_header_wchar_h" != "yes"; then
21310
21311 for ac_header in wcstr.h
21312 do
21313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 else
21319 cat >conftest.$ac_ext <<_ACEOF
21320 /* confdefs.h. */
21321 _ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326
21327 #include <$ac_header>
21328 _ACEOF
21329 rm -f conftest.$ac_objext
21330 if { (ac_try="$ac_compile"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21334 esac
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_compile") 2>conftest.er1
21337 ac_status=$?
21338 grep -v '^ *+' conftest.er1 >conftest.err
21339 rm -f conftest.er1
21340 cat conftest.err >&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } && {
21343 test -z "$ac_c_werror_flag" ||
21344 test ! -s conftest.err
21345 } && test -s conftest.$ac_objext; then
21346 eval "$as_ac_Header=yes"
21347 else
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21350
21351 eval "$as_ac_Header=no"
21352 fi
21353
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355 fi
21356 ac_res=`eval echo '${'$as_ac_Header'}'`
21357 { echo "$as_me:$LINENO: result: $ac_res" >&5
21358 echo "${ECHO_T}$ac_res" >&6; }
21359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21360 cat >>confdefs.h <<_ACEOF
21361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21362 _ACEOF
21363
21364 fi
21365
21366 done
21367
21368 fi
21369
21370 case "${host}" in
21371 *-pc-os2_emx | *-pc-os2-emx )
21372 if test $ac_cv_header_langinfo_h = "yes" \
21373 -a \( "$wx_cv_gccversion" = "EMX2" \
21374 -o "$wx_cv_gccversion" = "EMX3" \
21375 -o "$wx_cv_gccversion" = "Innotek5" \); then
21376 LIBS="$LIBS -lintl"
21377 fi
21378 ;;
21379 esac
21380
21381 if test "$USE_UNIX" = 1 ; then
21382
21383 for ac_header in sys/select.h
21384 do
21385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21390 else
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398
21399 #include <$ac_header>
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21406 esac
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21409 ac_status=$?
21410 grep -v '^ *+' conftest.er1 >conftest.err
21411 rm -f conftest.er1
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21418 eval "$as_ac_Header=yes"
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 eval "$as_ac_Header=no"
21424 fi
21425
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 fi
21428 ac_res=`eval echo '${'$as_ac_Header'}'`
21429 { echo "$as_me:$LINENO: result: $ac_res" >&5
21430 echo "${ECHO_T}$ac_res" >&6; }
21431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21432 cat >>confdefs.h <<_ACEOF
21433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21434 _ACEOF
21435
21436 fi
21437
21438 done
21439
21440 fi
21441
21442
21443 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21444 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21445 if test "${ac_cv_c_const+set}" = set; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 else
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454
21455 int
21456 main ()
21457 {
21458 /* FIXME: Include the comments suggested by Paul. */
21459 #ifndef __cplusplus
21460 /* Ultrix mips cc rejects this. */
21461 typedef int charset[2];
21462 const charset cs;
21463 /* SunOS 4.1.1 cc rejects this. */
21464 char const *const *pcpcc;
21465 char **ppc;
21466 /* NEC SVR4.0.2 mips cc rejects this. */
21467 struct point {int x, y;};
21468 static struct point const zero = {0,0};
21469 /* AIX XL C 1.02.0.0 rejects this.
21470 It does not let you subtract one const X* pointer from another in
21471 an arm of an if-expression whose if-part is not a constant
21472 expression */
21473 const char *g = "string";
21474 pcpcc = &g + (g ? g-g : 0);
21475 /* HPUX 7.0 cc rejects these. */
21476 ++pcpcc;
21477 ppc = (char**) pcpcc;
21478 pcpcc = (char const *const *) ppc;
21479 { /* SCO 3.2v4 cc rejects this. */
21480 char *t;
21481 char const *s = 0 ? (char *) 0 : (char const *) 0;
21482
21483 *t++ = 0;
21484 if (s) return 0;
21485 }
21486 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21487 int x[] = {25, 17};
21488 const int *foo = &x[0];
21489 ++foo;
21490 }
21491 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21492 typedef const int *iptr;
21493 iptr p = 0;
21494 ++p;
21495 }
21496 { /* AIX XL C 1.02.0.0 rejects this saying
21497 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21498 struct s { int j; const int *ap[3]; };
21499 struct s *b; b->j = 5;
21500 }
21501 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21502 const int foo = 10;
21503 if (!foo) return 0;
21504 }
21505 return !cs[0] && !zero.x;
21506 #endif
21507
21508 ;
21509 return 0;
21510 }
21511 _ACEOF
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21517 esac
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21520 ac_status=$?
21521 grep -v '^ *+' conftest.er1 >conftest.err
21522 rm -f conftest.er1
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && {
21526 test -z "$ac_c_werror_flag" ||
21527 test ! -s conftest.err
21528 } && test -s conftest.$ac_objext; then
21529 ac_cv_c_const=yes
21530 else
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 ac_cv_c_const=no
21535 fi
21536
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21540 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21541 if test $ac_cv_c_const = no; then
21542
21543 cat >>confdefs.h <<\_ACEOF
21544 #define const
21545 _ACEOF
21546
21547 fi
21548
21549 { echo "$as_me:$LINENO: checking for inline" >&5
21550 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21551 if test "${ac_cv_c_inline+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 else
21554 ac_cv_c_inline=no
21555 for ac_kw in inline __inline__ __inline; do
21556 cat >conftest.$ac_ext <<_ACEOF
21557 /* confdefs.h. */
21558 _ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 #ifndef __cplusplus
21563 typedef int foo_t;
21564 static $ac_kw foo_t static_foo () {return 0; }
21565 $ac_kw foo_t foo () {return 0; }
21566 #endif
21567
21568 _ACEOF
21569 rm -f conftest.$ac_objext
21570 if { (ac_try="$ac_compile"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21574 esac
21575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_compile") 2>conftest.er1
21577 ac_status=$?
21578 grep -v '^ *+' conftest.er1 >conftest.err
21579 rm -f conftest.er1
21580 cat conftest.err >&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } && {
21583 test -z "$ac_c_werror_flag" ||
21584 test ! -s conftest.err
21585 } && test -s conftest.$ac_objext; then
21586 ac_cv_c_inline=$ac_kw
21587 else
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21590
21591
21592 fi
21593
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595 test "$ac_cv_c_inline" != no && break
21596 done
21597
21598 fi
21599 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21600 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21601
21602
21603 case $ac_cv_c_inline in
21604 inline | yes) ;;
21605 *)
21606 case $ac_cv_c_inline in
21607 no) ac_val=;;
21608 *) ac_val=$ac_cv_c_inline;;
21609 esac
21610 cat >>confdefs.h <<_ACEOF
21611 #ifndef __cplusplus
21612 #define inline $ac_val
21613 #endif
21614 _ACEOF
21615 ;;
21616 esac
21617
21618
21619 { echo "$as_me:$LINENO: checking for short" >&5
21620 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21621 if test "${ac_cv_type_short+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 else
21624 cat >conftest.$ac_ext <<_ACEOF
21625 /* confdefs.h. */
21626 _ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 $ac_includes_default
21631 typedef short ac__type_new_;
21632 int
21633 main ()
21634 {
21635 if ((ac__type_new_ *) 0)
21636 return 0;
21637 if (sizeof (ac__type_new_))
21638 return 0;
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21648 esac
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21651 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.$ac_objext; then
21660 ac_cv_type_short=yes
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_cv_type_short=no
21666 fi
21667
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 fi
21670 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21671 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21672
21673 # The cast to long int works around a bug in the HP C Compiler
21674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21676 # This bug is HP SR number 8606223364.
21677 { echo "$as_me:$LINENO: checking size of short" >&5
21678 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21679 if test "${ac_cv_sizeof_short+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 else
21682 if test "$cross_compiling" = yes; then
21683 # Depending upon the size, compute the lo and hi bounds.
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 $ac_includes_default
21691 typedef short ac__type_sizeof_;
21692 int
21693 main ()
21694 {
21695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21696 test_array [0] = 0
21697
21698 ;
21699 return 0;
21700 }
21701 _ACEOF
21702 rm -f conftest.$ac_objext
21703 if { (ac_try="$ac_compile"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21707 esac
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_compile") 2>conftest.er1
21710 ac_status=$?
21711 grep -v '^ *+' conftest.er1 >conftest.err
21712 rm -f conftest.er1
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } && {
21716 test -z "$ac_c_werror_flag" ||
21717 test ! -s conftest.err
21718 } && test -s conftest.$ac_objext; then
21719 ac_lo=0 ac_mid=0
21720 while :; do
21721 cat >conftest.$ac_ext <<_ACEOF
21722 /* confdefs.h. */
21723 _ACEOF
21724 cat confdefs.h >>conftest.$ac_ext
21725 cat >>conftest.$ac_ext <<_ACEOF
21726 /* end confdefs.h. */
21727 $ac_includes_default
21728 typedef short ac__type_sizeof_;
21729 int
21730 main ()
21731 {
21732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21733 test_array [0] = 0
21734
21735 ;
21736 return 0;
21737 }
21738 _ACEOF
21739 rm -f conftest.$ac_objext
21740 if { (ac_try="$ac_compile"
21741 case "(($ac_try" in
21742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21743 *) ac_try_echo=$ac_try;;
21744 esac
21745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21746 (eval "$ac_compile") 2>conftest.er1
21747 ac_status=$?
21748 grep -v '^ *+' conftest.er1 >conftest.err
21749 rm -f conftest.er1
21750 cat conftest.err >&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } && {
21753 test -z "$ac_c_werror_flag" ||
21754 test ! -s conftest.err
21755 } && test -s conftest.$ac_objext; then
21756 ac_hi=$ac_mid; break
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21760
21761 ac_lo=`expr $ac_mid + 1`
21762 if test $ac_lo -le $ac_mid; then
21763 ac_lo= ac_hi=
21764 break
21765 fi
21766 ac_mid=`expr 2 '*' $ac_mid + 1`
21767 fi
21768
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21770 done
21771 else
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21774
21775 cat >conftest.$ac_ext <<_ACEOF
21776 /* confdefs.h. */
21777 _ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 $ac_includes_default
21782 typedef short ac__type_sizeof_;
21783 int
21784 main ()
21785 {
21786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21787 test_array [0] = 0
21788
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21798 esac
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21801 ac_status=$?
21802 grep -v '^ *+' conftest.er1 >conftest.err
21803 rm -f conftest.er1
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21810 ac_hi=-1 ac_mid=-1
21811 while :; do
21812 cat >conftest.$ac_ext <<_ACEOF
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 $ac_includes_default
21819 typedef short ac__type_sizeof_;
21820 int
21821 main ()
21822 {
21823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21824 test_array [0] = 0
21825
21826 ;
21827 return 0;
21828 }
21829 _ACEOF
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21835 esac
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_lo=$ac_mid; break
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_hi=`expr '(' $ac_mid ')' - 1`
21853 if test $ac_mid -le $ac_hi; then
21854 ac_lo= ac_hi=
21855 break
21856 fi
21857 ac_mid=`expr 2 '*' $ac_mid`
21858 fi
21859
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 done
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 ac_lo= ac_hi=
21867 fi
21868
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870 fi
21871
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 # Binary search between lo and hi bounds.
21874 while test "x$ac_lo" != "x$ac_hi"; do
21875 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21876 cat >conftest.$ac_ext <<_ACEOF
21877 /* confdefs.h. */
21878 _ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 $ac_includes_default
21883 typedef short ac__type_sizeof_;
21884 int
21885 main ()
21886 {
21887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21888 test_array [0] = 0
21889
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 rm -f conftest.$ac_objext
21895 if { (ac_try="$ac_compile"
21896 case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21899 esac
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_compile") 2>conftest.er1
21902 ac_status=$?
21903 grep -v '^ *+' conftest.er1 >conftest.err
21904 rm -f conftest.er1
21905 cat conftest.err >&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } && {
21908 test -z "$ac_c_werror_flag" ||
21909 test ! -s conftest.err
21910 } && test -s conftest.$ac_objext; then
21911 ac_hi=$ac_mid
21912 else
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.$ac_ext >&5
21915
21916 ac_lo=`expr '(' $ac_mid ')' + 1`
21917 fi
21918
21919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21920 done
21921 case $ac_lo in
21922 ?*) ac_cv_sizeof_short=$ac_lo;;
21923 '') if test "$ac_cv_type_short" = yes; then
21924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21925 See \`config.log' for more details." >&5
21926 echo "$as_me: error: cannot compute sizeof (short)
21927 See \`config.log' for more details." >&2;}
21928 { (exit 77); exit 77; }; }
21929 else
21930 ac_cv_sizeof_short=0
21931 fi ;;
21932 esac
21933 else
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 $ac_includes_default
21941 typedef short ac__type_sizeof_;
21942 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21943 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21944 #include <stdio.h>
21945 #include <stdlib.h>
21946 int
21947 main ()
21948 {
21949
21950 FILE *f = fopen ("conftest.val", "w");
21951 if (! f)
21952 return 1;
21953 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21954 {
21955 long int i = longval ();
21956 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21957 return 1;
21958 fprintf (f, "%ld\n", i);
21959 }
21960 else
21961 {
21962 unsigned long int i = ulongval ();
21963 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21964 return 1;
21965 fprintf (f, "%lu\n", i);
21966 }
21967 return ferror (f) || fclose (f) != 0;
21968
21969 ;
21970 return 0;
21971 }
21972 _ACEOF
21973 rm -f conftest$ac_exeext
21974 if { (ac_try="$ac_link"
21975 case "(($ac_try" in
21976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21977 *) ac_try_echo=$ac_try;;
21978 esac
21979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21980 (eval "$ac_link") 2>&5
21981 ac_status=$?
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21984 { (case "(($ac_try" in
21985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21986 *) ac_try_echo=$ac_try;;
21987 esac
21988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21989 (eval "$ac_try") 2>&5
21990 ac_status=$?
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 ac_cv_sizeof_short=`cat conftest.val`
21994 else
21995 echo "$as_me: program exited with status $ac_status" >&5
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21998
21999 ( exit $ac_status )
22000 if test "$ac_cv_type_short" = yes; then
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22002 See \`config.log' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (short)
22004 See \`config.log' for more details." >&2;}
22005 { (exit 77); exit 77; }; }
22006 else
22007 ac_cv_sizeof_short=0
22008 fi
22009 fi
22010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22011 fi
22012 rm -f conftest.val
22013 fi
22014 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22015 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22016
22017
22018
22019 cat >>confdefs.h <<_ACEOF
22020 #define SIZEOF_SHORT $ac_cv_sizeof_short
22021 _ACEOF
22022
22023
22024 { echo "$as_me:$LINENO: checking for void *" >&5
22025 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22026 if test "${ac_cv_type_void_p+set}" = set; then
22027 echo $ECHO_N "(cached) $ECHO_C" >&6
22028 else
22029 cat >conftest.$ac_ext <<_ACEOF
22030 /* confdefs.h. */
22031 _ACEOF
22032 cat confdefs.h >>conftest.$ac_ext
22033 cat >>conftest.$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22035 $ac_includes_default
22036 typedef void * ac__type_new_;
22037 int
22038 main ()
22039 {
22040 if ((ac__type_new_ *) 0)
22041 return 0;
22042 if (sizeof (ac__type_new_))
22043 return 0;
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 rm -f conftest.$ac_objext
22049 if { (ac_try="$ac_compile"
22050 case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22053 esac
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_compile") 2>conftest.er1
22056 ac_status=$?
22057 grep -v '^ *+' conftest.er1 >conftest.err
22058 rm -f conftest.er1
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } && {
22062 test -z "$ac_c_werror_flag" ||
22063 test ! -s conftest.err
22064 } && test -s conftest.$ac_objext; then
22065 ac_cv_type_void_p=yes
22066 else
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 ac_cv_type_void_p=no
22071 fi
22072
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 fi
22075 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22076 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22077
22078 # The cast to long int works around a bug in the HP C Compiler
22079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22081 # This bug is HP SR number 8606223364.
22082 { echo "$as_me:$LINENO: checking size of void *" >&5
22083 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22084 if test "${ac_cv_sizeof_void_p+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 else
22087 if test "$cross_compiling" = yes; then
22088 # Depending upon the size, compute the lo and hi bounds.
22089 cat >conftest.$ac_ext <<_ACEOF
22090 /* confdefs.h. */
22091 _ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095 $ac_includes_default
22096 typedef void * ac__type_sizeof_;
22097 int
22098 main ()
22099 {
22100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22101 test_array [0] = 0
22102
22103 ;
22104 return 0;
22105 }
22106 _ACEOF
22107 rm -f conftest.$ac_objext
22108 if { (ac_try="$ac_compile"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22112 esac
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_compile") 2>conftest.er1
22115 ac_status=$?
22116 grep -v '^ *+' conftest.er1 >conftest.err
22117 rm -f conftest.er1
22118 cat conftest.err >&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } && {
22121 test -z "$ac_c_werror_flag" ||
22122 test ! -s conftest.err
22123 } && test -s conftest.$ac_objext; then
22124 ac_lo=0 ac_mid=0
22125 while :; do
22126 cat >conftest.$ac_ext <<_ACEOF
22127 /* confdefs.h. */
22128 _ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 $ac_includes_default
22133 typedef void * ac__type_sizeof_;
22134 int
22135 main ()
22136 {
22137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22138 test_array [0] = 0
22139
22140 ;
22141 return 0;
22142 }
22143 _ACEOF
22144 rm -f conftest.$ac_objext
22145 if { (ac_try="$ac_compile"
22146 case "(($ac_try" in
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148 *) ac_try_echo=$ac_try;;
22149 esac
22150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22151 (eval "$ac_compile") 2>conftest.er1
22152 ac_status=$?
22153 grep -v '^ *+' conftest.er1 >conftest.err
22154 rm -f conftest.er1
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } && {
22158 test -z "$ac_c_werror_flag" ||
22159 test ! -s conftest.err
22160 } && test -s conftest.$ac_objext; then
22161 ac_hi=$ac_mid; break
22162 else
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22165
22166 ac_lo=`expr $ac_mid + 1`
22167 if test $ac_lo -le $ac_mid; then
22168 ac_lo= ac_hi=
22169 break
22170 fi
22171 ac_mid=`expr 2 '*' $ac_mid + 1`
22172 fi
22173
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 done
22176 else
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22179
22180 cat >conftest.$ac_ext <<_ACEOF
22181 /* confdefs.h. */
22182 _ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 $ac_includes_default
22187 typedef void * ac__type_sizeof_;
22188 int
22189 main ()
22190 {
22191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22192 test_array [0] = 0
22193
22194 ;
22195 return 0;
22196 }
22197 _ACEOF
22198 rm -f conftest.$ac_objext
22199 if { (ac_try="$ac_compile"
22200 case "(($ac_try" in
22201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22202 *) ac_try_echo=$ac_try;;
22203 esac
22204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22205 (eval "$ac_compile") 2>conftest.er1
22206 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } && {
22212 test -z "$ac_c_werror_flag" ||
22213 test ! -s conftest.err
22214 } && test -s conftest.$ac_objext; then
22215 ac_hi=-1 ac_mid=-1
22216 while :; do
22217 cat >conftest.$ac_ext <<_ACEOF
22218 /* confdefs.h. */
22219 _ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 typedef void * ac__type_sizeof_;
22225 int
22226 main ()
22227 {
22228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22229 test_array [0] = 0
22230
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_lo=$ac_mid; break
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_hi=`expr '(' $ac_mid ')' - 1`
22258 if test $ac_mid -le $ac_hi; then
22259 ac_lo= ac_hi=
22260 break
22261 fi
22262 ac_mid=`expr 2 '*' $ac_mid`
22263 fi
22264
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 done
22267 else
22268 echo "$as_me: failed program was:" >&5
22269 sed 's/^/| /' conftest.$ac_ext >&5
22270
22271 ac_lo= ac_hi=
22272 fi
22273
22274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22275 fi
22276
22277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22278 # Binary search between lo and hi bounds.
22279 while test "x$ac_lo" != "x$ac_hi"; do
22280 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22281 cat >conftest.$ac_ext <<_ACEOF
22282 /* confdefs.h. */
22283 _ACEOF
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 $ac_includes_default
22288 typedef void * ac__type_sizeof_;
22289 int
22290 main ()
22291 {
22292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22293 test_array [0] = 0
22294
22295 ;
22296 return 0;
22297 }
22298 _ACEOF
22299 rm -f conftest.$ac_objext
22300 if { (ac_try="$ac_compile"
22301 case "(($ac_try" in
22302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22303 *) ac_try_echo=$ac_try;;
22304 esac
22305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22306 (eval "$ac_compile") 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } && {
22313 test -z "$ac_c_werror_flag" ||
22314 test ! -s conftest.err
22315 } && test -s conftest.$ac_objext; then
22316 ac_hi=$ac_mid
22317 else
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.$ac_ext >&5
22320
22321 ac_lo=`expr '(' $ac_mid ')' + 1`
22322 fi
22323
22324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 done
22326 case $ac_lo in
22327 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22328 '') if test "$ac_cv_type_void_p" = yes; then
22329 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22330 See \`config.log' for more details." >&5
22331 echo "$as_me: error: cannot compute sizeof (void *)
22332 See \`config.log' for more details." >&2;}
22333 { (exit 77); exit 77; }; }
22334 else
22335 ac_cv_sizeof_void_p=0
22336 fi ;;
22337 esac
22338 else
22339 cat >conftest.$ac_ext <<_ACEOF
22340 /* confdefs.h. */
22341 _ACEOF
22342 cat confdefs.h >>conftest.$ac_ext
22343 cat >>conftest.$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 $ac_includes_default
22346 typedef void * ac__type_sizeof_;
22347 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22348 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22349 #include <stdio.h>
22350 #include <stdlib.h>
22351 int
22352 main ()
22353 {
22354
22355 FILE *f = fopen ("conftest.val", "w");
22356 if (! f)
22357 return 1;
22358 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22359 {
22360 long int i = longval ();
22361 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22362 return 1;
22363 fprintf (f, "%ld\n", i);
22364 }
22365 else
22366 {
22367 unsigned long int i = ulongval ();
22368 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22369 return 1;
22370 fprintf (f, "%lu\n", i);
22371 }
22372 return ferror (f) || fclose (f) != 0;
22373
22374 ;
22375 return 0;
22376 }
22377 _ACEOF
22378 rm -f conftest$ac_exeext
22379 if { (ac_try="$ac_link"
22380 case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22383 esac
22384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_link") 2>&5
22386 ac_status=$?
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22389 { (case "(($ac_try" in
22390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391 *) ac_try_echo=$ac_try;;
22392 esac
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394 (eval "$ac_try") 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 ac_cv_sizeof_void_p=`cat conftest.val`
22399 else
22400 echo "$as_me: program exited with status $ac_status" >&5
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22403
22404 ( exit $ac_status )
22405 if test "$ac_cv_type_void_p" = yes; then
22406 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22407 See \`config.log' for more details." >&5
22408 echo "$as_me: error: cannot compute sizeof (void *)
22409 See \`config.log' for more details." >&2;}
22410 { (exit 77); exit 77; }; }
22411 else
22412 ac_cv_sizeof_void_p=0
22413 fi
22414 fi
22415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22416 fi
22417 rm -f conftest.val
22418 fi
22419 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22420 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22421
22422
22423
22424 cat >>confdefs.h <<_ACEOF
22425 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22426 _ACEOF
22427
22428
22429 { echo "$as_me:$LINENO: checking for int" >&5
22430 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22431 if test "${ac_cv_type_int+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 else
22434 cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h. */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 $ac_includes_default
22441 typedef int ac__type_new_;
22442 int
22443 main ()
22444 {
22445 if ((ac__type_new_ *) 0)
22446 return 0;
22447 if (sizeof (ac__type_new_))
22448 return 0;
22449 ;
22450 return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (ac_try="$ac_compile"
22455 case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22458 esac
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_compile") 2>conftest.er1
22461 ac_status=$?
22462 grep -v '^ *+' conftest.er1 >conftest.err
22463 rm -f conftest.er1
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } && {
22467 test -z "$ac_c_werror_flag" ||
22468 test ! -s conftest.err
22469 } && test -s conftest.$ac_objext; then
22470 ac_cv_type_int=yes
22471 else
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.$ac_ext >&5
22474
22475 ac_cv_type_int=no
22476 fi
22477
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 fi
22480 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22481 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22482
22483 # The cast to long int works around a bug in the HP C Compiler
22484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22486 # This bug is HP SR number 8606223364.
22487 { echo "$as_me:$LINENO: checking size of int" >&5
22488 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22489 if test "${ac_cv_sizeof_int+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22492 if test "$cross_compiling" = yes; then
22493 # Depending upon the size, compute the lo and hi bounds.
22494 cat >conftest.$ac_ext <<_ACEOF
22495 /* confdefs.h. */
22496 _ACEOF
22497 cat confdefs.h >>conftest.$ac_ext
22498 cat >>conftest.$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef int ac__type_sizeof_;
22502 int
22503 main ()
22504 {
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22506 test_array [0] = 0
22507
22508 ;
22509 return 0;
22510 }
22511 _ACEOF
22512 rm -f conftest.$ac_objext
22513 if { (ac_try="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22517 esac
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22520 ac_status=$?
22521 grep -v '^ *+' conftest.er1 >conftest.err
22522 rm -f conftest.er1
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then
22529 ac_lo=0 ac_mid=0
22530 while :; do
22531 cat >conftest.$ac_ext <<_ACEOF
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef int ac__type_sizeof_;
22539 int
22540 main ()
22541 {
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22543 test_array [0] = 0
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22554 esac
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22557 ac_status=$?
22558 grep -v '^ *+' conftest.er1 >conftest.err
22559 rm -f conftest.er1
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22566 ac_hi=$ac_mid; break
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22570
22571 ac_lo=`expr $ac_mid + 1`
22572 if test $ac_lo -le $ac_mid; then
22573 ac_lo= ac_hi=
22574 break
22575 fi
22576 ac_mid=`expr 2 '*' $ac_mid + 1`
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 done
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 cat >conftest.$ac_ext <<_ACEOF
22586 /* confdefs.h. */
22587 _ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 typedef int ac__type_sizeof_;
22593 int
22594 main ()
22595 {
22596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22597 test_array [0] = 0
22598
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 rm -f conftest.$ac_objext
22604 if { (ac_try="$ac_compile"
22605 case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22608 esac
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_compile") 2>conftest.er1
22611 ac_status=$?
22612 grep -v '^ *+' conftest.er1 >conftest.err
22613 rm -f conftest.er1
22614 cat conftest.err >&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } && {
22617 test -z "$ac_c_werror_flag" ||
22618 test ! -s conftest.err
22619 } && test -s conftest.$ac_objext; then
22620 ac_hi=-1 ac_mid=-1
22621 while :; do
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 $ac_includes_default
22629 typedef int ac__type_sizeof_;
22630 int
22631 main ()
22632 {
22633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22634 test_array [0] = 0
22635
22636 ;
22637 return 0;
22638 }
22639 _ACEOF
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22645 esac
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22648 ac_status=$?
22649 grep -v '^ *+' conftest.er1 >conftest.err
22650 rm -f conftest.er1
22651 cat conftest.err >&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && {
22654 test -z "$ac_c_werror_flag" ||
22655 test ! -s conftest.err
22656 } && test -s conftest.$ac_objext; then
22657 ac_lo=$ac_mid; break
22658 else
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22661
22662 ac_hi=`expr '(' $ac_mid ')' - 1`
22663 if test $ac_mid -le $ac_hi; then
22664 ac_lo= ac_hi=
22665 break
22666 fi
22667 ac_mid=`expr 2 '*' $ac_mid`
22668 fi
22669
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 done
22672 else
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22675
22676 ac_lo= ac_hi=
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 fi
22681
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 # Binary search between lo and hi bounds.
22684 while test "x$ac_lo" != "x$ac_hi"; do
22685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22686 cat >conftest.$ac_ext <<_ACEOF
22687 /* confdefs.h. */
22688 _ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692 $ac_includes_default
22693 typedef int ac__type_sizeof_;
22694 int
22695 main ()
22696 {
22697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22698 test_array [0] = 0
22699
22700 ;
22701 return 0;
22702 }
22703 _ACEOF
22704 rm -f conftest.$ac_objext
22705 if { (ac_try="$ac_compile"
22706 case "(($ac_try" in
22707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22708 *) ac_try_echo=$ac_try;;
22709 esac
22710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22711 (eval "$ac_compile") 2>conftest.er1
22712 ac_status=$?
22713 grep -v '^ *+' conftest.er1 >conftest.err
22714 rm -f conftest.er1
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && {
22718 test -z "$ac_c_werror_flag" ||
22719 test ! -s conftest.err
22720 } && test -s conftest.$ac_objext; then
22721 ac_hi=$ac_mid
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ac_lo=`expr '(' $ac_mid ')' + 1`
22727 fi
22728
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 done
22731 case $ac_lo in
22732 ?*) ac_cv_sizeof_int=$ac_lo;;
22733 '') if test "$ac_cv_type_int" = yes; then
22734 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22735 See \`config.log' for more details." >&5
22736 echo "$as_me: error: cannot compute sizeof (int)
22737 See \`config.log' for more details." >&2;}
22738 { (exit 77); exit 77; }; }
22739 else
22740 ac_cv_sizeof_int=0
22741 fi ;;
22742 esac
22743 else
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef int ac__type_sizeof_;
22752 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22753 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22754 #include <stdio.h>
22755 #include <stdlib.h>
22756 int
22757 main ()
22758 {
22759
22760 FILE *f = fopen ("conftest.val", "w");
22761 if (! f)
22762 return 1;
22763 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22764 {
22765 long int i = longval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22767 return 1;
22768 fprintf (f, "%ld\n", i);
22769 }
22770 else
22771 {
22772 unsigned long int i = ulongval ();
22773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22774 return 1;
22775 fprintf (f, "%lu\n", i);
22776 }
22777 return ferror (f) || fclose (f) != 0;
22778
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest$ac_exeext
22784 if { (ac_try="$ac_link"
22785 case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22787 *) ac_try_echo=$ac_try;;
22788 esac
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_link") 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_sizeof_int=`cat conftest.val`
22804 else
22805 echo "$as_me: program exited with status $ac_status" >&5
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22808
22809 ( exit $ac_status )
22810 if test "$ac_cv_type_int" = yes; then
22811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22812 See \`config.log' for more details." >&5
22813 echo "$as_me: error: cannot compute sizeof (int)
22814 See \`config.log' for more details." >&2;}
22815 { (exit 77); exit 77; }; }
22816 else
22817 ac_cv_sizeof_int=0
22818 fi
22819 fi
22820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22821 fi
22822 rm -f conftest.val
22823 fi
22824 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22825 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22826
22827
22828
22829 cat >>confdefs.h <<_ACEOF
22830 #define SIZEOF_INT $ac_cv_sizeof_int
22831 _ACEOF
22832
22833
22834 { echo "$as_me:$LINENO: checking for long" >&5
22835 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22836 if test "${ac_cv_type_long+set}" = set; then
22837 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 else
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 $ac_includes_default
22846 typedef long ac__type_new_;
22847 int
22848 main ()
22849 {
22850 if ((ac__type_new_ *) 0)
22851 return 0;
22852 if (sizeof (ac__type_new_))
22853 return 0;
22854 ;
22855 return 0;
22856 }
22857 _ACEOF
22858 rm -f conftest.$ac_objext
22859 if { (ac_try="$ac_compile"
22860 case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22863 esac
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_compile") 2>conftest.er1
22866 ac_status=$?
22867 grep -v '^ *+' conftest.er1 >conftest.err
22868 rm -f conftest.er1
22869 cat conftest.err >&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } && {
22872 test -z "$ac_c_werror_flag" ||
22873 test ! -s conftest.err
22874 } && test -s conftest.$ac_objext; then
22875 ac_cv_type_long=yes
22876 else
22877 echo "$as_me: failed program was:" >&5
22878 sed 's/^/| /' conftest.$ac_ext >&5
22879
22880 ac_cv_type_long=no
22881 fi
22882
22883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22884 fi
22885 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22886 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22887
22888 # The cast to long int works around a bug in the HP C Compiler
22889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22891 # This bug is HP SR number 8606223364.
22892 { echo "$as_me:$LINENO: checking size of long" >&5
22893 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22894 if test "${ac_cv_sizeof_long+set}" = set; then
22895 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 else
22897 if test "$cross_compiling" = yes; then
22898 # Depending upon the size, compute the lo and hi bounds.
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 $ac_includes_default
22906 typedef long ac__type_sizeof_;
22907 int
22908 main ()
22909 {
22910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22911 test_array [0] = 0
22912
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 rm -f conftest.$ac_objext
22918 if { (ac_try="$ac_compile"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22922 esac
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_compile") 2>conftest.er1
22925 ac_status=$?
22926 grep -v '^ *+' conftest.er1 >conftest.err
22927 rm -f conftest.er1
22928 cat conftest.err >&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } && {
22931 test -z "$ac_c_werror_flag" ||
22932 test ! -s conftest.err
22933 } && test -s conftest.$ac_objext; then
22934 ac_lo=0 ac_mid=0
22935 while :; do
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h. */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 $ac_includes_default
22943 typedef long ac__type_sizeof_;
22944 int
22945 main ()
22946 {
22947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22948 test_array [0] = 0
22949
22950 ;
22951 return 0;
22952 }
22953 _ACEOF
22954 rm -f conftest.$ac_objext
22955 if { (ac_try="$ac_compile"
22956 case "(($ac_try" in
22957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22958 *) ac_try_echo=$ac_try;;
22959 esac
22960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22961 (eval "$ac_compile") 2>conftest.er1
22962 ac_status=$?
22963 grep -v '^ *+' conftest.er1 >conftest.err
22964 rm -f conftest.er1
22965 cat conftest.err >&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); } && {
22968 test -z "$ac_c_werror_flag" ||
22969 test ! -s conftest.err
22970 } && test -s conftest.$ac_objext; then
22971 ac_hi=$ac_mid; break
22972 else
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22975
22976 ac_lo=`expr $ac_mid + 1`
22977 if test $ac_lo -le $ac_mid; then
22978 ac_lo= ac_hi=
22979 break
22980 fi
22981 ac_mid=`expr 2 '*' $ac_mid + 1`
22982 fi
22983
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22985 done
22986 else
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22989
22990 cat >conftest.$ac_ext <<_ACEOF
22991 /* confdefs.h. */
22992 _ACEOF
22993 cat confdefs.h >>conftest.$ac_ext
22994 cat >>conftest.$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
22996 $ac_includes_default
22997 typedef long ac__type_sizeof_;
22998 int
22999 main ()
23000 {
23001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23002 test_array [0] = 0
23003
23004 ;
23005 return 0;
23006 }
23007 _ACEOF
23008 rm -f conftest.$ac_objext
23009 if { (ac_try="$ac_compile"
23010 case "(($ac_try" in
23011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23012 *) ac_try_echo=$ac_try;;
23013 esac
23014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23015 (eval "$ac_compile") 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } && {
23022 test -z "$ac_c_werror_flag" ||
23023 test ! -s conftest.err
23024 } && test -s conftest.$ac_objext; then
23025 ac_hi=-1 ac_mid=-1
23026 while :; do
23027 cat >conftest.$ac_ext <<_ACEOF
23028 /* confdefs.h. */
23029 _ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 $ac_includes_default
23034 typedef long ac__type_sizeof_;
23035 int
23036 main ()
23037 {
23038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23039 test_array [0] = 0
23040
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 rm -f conftest.$ac_objext
23046 if { (ac_try="$ac_compile"
23047 case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23050 esac
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_compile") 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && {
23059 test -z "$ac_c_werror_flag" ||
23060 test ! -s conftest.err
23061 } && test -s conftest.$ac_objext; then
23062 ac_lo=$ac_mid; break
23063 else
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23066
23067 ac_hi=`expr '(' $ac_mid ')' - 1`
23068 if test $ac_mid -le $ac_hi; then
23069 ac_lo= ac_hi=
23070 break
23071 fi
23072 ac_mid=`expr 2 '*' $ac_mid`
23073 fi
23074
23075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23076 done
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_lo= ac_hi=
23082 fi
23083
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 fi
23086
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 # Binary search between lo and hi bounds.
23089 while test "x$ac_lo" != "x$ac_hi"; do
23090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 $ac_includes_default
23098 typedef long ac__type_sizeof_;
23099 int
23100 main ()
23101 {
23102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23103 test_array [0] = 0
23104
23105 ;
23106 return 0;
23107 }
23108 _ACEOF
23109 rm -f conftest.$ac_objext
23110 if { (ac_try="$ac_compile"
23111 case "(($ac_try" in
23112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23113 *) ac_try_echo=$ac_try;;
23114 esac
23115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23116 (eval "$ac_compile") 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && {
23123 test -z "$ac_c_werror_flag" ||
23124 test ! -s conftest.err
23125 } && test -s conftest.$ac_objext; then
23126 ac_hi=$ac_mid
23127 else
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23130
23131 ac_lo=`expr '(' $ac_mid ')' + 1`
23132 fi
23133
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135 done
23136 case $ac_lo in
23137 ?*) ac_cv_sizeof_long=$ac_lo;;
23138 '') if test "$ac_cv_type_long" = yes; then
23139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23140 See \`config.log' for more details." >&5
23141 echo "$as_me: error: cannot compute sizeof (long)
23142 See \`config.log' for more details." >&2;}
23143 { (exit 77); exit 77; }; }
23144 else
23145 ac_cv_sizeof_long=0
23146 fi ;;
23147 esac
23148 else
23149 cat >conftest.$ac_ext <<_ACEOF
23150 /* confdefs.h. */
23151 _ACEOF
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23155 $ac_includes_default
23156 typedef long ac__type_sizeof_;
23157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23159 #include <stdio.h>
23160 #include <stdlib.h>
23161 int
23162 main ()
23163 {
23164
23165 FILE *f = fopen ("conftest.val", "w");
23166 if (! f)
23167 return 1;
23168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23169 {
23170 long int i = longval ();
23171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23172 return 1;
23173 fprintf (f, "%ld\n", i);
23174 }
23175 else
23176 {
23177 unsigned long int i = ulongval ();
23178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23179 return 1;
23180 fprintf (f, "%lu\n", i);
23181 }
23182 return ferror (f) || fclose (f) != 0;
23183
23184 ;
23185 return 0;
23186 }
23187 _ACEOF
23188 rm -f conftest$ac_exeext
23189 if { (ac_try="$ac_link"
23190 case "(($ac_try" in
23191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23192 *) ac_try_echo=$ac_try;;
23193 esac
23194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23195 (eval "$ac_link") 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23199 { (case "(($ac_try" in
23200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23202 esac
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_try") 2>&5
23205 ac_status=$?
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23208 ac_cv_sizeof_long=`cat conftest.val`
23209 else
23210 echo "$as_me: program exited with status $ac_status" >&5
23211 echo "$as_me: failed program was:" >&5
23212 sed 's/^/| /' conftest.$ac_ext >&5
23213
23214 ( exit $ac_status )
23215 if test "$ac_cv_type_long" = yes; then
23216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23217 See \`config.log' for more details." >&5
23218 echo "$as_me: error: cannot compute sizeof (long)
23219 See \`config.log' for more details." >&2;}
23220 { (exit 77); exit 77; }; }
23221 else
23222 ac_cv_sizeof_long=0
23223 fi
23224 fi
23225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23226 fi
23227 rm -f conftest.val
23228 fi
23229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23230 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23231
23232
23233
23234 cat >>confdefs.h <<_ACEOF
23235 #define SIZEOF_LONG $ac_cv_sizeof_long
23236 _ACEOF
23237
23238
23239 { echo "$as_me:$LINENO: checking for size_t" >&5
23240 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23241 if test "${ac_cv_type_size_t+set}" = set; then
23242 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 else
23244 cat >conftest.$ac_ext <<_ACEOF
23245 /* confdefs.h. */
23246 _ACEOF
23247 cat confdefs.h >>conftest.$ac_ext
23248 cat >>conftest.$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23250 $ac_includes_default
23251 typedef size_t ac__type_new_;
23252 int
23253 main ()
23254 {
23255 if ((ac__type_new_ *) 0)
23256 return 0;
23257 if (sizeof (ac__type_new_))
23258 return 0;
23259 ;
23260 return 0;
23261 }
23262 _ACEOF
23263 rm -f conftest.$ac_objext
23264 if { (ac_try="$ac_compile"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23268 esac
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_compile") 2>conftest.er1
23271 ac_status=$?
23272 grep -v '^ *+' conftest.er1 >conftest.err
23273 rm -f conftest.er1
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && {
23277 test -z "$ac_c_werror_flag" ||
23278 test ! -s conftest.err
23279 } && test -s conftest.$ac_objext; then
23280 ac_cv_type_size_t=yes
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 ac_cv_type_size_t=no
23286 fi
23287
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 fi
23290 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23291 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23292
23293 # The cast to long int works around a bug in the HP C Compiler
23294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23296 # This bug is HP SR number 8606223364.
23297 { echo "$as_me:$LINENO: checking size of size_t" >&5
23298 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23299 if test "${ac_cv_sizeof_size_t+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 else
23302 if test "$cross_compiling" = yes; then
23303 # Depending upon the size, compute the lo and hi bounds.
23304 cat >conftest.$ac_ext <<_ACEOF
23305 /* confdefs.h. */
23306 _ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310 $ac_includes_default
23311 typedef size_t ac__type_sizeof_;
23312 int
23313 main ()
23314 {
23315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23316 test_array [0] = 0
23317
23318 ;
23319 return 0;
23320 }
23321 _ACEOF
23322 rm -f conftest.$ac_objext
23323 if { (ac_try="$ac_compile"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23327 esac
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_compile") 2>conftest.er1
23330 ac_status=$?
23331 grep -v '^ *+' conftest.er1 >conftest.err
23332 rm -f conftest.er1
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } && {
23336 test -z "$ac_c_werror_flag" ||
23337 test ! -s conftest.err
23338 } && test -s conftest.$ac_objext; then
23339 ac_lo=0 ac_mid=0
23340 while :; do
23341 cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h. */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347 $ac_includes_default
23348 typedef size_t ac__type_sizeof_;
23349 int
23350 main ()
23351 {
23352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23353 test_array [0] = 0
23354
23355 ;
23356 return 0;
23357 }
23358 _ACEOF
23359 rm -f conftest.$ac_objext
23360 if { (ac_try="$ac_compile"
23361 case "(($ac_try" in
23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23363 *) ac_try_echo=$ac_try;;
23364 esac
23365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23366 (eval "$ac_compile") 2>conftest.er1
23367 ac_status=$?
23368 grep -v '^ *+' conftest.er1 >conftest.err
23369 rm -f conftest.er1
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && {
23373 test -z "$ac_c_werror_flag" ||
23374 test ! -s conftest.err
23375 } && test -s conftest.$ac_objext; then
23376 ac_hi=$ac_mid; break
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23380
23381 ac_lo=`expr $ac_mid + 1`
23382 if test $ac_lo -le $ac_mid; then
23383 ac_lo= ac_hi=
23384 break
23385 fi
23386 ac_mid=`expr 2 '*' $ac_mid + 1`
23387 fi
23388
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390 done
23391 else
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 $ac_includes_default
23402 typedef size_t ac__type_sizeof_;
23403 int
23404 main ()
23405 {
23406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23407 test_array [0] = 0
23408
23409 ;
23410 return 0;
23411 }
23412 _ACEOF
23413 rm -f conftest.$ac_objext
23414 if { (ac_try="$ac_compile"
23415 case "(($ac_try" in
23416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23417 *) ac_try_echo=$ac_try;;
23418 esac
23419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23420 (eval "$ac_compile") 2>conftest.er1
23421 ac_status=$?
23422 grep -v '^ *+' conftest.er1 >conftest.err
23423 rm -f conftest.er1
23424 cat conftest.err >&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } && {
23427 test -z "$ac_c_werror_flag" ||
23428 test ! -s conftest.err
23429 } && test -s conftest.$ac_objext; then
23430 ac_hi=-1 ac_mid=-1
23431 while :; do
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 $ac_includes_default
23439 typedef size_t ac__type_sizeof_;
23440 int
23441 main ()
23442 {
23443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23444 test_array [0] = 0
23445
23446 ;
23447 return 0;
23448 }
23449 _ACEOF
23450 rm -f conftest.$ac_objext
23451 if { (ac_try="$ac_compile"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23455 esac
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_compile") 2>conftest.er1
23458 ac_status=$?
23459 grep -v '^ *+' conftest.er1 >conftest.err
23460 rm -f conftest.er1
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && {
23464 test -z "$ac_c_werror_flag" ||
23465 test ! -s conftest.err
23466 } && test -s conftest.$ac_objext; then
23467 ac_lo=$ac_mid; break
23468 else
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23471
23472 ac_hi=`expr '(' $ac_mid ')' - 1`
23473 if test $ac_mid -le $ac_hi; then
23474 ac_lo= ac_hi=
23475 break
23476 fi
23477 ac_mid=`expr 2 '*' $ac_mid`
23478 fi
23479
23480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23481 done
23482 else
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23485
23486 ac_lo= ac_hi=
23487 fi
23488
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 fi
23491
23492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 # Binary search between lo and hi bounds.
23494 while test "x$ac_lo" != "x$ac_hi"; do
23495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 $ac_includes_default
23503 typedef size_t ac__type_sizeof_;
23504 int
23505 main ()
23506 {
23507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23508 test_array [0] = 0
23509
23510 ;
23511 return 0;
23512 }
23513 _ACEOF
23514 rm -f conftest.$ac_objext
23515 if { (ac_try="$ac_compile"
23516 case "(($ac_try" in
23517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23518 *) ac_try_echo=$ac_try;;
23519 esac
23520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23521 (eval "$ac_compile") 2>conftest.er1
23522 ac_status=$?
23523 grep -v '^ *+' conftest.er1 >conftest.err
23524 rm -f conftest.er1
23525 cat conftest.err >&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } && {
23528 test -z "$ac_c_werror_flag" ||
23529 test ! -s conftest.err
23530 } && test -s conftest.$ac_objext; then
23531 ac_hi=$ac_mid
23532 else
23533 echo "$as_me: failed program was:" >&5
23534 sed 's/^/| /' conftest.$ac_ext >&5
23535
23536 ac_lo=`expr '(' $ac_mid ')' + 1`
23537 fi
23538
23539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23540 done
23541 case $ac_lo in
23542 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23543 '') if test "$ac_cv_type_size_t" = yes; then
23544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23545 See \`config.log' for more details." >&5
23546 echo "$as_me: error: cannot compute sizeof (size_t)
23547 See \`config.log' for more details." >&2;}
23548 { (exit 77); exit 77; }; }
23549 else
23550 ac_cv_sizeof_size_t=0
23551 fi ;;
23552 esac
23553 else
23554 cat >conftest.$ac_ext <<_ACEOF
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 $ac_includes_default
23561 typedef size_t ac__type_sizeof_;
23562 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23563 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23564 #include <stdio.h>
23565 #include <stdlib.h>
23566 int
23567 main ()
23568 {
23569
23570 FILE *f = fopen ("conftest.val", "w");
23571 if (! f)
23572 return 1;
23573 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23574 {
23575 long int i = longval ();
23576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23577 return 1;
23578 fprintf (f, "%ld\n", i);
23579 }
23580 else
23581 {
23582 unsigned long int i = ulongval ();
23583 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23584 return 1;
23585 fprintf (f, "%lu\n", i);
23586 }
23587 return ferror (f) || fclose (f) != 0;
23588
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 rm -f conftest$ac_exeext
23594 if { (ac_try="$ac_link"
23595 case "(($ac_try" in
23596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23597 *) ac_try_echo=$ac_try;;
23598 esac
23599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23600 (eval "$ac_link") 2>&5
23601 ac_status=$?
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23604 { (case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23607 esac
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_try") 2>&5
23610 ac_status=$?
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; }; then
23613 ac_cv_sizeof_size_t=`cat conftest.val`
23614 else
23615 echo "$as_me: program exited with status $ac_status" >&5
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23618
23619 ( exit $ac_status )
23620 if test "$ac_cv_type_size_t" = yes; then
23621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23622 See \`config.log' for more details." >&5
23623 echo "$as_me: error: cannot compute sizeof (size_t)
23624 See \`config.log' for more details." >&2;}
23625 { (exit 77); exit 77; }; }
23626 else
23627 ac_cv_sizeof_size_t=0
23628 fi
23629 fi
23630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23631 fi
23632 rm -f conftest.val
23633 fi
23634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23635 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23636
23637
23638
23639 cat >>confdefs.h <<_ACEOF
23640 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23641 _ACEOF
23642
23643
23644
23645 case "${host}" in
23646 arm-*-linux* )
23647 { echo "$as_me:$LINENO: checking for long long" >&5
23648 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23649 if test "${ac_cv_type_long_long+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23651 else
23652 cat >conftest.$ac_ext <<_ACEOF
23653 /* confdefs.h. */
23654 _ACEOF
23655 cat confdefs.h >>conftest.$ac_ext
23656 cat >>conftest.$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23658 $ac_includes_default
23659 typedef long long ac__type_new_;
23660 int
23661 main ()
23662 {
23663 if ((ac__type_new_ *) 0)
23664 return 0;
23665 if (sizeof (ac__type_new_))
23666 return 0;
23667 ;
23668 return 0;
23669 }
23670 _ACEOF
23671 rm -f conftest.$ac_objext
23672 if { (ac_try="$ac_compile"
23673 case "(($ac_try" in
23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23675 *) ac_try_echo=$ac_try;;
23676 esac
23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678 (eval "$ac_compile") 2>conftest.er1
23679 ac_status=$?
23680 grep -v '^ *+' conftest.er1 >conftest.err
23681 rm -f conftest.er1
23682 cat conftest.err >&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && {
23685 test -z "$ac_c_werror_flag" ||
23686 test ! -s conftest.err
23687 } && test -s conftest.$ac_objext; then
23688 ac_cv_type_long_long=yes
23689 else
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23692
23693 ac_cv_type_long_long=no
23694 fi
23695
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697 fi
23698 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23699 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23700
23701 # The cast to long int works around a bug in the HP C Compiler
23702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23704 # This bug is HP SR number 8606223364.
23705 { echo "$as_me:$LINENO: checking size of long long" >&5
23706 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23707 if test "${ac_cv_sizeof_long_long+set}" = set; then
23708 echo $ECHO_N "(cached) $ECHO_C" >&6
23709 else
23710 if test "$cross_compiling" = yes; then
23711 # Depending upon the size, compute the lo and hi bounds.
23712 cat >conftest.$ac_ext <<_ACEOF
23713 /* confdefs.h. */
23714 _ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 $ac_includes_default
23719 typedef long long ac__type_sizeof_;
23720 int
23721 main ()
23722 {
23723 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23724 test_array [0] = 0
23725
23726 ;
23727 return 0;
23728 }
23729 _ACEOF
23730 rm -f conftest.$ac_objext
23731 if { (ac_try="$ac_compile"
23732 case "(($ac_try" in
23733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23734 *) ac_try_echo=$ac_try;;
23735 esac
23736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23737 (eval "$ac_compile") 2>conftest.er1
23738 ac_status=$?
23739 grep -v '^ *+' conftest.er1 >conftest.err
23740 rm -f conftest.er1
23741 cat conftest.err >&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } && {
23744 test -z "$ac_c_werror_flag" ||
23745 test ! -s conftest.err
23746 } && test -s conftest.$ac_objext; then
23747 ac_lo=0 ac_mid=0
23748 while :; do
23749 cat >conftest.$ac_ext <<_ACEOF
23750 /* confdefs.h. */
23751 _ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 $ac_includes_default
23756 typedef long long ac__type_sizeof_;
23757 int
23758 main ()
23759 {
23760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23761 test_array [0] = 0
23762
23763 ;
23764 return 0;
23765 }
23766 _ACEOF
23767 rm -f conftest.$ac_objext
23768 if { (ac_try="$ac_compile"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23772 esac
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_compile") 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } && {
23781 test -z "$ac_c_werror_flag" ||
23782 test ! -s conftest.err
23783 } && test -s conftest.$ac_objext; then
23784 ac_hi=$ac_mid; break
23785 else
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.$ac_ext >&5
23788
23789 ac_lo=`expr $ac_mid + 1`
23790 if test $ac_lo -le $ac_mid; then
23791 ac_lo= ac_hi=
23792 break
23793 fi
23794 ac_mid=`expr 2 '*' $ac_mid + 1`
23795 fi
23796
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 done
23799 else
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23802
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 $ac_includes_default
23810 typedef long long ac__type_sizeof_;
23811 int
23812 main ()
23813 {
23814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23815 test_array [0] = 0
23816
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (ac_try="$ac_compile"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23826 esac
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_compile") 2>conftest.er1
23829 ac_status=$?
23830 grep -v '^ *+' conftest.er1 >conftest.err
23831 rm -f conftest.er1
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_c_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest.$ac_objext; then
23838 ac_hi=-1 ac_mid=-1
23839 while :; do
23840 cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h. */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 $ac_includes_default
23847 typedef long long ac__type_sizeof_;
23848 int
23849 main ()
23850 {
23851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23852 test_array [0] = 0
23853
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23863 esac
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_c_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_lo=$ac_mid; break
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 ac_hi=`expr '(' $ac_mid ')' - 1`
23881 if test $ac_mid -le $ac_hi; then
23882 ac_lo= ac_hi=
23883 break
23884 fi
23885 ac_mid=`expr 2 '*' $ac_mid`
23886 fi
23887
23888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23889 done
23890 else
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23893
23894 ac_lo= ac_hi=
23895 fi
23896
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 fi
23899
23900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23901 # Binary search between lo and hi bounds.
23902 while test "x$ac_lo" != "x$ac_hi"; do
23903 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23904 cat >conftest.$ac_ext <<_ACEOF
23905 /* confdefs.h. */
23906 _ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23910 $ac_includes_default
23911 typedef long long ac__type_sizeof_;
23912 int
23913 main ()
23914 {
23915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23916 test_array [0] = 0
23917
23918 ;
23919 return 0;
23920 }
23921 _ACEOF
23922 rm -f conftest.$ac_objext
23923 if { (ac_try="$ac_compile"
23924 case "(($ac_try" in
23925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23926 *) ac_try_echo=$ac_try;;
23927 esac
23928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23929 (eval "$ac_compile") 2>conftest.er1
23930 ac_status=$?
23931 grep -v '^ *+' conftest.er1 >conftest.err
23932 rm -f conftest.er1
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } && {
23936 test -z "$ac_c_werror_flag" ||
23937 test ! -s conftest.err
23938 } && test -s conftest.$ac_objext; then
23939 ac_hi=$ac_mid
23940 else
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23943
23944 ac_lo=`expr '(' $ac_mid ')' + 1`
23945 fi
23946
23947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23948 done
23949 case $ac_lo in
23950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23951 '') if test "$ac_cv_type_long_long" = yes; then
23952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23953 See \`config.log' for more details." >&5
23954 echo "$as_me: error: cannot compute sizeof (long long)
23955 See \`config.log' for more details." >&2;}
23956 { (exit 77); exit 77; }; }
23957 else
23958 ac_cv_sizeof_long_long=0
23959 fi ;;
23960 esac
23961 else
23962 cat >conftest.$ac_ext <<_ACEOF
23963 /* confdefs.h. */
23964 _ACEOF
23965 cat confdefs.h >>conftest.$ac_ext
23966 cat >>conftest.$ac_ext <<_ACEOF
23967 /* end confdefs.h. */
23968 $ac_includes_default
23969 typedef long long ac__type_sizeof_;
23970 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23971 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23972 #include <stdio.h>
23973 #include <stdlib.h>
23974 int
23975 main ()
23976 {
23977
23978 FILE *f = fopen ("conftest.val", "w");
23979 if (! f)
23980 return 1;
23981 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23982 {
23983 long int i = longval ();
23984 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23985 return 1;
23986 fprintf (f, "%ld\n", i);
23987 }
23988 else
23989 {
23990 unsigned long int i = ulongval ();
23991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23992 return 1;
23993 fprintf (f, "%lu\n", i);
23994 }
23995 return ferror (f) || fclose (f) != 0;
23996
23997 ;
23998 return 0;
23999 }
24000 _ACEOF
24001 rm -f conftest$ac_exeext
24002 if { (ac_try="$ac_link"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24006 esac
24007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_link") 2>&5
24009 ac_status=$?
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24012 { (case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24015 esac
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_try") 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; }; then
24021 ac_cv_sizeof_long_long=`cat conftest.val`
24022 else
24023 echo "$as_me: program exited with status $ac_status" >&5
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027 ( exit $ac_status )
24028 if test "$ac_cv_type_long_long" = yes; then
24029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24030 See \`config.log' for more details." >&5
24031 echo "$as_me: error: cannot compute sizeof (long long)
24032 See \`config.log' for more details." >&2;}
24033 { (exit 77); exit 77; }; }
24034 else
24035 ac_cv_sizeof_long_long=0
24036 fi
24037 fi
24038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24039 fi
24040 rm -f conftest.val
24041 fi
24042 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24043 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24044
24045
24046
24047 cat >>confdefs.h <<_ACEOF
24048 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24049 _ACEOF
24050
24051
24052 ;;
24053 *-hp-hpux* )
24054 { echo "$as_me:$LINENO: checking for long long" >&5
24055 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24056 if test "${ac_cv_type_long_long+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 else
24059 cat >conftest.$ac_ext <<_ACEOF
24060 /* confdefs.h. */
24061 _ACEOF
24062 cat confdefs.h >>conftest.$ac_ext
24063 cat >>conftest.$ac_ext <<_ACEOF
24064 /* end confdefs.h. */
24065 $ac_includes_default
24066 typedef long long ac__type_new_;
24067 int
24068 main ()
24069 {
24070 if ((ac__type_new_ *) 0)
24071 return 0;
24072 if (sizeof (ac__type_new_))
24073 return 0;
24074 ;
24075 return 0;
24076 }
24077 _ACEOF
24078 rm -f conftest.$ac_objext
24079 if { (ac_try="$ac_compile"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24083 esac
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_compile") 2>conftest.er1
24086 ac_status=$?
24087 grep -v '^ *+' conftest.er1 >conftest.err
24088 rm -f conftest.er1
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_c_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest.$ac_objext; then
24095 ac_cv_type_long_long=yes
24096 else
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24099
24100 ac_cv_type_long_long=no
24101 fi
24102
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 fi
24105 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24106 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24107
24108 # The cast to long int works around a bug in the HP C Compiler
24109 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24110 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24111 # This bug is HP SR number 8606223364.
24112 { echo "$as_me:$LINENO: checking size of long long" >&5
24113 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24114 if test "${ac_cv_sizeof_long_long+set}" = set; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 else
24117 if test "$cross_compiling" = yes; then
24118 # Depending upon the size, compute the lo and hi bounds.
24119 cat >conftest.$ac_ext <<_ACEOF
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 $ac_includes_default
24126 typedef long long ac__type_sizeof_;
24127 int
24128 main ()
24129 {
24130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24131 test_array [0] = 0
24132
24133 ;
24134 return 0;
24135 }
24136 _ACEOF
24137 rm -f conftest.$ac_objext
24138 if { (ac_try="$ac_compile"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24142 esac
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_compile") 2>conftest.er1
24145 ac_status=$?
24146 grep -v '^ *+' conftest.er1 >conftest.err
24147 rm -f conftest.er1
24148 cat conftest.err >&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } && {
24151 test -z "$ac_c_werror_flag" ||
24152 test ! -s conftest.err
24153 } && test -s conftest.$ac_objext; then
24154 ac_lo=0 ac_mid=0
24155 while :; do
24156 cat >conftest.$ac_ext <<_ACEOF
24157 /* confdefs.h. */
24158 _ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 $ac_includes_default
24163 typedef long long ac__type_sizeof_;
24164 int
24165 main ()
24166 {
24167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24168 test_array [0] = 0
24169
24170 ;
24171 return 0;
24172 }
24173 _ACEOF
24174 rm -f conftest.$ac_objext
24175 if { (ac_try="$ac_compile"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24179 esac
24180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181 (eval "$ac_compile") 2>conftest.er1
24182 ac_status=$?
24183 grep -v '^ *+' conftest.er1 >conftest.err
24184 rm -f conftest.er1
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } && {
24188 test -z "$ac_c_werror_flag" ||
24189 test ! -s conftest.err
24190 } && test -s conftest.$ac_objext; then
24191 ac_hi=$ac_mid; break
24192 else
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24195
24196 ac_lo=`expr $ac_mid + 1`
24197 if test $ac_lo -le $ac_mid; then
24198 ac_lo= ac_hi=
24199 break
24200 fi
24201 ac_mid=`expr 2 '*' $ac_mid + 1`
24202 fi
24203
24204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24205 done
24206 else
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24209
24210 cat >conftest.$ac_ext <<_ACEOF
24211 /* confdefs.h. */
24212 _ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 $ac_includes_default
24217 typedef long long ac__type_sizeof_;
24218 int
24219 main ()
24220 {
24221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24222 test_array [0] = 0
24223
24224 ;
24225 return 0;
24226 }
24227 _ACEOF
24228 rm -f conftest.$ac_objext
24229 if { (ac_try="$ac_compile"
24230 case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24232 *) ac_try_echo=$ac_try;;
24233 esac
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_compile") 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } && {
24242 test -z "$ac_c_werror_flag" ||
24243 test ! -s conftest.err
24244 } && test -s conftest.$ac_objext; then
24245 ac_hi=-1 ac_mid=-1
24246 while :; do
24247 cat >conftest.$ac_ext <<_ACEOF
24248 /* confdefs.h. */
24249 _ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 typedef long long ac__type_sizeof_;
24255 int
24256 main ()
24257 {
24258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24259 test_array [0] = 0
24260
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24270 esac
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24273 ac_status=$?
24274 grep -v '^ *+' conftest.er1 >conftest.err
24275 rm -f conftest.er1
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_c_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24282 ac_lo=$ac_mid; break
24283 else
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24286
24287 ac_hi=`expr '(' $ac_mid ')' - 1`
24288 if test $ac_mid -le $ac_hi; then
24289 ac_lo= ac_hi=
24290 break
24291 fi
24292 ac_mid=`expr 2 '*' $ac_mid`
24293 fi
24294
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24296 done
24297 else
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301 ac_lo= ac_hi=
24302 fi
24303
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305 fi
24306
24307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24308 # Binary search between lo and hi bounds.
24309 while test "x$ac_lo" != "x$ac_hi"; do
24310 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24311 cat >conftest.$ac_ext <<_ACEOF
24312 /* confdefs.h. */
24313 _ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 $ac_includes_default
24318 typedef long long ac__type_sizeof_;
24319 int
24320 main ()
24321 {
24322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24323 test_array [0] = 0
24324
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext
24330 if { (ac_try="$ac_compile"
24331 case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24334 esac
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_compile") 2>conftest.er1
24337 ac_status=$?
24338 grep -v '^ *+' conftest.er1 >conftest.err
24339 rm -f conftest.er1
24340 cat conftest.err >&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } && {
24343 test -z "$ac_c_werror_flag" ||
24344 test ! -s conftest.err
24345 } && test -s conftest.$ac_objext; then
24346 ac_hi=$ac_mid
24347 else
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24350
24351 ac_lo=`expr '(' $ac_mid ')' + 1`
24352 fi
24353
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 done
24356 case $ac_lo in
24357 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24358 '') if test "$ac_cv_type_long_long" = yes; then
24359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24360 See \`config.log' for more details." >&5
24361 echo "$as_me: error: cannot compute sizeof (long long)
24362 See \`config.log' for more details." >&2;}
24363 { (exit 77); exit 77; }; }
24364 else
24365 ac_cv_sizeof_long_long=0
24366 fi ;;
24367 esac
24368 else
24369 cat >conftest.$ac_ext <<_ACEOF
24370 /* confdefs.h. */
24371 _ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 $ac_includes_default
24376 typedef long long ac__type_sizeof_;
24377 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24378 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24379 #include <stdio.h>
24380 #include <stdlib.h>
24381 int
24382 main ()
24383 {
24384
24385 FILE *f = fopen ("conftest.val", "w");
24386 if (! f)
24387 return 1;
24388 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24389 {
24390 long int i = longval ();
24391 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24392 return 1;
24393 fprintf (f, "%ld\n", i);
24394 }
24395 else
24396 {
24397 unsigned long int i = ulongval ();
24398 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24399 return 1;
24400 fprintf (f, "%lu\n", i);
24401 }
24402 return ferror (f) || fclose (f) != 0;
24403
24404 ;
24405 return 0;
24406 }
24407 _ACEOF
24408 rm -f conftest$ac_exeext
24409 if { (ac_try="$ac_link"
24410 case "(($ac_try" in
24411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24412 *) ac_try_echo=$ac_try;;
24413 esac
24414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24415 (eval "$ac_link") 2>&5
24416 ac_status=$?
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24419 { (case "(($ac_try" in
24420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24421 *) ac_try_echo=$ac_try;;
24422 esac
24423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24424 (eval "$ac_try") 2>&5
24425 ac_status=$?
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 ac_cv_sizeof_long_long=`cat conftest.val`
24429 else
24430 echo "$as_me: program exited with status $ac_status" >&5
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.$ac_ext >&5
24433
24434 ( exit $ac_status )
24435 if test "$ac_cv_type_long_long" = yes; then
24436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24437 See \`config.log' for more details." >&5
24438 echo "$as_me: error: cannot compute sizeof (long long)
24439 See \`config.log' for more details." >&2;}
24440 { (exit 77); exit 77; }; }
24441 else
24442 ac_cv_sizeof_long_long=0
24443 fi
24444 fi
24445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24446 fi
24447 rm -f conftest.val
24448 fi
24449 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24450 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24451
24452
24453
24454 cat >>confdefs.h <<_ACEOF
24455 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24456 _ACEOF
24457
24458
24459 if test "$ac_cv_sizeof_long_long" != "0"; then
24460 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24461 fi
24462 ;;
24463 * )
24464 { echo "$as_me:$LINENO: checking for long long" >&5
24465 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24466 if test "${ac_cv_type_long_long+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469 cat >conftest.$ac_ext <<_ACEOF
24470 /* confdefs.h. */
24471 _ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24475 $ac_includes_default
24476 typedef long long ac__type_new_;
24477 int
24478 main ()
24479 {
24480 if ((ac__type_new_ *) 0)
24481 return 0;
24482 if (sizeof (ac__type_new_))
24483 return 0;
24484 ;
24485 return 0;
24486 }
24487 _ACEOF
24488 rm -f conftest.$ac_objext
24489 if { (ac_try="$ac_compile"
24490 case "(($ac_try" in
24491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24492 *) ac_try_echo=$ac_try;;
24493 esac
24494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24495 (eval "$ac_compile") 2>conftest.er1
24496 ac_status=$?
24497 grep -v '^ *+' conftest.er1 >conftest.err
24498 rm -f conftest.er1
24499 cat conftest.err >&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } && {
24502 test -z "$ac_c_werror_flag" ||
24503 test ! -s conftest.err
24504 } && test -s conftest.$ac_objext; then
24505 ac_cv_type_long_long=yes
24506 else
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.$ac_ext >&5
24509
24510 ac_cv_type_long_long=no
24511 fi
24512
24513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24514 fi
24515 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24516 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24517
24518 # The cast to long int works around a bug in the HP C Compiler
24519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24521 # This bug is HP SR number 8606223364.
24522 { echo "$as_me:$LINENO: checking size of long long" >&5
24523 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24524 if test "${ac_cv_sizeof_long_long+set}" = set; then
24525 echo $ECHO_N "(cached) $ECHO_C" >&6
24526 else
24527 if test "$cross_compiling" = yes; then
24528 # Depending upon the size, compute the lo and hi bounds.
24529 cat >conftest.$ac_ext <<_ACEOF
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 $ac_includes_default
24536 typedef long long ac__type_sizeof_;
24537 int
24538 main ()
24539 {
24540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24541 test_array [0] = 0
24542
24543 ;
24544 return 0;
24545 }
24546 _ACEOF
24547 rm -f conftest.$ac_objext
24548 if { (ac_try="$ac_compile"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24552 esac
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_compile") 2>conftest.er1
24555 ac_status=$?
24556 grep -v '^ *+' conftest.er1 >conftest.err
24557 rm -f conftest.er1
24558 cat conftest.err >&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_c_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest.$ac_objext; then
24564 ac_lo=0 ac_mid=0
24565 while :; do
24566 cat >conftest.$ac_ext <<_ACEOF
24567 /* confdefs.h. */
24568 _ACEOF
24569 cat confdefs.h >>conftest.$ac_ext
24570 cat >>conftest.$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24572 $ac_includes_default
24573 typedef long long ac__type_sizeof_;
24574 int
24575 main ()
24576 {
24577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24578 test_array [0] = 0
24579
24580 ;
24581 return 0;
24582 }
24583 _ACEOF
24584 rm -f conftest.$ac_objext
24585 if { (ac_try="$ac_compile"
24586 case "(($ac_try" in
24587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24588 *) ac_try_echo=$ac_try;;
24589 esac
24590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591 (eval "$ac_compile") 2>conftest.er1
24592 ac_status=$?
24593 grep -v '^ *+' conftest.er1 >conftest.err
24594 rm -f conftest.er1
24595 cat conftest.err >&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } && {
24598 test -z "$ac_c_werror_flag" ||
24599 test ! -s conftest.err
24600 } && test -s conftest.$ac_objext; then
24601 ac_hi=$ac_mid; break
24602 else
24603 echo "$as_me: failed program was:" >&5
24604 sed 's/^/| /' conftest.$ac_ext >&5
24605
24606 ac_lo=`expr $ac_mid + 1`
24607 if test $ac_lo -le $ac_mid; then
24608 ac_lo= ac_hi=
24609 break
24610 fi
24611 ac_mid=`expr 2 '*' $ac_mid + 1`
24612 fi
24613
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615 done
24616 else
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.$ac_ext >&5
24619
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 $ac_includes_default
24627 typedef long long ac__type_sizeof_;
24628 int
24629 main ()
24630 {
24631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24632 test_array [0] = 0
24633
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24643 esac
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_c_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_hi=-1 ac_mid=-1
24656 while :; do
24657 cat >conftest.$ac_ext <<_ACEOF
24658 /* confdefs.h. */
24659 _ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663 $ac_includes_default
24664 typedef long long ac__type_sizeof_;
24665 int
24666 main ()
24667 {
24668 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24669 test_array [0] = 0
24670
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext
24676 if { (ac_try="$ac_compile"
24677 case "(($ac_try" in
24678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679 *) ac_try_echo=$ac_try;;
24680 esac
24681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682 (eval "$ac_compile") 2>conftest.er1
24683 ac_status=$?
24684 grep -v '^ *+' conftest.er1 >conftest.err
24685 rm -f conftest.er1
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } && {
24689 test -z "$ac_c_werror_flag" ||
24690 test ! -s conftest.err
24691 } && test -s conftest.$ac_objext; then
24692 ac_lo=$ac_mid; break
24693 else
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.$ac_ext >&5
24696
24697 ac_hi=`expr '(' $ac_mid ')' - 1`
24698 if test $ac_mid -le $ac_hi; then
24699 ac_lo= ac_hi=
24700 break
24701 fi
24702 ac_mid=`expr 2 '*' $ac_mid`
24703 fi
24704
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706 done
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 ac_lo= ac_hi=
24712 fi
24713
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 fi
24716
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 # Binary search between lo and hi bounds.
24719 while test "x$ac_lo" != "x$ac_hi"; do
24720 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24721 cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h. */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24727 $ac_includes_default
24728 typedef long long ac__type_sizeof_;
24729 int
24730 main ()
24731 {
24732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24733 test_array [0] = 0
24734
24735 ;
24736 return 0;
24737 }
24738 _ACEOF
24739 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;;
24744 esac
24745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 (eval "$ac_compile") 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && {
24753 test -z "$ac_c_werror_flag" ||
24754 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then
24756 ac_hi=$ac_mid
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 ac_lo=`expr '(' $ac_mid ')' + 1`
24762 fi
24763
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 done
24766 case $ac_lo in
24767 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24768 '') if test "$ac_cv_type_long_long" = yes; then
24769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24770 See \`config.log' for more details." >&5
24771 echo "$as_me: error: cannot compute sizeof (long long)
24772 See \`config.log' for more details." >&2;}
24773 { (exit 77); exit 77; }; }
24774 else
24775 ac_cv_sizeof_long_long=0
24776 fi ;;
24777 esac
24778 else
24779 cat >conftest.$ac_ext <<_ACEOF
24780 /* confdefs.h. */
24781 _ACEOF
24782 cat confdefs.h >>conftest.$ac_ext
24783 cat >>conftest.$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 $ac_includes_default
24786 typedef long long ac__type_sizeof_;
24787 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24788 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24789 #include <stdio.h>
24790 #include <stdlib.h>
24791 int
24792 main ()
24793 {
24794
24795 FILE *f = fopen ("conftest.val", "w");
24796 if (! f)
24797 return 1;
24798 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24799 {
24800 long int i = longval ();
24801 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24802 return 1;
24803 fprintf (f, "%ld\n", i);
24804 }
24805 else
24806 {
24807 unsigned long int i = ulongval ();
24808 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24809 return 1;
24810 fprintf (f, "%lu\n", i);
24811 }
24812 return ferror (f) || fclose (f) != 0;
24813
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest$ac_exeext
24819 if { (ac_try="$ac_link"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24823 esac
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_link") 2>&5
24826 ac_status=$?
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24829 { (case "(($ac_try" in
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24832 esac
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_try") 2>&5
24835 ac_status=$?
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; }; then
24838 ac_cv_sizeof_long_long=`cat conftest.val`
24839 else
24840 echo "$as_me: program exited with status $ac_status" >&5
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.$ac_ext >&5
24843
24844 ( exit $ac_status )
24845 if test "$ac_cv_type_long_long" = yes; then
24846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24847 See \`config.log' for more details." >&5
24848 echo "$as_me: error: cannot compute sizeof (long long)
24849 See \`config.log' for more details." >&2;}
24850 { (exit 77); exit 77; }; }
24851 else
24852 ac_cv_sizeof_long_long=0
24853 fi
24854 fi
24855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24856 fi
24857 rm -f conftest.val
24858 fi
24859 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24861
24862
24863
24864 cat >>confdefs.h <<_ACEOF
24865 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24866 _ACEOF
24867
24868
24869 esac
24870
24871 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24872 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24873 if test "${ac_cv_type_wchar_t+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24875 else
24876 cat >conftest.$ac_ext <<_ACEOF
24877 /* confdefs.h. */
24878 _ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24882
24883 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24884 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24885 # error "fake wchar_t"
24886 #endif
24887 #ifdef HAVE_WCHAR_H
24888 # ifdef __CYGWIN__
24889 # include <stddef.h>
24890 # endif
24891 # include <wchar.h>
24892 #endif
24893 #ifdef HAVE_STDLIB_H
24894 # include <stdlib.h>
24895 #endif
24896 #include <stdio.h>
24897
24898
24899
24900 typedef wchar_t ac__type_new_;
24901 int
24902 main ()
24903 {
24904 if ((ac__type_new_ *) 0)
24905 return 0;
24906 if (sizeof (ac__type_new_))
24907 return 0;
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 rm -f conftest.$ac_objext
24913 if { (ac_try="$ac_compile"
24914 case "(($ac_try" in
24915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24917 esac
24918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24919 (eval "$ac_compile") 2>conftest.er1
24920 ac_status=$?
24921 grep -v '^ *+' conftest.er1 >conftest.err
24922 rm -f conftest.er1
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } && {
24926 test -z "$ac_c_werror_flag" ||
24927 test ! -s conftest.err
24928 } && test -s conftest.$ac_objext; then
24929 ac_cv_type_wchar_t=yes
24930 else
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24933
24934 ac_cv_type_wchar_t=no
24935 fi
24936
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24938 fi
24939 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24940 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24941
24942 # The cast to long int works around a bug in the HP C Compiler
24943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24945 # This bug is HP SR number 8606223364.
24946 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24947 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24948 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 else
24951 if test "$cross_compiling" = yes; then
24952 # Depending upon the size, compute the lo and hi bounds.
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959
24960 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24961 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24962 # error "fake wchar_t"
24963 #endif
24964 #ifdef HAVE_WCHAR_H
24965 # ifdef __CYGWIN__
24966 # include <stddef.h>
24967 # endif
24968 # include <wchar.h>
24969 #endif
24970 #ifdef HAVE_STDLIB_H
24971 # include <stdlib.h>
24972 #endif
24973 #include <stdio.h>
24974
24975
24976
24977 typedef wchar_t ac__type_sizeof_;
24978 int
24979 main ()
24980 {
24981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24982 test_array [0] = 0
24983
24984 ;
24985 return 0;
24986 }
24987 _ACEOF
24988 rm -f conftest.$ac_objext
24989 if { (ac_try="$ac_compile"
24990 case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24993 esac
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_compile") 2>conftest.er1
24996 ac_status=$?
24997 grep -v '^ *+' conftest.er1 >conftest.err
24998 rm -f conftest.er1
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } && {
25002 test -z "$ac_c_werror_flag" ||
25003 test ! -s conftest.err
25004 } && test -s conftest.$ac_objext; then
25005 ac_lo=0 ac_mid=0
25006 while :; do
25007 cat >conftest.$ac_ext <<_ACEOF
25008 /* confdefs.h. */
25009 _ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25013
25014 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25015 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25016 # error "fake wchar_t"
25017 #endif
25018 #ifdef HAVE_WCHAR_H
25019 # ifdef __CYGWIN__
25020 # include <stddef.h>
25021 # endif
25022 # include <wchar.h>
25023 #endif
25024 #ifdef HAVE_STDLIB_H
25025 # include <stdlib.h>
25026 #endif
25027 #include <stdio.h>
25028
25029
25030
25031 typedef wchar_t ac__type_sizeof_;
25032 int
25033 main ()
25034 {
25035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25036 test_array [0] = 0
25037
25038 ;
25039 return 0;
25040 }
25041 _ACEOF
25042 rm -f conftest.$ac_objext
25043 if { (ac_try="$ac_compile"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25047 esac
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_compile") 2>conftest.er1
25050 ac_status=$?
25051 grep -v '^ *+' conftest.er1 >conftest.err
25052 rm -f conftest.er1
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } && {
25056 test -z "$ac_c_werror_flag" ||
25057 test ! -s conftest.err
25058 } && test -s conftest.$ac_objext; then
25059 ac_hi=$ac_mid; break
25060 else
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25063
25064 ac_lo=`expr $ac_mid + 1`
25065 if test $ac_lo -le $ac_mid; then
25066 ac_lo= ac_hi=
25067 break
25068 fi
25069 ac_mid=`expr 2 '*' $ac_mid + 1`
25070 fi
25071
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073 done
25074 else
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.$ac_ext >&5
25077
25078 cat >conftest.$ac_ext <<_ACEOF
25079 /* confdefs.h. */
25080 _ACEOF
25081 cat confdefs.h >>conftest.$ac_ext
25082 cat >>conftest.$ac_ext <<_ACEOF
25083 /* end confdefs.h. */
25084
25085 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25086 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25087 # error "fake wchar_t"
25088 #endif
25089 #ifdef HAVE_WCHAR_H
25090 # ifdef __CYGWIN__
25091 # include <stddef.h>
25092 # endif
25093 # include <wchar.h>
25094 #endif
25095 #ifdef HAVE_STDLIB_H
25096 # include <stdlib.h>
25097 #endif
25098 #include <stdio.h>
25099
25100
25101
25102 typedef wchar_t ac__type_sizeof_;
25103 int
25104 main ()
25105 {
25106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25107 test_array [0] = 0
25108
25109 ;
25110 return 0;
25111 }
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (ac_try="$ac_compile"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25118 esac
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_compile") 2>conftest.er1
25121 ac_status=$?
25122 grep -v '^ *+' conftest.er1 >conftest.err
25123 rm -f conftest.er1
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_c_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest.$ac_objext; then
25130 ac_hi=-1 ac_mid=-1
25131 while :; do
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138
25139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25141 # error "fake wchar_t"
25142 #endif
25143 #ifdef HAVE_WCHAR_H
25144 # ifdef __CYGWIN__
25145 # include <stddef.h>
25146 # endif
25147 # include <wchar.h>
25148 #endif
25149 #ifdef HAVE_STDLIB_H
25150 # include <stdlib.h>
25151 #endif
25152 #include <stdio.h>
25153
25154
25155
25156 typedef wchar_t ac__type_sizeof_;
25157 int
25158 main ()
25159 {
25160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25161 test_array [0] = 0
25162
25163 ;
25164 return 0;
25165 }
25166 _ACEOF
25167 rm -f conftest.$ac_objext
25168 if { (ac_try="$ac_compile"
25169 case "(($ac_try" in
25170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25171 *) ac_try_echo=$ac_try;;
25172 esac
25173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25174 (eval "$ac_compile") 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } && {
25181 test -z "$ac_c_werror_flag" ||
25182 test ! -s conftest.err
25183 } && test -s conftest.$ac_objext; then
25184 ac_lo=$ac_mid; break
25185 else
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189 ac_hi=`expr '(' $ac_mid ')' - 1`
25190 if test $ac_mid -le $ac_hi; then
25191 ac_lo= ac_hi=
25192 break
25193 fi
25194 ac_mid=`expr 2 '*' $ac_mid`
25195 fi
25196
25197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25198 done
25199 else
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ac_lo= ac_hi=
25204 fi
25205
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25207 fi
25208
25209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25210 # Binary search between lo and hi bounds.
25211 while test "x$ac_lo" != "x$ac_hi"; do
25212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25213 cat >conftest.$ac_ext <<_ACEOF
25214 /* confdefs.h. */
25215 _ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219
25220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25222 # error "fake wchar_t"
25223 #endif
25224 #ifdef HAVE_WCHAR_H
25225 # ifdef __CYGWIN__
25226 # include <stddef.h>
25227 # endif
25228 # include <wchar.h>
25229 #endif
25230 #ifdef HAVE_STDLIB_H
25231 # include <stdlib.h>
25232 #endif
25233 #include <stdio.h>
25234
25235
25236
25237 typedef wchar_t ac__type_sizeof_;
25238 int
25239 main ()
25240 {
25241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25242 test_array [0] = 0
25243
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25253 esac
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 ac_hi=$ac_mid
25266 else
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25269
25270 ac_lo=`expr '(' $ac_mid ')' + 1`
25271 fi
25272
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 done
25275 case $ac_lo in
25276 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25277 '') if test "$ac_cv_type_wchar_t" = yes; then
25278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25279 See \`config.log' for more details." >&5
25280 echo "$as_me: error: cannot compute sizeof (wchar_t)
25281 See \`config.log' for more details." >&2;}
25282 { (exit 77); exit 77; }; }
25283 else
25284 ac_cv_sizeof_wchar_t=0
25285 fi ;;
25286 esac
25287 else
25288 cat >conftest.$ac_ext <<_ACEOF
25289 /* confdefs.h. */
25290 _ACEOF
25291 cat confdefs.h >>conftest.$ac_ext
25292 cat >>conftest.$ac_ext <<_ACEOF
25293 /* end confdefs.h. */
25294
25295 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25296 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25297 # error "fake wchar_t"
25298 #endif
25299 #ifdef HAVE_WCHAR_H
25300 # ifdef __CYGWIN__
25301 # include <stddef.h>
25302 # endif
25303 # include <wchar.h>
25304 #endif
25305 #ifdef HAVE_STDLIB_H
25306 # include <stdlib.h>
25307 #endif
25308 #include <stdio.h>
25309
25310
25311
25312 typedef wchar_t ac__type_sizeof_;
25313 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25314 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25315 #include <stdio.h>
25316 #include <stdlib.h>
25317 int
25318 main ()
25319 {
25320
25321 FILE *f = fopen ("conftest.val", "w");
25322 if (! f)
25323 return 1;
25324 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25325 {
25326 long int i = longval ();
25327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25328 return 1;
25329 fprintf (f, "%ld\n", i);
25330 }
25331 else
25332 {
25333 unsigned long int i = ulongval ();
25334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25335 return 1;
25336 fprintf (f, "%lu\n", i);
25337 }
25338 return ferror (f) || fclose (f) != 0;
25339
25340 ;
25341 return 0;
25342 }
25343 _ACEOF
25344 rm -f conftest$ac_exeext
25345 if { (ac_try="$ac_link"
25346 case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25349 esac
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_link") 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25355 { (case "(($ac_try" in
25356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25357 *) ac_try_echo=$ac_try;;
25358 esac
25359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25360 (eval "$ac_try") 2>&5
25361 ac_status=$?
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 ac_cv_sizeof_wchar_t=`cat conftest.val`
25365 else
25366 echo "$as_me: program exited with status $ac_status" >&5
25367 echo "$as_me: failed program was:" >&5
25368 sed 's/^/| /' conftest.$ac_ext >&5
25369
25370 ( exit $ac_status )
25371 if test "$ac_cv_type_wchar_t" = yes; then
25372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25373 See \`config.log' for more details." >&5
25374 echo "$as_me: error: cannot compute sizeof (wchar_t)
25375 See \`config.log' for more details." >&2;}
25376 { (exit 77); exit 77; }; }
25377 else
25378 ac_cv_sizeof_wchar_t=0
25379 fi
25380 fi
25381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25382 fi
25383 rm -f conftest.val
25384 fi
25385 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25386 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25387
25388
25389
25390 cat >>confdefs.h <<_ACEOF
25391 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25392 _ACEOF
25393
25394
25395 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25396 wxUSE_WCHAR_T=yes
25397 else
25398 wxUSE_WCHAR_T=no
25399 fi
25400
25401 { echo "$as_me:$LINENO: checking for va_copy" >&5
25402 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25403 if test "${wx_cv_func_va_copy+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 else
25406
25407 ac_ext=cpp
25408 ac_cpp='$CXXCPP $CPPFLAGS'
25409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25412
25413 cat >conftest.$ac_ext <<_ACEOF
25414
25415 #include <stdarg.h>
25416 void foo(char *f, ...)
25417 {
25418 va_list ap1, ap2;
25419 va_start(ap1, f);
25420 va_copy(ap2, ap1);
25421 va_end(ap2);
25422 va_end(ap1);
25423 }
25424 int main()
25425 {
25426 foo("hi", 17);
25427 return 0;
25428 }
25429 _ACEOF
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25435 esac
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25438 ac_status=$?
25439 grep -v '^ *+' conftest.er1 >conftest.err
25440 rm -f conftest.er1
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_cxx_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 wx_cv_func_va_copy=yes
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 wx_cv_func_va_copy=no
25454
25455 fi
25456
25457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25458 conftest$ac_exeext conftest.$ac_ext
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464
25465
25466
25467 fi
25468 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25469 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25470
25471 if test $wx_cv_func_va_copy = "yes"; then
25472 cat >>confdefs.h <<\_ACEOF
25473 #define HAVE_VA_COPY 1
25474 _ACEOF
25475
25476 else
25477 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25478 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25479 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482
25483 if test "$cross_compiling" = yes; then
25484 wx_cv_type_va_list_lvalue=yes
25485
25486 else
25487 cat >conftest.$ac_ext <<_ACEOF
25488
25489 #include <stdarg.h>
25490 int foo(char *f, ...)
25491 {
25492 va_list ap1, ap2;
25493 va_start(ap1, f);
25494 ap2 = ap1;
25495 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25496 return 1;
25497 va_end(ap2);
25498 va_end(ap1);
25499 return 0;
25500 }
25501 int main()
25502 {
25503 return foo("hi", 17);
25504 }
25505 _ACEOF
25506 rm -f conftest$ac_exeext
25507 if { (ac_try="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25511 esac
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>&5
25514 ac_status=$?
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25517 { (case "(($ac_try" in
25518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25519 *) ac_try_echo=$ac_try;;
25520 esac
25521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25522 (eval "$ac_try") 2>&5
25523 ac_status=$?
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); }; }; then
25526 wx_cv_type_va_list_lvalue=yes
25527 else
25528 echo "$as_me: program exited with status $ac_status" >&5
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25531
25532 ( exit $ac_status )
25533 wx_cv_type_va_list_lvalue=no
25534 fi
25535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25536 fi
25537
25538
25539
25540
25541 fi
25542 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25543 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25544
25545 if test $wx_cv_type_va_list_lvalue != "yes"; then
25546 cat >>confdefs.h <<\_ACEOF
25547 #define VA_LIST_IS_ARRAY 1
25548 _ACEOF
25549
25550 fi
25551 fi
25552
25553 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25554
25555 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25556 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25557 if test "${wx_cv_have_variadic_macros+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25566
25567 cat >conftest.$ac_ext <<_ACEOF
25568 /* confdefs.h. */
25569 _ACEOF
25570 cat confdefs.h >>conftest.$ac_ext
25571 cat >>conftest.$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25573
25574 #include <stdio.h>
25575 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25576
25577 int
25578 main ()
25579 {
25580
25581 test("%s %d %p", "test", 1, 0);
25582
25583
25584 ;
25585 return 0;
25586 }
25587 _ACEOF
25588 rm -f conftest.$ac_objext
25589 if { (ac_try="$ac_compile"
25590 case "(($ac_try" in
25591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25592 *) ac_try_echo=$ac_try;;
25593 esac
25594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25595 (eval "$ac_compile") 2>conftest.er1
25596 ac_status=$?
25597 grep -v '^ *+' conftest.er1 >conftest.err
25598 rm -f conftest.er1
25599 cat conftest.err >&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } && {
25602 test -z "$ac_cxx_werror_flag" ||
25603 test ! -s conftest.err
25604 } && test -s conftest.$ac_objext; then
25605 wx_cv_have_variadic_macros=yes
25606 else
25607 echo "$as_me: failed program was:" >&5
25608 sed 's/^/| /' conftest.$ac_ext >&5
25609
25610 wx_cv_have_variadic_macros=no
25611
25612 fi
25613
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25615 ac_ext=c
25616 ac_cpp='$CPP $CPPFLAGS'
25617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25620
25621
25622
25623 fi
25624 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25625 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25626
25627 if test $wx_cv_have_variadic_macros = "yes"; then
25628 cat >>confdefs.h <<\_ACEOF
25629 #define HAVE_VARIADIC_MACROS 1
25630 _ACEOF
25631
25632 fi
25633
25634 fi
25635 # Check whether --enable-largefile was given.
25636 if test "${enable_largefile+set}" = set; then
25637 enableval=$enable_largefile;
25638 fi
25639
25640 if test "$enable_largefile" != no; then
25641 wx_largefile=no
25642
25643 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25644 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25645 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 else
25648
25649 cat >conftest.$ac_ext <<_ACEOF
25650 /* confdefs.h. */
25651 _ACEOF
25652 cat confdefs.h >>conftest.$ac_ext
25653 cat >>conftest.$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655 #define _FILE_OFFSET_BITS 64
25656 #include <sys/types.h>
25657 int
25658 main ()
25659 {
25660 typedef struct {
25661 unsigned int field: sizeof(off_t) == 8;
25662 } wxlf;
25663
25664 ;
25665 return 0;
25666 }
25667 _ACEOF
25668 rm -f conftest.$ac_objext
25669 if { (ac_try="$ac_compile"
25670 case "(($ac_try" in
25671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25672 *) ac_try_echo=$ac_try;;
25673 esac
25674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25675 (eval "$ac_compile") 2>conftest.er1
25676 ac_status=$?
25677 grep -v '^ *+' conftest.er1 >conftest.err
25678 rm -f conftest.er1
25679 cat conftest.err >&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } && {
25682 test -z "$ac_c_werror_flag" ||
25683 test ! -s conftest.err
25684 } && test -s conftest.$ac_objext; then
25685 ac_cv_sys_file_offset_bits=64
25686 else
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25689
25690 ac_cv_sys_file_offset_bits=no
25691 fi
25692
25693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25694
25695
25696 fi
25697 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25698 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25699
25700 if test "$ac_cv_sys_file_offset_bits" != no; then
25701 wx_largefile=yes
25702 cat >>confdefs.h <<_ACEOF
25703 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25704 _ACEOF
25705
25706 fi
25707
25708 if test "x$wx_largefile" != "xyes"; then
25709
25710 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25711 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25712 if test "${ac_cv_sys_large_files+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 else
25715
25716 cat >conftest.$ac_ext <<_ACEOF
25717 /* confdefs.h. */
25718 _ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #define _LARGE_FILES 1
25723 #include <sys/types.h>
25724 int
25725 main ()
25726 {
25727 typedef struct {
25728 unsigned int field: sizeof(off_t) == 8;
25729 } wxlf;
25730
25731 ;
25732 return 0;
25733 }
25734 _ACEOF
25735 rm -f conftest.$ac_objext
25736 if { (ac_try="$ac_compile"
25737 case "(($ac_try" in
25738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25739 *) ac_try_echo=$ac_try;;
25740 esac
25741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25742 (eval "$ac_compile") 2>conftest.er1
25743 ac_status=$?
25744 grep -v '^ *+' conftest.er1 >conftest.err
25745 rm -f conftest.er1
25746 cat conftest.err >&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } && {
25749 test -z "$ac_c_werror_flag" ||
25750 test ! -s conftest.err
25751 } && test -s conftest.$ac_objext; then
25752 ac_cv_sys_large_files=1
25753 else
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25756
25757 ac_cv_sys_large_files=no
25758 fi
25759
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25761
25762
25763 fi
25764 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25765 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25766
25767 if test "$ac_cv_sys_large_files" != no; then
25768 wx_largefile=yes
25769 cat >>confdefs.h <<_ACEOF
25770 #define _LARGE_FILES $ac_cv_sys_large_files
25771 _ACEOF
25772
25773 fi
25774
25775 fi
25776
25777 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25778 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25779 if test "x$wx_largefile" = "xyes"; then
25780 cat >>confdefs.h <<\_ACEOF
25781 #define HAVE_LARGEFILE_SUPPORT 1
25782 _ACEOF
25783
25784 fi
25785 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25786 echo "${ECHO_T}$wx_largefile" >&6; }
25787 fi
25788
25789
25790 if test "x$wx_largefile" = "xyes"; then
25791 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25792 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25793
25794 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25795 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25796 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25797 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800
25801 ac_ext=cpp
25802 ac_cpp='$CXXCPP $CPPFLAGS'
25803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25806
25807 cat >conftest.$ac_ext <<_ACEOF
25808 /* confdefs.h. */
25809 _ACEOF
25810 cat confdefs.h >>conftest.$ac_ext
25811 cat >>conftest.$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25813
25814 int
25815 main ()
25816 {
25817
25818 #ifndef __STDC_EXT__
25819 choke me
25820 #endif
25821
25822 ;
25823 return 0;
25824 }
25825 _ACEOF
25826 rm -f conftest.$ac_objext
25827 if { (ac_try="$ac_compile"
25828 case "(($ac_try" in
25829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25830 *) ac_try_echo=$ac_try;;
25831 esac
25832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25833 (eval "$ac_compile") 2>conftest.er1
25834 ac_status=$?
25835 grep -v '^ *+' conftest.er1 >conftest.err
25836 rm -f conftest.er1
25837 cat conftest.err >&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } && {
25840 test -z "$ac_cxx_werror_flag" ||
25841 test ! -s conftest.err
25842 } && test -s conftest.$ac_objext; then
25843 wx_cv_STDC_EXT_required=no
25844 else
25845 echo "$as_me: failed program was:" >&5
25846 sed 's/^/| /' conftest.$ac_ext >&5
25847
25848 wx_cv_STDC_EXT_required=yes
25849
25850 fi
25851
25852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25853 ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25858
25859
25860
25861 fi
25862 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25863 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25864 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25865 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25866 fi
25867 fi
25868 else
25869 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25870 fi
25871 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25872 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25873 if test "${ac_cv_sys_largefile_source+set}" = set; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 else
25876 while :; do
25877 cat >conftest.$ac_ext <<_ACEOF
25878 /* confdefs.h. */
25879 _ACEOF
25880 cat confdefs.h >>conftest.$ac_ext
25881 cat >>conftest.$ac_ext <<_ACEOF
25882 /* end confdefs.h. */
25883 #include <sys/types.h> /* for off_t */
25884 #include <stdio.h>
25885 int
25886 main ()
25887 {
25888 int (*fp) (FILE *, off_t, int) = fseeko;
25889 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25890 ;
25891 return 0;
25892 }
25893 _ACEOF
25894 rm -f conftest.$ac_objext conftest$ac_exeext
25895 if { (ac_try="$ac_link"
25896 case "(($ac_try" in
25897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25898 *) ac_try_echo=$ac_try;;
25899 esac
25900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25901 (eval "$ac_link") 2>conftest.er1
25902 ac_status=$?
25903 grep -v '^ *+' conftest.er1 >conftest.err
25904 rm -f conftest.er1
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } && {
25908 test -z "$ac_c_werror_flag" ||
25909 test ! -s conftest.err
25910 } && test -s conftest$ac_exeext &&
25911 $as_test_x conftest$ac_exeext; then
25912 ac_cv_sys_largefile_source=no; break
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25916
25917
25918 fi
25919
25920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25921 conftest$ac_exeext conftest.$ac_ext
25922 cat >conftest.$ac_ext <<_ACEOF
25923 /* confdefs.h. */
25924 _ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 #define _LARGEFILE_SOURCE 1
25929 #include <sys/types.h> /* for off_t */
25930 #include <stdio.h>
25931 int
25932 main ()
25933 {
25934 int (*fp) (FILE *, off_t, int) = fseeko;
25935 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 rm -f conftest.$ac_objext conftest$ac_exeext
25941 if { (ac_try="$ac_link"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25945 esac
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_link") 2>conftest.er1
25948 ac_status=$?
25949 grep -v '^ *+' conftest.er1 >conftest.err
25950 rm -f conftest.er1
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest$ac_exeext &&
25957 $as_test_x conftest$ac_exeext; then
25958 ac_cv_sys_largefile_source=1; break
25959 else
25960 echo "$as_me: failed program was:" >&5
25961 sed 's/^/| /' conftest.$ac_ext >&5
25962
25963
25964 fi
25965
25966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25967 conftest$ac_exeext conftest.$ac_ext
25968 ac_cv_sys_largefile_source=unknown
25969 break
25970 done
25971 fi
25972 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25973 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25974 case $ac_cv_sys_largefile_source in #(
25975 no | unknown) ;;
25976 *)
25977 cat >>confdefs.h <<_ACEOF
25978 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25979 _ACEOF
25980 ;;
25981 esac
25982 rm -f conftest*
25983
25984 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25985 # in glibc 2.1.3, but that breaks too many other things.
25986 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25987 if test $ac_cv_sys_largefile_source != unknown; then
25988
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_FSEEKO 1
25991 _ACEOF
25992
25993 fi
25994
25995 if test "$ac_cv_sys_largefile_source" != no; then
25996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25997 fi
25998 fi
25999
26000 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26001 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26002 if test "${ac_cv_c_bigendian+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 else
26005 ac_cv_c_bigendian=unknown
26006 # See if sys/param.h defines the BYTE_ORDER macro.
26007 cat >conftest.$ac_ext <<_ACEOF
26008 /* confdefs.h. */
26009 _ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26013 #include <sys/types.h>
26014 #include <sys/param.h>
26015 int
26016 main ()
26017 {
26018
26019 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26020 bogus endian macros
26021 #endif
26022 ;
26023 return 0;
26024 }
26025 _ACEOF
26026 rm -f conftest.$ac_objext
26027 if { (ac_try="$ac_compile"
26028 case "(($ac_try" in
26029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030 *) ac_try_echo=$ac_try;;
26031 esac
26032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033 (eval "$ac_compile") 2>conftest.er1
26034 ac_status=$?
26035 grep -v '^ *+' conftest.er1 >conftest.err
26036 rm -f conftest.er1
26037 cat conftest.err >&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } && {
26040 test -z "$ac_c_werror_flag" ||
26041 test ! -s conftest.err
26042 } && test -s conftest.$ac_objext; then
26043 # It does; now see whether it defined to BIG_ENDIAN or not.
26044 cat >conftest.$ac_ext <<_ACEOF
26045 /* confdefs.h. */
26046 _ACEOF
26047 cat confdefs.h >>conftest.$ac_ext
26048 cat >>conftest.$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 #include <sys/types.h>
26051 #include <sys/param.h>
26052 int
26053 main ()
26054 {
26055
26056 #if BYTE_ORDER != BIG_ENDIAN
26057 not big endian
26058 #endif
26059 ;
26060 return 0;
26061 }
26062 _ACEOF
26063 rm -f conftest.$ac_objext
26064 if { (ac_try="$ac_compile"
26065 case "(($ac_try" in
26066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26067 *) ac_try_echo=$ac_try;;
26068 esac
26069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26070 (eval "$ac_compile") 2>conftest.er1
26071 ac_status=$?
26072 grep -v '^ *+' conftest.er1 >conftest.err
26073 rm -f conftest.er1
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } && {
26077 test -z "$ac_c_werror_flag" ||
26078 test ! -s conftest.err
26079 } && test -s conftest.$ac_objext; then
26080 ac_cv_c_bigendian=yes
26081 else
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.$ac_ext >&5
26084
26085 ac_cv_c_bigendian=no
26086 fi
26087
26088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26089 else
26090 echo "$as_me: failed program was:" >&5
26091 sed 's/^/| /' conftest.$ac_ext >&5
26092
26093
26094 fi
26095
26096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097 if test $ac_cv_c_bigendian = unknown; then
26098 if test "$cross_compiling" = yes; then
26099 ac_cv_c_bigendian=unknown
26100 else
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 main () {
26108 /* Are we little or big endian? From Harbison&Steele. */
26109 union
26110 {
26111 long l;
26112 char c[sizeof (long)];
26113 } u;
26114 u.l = 1;
26115 exit (u.c[sizeof (long) - 1] == 1);
26116 }
26117 _ACEOF
26118 rm -f conftest$ac_exeext
26119 if { (ac_try="$ac_link"
26120 case "(($ac_try" in
26121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26122 *) ac_try_echo=$ac_try;;
26123 esac
26124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26125 (eval "$ac_link") 2>&5
26126 ac_status=$?
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26129 { (case "(($ac_try" in
26130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26131 *) ac_try_echo=$ac_try;;
26132 esac
26133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26134 (eval "$ac_try") 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 ac_cv_c_bigendian=no
26139 else
26140 echo "$as_me: program exited with status $ac_status" >&5
26141 echo "$as_me: failed program was:" >&5
26142 sed 's/^/| /' conftest.$ac_ext >&5
26143
26144 ( exit $ac_status )
26145 ac_cv_c_bigendian=yes
26146 fi
26147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26148 fi
26149
26150
26151 fi
26152 fi
26153 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26154 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26155 if test $ac_cv_c_bigendian = unknown; then
26156 { 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
26157 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;}
26158 fi
26159 if test $ac_cv_c_bigendian = yes; then
26160 cat >>confdefs.h <<\_ACEOF
26161 #define WORDS_BIGENDIAN 1
26162 _ACEOF
26163
26164 fi
26165
26166
26167
26168
26169 ac_ext=cpp
26170 ac_cpp='$CXXCPP $CPPFLAGS'
26171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26174
26175
26176
26177 for ac_header in iostream
26178 do
26179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 else
26185 cat >conftest.$ac_ext <<_ACEOF
26186 /* confdefs.h. */
26187 _ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26191
26192
26193 #include <$ac_header>
26194 _ACEOF
26195 rm -f conftest.$ac_objext
26196 if { (ac_try="$ac_compile"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26200 esac
26201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_compile") 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } && {
26209 test -z "$ac_cxx_werror_flag" ||
26210 test ! -s conftest.err
26211 } && test -s conftest.$ac_objext; then
26212 eval "$as_ac_Header=yes"
26213 else
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26216
26217 eval "$as_ac_Header=no"
26218 fi
26219
26220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26221 fi
26222 ac_res=`eval echo '${'$as_ac_Header'}'`
26223 { echo "$as_me:$LINENO: result: $ac_res" >&5
26224 echo "${ECHO_T}$ac_res" >&6; }
26225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26226 cat >>confdefs.h <<_ACEOF
26227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26228 _ACEOF
26229
26230 fi
26231
26232 done
26233
26234
26235 if test "$ac_cv_header_iostream" = "yes" ; then
26236 :
26237 else
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_IOSTREAMH 1
26240 _ACEOF
26241
26242 fi
26243
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249
26250
26251
26252
26253 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26254 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26255 if test "${wx_cv_cpp_bool+set}" = set; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 else
26258
26259
26260 ac_ext=cpp
26261 ac_cpp='$CXXCPP $CPPFLAGS'
26262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26265
26266
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273
26274
26275 int
26276 main ()
26277 {
26278
26279 bool b = true;
26280
26281 return 0;
26282
26283 ;
26284 return 0;
26285 }
26286 _ACEOF
26287 rm -f conftest.$ac_objext
26288 if { (ac_try="$ac_compile"
26289 case "(($ac_try" in
26290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26291 *) ac_try_echo=$ac_try;;
26292 esac
26293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26294 (eval "$ac_compile") 2>conftest.er1
26295 ac_status=$?
26296 grep -v '^ *+' conftest.er1 >conftest.err
26297 rm -f conftest.er1
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } && {
26301 test -z "$ac_cxx_werror_flag" ||
26302 test ! -s conftest.err
26303 } && test -s conftest.$ac_objext; then
26304
26305 wx_cv_cpp_bool=yes
26306
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26310
26311
26312 wx_cv_cpp_bool=no
26313
26314
26315 fi
26316
26317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26318
26319 ac_ext=c
26320 ac_cpp='$CPP $CPPFLAGS'
26321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26324
26325
26326 fi
26327 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26328 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26329
26330 if test "$wx_cv_cpp_bool" = "yes"; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE_BOOL 1
26333 _ACEOF
26334
26335 fi
26336
26337
26338
26339 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26340 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26341 if test "${wx_cv_explicit+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 else
26344
26345
26346 ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26351
26352
26353 cat >conftest.$ac_ext <<_ACEOF
26354 /* confdefs.h. */
26355 _ACEOF
26356 cat confdefs.h >>conftest.$ac_ext
26357 cat >>conftest.$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26359
26360 class Foo { public: explicit Foo(int) {} };
26361
26362 int
26363 main ()
26364 {
26365
26366 return 0;
26367
26368 ;
26369 return 0;
26370 }
26371 _ACEOF
26372 rm -f conftest.$ac_objext
26373 if { (ac_try="$ac_compile"
26374 case "(($ac_try" in
26375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26376 *) ac_try_echo=$ac_try;;
26377 esac
26378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26379 (eval "$ac_compile") 2>conftest.er1
26380 ac_status=$?
26381 grep -v '^ *+' conftest.er1 >conftest.err
26382 rm -f conftest.er1
26383 cat conftest.err >&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); } && {
26386 test -z "$ac_cxx_werror_flag" ||
26387 test ! -s conftest.err
26388 } && test -s conftest.$ac_objext; then
26389
26390 cat >conftest.$ac_ext <<_ACEOF
26391 /* confdefs.h. */
26392 _ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26396
26397 class Foo { public: explicit Foo(int) {} };
26398 static void TakeFoo(const Foo& foo) { }
26399
26400 int
26401 main ()
26402 {
26403
26404 TakeFoo(17);
26405 return 0;
26406
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26416 esac
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 wx_cv_explicit=no
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 wx_cv_explicit=yes
26434
26435 fi
26436
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443 wx_cv_explicit=no
26444
26445 fi
26446
26447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26448
26449 ac_ext=c
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26454
26455
26456 fi
26457 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26458 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26459
26460 if test "$wx_cv_explicit" = "yes"; then
26461 cat >>confdefs.h <<\_ACEOF
26462 #define HAVE_EXPLICIT 1
26463 _ACEOF
26464
26465 fi
26466
26467
26468 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26469 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26470 if test "${ac_cv_cxx_const_cast+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26472 else
26473
26474 ac_ext=cpp
26475 ac_cpp='$CXXCPP $CPPFLAGS'
26476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26479
26480 cat >conftest.$ac_ext <<_ACEOF
26481 /* confdefs.h. */
26482 _ACEOF
26483 cat confdefs.h >>conftest.$ac_ext
26484 cat >>conftest.$ac_ext <<_ACEOF
26485 /* end confdefs.h. */
26486
26487 int
26488 main ()
26489 {
26490 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26491 ;
26492 return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext
26496 if { (ac_try="$ac_compile"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26500 esac
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_compile") 2>conftest.er1
26503 ac_status=$?
26504 grep -v '^ *+' conftest.er1 >conftest.err
26505 rm -f conftest.er1
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && {
26509 test -z "$ac_cxx_werror_flag" ||
26510 test ! -s conftest.err
26511 } && test -s conftest.$ac_objext; then
26512 ac_cv_cxx_const_cast=yes
26513 else
26514 echo "$as_me: failed program was:" >&5
26515 sed 's/^/| /' conftest.$ac_ext >&5
26516
26517 ac_cv_cxx_const_cast=no
26518 fi
26519
26520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26521 ac_ext=c
26522 ac_cpp='$CPP $CPPFLAGS'
26523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26526
26527
26528 fi
26529 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26530 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26531 if test "$ac_cv_cxx_const_cast" = yes; then
26532
26533 cat >>confdefs.h <<\_ACEOF
26534 #define HAVE_CONST_CAST
26535 _ACEOF
26536
26537 fi
26538
26539 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26540 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26541 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 else
26544
26545 ac_ext=cpp
26546 ac_cpp='$CXXCPP $CPPFLAGS'
26547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26550
26551 cat >conftest.$ac_ext <<_ACEOF
26552 /* confdefs.h. */
26553 _ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557 #include <typeinfo>
26558 class Base { public : Base () {} virtual void f () = 0;};
26559 class Derived : public Base { public : Derived () {} virtual void f () {} };
26560 class Unrelated { public : Unrelated () {} };
26561 int g (Unrelated&) { return 0; }
26562 int
26563 main ()
26564 {
26565
26566 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26567 ;
26568 return 0;
26569 }
26570 _ACEOF
26571 rm -f conftest.$ac_objext
26572 if { (ac_try="$ac_compile"
26573 case "(($ac_try" in
26574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26575 *) ac_try_echo=$ac_try;;
26576 esac
26577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578 (eval "$ac_compile") 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } && {
26585 test -z "$ac_cxx_werror_flag" ||
26586 test ! -s conftest.err
26587 } && test -s conftest.$ac_objext; then
26588 ac_cv_cxx_reinterpret_cast=yes
26589 else
26590 echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.$ac_ext >&5
26592
26593 ac_cv_cxx_reinterpret_cast=no
26594 fi
26595
26596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26597 ac_ext=c
26598 ac_cpp='$CPP $CPPFLAGS'
26599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26602
26603
26604 fi
26605 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26606 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26607 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26608
26609 cat >>confdefs.h <<\_ACEOF
26610 #define HAVE_REINTERPRET_CAST
26611 _ACEOF
26612
26613 fi
26614
26615 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26616 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26617 if test "${ac_cv_cxx_static_cast+set}" = set; then
26618 echo $ECHO_N "(cached) $ECHO_C" >&6
26619 else
26620
26621 ac_ext=cpp
26622 ac_cpp='$CXXCPP $CPPFLAGS'
26623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26626
26627 cat >conftest.$ac_ext <<_ACEOF
26628 /* confdefs.h. */
26629 _ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26633 #include <typeinfo>
26634 class Base { public : Base () {} virtual void f () = 0; };
26635 class Derived : public Base { public : Derived () {} virtual void f () {} };
26636 int g (Derived&) { return 0; }
26637 int
26638 main ()
26639 {
26640
26641 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26642 ;
26643 return 0;
26644 }
26645 _ACEOF
26646 rm -f conftest.$ac_objext
26647 if { (ac_try="$ac_compile"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;;
26651 esac
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_compile") 2>conftest.er1
26654 ac_status=$?
26655 grep -v '^ *+' conftest.er1 >conftest.err
26656 rm -f conftest.er1
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && {
26660 test -z "$ac_cxx_werror_flag" ||
26661 test ! -s conftest.err
26662 } && test -s conftest.$ac_objext; then
26663 ac_cv_cxx_static_cast=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_cv_cxx_static_cast=no
26669 fi
26670
26671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26672 ac_ext=c
26673 ac_cpp='$CPP $CPPFLAGS'
26674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26677
26678
26679 fi
26680 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26681 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26682 if test "$ac_cv_cxx_static_cast" = yes; then
26683
26684 cat >>confdefs.h <<\_ACEOF
26685 #define HAVE_STATIC_CAST
26686 _ACEOF
26687
26688 fi
26689
26690
26691 if test "x$SUNCXX" = xyes; then
26692 CXXFLAGS="-features=tmplife $CXXFLAGS"
26693 fi
26694
26695 if test "x$SUNCC" = xyes; then
26696 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26697 fi
26698
26699 if test "x$SGICC" = "xyes"; then
26700 CFLAGS="-woff 3970 $CFLAGS"
26701 fi
26702 if test "x$SGICXX" = "xyes"; then
26703 CXXFLAGS="-woff 3970 $CXXFLAGS"
26704 fi
26705
26706 if test "x$HPCC" = "xyes"; then
26707 CFLAGS="+W 2011,2450 $CFLAGS"
26708 fi
26709 if test "x$HPCXX" = "xyes"; then
26710 CXXFLAGS="+W 2340 $CXXFLAGS"
26711 fi
26712
26713 if test "x$COMPAQCXX" = "xyes"; then
26714 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26715 fi
26716
26717 ac_ext=cpp
26718 ac_cpp='$CXXCPP $CPPFLAGS'
26719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26722
26723
26724 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26725 if test "$wxUSE_UNICODE" = "yes"; then
26726 std_string="std::wstring"
26727 char_type="wchar_t"
26728 else
26729 std_string="std::string"
26730 char_type="char"
26731 fi
26732
26733 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26734 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26735 if test "${wx_cv_class_stdstring+set}" = set; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26737 else
26738
26739 cat >conftest.$ac_ext <<_ACEOF
26740 /* confdefs.h. */
26741 _ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26745 #include <string>
26746 int
26747 main ()
26748 {
26749 $std_string foo;
26750 ;
26751 return 0;
26752 }
26753 _ACEOF
26754 rm -f conftest.$ac_objext
26755 if { (ac_try="$ac_compile"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;;
26759 esac
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_compile") 2>conftest.er1
26762 ac_status=$?
26763 grep -v '^ *+' conftest.er1 >conftest.err
26764 rm -f conftest.er1
26765 cat conftest.err >&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } && {
26768 test -z "$ac_cxx_werror_flag" ||
26769 test ! -s conftest.err
26770 } && test -s conftest.$ac_objext; then
26771 wx_cv_class_stdstring=yes
26772 else
26773 echo "$as_me: failed program was:" >&5
26774 sed 's/^/| /' conftest.$ac_ext >&5
26775
26776 wx_cv_class_stdstring=no
26777
26778 fi
26779
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781
26782
26783 fi
26784 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26785 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26786
26787 if test "$wx_cv_class_stdstring" = yes; then
26788 if test "$wxUSE_UNICODE" = "yes"; then
26789 cat >>confdefs.h <<\_ACEOF
26790 #define HAVE_STD_WSTRING 1
26791 _ACEOF
26792
26793 fi
26794 else
26795 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26796 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26797 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 else
26800
26801 cat >conftest.$ac_ext <<_ACEOF
26802 /* confdefs.h. */
26803 _ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26807
26808 #ifdef HAVE_WCHAR_H
26809 # ifdef __CYGWIN__
26810 # include <stddef.h>
26811 # endif
26812 # include <wchar.h>
26813 #endif
26814 #ifdef HAVE_STDLIB_H
26815 # include <stdlib.h>
26816 #endif
26817 #include <stdio.h>
26818 #include <string>
26819
26820 int
26821 main ()
26822 {
26823 std::basic_string<$char_type> foo;
26824 const $char_type* dummy = foo.c_str();
26825 ;
26826 return 0;
26827 }
26828 _ACEOF
26829 rm -f conftest.$ac_objext
26830 if { (ac_try="$ac_compile"
26831 case "(($ac_try" in
26832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26833 *) ac_try_echo=$ac_try;;
26834 esac
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836 (eval "$ac_compile") 2>conftest.er1
26837 ac_status=$?
26838 grep -v '^ *+' conftest.er1 >conftest.err
26839 rm -f conftest.er1
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } && {
26843 test -z "$ac_cxx_werror_flag" ||
26844 test ! -s conftest.err
26845 } && test -s conftest.$ac_objext; then
26846 wx_cv_class_stdbasicstring=yes
26847 else
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26850
26851 wx_cv_class_stdbasicstring=no
26852
26853 fi
26854
26855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856
26857
26858 fi
26859 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26860 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26861
26862 if test "$wx_cv_class_stdbasicstring" != yes; then
26863 if test "$wxUSE_STL" = "yes"; then
26864 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26865 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26866 { (exit 1); exit 1; }; }
26867 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26868 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26869 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26870 { (exit 1); exit 1; }; }
26871 else
26872 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26873 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26874 wxUSE_STD_STRING=no
26875 fi
26876 fi
26877 fi
26878 fi
26879
26880 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26881 { echo "$as_me:$LINENO: checking for std::istream" >&5
26882 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26883 if test "${ac_cv_type_std__istream+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 else
26886 cat >conftest.$ac_ext <<_ACEOF
26887 /* confdefs.h. */
26888 _ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892 #include <iostream>
26893
26894 typedef std::istream ac__type_new_;
26895 int
26896 main ()
26897 {
26898 if ((ac__type_new_ *) 0)
26899 return 0;
26900 if (sizeof (ac__type_new_))
26901 return 0;
26902 ;
26903 return 0;
26904 }
26905 _ACEOF
26906 rm -f conftest.$ac_objext
26907 if { (ac_try="$ac_compile"
26908 case "(($ac_try" in
26909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26910 *) ac_try_echo=$ac_try;;
26911 esac
26912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26913 (eval "$ac_compile") 2>conftest.er1
26914 ac_status=$?
26915 grep -v '^ *+' conftest.er1 >conftest.err
26916 rm -f conftest.er1
26917 cat conftest.err >&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } && {
26920 test -z "$ac_cxx_werror_flag" ||
26921 test ! -s conftest.err
26922 } && test -s conftest.$ac_objext; then
26923 ac_cv_type_std__istream=yes
26924 else
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26927
26928 ac_cv_type_std__istream=no
26929 fi
26930
26931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26932 fi
26933 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26934 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26935 if test $ac_cv_type_std__istream = yes; then
26936
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE_STD__ISTREAM 1
26939 _ACEOF
26940
26941
26942 else
26943 wxUSE_STD_IOSTREAM=no
26944 fi
26945 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26946 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26947 if test "${ac_cv_type_std__ostream+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26950 cat >conftest.$ac_ext <<_ACEOF
26951 /* confdefs.h. */
26952 _ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956 #include <iostream>
26957
26958 typedef std::ostream ac__type_new_;
26959 int
26960 main ()
26961 {
26962 if ((ac__type_new_ *) 0)
26963 return 0;
26964 if (sizeof (ac__type_new_))
26965 return 0;
26966 ;
26967 return 0;
26968 }
26969 _ACEOF
26970 rm -f conftest.$ac_objext
26971 if { (ac_try="$ac_compile"
26972 case "(($ac_try" in
26973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26974 *) ac_try_echo=$ac_try;;
26975 esac
26976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26977 (eval "$ac_compile") 2>conftest.er1
26978 ac_status=$?
26979 grep -v '^ *+' conftest.er1 >conftest.err
26980 rm -f conftest.er1
26981 cat conftest.err >&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); } && {
26984 test -z "$ac_cxx_werror_flag" ||
26985 test ! -s conftest.err
26986 } && test -s conftest.$ac_objext; then
26987 ac_cv_type_std__ostream=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 ac_cv_type_std__ostream=no
26993 fi
26994
26995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26996 fi
26997 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26998 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26999 if test $ac_cv_type_std__ostream = yes; then
27000
27001 cat >>confdefs.h <<_ACEOF
27002 #define HAVE_STD__OSTREAM 1
27003 _ACEOF
27004
27005
27006 else
27007 wxUSE_STD_IOSTREAM=no
27008 fi
27009
27010
27011 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27012 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27013 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27014 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27015 { (exit 1); exit 1; }; }
27016 else
27017 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27018 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27019 fi
27020 fi
27021 fi
27022
27023 if test "$wxUSE_STL" = "yes"; then
27024 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27025 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27026 if test "${wx_cv_lib_stl+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 else
27029 cat >conftest.$ac_ext <<_ACEOF
27030 /* confdefs.h. */
27031 _ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27035 #include <string>
27036 #include <functional>
27037 #include <algorithm>
27038 #include <vector>
27039 #include <list>
27040 int
27041 main ()
27042 {
27043 std::vector<int> moo;
27044 std::list<int> foo;
27045 std::vector<int>::iterator it =
27046 std::find_if(moo.begin(), moo.end(),
27047 std::bind2nd(std::less<int>(), 3));
27048 ;
27049 return 0;
27050 }
27051 _ACEOF
27052 rm -f conftest.$ac_objext
27053 if { (ac_try="$ac_compile"
27054 case "(($ac_try" in
27055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27056 *) ac_try_echo=$ac_try;;
27057 esac
27058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27059 (eval "$ac_compile") 2>conftest.er1
27060 ac_status=$?
27061 grep -v '^ *+' conftest.er1 >conftest.err
27062 rm -f conftest.er1
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && {
27066 test -z "$ac_cxx_werror_flag" ||
27067 test ! -s conftest.err
27068 } && test -s conftest.$ac_objext; then
27069 wx_cv_lib_stl=yes
27070 else
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27073
27074 wx_cv_lib_stl=no
27075
27076 fi
27077
27078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27079
27080 fi
27081 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27082 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27083
27084 if test "$wx_cv_lib_stl" != yes; then
27085 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27086 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27087 { (exit 1); exit 1; }; }
27088 fi
27089
27090 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27091 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27092 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101 #include <string>
27102 int
27103 main ()
27104 {
27105 std::string foo, bar;
27106 foo.compare(bar);
27107 foo.compare(1, 1, bar);
27108 foo.compare(1, 1, bar, 1, 1);
27109 foo.compare("");
27110 foo.compare(1, 1, "");
27111 foo.compare(1, 1, "", 2);
27112 ;
27113 return 0;
27114 }
27115 _ACEOF
27116 rm -f conftest.$ac_objext
27117 if { (ac_try="$ac_compile"
27118 case "(($ac_try" in
27119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27120 *) ac_try_echo=$ac_try;;
27121 esac
27122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27123 (eval "$ac_compile") 2>conftest.er1
27124 ac_status=$?
27125 grep -v '^ *+' conftest.er1 >conftest.err
27126 rm -f conftest.er1
27127 cat conftest.err >&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } && {
27130 test -z "$ac_cxx_werror_flag" ||
27131 test ! -s conftest.err
27132 } && test -s conftest.$ac_objext; then
27133 wx_cv_func_stdstring_compare=yes
27134 else
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27137
27138 wx_cv_func_stdstring_compare=no
27139
27140 fi
27141
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143
27144 fi
27145 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27146 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27147
27148 if test "$wx_cv_func_stdstring_compare" = yes; then
27149 cat >>confdefs.h <<\_ACEOF
27150 #define HAVE_STD_STRING_COMPARE 1
27151 _ACEOF
27152
27153 fi
27154
27155 { echo "$as_me:$LINENO: checking for hash_map" >&5
27156 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27157 if test "${ac_cv_header_hash_map+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 else
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166
27167
27168
27169 #include <hash_map>
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (ac_try="$ac_compile"
27173 case "(($ac_try" in
27174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27175 *) ac_try_echo=$ac_try;;
27176 esac
27177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27178 (eval "$ac_compile") 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } && {
27185 test -z "$ac_cxx_werror_flag" ||
27186 test ! -s conftest.err
27187 } && test -s conftest.$ac_objext; then
27188 ac_cv_header_hash_map=yes
27189 else
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27192
27193 ac_cv_header_hash_map=no
27194 fi
27195
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 fi
27198 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27199 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27200 if test $ac_cv_header_hash_map = yes; then
27201 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27202 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27203 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 else
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 #include <hash_map>
27213 #include <hash_set>
27214 int
27215 main ()
27216 {
27217 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27218 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27219 ;
27220 return 0;
27221 }
27222 _ACEOF
27223 rm -f conftest.$ac_objext
27224 if { (ac_try="$ac_compile"
27225 case "(($ac_try" in
27226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27227 *) ac_try_echo=$ac_try;;
27228 esac
27229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27230 (eval "$ac_compile") 2>conftest.er1
27231 ac_status=$?
27232 grep -v '^ *+' conftest.er1 >conftest.err
27233 rm -f conftest.er1
27234 cat conftest.err >&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); } && {
27237 test -z "$ac_cxx_werror_flag" ||
27238 test ! -s conftest.err
27239 } && test -s conftest.$ac_objext; then
27240 wx_cv_class_stdhashmapset=yes
27241 else
27242 echo "$as_me: failed program was:" >&5
27243 sed 's/^/| /' conftest.$ac_ext >&5
27244
27245 wx_cv_class_stdhashmapset=no
27246 fi
27247
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249
27250
27251 fi
27252 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27253 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27254 fi
27255
27256
27257
27258 if test "$wx_cv_class_stdhashmapset" = yes; then
27259 cat >>confdefs.h <<\_ACEOF
27260 #define HAVE_HASH_MAP 1
27261 _ACEOF
27262
27263 cat >>confdefs.h <<\_ACEOF
27264 #define HAVE_STD_HASH_MAP 1
27265 _ACEOF
27266
27267 fi
27268
27269 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27270 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27271 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27272 echo $ECHO_N "(cached) $ECHO_C" >&6
27273 else
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281
27282
27283 #include <ext/hash_map>
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (ac_try="$ac_compile"
27287 case "(($ac_try" in
27288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27289 *) ac_try_echo=$ac_try;;
27290 esac
27291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27292 (eval "$ac_compile") 2>conftest.er1
27293 ac_status=$?
27294 grep -v '^ *+' conftest.er1 >conftest.err
27295 rm -f conftest.er1
27296 cat conftest.err >&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); } && {
27299 test -z "$ac_cxx_werror_flag" ||
27300 test ! -s conftest.err
27301 } && test -s conftest.$ac_objext; then
27302 ac_cv_header_ext_hash_map=yes
27303 else
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27306
27307 ac_cv_header_ext_hash_map=no
27308 fi
27309
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27311 fi
27312 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27313 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27314 if test $ac_cv_header_ext_hash_map = yes; then
27315 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27316 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27317 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27320 cat >conftest.$ac_ext <<_ACEOF
27321 /* confdefs.h. */
27322 _ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 #include <ext/hash_map>
27327 #include <ext/hash_set>
27328 int
27329 main ()
27330 {
27331 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27332 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27333 ;
27334 return 0;
27335 }
27336 _ACEOF
27337 rm -f conftest.$ac_objext
27338 if { (ac_try="$ac_compile"
27339 case "(($ac_try" in
27340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27341 *) ac_try_echo=$ac_try;;
27342 esac
27343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27344 (eval "$ac_compile") 2>conftest.er1
27345 ac_status=$?
27346 grep -v '^ *+' conftest.er1 >conftest.err
27347 rm -f conftest.er1
27348 cat conftest.err >&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } && {
27351 test -z "$ac_cxx_werror_flag" ||
27352 test ! -s conftest.err
27353 } && test -s conftest.$ac_objext; then
27354 wx_cv_class_gnuhashmapset=yes
27355 else
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27358
27359 wx_cv_class_gnuhashmapset=no
27360 fi
27361
27362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27363
27364
27365 fi
27366 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27367 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27368 fi
27369
27370
27371
27372 if test "$wx_cv_class_gnuhashmapset" = yes; then
27373 cat >>confdefs.h <<\_ACEOF
27374 #define HAVE_EXT_HASH_MAP 1
27375 _ACEOF
27376
27377 cat >>confdefs.h <<\_ACEOF
27378 #define HAVE_GNU_CXX_HASH_MAP 1
27379 _ACEOF
27380
27381 fi
27382 fi
27383
27384 ac_ext=c
27385 ac_cpp='$CPP $CPPFLAGS'
27386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27389
27390
27391
27392 SEARCH_INCLUDE="\
27393 /usr/local/include \
27394 \
27395 /usr/Motif-2.1/include \
27396 /usr/Motif-1.2/include \
27397 /usr/include/Motif1.2 \
27398 \
27399 /usr/dt/include \
27400 /usr/openwin/include \
27401 \
27402 /usr/include/Xm \
27403 \
27404 /usr/X11R6/include \
27405 /usr/X11R6.4/include \
27406 /usr/X11R5/include \
27407 /usr/X11R4/include \
27408 \
27409 /usr/include/X11R6 \
27410 /usr/include/X11R5 \
27411 /usr/include/X11R4 \
27412 \
27413 /usr/local/X11R6/include \
27414 /usr/local/X11R5/include \
27415 /usr/local/X11R4/include \
27416 \
27417 /usr/local/include/X11R6 \
27418 /usr/local/include/X11R5 \
27419 /usr/local/include/X11R4 \
27420 \
27421 /usr/X11/include \
27422 /usr/include/X11 \
27423 /usr/local/X11/include \
27424 /usr/local/include/X11 \
27425 \
27426 /usr/XFree86/include/X11 \
27427 /usr/pkg/include \
27428 \
27429 /usr/openwin/share/include"
27430
27431 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27432 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27433
27434 case "${host}" in
27435 *-*-irix6* )
27436 if test "${wx_cv_std_libpath+set}" = set; then
27437 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 else
27439
27440 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27441 for e in a so sl dylib dll.a; do
27442 libc="$d/libc.$e"
27443 if test -f $libc; then
27444 save_LIBS="$LIBS"
27445 LIBS="$libc"
27446 cat >conftest.$ac_ext <<_ACEOF
27447 int main() { return 0; }
27448 _ACEOF
27449 rm -f conftest.$ac_objext conftest$ac_exeext
27450 if { (ac_try="$ac_link"
27451 case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27454 esac
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_link") 2>conftest.er1
27457 ac_status=$?
27458 grep -v '^ *+' conftest.er1 >conftest.err
27459 rm -f conftest.er1
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } && {
27463 test -z "$ac_c_werror_flag" ||
27464 test ! -s conftest.err
27465 } && test -s conftest$ac_exeext &&
27466 $as_test_x conftest$ac_exeext; then
27467 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27468 else
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.$ac_ext >&5
27471
27472
27473 fi
27474
27475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27476 conftest$ac_exeext conftest.$ac_ext
27477 LIBS="$save_LIBS"
27478 if test "x$wx_cv_std_libpath" != "x"; then
27479 break 2
27480 fi
27481 fi
27482 done
27483 done
27484 if test "x$wx_cv_std_libpath" = "x"; then
27485 wx_cv_std_libpath="lib"
27486 fi
27487
27488
27489 fi
27490
27491 ;;
27492
27493 *-*-solaris2* )
27494 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27495 wx_cv_std_libpath="lib/64"
27496 else
27497 wx_cv_std_libpath="lib"
27498 fi
27499 ;;
27500
27501 *-*-linux* )
27502 if test "$ac_cv_sizeof_void_p" = 8 -a \
27503 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27504 wx_cv_std_libpath="lib64"
27505 else
27506 wx_cv_std_libpath="lib"
27507 fi
27508 ;;
27509
27510 *)
27511 wx_cv_std_libpath="lib";
27512 ;;
27513 esac
27514
27515 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27516 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27517
27518 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27519
27520 if test "$build" != "$host" -a "$GCC" = yes; then
27521 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27522 cross_root=`dirname $cross_root`
27523 cross_root=`dirname $cross_root`
27524
27525 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27526 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27527 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27528
27529 if test -z "$PKG_CONFIG_PATH"; then
27530 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27531 export PKG_CONFIG_PATH
27532 fi
27533
27534 if test -z "$x_includes" -o "$x_includes" = NONE; then
27535
27536 ac_find_includes=
27537 for ac_dir in $SEARCH_INCLUDE /usr/include;
27538 do
27539 if test -f "$ac_dir/X11/Intrinsic.h"; then
27540 ac_find_includes=$ac_dir
27541 break
27542 fi
27543 done
27544
27545 x_includes=$ac_find_includes
27546 fi
27547 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27548
27549 ac_find_libraries=
27550 for ac_dir in $SEARCH_LIB;
27551 do
27552 for ac_extension in a so sl dylib dll.a; do
27553 if test -f "$ac_dir/libXt.$ac_extension"; then
27554 ac_find_libraries=$ac_dir
27555 break 2
27556 fi
27557 done
27558 done
27559
27560 x_libraries=$ac_find_libraries
27561 fi
27562 fi
27563 fi
27564
27565
27566 cat >confcache <<\_ACEOF
27567 # This file is a shell script that caches the results of configure
27568 # tests run on this system so they can be shared between configure
27569 # scripts and configure runs, see configure's option --config-cache.
27570 # It is not useful on other systems. If it contains results you don't
27571 # want to keep, you may remove or edit it.
27572 #
27573 # config.status only pays attention to the cache file if you give it
27574 # the --recheck option to rerun configure.
27575 #
27576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27578 # following values.
27579
27580 _ACEOF
27581
27582 # The following way of writing the cache mishandles newlines in values,
27583 # but we know of no workaround that is simple, portable, and efficient.
27584 # So, we kill variables containing newlines.
27585 # Ultrix sh set writes to stderr and can't be redirected directly,
27586 # and sets the high bit in the cache file unless we assign to the vars.
27587 (
27588 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27589 eval ac_val=\$$ac_var
27590 case $ac_val in #(
27591 *${as_nl}*)
27592 case $ac_var in #(
27593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27595 esac
27596 case $ac_var in #(
27597 _ | IFS | as_nl) ;; #(
27598 *) $as_unset $ac_var ;;
27599 esac ;;
27600 esac
27601 done
27602
27603 (set) 2>&1 |
27604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27605 *${as_nl}ac_space=\ *)
27606 # `set' does not quote correctly, so add quotes (double-quote
27607 # substitution turns \\\\ into \\, and sed turns \\ into \).
27608 sed -n \
27609 "s/'/'\\\\''/g;
27610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27611 ;; #(
27612 *)
27613 # `set' quotes correctly as required by POSIX, so do not add quotes.
27614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27615 ;;
27616 esac |
27617 sort
27618 ) |
27619 sed '
27620 /^ac_cv_env_/b end
27621 t clear
27622 :clear
27623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27624 t end
27625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27626 :end' >>confcache
27627 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27628 if test -w "$cache_file"; then
27629 test "x$cache_file" != "x/dev/null" &&
27630 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27631 echo "$as_me: updating cache $cache_file" >&6;}
27632 cat confcache >$cache_file
27633 else
27634 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27635 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27636 fi
27637 fi
27638 rm -f confcache
27639
27640 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27641 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27642 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27643 if test "${wx_cv_lib_glibc21+set}" = set; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27646
27647 cat >conftest.$ac_ext <<_ACEOF
27648 /* confdefs.h. */
27649 _ACEOF
27650 cat confdefs.h >>conftest.$ac_ext
27651 cat >>conftest.$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27653 #include <features.h>
27654 int
27655 main ()
27656 {
27657
27658 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27659 not glibc 2.1
27660 #endif
27661
27662 ;
27663 return 0;
27664 }
27665 _ACEOF
27666 rm -f conftest.$ac_objext
27667 if { (ac_try="$ac_compile"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27671 esac
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_compile") 2>conftest.er1
27674 ac_status=$?
27675 grep -v '^ *+' conftest.er1 >conftest.err
27676 rm -f conftest.er1
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest.$ac_objext; then
27683
27684 wx_cv_lib_glibc21=yes
27685
27686 else
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.$ac_ext >&5
27689
27690
27691 wx_cv_lib_glibc21=no
27692
27693
27694 fi
27695
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697
27698 fi
27699 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27700 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27701 if test "$wx_cv_lib_glibc21" = "yes"; then
27702 cat >>confdefs.h <<\_ACEOF
27703 #define wxHAVE_GLIBC2 1
27704 _ACEOF
27705
27706 fi
27707 fi
27708
27709 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27710 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27711 cat >>confdefs.h <<\_ACEOF
27712 #define _GNU_SOURCE 1
27713 _ACEOF
27714
27715 fi
27716 fi
27717
27718 have_cos=0
27719 have_floor=0
27720
27721 for ac_func in cos
27722 do
27723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27728 else
27729 cat >conftest.$ac_ext <<_ACEOF
27730 /* confdefs.h. */
27731 _ACEOF
27732 cat confdefs.h >>conftest.$ac_ext
27733 cat >>conftest.$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27737 #define $ac_func innocuous_$ac_func
27738
27739 /* System header to define __stub macros and hopefully few prototypes,
27740 which can conflict with char $ac_func (); below.
27741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27742 <limits.h> exists even on freestanding compilers. */
27743
27744 #ifdef __STDC__
27745 # include <limits.h>
27746 #else
27747 # include <assert.h>
27748 #endif
27749
27750 #undef $ac_func
27751
27752 /* Override any GCC internal prototype to avoid an error.
27753 Use char because int might match the return type of a GCC
27754 builtin and then its argument prototype would still apply. */
27755 #ifdef __cplusplus
27756 extern "C"
27757 #endif
27758 char $ac_func ();
27759 /* The GNU C library defines this for functions which it implements
27760 to always fail with ENOSYS. Some functions are actually named
27761 something starting with __ and the normal name is an alias. */
27762 #if defined __stub_$ac_func || defined __stub___$ac_func
27763 choke me
27764 #endif
27765
27766 int
27767 main ()
27768 {
27769 return $ac_func ();
27770 ;
27771 return 0;
27772 }
27773 _ACEOF
27774 rm -f conftest.$ac_objext conftest$ac_exeext
27775 if { (ac_try="$ac_link"
27776 case "(($ac_try" in
27777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27778 *) ac_try_echo=$ac_try;;
27779 esac
27780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27781 (eval "$ac_link") 2>conftest.er1
27782 ac_status=$?
27783 grep -v '^ *+' conftest.er1 >conftest.err
27784 rm -f conftest.er1
27785 cat conftest.err >&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); } && {
27788 test -z "$ac_c_werror_flag" ||
27789 test ! -s conftest.err
27790 } && test -s conftest$ac_exeext &&
27791 $as_test_x conftest$ac_exeext; then
27792 eval "$as_ac_var=yes"
27793 else
27794 echo "$as_me: failed program was:" >&5
27795 sed 's/^/| /' conftest.$ac_ext >&5
27796
27797 eval "$as_ac_var=no"
27798 fi
27799
27800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27801 conftest$ac_exeext conftest.$ac_ext
27802 fi
27803 ac_res=`eval echo '${'$as_ac_var'}'`
27804 { echo "$as_me:$LINENO: result: $ac_res" >&5
27805 echo "${ECHO_T}$ac_res" >&6; }
27806 if test `eval echo '${'$as_ac_var'}'` = yes; then
27807 cat >>confdefs.h <<_ACEOF
27808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27809 _ACEOF
27810 have_cos=1
27811 fi
27812 done
27813
27814
27815 for ac_func in floor
27816 do
27817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27821 echo $ECHO_N "(cached) $ECHO_C" >&6
27822 else
27823 cat >conftest.$ac_ext <<_ACEOF
27824 /* confdefs.h. */
27825 _ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h. */
27829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27831 #define $ac_func innocuous_$ac_func
27832
27833 /* System header to define __stub macros and hopefully few prototypes,
27834 which can conflict with char $ac_func (); below.
27835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27836 <limits.h> exists even on freestanding compilers. */
27837
27838 #ifdef __STDC__
27839 # include <limits.h>
27840 #else
27841 # include <assert.h>
27842 #endif
27843
27844 #undef $ac_func
27845
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27849 #ifdef __cplusplus
27850 extern "C"
27851 #endif
27852 char $ac_func ();
27853 /* The GNU C library defines this for functions which it implements
27854 to always fail with ENOSYS. Some functions are actually named
27855 something starting with __ and the normal name is an alias. */
27856 #if defined __stub_$ac_func || defined __stub___$ac_func
27857 choke me
27858 #endif
27859
27860 int
27861 main ()
27862 {
27863 return $ac_func ();
27864 ;
27865 return 0;
27866 }
27867 _ACEOF
27868 rm -f conftest.$ac_objext conftest$ac_exeext
27869 if { (ac_try="$ac_link"
27870 case "(($ac_try" in
27871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27872 *) ac_try_echo=$ac_try;;
27873 esac
27874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27875 (eval "$ac_link") 2>conftest.er1
27876 ac_status=$?
27877 grep -v '^ *+' conftest.er1 >conftest.err
27878 rm -f conftest.er1
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } && {
27882 test -z "$ac_c_werror_flag" ||
27883 test ! -s conftest.err
27884 } && test -s conftest$ac_exeext &&
27885 $as_test_x conftest$ac_exeext; then
27886 eval "$as_ac_var=yes"
27887 else
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27890
27891 eval "$as_ac_var=no"
27892 fi
27893
27894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27895 conftest$ac_exeext conftest.$ac_ext
27896 fi
27897 ac_res=`eval echo '${'$as_ac_var'}'`
27898 { echo "$as_me:$LINENO: result: $ac_res" >&5
27899 echo "${ECHO_T}$ac_res" >&6; }
27900 if test `eval echo '${'$as_ac_var'}'` = yes; then
27901 cat >>confdefs.h <<_ACEOF
27902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27903 _ACEOF
27904 have_floor=1
27905 fi
27906 done
27907
27908 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27909 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27910 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27911 { echo "$as_me:$LINENO: result: yes" >&5
27912 echo "${ECHO_T}yes" >&6; }
27913 else
27914 { echo "$as_me:$LINENO: result: no" >&5
27915 echo "${ECHO_T}no" >&6; }
27916 LIBS="$LIBS -lm"
27917 # use different functions to avoid configure caching
27918 have_sin=0
27919 have_ceil=0
27920
27921 for ac_func in sin
27922 do
27923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929 cat >conftest.$ac_ext <<_ACEOF
27930 /* confdefs.h. */
27931 _ACEOF
27932 cat confdefs.h >>conftest.$ac_ext
27933 cat >>conftest.$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27937 #define $ac_func innocuous_$ac_func
27938
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27943
27944 #ifdef __STDC__
27945 # include <limits.h>
27946 #else
27947 # include <assert.h>
27948 #endif
27949
27950 #undef $ac_func
27951
27952 /* Override any GCC internal prototype to avoid an error.
27953 Use char because int might match the return type of a GCC
27954 builtin and then its argument prototype would still apply. */
27955 #ifdef __cplusplus
27956 extern "C"
27957 #endif
27958 char $ac_func ();
27959 /* The GNU C library defines this for functions which it implements
27960 to always fail with ENOSYS. Some functions are actually named
27961 something starting with __ and the normal name is an alias. */
27962 #if defined __stub_$ac_func || defined __stub___$ac_func
27963 choke me
27964 #endif
27965
27966 int
27967 main ()
27968 {
27969 return $ac_func ();
27970 ;
27971 return 0;
27972 }
27973 _ACEOF
27974 rm -f conftest.$ac_objext conftest$ac_exeext
27975 if { (ac_try="$ac_link"
27976 case "(($ac_try" in
27977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27978 *) ac_try_echo=$ac_try;;
27979 esac
27980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27981 (eval "$ac_link") 2>conftest.er1
27982 ac_status=$?
27983 grep -v '^ *+' conftest.er1 >conftest.err
27984 rm -f conftest.er1
27985 cat conftest.err >&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); } && {
27988 test -z "$ac_c_werror_flag" ||
27989 test ! -s conftest.err
27990 } && test -s conftest$ac_exeext &&
27991 $as_test_x conftest$ac_exeext; then
27992 eval "$as_ac_var=yes"
27993 else
27994 echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.$ac_ext >&5
27996
27997 eval "$as_ac_var=no"
27998 fi
27999
28000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28001 conftest$ac_exeext conftest.$ac_ext
28002 fi
28003 ac_res=`eval echo '${'$as_ac_var'}'`
28004 { echo "$as_me:$LINENO: result: $ac_res" >&5
28005 echo "${ECHO_T}$ac_res" >&6; }
28006 if test `eval echo '${'$as_ac_var'}'` = yes; then
28007 cat >>confdefs.h <<_ACEOF
28008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28009 _ACEOF
28010 have_sin=1
28011 fi
28012 done
28013
28014
28015 for ac_func in ceil
28016 do
28017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28021 echo $ECHO_N "(cached) $ECHO_C" >&6
28022 else
28023 cat >conftest.$ac_ext <<_ACEOF
28024 /* confdefs.h. */
28025 _ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28031 #define $ac_func innocuous_$ac_func
28032
28033 /* System header to define __stub macros and hopefully few prototypes,
28034 which can conflict with char $ac_func (); below.
28035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28036 <limits.h> exists even on freestanding compilers. */
28037
28038 #ifdef __STDC__
28039 # include <limits.h>
28040 #else
28041 # include <assert.h>
28042 #endif
28043
28044 #undef $ac_func
28045
28046 /* Override any GCC internal prototype to avoid an error.
28047 Use char because int might match the return type of a GCC
28048 builtin and then its argument prototype would still apply. */
28049 #ifdef __cplusplus
28050 extern "C"
28051 #endif
28052 char $ac_func ();
28053 /* The GNU C library defines this for functions which it implements
28054 to always fail with ENOSYS. Some functions are actually named
28055 something starting with __ and the normal name is an alias. */
28056 #if defined __stub_$ac_func || defined __stub___$ac_func
28057 choke me
28058 #endif
28059
28060 int
28061 main ()
28062 {
28063 return $ac_func ();
28064 ;
28065 return 0;
28066 }
28067 _ACEOF
28068 rm -f conftest.$ac_objext conftest$ac_exeext
28069 if { (ac_try="$ac_link"
28070 case "(($ac_try" in
28071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28073 esac
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_link") 2>conftest.er1
28076 ac_status=$?
28077 grep -v '^ *+' conftest.er1 >conftest.err
28078 rm -f conftest.er1
28079 cat conftest.err >&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); } && {
28082 test -z "$ac_c_werror_flag" ||
28083 test ! -s conftest.err
28084 } && test -s conftest$ac_exeext &&
28085 $as_test_x conftest$ac_exeext; then
28086 eval "$as_ac_var=yes"
28087 else
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28090
28091 eval "$as_ac_var=no"
28092 fi
28093
28094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28095 conftest$ac_exeext conftest.$ac_ext
28096 fi
28097 ac_res=`eval echo '${'$as_ac_var'}'`
28098 { echo "$as_me:$LINENO: result: $ac_res" >&5
28099 echo "${ECHO_T}$ac_res" >&6; }
28100 if test `eval echo '${'$as_ac_var'}'` = yes; then
28101 cat >>confdefs.h <<_ACEOF
28102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28103 _ACEOF
28104 have_ceil=1
28105 fi
28106 done
28107
28108 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28111 { echo "$as_me:$LINENO: result: yes" >&5
28112 echo "${ECHO_T}yes" >&6; }
28113 else
28114 { echo "$as_me:$LINENO: result: no" >&5
28115 echo "${ECHO_T}no" >&6; }
28116 # not sure we should warn the user, crash, etc.
28117 fi
28118 fi
28119
28120 ac_ext=cpp
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125
28126 if test "wxUSE_UNICODE" = "yes"; then
28127
28128 for wx_func in wcstoull
28129 do
28130 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28131 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28132 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 else
28135
28136 cat >conftest.$ac_ext <<_ACEOF
28137
28138 /* confdefs.h. */
28139 _ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143
28144
28145 $ac_includes_default
28146
28147 int
28148 main ()
28149 {
28150
28151 #ifndef $wx_func
28152 &$wx_func;
28153 #endif
28154
28155
28156 ;
28157 return 0;
28158 }
28159
28160 _ACEOF
28161 rm -f conftest.$ac_objext conftest$ac_exeext
28162 if { (ac_try="$ac_link"
28163 case "(($ac_try" in
28164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28165 *) ac_try_echo=$ac_try;;
28166 esac
28167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28168 (eval "$ac_link") 2>conftest.er1
28169 ac_status=$?
28170 grep -v '^ *+' conftest.er1 >conftest.err
28171 rm -f conftest.er1
28172 cat conftest.err >&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); } && {
28175 test -z "$ac_cxx_werror_flag" ||
28176 test ! -s conftest.err
28177 } && test -s conftest$ac_exeext &&
28178 $as_test_x conftest$ac_exeext; then
28179 eval wx_cv_func_$wx_func=yes
28180 else
28181 echo "$as_me: failed program was:" >&5
28182 sed 's/^/| /' conftest.$ac_ext >&5
28183
28184 eval wx_cv_func_$wx_func=no
28185 fi
28186
28187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28188 conftest$ac_exeext conftest.$ac_ext
28189
28190 fi
28191 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28192 { echo "$as_me:$LINENO: result: $ac_res" >&5
28193 echo "${ECHO_T}$ac_res" >&6; }
28194
28195 if eval test \$wx_cv_func_$wx_func = yes
28196 then
28197 cat >>confdefs.h <<_ACEOF
28198 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28199 _ACEOF
28200
28201
28202 else
28203 :
28204
28205 fi
28206 done
28207
28208 else
28209
28210 for wx_func in strtoull
28211 do
28212 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28213 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28214 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28216 else
28217
28218 cat >conftest.$ac_ext <<_ACEOF
28219
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226
28227 $ac_includes_default
28228
28229 int
28230 main ()
28231 {
28232
28233 #ifndef $wx_func
28234 &$wx_func;
28235 #endif
28236
28237
28238 ;
28239 return 0;
28240 }
28241
28242 _ACEOF
28243 rm -f conftest.$ac_objext conftest$ac_exeext
28244 if { (ac_try="$ac_link"
28245 case "(($ac_try" in
28246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28247 *) ac_try_echo=$ac_try;;
28248 esac
28249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28250 (eval "$ac_link") 2>conftest.er1
28251 ac_status=$?
28252 grep -v '^ *+' conftest.er1 >conftest.err
28253 rm -f conftest.er1
28254 cat conftest.err >&5
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); } && {
28257 test -z "$ac_cxx_werror_flag" ||
28258 test ! -s conftest.err
28259 } && test -s conftest$ac_exeext &&
28260 $as_test_x conftest$ac_exeext; then
28261 eval wx_cv_func_$wx_func=yes
28262 else
28263 echo "$as_me: failed program was:" >&5
28264 sed 's/^/| /' conftest.$ac_ext >&5
28265
28266 eval wx_cv_func_$wx_func=no
28267 fi
28268
28269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28270 conftest$ac_exeext conftest.$ac_ext
28271
28272 fi
28273 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28274 { echo "$as_me:$LINENO: result: $ac_res" >&5
28275 echo "${ECHO_T}$ac_res" >&6; }
28276
28277 if eval test \$wx_cv_func_$wx_func = yes
28278 then
28279 cat >>confdefs.h <<_ACEOF
28280 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28281 _ACEOF
28282
28283
28284 else
28285 :
28286
28287 fi
28288 done
28289
28290 fi
28291 ac_ext=c
28292 ac_cpp='$CPP $CPPFLAGS'
28293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28296
28297
28298
28299
28300 if test "$wxUSE_REGEX" != "no"; then
28301 cat >>confdefs.h <<\_ACEOF
28302 #define wxUSE_REGEX 1
28303 _ACEOF
28304
28305
28306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28308 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28309 wxUSE_REGEX=builtin
28310 fi
28311
28312 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28313 { echo "$as_me:$LINENO: checking for regex.h" >&5
28314 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28315 if test "${ac_cv_header_regex_h+set}" = set; then
28316 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 else
28318 cat >conftest.$ac_ext <<_ACEOF
28319 /* confdefs.h. */
28320 _ACEOF
28321 cat confdefs.h >>conftest.$ac_ext
28322 cat >>conftest.$ac_ext <<_ACEOF
28323 /* end confdefs.h. */
28324
28325
28326 #include <regex.h>
28327 _ACEOF
28328 rm -f conftest.$ac_objext
28329 if { (ac_try="$ac_compile"
28330 case "(($ac_try" in
28331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28332 *) ac_try_echo=$ac_try;;
28333 esac
28334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28335 (eval "$ac_compile") 2>conftest.er1
28336 ac_status=$?
28337 grep -v '^ *+' conftest.er1 >conftest.err
28338 rm -f conftest.er1
28339 cat conftest.err >&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } && {
28342 test -z "$ac_c_werror_flag" ||
28343 test ! -s conftest.err
28344 } && test -s conftest.$ac_objext; then
28345 ac_cv_header_regex_h=yes
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350 ac_cv_header_regex_h=no
28351 fi
28352
28353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28354 fi
28355 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28356 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28357 if test $ac_cv_header_regex_h = yes; then
28358
28359
28360 for ac_func in regcomp re_search
28361 do
28362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 else
28368 cat >conftest.$ac_ext <<_ACEOF
28369 /* confdefs.h. */
28370 _ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28376 #define $ac_func innocuous_$ac_func
28377
28378 /* System header to define __stub macros and hopefully few prototypes,
28379 which can conflict with char $ac_func (); below.
28380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28381 <limits.h> exists even on freestanding compilers. */
28382
28383 #ifdef __STDC__
28384 # include <limits.h>
28385 #else
28386 # include <assert.h>
28387 #endif
28388
28389 #undef $ac_func
28390
28391 /* Override any GCC internal prototype to avoid an error.
28392 Use char because int might match the return type of a GCC
28393 builtin and then its argument prototype would still apply. */
28394 #ifdef __cplusplus
28395 extern "C"
28396 #endif
28397 char $ac_func ();
28398 /* The GNU C library defines this for functions which it implements
28399 to always fail with ENOSYS. Some functions are actually named
28400 something starting with __ and the normal name is an alias. */
28401 #if defined __stub_$ac_func || defined __stub___$ac_func
28402 choke me
28403 #endif
28404
28405 int
28406 main ()
28407 {
28408 return $ac_func ();
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28418 esac
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>conftest.er1
28421 ac_status=$?
28422 grep -v '^ *+' conftest.er1 >conftest.err
28423 rm -f conftest.er1
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_c_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest$ac_exeext &&
28430 $as_test_x conftest$ac_exeext; then
28431 eval "$as_ac_var=yes"
28432 else
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28435
28436 eval "$as_ac_var=no"
28437 fi
28438
28439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28440 conftest$ac_exeext conftest.$ac_ext
28441 fi
28442 ac_res=`eval echo '${'$as_ac_var'}'`
28443 { echo "$as_me:$LINENO: result: $ac_res" >&5
28444 echo "${ECHO_T}$ac_res" >&6; }
28445 if test `eval echo '${'$as_ac_var'}'` = yes; then
28446 cat >>confdefs.h <<_ACEOF
28447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28448 _ACEOF
28449
28450 fi
28451 done
28452
28453 fi
28454
28455
28456
28457 if test "x$ac_cv_func_regcomp" != "xyes"; then
28458 if test "$wxUSE_REGEX" = "sys" ; then
28459 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28460 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28461 { (exit 1); exit 1; }; }
28462 else
28463 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28464 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28465 wxUSE_REGEX=builtin
28466 fi
28467 else
28468 wxUSE_REGEX=sys
28469 cat >>confdefs.h <<\_ACEOF
28470 #define WX_NO_REGEX_ADVANCED 1
28471 _ACEOF
28472
28473 fi
28474 fi
28475 fi
28476
28477
28478 ZLIB_LINK=
28479 if test "$wxUSE_ZLIB" != "no" ; then
28480 cat >>confdefs.h <<\_ACEOF
28481 #define wxUSE_ZLIB 1
28482 _ACEOF
28483
28484
28485 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28486 if test "$USE_DARWIN" = 1; then
28487 system_zlib_h_ok="yes"
28488 else
28489 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28490 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28491 if test "${ac_cv_header_zlib_h+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28493 else
28494 if test "$cross_compiling" = yes; then
28495 unset ac_cv_header_zlib_h
28496
28497 else
28498 cat >conftest.$ac_ext <<_ACEOF
28499 /* confdefs.h. */
28500 _ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28504
28505 #include <zlib.h>
28506 #include <stdio.h>
28507
28508 int main()
28509 {
28510 FILE *f=fopen("conftestval", "w");
28511 if (!f) exit(1);
28512 fprintf(f, "%s",
28513 ZLIB_VERSION[0] == '1' &&
28514 (ZLIB_VERSION[2] > '1' ||
28515 (ZLIB_VERSION[2] == '1' &&
28516 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28517 exit(0);
28518 }
28519
28520 _ACEOF
28521 rm -f conftest$ac_exeext
28522 if { (ac_try="$ac_link"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28526 esac
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_link") 2>&5
28529 ac_status=$?
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28532 { (case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28535 esac
28536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_try") 2>&5
28538 ac_status=$?
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); }; }; then
28541 ac_cv_header_zlib_h=`cat conftestval`
28542 else
28543 echo "$as_me: program exited with status $ac_status" >&5
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28546
28547 ( exit $ac_status )
28548 ac_cv_header_zlib_h=no
28549 fi
28550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28551 fi
28552
28553
28554
28555 fi
28556 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28557 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28558 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28559 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28560 if test "${ac_cv_header_zlib_h+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 else
28563 cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h. */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569
28570
28571 #include <zlib.h>
28572 _ACEOF
28573 rm -f conftest.$ac_objext
28574 if { (ac_try="$ac_compile"
28575 case "(($ac_try" in
28576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28577 *) ac_try_echo=$ac_try;;
28578 esac
28579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28580 (eval "$ac_compile") 2>conftest.er1
28581 ac_status=$?
28582 grep -v '^ *+' conftest.er1 >conftest.err
28583 rm -f conftest.er1
28584 cat conftest.err >&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } && {
28587 test -z "$ac_c_werror_flag" ||
28588 test ! -s conftest.err
28589 } && test -s conftest.$ac_objext; then
28590 ac_cv_header_zlib_h=yes
28591 else
28592 echo "$as_me: failed program was:" >&5
28593 sed 's/^/| /' conftest.$ac_ext >&5
28594
28595 ac_cv_header_zlib_h=no
28596 fi
28597
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28599 fi
28600 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28601 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28602
28603
28604
28605 system_zlib_h_ok=$ac_cv_header_zlib_h
28606 fi
28607
28608 if test "$system_zlib_h_ok" = "yes"; then
28609 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28610 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28611 if test "${ac_cv_lib_z_deflate+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28613 else
28614 ac_check_lib_save_LIBS=$LIBS
28615 LIBS="-lz $LIBS"
28616 cat >conftest.$ac_ext <<_ACEOF
28617 /* confdefs.h. */
28618 _ACEOF
28619 cat confdefs.h >>conftest.$ac_ext
28620 cat >>conftest.$ac_ext <<_ACEOF
28621 /* end confdefs.h. */
28622
28623 /* Override any GCC internal prototype to avoid an error.
28624 Use char because int might match the return type of a GCC
28625 builtin and then its argument prototype would still apply. */
28626 #ifdef __cplusplus
28627 extern "C"
28628 #endif
28629 char deflate ();
28630 int
28631 main ()
28632 {
28633 return deflate ();
28634 ;
28635 return 0;
28636 }
28637 _ACEOF
28638 rm -f conftest.$ac_objext conftest$ac_exeext
28639 if { (ac_try="$ac_link"
28640 case "(($ac_try" in
28641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28642 *) ac_try_echo=$ac_try;;
28643 esac
28644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28645 (eval "$ac_link") 2>conftest.er1
28646 ac_status=$?
28647 grep -v '^ *+' conftest.er1 >conftest.err
28648 rm -f conftest.er1
28649 cat conftest.err >&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } && {
28652 test -z "$ac_c_werror_flag" ||
28653 test ! -s conftest.err
28654 } && test -s conftest$ac_exeext &&
28655 $as_test_x conftest$ac_exeext; then
28656 ac_cv_lib_z_deflate=yes
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 ac_cv_lib_z_deflate=no
28662 fi
28663
28664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28665 conftest$ac_exeext conftest.$ac_ext
28666 LIBS=$ac_check_lib_save_LIBS
28667 fi
28668 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28669 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28670 if test $ac_cv_lib_z_deflate = yes; then
28671 ZLIB_LINK=" -lz"
28672 fi
28673
28674 fi
28675
28676 if test "x$ZLIB_LINK" = "x" ; then
28677 if test "$wxUSE_ZLIB" = "sys" ; then
28678 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28679 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28680 { (exit 1); exit 1; }; }
28681 else
28682 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28683 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28684 wxUSE_ZLIB=builtin
28685 fi
28686 else
28687 wxUSE_ZLIB=sys
28688 fi
28689 fi
28690 fi
28691
28692
28693 PNG_LINK=
28694 if test "$wxUSE_LIBPNG" != "no" ; then
28695 cat >>confdefs.h <<\_ACEOF
28696 #define wxUSE_LIBPNG 1
28697 _ACEOF
28698
28699
28700 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28701 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28702 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28703 wxUSE_LIBPNG=sys
28704 fi
28705
28706 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28707 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28708 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28709 wxUSE_LIBPNG=builtin
28710 fi
28711
28712 if test "$wxUSE_MGL" != 1 ; then
28713 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28714 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28715 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28716 if test "${ac_cv_header_png_h+set}" = set; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 else
28719 if test "$cross_compiling" = yes; then
28720 unset ac_cv_header_png_h
28721
28722 else
28723 cat >conftest.$ac_ext <<_ACEOF
28724 /* confdefs.h. */
28725 _ACEOF
28726 cat confdefs.h >>conftest.$ac_ext
28727 cat >>conftest.$ac_ext <<_ACEOF
28728 /* end confdefs.h. */
28729
28730 #include <png.h>
28731 #include <stdio.h>
28732
28733 int main()
28734 {
28735 FILE *f=fopen("conftestval", "w");
28736 if (!f) exit(1);
28737 fprintf(f, "%s",
28738 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28739 exit(0);
28740 }
28741
28742 _ACEOF
28743 rm -f conftest$ac_exeext
28744 if { (ac_try="$ac_link"
28745 case "(($ac_try" in
28746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28747 *) ac_try_echo=$ac_try;;
28748 esac
28749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28750 (eval "$ac_link") 2>&5
28751 ac_status=$?
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28754 { (case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28757 esac
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_try") 2>&5
28760 ac_status=$?
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); }; }; then
28763 ac_cv_header_png_h=`cat conftestval`
28764 else
28765 echo "$as_me: program exited with status $ac_status" >&5
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 ( exit $ac_status )
28770 ac_cv_header_png_h=no
28771 fi
28772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28773 fi
28774
28775
28776
28777 fi
28778 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28779 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28780 { echo "$as_me:$LINENO: checking for png.h" >&5
28781 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28782 if test "${ac_cv_header_png_h+set}" = set; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 else
28785 cat >conftest.$ac_ext <<_ACEOF
28786 /* confdefs.h. */
28787 _ACEOF
28788 cat confdefs.h >>conftest.$ac_ext
28789 cat >>conftest.$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28791
28792
28793 #include <png.h>
28794 _ACEOF
28795 rm -f conftest.$ac_objext
28796 if { (ac_try="$ac_compile"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28799 *) ac_try_echo=$ac_try;;
28800 esac
28801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_compile") 2>conftest.er1
28803 ac_status=$?
28804 grep -v '^ *+' conftest.er1 >conftest.err
28805 rm -f conftest.er1
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_c_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest.$ac_objext; then
28812 ac_cv_header_png_h=yes
28813 else
28814 echo "$as_me: failed program was:" >&5
28815 sed 's/^/| /' conftest.$ac_ext >&5
28816
28817 ac_cv_header_png_h=no
28818 fi
28819
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821 fi
28822 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28823 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28824
28825
28826
28827 if test "$ac_cv_header_png_h" = "yes"; then
28828 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 else
28833 ac_check_lib_save_LIBS=$LIBS
28834 LIBS="-lpng -lz -lm $LIBS"
28835 cat >conftest.$ac_ext <<_ACEOF
28836 /* confdefs.h. */
28837 _ACEOF
28838 cat confdefs.h >>conftest.$ac_ext
28839 cat >>conftest.$ac_ext <<_ACEOF
28840 /* end confdefs.h. */
28841
28842 /* Override any GCC internal prototype to avoid an error.
28843 Use char because int might match the return type of a GCC
28844 builtin and then its argument prototype would still apply. */
28845 #ifdef __cplusplus
28846 extern "C"
28847 #endif
28848 char png_check_sig ();
28849 int
28850 main ()
28851 {
28852 return png_check_sig ();
28853 ;
28854 return 0;
28855 }
28856 _ACEOF
28857 rm -f conftest.$ac_objext conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28862 esac
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>conftest.er1
28865 ac_status=$?
28866 grep -v '^ *+' conftest.er1 >conftest.err
28867 rm -f conftest.er1
28868 cat conftest.err >&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } && {
28871 test -z "$ac_c_werror_flag" ||
28872 test ! -s conftest.err
28873 } && test -s conftest$ac_exeext &&
28874 $as_test_x conftest$ac_exeext; then
28875 ac_cv_lib_png_png_check_sig=yes
28876 else
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28879
28880 ac_cv_lib_png_png_check_sig=no
28881 fi
28882
28883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28884 conftest$ac_exeext conftest.$ac_ext
28885 LIBS=$ac_check_lib_save_LIBS
28886 fi
28887 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28888 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28889 if test $ac_cv_lib_png_png_check_sig = yes; then
28890 PNG_LINK=" -lpng -lz"
28891 fi
28892
28893 fi
28894
28895 if test "x$PNG_LINK" = "x" ; then
28896 if test "$wxUSE_LIBPNG" = "sys" ; then
28897 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28898 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28899 { (exit 1); exit 1; }; }
28900 else
28901 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28902 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28903 wxUSE_LIBPNG=builtin
28904 fi
28905 else
28906 wxUSE_LIBPNG=sys
28907 fi
28908 fi
28909 fi
28910
28911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28912 fi
28913
28914
28915 JPEG_LINK=
28916 if test "$wxUSE_LIBJPEG" != "no" ; then
28917 cat >>confdefs.h <<\_ACEOF
28918 #define wxUSE_LIBJPEG 1
28919 _ACEOF
28920
28921
28922 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28923 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28924 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28925 wxUSE_LIBJPEG=sys
28926 fi
28927
28928 if test "$wxUSE_MGL" != 1 ; then
28929 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28930 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28931 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28932 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 else
28935 cat >conftest.$ac_ext <<_ACEOF
28936 /* confdefs.h. */
28937 _ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941
28942 #undef HAVE_STDLIB_H
28943 #include <stdio.h>
28944 #include <jpeglib.h>
28945
28946 int
28947 main ()
28948 {
28949
28950
28951 ;
28952 return 0;
28953 }
28954 _ACEOF
28955 rm -f conftest.$ac_objext
28956 if { (ac_try="$ac_compile"
28957 case "(($ac_try" in
28958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28959 *) ac_try_echo=$ac_try;;
28960 esac
28961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28962 (eval "$ac_compile") 2>conftest.er1
28963 ac_status=$?
28964 grep -v '^ *+' conftest.er1 >conftest.err
28965 rm -f conftest.er1
28966 cat conftest.err >&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } && {
28969 test -z "$ac_c_werror_flag" ||
28970 test ! -s conftest.err
28971 } && test -s conftest.$ac_objext; then
28972 ac_cv_header_jpeglib_h=yes
28973 else
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28976
28977 ac_cv_header_jpeglib_h=no
28978
28979 fi
28980
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28982
28983 fi
28984
28985 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28986 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28987
28988 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28989 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28990 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28991 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 else
28994 ac_check_lib_save_LIBS=$LIBS
28995 LIBS="-ljpeg $LIBS"
28996 cat >conftest.$ac_ext <<_ACEOF
28997 /* confdefs.h. */
28998 _ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29002
29003 /* Override any GCC internal prototype to avoid an error.
29004 Use char because int might match the return type of a GCC
29005 builtin and then its argument prototype would still apply. */
29006 #ifdef __cplusplus
29007 extern "C"
29008 #endif
29009 char jpeg_read_header ();
29010 int
29011 main ()
29012 {
29013 return jpeg_read_header ();
29014 ;
29015 return 0;
29016 }
29017 _ACEOF
29018 rm -f conftest.$ac_objext conftest$ac_exeext
29019 if { (ac_try="$ac_link"
29020 case "(($ac_try" in
29021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29022 *) ac_try_echo=$ac_try;;
29023 esac
29024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29025 (eval "$ac_link") 2>conftest.er1
29026 ac_status=$?
29027 grep -v '^ *+' conftest.er1 >conftest.err
29028 rm -f conftest.er1
29029 cat conftest.err >&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } && {
29032 test -z "$ac_c_werror_flag" ||
29033 test ! -s conftest.err
29034 } && test -s conftest$ac_exeext &&
29035 $as_test_x conftest$ac_exeext; then
29036 ac_cv_lib_jpeg_jpeg_read_header=yes
29037 else
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.$ac_ext >&5
29040
29041 ac_cv_lib_jpeg_jpeg_read_header=no
29042 fi
29043
29044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29045 conftest$ac_exeext conftest.$ac_ext
29046 LIBS=$ac_check_lib_save_LIBS
29047 fi
29048 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29049 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29050 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29051 JPEG_LINK=" -ljpeg"
29052 fi
29053
29054 fi
29055
29056 if test "x$JPEG_LINK" = "x" ; then
29057 if test "$wxUSE_LIBJPEG" = "sys" ; then
29058 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29059 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29060 { (exit 1); exit 1; }; }
29061 else
29062 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29063 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29064 wxUSE_LIBJPEG=builtin
29065 fi
29066 else
29067 wxUSE_LIBJPEG=sys
29068
29069 if test "$wxUSE_MSW" = 1; then
29070 { echo "$as_me:$LINENO: checking for boolean" >&5
29071 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29072 if test "${ac_cv_type_boolean+set}" = set; then
29073 echo $ECHO_N "(cached) $ECHO_C" >&6
29074 else
29075 cat >conftest.$ac_ext <<_ACEOF
29076 /* confdefs.h. */
29077 _ACEOF
29078 cat confdefs.h >>conftest.$ac_ext
29079 cat >>conftest.$ac_ext <<_ACEOF
29080 /* end confdefs.h. */
29081 #include <windows.h>
29082
29083 typedef boolean ac__type_new_;
29084 int
29085 main ()
29086 {
29087 if ((ac__type_new_ *) 0)
29088 return 0;
29089 if (sizeof (ac__type_new_))
29090 return 0;
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext
29096 if { (ac_try="$ac_compile"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29100 esac
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_compile") 2>conftest.er1
29103 ac_status=$?
29104 grep -v '^ *+' conftest.er1 >conftest.err
29105 rm -f conftest.er1
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest.$ac_objext; then
29112 ac_cv_type_boolean=yes
29113 else
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.$ac_ext >&5
29116
29117 ac_cv_type_boolean=no
29118 fi
29119
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29121 fi
29122 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29123 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29124 if test $ac_cv_type_boolean = yes; then
29125
29126 cat >>confdefs.h <<_ACEOF
29127 #define HAVE_BOOLEAN 1
29128 _ACEOF
29129
29130
29131 { echo "$as_me:$LINENO: checking for boolean" >&5
29132 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29133 if test "${ac_cv_type_boolean+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29136 cat >conftest.$ac_ext <<_ACEOF
29137 /* confdefs.h. */
29138 _ACEOF
29139 cat confdefs.h >>conftest.$ac_ext
29140 cat >>conftest.$ac_ext <<_ACEOF
29141 /* end confdefs.h. */
29142
29143 #undef HAVE_BOOLEAN
29144 #include <stdio.h>
29145 #include <jpeglib.h>
29146
29147
29148 typedef boolean ac__type_new_;
29149 int
29150 main ()
29151 {
29152 if ((ac__type_new_ *) 0)
29153 return 0;
29154 if (sizeof (ac__type_new_))
29155 return 0;
29156 ;
29157 return 0;
29158 }
29159 _ACEOF
29160 rm -f conftest.$ac_objext
29161 if { (ac_try="$ac_compile"
29162 case "(($ac_try" in
29163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29164 *) ac_try_echo=$ac_try;;
29165 esac
29166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29167 (eval "$ac_compile") 2>conftest.er1
29168 ac_status=$?
29169 grep -v '^ *+' conftest.er1 >conftest.err
29170 rm -f conftest.er1
29171 cat conftest.err >&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); } && {
29174 test -z "$ac_c_werror_flag" ||
29175 test ! -s conftest.err
29176 } && test -s conftest.$ac_objext; then
29177 ac_cv_type_boolean=yes
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 ac_cv_type_boolean=no
29183 fi
29184
29185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29186 fi
29187 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29188 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29189
29190 # The cast to long int works around a bug in the HP C Compiler
29191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29193 # This bug is HP SR number 8606223364.
29194 { echo "$as_me:$LINENO: checking size of boolean" >&5
29195 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29196 if test "${ac_cv_sizeof_boolean+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29199 if test "$cross_compiling" = yes; then
29200 # Depending upon the size, compute the lo and hi bounds.
29201 cat >conftest.$ac_ext <<_ACEOF
29202 /* confdefs.h. */
29203 _ACEOF
29204 cat confdefs.h >>conftest.$ac_ext
29205 cat >>conftest.$ac_ext <<_ACEOF
29206 /* end confdefs.h. */
29207
29208 #undef HAVE_BOOLEAN
29209 #include <stdio.h>
29210 #include <jpeglib.h>
29211
29212
29213 typedef boolean ac__type_sizeof_;
29214 int
29215 main ()
29216 {
29217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29218 test_array [0] = 0
29219
29220 ;
29221 return 0;
29222 }
29223 _ACEOF
29224 rm -f conftest.$ac_objext
29225 if { (ac_try="$ac_compile"
29226 case "(($ac_try" in
29227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29229 esac
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_compile") 2>conftest.er1
29232 ac_status=$?
29233 grep -v '^ *+' conftest.er1 >conftest.err
29234 rm -f conftest.er1
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } && {
29238 test -z "$ac_c_werror_flag" ||
29239 test ! -s conftest.err
29240 } && test -s conftest.$ac_objext; then
29241 ac_lo=0 ac_mid=0
29242 while :; do
29243 cat >conftest.$ac_ext <<_ACEOF
29244 /* confdefs.h. */
29245 _ACEOF
29246 cat confdefs.h >>conftest.$ac_ext
29247 cat >>conftest.$ac_ext <<_ACEOF
29248 /* end confdefs.h. */
29249
29250 #undef HAVE_BOOLEAN
29251 #include <stdio.h>
29252 #include <jpeglib.h>
29253
29254
29255 typedef boolean ac__type_sizeof_;
29256 int
29257 main ()
29258 {
29259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29260 test_array [0] = 0
29261
29262 ;
29263 return 0;
29264 }
29265 _ACEOF
29266 rm -f conftest.$ac_objext
29267 if { (ac_try="$ac_compile"
29268 case "(($ac_try" in
29269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29270 *) ac_try_echo=$ac_try;;
29271 esac
29272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29273 (eval "$ac_compile") 2>conftest.er1
29274 ac_status=$?
29275 grep -v '^ *+' conftest.er1 >conftest.err
29276 rm -f conftest.er1
29277 cat conftest.err >&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } && {
29280 test -z "$ac_c_werror_flag" ||
29281 test ! -s conftest.err
29282 } && test -s conftest.$ac_objext; then
29283 ac_hi=$ac_mid; break
29284 else
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.$ac_ext >&5
29287
29288 ac_lo=`expr $ac_mid + 1`
29289 if test $ac_lo -le $ac_mid; then
29290 ac_lo= ac_hi=
29291 break
29292 fi
29293 ac_mid=`expr 2 '*' $ac_mid + 1`
29294 fi
29295
29296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29297 done
29298 else
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.$ac_ext >&5
29301
29302 cat >conftest.$ac_ext <<_ACEOF
29303 /* confdefs.h. */
29304 _ACEOF
29305 cat confdefs.h >>conftest.$ac_ext
29306 cat >>conftest.$ac_ext <<_ACEOF
29307 /* end confdefs.h. */
29308
29309 #undef HAVE_BOOLEAN
29310 #include <stdio.h>
29311 #include <jpeglib.h>
29312
29313
29314 typedef boolean ac__type_sizeof_;
29315 int
29316 main ()
29317 {
29318 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29319 test_array [0] = 0
29320
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 rm -f conftest.$ac_objext
29326 if { (ac_try="$ac_compile"
29327 case "(($ac_try" in
29328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29329 *) ac_try_echo=$ac_try;;
29330 esac
29331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29332 (eval "$ac_compile") 2>conftest.er1
29333 ac_status=$?
29334 grep -v '^ *+' conftest.er1 >conftest.err
29335 rm -f conftest.er1
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } && {
29339 test -z "$ac_c_werror_flag" ||
29340 test ! -s conftest.err
29341 } && test -s conftest.$ac_objext; then
29342 ac_hi=-1 ac_mid=-1
29343 while :; do
29344 cat >conftest.$ac_ext <<_ACEOF
29345 /* confdefs.h. */
29346 _ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350
29351 #undef HAVE_BOOLEAN
29352 #include <stdio.h>
29353 #include <jpeglib.h>
29354
29355
29356 typedef boolean ac__type_sizeof_;
29357 int
29358 main ()
29359 {
29360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29361 test_array [0] = 0
29362
29363 ;
29364 return 0;
29365 }
29366 _ACEOF
29367 rm -f conftest.$ac_objext
29368 if { (ac_try="$ac_compile"
29369 case "(($ac_try" in
29370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29371 *) ac_try_echo=$ac_try;;
29372 esac
29373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29374 (eval "$ac_compile") 2>conftest.er1
29375 ac_status=$?
29376 grep -v '^ *+' conftest.er1 >conftest.err
29377 rm -f conftest.er1
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } && {
29381 test -z "$ac_c_werror_flag" ||
29382 test ! -s conftest.err
29383 } && test -s conftest.$ac_objext; then
29384 ac_lo=$ac_mid; break
29385 else
29386 echo "$as_me: failed program was:" >&5
29387 sed 's/^/| /' conftest.$ac_ext >&5
29388
29389 ac_hi=`expr '(' $ac_mid ')' - 1`
29390 if test $ac_mid -le $ac_hi; then
29391 ac_lo= ac_hi=
29392 break
29393 fi
29394 ac_mid=`expr 2 '*' $ac_mid`
29395 fi
29396
29397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29398 done
29399 else
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29402
29403 ac_lo= ac_hi=
29404 fi
29405
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 fi
29408
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410 # Binary search between lo and hi bounds.
29411 while test "x$ac_lo" != "x$ac_hi"; do
29412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29413 cat >conftest.$ac_ext <<_ACEOF
29414 /* confdefs.h. */
29415 _ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29419
29420 #undef HAVE_BOOLEAN
29421 #include <stdio.h>
29422 #include <jpeglib.h>
29423
29424
29425 typedef boolean ac__type_sizeof_;
29426 int
29427 main ()
29428 {
29429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29430 test_array [0] = 0
29431
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 rm -f conftest.$ac_objext
29437 if { (ac_try="$ac_compile"
29438 case "(($ac_try" in
29439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29440 *) ac_try_echo=$ac_try;;
29441 esac
29442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29443 (eval "$ac_compile") 2>conftest.er1
29444 ac_status=$?
29445 grep -v '^ *+' conftest.er1 >conftest.err
29446 rm -f conftest.er1
29447 cat conftest.err >&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); } && {
29450 test -z "$ac_c_werror_flag" ||
29451 test ! -s conftest.err
29452 } && test -s conftest.$ac_objext; then
29453 ac_hi=$ac_mid
29454 else
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29457
29458 ac_lo=`expr '(' $ac_mid ')' + 1`
29459 fi
29460
29461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29462 done
29463 case $ac_lo in
29464 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29465 '') if test "$ac_cv_type_boolean" = yes; then
29466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29467 See \`config.log' for more details." >&5
29468 echo "$as_me: error: cannot compute sizeof (boolean)
29469 See \`config.log' for more details." >&2;}
29470 { (exit 77); exit 77; }; }
29471 else
29472 ac_cv_sizeof_boolean=0
29473 fi ;;
29474 esac
29475 else
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482
29483 #undef HAVE_BOOLEAN
29484 #include <stdio.h>
29485 #include <jpeglib.h>
29486
29487
29488 typedef boolean ac__type_sizeof_;
29489 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29490 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29491 #include <stdio.h>
29492 #include <stdlib.h>
29493 int
29494 main ()
29495 {
29496
29497 FILE *f = fopen ("conftest.val", "w");
29498 if (! f)
29499 return 1;
29500 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29501 {
29502 long int i = longval ();
29503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29504 return 1;
29505 fprintf (f, "%ld\n", i);
29506 }
29507 else
29508 {
29509 unsigned long int i = ulongval ();
29510 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29511 return 1;
29512 fprintf (f, "%lu\n", i);
29513 }
29514 return ferror (f) || fclose (f) != 0;
29515
29516 ;
29517 return 0;
29518 }
29519 _ACEOF
29520 rm -f conftest$ac_exeext
29521 if { (ac_try="$ac_link"
29522 case "(($ac_try" in
29523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29524 *) ac_try_echo=$ac_try;;
29525 esac
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_link") 2>&5
29528 ac_status=$?
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29531 { (case "(($ac_try" in
29532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29533 *) ac_try_echo=$ac_try;;
29534 esac
29535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29536 (eval "$ac_try") 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; }; then
29540 ac_cv_sizeof_boolean=`cat conftest.val`
29541 else
29542 echo "$as_me: program exited with status $ac_status" >&5
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.$ac_ext >&5
29545
29546 ( exit $ac_status )
29547 if test "$ac_cv_type_boolean" = yes; then
29548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29549 See \`config.log' for more details." >&5
29550 echo "$as_me: error: cannot compute sizeof (boolean)
29551 See \`config.log' for more details." >&2;}
29552 { (exit 77); exit 77; }; }
29553 else
29554 ac_cv_sizeof_boolean=0
29555 fi
29556 fi
29557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29558 fi
29559 rm -f conftest.val
29560 fi
29561 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29562 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29563
29564
29565
29566 cat >>confdefs.h <<_ACEOF
29567 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29568 _ACEOF
29569
29570
29571 cat >>confdefs.h <<_ACEOF
29572 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29573 _ACEOF
29574
29575
29576 fi
29577
29578 fi
29579 fi
29580 fi
29581 fi
29582 fi
29583
29584
29585 TIFF_LINK=
29586 TIFF_PREREQ_LINKS=-lm
29587 if test "$wxUSE_LIBTIFF" != "no" ; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define wxUSE_LIBTIFF 1
29590 _ACEOF
29591
29592
29593 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29594 if test "$wxUSE_LIBJPEG" = "sys"; then
29595 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29596 fi
29597 if test "$wxUSE_ZLIB" = "sys"; then
29598 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29599 fi
29600 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29601 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29602 if test "${ac_cv_header_tiffio_h+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 else
29605 cat >conftest.$ac_ext <<_ACEOF
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611
29612
29613
29614 #include <tiffio.h>
29615 _ACEOF
29616 rm -f conftest.$ac_objext
29617 if { (ac_try="$ac_compile"
29618 case "(($ac_try" in
29619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29620 *) ac_try_echo=$ac_try;;
29621 esac
29622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_compile") 2>conftest.er1
29624 ac_status=$?
29625 grep -v '^ *+' conftest.er1 >conftest.err
29626 rm -f conftest.er1
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } && {
29630 test -z "$ac_c_werror_flag" ||
29631 test ! -s conftest.err
29632 } && test -s conftest.$ac_objext; then
29633 ac_cv_header_tiffio_h=yes
29634 else
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.$ac_ext >&5
29637
29638 ac_cv_header_tiffio_h=no
29639 fi
29640
29641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29642 fi
29643 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29644 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29645 if test $ac_cv_header_tiffio_h = yes; then
29646
29647 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29648 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29649 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 else
29652 ac_check_lib_save_LIBS=$LIBS
29653 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29654 cat >conftest.$ac_ext <<_ACEOF
29655 /* confdefs.h. */
29656 _ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660
29661 /* Override any GCC internal prototype to avoid an error.
29662 Use char because int might match the return type of a GCC
29663 builtin and then its argument prototype would still apply. */
29664 #ifdef __cplusplus
29665 extern "C"
29666 #endif
29667 char TIFFError ();
29668 int
29669 main ()
29670 {
29671 return TIFFError ();
29672 ;
29673 return 0;
29674 }
29675 _ACEOF
29676 rm -f conftest.$ac_objext conftest$ac_exeext
29677 if { (ac_try="$ac_link"
29678 case "(($ac_try" in
29679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29680 *) ac_try_echo=$ac_try;;
29681 esac
29682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29683 (eval "$ac_link") 2>conftest.er1
29684 ac_status=$?
29685 grep -v '^ *+' conftest.er1 >conftest.err
29686 rm -f conftest.er1
29687 cat conftest.err >&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } && {
29690 test -z "$ac_c_werror_flag" ||
29691 test ! -s conftest.err
29692 } && test -s conftest$ac_exeext &&
29693 $as_test_x conftest$ac_exeext; then
29694 ac_cv_lib_tiff_TIFFError=yes
29695 else
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29698
29699 ac_cv_lib_tiff_TIFFError=no
29700 fi
29701
29702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29703 conftest$ac_exeext conftest.$ac_ext
29704 LIBS=$ac_check_lib_save_LIBS
29705 fi
29706 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29707 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29708 if test $ac_cv_lib_tiff_TIFFError = yes; then
29709 TIFF_LINK=" -ltiff"
29710 fi
29711
29712
29713 fi
29714
29715
29716
29717 if test "x$TIFF_LINK" = "x" ; then
29718 if test "$wxUSE_LIBTIFF" = "sys" ; then
29719 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29720 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29721 { (exit 1); exit 1; }; }
29722 else
29723 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29724 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29725 wxUSE_LIBTIFF=builtin
29726 fi
29727 else
29728 wxUSE_LIBTIFF=sys
29729 fi
29730 fi
29731 fi
29732
29733
29734 if test "$wxUSE_WCHAR_T" != "yes"; then
29735 if test "$wxUSE_EXPAT" != "no"; then
29736 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29737 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29738 wxUSE_EXPAT=no
29739 fi
29740 if test "$wxUSE_XML" != "no"; then
29741 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29742 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29743 wxUSE_XML=no
29744 fi
29745 fi
29746
29747 if test "$wxUSE_EXPAT" != "no"; then
29748 wxUSE_XML=yes
29749 cat >>confdefs.h <<\_ACEOF
29750 #define wxUSE_EXPAT 1
29751 _ACEOF
29752
29753 cat >>confdefs.h <<\_ACEOF
29754 #define wxUSE_XML 1
29755 _ACEOF
29756
29757
29758 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29759 { echo "$as_me:$LINENO: checking for expat.h" >&5
29760 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29761 if test "${ac_cv_header_expat_h+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29763 else
29764 cat >conftest.$ac_ext <<_ACEOF
29765 /* confdefs.h. */
29766 _ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29770
29771
29772 #include <expat.h>
29773 _ACEOF
29774 rm -f conftest.$ac_objext
29775 if { (ac_try="$ac_compile"
29776 case "(($ac_try" in
29777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29778 *) ac_try_echo=$ac_try;;
29779 esac
29780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29781 (eval "$ac_compile") 2>conftest.er1
29782 ac_status=$?
29783 grep -v '^ *+' conftest.er1 >conftest.err
29784 rm -f conftest.er1
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } && {
29788 test -z "$ac_c_werror_flag" ||
29789 test ! -s conftest.err
29790 } && test -s conftest.$ac_objext; then
29791 ac_cv_header_expat_h=yes
29792 else
29793 echo "$as_me: failed program was:" >&5
29794 sed 's/^/| /' conftest.$ac_ext >&5
29795
29796 ac_cv_header_expat_h=no
29797 fi
29798
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29800 fi
29801 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29802 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29803 if test $ac_cv_header_expat_h = yes; then
29804 found_expat_h=1
29805 fi
29806
29807
29808 if test "x$found_expat_h" = "x1"; then
29809 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29810 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29811 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29812 echo $ECHO_N "(cached) $ECHO_C" >&6
29813 else
29814
29815 ac_ext=cpp
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h. */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827 #include <expat.h>
29828 int
29829 main ()
29830 {
29831
29832 ;
29833 return 0;
29834 }
29835 _ACEOF
29836 rm -f conftest.$ac_objext
29837 if { (ac_try="$ac_compile"
29838 case "(($ac_try" in
29839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29840 *) ac_try_echo=$ac_try;;
29841 esac
29842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843 (eval "$ac_compile") 2>conftest.er1
29844 ac_status=$?
29845 grep -v '^ *+' conftest.er1 >conftest.err
29846 rm -f conftest.er1
29847 cat conftest.err >&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } && {
29850 test -z "$ac_cxx_werror_flag" ||
29851 test ! -s conftest.err
29852 } && test -s conftest.$ac_objext; then
29853 wx_cv_expat_is_not_broken=yes
29854 else
29855 echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.$ac_ext >&5
29857
29858 wx_cv_expat_is_not_broken=no
29859
29860 fi
29861
29862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29863 ac_ext=c
29864 ac_cpp='$CPP $CPPFLAGS'
29865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29868
29869
29870
29871 fi
29872 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29873 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29874 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29875 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29876 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29877 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29878 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 else
29880 ac_check_lib_save_LIBS=$LIBS
29881 LIBS="-lexpat $LIBS"
29882 cat >conftest.$ac_ext <<_ACEOF
29883 /* confdefs.h. */
29884 _ACEOF
29885 cat confdefs.h >>conftest.$ac_ext
29886 cat >>conftest.$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29888
29889 /* Override any GCC internal prototype to avoid an error.
29890 Use char because int might match the return type of a GCC
29891 builtin and then its argument prototype would still apply. */
29892 #ifdef __cplusplus
29893 extern "C"
29894 #endif
29895 char XML_ParserCreate ();
29896 int
29897 main ()
29898 {
29899 return XML_ParserCreate ();
29900 ;
29901 return 0;
29902 }
29903 _ACEOF
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (ac_try="$ac_link"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29909 esac
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_link") 2>conftest.er1
29912 ac_status=$?
29913 grep -v '^ *+' conftest.er1 >conftest.err
29914 rm -f conftest.er1
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest$ac_exeext &&
29921 $as_test_x conftest$ac_exeext; then
29922 ac_cv_lib_expat_XML_ParserCreate=yes
29923 else
29924 echo "$as_me: failed program was:" >&5
29925 sed 's/^/| /' conftest.$ac_ext >&5
29926
29927 ac_cv_lib_expat_XML_ParserCreate=no
29928 fi
29929
29930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29931 conftest$ac_exeext conftest.$ac_ext
29932 LIBS=$ac_check_lib_save_LIBS
29933 fi
29934 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29935 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29936 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29937 EXPAT_LINK=" -lexpat"
29938 fi
29939
29940 fi
29941 fi
29942 if test "x$EXPAT_LINK" = "x" ; then
29943 if test "$wxUSE_EXPAT" = "sys" ; then
29944 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29945 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29946 { (exit 1); exit 1; }; }
29947 else
29948 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29949 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29950 wxUSE_EXPAT=builtin
29951 fi
29952 else
29953 wxUSE_EXPAT=sys
29954 fi
29955 fi
29956 if test "$wxUSE_EXPAT" = "builtin" ; then
29957 subdirs="$subdirs src/expat"
29958
29959 fi
29960 fi
29961
29962
29963
29964 if test "$wxUSE_LIBMSPACK" != "no"; then
29965 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29966 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29967 if test "${ac_cv_header_mspack_h+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970 cat >conftest.$ac_ext <<_ACEOF
29971 /* confdefs.h. */
29972 _ACEOF
29973 cat confdefs.h >>conftest.$ac_ext
29974 cat >>conftest.$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29976
29977
29978 #include <mspack.h>
29979 _ACEOF
29980 rm -f conftest.$ac_objext
29981 if { (ac_try="$ac_compile"
29982 case "(($ac_try" in
29983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29984 *) ac_try_echo=$ac_try;;
29985 esac
29986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29987 (eval "$ac_compile") 2>conftest.er1
29988 ac_status=$?
29989 grep -v '^ *+' conftest.er1 >conftest.err
29990 rm -f conftest.er1
29991 cat conftest.err >&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } && {
29994 test -z "$ac_c_werror_flag" ||
29995 test ! -s conftest.err
29996 } && test -s conftest.$ac_objext; then
29997 ac_cv_header_mspack_h=yes
29998 else
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.$ac_ext >&5
30001
30002 ac_cv_header_mspack_h=no
30003 fi
30004
30005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30006 fi
30007 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30008 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30009 if test $ac_cv_header_mspack_h = yes; then
30010 found_mspack_h=1
30011 fi
30012
30013
30014 if test "x$found_mspack_h" = "x1"; then
30015 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30016 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30017 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30019 else
30020 ac_check_lib_save_LIBS=$LIBS
30021 LIBS="-lmspack $LIBS"
30022 cat >conftest.$ac_ext <<_ACEOF
30023 /* confdefs.h. */
30024 _ACEOF
30025 cat confdefs.h >>conftest.$ac_ext
30026 cat >>conftest.$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028
30029 /* Override any GCC internal prototype to avoid an error.
30030 Use char because int might match the return type of a GCC
30031 builtin and then its argument prototype would still apply. */
30032 #ifdef __cplusplus
30033 extern "C"
30034 #endif
30035 char mspack_create_chm_decompressor ();
30036 int
30037 main ()
30038 {
30039 return mspack_create_chm_decompressor ();
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (ac_try="$ac_link"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30049 esac
30050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_link") 2>conftest.er1
30052 ac_status=$?
30053 grep -v '^ *+' conftest.er1 >conftest.err
30054 rm -f conftest.er1
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest$ac_exeext &&
30061 $as_test_x conftest$ac_exeext; then
30062 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30063 else
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30066
30067 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30068 fi
30069
30070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30071 conftest$ac_exeext conftest.$ac_ext
30072 LIBS=$ac_check_lib_save_LIBS
30073 fi
30074 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30075 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30076 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30077 MSPACK_LINK=" -lmspack"
30078 fi
30079
30080 fi
30081 if test "x$MSPACK_LINK" = "x" ; then
30082 wxUSE_LIBMSPACK=no
30083 fi
30084 fi
30085
30086 if test "$wxUSE_LIBMSPACK" != "no"; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_LIBMSPACK 1
30089 _ACEOF
30090
30091 fi
30092
30093
30094
30095 AFMINSTALL=
30096 WIN32INSTALL=
30097
30098 TOOLKIT=
30099 TOOLKIT_INCLUDE=
30100 WIDGET_SET=
30101
30102 if test "$USE_WIN32" = 1 ; then
30103
30104 for ac_header in w32api.h
30105 do
30106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30110 echo $ECHO_N "(cached) $ECHO_C" >&6
30111 else
30112 cat >conftest.$ac_ext <<_ACEOF
30113 /* confdefs.h. */
30114 _ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30118
30119
30120 #include <$ac_header>
30121 _ACEOF
30122 rm -f conftest.$ac_objext
30123 if { (ac_try="$ac_compile"
30124 case "(($ac_try" in
30125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30126 *) ac_try_echo=$ac_try;;
30127 esac
30128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30129 (eval "$ac_compile") 2>conftest.er1
30130 ac_status=$?
30131 grep -v '^ *+' conftest.er1 >conftest.err
30132 rm -f conftest.er1
30133 cat conftest.err >&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); } && {
30136 test -z "$ac_c_werror_flag" ||
30137 test ! -s conftest.err
30138 } && test -s conftest.$ac_objext; then
30139 eval "$as_ac_Header=yes"
30140 else
30141 echo "$as_me: failed program was:" >&5
30142 sed 's/^/| /' conftest.$ac_ext >&5
30143
30144 eval "$as_ac_Header=no"
30145 fi
30146
30147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30148 fi
30149 ac_res=`eval echo '${'$as_ac_Header'}'`
30150 { echo "$as_me:$LINENO: result: $ac_res" >&5
30151 echo "${ECHO_T}$ac_res" >&6; }
30152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30153 cat >>confdefs.h <<_ACEOF
30154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30155 _ACEOF
30156
30157 fi
30158
30159 done
30160
30161 { echo "$as_me:$LINENO: checking for windows.h" >&5
30162 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30163 if test "${ac_cv_header_windows_h+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166 cat >conftest.$ac_ext <<_ACEOF
30167 /* confdefs.h. */
30168 _ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30172
30173
30174 #include <windows.h>
30175 _ACEOF
30176 rm -f conftest.$ac_objext
30177 if { (ac_try="$ac_compile"
30178 case "(($ac_try" in
30179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180 *) ac_try_echo=$ac_try;;
30181 esac
30182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30183 (eval "$ac_compile") 2>conftest.er1
30184 ac_status=$?
30185 grep -v '^ *+' conftest.er1 >conftest.err
30186 rm -f conftest.er1
30187 cat conftest.err >&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); } && {
30190 test -z "$ac_c_werror_flag" ||
30191 test ! -s conftest.err
30192 } && test -s conftest.$ac_objext; then
30193 ac_cv_header_windows_h=yes
30194 else
30195 echo "$as_me: failed program was:" >&5
30196 sed 's/^/| /' conftest.$ac_ext >&5
30197
30198 ac_cv_header_windows_h=no
30199 fi
30200
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30202 fi
30203 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30204 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30205 if test $ac_cv_header_windows_h = yes; then
30206 :
30207 else
30208
30209 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30210 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30211 { (exit 1); exit 1; }; }
30212
30213 fi
30214
30215
30216
30217 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30218
30219 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30220 LIBS="$LIBS -loleacc"
30221 fi
30222
30223 case "${host}" in
30224 *-*-cygwin* )
30225 LIBS="$LIBS -lkernel32 -luser32"
30226 esac
30227
30228 if test "$wxUSE_ODBC" = "sys" ; then
30229 wxUSE_ODBC = "yes"
30230 fi
30231 if test "$wxUSE_ODBC" = "yes" ; then
30232 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30233 cat >>confdefs.h <<\_ACEOF
30234 #define wxUSE_ODBC 1
30235 _ACEOF
30236
30237 fi
30238
30239 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30240 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30241
30242 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30243
30244 WIN32INSTALL=win32install
30245
30246 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30247 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30248 if test "${ac_cv_header_pbt_h+set}" = set; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 else
30251 cat >conftest.$ac_ext <<_ACEOF
30252 /* confdefs.h. */
30253 _ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30257
30258
30259 #include <pbt.h>
30260 _ACEOF
30261 rm -f conftest.$ac_objext
30262 if { (ac_try="$ac_compile"
30263 case "(($ac_try" in
30264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30265 *) ac_try_echo=$ac_try;;
30266 esac
30267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30268 (eval "$ac_compile") 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } && {
30275 test -z "$ac_c_werror_flag" ||
30276 test ! -s conftest.err
30277 } && test -s conftest.$ac_objext; then
30278 ac_cv_header_pbt_h=yes
30279 else
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30282
30283 ac_cv_header_pbt_h=no
30284 fi
30285
30286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30287 fi
30288 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30289 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30290 if test $ac_cv_header_pbt_h = yes; then
30291 :
30292 else
30293 cat >>confdefs.h <<\_ACEOF
30294 #define NEED_PBT_H 1
30295 _ACEOF
30296
30297 fi
30298
30299
30300 fi
30301
30302 if test "$wxUSE_GUI" = "yes"; then
30303 USE_GUI=1
30304
30305 GUI_TK_LIBRARY=
30306
30307 WXGTK12=
30308 WXGTK127=
30309 WXGTK20=
30310 WXGPE=
30311
30312 if test "$wxUSE_COCOA" = 1 ; then
30313 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30314 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30315 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30316 wxUSE_PRINTING_ARCHITECTURE=no
30317 fi
30318 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30319 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30320 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30321 wxUSE_DRAG_AND_DROP=no
30322 fi
30323 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30324 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30325 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30326 wxUSE_DRAGIMAGE=no
30327 fi
30328 fi
30329
30330 if test "$wxUSE_MSW" = 1 ; then
30331 TOOLKIT=MSW
30332 GUIDIST=MSW_DIST
30333
30334 case "${host}" in
30335 *-*-mingw32* )
30336 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30337 esac
30338 fi
30339
30340 if test "$wxUSE_GTK" = 1; then
30341 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30342 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30343
30344 gtk_version_cached=1
30345 if test "${wx_cv_lib_gtk+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 else
30348
30349 gtk_version_cached=0
30350 { echo "$as_me:$LINENO: result: " >&5
30351 echo "${ECHO_T}" >&6; }
30352
30353 GTK_MODULES=
30354 if test "$wxUSE_THREADS" = "yes"; then
30355 GTK_MODULES=gthread
30356 fi
30357
30358 wx_cv_lib_gtk=
30359 if test "x$wxGTK_VERSION" != "x1"
30360 then
30361 case "${host}" in
30362 *-*-solaris2* )
30363 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30364 enable_gtktest=no
30365 fi
30366 esac
30367
30368 # Check whether --enable-gtktest was given.
30369 if test "${enable_gtktest+set}" = set; then
30370 enableval=$enable_gtktest;
30371 else
30372 enable_gtktest=yes
30373 fi
30374
30375
30376 pkg_config_args=gtk+-2.0
30377 for module in . $GTK_MODULES
30378 do
30379 case "$module" in
30380 gthread)
30381 pkg_config_args="$pkg_config_args gthread-2.0"
30382 ;;
30383 esac
30384 done
30385
30386 no_gtk=""
30387
30388 # Extract the first word of "pkg-config", so it can be a program name with args.
30389 set dummy pkg-config; ac_word=$2
30390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30393 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 else
30395 case $PKG_CONFIG in
30396 [\\/]* | ?:[\\/]*)
30397 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30398 ;;
30399 *)
30400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30401 for as_dir in $PATH
30402 do
30403 IFS=$as_save_IFS
30404 test -z "$as_dir" && as_dir=.
30405 for ac_exec_ext in '' $ac_executable_extensions; do
30406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30407 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30409 break 2
30410 fi
30411 done
30412 done
30413 IFS=$as_save_IFS
30414
30415 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30416 ;;
30417 esac
30418 fi
30419 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30420 if test -n "$PKG_CONFIG"; then
30421 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30422 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30423 else
30424 { echo "$as_me:$LINENO: result: no" >&5
30425 echo "${ECHO_T}no" >&6; }
30426 fi
30427
30428
30429
30430 if test x$PKG_CONFIG != xno ; then
30431 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30432 :
30433 else
30434 echo "*** pkg-config too old; version 0.7 or better required."
30435 no_gtk=yes
30436 PKG_CONFIG=no
30437 fi
30438 else
30439 no_gtk=yes
30440 fi
30441
30442 min_gtk_version=2.0.0
30443 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30444 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30445
30446 if test x$PKG_CONFIG != xno ; then
30447 ## don't try to run the test against uninstalled libtool libs
30448 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30449 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30450 enable_gtktest=no
30451 fi
30452
30453 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30454 :
30455 else
30456 no_gtk=yes
30457 fi
30458 fi
30459
30460 if test x"$no_gtk" = x ; then
30461 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30462 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30463 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30465 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30467 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30468 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30469 if test "x$enable_gtktest" = "xyes" ; then
30470 ac_save_CFLAGS="$CFLAGS"
30471 ac_save_LIBS="$LIBS"
30472 CFLAGS="$CFLAGS $GTK_CFLAGS"
30473 LIBS="$GTK_LIBS $LIBS"
30474 rm -f conf.gtktest
30475 if test "$cross_compiling" = yes; then
30476 echo $ac_n "cross compiling; assumed OK... $ac_c"
30477 else
30478 cat >conftest.$ac_ext <<_ACEOF
30479 /* confdefs.h. */
30480 _ACEOF
30481 cat confdefs.h >>conftest.$ac_ext
30482 cat >>conftest.$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30484
30485 #include <gtk/gtk.h>
30486 #include <stdio.h>
30487 #include <stdlib.h>
30488
30489 int
30490 main ()
30491 {
30492 int major, minor, micro;
30493 char *tmp_version;
30494
30495 system ("touch conf.gtktest");
30496
30497 /* HP/UX 9 (%@#!) writes to sscanf strings */
30498 tmp_version = g_strdup("$min_gtk_version");
30499 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30500 printf("%s, bad version string\n", "$min_gtk_version");
30501 exit(1);
30502 }
30503
30504 if ((gtk_major_version != $gtk_config_major_version) ||
30505 (gtk_minor_version != $gtk_config_minor_version) ||
30506 (gtk_micro_version != $gtk_config_micro_version))
30507 {
30508 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30509 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30510 gtk_major_version, gtk_minor_version, gtk_micro_version);
30511 printf ("*** was found! If pkg-config was correct, then it is best\n");
30512 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30513 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30514 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30515 printf("*** required on your system.\n");
30516 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30517 printf("*** to point to the correct configuration files\n");
30518 }
30519 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30520 (gtk_minor_version != GTK_MINOR_VERSION) ||
30521 (gtk_micro_version != GTK_MICRO_VERSION))
30522 {
30523 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30524 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30525 printf("*** library (version %d.%d.%d)\n",
30526 gtk_major_version, gtk_minor_version, gtk_micro_version);
30527 }
30528 else
30529 {
30530 if ((gtk_major_version > major) ||
30531 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30532 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30533 {
30534 return 0;
30535 }
30536 else
30537 {
30538 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30539 gtk_major_version, gtk_minor_version, gtk_micro_version);
30540 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30541 major, minor, micro);
30542 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30543 printf("***\n");
30544 printf("*** If you have already installed a sufficiently new version, this error\n");
30545 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30546 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30547 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30548 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30549 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30550 printf("*** so that the correct libraries are found at run-time))\n");
30551 }
30552 }
30553 return 1;
30554 }
30555
30556 _ACEOF
30557 rm -f conftest$ac_exeext
30558 if { (ac_try="$ac_link"
30559 case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30562 esac
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_link") 2>&5
30565 ac_status=$?
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30568 { (case "(($ac_try" in
30569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30570 *) ac_try_echo=$ac_try;;
30571 esac
30572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30573 (eval "$ac_try") 2>&5
30574 ac_status=$?
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30577 :
30578 else
30579 echo "$as_me: program exited with status $ac_status" >&5
30580 echo "$as_me: failed program was:" >&5
30581 sed 's/^/| /' conftest.$ac_ext >&5
30582
30583 ( exit $ac_status )
30584 no_gtk=yes
30585 fi
30586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30587 fi
30588
30589
30590 CFLAGS="$ac_save_CFLAGS"
30591 LIBS="$ac_save_LIBS"
30592 fi
30593 fi
30594 if test "x$no_gtk" = x ; then
30595 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30596 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30597 wx_cv_lib_gtk=2.0
30598 else
30599 { echo "$as_me:$LINENO: result: no" >&5
30600 echo "${ECHO_T}no" >&6; }
30601 if test "$PKG_CONFIG" = "no" ; then
30602 echo "*** A new enough version of pkg-config was not found."
30603 echo "*** See http://pkgconfig.sourceforge.net"
30604 else
30605 if test -f conf.gtktest ; then
30606 :
30607 else
30608 echo "*** Could not run GTK+ test program, checking why..."
30609 ac_save_CFLAGS="$CFLAGS"
30610 ac_save_LIBS="$LIBS"
30611 CFLAGS="$CFLAGS $GTK_CFLAGS"
30612 LIBS="$LIBS $GTK_LIBS"
30613 cat >conftest.$ac_ext <<_ACEOF
30614 /* confdefs.h. */
30615 _ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619
30620 #include <gtk/gtk.h>
30621 #include <stdio.h>
30622
30623 int
30624 main ()
30625 {
30626 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30627 ;
30628 return 0;
30629 }
30630 _ACEOF
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (ac_try="$ac_link"
30633 case "(($ac_try" in
30634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30635 *) ac_try_echo=$ac_try;;
30636 esac
30637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30638 (eval "$ac_link") 2>conftest.er1
30639 ac_status=$?
30640 grep -v '^ *+' conftest.er1 >conftest.err
30641 rm -f conftest.er1
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } && {
30645 test -z "$ac_c_werror_flag" ||
30646 test ! -s conftest.err
30647 } && test -s conftest$ac_exeext &&
30648 $as_test_x conftest$ac_exeext; then
30649 echo "*** The test program compiled, but did not run. This usually means"
30650 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30651 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30654 echo "*** is required on your system"
30655 echo "***"
30656 echo "*** If you have an old version installed, it is best to remove it, although"
30657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30658 else
30659 echo "$as_me: failed program was:" >&5
30660 sed 's/^/| /' conftest.$ac_ext >&5
30661
30662 echo "*** The test program failed to compile or link. See the file config.log for the"
30663 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30664 fi
30665
30666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30667 conftest$ac_exeext conftest.$ac_ext
30668 CFLAGS="$ac_save_CFLAGS"
30669 LIBS="$ac_save_LIBS"
30670 fi
30671 fi
30672 GTK_CFLAGS=""
30673 GTK_LIBS=""
30674 :
30675 fi
30676
30677
30678 rm -f conf.gtktest
30679
30680
30681 case "${host}" in
30682 *-*-solaris2* )
30683 if test "$wxUSE_SHARED" != "yes"; then
30684 GTK_LIBS="$GTK_LIBS -lX11"
30685 fi
30686 esac
30687 fi
30688
30689 if test -z "$wx_cv_lib_gtk"; then
30690 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30691
30692 # Check whether --with-gtk-prefix was given.
30693 if test "${with_gtk_prefix+set}" = set; then
30694 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30695 else
30696 gtk_config_prefix=""
30697 fi
30698
30699
30700 # Check whether --with-gtk-exec-prefix was given.
30701 if test "${with_gtk_exec_prefix+set}" = set; then
30702 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30703 else
30704 gtk_config_exec_prefix=""
30705 fi
30706
30707 # Check whether --enable-gtktest was given.
30708 if test "${enable_gtktest+set}" = set; then
30709 enableval=$enable_gtktest;
30710 else
30711 enable_gtktest=yes
30712 fi
30713
30714
30715 for module in . $GTK_MODULES
30716 do
30717 case "$module" in
30718 gthread)
30719 gtk_config_args="$gtk_config_args gthread"
30720 ;;
30721 esac
30722 done
30723
30724 if test x$gtk_config_exec_prefix != x ; then
30725 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30726 if test x${GTK_CONFIG+set} != xset ; then
30727 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30728 fi
30729 fi
30730 if test x$gtk_config_prefix != x ; then
30731 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30732 if test x${GTK_CONFIG+set} != xset ; then
30733 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30734 fi
30735 fi
30736
30737 # Extract the first word of "gtk-config", so it can be a program name with args.
30738 set dummy gtk-config; ac_word=$2
30739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30741 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 else
30744 case $GTK_CONFIG in
30745 [\\/]* | ?:[\\/]*)
30746 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30747 ;;
30748 *)
30749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30750 for as_dir in $PATH
30751 do
30752 IFS=$as_save_IFS
30753 test -z "$as_dir" && as_dir=.
30754 for ac_exec_ext in '' $ac_executable_extensions; do
30755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30756 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30758 break 2
30759 fi
30760 done
30761 done
30762 IFS=$as_save_IFS
30763
30764 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30765 ;;
30766 esac
30767 fi
30768 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30769 if test -n "$GTK_CONFIG"; then
30770 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30771 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30772 else
30773 { echo "$as_me:$LINENO: result: no" >&5
30774 echo "${ECHO_T}no" >&6; }
30775 fi
30776
30777
30778 min_gtk_version=1.2.7
30779 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30780 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30781 no_gtk=""
30782 if test "$GTK_CONFIG" = "no" ; then
30783 no_gtk=yes
30784 else
30785 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30786 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30787 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30789 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30791 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30793 if test "x$enable_gtktest" = "xyes" ; then
30794 ac_save_CFLAGS="$CFLAGS"
30795 ac_save_LIBS="$LIBS"
30796 CFLAGS="$CFLAGS $GTK_CFLAGS"
30797 LIBS="$GTK_LIBS $LIBS"
30798 rm -f conf.gtktest
30799 if test "$cross_compiling" = yes; then
30800 echo $ac_n "cross compiling; assumed OK... $ac_c"
30801 else
30802 cat >conftest.$ac_ext <<_ACEOF
30803 /* confdefs.h. */
30804 _ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808
30809 #include <gtk/gtk.h>
30810 #include <stdio.h>
30811 #include <stdlib.h>
30812
30813 int
30814 main ()
30815 {
30816 int major, minor, micro;
30817 char *tmp_version;
30818
30819 system ("touch conf.gtktest");
30820
30821 /* HP/UX 9 (%@#!) writes to sscanf strings */
30822 tmp_version = g_strdup("$min_gtk_version");
30823 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30824 printf("%s, bad version string\n", "$min_gtk_version");
30825 exit(1);
30826 }
30827
30828 if ((gtk_major_version != $gtk_config_major_version) ||
30829 (gtk_minor_version != $gtk_config_minor_version) ||
30830 (gtk_micro_version != $gtk_config_micro_version))
30831 {
30832 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30833 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30834 gtk_major_version, gtk_minor_version, gtk_micro_version);
30835 printf ("*** was found! If gtk-config was correct, then it is best\n");
30836 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30837 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30838 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30839 printf("*** required on your system.\n");
30840 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30841 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30842 printf("*** before re-running configure\n");
30843 }
30844 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30845 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30846 (gtk_minor_version != GTK_MINOR_VERSION) ||
30847 (gtk_micro_version != GTK_MICRO_VERSION))
30848 {
30849 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30850 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30851 printf("*** library (version %d.%d.%d)\n",
30852 gtk_major_version, gtk_minor_version, gtk_micro_version);
30853 }
30854 #endif /* defined (GTK_MAJOR_VERSION) ... */
30855 else
30856 {
30857 if ((gtk_major_version > major) ||
30858 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30859 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30860 {
30861 return 0;
30862 }
30863 else
30864 {
30865 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30866 gtk_major_version, gtk_minor_version, gtk_micro_version);
30867 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30868 major, minor, micro);
30869 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30870 printf("***\n");
30871 printf("*** If you have already installed a sufficiently new version, this error\n");
30872 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30873 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30874 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30875 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30876 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30877 printf("*** so that the correct libraries are found at run-time))\n");
30878 }
30879 }
30880 return 1;
30881 }
30882
30883 _ACEOF
30884 rm -f conftest$ac_exeext
30885 if { (ac_try="$ac_link"
30886 case "(($ac_try" in
30887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30888 *) ac_try_echo=$ac_try;;
30889 esac
30890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30891 (eval "$ac_link") 2>&5
30892 ac_status=$?
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30895 { (case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30898 esac
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_try") 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 :
30905 else
30906 echo "$as_me: program exited with status $ac_status" >&5
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30909
30910 ( exit $ac_status )
30911 no_gtk=yes
30912 fi
30913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30914 fi
30915
30916
30917 CFLAGS="$ac_save_CFLAGS"
30918 LIBS="$ac_save_LIBS"
30919 fi
30920 fi
30921 if test "x$no_gtk" = x ; then
30922 { echo "$as_me:$LINENO: result: yes" >&5
30923 echo "${ECHO_T}yes" >&6; }
30924 wx_cv_lib_gtk=1.2.7
30925 else
30926 { echo "$as_me:$LINENO: result: no" >&5
30927 echo "${ECHO_T}no" >&6; }
30928 if test "$GTK_CONFIG" = "no" ; then
30929 echo "*** The gtk-config script installed by GTK could not be found"
30930 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30931 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30932 echo "*** full path to gtk-config."
30933 else
30934 if test -f conf.gtktest ; then
30935 :
30936 else
30937 echo "*** Could not run GTK test program, checking why..."
30938 CFLAGS="$CFLAGS $GTK_CFLAGS"
30939 LIBS="$LIBS $GTK_LIBS"
30940 cat >conftest.$ac_ext <<_ACEOF
30941 /* confdefs.h. */
30942 _ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946
30947 #include <gtk/gtk.h>
30948 #include <stdio.h>
30949
30950 int
30951 main ()
30952 {
30953 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30954 ;
30955 return 0;
30956 }
30957 _ACEOF
30958 rm -f conftest.$ac_objext conftest$ac_exeext
30959 if { (ac_try="$ac_link"
30960 case "(($ac_try" in
30961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30962 *) ac_try_echo=$ac_try;;
30963 esac
30964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30965 (eval "$ac_link") 2>conftest.er1
30966 ac_status=$?
30967 grep -v '^ *+' conftest.er1 >conftest.err
30968 rm -f conftest.er1
30969 cat conftest.err >&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } && {
30972 test -z "$ac_c_werror_flag" ||
30973 test ! -s conftest.err
30974 } && test -s conftest$ac_exeext &&
30975 $as_test_x conftest$ac_exeext; then
30976 echo "*** The test program compiled, but did not run. This usually means"
30977 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30978 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30979 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30980 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30981 echo "*** is required on your system"
30982 echo "***"
30983 echo "*** If you have an old version installed, it is best to remove it, although"
30984 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30985 echo "***"
30986 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30987 echo "*** came with the system with the command"
30988 echo "***"
30989 echo "*** rpm --erase --nodeps gtk gtk-devel"
30990 else
30991 echo "$as_me: failed program was:" >&5
30992 sed 's/^/| /' conftest.$ac_ext >&5
30993
30994 echo "*** The test program failed to compile or link. See the file config.log for the"
30995 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30996 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30997 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30998 fi
30999
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 CFLAGS="$ac_save_CFLAGS"
31003 LIBS="$ac_save_LIBS"
31004 fi
31005 fi
31006 GTK_CFLAGS=""
31007 GTK_LIBS=""
31008 :
31009 fi
31010
31011
31012 rm -f conf.gtktest
31013
31014
31015 if test -z "$wx_cv_lib_gtk"; then
31016
31017 # Check whether --with-gtk-prefix was given.
31018 if test "${with_gtk_prefix+set}" = set; then
31019 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31020 else
31021 gtk_config_prefix=""
31022 fi
31023
31024
31025 # Check whether --with-gtk-exec-prefix was given.
31026 if test "${with_gtk_exec_prefix+set}" = set; then
31027 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31028 else
31029 gtk_config_exec_prefix=""
31030 fi
31031
31032 # Check whether --enable-gtktest was given.
31033 if test "${enable_gtktest+set}" = set; then
31034 enableval=$enable_gtktest;
31035 else
31036 enable_gtktest=yes
31037 fi
31038
31039
31040 for module in . $GTK_MODULES
31041 do
31042 case "$module" in
31043 gthread)
31044 gtk_config_args="$gtk_config_args gthread"
31045 ;;
31046 esac
31047 done
31048
31049 if test x$gtk_config_exec_prefix != x ; then
31050 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31051 if test x${GTK_CONFIG+set} != xset ; then
31052 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31053 fi
31054 fi
31055 if test x$gtk_config_prefix != x ; then
31056 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31057 if test x${GTK_CONFIG+set} != xset ; then
31058 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31059 fi
31060 fi
31061
31062 # Extract the first word of "gtk-config", so it can be a program name with args.
31063 set dummy gtk-config; ac_word=$2
31064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31066 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31068 else
31069 case $GTK_CONFIG in
31070 [\\/]* | ?:[\\/]*)
31071 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31072 ;;
31073 *)
31074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31075 for as_dir in $PATH
31076 do
31077 IFS=$as_save_IFS
31078 test -z "$as_dir" && as_dir=.
31079 for ac_exec_ext in '' $ac_executable_extensions; do
31080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31081 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31083 break 2
31084 fi
31085 done
31086 done
31087 IFS=$as_save_IFS
31088
31089 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31090 ;;
31091 esac
31092 fi
31093 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31094 if test -n "$GTK_CONFIG"; then
31095 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31096 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31097 else
31098 { echo "$as_me:$LINENO: result: no" >&5
31099 echo "${ECHO_T}no" >&6; }
31100 fi
31101
31102
31103 min_gtk_version=1.2.3
31104 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31105 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31106 no_gtk=""
31107 if test "$GTK_CONFIG" = "no" ; then
31108 no_gtk=yes
31109 else
31110 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31111 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31112 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31114 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31116 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31118 if test "x$enable_gtktest" = "xyes" ; then
31119 ac_save_CFLAGS="$CFLAGS"
31120 ac_save_LIBS="$LIBS"
31121 CFLAGS="$CFLAGS $GTK_CFLAGS"
31122 LIBS="$GTK_LIBS $LIBS"
31123 rm -f conf.gtktest
31124 if test "$cross_compiling" = yes; then
31125 echo $ac_n "cross compiling; assumed OK... $ac_c"
31126 else
31127 cat >conftest.$ac_ext <<_ACEOF
31128 /* confdefs.h. */
31129 _ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31133
31134 #include <gtk/gtk.h>
31135 #include <stdio.h>
31136 #include <stdlib.h>
31137
31138 int
31139 main ()
31140 {
31141 int major, minor, micro;
31142 char *tmp_version;
31143
31144 system ("touch conf.gtktest");
31145
31146 /* HP/UX 9 (%@#!) writes to sscanf strings */
31147 tmp_version = g_strdup("$min_gtk_version");
31148 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31149 printf("%s, bad version string\n", "$min_gtk_version");
31150 exit(1);
31151 }
31152
31153 if ((gtk_major_version != $gtk_config_major_version) ||
31154 (gtk_minor_version != $gtk_config_minor_version) ||
31155 (gtk_micro_version != $gtk_config_micro_version))
31156 {
31157 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31158 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31159 gtk_major_version, gtk_minor_version, gtk_micro_version);
31160 printf ("*** was found! If gtk-config was correct, then it is best\n");
31161 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31162 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31163 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31164 printf("*** required on your system.\n");
31165 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31166 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31167 printf("*** before re-running configure\n");
31168 }
31169 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31170 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31171 (gtk_minor_version != GTK_MINOR_VERSION) ||
31172 (gtk_micro_version != GTK_MICRO_VERSION))
31173 {
31174 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31175 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31176 printf("*** library (version %d.%d.%d)\n",
31177 gtk_major_version, gtk_minor_version, gtk_micro_version);
31178 }
31179 #endif /* defined (GTK_MAJOR_VERSION) ... */
31180 else
31181 {
31182 if ((gtk_major_version > major) ||
31183 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31184 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31185 {
31186 return 0;
31187 }
31188 else
31189 {
31190 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31191 gtk_major_version, gtk_minor_version, gtk_micro_version);
31192 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31193 major, minor, micro);
31194 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31195 printf("***\n");
31196 printf("*** If you have already installed a sufficiently new version, this error\n");
31197 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31198 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31199 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31200 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31201 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31202 printf("*** so that the correct libraries are found at run-time))\n");
31203 }
31204 }
31205 return 1;
31206 }
31207
31208 _ACEOF
31209 rm -f conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31214 esac
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31220 { (case "(($ac_try" in
31221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31222 *) ac_try_echo=$ac_try;;
31223 esac
31224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31225 (eval "$ac_try") 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31229 :
31230 else
31231 echo "$as_me: program exited with status $ac_status" >&5
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31234
31235 ( exit $ac_status )
31236 no_gtk=yes
31237 fi
31238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31239 fi
31240
31241
31242 CFLAGS="$ac_save_CFLAGS"
31243 LIBS="$ac_save_LIBS"
31244 fi
31245 fi
31246 if test "x$no_gtk" = x ; then
31247 { echo "$as_me:$LINENO: result: yes" >&5
31248 echo "${ECHO_T}yes" >&6; }
31249 wx_cv_lib_gtk=1.2.3
31250 else
31251 { echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6; }
31253 if test "$GTK_CONFIG" = "no" ; then
31254 echo "*** The gtk-config script installed by GTK could not be found"
31255 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31256 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31257 echo "*** full path to gtk-config."
31258 else
31259 if test -f conf.gtktest ; then
31260 :
31261 else
31262 echo "*** Could not run GTK test program, checking why..."
31263 CFLAGS="$CFLAGS $GTK_CFLAGS"
31264 LIBS="$LIBS $GTK_LIBS"
31265 cat >conftest.$ac_ext <<_ACEOF
31266 /* confdefs.h. */
31267 _ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271
31272 #include <gtk/gtk.h>
31273 #include <stdio.h>
31274
31275 int
31276 main ()
31277 {
31278 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31279 ;
31280 return 0;
31281 }
31282 _ACEOF
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (ac_try="$ac_link"
31285 case "(($ac_try" in
31286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31287 *) ac_try_echo=$ac_try;;
31288 esac
31289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31290 (eval "$ac_link") 2>conftest.er1
31291 ac_status=$?
31292 grep -v '^ *+' conftest.er1 >conftest.err
31293 rm -f conftest.er1
31294 cat conftest.err >&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } && {
31297 test -z "$ac_c_werror_flag" ||
31298 test ! -s conftest.err
31299 } && test -s conftest$ac_exeext &&
31300 $as_test_x conftest$ac_exeext; then
31301 echo "*** The test program compiled, but did not run. This usually means"
31302 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31303 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31304 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31305 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31306 echo "*** is required on your system"
31307 echo "***"
31308 echo "*** If you have an old version installed, it is best to remove it, although"
31309 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31310 echo "***"
31311 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31312 echo "*** came with the system with the command"
31313 echo "***"
31314 echo "*** rpm --erase --nodeps gtk gtk-devel"
31315 else
31316 echo "$as_me: failed program was:" >&5
31317 sed 's/^/| /' conftest.$ac_ext >&5
31318
31319 echo "*** The test program failed to compile or link. See the file config.log for the"
31320 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31321 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31322 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31323 fi
31324
31325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31326 conftest$ac_exeext conftest.$ac_ext
31327 CFLAGS="$ac_save_CFLAGS"
31328 LIBS="$ac_save_LIBS"
31329 fi
31330 fi
31331 GTK_CFLAGS=""
31332 GTK_LIBS=""
31333 :
31334 fi
31335
31336
31337 rm -f conf.gtktest
31338
31339 fi
31340 fi
31341 fi
31342
31343 if test -z "$wx_cv_lib_gtk"; then
31344 wx_cv_lib_gtk=none
31345 else
31346 wx_cv_cflags_gtk=$GTK_CFLAGS
31347 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31348 fi
31349
31350
31351 fi
31352
31353
31354 if test "$gtk_version_cached" = 1; then
31355 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31356 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31357 fi
31358
31359 case "$wx_cv_lib_gtk" in
31360 2.0) WXGTK20=1
31361 TOOLKIT_VERSION=2
31362 ;;
31363 1.2.7) WXGTK127=1
31364 WXGTK12=1
31365 ;;
31366 1.2.3) WXGTK12=1
31367 ;;
31368 *) { { echo "$as_me:$LINENO: error:
31369 The development files for GTK+ were not found. For GTK+ 2, please
31370 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31371 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31372 and that the version is 1.2.3 or above. Also check that the
31373 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31374 --libs' are in the LD_LIBRARY_PATH or equivalent.
31375 " >&5
31376 echo "$as_me: error:
31377 The development files for GTK+ were not found. For GTK+ 2, please
31378 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31379 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31380 and that the version is 1.2.3 or above. Also check that the
31381 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31382 --libs' are in the LD_LIBRARY_PATH or equivalent.
31383 " >&2;}
31384 { (exit 1); exit 1; }; }
31385 ;;
31386 esac
31387
31388 if test "$WXGTK20" = 1; then
31389 save_CFLAGS="$CFLAGS"
31390 save_LIBS="$LIBS"
31391 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31392 LIBS="$LIBS $wx_cv_libs_gtk"
31393
31394 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31395 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31396 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 cat >conftest.$ac_ext <<_ACEOF
31400 /* confdefs.h. */
31401 _ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405 #include <gtk/gtk.h>
31406
31407 int
31408 main ()
31409 {
31410 #ifndef gtk_icon_size_lookup
31411 (void) gtk_icon_size_lookup;
31412 #endif
31413
31414 ;
31415 return 0;
31416 }
31417 _ACEOF
31418 rm -f conftest.$ac_objext
31419 if { (ac_try="$ac_compile"
31420 case "(($ac_try" in
31421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31422 *) ac_try_echo=$ac_try;;
31423 esac
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_compile") 2>conftest.er1
31426 ac_status=$?
31427 grep -v '^ *+' conftest.er1 >conftest.err
31428 rm -f conftest.er1
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } && {
31432 test -z "$ac_c_werror_flag" ||
31433 test ! -s conftest.err
31434 } && test -s conftest.$ac_objext; then
31435 ac_cv_have_decl_gtk_icon_size_lookup=yes
31436 else
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31439
31440 ac_cv_have_decl_gtk_icon_size_lookup=no
31441 fi
31442
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 fi
31445 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31446 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31447 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31448
31449 cat >>confdefs.h <<_ACEOF
31450 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31451 _ACEOF
31452
31453
31454 else
31455 cat >>confdefs.h <<_ACEOF
31456 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31457 _ACEOF
31458
31459 cat >>confdefs.h <<\_ACEOF
31460 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31461 _ACEOF
31462
31463 fi
31464
31465
31466
31467
31468 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31469 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31470 cat >conftest.$ac_ext <<_ACEOF
31471 /* confdefs.h. */
31472 _ACEOF
31473 cat confdefs.h >>conftest.$ac_ext
31474 cat >>conftest.$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31476
31477 #include <gtk/gtk.h>
31478
31479 int
31480 main ()
31481 {
31482
31483 #if !GTK_CHECK_VERSION(2,10,0)
31484 Not GTK+ 2.10
31485 #endif
31486
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 rm -f conftest.$ac_objext
31492 if { (ac_try="$ac_compile"
31493 case "(($ac_try" in
31494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31495 *) ac_try_echo=$ac_try;;
31496 esac
31497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31498 (eval "$ac_compile") 2>conftest.er1
31499 ac_status=$?
31500 grep -v '^ *+' conftest.er1 >conftest.err
31501 rm -f conftest.er1
31502 cat conftest.err >&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } && {
31505 test -z "$ac_c_werror_flag" ||
31506 test ! -s conftest.err
31507 } && test -s conftest.$ac_objext; then
31508
31509 cat >>confdefs.h <<\_ACEOF
31510 #define __WXGTK210__ 1
31511 _ACEOF
31512
31513 cat >>confdefs.h <<\_ACEOF
31514 #define __WXGTK26__ 1
31515 _ACEOF
31516
31517 cat >>confdefs.h <<\_ACEOF
31518 #define __WXGTK24__ 1
31519 _ACEOF
31520
31521 { echo "$as_me:$LINENO: result: yes" >&5
31522 echo "${ECHO_T}yes" >&6; }
31523 ac_wxgtk210=1
31524
31525 else
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.$ac_ext >&5
31528
31529
31530 { echo "$as_me:$LINENO: result: no" >&5
31531 echo "${ECHO_T}no" >&6; }
31532 ac_wxgtk210=0
31533
31534 fi
31535
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537
31538 if test "$ac_wxgtk210" = 0; then
31539 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31540 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31541 cat >conftest.$ac_ext <<_ACEOF
31542 /* confdefs.h. */
31543 _ACEOF
31544 cat confdefs.h >>conftest.$ac_ext
31545 cat >>conftest.$ac_ext <<_ACEOF
31546 /* end confdefs.h. */
31547
31548 #include <gtk/gtk.h>
31549
31550 int
31551 main ()
31552 {
31553
31554 #if !GTK_CHECK_VERSION(2,6,0)
31555 Not GTK+ 2.6
31556 #endif
31557
31558 ;
31559 return 0;
31560 }
31561 _ACEOF
31562 rm -f conftest.$ac_objext
31563 if { (ac_try="$ac_compile"
31564 case "(($ac_try" in
31565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31566 *) ac_try_echo=$ac_try;;
31567 esac
31568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31569 (eval "$ac_compile") 2>conftest.er1
31570 ac_status=$?
31571 grep -v '^ *+' conftest.er1 >conftest.err
31572 rm -f conftest.er1
31573 cat conftest.err >&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); } && {
31576 test -z "$ac_c_werror_flag" ||
31577 test ! -s conftest.err
31578 } && test -s conftest.$ac_objext; then
31579
31580 cat >>confdefs.h <<\_ACEOF
31581 #define __WXGTK26__ 1
31582 _ACEOF
31583
31584 cat >>confdefs.h <<\_ACEOF
31585 #define __WXGTK24__ 1
31586 _ACEOF
31587
31588 { echo "$as_me:$LINENO: result: yes" >&5
31589 echo "${ECHO_T}yes" >&6; }
31590 ac_wxgtk26=1
31591
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596
31597 { echo "$as_me:$LINENO: result: no" >&5
31598 echo "${ECHO_T}no" >&6; }
31599 ac_wxgtk26=0
31600
31601 fi
31602
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 fi
31605
31606 if test "$ac_wxgtk26" = 0; then
31607 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31608 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31609 cat >conftest.$ac_ext <<_ACEOF
31610 /* confdefs.h. */
31611 _ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615
31616 #include <gtk/gtk.h>
31617
31618 int
31619 main ()
31620 {
31621
31622 #if !GTK_CHECK_VERSION(2,4,0)
31623 Not GTK+ 2.4
31624 #endif
31625
31626 ;
31627 return 0;
31628 }
31629 _ACEOF
31630 rm -f conftest.$ac_objext
31631 if { (ac_try="$ac_compile"
31632 case "(($ac_try" in
31633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31634 *) ac_try_echo=$ac_try;;
31635 esac
31636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31637 (eval "$ac_compile") 2>conftest.er1
31638 ac_status=$?
31639 grep -v '^ *+' conftest.er1 >conftest.err
31640 rm -f conftest.er1
31641 cat conftest.err >&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); } && {
31644 test -z "$ac_c_werror_flag" ||
31645 test ! -s conftest.err
31646 } && test -s conftest.$ac_objext; then
31647
31648 cat >>confdefs.h <<\_ACEOF
31649 #define __WXGTK24__ 1
31650 _ACEOF
31651
31652 { echo "$as_me:$LINENO: result: yes" >&5
31653 echo "${ECHO_T}yes" >&6; }
31654
31655 else
31656 echo "$as_me: failed program was:" >&5
31657 sed 's/^/| /' conftest.$ac_ext >&5
31658
31659
31660 { echo "$as_me:$LINENO: result: no" >&5
31661 echo "${ECHO_T}no" >&6; }
31662
31663 fi
31664
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 fi
31667
31668 CFLAGS="$save_CFLAGS"
31669 LIBS="$save_LIBS"
31670 else
31671 if test "$wxUSE_UNICODE" = "yes"; then
31672 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31673 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31674 wxUSE_UNICODE=no
31675 fi
31676
31677 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31678 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31679 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 else
31682 ac_check_lib_save_LIBS=$LIBS
31683 LIBS="-lgdk $LIBS"
31684 cat >conftest.$ac_ext <<_ACEOF
31685 /* confdefs.h. */
31686 _ACEOF
31687 cat confdefs.h >>conftest.$ac_ext
31688 cat >>conftest.$ac_ext <<_ACEOF
31689 /* end confdefs.h. */
31690
31691 /* Override any GCC internal prototype to avoid an error.
31692 Use char because int might match the return type of a GCC
31693 builtin and then its argument prototype would still apply. */
31694 #ifdef __cplusplus
31695 extern "C"
31696 #endif
31697 char gdk_im_open ();
31698 int
31699 main ()
31700 {
31701 return gdk_im_open ();
31702 ;
31703 return 0;
31704 }
31705 _ACEOF
31706 rm -f conftest.$ac_objext conftest$ac_exeext
31707 if { (ac_try="$ac_link"
31708 case "(($ac_try" in
31709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31710 *) ac_try_echo=$ac_try;;
31711 esac
31712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31713 (eval "$ac_link") 2>conftest.er1
31714 ac_status=$?
31715 grep -v '^ *+' conftest.er1 >conftest.err
31716 rm -f conftest.er1
31717 cat conftest.err >&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } && {
31720 test -z "$ac_c_werror_flag" ||
31721 test ! -s conftest.err
31722 } && test -s conftest$ac_exeext &&
31723 $as_test_x conftest$ac_exeext; then
31724 ac_cv_lib_gdk_gdk_im_open=yes
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729 ac_cv_lib_gdk_gdk_im_open=no
31730 fi
31731
31732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31733 conftest$ac_exeext conftest.$ac_ext
31734 LIBS=$ac_check_lib_save_LIBS
31735 fi
31736 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31737 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31738 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31739 cat >>confdefs.h <<\_ACEOF
31740 #define HAVE_XIM 1
31741 _ACEOF
31742
31743 fi
31744
31745
31746 if test "$USE_DARWIN" != 1; then
31747
31748 for ac_func in poll
31749 do
31750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31755 else
31756 cat >conftest.$ac_ext <<_ACEOF
31757 /* confdefs.h. */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31764 #define $ac_func innocuous_$ac_func
31765
31766 /* System header to define __stub macros and hopefully few prototypes,
31767 which can conflict with char $ac_func (); below.
31768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31769 <limits.h> exists even on freestanding compilers. */
31770
31771 #ifdef __STDC__
31772 # include <limits.h>
31773 #else
31774 # include <assert.h>
31775 #endif
31776
31777 #undef $ac_func
31778
31779 /* Override any GCC internal prototype to avoid an error.
31780 Use char because int might match the return type of a GCC
31781 builtin and then its argument prototype would still apply. */
31782 #ifdef __cplusplus
31783 extern "C"
31784 #endif
31785 char $ac_func ();
31786 /* The GNU C library defines this for functions which it implements
31787 to always fail with ENOSYS. Some functions are actually named
31788 something starting with __ and the normal name is an alias. */
31789 #if defined __stub_$ac_func || defined __stub___$ac_func
31790 choke me
31791 #endif
31792
31793 int
31794 main ()
31795 {
31796 return $ac_func ();
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (ac_try="$ac_link"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31806 esac
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_link") 2>conftest.er1
31809 ac_status=$?
31810 grep -v '^ *+' conftest.er1 >conftest.err
31811 rm -f conftest.er1
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest$ac_exeext &&
31818 $as_test_x conftest$ac_exeext; then
31819 eval "$as_ac_var=yes"
31820 else
31821 echo "$as_me: failed program was:" >&5
31822 sed 's/^/| /' conftest.$ac_ext >&5
31823
31824 eval "$as_ac_var=no"
31825 fi
31826
31827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31828 conftest$ac_exeext conftest.$ac_ext
31829 fi
31830 ac_res=`eval echo '${'$as_ac_var'}'`
31831 { echo "$as_me:$LINENO: result: $ac_res" >&5
31832 echo "${ECHO_T}$ac_res" >&6; }
31833 if test `eval echo '${'$as_ac_var'}'` = yes; then
31834 cat >>confdefs.h <<_ACEOF
31835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31836 _ACEOF
31837
31838 fi
31839 done
31840
31841 fi
31842 fi
31843
31844 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31845 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31846
31847 AFMINSTALL=afminstall
31848 TOOLKIT=GTK
31849 GUIDIST=GTK_DIST
31850
31851 if test "$wxUSE_GPE" = "yes"; then
31852 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31853 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31854
31855 ac_find_libraries=
31856 for ac_dir in $SEARCH_LIB;
31857 do
31858 for ac_extension in a so sl dylib dll.a; do
31859 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31860 ac_find_libraries=$ac_dir
31861 break 2
31862 fi
31863 done
31864 done
31865
31866 if test "$ac_find_libraries" != "" ; then
31867
31868 if test "$ac_find_libraries" = "default location"; then
31869 ac_path_to_link=""
31870 else
31871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31872 result=$?
31873 if test $result = 0; then
31874 ac_path_to_link=""
31875 else
31876 ac_path_to_link=" -L$ac_find_libraries"
31877 fi
31878 fi
31879
31880 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31881 WXGPE=1
31882 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31883 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31884 else
31885 { echo "$as_me:$LINENO: result: not found" >&5
31886 echo "${ECHO_T}not found" >&6; }
31887 fi
31888
31889 fi
31890 fi
31891
31892 if test "$wxUSE_MGL" = 1; then
31893 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31894 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31895 if test "x$MGL_ROOT" = x ; then
31896 { echo "$as_me:$LINENO: result: not found" >&5
31897 echo "${ECHO_T}not found" >&6; }
31898 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31899 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31900 { (exit 1); exit 1; }; }
31901 else
31902 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31903 echo "${ECHO_T}$MGL_ROOT" >&6; }
31904 fi
31905
31906 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31907 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31908 case "${host}" in
31909 *-*-linux* )
31910 if test "x$wxUSE_SHARED" = xyes ; then
31911 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31912 else
31913 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31914 fi
31915 ;;
31916 *-pc-msdosdjgpp )
31917 mgl_os_candidates="dos32/dj2"
31918 ;;
31919 *)
31920 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31921 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31922 { (exit 1); exit 1; }; }
31923 esac
31924
31925 mgl_lib_type=""
31926 mgl_os=""
31927
31928 for mgl_os_i in $mgl_os_candidates ; do
31929 if test "x$mgl_os" = x ; then
31930 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31931 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31932 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31933 mgl_lib_type=debug
31934 mgl_os=$mgl_os_i
31935 fi
31936 fi
31937 if test "x$mgl_lib_type" = x ; then
31938 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31939 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31940 mgl_lib_type=release
31941 mgl_os=$mgl_os_i
31942 fi
31943 fi
31944 fi
31945 done
31946
31947 if test "x$mgl_os" = x ; then
31948 { echo "$as_me:$LINENO: result: not found" >&5
31949 echo "${ECHO_T}not found" >&6; }
31950 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31951 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31952 { (exit 1); exit 1; }; }
31953 fi
31954 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31955 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31956
31957 wxUSE_UNIVERSAL="yes"
31958
31959 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31960 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31961
31962 AFMINSTALL=afminstall
31963 TOOLKIT=MGL
31964 GUIDIST=MGL_DIST
31965 fi
31966
31967 if test "$wxUSE_DFB" = 1; then
31968
31969
31970 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31971 if test -n "$ac_tool_prefix"; then
31972 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31973 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31976 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 else
31979 case $PKG_CONFIG in
31980 [\\/]* | ?:[\\/]*)
31981 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31982 ;;
31983 *)
31984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31985 for as_dir in $PATH
31986 do
31987 IFS=$as_save_IFS
31988 test -z "$as_dir" && as_dir=.
31989 for ac_exec_ext in '' $ac_executable_extensions; do
31990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31991 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31993 break 2
31994 fi
31995 done
31996 done
31997 IFS=$as_save_IFS
31998
31999 ;;
32000 esac
32001 fi
32002 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32003 if test -n "$PKG_CONFIG"; then
32004 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32005 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32006 else
32007 { echo "$as_me:$LINENO: result: no" >&5
32008 echo "${ECHO_T}no" >&6; }
32009 fi
32010
32011
32012 fi
32013 if test -z "$ac_cv_path_PKG_CONFIG"; then
32014 ac_pt_PKG_CONFIG=$PKG_CONFIG
32015 # Extract the first word of "pkg-config", so it can be a program name with args.
32016 set dummy pkg-config; ac_word=$2
32017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32019 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32020 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 else
32022 case $ac_pt_PKG_CONFIG in
32023 [\\/]* | ?:[\\/]*)
32024 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32025 ;;
32026 *)
32027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32028 for as_dir in $PATH
32029 do
32030 IFS=$as_save_IFS
32031 test -z "$as_dir" && as_dir=.
32032 for ac_exec_ext in '' $ac_executable_extensions; do
32033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32034 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32036 break 2
32037 fi
32038 done
32039 done
32040 IFS=$as_save_IFS
32041
32042 ;;
32043 esac
32044 fi
32045 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32046 if test -n "$ac_pt_PKG_CONFIG"; then
32047 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32048 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32049 else
32050 { echo "$as_me:$LINENO: result: no" >&5
32051 echo "${ECHO_T}no" >&6; }
32052 fi
32053
32054 if test "x$ac_pt_PKG_CONFIG" = x; then
32055 PKG_CONFIG=""
32056 else
32057 case $cross_compiling:$ac_tool_warned in
32058 yes:)
32059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32060 whose name does not start with the host triplet. If you think this
32061 configuration is useful to you, please write to autoconf@gnu.org." >&5
32062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32063 whose name does not start with the host triplet. If you think this
32064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32065 ac_tool_warned=yes ;;
32066 esac
32067 PKG_CONFIG=$ac_pt_PKG_CONFIG
32068 fi
32069 else
32070 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32071 fi
32072
32073 fi
32074 if test -n "$PKG_CONFIG"; then
32075 _pkg_min_version=0.9.0
32076 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32077 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32078 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32079 { echo "$as_me:$LINENO: result: yes" >&5
32080 echo "${ECHO_T}yes" >&6; }
32081 else
32082 { echo "$as_me:$LINENO: result: no" >&5
32083 echo "${ECHO_T}no" >&6; }
32084 PKG_CONFIG=""
32085 fi
32086
32087 fi
32088
32089
32090 pkg_failed=no
32091 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32092 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32093
32094 if test -n "$PKG_CONFIG"; then
32095 if test -n "$DIRECTFB_CFLAGS"; then
32096 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32097 else
32098 if test -n "$PKG_CONFIG" && \
32099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32100 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; then
32104 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32105 else
32106 pkg_failed=yes
32107 fi
32108 fi
32109 else
32110 pkg_failed=untried
32111 fi
32112 if test -n "$PKG_CONFIG"; then
32113 if test -n "$DIRECTFB_LIBS"; then
32114 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32115 else
32116 if test -n "$PKG_CONFIG" && \
32117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32118 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32119 ac_status=$?
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; then
32122 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32123 else
32124 pkg_failed=yes
32125 fi
32126 fi
32127 else
32128 pkg_failed=untried
32129 fi
32130
32131
32132
32133 if test $pkg_failed = yes; then
32134
32135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32136 _pkg_short_errors_supported=yes
32137 else
32138 _pkg_short_errors_supported=no
32139 fi
32140 if test $_pkg_short_errors_supported = yes; then
32141 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32142 else
32143 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32144 fi
32145 # Put the nasty error message in config.log where it belongs
32146 echo "$DIRECTFB_PKG_ERRORS" >&5
32147
32148
32149 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32150 echo "$as_me: error: DirectFB not found." >&2;}
32151 { (exit 1); exit 1; }; }
32152
32153
32154 elif test $pkg_failed = untried; then
32155
32156 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32157 echo "$as_me: error: DirectFB not found." >&2;}
32158 { (exit 1); exit 1; }; }
32159
32160
32161 else
32162 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32163 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32164 { echo "$as_me:$LINENO: result: yes" >&5
32165 echo "${ECHO_T}yes" >&6; }
32166
32167 wxUSE_UNIVERSAL="yes"
32168 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32169 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32170 TOOLKIT=DFB
32171 GUIDIST=DFB_DIST
32172
32173 fi
32174 fi
32175
32176 if test "$wxUSE_MICROWIN" = 1; then
32177 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32178 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32179 if test "x$MICROWINDOWS" = x ; then
32180 { echo "$as_me:$LINENO: result: not found" >&5
32181 echo "${ECHO_T}not found" >&6; }
32182 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32183 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32184 { (exit 1); exit 1; }; }
32185 else
32186 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32187 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32188 fi
32189
32190 if test -f $MICROWINDOWS/lib/libmwin.a; then
32191 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32192 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32193 else
32194 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32195 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32196 { (exit 1); exit 1; }; }
32197 fi
32198
32199 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32200 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32201
32202 wxUSE_UNIVERSAL="yes"
32203
32204 AFMINSTALL=afminstall
32205 TOOLKIT=MICROWIN
32206 GUIDIST=MICROWIN_DIST
32207
32208 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32209 fi
32210
32211 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32212 { echo "$as_me:$LINENO: checking for X" >&5
32213 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32214
32215
32216 # Check whether --with-x was given.
32217 if test "${with_x+set}" = set; then
32218 withval=$with_x;
32219 fi
32220
32221 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32222 if test "x$with_x" = xno; then
32223 # The user explicitly disabled X.
32224 have_x=disabled
32225 else
32226 case $x_includes,$x_libraries in #(
32227 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32228 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32229 { (exit 1); exit 1; }; };; #(
32230 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32232 else
32233 # One or both of the vars are not set, and there is no cached value.
32234 ac_x_includes=no ac_x_libraries=no
32235 rm -f -r conftest.dir
32236 if mkdir conftest.dir; then
32237 cd conftest.dir
32238 cat >Imakefile <<'_ACEOF'
32239 incroot:
32240 @echo incroot='${INCROOT}'
32241 usrlibdir:
32242 @echo usrlibdir='${USRLIBDIR}'
32243 libdir:
32244 @echo libdir='${LIBDIR}'
32245 _ACEOF
32246 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32247 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32248 for ac_var in incroot usrlibdir libdir; do
32249 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32250 done
32251 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32252 for ac_extension in a so sl; do
32253 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32254 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32255 ac_im_usrlibdir=$ac_im_libdir; break
32256 fi
32257 done
32258 # Screen out bogus values from the imake configuration. They are
32259 # bogus both because they are the default anyway, and because
32260 # using them would break gcc on systems where it needs fixed includes.
32261 case $ac_im_incroot in
32262 /usr/include) ac_x_includes= ;;
32263 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32264 esac
32265 case $ac_im_usrlibdir in
32266 /usr/lib | /lib) ;;
32267 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32268 esac
32269 fi
32270 cd ..
32271 rm -f -r conftest.dir
32272 fi
32273
32274 # Standard set of common directories for X headers.
32275 # Check X11 before X11Rn because it is often a symlink to the current release.
32276 ac_x_header_dirs='
32277 /usr/X11/include
32278 /usr/X11R6/include
32279 /usr/X11R5/include
32280 /usr/X11R4/include
32281
32282 /usr/include/X11
32283 /usr/include/X11R6
32284 /usr/include/X11R5
32285 /usr/include/X11R4
32286
32287 /usr/local/X11/include
32288 /usr/local/X11R6/include
32289 /usr/local/X11R5/include
32290 /usr/local/X11R4/include
32291
32292 /usr/local/include/X11
32293 /usr/local/include/X11R6
32294 /usr/local/include/X11R5
32295 /usr/local/include/X11R4
32296
32297 /usr/X386/include
32298 /usr/x386/include
32299 /usr/XFree86/include/X11
32300
32301 /usr/include
32302 /usr/local/include
32303 /usr/unsupported/include
32304 /usr/athena/include
32305 /usr/local/x11r5/include
32306 /usr/lpp/Xamples/include
32307
32308 /usr/openwin/include
32309 /usr/openwin/share/include'
32310
32311 if test "$ac_x_includes" = no; then
32312 # Guess where to find include files, by looking for Xlib.h.
32313 # First, try using that file with no special directory specified.
32314 cat >conftest.$ac_ext <<_ACEOF
32315 /* confdefs.h. */
32316 _ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320 #include <X11/Xlib.h>
32321 _ACEOF
32322 if { (ac_try="$ac_cpp conftest.$ac_ext"
32323 case "(($ac_try" in
32324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32325 *) ac_try_echo=$ac_try;;
32326 esac
32327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32329 ac_status=$?
32330 grep -v '^ *+' conftest.er1 >conftest.err
32331 rm -f conftest.er1
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } >/dev/null && {
32335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32336 test ! -s conftest.err
32337 }; then
32338 # We can compile using X headers with no special include directory.
32339 ac_x_includes=
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 for ac_dir in $ac_x_header_dirs; do
32345 if test -r "$ac_dir/X11/Xlib.h"; then
32346 ac_x_includes=$ac_dir
32347 break
32348 fi
32349 done
32350 fi
32351
32352 rm -f conftest.err conftest.$ac_ext
32353 fi # $ac_x_includes = no
32354
32355 if test "$ac_x_libraries" = no; then
32356 # Check for the libraries.
32357 # See if we find them without any special options.
32358 # Don't add to $LIBS permanently.
32359 ac_save_LIBS=$LIBS
32360 LIBS="-lX11 $LIBS"
32361 cat >conftest.$ac_ext <<_ACEOF
32362 /* confdefs.h. */
32363 _ACEOF
32364 cat confdefs.h >>conftest.$ac_ext
32365 cat >>conftest.$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32367 #include <X11/Xlib.h>
32368 int
32369 main ()
32370 {
32371 XrmInitialize ()
32372 ;
32373 return 0;
32374 }
32375 _ACEOF
32376 rm -f conftest.$ac_objext conftest$ac_exeext
32377 if { (ac_try="$ac_link"
32378 case "(($ac_try" in
32379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32380 *) ac_try_echo=$ac_try;;
32381 esac
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_link") 2>conftest.er1
32384 ac_status=$?
32385 grep -v '^ *+' conftest.er1 >conftest.err
32386 rm -f conftest.er1
32387 cat conftest.err >&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } && {
32390 test -z "$ac_c_werror_flag" ||
32391 test ! -s conftest.err
32392 } && test -s conftest$ac_exeext &&
32393 $as_test_x conftest$ac_exeext; then
32394 LIBS=$ac_save_LIBS
32395 # We can link X programs with no special library path.
32396 ac_x_libraries=
32397 else
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32400
32401 LIBS=$ac_save_LIBS
32402 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32403 do
32404 # Don't even attempt the hair of trying to link an X program!
32405 for ac_extension in a so sl; do
32406 if test -r "$ac_dir/libX11.$ac_extension"; then
32407 ac_x_libraries=$ac_dir
32408 break 2
32409 fi
32410 done
32411 done
32412 fi
32413
32414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32415 conftest$ac_exeext conftest.$ac_ext
32416 fi # $ac_x_libraries = no
32417
32418 case $ac_x_includes,$ac_x_libraries in #(
32419 no,* | *,no | *\'*)
32420 # Didn't find X, or a directory has "'" in its name.
32421 ac_cv_have_x="have_x=no";; #(
32422 *)
32423 # Record where we found X for the cache.
32424 ac_cv_have_x="have_x=yes\
32425 ac_x_includes='$ac_x_includes'\
32426 ac_x_libraries='$ac_x_libraries'"
32427 esac
32428 fi
32429 ;; #(
32430 *) have_x=yes;;
32431 esac
32432 eval "$ac_cv_have_x"
32433 fi # $with_x != no
32434
32435 if test "$have_x" != yes; then
32436 { echo "$as_me:$LINENO: result: $have_x" >&5
32437 echo "${ECHO_T}$have_x" >&6; }
32438 no_x=yes
32439 else
32440 # If each of the values was on the command line, it overrides each guess.
32441 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32442 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32443 # Update the cache value to reflect the command line values.
32444 ac_cv_have_x="have_x=yes\
32445 ac_x_includes='$x_includes'\
32446 ac_x_libraries='$x_libraries'"
32447 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32448 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32449 fi
32450
32451 if test "$no_x" = yes; then
32452 # Not all programs may use this symbol, but it does not hurt to define it.
32453
32454 cat >>confdefs.h <<\_ACEOF
32455 #define X_DISPLAY_MISSING 1
32456 _ACEOF
32457
32458 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32459 else
32460 if test -n "$x_includes"; then
32461 X_CFLAGS="$X_CFLAGS -I$x_includes"
32462 fi
32463
32464 # It would also be nice to do this for all -L options, not just this one.
32465 if test -n "$x_libraries"; then
32466 X_LIBS="$X_LIBS -L$x_libraries"
32467 # For Solaris; some versions of Sun CC require a space after -R and
32468 # others require no space. Words are not sufficient . . . .
32469 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32470 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32471 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32472 ac_xsave_c_werror_flag=$ac_c_werror_flag
32473 ac_c_werror_flag=yes
32474 cat >conftest.$ac_ext <<_ACEOF
32475 /* confdefs.h. */
32476 _ACEOF
32477 cat confdefs.h >>conftest.$ac_ext
32478 cat >>conftest.$ac_ext <<_ACEOF
32479 /* end confdefs.h. */
32480
32481 int
32482 main ()
32483 {
32484
32485 ;
32486 return 0;
32487 }
32488 _ACEOF
32489 rm -f conftest.$ac_objext conftest$ac_exeext
32490 if { (ac_try="$ac_link"
32491 case "(($ac_try" in
32492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32493 *) ac_try_echo=$ac_try;;
32494 esac
32495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32496 (eval "$ac_link") 2>conftest.er1
32497 ac_status=$?
32498 grep -v '^ *+' conftest.er1 >conftest.err
32499 rm -f conftest.er1
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } && {
32503 test -z "$ac_c_werror_flag" ||
32504 test ! -s conftest.err
32505 } && test -s conftest$ac_exeext &&
32506 $as_test_x conftest$ac_exeext; then
32507 { echo "$as_me:$LINENO: result: no" >&5
32508 echo "${ECHO_T}no" >&6; }
32509 X_LIBS="$X_LIBS -R$x_libraries"
32510 else
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32513
32514 LIBS="$ac_xsave_LIBS -R $x_libraries"
32515 cat >conftest.$ac_ext <<_ACEOF
32516 /* confdefs.h. */
32517 _ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521
32522 int
32523 main ()
32524 {
32525
32526 ;
32527 return 0;
32528 }
32529 _ACEOF
32530 rm -f conftest.$ac_objext conftest$ac_exeext
32531 if { (ac_try="$ac_link"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32535 esac
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_link") 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest$ac_exeext &&
32547 $as_test_x conftest$ac_exeext; then
32548 { echo "$as_me:$LINENO: result: yes" >&5
32549 echo "${ECHO_T}yes" >&6; }
32550 X_LIBS="$X_LIBS -R $x_libraries"
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32554
32555 { echo "$as_me:$LINENO: result: neither works" >&5
32556 echo "${ECHO_T}neither works" >&6; }
32557 fi
32558
32559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32560 conftest$ac_exeext conftest.$ac_ext
32561 fi
32562
32563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32564 conftest$ac_exeext conftest.$ac_ext
32565 ac_c_werror_flag=$ac_xsave_c_werror_flag
32566 LIBS=$ac_xsave_LIBS
32567 fi
32568
32569 # Check for system-dependent libraries X programs must link with.
32570 # Do this before checking for the system-independent R6 libraries
32571 # (-lICE), since we may need -lsocket or whatever for X linking.
32572
32573 if test "$ISC" = yes; then
32574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32575 else
32576 # Martyn Johnson says this is needed for Ultrix, if the X
32577 # libraries were built with DECnet support. And Karl Berry says
32578 # the Alpha needs dnet_stub (dnet does not exist).
32579 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32580 cat >conftest.$ac_ext <<_ACEOF
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586
32587 /* Override any GCC internal prototype to avoid an error.
32588 Use char because int might match the return type of a GCC
32589 builtin and then its argument prototype would still apply. */
32590 #ifdef __cplusplus
32591 extern "C"
32592 #endif
32593 char XOpenDisplay ();
32594 int
32595 main ()
32596 {
32597 return XOpenDisplay ();
32598 ;
32599 return 0;
32600 }
32601 _ACEOF
32602 rm -f conftest.$ac_objext conftest$ac_exeext
32603 if { (ac_try="$ac_link"
32604 case "(($ac_try" in
32605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32606 *) ac_try_echo=$ac_try;;
32607 esac
32608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32609 (eval "$ac_link") 2>conftest.er1
32610 ac_status=$?
32611 grep -v '^ *+' conftest.er1 >conftest.err
32612 rm -f conftest.er1
32613 cat conftest.err >&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); } && {
32616 test -z "$ac_c_werror_flag" ||
32617 test ! -s conftest.err
32618 } && test -s conftest$ac_exeext &&
32619 $as_test_x conftest$ac_exeext; then
32620 :
32621 else
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32624
32625 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32626 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32627 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32629 else
32630 ac_check_lib_save_LIBS=$LIBS
32631 LIBS="-ldnet $LIBS"
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638
32639 /* Override any GCC internal prototype to avoid an error.
32640 Use char because int might match the return type of a GCC
32641 builtin and then its argument prototype would still apply. */
32642 #ifdef __cplusplus
32643 extern "C"
32644 #endif
32645 char dnet_ntoa ();
32646 int
32647 main ()
32648 {
32649 return dnet_ntoa ();
32650 ;
32651 return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (ac_try="$ac_link"
32656 case "(($ac_try" in
32657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32659 esac
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_link") 2>conftest.er1
32662 ac_status=$?
32663 grep -v '^ *+' conftest.er1 >conftest.err
32664 rm -f conftest.er1
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } && {
32668 test -z "$ac_c_werror_flag" ||
32669 test ! -s conftest.err
32670 } && test -s conftest$ac_exeext &&
32671 $as_test_x conftest$ac_exeext; then
32672 ac_cv_lib_dnet_dnet_ntoa=yes
32673 else
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32676
32677 ac_cv_lib_dnet_dnet_ntoa=no
32678 fi
32679
32680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32681 conftest$ac_exeext conftest.$ac_ext
32682 LIBS=$ac_check_lib_save_LIBS
32683 fi
32684 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32685 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32686 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32687 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32688 fi
32689
32690 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32691 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32692 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32693 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32696 ac_check_lib_save_LIBS=$LIBS
32697 LIBS="-ldnet_stub $LIBS"
32698 cat >conftest.$ac_ext <<_ACEOF
32699 /* confdefs.h. */
32700 _ACEOF
32701 cat confdefs.h >>conftest.$ac_ext
32702 cat >>conftest.$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32704
32705 /* Override any GCC internal prototype to avoid an error.
32706 Use char because int might match the return type of a GCC
32707 builtin and then its argument prototype would still apply. */
32708 #ifdef __cplusplus
32709 extern "C"
32710 #endif
32711 char dnet_ntoa ();
32712 int
32713 main ()
32714 {
32715 return dnet_ntoa ();
32716 ;
32717 return 0;
32718 }
32719 _ACEOF
32720 rm -f conftest.$ac_objext conftest$ac_exeext
32721 if { (ac_try="$ac_link"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32725 esac
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_link") 2>conftest.er1
32728 ac_status=$?
32729 grep -v '^ *+' conftest.er1 >conftest.err
32730 rm -f conftest.er1
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest$ac_exeext &&
32737 $as_test_x conftest$ac_exeext; then
32738 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32739 else
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32742
32743 ac_cv_lib_dnet_stub_dnet_ntoa=no
32744 fi
32745
32746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32747 conftest$ac_exeext conftest.$ac_ext
32748 LIBS=$ac_check_lib_save_LIBS
32749 fi
32750 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32751 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32752 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32754 fi
32755
32756 fi
32757 fi
32758
32759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32760 conftest$ac_exeext conftest.$ac_ext
32761 LIBS="$ac_xsave_LIBS"
32762
32763 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32764 # to get the SysV transport functions.
32765 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32766 # needs -lnsl.
32767 # The nsl library prevents programs from opening the X display
32768 # on Irix 5.2, according to T.E. Dickey.
32769 # The functions gethostbyname, getservbyname, and inet_addr are
32770 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32771 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32772 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32773 if test "${ac_cv_func_gethostbyname+set}" = set; then
32774 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 else
32776 cat >conftest.$ac_ext <<_ACEOF
32777 /* confdefs.h. */
32778 _ACEOF
32779 cat confdefs.h >>conftest.$ac_ext
32780 cat >>conftest.$ac_ext <<_ACEOF
32781 /* end confdefs.h. */
32782 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32784 #define gethostbyname innocuous_gethostbyname
32785
32786 /* System header to define __stub macros and hopefully few prototypes,
32787 which can conflict with char gethostbyname (); below.
32788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32789 <limits.h> exists even on freestanding compilers. */
32790
32791 #ifdef __STDC__
32792 # include <limits.h>
32793 #else
32794 # include <assert.h>
32795 #endif
32796
32797 #undef gethostbyname
32798
32799 /* Override any GCC internal prototype to avoid an error.
32800 Use char because int might match the return type of a GCC
32801 builtin and then its argument prototype would still apply. */
32802 #ifdef __cplusplus
32803 extern "C"
32804 #endif
32805 char gethostbyname ();
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32810 choke me
32811 #endif
32812
32813 int
32814 main ()
32815 {
32816 return gethostbyname ();
32817 ;
32818 return 0;
32819 }
32820 _ACEOF
32821 rm -f conftest.$ac_objext conftest$ac_exeext
32822 if { (ac_try="$ac_link"
32823 case "(($ac_try" in
32824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32825 *) ac_try_echo=$ac_try;;
32826 esac
32827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32828 (eval "$ac_link") 2>conftest.er1
32829 ac_status=$?
32830 grep -v '^ *+' conftest.er1 >conftest.err
32831 rm -f conftest.er1
32832 cat conftest.err >&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } && {
32835 test -z "$ac_c_werror_flag" ||
32836 test ! -s conftest.err
32837 } && test -s conftest$ac_exeext &&
32838 $as_test_x conftest$ac_exeext; then
32839 ac_cv_func_gethostbyname=yes
32840 else
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32843
32844 ac_cv_func_gethostbyname=no
32845 fi
32846
32847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32848 conftest$ac_exeext conftest.$ac_ext
32849 fi
32850 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32851 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32852
32853 if test $ac_cv_func_gethostbyname = no; then
32854 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32855 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32856 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 else
32859 ac_check_lib_save_LIBS=$LIBS
32860 LIBS="-lnsl $LIBS"
32861 cat >conftest.$ac_ext <<_ACEOF
32862 /* confdefs.h. */
32863 _ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h. */
32867
32868 /* Override any GCC internal prototype to avoid an error.
32869 Use char because int might match the return type of a GCC
32870 builtin and then its argument prototype would still apply. */
32871 #ifdef __cplusplus
32872 extern "C"
32873 #endif
32874 char gethostbyname ();
32875 int
32876 main ()
32877 {
32878 return gethostbyname ();
32879 ;
32880 return 0;
32881 }
32882 _ACEOF
32883 rm -f conftest.$ac_objext conftest$ac_exeext
32884 if { (ac_try="$ac_link"
32885 case "(($ac_try" in
32886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32887 *) ac_try_echo=$ac_try;;
32888 esac
32889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32890 (eval "$ac_link") 2>conftest.er1
32891 ac_status=$?
32892 grep -v '^ *+' conftest.er1 >conftest.err
32893 rm -f conftest.er1
32894 cat conftest.err >&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); } && {
32897 test -z "$ac_c_werror_flag" ||
32898 test ! -s conftest.err
32899 } && test -s conftest$ac_exeext &&
32900 $as_test_x conftest$ac_exeext; then
32901 ac_cv_lib_nsl_gethostbyname=yes
32902 else
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32905
32906 ac_cv_lib_nsl_gethostbyname=no
32907 fi
32908
32909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32910 conftest$ac_exeext conftest.$ac_ext
32911 LIBS=$ac_check_lib_save_LIBS
32912 fi
32913 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32914 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32915 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32917 fi
32918
32919 if test $ac_cv_lib_nsl_gethostbyname = no; then
32920 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32921 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32922 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32925 ac_check_lib_save_LIBS=$LIBS
32926 LIBS="-lbsd $LIBS"
32927 cat >conftest.$ac_ext <<_ACEOF
32928 /* confdefs.h. */
32929 _ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933
32934 /* Override any GCC internal prototype to avoid an error.
32935 Use char because int might match the return type of a GCC
32936 builtin and then its argument prototype would still apply. */
32937 #ifdef __cplusplus
32938 extern "C"
32939 #endif
32940 char gethostbyname ();
32941 int
32942 main ()
32943 {
32944 return gethostbyname ();
32945 ;
32946 return 0;
32947 }
32948 _ACEOF
32949 rm -f conftest.$ac_objext conftest$ac_exeext
32950 if { (ac_try="$ac_link"
32951 case "(($ac_try" in
32952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32953 *) ac_try_echo=$ac_try;;
32954 esac
32955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32956 (eval "$ac_link") 2>conftest.er1
32957 ac_status=$?
32958 grep -v '^ *+' conftest.er1 >conftest.err
32959 rm -f conftest.er1
32960 cat conftest.err >&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); } && {
32963 test -z "$ac_c_werror_flag" ||
32964 test ! -s conftest.err
32965 } && test -s conftest$ac_exeext &&
32966 $as_test_x conftest$ac_exeext; then
32967 ac_cv_lib_bsd_gethostbyname=yes
32968 else
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.$ac_ext >&5
32971
32972 ac_cv_lib_bsd_gethostbyname=no
32973 fi
32974
32975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32976 conftest$ac_exeext conftest.$ac_ext
32977 LIBS=$ac_check_lib_save_LIBS
32978 fi
32979 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32980 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32981 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32983 fi
32984
32985 fi
32986 fi
32987
32988 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32989 # socket/setsockopt and other routines are undefined under SCO ODT
32990 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32991 # on later versions), says Simon Leinen: it contains gethostby*
32992 # variants that don't use the name server (or something). -lsocket
32993 # must be given before -lnsl if both are needed. We assume that
32994 # if connect needs -lnsl, so does gethostbyname.
32995 { echo "$as_me:$LINENO: checking for connect" >&5
32996 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32997 if test "${ac_cv_func_connect+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000 cat >conftest.$ac_ext <<_ACEOF
33001 /* confdefs.h. */
33002 _ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define connect innocuous_connect
33009
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char connect (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33014
33015 #ifdef __STDC__
33016 # include <limits.h>
33017 #else
33018 # include <assert.h>
33019 #endif
33020
33021 #undef connect
33022
33023 /* Override any GCC internal prototype to avoid an error.
33024 Use char because int might match the return type of a GCC
33025 builtin and then its argument prototype would still apply. */
33026 #ifdef __cplusplus
33027 extern "C"
33028 #endif
33029 char connect ();
33030 /* The GNU C library defines this for functions which it implements
33031 to always fail with ENOSYS. Some functions are actually named
33032 something starting with __ and the normal name is an alias. */
33033 #if defined __stub_connect || defined __stub___connect
33034 choke me
33035 #endif
33036
33037 int
33038 main ()
33039 {
33040 return connect ();
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext conftest$ac_exeext
33046 if { (ac_try="$ac_link"
33047 case "(($ac_try" in
33048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33050 esac
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_link") 2>conftest.er1
33053 ac_status=$?
33054 grep -v '^ *+' conftest.er1 >conftest.err
33055 rm -f conftest.er1
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } && {
33059 test -z "$ac_c_werror_flag" ||
33060 test ! -s conftest.err
33061 } && test -s conftest$ac_exeext &&
33062 $as_test_x conftest$ac_exeext; then
33063 ac_cv_func_connect=yes
33064 else
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33067
33068 ac_cv_func_connect=no
33069 fi
33070
33071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33072 conftest$ac_exeext conftest.$ac_ext
33073 fi
33074 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33075 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33076
33077 if test $ac_cv_func_connect = no; then
33078 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33079 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33080 if test "${ac_cv_lib_socket_connect+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 else
33083 ac_check_lib_save_LIBS=$LIBS
33084 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33085 cat >conftest.$ac_ext <<_ACEOF
33086 /* confdefs.h. */
33087 _ACEOF
33088 cat confdefs.h >>conftest.$ac_ext
33089 cat >>conftest.$ac_ext <<_ACEOF
33090 /* end confdefs.h. */
33091
33092 /* Override any GCC internal prototype to avoid an error.
33093 Use char because int might match the return type of a GCC
33094 builtin and then its argument prototype would still apply. */
33095 #ifdef __cplusplus
33096 extern "C"
33097 #endif
33098 char connect ();
33099 int
33100 main ()
33101 {
33102 return connect ();
33103 ;
33104 return 0;
33105 }
33106 _ACEOF
33107 rm -f conftest.$ac_objext conftest$ac_exeext
33108 if { (ac_try="$ac_link"
33109 case "(($ac_try" in
33110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33111 *) ac_try_echo=$ac_try;;
33112 esac
33113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33114 (eval "$ac_link") 2>conftest.er1
33115 ac_status=$?
33116 grep -v '^ *+' conftest.er1 >conftest.err
33117 rm -f conftest.er1
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } && {
33121 test -z "$ac_c_werror_flag" ||
33122 test ! -s conftest.err
33123 } && test -s conftest$ac_exeext &&
33124 $as_test_x conftest$ac_exeext; then
33125 ac_cv_lib_socket_connect=yes
33126 else
33127 echo "$as_me: failed program was:" >&5
33128 sed 's/^/| /' conftest.$ac_ext >&5
33129
33130 ac_cv_lib_socket_connect=no
33131 fi
33132
33133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33134 conftest$ac_exeext conftest.$ac_ext
33135 LIBS=$ac_check_lib_save_LIBS
33136 fi
33137 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33138 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33139 if test $ac_cv_lib_socket_connect = yes; then
33140 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33141 fi
33142
33143 fi
33144
33145 # Guillermo Gomez says -lposix is necessary on A/UX.
33146 { echo "$as_me:$LINENO: checking for remove" >&5
33147 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33148 if test "${ac_cv_func_remove+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151 cat >conftest.$ac_ext <<_ACEOF
33152 /* confdefs.h. */
33153 _ACEOF
33154 cat confdefs.h >>conftest.$ac_ext
33155 cat >>conftest.$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33159 #define remove innocuous_remove
33160
33161 /* System header to define __stub macros and hopefully few prototypes,
33162 which can conflict with char remove (); below.
33163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33164 <limits.h> exists even on freestanding compilers. */
33165
33166 #ifdef __STDC__
33167 # include <limits.h>
33168 #else
33169 # include <assert.h>
33170 #endif
33171
33172 #undef remove
33173
33174 /* Override any GCC internal prototype to avoid an error.
33175 Use char because int might match the return type of a GCC
33176 builtin and then its argument prototype would still apply. */
33177 #ifdef __cplusplus
33178 extern "C"
33179 #endif
33180 char remove ();
33181 /* The GNU C library defines this for functions which it implements
33182 to always fail with ENOSYS. Some functions are actually named
33183 something starting with __ and the normal name is an alias. */
33184 #if defined __stub_remove || defined __stub___remove
33185 choke me
33186 #endif
33187
33188 int
33189 main ()
33190 {
33191 return remove ();
33192 ;
33193 return 0;
33194 }
33195 _ACEOF
33196 rm -f conftest.$ac_objext conftest$ac_exeext
33197 if { (ac_try="$ac_link"
33198 case "(($ac_try" in
33199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33200 *) ac_try_echo=$ac_try;;
33201 esac
33202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33203 (eval "$ac_link") 2>conftest.er1
33204 ac_status=$?
33205 grep -v '^ *+' conftest.er1 >conftest.err
33206 rm -f conftest.er1
33207 cat conftest.err >&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } && {
33210 test -z "$ac_c_werror_flag" ||
33211 test ! -s conftest.err
33212 } && test -s conftest$ac_exeext &&
33213 $as_test_x conftest$ac_exeext; then
33214 ac_cv_func_remove=yes
33215 else
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33218
33219 ac_cv_func_remove=no
33220 fi
33221
33222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33223 conftest$ac_exeext conftest.$ac_ext
33224 fi
33225 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33226 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33227
33228 if test $ac_cv_func_remove = no; then
33229 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33230 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33231 if test "${ac_cv_lib_posix_remove+set}" = set; then
33232 echo $ECHO_N "(cached) $ECHO_C" >&6
33233 else
33234 ac_check_lib_save_LIBS=$LIBS
33235 LIBS="-lposix $LIBS"
33236 cat >conftest.$ac_ext <<_ACEOF
33237 /* confdefs.h. */
33238 _ACEOF
33239 cat confdefs.h >>conftest.$ac_ext
33240 cat >>conftest.$ac_ext <<_ACEOF
33241 /* end confdefs.h. */
33242
33243 /* Override any GCC internal prototype to avoid an error.
33244 Use char because int might match the return type of a GCC
33245 builtin and then its argument prototype would still apply. */
33246 #ifdef __cplusplus
33247 extern "C"
33248 #endif
33249 char remove ();
33250 int
33251 main ()
33252 {
33253 return remove ();
33254 ;
33255 return 0;
33256 }
33257 _ACEOF
33258 rm -f conftest.$ac_objext conftest$ac_exeext
33259 if { (ac_try="$ac_link"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33262 *) ac_try_echo=$ac_try;;
33263 esac
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_link") 2>conftest.er1
33266 ac_status=$?
33267 grep -v '^ *+' conftest.er1 >conftest.err
33268 rm -f conftest.er1
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } && {
33272 test -z "$ac_c_werror_flag" ||
33273 test ! -s conftest.err
33274 } && test -s conftest$ac_exeext &&
33275 $as_test_x conftest$ac_exeext; then
33276 ac_cv_lib_posix_remove=yes
33277 else
33278 echo "$as_me: failed program was:" >&5
33279 sed 's/^/| /' conftest.$ac_ext >&5
33280
33281 ac_cv_lib_posix_remove=no
33282 fi
33283
33284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33285 conftest$ac_exeext conftest.$ac_ext
33286 LIBS=$ac_check_lib_save_LIBS
33287 fi
33288 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33289 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33290 if test $ac_cv_lib_posix_remove = yes; then
33291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33292 fi
33293
33294 fi
33295
33296 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33297 { echo "$as_me:$LINENO: checking for shmat" >&5
33298 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33299 if test "${ac_cv_func_shmat+set}" = set; then
33300 echo $ECHO_N "(cached) $ECHO_C" >&6
33301 else
33302 cat >conftest.$ac_ext <<_ACEOF
33303 /* confdefs.h. */
33304 _ACEOF
33305 cat confdefs.h >>conftest.$ac_ext
33306 cat >>conftest.$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33310 #define shmat innocuous_shmat
33311
33312 /* System header to define __stub macros and hopefully few prototypes,
33313 which can conflict with char shmat (); below.
33314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33315 <limits.h> exists even on freestanding compilers. */
33316
33317 #ifdef __STDC__
33318 # include <limits.h>
33319 #else
33320 # include <assert.h>
33321 #endif
33322
33323 #undef shmat
33324
33325 /* Override any GCC internal prototype to avoid an error.
33326 Use char because int might match the return type of a GCC
33327 builtin and then its argument prototype would still apply. */
33328 #ifdef __cplusplus
33329 extern "C"
33330 #endif
33331 char shmat ();
33332 /* The GNU C library defines this for functions which it implements
33333 to always fail with ENOSYS. Some functions are actually named
33334 something starting with __ and the normal name is an alias. */
33335 #if defined __stub_shmat || defined __stub___shmat
33336 choke me
33337 #endif
33338
33339 int
33340 main ()
33341 {
33342 return shmat ();
33343 ;
33344 return 0;
33345 }
33346 _ACEOF
33347 rm -f conftest.$ac_objext conftest$ac_exeext
33348 if { (ac_try="$ac_link"
33349 case "(($ac_try" in
33350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33351 *) ac_try_echo=$ac_try;;
33352 esac
33353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33354 (eval "$ac_link") 2>conftest.er1
33355 ac_status=$?
33356 grep -v '^ *+' conftest.er1 >conftest.err
33357 rm -f conftest.er1
33358 cat conftest.err >&5
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); } && {
33361 test -z "$ac_c_werror_flag" ||
33362 test ! -s conftest.err
33363 } && test -s conftest$ac_exeext &&
33364 $as_test_x conftest$ac_exeext; then
33365 ac_cv_func_shmat=yes
33366 else
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 ac_cv_func_shmat=no
33371 fi
33372
33373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33374 conftest$ac_exeext conftest.$ac_ext
33375 fi
33376 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33377 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33378
33379 if test $ac_cv_func_shmat = no; then
33380 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33381 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33382 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33383 echo $ECHO_N "(cached) $ECHO_C" >&6
33384 else
33385 ac_check_lib_save_LIBS=$LIBS
33386 LIBS="-lipc $LIBS"
33387 cat >conftest.$ac_ext <<_ACEOF
33388 /* confdefs.h. */
33389 _ACEOF
33390 cat confdefs.h >>conftest.$ac_ext
33391 cat >>conftest.$ac_ext <<_ACEOF
33392 /* end confdefs.h. */
33393
33394 /* Override any GCC internal prototype to avoid an error.
33395 Use char because int might match the return type of a GCC
33396 builtin and then its argument prototype would still apply. */
33397 #ifdef __cplusplus
33398 extern "C"
33399 #endif
33400 char shmat ();
33401 int
33402 main ()
33403 {
33404 return shmat ();
33405 ;
33406 return 0;
33407 }
33408 _ACEOF
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33414 esac
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33417 ac_status=$?
33418 grep -v '^ *+' conftest.er1 >conftest.err
33419 rm -f conftest.er1
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33427 ac_cv_lib_ipc_shmat=yes
33428 else
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33431
33432 ac_cv_lib_ipc_shmat=no
33433 fi
33434
33435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33436 conftest$ac_exeext conftest.$ac_ext
33437 LIBS=$ac_check_lib_save_LIBS
33438 fi
33439 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33440 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33441 if test $ac_cv_lib_ipc_shmat = yes; then
33442 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33443 fi
33444
33445 fi
33446 fi
33447
33448 # Check for libraries that X11R6 Xt/Xaw programs need.
33449 ac_save_LDFLAGS=$LDFLAGS
33450 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33451 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33452 # check for ICE first), but we must link in the order -lSM -lICE or
33453 # we get undefined symbols. So assume we have SM if we have ICE.
33454 # These have to be linked with before -lX11, unlike the other
33455 # libraries we check for below, so use a different variable.
33456 # John Interrante, Karl Berry
33457 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33458 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33459 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33461 else
33462 ac_check_lib_save_LIBS=$LIBS
33463 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33464 cat >conftest.$ac_ext <<_ACEOF
33465 /* confdefs.h. */
33466 _ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470
33471 /* Override any GCC internal prototype to avoid an error.
33472 Use char because int might match the return type of a GCC
33473 builtin and then its argument prototype would still apply. */
33474 #ifdef __cplusplus
33475 extern "C"
33476 #endif
33477 char IceConnectionNumber ();
33478 int
33479 main ()
33480 {
33481 return IceConnectionNumber ();
33482 ;
33483 return 0;
33484 }
33485 _ACEOF
33486 rm -f conftest.$ac_objext conftest$ac_exeext
33487 if { (ac_try="$ac_link"
33488 case "(($ac_try" in
33489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33490 *) ac_try_echo=$ac_try;;
33491 esac
33492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33493 (eval "$ac_link") 2>conftest.er1
33494 ac_status=$?
33495 grep -v '^ *+' conftest.er1 >conftest.err
33496 rm -f conftest.er1
33497 cat conftest.err >&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); } && {
33500 test -z "$ac_c_werror_flag" ||
33501 test ! -s conftest.err
33502 } && test -s conftest$ac_exeext &&
33503 $as_test_x conftest$ac_exeext; then
33504 ac_cv_lib_ICE_IceConnectionNumber=yes
33505 else
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.$ac_ext >&5
33508
33509 ac_cv_lib_ICE_IceConnectionNumber=no
33510 fi
33511
33512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33513 conftest$ac_exeext conftest.$ac_ext
33514 LIBS=$ac_check_lib_save_LIBS
33515 fi
33516 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33517 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33518 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33519 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33520 fi
33521
33522 LDFLAGS=$ac_save_LDFLAGS
33523
33524 fi
33525
33526
33527 if test "$no_x" = "yes"; then
33528 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33529 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33530 { (exit 1); exit 1; }; }
33531 fi
33532
33533 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33534 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33535 AFMINSTALL=afminstall
33536 COMPILED_X_PROGRAM=0
33537
33538 fi
33539
33540 if test "$wxUSE_X11" = 1; then
33541 if test "$wxUSE_NANOX" = "yes"; then
33542 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33543 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33544 if test "x$MICROWIN" = x ; then
33545 { echo "$as_me:$LINENO: result: not found" >&5
33546 echo "${ECHO_T}not found" >&6; }
33547 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33548 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33549 { (exit 1); exit 1; }; }
33550 else
33551 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33552 echo "${ECHO_T}$MICROWIN" >&6; }
33553 cat >>confdefs.h <<\_ACEOF
33554 #define wxUSE_NANOX 1
33555 _ACEOF
33556
33557 fi
33558 fi
33559
33560 if test "$wxUSE_UNICODE" = "yes"; then
33561
33562
33563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33564 if test -n "$ac_tool_prefix"; then
33565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33566 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 else
33572 case $PKG_CONFIG in
33573 [\\/]* | ?:[\\/]*)
33574 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33575 ;;
33576 *)
33577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33578 for as_dir in $PATH
33579 do
33580 IFS=$as_save_IFS
33581 test -z "$as_dir" && as_dir=.
33582 for ac_exec_ext in '' $ac_executable_extensions; do
33583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33584 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33586 break 2
33587 fi
33588 done
33589 done
33590 IFS=$as_save_IFS
33591
33592 ;;
33593 esac
33594 fi
33595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33596 if test -n "$PKG_CONFIG"; then
33597 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33598 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33599 else
33600 { echo "$as_me:$LINENO: result: no" >&5
33601 echo "${ECHO_T}no" >&6; }
33602 fi
33603
33604
33605 fi
33606 if test -z "$ac_cv_path_PKG_CONFIG"; then
33607 ac_pt_PKG_CONFIG=$PKG_CONFIG
33608 # Extract the first word of "pkg-config", so it can be a program name with args.
33609 set dummy pkg-config; ac_word=$2
33610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33612 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33614 else
33615 case $ac_pt_PKG_CONFIG in
33616 [\\/]* | ?:[\\/]*)
33617 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33618 ;;
33619 *)
33620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33621 for as_dir in $PATH
33622 do
33623 IFS=$as_save_IFS
33624 test -z "$as_dir" && as_dir=.
33625 for ac_exec_ext in '' $ac_executable_extensions; do
33626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33627 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33629 break 2
33630 fi
33631 done
33632 done
33633 IFS=$as_save_IFS
33634
33635 ;;
33636 esac
33637 fi
33638 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33639 if test -n "$ac_pt_PKG_CONFIG"; then
33640 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33641 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33642 else
33643 { echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6; }
33645 fi
33646
33647 if test "x$ac_pt_PKG_CONFIG" = x; then
33648 PKG_CONFIG=""
33649 else
33650 case $cross_compiling:$ac_tool_warned in
33651 yes:)
33652 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33653 whose name does not start with the host triplet. If you think this
33654 configuration is useful to you, please write to autoconf@gnu.org." >&5
33655 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33656 whose name does not start with the host triplet. If you think this
33657 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33658 ac_tool_warned=yes ;;
33659 esac
33660 PKG_CONFIG=$ac_pt_PKG_CONFIG
33661 fi
33662 else
33663 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33664 fi
33665
33666 fi
33667 if test -n "$PKG_CONFIG"; then
33668 _pkg_min_version=0.9.0
33669 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33670 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33672 { echo "$as_me:$LINENO: result: yes" >&5
33673 echo "${ECHO_T}yes" >&6; }
33674 else
33675 { echo "$as_me:$LINENO: result: no" >&5
33676 echo "${ECHO_T}no" >&6; }
33677 PKG_CONFIG=""
33678 fi
33679
33680 fi
33681
33682
33683 pkg_failed=no
33684 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33685 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33686
33687 if test -n "$PKG_CONFIG"; then
33688 if test -n "$PANGOX_CFLAGS"; then
33689 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33690 else
33691 if test -n "$PKG_CONFIG" && \
33692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33693 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; then
33697 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33698 else
33699 pkg_failed=yes
33700 fi
33701 fi
33702 else
33703 pkg_failed=untried
33704 fi
33705 if test -n "$PKG_CONFIG"; then
33706 if test -n "$PANGOX_LIBS"; then
33707 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33708 else
33709 if test -n "$PKG_CONFIG" && \
33710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33711 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33712 ac_status=$?
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; then
33715 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33716 else
33717 pkg_failed=yes
33718 fi
33719 fi
33720 else
33721 pkg_failed=untried
33722 fi
33723
33724
33725
33726 if test $pkg_failed = yes; then
33727
33728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33729 _pkg_short_errors_supported=yes
33730 else
33731 _pkg_short_errors_supported=no
33732 fi
33733 if test $_pkg_short_errors_supported = yes; then
33734 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33735 else
33736 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33737 fi
33738 # Put the nasty error message in config.log where it belongs
33739 echo "$PANGOX_PKG_ERRORS" >&5
33740
33741
33742 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33743 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33744 { (exit 1); exit 1; }; }
33745
33746
33747 elif test $pkg_failed = untried; then
33748
33749 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33750 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33751 { (exit 1); exit 1; }; }
33752
33753
33754 else
33755 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33756 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33757 { echo "$as_me:$LINENO: result: yes" >&5
33758 echo "${ECHO_T}yes" >&6; }
33759
33760 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33761 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33762 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33763
33764 fi
33765
33766 pkg_failed=no
33767 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33768 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33769
33770 if test -n "$PKG_CONFIG"; then
33771 if test -n "$PANGOFT2_CFLAGS"; then
33772 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33773 else
33774 if test -n "$PKG_CONFIG" && \
33775 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33776 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33777 ac_status=$?
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; then
33780 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33781 else
33782 pkg_failed=yes
33783 fi
33784 fi
33785 else
33786 pkg_failed=untried
33787 fi
33788 if test -n "$PKG_CONFIG"; then
33789 if test -n "$PANGOFT2_LIBS"; then
33790 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33791 else
33792 if test -n "$PKG_CONFIG" && \
33793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33794 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33795 ac_status=$?
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; then
33798 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33799 else
33800 pkg_failed=yes
33801 fi
33802 fi
33803 else
33804 pkg_failed=untried
33805 fi
33806
33807
33808
33809 if test $pkg_failed = yes; then
33810
33811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33812 _pkg_short_errors_supported=yes
33813 else
33814 _pkg_short_errors_supported=no
33815 fi
33816 if test $_pkg_short_errors_supported = yes; then
33817 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33818 else
33819 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33820 fi
33821 # Put the nasty error message in config.log where it belongs
33822 echo "$PANGOFT2_PKG_ERRORS" >&5
33823
33824
33825 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33826 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33827 wxUSE_PRINTING_ARCHITECTURE="no"
33828
33829
33830 elif test $pkg_failed = untried; then
33831
33832 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33833 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33834 wxUSE_PRINTING_ARCHITECTURE="no"
33835
33836
33837 else
33838 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33839 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33840 { echo "$as_me:$LINENO: result: yes" >&5
33841 echo "${ECHO_T}yes" >&6; }
33842
33843 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33844 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33846
33847 fi
33848
33849 pkg_failed=no
33850 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33851 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33852
33853 if test -n "$PKG_CONFIG"; then
33854 if test -n "$PANGOXFT_CFLAGS"; then
33855 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33856 else
33857 if test -n "$PKG_CONFIG" && \
33858 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33859 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33860 ac_status=$?
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; then
33863 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33864 else
33865 pkg_failed=yes
33866 fi
33867 fi
33868 else
33869 pkg_failed=untried
33870 fi
33871 if test -n "$PKG_CONFIG"; then
33872 if test -n "$PANGOXFT_LIBS"; then
33873 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33874 else
33875 if test -n "$PKG_CONFIG" && \
33876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33877 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; then
33881 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33882 else
33883 pkg_failed=yes
33884 fi
33885 fi
33886 else
33887 pkg_failed=untried
33888 fi
33889
33890
33891
33892 if test $pkg_failed = yes; then
33893
33894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33895 _pkg_short_errors_supported=yes
33896 else
33897 _pkg_short_errors_supported=no
33898 fi
33899 if test $_pkg_short_errors_supported = yes; then
33900 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33901 else
33902 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33903 fi
33904 # Put the nasty error message in config.log where it belongs
33905 echo "$PANGOXFT_PKG_ERRORS" >&5
33906
33907
33908 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33909 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33910
33911
33912 elif test $pkg_failed = untried; then
33913
33914 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33915 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33916
33917
33918 else
33919 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33920 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33921 { echo "$as_me:$LINENO: result: yes" >&5
33922 echo "${ECHO_T}yes" >&6; }
33923
33924 cat >>confdefs.h <<\_ACEOF
33925 #define HAVE_PANGO_XFT 1
33926 _ACEOF
33927
33928 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33929 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33930 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33931
33932 fi
33933 save_LIBS="$LIBS"
33934 LIBS="$LIBS $PANGOX_LIBS"
33935
33936 for ac_func in pango_font_family_is_monospace
33937 do
33938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33943 else
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33952 #define $ac_func innocuous_$ac_func
33953
33954 /* System header to define __stub macros and hopefully few prototypes,
33955 which can conflict with char $ac_func (); below.
33956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33957 <limits.h> exists even on freestanding compilers. */
33958
33959 #ifdef __STDC__
33960 # include <limits.h>
33961 #else
33962 # include <assert.h>
33963 #endif
33964
33965 #undef $ac_func
33966
33967 /* Override any GCC internal prototype to avoid an error.
33968 Use char because int might match the return type of a GCC
33969 builtin and then its argument prototype would still apply. */
33970 #ifdef __cplusplus
33971 extern "C"
33972 #endif
33973 char $ac_func ();
33974 /* The GNU C library defines this for functions which it implements
33975 to always fail with ENOSYS. Some functions are actually named
33976 something starting with __ and the normal name is an alias. */
33977 #if defined __stub_$ac_func || defined __stub___$ac_func
33978 choke me
33979 #endif
33980
33981 int
33982 main ()
33983 {
33984 return $ac_func ();
33985 ;
33986 return 0;
33987 }
33988 _ACEOF
33989 rm -f conftest.$ac_objext conftest$ac_exeext
33990 if { (ac_try="$ac_link"
33991 case "(($ac_try" in
33992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33993 *) ac_try_echo=$ac_try;;
33994 esac
33995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33996 (eval "$ac_link") 2>conftest.er1
33997 ac_status=$?
33998 grep -v '^ *+' conftest.er1 >conftest.err
33999 rm -f conftest.er1
34000 cat conftest.err >&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } && {
34003 test -z "$ac_c_werror_flag" ||
34004 test ! -s conftest.err
34005 } && test -s conftest$ac_exeext &&
34006 $as_test_x conftest$ac_exeext; then
34007 eval "$as_ac_var=yes"
34008 else
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.$ac_ext >&5
34011
34012 eval "$as_ac_var=no"
34013 fi
34014
34015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34016 conftest$ac_exeext conftest.$ac_ext
34017 fi
34018 ac_res=`eval echo '${'$as_ac_var'}'`
34019 { echo "$as_me:$LINENO: result: $ac_res" >&5
34020 echo "${ECHO_T}$ac_res" >&6; }
34021 if test `eval echo '${'$as_ac_var'}'` = yes; then
34022 cat >>confdefs.h <<_ACEOF
34023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34024 _ACEOF
34025
34026 fi
34027 done
34028
34029 LIBS="$save_LIBS"
34030 fi
34031
34032 wxUSE_UNIVERSAL="yes"
34033
34034 if test "$wxUSE_NANOX" = "yes"; then
34035 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34036 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"
34037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34038 else
34039 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34040 fi
34041
34042 TOOLKIT=X11
34043 GUIDIST=X11_DIST
34044 fi
34045
34046 if test "$wxUSE_MOTIF" = 1; then
34047 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34048 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34049
34050 ac_find_includes=
34051 for ac_dir in $SEARCH_INCLUDE /usr/include;
34052 do
34053 if test -f "$ac_dir/Xm/Xm.h"; then
34054 ac_find_includes=$ac_dir
34055 break
34056 fi
34057 done
34058
34059 if test "$ac_find_includes" != "" ; then
34060 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34061 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34062
34063 if test "x$ac_find_includes" = "x/usr/include"; then
34064 ac_path_to_include=""
34065 else
34066 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34067 result=$?
34068 if test $result = 0; then
34069 ac_path_to_include=""
34070 else
34071 ac_path_to_include=" -I$ac_find_includes"
34072 fi
34073 fi
34074
34075 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34076 else
34077 save_CFLAGS=$CFLAGS
34078 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34079
34080 cat >conftest.$ac_ext <<_ACEOF
34081 /* confdefs.h. */
34082 _ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086
34087 #include <Xm/Xm.h>
34088
34089 int
34090 main ()
34091 {
34092
34093 int version;
34094 version = xmUseVersion;
34095
34096 ;
34097 return 0;
34098 }
34099 _ACEOF
34100 rm -f conftest.$ac_objext
34101 if { (ac_try="$ac_compile"
34102 case "(($ac_try" in
34103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34104 *) ac_try_echo=$ac_try;;
34105 esac
34106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107 (eval "$ac_compile") 2>conftest.er1
34108 ac_status=$?
34109 grep -v '^ *+' conftest.er1 >conftest.err
34110 rm -f conftest.er1
34111 cat conftest.err >&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); } && {
34114 test -z "$ac_c_werror_flag" ||
34115 test ! -s conftest.err
34116 } && test -s conftest.$ac_objext; then
34117
34118 { echo "$as_me:$LINENO: result: found in default search path" >&5
34119 echo "${ECHO_T}found in default search path" >&6; }
34120 COMPILED_X_PROGRAM=1
34121
34122 else
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126
34127 { echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6; }
34129 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34130 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34131 { (exit 1); exit 1; }; }
34132
34133
34134 fi
34135
34136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34137
34138 CFLAGS=$save_CFLAGS
34139 fi
34140
34141
34142 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34143 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34144
34145 ac_find_libraries=
34146 for ac_dir in $SEARCH_LIB;
34147 do
34148 for ac_extension in a so sl dylib dll.a; do
34149 if test -f "$ac_dir/libXm.$ac_extension"; then
34150 ac_find_libraries=$ac_dir
34151 break 2
34152 fi
34153 done
34154 done
34155
34156
34157 if test "x$ac_find_libraries" != "x" ; then
34158 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34159 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34160
34161
34162 if test "$ac_find_libraries" = "default location"; then
34163 ac_path_to_link=""
34164 else
34165 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34166 result=$?
34167 if test $result = 0; then
34168 ac_path_to_link=""
34169 else
34170 ac_path_to_link=" -L$ac_find_libraries"
34171 fi
34172 fi
34173
34174 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34175 else
34176 save_CFLAGS=$CFLAGS
34177 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34178 save_LIBS="$LIBS"
34179 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34180
34181 cat >conftest.$ac_ext <<_ACEOF
34182 /* confdefs.h. */
34183 _ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187
34188 #include <Xm/Xm.h>
34189
34190 int
34191 main ()
34192 {
34193
34194 int version;
34195 version = xmUseVersion;
34196
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 rm -f conftest.$ac_objext conftest$ac_exeext
34202 if { (ac_try="$ac_link"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34206 esac
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_link") 2>conftest.er1
34209 ac_status=$?
34210 grep -v '^ *+' conftest.er1 >conftest.err
34211 rm -f conftest.er1
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest$ac_exeext &&
34218 $as_test_x conftest$ac_exeext; then
34219
34220 { echo "$as_me:$LINENO: result: found in default search path" >&5
34221 echo "${ECHO_T}found in default search path" >&6; }
34222 COMPILED_X_PROGRAM=1
34223
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228
34229 { echo "$as_me:$LINENO: result: no" >&5
34230 echo "${ECHO_T}no" >&6; }
34231 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34232 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34233 { (exit 1); exit 1; }; }
34234
34235
34236 fi
34237
34238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34239 conftest$ac_exeext conftest.$ac_ext
34240
34241 CFLAGS=$save_CFLAGS
34242 LIBS="$save_LIBS"
34243 fi
34244
34245 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34246 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34247 libp_link=""
34248 libsm_ice_link=""
34249 libs_found=0
34250 for libp in "" " -lXp"; do
34251 if test "$libs_found" = "0"; then
34252 for libsm_ice in "" " -lSM -lICE"; do
34253 if test "$libs_found" = "0"; then
34254 save_LIBS="$LIBS"
34255 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34256 save_CFLAGS=$CFLAGS
34257 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #include <Xm/Xm.h>
34267 #include <Xm/List.h>
34268
34269 int
34270 main ()
34271 {
34272
34273 XmString string = NULL;
34274 Widget w = NULL;
34275 int position = 0;
34276 XmListAddItem(w, string, position);
34277
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext conftest$ac_exeext
34283 if { (ac_try="$ac_link"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34286 *) ac_try_echo=$ac_try;;
34287 esac
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_link") 2>conftest.er1
34290 ac_status=$?
34291 grep -v '^ *+' conftest.er1 >conftest.err
34292 rm -f conftest.er1
34293 cat conftest.err >&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest$ac_exeext &&
34299 $as_test_x conftest$ac_exeext; then
34300
34301 libp_link="$libp"
34302 libsm_ice_link="$libsm_ice"
34303 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34304 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34305 libs_found=1
34306
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34310
34311
34312
34313 fi
34314
34315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34316 conftest$ac_exeext conftest.$ac_ext
34317
34318 LIBS="$save_LIBS"
34319 CFLAGS=$save_CFLAGS
34320 fi
34321 done
34322 fi
34323 done
34324
34325 if test "$libs_found" = "0"; then
34326 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34327 echo "${ECHO_T}can't find the right libraries" >&6; }
34328 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34329 echo "$as_me: error: can't link a simple motif program" >&2;}
34330 { (exit 1); exit 1; }; }
34331 fi
34332
34333 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34334 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34335 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
34338 ac_check_lib_save_LIBS=$LIBS
34339 LIBS="-lSgm $LIBS"
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346
34347 /* Override any GCC internal prototype to avoid an error.
34348 Use char because int might match the return type of a GCC
34349 builtin and then its argument prototype would still apply. */
34350 #ifdef __cplusplus
34351 extern "C"
34352 #endif
34353 char SgCreateList ();
34354 int
34355 main ()
34356 {
34357 return SgCreateList ();
34358 ;
34359 return 0;
34360 }
34361 _ACEOF
34362 rm -f conftest.$ac_objext conftest$ac_exeext
34363 if { (ac_try="$ac_link"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34367 esac
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_link") 2>conftest.er1
34370 ac_status=$?
34371 grep -v '^ *+' conftest.er1 >conftest.err
34372 rm -f conftest.er1
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest$ac_exeext &&
34379 $as_test_x conftest$ac_exeext; then
34380 ac_cv_lib_Sgm_SgCreateList=yes
34381 else
34382 echo "$as_me: failed program was:" >&5
34383 sed 's/^/| /' conftest.$ac_ext >&5
34384
34385 ac_cv_lib_Sgm_SgCreateList=no
34386 fi
34387
34388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34389 conftest$ac_exeext conftest.$ac_ext
34390 LIBS=$ac_check_lib_save_LIBS
34391 fi
34392 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34393 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34394 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34395 libsgm_link=" -lSgm"
34396 fi
34397
34398
34399 save_CFLAGS=$CFLAGS
34400 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34401
34402 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34403 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34404 if test "${wx_cv_lib_motif2+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 else
34407 cat >conftest.$ac_ext <<_ACEOF
34408 /* confdefs.h. */
34409 _ACEOF
34410 cat confdefs.h >>conftest.$ac_ext
34411 cat >>conftest.$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413
34414 #include <Xm/Xm.h>
34415
34416 int
34417 main ()
34418 {
34419
34420 #if XmVersion < 2000
34421 Not Motif 2
34422 #endif
34423
34424 ;
34425 return 0;
34426 }
34427 _ACEOF
34428 rm -f conftest.$ac_objext
34429 if { (ac_try="$ac_compile"
34430 case "(($ac_try" in
34431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34432 *) ac_try_echo=$ac_try;;
34433 esac
34434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34435 (eval "$ac_compile") 2>conftest.er1
34436 ac_status=$?
34437 grep -v '^ *+' conftest.er1 >conftest.err
34438 rm -f conftest.er1
34439 cat conftest.err >&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } && {
34442 test -z "$ac_c_werror_flag" ||
34443 test ! -s conftest.err
34444 } && test -s conftest.$ac_objext; then
34445 wx_cv_lib_motif2="yes"
34446 else
34447 echo "$as_me: failed program was:" >&5
34448 sed 's/^/| /' conftest.$ac_ext >&5
34449
34450 wx_cv_lib_motif2="no"
34451 fi
34452
34453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34454 fi
34455 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34456 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34457 if test "$wx_cv_lib_motif2" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define __WXMOTIF20__ 1
34460 _ACEOF
34461
34462 else
34463 cat >>confdefs.h <<\_ACEOF
34464 #define __WXMOTIF20__ 0
34465 _ACEOF
34466
34467 fi
34468
34469 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34470 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34471 if test "${wx_cv_lib_lesstif+set}" = set; then
34472 echo $ECHO_N "(cached) $ECHO_C" >&6
34473 else
34474 cat >conftest.$ac_ext <<_ACEOF
34475 /* confdefs.h. */
34476 _ACEOF
34477 cat confdefs.h >>conftest.$ac_ext
34478 cat >>conftest.$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34480
34481 #include <Xm/Xm.h>
34482
34483 int
34484 main ()
34485 {
34486
34487 #if !defined(LesstifVersion) || LesstifVersion <= 0
34488 Not Lesstif
34489 #endif
34490
34491 ;
34492 return 0;
34493 }
34494 _ACEOF
34495 rm -f conftest.$ac_objext
34496 if { (ac_try="$ac_compile"
34497 case "(($ac_try" in
34498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34499 *) ac_try_echo=$ac_try;;
34500 esac
34501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34502 (eval "$ac_compile") 2>conftest.er1
34503 ac_status=$?
34504 grep -v '^ *+' conftest.er1 >conftest.err
34505 rm -f conftest.er1
34506 cat conftest.err >&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); } && {
34509 test -z "$ac_c_werror_flag" ||
34510 test ! -s conftest.err
34511 } && test -s conftest.$ac_objext; then
34512 wx_cv_lib_lesstif="yes"
34513 else
34514 echo "$as_me: failed program was:" >&5
34515 sed 's/^/| /' conftest.$ac_ext >&5
34516
34517 wx_cv_lib_lesstif="no"
34518 fi
34519
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521
34522 fi
34523 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34524 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34525 if test "$wx_cv_lib_lesstif" = "yes"; then
34526 cat >>confdefs.h <<\_ACEOF
34527 #define __WXLESSTIF__ 1
34528 _ACEOF
34529
34530 else
34531 cat >>confdefs.h <<\_ACEOF
34532 #define __WXLESSTIF__ 0
34533 _ACEOF
34534
34535 fi
34536
34537 CFLAGS=$save_CFLAGS
34538
34539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34540 TOOLKIT=MOTIF
34541 GUIDIST=MOTIF_DIST
34542 fi
34543
34544 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34545 if test "$wxUSE_LIBXPM" = "sys"; then
34546 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34547 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34548
34549 ac_find_libraries=
34550 for ac_dir in $SEARCH_LIB;
34551 do
34552 for ac_extension in a so sl dylib dll.a; do
34553 if test -f "$ac_dir/libXpm.$ac_extension"; then
34554 ac_find_libraries=$ac_dir
34555 break 2
34556 fi
34557 done
34558 done
34559
34560 if test "$ac_find_libraries" != "" ; then
34561
34562 if test "$ac_find_libraries" = "default location"; then
34563 ac_path_to_link=""
34564 else
34565 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34566 result=$?
34567 if test $result = 0; then
34568 ac_path_to_link=""
34569 else
34570 ac_path_to_link=" -L$ac_find_libraries"
34571 fi
34572 fi
34573
34574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34575 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34576 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34577
34578 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34579 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34580 if test "${wx_cv_x11_xpm_h+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 else
34583
34584 save_CFLAGS=$CFLAGS
34585 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34586
34587 cat >conftest.$ac_ext <<_ACEOF
34588 /* confdefs.h. */
34589 _ACEOF
34590 cat confdefs.h >>conftest.$ac_ext
34591 cat >>conftest.$ac_ext <<_ACEOF
34592 /* end confdefs.h. */
34593
34594 #include <X11/xpm.h>
34595
34596 int
34597 main ()
34598 {
34599
34600 int version;
34601 version = XpmLibraryVersion();
34602
34603 ;
34604 return 0;
34605 }
34606 _ACEOF
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34611 *) ac_try_echo=$ac_try;;
34612 esac
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34615 ac_status=$?
34616 grep -v '^ *+' conftest.er1 >conftest.err
34617 rm -f conftest.er1
34618 cat conftest.err >&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.$ac_objext; then
34624 wx_cv_x11_xpm_h=yes
34625 else
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.$ac_ext >&5
34628
34629 wx_cv_x11_xpm_h=no
34630
34631 fi
34632
34633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34634
34635 CFLAGS=$save_CFLAGS
34636
34637
34638 fi
34639 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34640 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34641
34642 if test $wx_cv_x11_xpm_h = "yes"; then
34643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34644 cat >>confdefs.h <<\_ACEOF
34645 #define wxHAVE_LIB_XPM 1
34646 _ACEOF
34647
34648 else
34649 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34650 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34651 fi
34652 fi
34653
34654 fi
34655
34656 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34657 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34658 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661 ac_check_lib_save_LIBS=$LIBS
34662 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34663 cat >conftest.$ac_ext <<_ACEOF
34664 /* confdefs.h. */
34665 _ACEOF
34666 cat confdefs.h >>conftest.$ac_ext
34667 cat >>conftest.$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34669
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34673 #ifdef __cplusplus
34674 extern "C"
34675 #endif
34676 char XShapeQueryExtension ();
34677 int
34678 main ()
34679 {
34680 return XShapeQueryExtension ();
34681 ;
34682 return 0;
34683 }
34684 _ACEOF
34685 rm -f conftest.$ac_objext conftest$ac_exeext
34686 if { (ac_try="$ac_link"
34687 case "(($ac_try" in
34688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34689 *) ac_try_echo=$ac_try;;
34690 esac
34691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34692 (eval "$ac_link") 2>conftest.er1
34693 ac_status=$?
34694 grep -v '^ *+' conftest.er1 >conftest.err
34695 rm -f conftest.er1
34696 cat conftest.err >&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); } && {
34699 test -z "$ac_c_werror_flag" ||
34700 test ! -s conftest.err
34701 } && test -s conftest$ac_exeext &&
34702 $as_test_x conftest$ac_exeext; then
34703 ac_cv_lib_Xext_XShapeQueryExtension=yes
34704 else
34705 echo "$as_me: failed program was:" >&5
34706 sed 's/^/| /' conftest.$ac_ext >&5
34707
34708 ac_cv_lib_Xext_XShapeQueryExtension=no
34709 fi
34710
34711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34712 conftest$ac_exeext conftest.$ac_ext
34713 LIBS=$ac_check_lib_save_LIBS
34714 fi
34715 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34716 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34717 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34718
34719 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34720 wxHAVE_XEXT_LIB=1
34721
34722 fi
34723
34724
34725 if test "$wxHAVE_XEXT_LIB" = 1; then
34726 save_CFLAGS="$CFLAGS"
34727 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34728
34729 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34730 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34731 cat >conftest.$ac_ext <<_ACEOF
34732 /* confdefs.h. */
34733 _ACEOF
34734 cat confdefs.h >>conftest.$ac_ext
34735 cat >>conftest.$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34737
34738 #include <X11/Xlib.h>
34739 #include <X11/extensions/shape.h>
34740
34741 int
34742 main ()
34743 {
34744
34745 int dummy1, dummy2;
34746 XShapeQueryExtension((Display*)NULL,
34747 (int*)NULL, (int*)NULL);
34748
34749 ;
34750 return 0;
34751 }
34752 _ACEOF
34753 rm -f conftest.$ac_objext
34754 if { (ac_try="$ac_compile"
34755 case "(($ac_try" in
34756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34757 *) ac_try_echo=$ac_try;;
34758 esac
34759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34760 (eval "$ac_compile") 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } && {
34767 test -z "$ac_c_werror_flag" ||
34768 test ! -s conftest.err
34769 } && test -s conftest.$ac_objext; then
34770
34771 cat >>confdefs.h <<\_ACEOF
34772 #define HAVE_XSHAPE 1
34773 _ACEOF
34774
34775 { echo "$as_me:$LINENO: result: found" >&5
34776 echo "${ECHO_T}found" >&6; }
34777
34778 else
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34781
34782
34783 { echo "$as_me:$LINENO: result: not found" >&5
34784 echo "${ECHO_T}not found" >&6; }
34785
34786 fi
34787
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789 CFLAGS="$save_CFLAGS"
34790
34791 fi
34792 fi
34793
34794 if test "$wxUSE_MAC" = 1; then
34795 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34796 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34797 if test "$GCC" = yes; then
34798 { echo "$as_me:$LINENO: result: gcc" >&5
34799 echo "${ECHO_T}gcc" >&6; }
34800 CPPFLAGS_PASCAL="-fpascal-strings"
34801 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34802 { echo "$as_me:$LINENO: result: xlc" >&5
34803 echo "${ECHO_T}xlc" >&6; }
34804 CPPFLAGS_PASCAL="-qmacpstr"
34805 else
34806 { echo "$as_me:$LINENO: result: none" >&5
34807 echo "${ECHO_T}none" >&6; }
34808 fi
34809
34810 if test "x$wxUSE_UNIX" = "xyes"; then
34811 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34812 else
34813 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34814 fi
34815
34816 TOOLKIT=MAC
34817 GUIDIST=MACX_DIST
34818 WXBASEPORT="_carbon"
34819 fi
34820
34821 if test "$wxUSE_COCOA" = 1; then
34822 TOOLKIT=COCOA
34823 GUIDIST=COCOA_DIST
34824 fi
34825
34826 if test "$wxUSE_PM" = 1; then
34827 TOOLKIT=PM
34828 GUIDIST=PM_DIST
34829 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34830 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34831 if test "${wx_cv_spbcdata+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34833 else
34834
34835 cat >conftest.$ac_ext <<_ACEOF
34836 /* confdefs.h. */
34837 _ACEOF
34838 cat confdefs.h >>conftest.$ac_ext
34839 cat >>conftest.$ac_ext <<_ACEOF
34840 /* end confdefs.h. */
34841
34842 #define INCL_PM
34843 #include <os2.h>
34844
34845 int
34846 main ()
34847 {
34848
34849 SPBCDATA test;
34850
34851 ;
34852 return 0;
34853 }
34854 _ACEOF
34855 rm -f conftest.$ac_objext
34856 if { (ac_try="$ac_compile"
34857 case "(($ac_try" in
34858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34859 *) ac_try_echo=$ac_try;;
34860 esac
34861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34862 (eval "$ac_compile") 2>conftest.er1
34863 ac_status=$?
34864 grep -v '^ *+' conftest.er1 >conftest.err
34865 rm -f conftest.er1
34866 cat conftest.err >&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } && {
34869 test -z "$ac_c_werror_flag" ||
34870 test ! -s conftest.err
34871 } && test -s conftest.$ac_objext; then
34872 wx_cv_spbcdata=yes
34873 else
34874 echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.$ac_ext >&5
34876
34877 wx_cv_spbcdata=no
34878
34879 fi
34880
34881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34882
34883
34884 fi
34885 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34886 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34887
34888 if test $wx_cv_spbcdata = "yes"; then
34889 cat >>confdefs.h <<\_ACEOF
34890 #define HAVE_SPBCDATA 1
34891 _ACEOF
34892
34893 fi
34894 fi
34895
34896 if test "$TOOLKIT" = "PM" ; then
34897 TOOLKIT_DIR="os2"
34898 else
34899 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34900 fi
34901
34902 if test "$wxUSE_UNIVERSAL" = "yes"; then
34903 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34904 WIDGET_SET=univ
34905 fi
34906
34907 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34908 DISTDIR="wx\$(TOOLKIT)"
34909 else
34910 USE_GUI=0
34911
34912 TOOLKIT_DIR="base"
34913
34914 if test "$USE_WIN32" = 1 ; then
34915 TOOLKIT="MSW"
34916 fi
34917
34918 GUIDIST="BASE_DIST"
34919 DISTDIR="wxBase"
34920 fi
34921
34922
34923
34924 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34925 if test "$TOOLKIT" = "DFB" ; then
34926 wxUSE_UNICODE_UTF8=yes
34927 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34928 wxUSE_UNICODE_UTF8=yes
34929 elif test "$USE_OS2" = "1" ; then
34930 wxUSE_UNICODE_UTF8=yes
34931 else
34932 wxUSE_UNICODE_UTF8=no
34933 fi
34934 fi
34935
34936
34937 if test "$wxUSE_GUI" = "yes"; then
34938 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34939
34940 for ac_header in X11/Xlib.h
34941 do
34942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34946 echo $ECHO_N "(cached) $ECHO_C" >&6
34947 else
34948 cat >conftest.$ac_ext <<_ACEOF
34949 /* confdefs.h. */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954
34955
34956 #include <$ac_header>
34957 _ACEOF
34958 rm -f conftest.$ac_objext
34959 if { (ac_try="$ac_compile"
34960 case "(($ac_try" in
34961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34962 *) ac_try_echo=$ac_try;;
34963 esac
34964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34965 (eval "$ac_compile") 2>conftest.er1
34966 ac_status=$?
34967 grep -v '^ *+' conftest.er1 >conftest.err
34968 rm -f conftest.er1
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } && {
34972 test -z "$ac_c_werror_flag" ||
34973 test ! -s conftest.err
34974 } && test -s conftest.$ac_objext; then
34975 eval "$as_ac_Header=yes"
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34979
34980 eval "$as_ac_Header=no"
34981 fi
34982
34983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34984 fi
34985 ac_res=`eval echo '${'$as_ac_Header'}'`
34986 { echo "$as_me:$LINENO: result: $ac_res" >&5
34987 echo "${ECHO_T}$ac_res" >&6; }
34988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34989 cat >>confdefs.h <<_ACEOF
34990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34991 _ACEOF
34992
34993 fi
34994
34995 done
34996
34997
34998 for ac_header in X11/XKBlib.h
34999 do
35000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35006 cat >conftest.$ac_ext <<_ACEOF
35007 /* confdefs.h. */
35008 _ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35012
35013 #if HAVE_X11_XLIB_H
35014 #include <X11/Xlib.h>
35015 #endif
35016
35017
35018 #include <$ac_header>
35019 _ACEOF
35020 rm -f conftest.$ac_objext
35021 if { (ac_try="$ac_compile"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35025 esac
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_compile") 2>conftest.er1
35028 ac_status=$?
35029 grep -v '^ *+' conftest.er1 >conftest.err
35030 rm -f conftest.er1
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest.$ac_objext; then
35037 eval "$as_ac_Header=yes"
35038 else
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35041
35042 eval "$as_ac_Header=no"
35043 fi
35044
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35046 fi
35047 ac_res=`eval echo '${'$as_ac_Header'}'`
35048 { echo "$as_me:$LINENO: result: $ac_res" >&5
35049 echo "${ECHO_T}$ac_res" >&6; }
35050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35051 cat >>confdefs.h <<_ACEOF
35052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35053 _ACEOF
35054
35055 fi
35056
35057 done
35058
35059 fi
35060 fi
35061
35062
35063
35064 IODBC_C_SRC=""
35065
35066
35067 if test "$TOOLKIT" != "MSW" ; then
35068
35069 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35070
35071 { echo "$as_me:$LINENO: checking for sql.h" >&5
35072 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35073 if test "${ac_cv_header_sql_h+set}" = set; then
35074 echo $ECHO_N "(cached) $ECHO_C" >&6
35075 else
35076 cat >conftest.$ac_ext <<_ACEOF
35077 /* confdefs.h. */
35078 _ACEOF
35079 cat confdefs.h >>conftest.$ac_ext
35080 cat >>conftest.$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35082
35083
35084 #include <sql.h>
35085 _ACEOF
35086 rm -f conftest.$ac_objext
35087 if { (ac_try="$ac_compile"
35088 case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35091 esac
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_compile") 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } && {
35100 test -z "$ac_c_werror_flag" ||
35101 test ! -s conftest.err
35102 } && test -s conftest.$ac_objext; then
35103 ac_cv_header_sql_h=yes
35104 else
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35107
35108 ac_cv_header_sql_h=no
35109 fi
35110
35111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35112 fi
35113 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35114 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35115 if test $ac_cv_header_sql_h = yes; then
35116 found_sql_h=1
35117 fi
35118
35119
35120 if test "x$found_sql_h" = "x1" ; then
35121 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35122 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35123 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126 ac_check_lib_save_LIBS=$LIBS
35127 LIBS="-liodbc $LIBS"
35128 cat >conftest.$ac_ext <<_ACEOF
35129 /* confdefs.h. */
35130 _ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h. */
35134
35135 /* Override any GCC internal prototype to avoid an error.
35136 Use char because int might match the return type of a GCC
35137 builtin and then its argument prototype would still apply. */
35138 #ifdef __cplusplus
35139 extern "C"
35140 #endif
35141 char SQLAllocEnv ();
35142 int
35143 main ()
35144 {
35145 return SQLAllocEnv ();
35146 ;
35147 return 0;
35148 }
35149 _ACEOF
35150 rm -f conftest.$ac_objext conftest$ac_exeext
35151 if { (ac_try="$ac_link"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35155 esac
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_link") 2>conftest.er1
35158 ac_status=$?
35159 grep -v '^ *+' conftest.er1 >conftest.err
35160 rm -f conftest.er1
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest$ac_exeext &&
35167 $as_test_x conftest$ac_exeext; then
35168 ac_cv_lib_iodbc_SQLAllocEnv=yes
35169 else
35170 echo "$as_me: failed program was:" >&5
35171 sed 's/^/| /' conftest.$ac_ext >&5
35172
35173 ac_cv_lib_iodbc_SQLAllocEnv=no
35174 fi
35175
35176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35177 conftest$ac_exeext conftest.$ac_ext
35178 LIBS=$ac_check_lib_save_LIBS
35179 fi
35180 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35181 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35182 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35183 ODBC_LINK=" -liodbc"
35184 else
35185
35186 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35187 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35188 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 else
35191 ac_check_lib_save_LIBS=$LIBS
35192 LIBS="-lunixodbc $LIBS"
35193 cat >conftest.$ac_ext <<_ACEOF
35194 /* confdefs.h. */
35195 _ACEOF
35196 cat confdefs.h >>conftest.$ac_ext
35197 cat >>conftest.$ac_ext <<_ACEOF
35198 /* end confdefs.h. */
35199
35200 /* Override any GCC internal prototype to avoid an error.
35201 Use char because int might match the return type of a GCC
35202 builtin and then its argument prototype would still apply. */
35203 #ifdef __cplusplus
35204 extern "C"
35205 #endif
35206 char SQLAllocEnv ();
35207 int
35208 main ()
35209 {
35210 return SQLAllocEnv ();
35211 ;
35212 return 0;
35213 }
35214 _ACEOF
35215 rm -f conftest.$ac_objext conftest$ac_exeext
35216 if { (ac_try="$ac_link"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35220 esac
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_link") 2>conftest.er1
35223 ac_status=$?
35224 grep -v '^ *+' conftest.er1 >conftest.err
35225 rm -f conftest.er1
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest$ac_exeext &&
35232 $as_test_x conftest$ac_exeext; then
35233 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35234 else
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35237
35238 ac_cv_lib_unixodbc_SQLAllocEnv=no
35239 fi
35240
35241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35242 conftest$ac_exeext conftest.$ac_ext
35243 LIBS=$ac_check_lib_save_LIBS
35244 fi
35245 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35246 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35247 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35248 ODBC_LINK=" -lunixodbc"
35249 else
35250
35251 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35252 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35253 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35254 echo $ECHO_N "(cached) $ECHO_C" >&6
35255 else
35256 ac_check_lib_save_LIBS=$LIBS
35257 LIBS="-lodbc $LIBS"
35258 cat >conftest.$ac_ext <<_ACEOF
35259 /* confdefs.h. */
35260 _ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264
35265 /* Override any GCC internal prototype to avoid an error.
35266 Use char because int might match the return type of a GCC
35267 builtin and then its argument prototype would still apply. */
35268 #ifdef __cplusplus
35269 extern "C"
35270 #endif
35271 char SQLAllocEnv ();
35272 int
35273 main ()
35274 {
35275 return SQLAllocEnv ();
35276 ;
35277 return 0;
35278 }
35279 _ACEOF
35280 rm -f conftest.$ac_objext conftest$ac_exeext
35281 if { (ac_try="$ac_link"
35282 case "(($ac_try" in
35283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35284 *) ac_try_echo=$ac_try;;
35285 esac
35286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35287 (eval "$ac_link") 2>conftest.er1
35288 ac_status=$?
35289 grep -v '^ *+' conftest.er1 >conftest.err
35290 rm -f conftest.er1
35291 cat conftest.err >&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); } && {
35294 test -z "$ac_c_werror_flag" ||
35295 test ! -s conftest.err
35296 } && test -s conftest$ac_exeext &&
35297 $as_test_x conftest$ac_exeext; then
35298 ac_cv_lib_odbc_SQLAllocEnv=yes
35299 else
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35302
35303 ac_cv_lib_odbc_SQLAllocEnv=no
35304 fi
35305
35306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35307 conftest$ac_exeext conftest.$ac_ext
35308 LIBS=$ac_check_lib_save_LIBS
35309 fi
35310 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35311 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35312 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35313 ODBC_LINK=" -lodbc"
35314 fi
35315
35316
35317 fi
35318
35319
35320 fi
35321
35322 fi
35323 if test "x$ODBC_LINK" = "x" ; then
35324 if test "$wxUSE_ODBC" = "sys" ; then
35325 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35326 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35327 { (exit 1); exit 1; }; }
35328 else
35329 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35330 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35331 wxUSE_ODBC=builtin
35332 fi
35333 else
35334 wxUSE_ODBC=sys
35335 fi
35336 fi
35337
35338 if test "$wxUSE_ODBC" = "builtin" ; then
35339 cat >>confdefs.h <<\_ACEOF
35340 #define wxUSE_BUILTIN_IODBC 1
35341 _ACEOF
35342
35343 fi
35344 fi
35345
35346 if test "$wxUSE_ODBC" != "no" ; then
35347 cat >>confdefs.h <<\_ACEOF
35348 #define wxUSE_ODBC 1
35349 _ACEOF
35350
35351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35352
35353 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35354 fi
35355
35356
35357 if test "$wxUSE_DISPLAY" = "yes"; then
35358 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35359 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35360 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35361
35362 ac_find_libraries=
35363 for ac_dir in $SEARCH_LIB;
35364 do
35365 for ac_extension in a so sl dylib dll.a; do
35366 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35367 ac_find_libraries=$ac_dir
35368 break 2
35369 fi
35370 done
35371 done
35372
35373 if test "$ac_find_libraries" != "" ; then
35374
35375 if test "$ac_find_libraries" = "default location"; then
35376 ac_path_to_link=""
35377 else
35378 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35379 result=$?
35380 if test $result = 0; then
35381 ac_path_to_link=""
35382 else
35383 ac_path_to_link=" -L$ac_find_libraries"
35384 fi
35385 fi
35386
35387 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35388 LDFLAGS="$LDFLAGS $ac_path_to_link"
35389 fi
35390 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35391 { echo "$as_me:$LINENO: result: yes" >&5
35392 echo "${ECHO_T}yes" >&6; }
35393
35394 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35395 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35396
35397 ac_find_libraries=
35398 for ac_dir in $SEARCH_LIB;
35399 do
35400 for ac_extension in a so sl dylib dll.a; do
35401 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35402 ac_find_libraries=$ac_dir
35403 break 2
35404 fi
35405 done
35406 done
35407
35408 if test "$ac_find_libraries" != "" ; then
35409 { echo "$as_me:$LINENO: result: yes" >&5
35410 echo "${ECHO_T}yes" >&6; }
35411
35412 for ac_header in X11/extensions/xf86vmode.h
35413 do
35414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 else
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426
35427 #if HAVE_X11_XLIB_H
35428 #include <X11/Xlib.h>
35429 #endif
35430
35431
35432 #include <$ac_header>
35433 _ACEOF
35434 rm -f conftest.$ac_objext
35435 if { (ac_try="$ac_compile"
35436 case "(($ac_try" in
35437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35438 *) ac_try_echo=$ac_try;;
35439 esac
35440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35441 (eval "$ac_compile") 2>conftest.er1
35442 ac_status=$?
35443 grep -v '^ *+' conftest.er1 >conftest.err
35444 rm -f conftest.er1
35445 cat conftest.err >&5
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); } && {
35448 test -z "$ac_c_werror_flag" ||
35449 test ! -s conftest.err
35450 } && test -s conftest.$ac_objext; then
35451 eval "$as_ac_Header=yes"
35452 else
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35455
35456 eval "$as_ac_Header=no"
35457 fi
35458
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35460 fi
35461 ac_res=`eval echo '${'$as_ac_Header'}'`
35462 { echo "$as_me:$LINENO: result: $ac_res" >&5
35463 echo "${ECHO_T}$ac_res" >&6; }
35464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35465 cat >>confdefs.h <<_ACEOF
35466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35467 _ACEOF
35468
35469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35470
35471 fi
35472
35473 done
35474
35475 else
35476 { echo "$as_me:$LINENO: result: no" >&5
35477 echo "${ECHO_T}no" >&6; }
35478 fi
35479
35480 else
35481 { echo "$as_me:$LINENO: result: no" >&5
35482 echo "${ECHO_T}no" >&6; }
35483 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35484 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35485 wxUSE_DISPLAY="no"
35486 fi
35487 elif test "$wxUSE_MSW" = 1; then
35488 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35489 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35490 if test "${ac_cv_header_ddraw_h+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493 cat >conftest.$ac_ext <<_ACEOF
35494 /* confdefs.h. */
35495 _ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499 #include <windows.h>
35500
35501 #include <ddraw.h>
35502 _ACEOF
35503 rm -f conftest.$ac_objext
35504 if { (ac_try="$ac_compile"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35507 *) ac_try_echo=$ac_try;;
35508 esac
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_compile") 2>conftest.er1
35511 ac_status=$?
35512 grep -v '^ *+' conftest.er1 >conftest.err
35513 rm -f conftest.er1
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } && {
35517 test -z "$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 } && test -s conftest.$ac_objext; then
35520 ac_cv_header_ddraw_h=yes
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525 ac_cv_header_ddraw_h=no
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 fi
35530 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35531 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35532
35533
35534 fi
35535 fi
35536
35537 if test "$wxUSE_DETECT_SM" = "yes"; then
35538 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35539 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35540 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35541
35542 ac_find_libraries=
35543 for ac_dir in $SEARCH_LIB;
35544 do
35545 for ac_extension in a so sl dylib dll.a; do
35546 if test -f "$ac_dir/libSM.$ac_extension"; then
35547 ac_find_libraries=$ac_dir
35548 break 2
35549 fi
35550 done
35551 done
35552
35553 if test "$ac_find_libraries" != "" ; then
35554
35555 if test "$ac_find_libraries" = "default location"; then
35556 ac_path_to_link=""
35557 else
35558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35559 result=$?
35560 if test $result = 0; then
35561 ac_path_to_link=""
35562 else
35563 ac_path_to_link=" -L$ac_find_libraries"
35564 fi
35565 fi
35566
35567 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35568 LDFLAGS="$LDFLAGS $ac_path_to_link"
35569 fi
35570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35571 { echo "$as_me:$LINENO: result: yes" >&5
35572 echo "${ECHO_T}yes" >&6; }
35573 else
35574 { echo "$as_me:$LINENO: result: no" >&5
35575 echo "${ECHO_T}no" >&6; }
35576 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35577 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35578 wxUSE_DETECT_SM="no"
35579 fi
35580 else
35581 wxUSE_DETECT_SM="no"
35582 fi
35583 fi
35584
35585
35586
35587 USE_OPENGL=0
35588 if test "$wxUSE_OPENGL" = "yes"; then
35589 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35590 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35591 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35592 wxUSE_OPENGL="no"
35593 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35594 OPENGL_LIBS="-framework OpenGL -framework AGL"
35595 elif test "$wxUSE_MSW" = 1; then
35596 OPENGL_LIBS="-lopengl32 -lglu32"
35597 else
35598 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35599 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35600
35601 ac_find_includes=
35602 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35603 do
35604 if test -f "$ac_dir/GL/gl.h"; then
35605 ac_find_includes=$ac_dir
35606 break
35607 fi
35608 done
35609
35610 if test "$ac_find_includes" != "" ; then
35611 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35612 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35613
35614 if test "x$ac_find_includes" = "x/usr/include"; then
35615 ac_path_to_include=""
35616 else
35617 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35618 result=$?
35619 if test $result = 0; then
35620 ac_path_to_include=""
35621 else
35622 ac_path_to_include=" -I$ac_find_includes"
35623 fi
35624 fi
35625
35626 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35627 else
35628 { echo "$as_me:$LINENO: result: not found" >&5
35629 echo "${ECHO_T}not found" >&6; }
35630 fi
35631
35632 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35633 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35634 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 else
35637 cat >conftest.$ac_ext <<_ACEOF
35638 /* confdefs.h. */
35639 _ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35643
35644
35645 #include <GL/gl.h>
35646 _ACEOF
35647 rm -f conftest.$ac_objext
35648 if { (ac_try="$ac_compile"
35649 case "(($ac_try" in
35650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35651 *) ac_try_echo=$ac_try;;
35652 esac
35653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35654 (eval "$ac_compile") 2>conftest.er1
35655 ac_status=$?
35656 grep -v '^ *+' conftest.er1 >conftest.err
35657 rm -f conftest.er1
35658 cat conftest.err >&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); } && {
35661 test -z "$ac_c_werror_flag" ||
35662 test ! -s conftest.err
35663 } && test -s conftest.$ac_objext; then
35664 ac_cv_header_GL_gl_h=yes
35665 else
35666 echo "$as_me: failed program was:" >&5
35667 sed 's/^/| /' conftest.$ac_ext >&5
35668
35669 ac_cv_header_GL_gl_h=no
35670 fi
35671
35672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35673 fi
35674 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35675 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35676 if test $ac_cv_header_GL_gl_h = yes; then
35677
35678 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35679 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35680 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35681 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 fi
35684 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35685 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35686 else
35687 # Is the header compilable?
35688 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35689 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 $ac_includes_default
35697 #include <GL/glu.h>
35698 _ACEOF
35699 rm -f conftest.$ac_objext
35700 if { (ac_try="$ac_compile"
35701 case "(($ac_try" in
35702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35703 *) ac_try_echo=$ac_try;;
35704 esac
35705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35706 (eval "$ac_compile") 2>conftest.er1
35707 ac_status=$?
35708 grep -v '^ *+' conftest.er1 >conftest.err
35709 rm -f conftest.er1
35710 cat conftest.err >&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } && {
35713 test -z "$ac_c_werror_flag" ||
35714 test ! -s conftest.err
35715 } && test -s conftest.$ac_objext; then
35716 ac_header_compiler=yes
35717 else
35718 echo "$as_me: failed program was:" >&5
35719 sed 's/^/| /' conftest.$ac_ext >&5
35720
35721 ac_header_compiler=no
35722 fi
35723
35724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35726 echo "${ECHO_T}$ac_header_compiler" >&6; }
35727
35728 # Is the header present?
35729 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35730 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 #include <GL/glu.h>
35738 _ACEOF
35739 if { (ac_try="$ac_cpp conftest.$ac_ext"
35740 case "(($ac_try" in
35741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35742 *) ac_try_echo=$ac_try;;
35743 esac
35744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35746 ac_status=$?
35747 grep -v '^ *+' conftest.er1 >conftest.err
35748 rm -f conftest.er1
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } >/dev/null && {
35752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35753 test ! -s conftest.err
35754 }; then
35755 ac_header_preproc=yes
35756 else
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.$ac_ext >&5
35759
35760 ac_header_preproc=no
35761 fi
35762
35763 rm -f conftest.err conftest.$ac_ext
35764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35765 echo "${ECHO_T}$ac_header_preproc" >&6; }
35766
35767 # So? What about this header?
35768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35769 yes:no: )
35770 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35771 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35772 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35773 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35774 ac_header_preproc=yes
35775 ;;
35776 no:yes:* )
35777 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35778 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35780 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35782 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35784 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35786 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35787 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35788 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35789 ( cat <<\_ASBOX
35790 ## ----------------------------------------- ##
35791 ## Report this to wx-dev@lists.wxwidgets.org ##
35792 ## ----------------------------------------- ##
35793 _ASBOX
35794 ) | sed "s/^/$as_me: WARNING: /" >&2
35795 ;;
35796 esac
35797 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35798 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35799 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35801 else
35802 ac_cv_header_GL_glu_h=$ac_header_preproc
35803 fi
35804 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35805 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35806
35807 fi
35808 if test $ac_cv_header_GL_glu_h = yes; then
35809
35810 found_gl=0
35811
35812 { echo "$as_me:$LINENO: checking for -lGL" >&5
35813 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35814
35815 ac_find_libraries=
35816 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35817 do
35818 for ac_extension in a so sl dylib dll.a; do
35819 if test -f "$ac_dir/libGL.$ac_extension"; then
35820 ac_find_libraries=$ac_dir
35821 break 2
35822 fi
35823 done
35824 done
35825
35826 if test "$ac_find_libraries" != "" ; then
35827 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35828 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35829
35830
35831 if test "$ac_find_libraries" = "default location"; then
35832 ac_path_to_link=""
35833 else
35834 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35835 result=$?
35836 if test $result = 0; then
35837 ac_path_to_link=""
35838 else
35839 ac_path_to_link=" -L$ac_find_libraries"
35840 fi
35841 fi
35842
35843 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35844 LDFLAGS_GL="$ac_path_to_link"
35845 fi
35846
35847 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35848 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35849
35850 ac_find_libraries=
35851 for ac_dir in $SEARCH_LIB;
35852 do
35853 for ac_extension in a so sl dylib dll.a; do
35854 if test -f "$ac_dir/libGLU.$ac_extension"; then
35855 ac_find_libraries=$ac_dir
35856 break 2
35857 fi
35858 done
35859 done
35860
35861 if test "$ac_find_libraries" != "" ; then
35862
35863 if test "$ac_find_libraries" = "default location"; then
35864 ac_path_to_link=""
35865 else
35866 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35867 result=$?
35868 if test $result = 0; then
35869 ac_path_to_link=""
35870 else
35871 ac_path_to_link=" -L$ac_find_libraries"
35872 fi
35873 fi
35874
35875 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35876 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35877 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35878 fi
35879
35880 found_gl=1
35881 OPENGL_LIBS="-lGL -lGLU"
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35884 else
35885 { echo "$as_me:$LINENO: result: no" >&5
35886 echo "${ECHO_T}no" >&6; }
35887 fi
35888 else
35889 { echo "$as_me:$LINENO: result: no" >&5
35890 echo "${ECHO_T}no" >&6; }
35891 fi
35892
35893 if test "$found_gl" != 1; then
35894 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35895 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35896
35897 ac_find_libraries=
35898 for ac_dir in $SEARCH_LIB;
35899 do
35900 for ac_extension in a so sl dylib dll.a; do
35901 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35902 ac_find_libraries=$ac_dir
35903 break 2
35904 fi
35905 done
35906 done
35907
35908 if test "$ac_find_libraries" != "" ; then
35909
35910 if test "$ac_find_libraries" = "default location"; then
35911 ac_path_to_link=""
35912 else
35913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35914 result=$?
35915 if test $result = 0; then
35916 ac_path_to_link=""
35917 else
35918 ac_path_to_link=" -L$ac_find_libraries"
35919 fi
35920 fi
35921
35922 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35923 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35924 { echo "$as_me:$LINENO: result: yes" >&5
35925 echo "${ECHO_T}yes" >&6; }
35926 else
35927 { echo "$as_me:$LINENO: result: no" >&5
35928 echo "${ECHO_T}no" >&6; }
35929 fi
35930 fi
35931
35932 fi
35933
35934
35935
35936 fi
35937
35938
35939
35940 if test "x$OPENGL_LIBS" = "x"; then
35941 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35942 echo "$as_me: error: OpenGL libraries not available" >&2;}
35943 { (exit 1); exit 1; }; }
35944 fi
35945 fi
35946
35947 if test "$wxUSE_OPENGL" = "yes"; then
35948 USE_OPENGL=1
35949 cat >>confdefs.h <<\_ACEOF
35950 #define wxUSE_OPENGL 1
35951 _ACEOF
35952
35953 cat >>confdefs.h <<\_ACEOF
35954 #define wxUSE_GLCANVAS 1
35955 _ACEOF
35956
35957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35958 fi
35959 fi
35960
35961
35962 if test -n "$TOOLKIT" ; then
35963 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35964 fi
35965
35966
35967
35968 if test "$wxUSE_SHARED" = "yes"; then
35969 case "${host}" in
35970 *-pc-msdosdjgpp )
35971 wxUSE_SHARED=no
35972 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35973 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35974 ;;
35975 esac
35976 fi
35977
35978 if test "$wxUSE_SHARED" = "yes"; then
35979
35980
35981 case "${host}" in
35982 *-*-cygwin* | *-*-mingw* )
35983 wx_cv_version_script=no
35984 ;;
35985
35986 *)
35987 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35988 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35989 if test "${wx_cv_version_script+set}" = set; then
35990 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 else
35992
35993 echo "VER_1 { *; };" >conftest.sym
35994 echo "int main() { return 0; }" >conftest.cpp
35995
35996 if { ac_try='
35997 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35998 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36001 ac_status=$?
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; } ; then
36004 if test -s conftest.stderr ; then
36005 wx_cv_version_script=no
36006 else
36007 wx_cv_version_script=yes
36008 fi
36009 else
36010 wx_cv_version_script=no
36011 fi
36012
36013 if test $wx_cv_version_script = yes
36014 then
36015 echo "struct B { virtual ~B() { } }; \
36016 struct D : public B { }; \
36017 void F() { D d; }" > conftest.cpp
36018
36019 if { ac_try='
36020 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36021 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; } &&
36027 { ac_try='
36028 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36029 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36032 ac_status=$?
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }
36035 then
36036 if { ac_try='
36037 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36038 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36040 (eval $ac_try) 2>&5
36041 ac_status=$?
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); }; }
36044 then
36045 wx_cv_version_script=yes
36046 else
36047 wx_cv_version_script=no
36048 fi
36049 fi
36050 fi
36051
36052 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36053 rm -f conftest1.output conftest2.output conftest3.output
36054
36055 fi
36056 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36057 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36058
36059 if test $wx_cv_version_script = yes ; then
36060 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36061 fi
36062 ;;
36063 esac
36064
36065
36066 if test "$wxUSE_VISIBILITY" != "no"; then
36067
36068
36069 if test -n "$GCC"; then
36070 CFLAGS_VISIBILITY="-fvisibility=hidden"
36071 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36072 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36073 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36074 if test "${wx_cv_cc_visibility+set}" = set; then
36075 echo $ECHO_N "(cached) $ECHO_C" >&6
36076 else
36077
36078 wx_save_CXXFLAGS="$CXXFLAGS"
36079 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36080 ac_ext=cpp
36081 ac_cpp='$CXXCPP $CPPFLAGS'
36082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36085
36086 cat >conftest.$ac_ext <<_ACEOF
36087 /* confdefs.h. */
36088 _ACEOF
36089 cat confdefs.h >>conftest.$ac_ext
36090 cat >>conftest.$ac_ext <<_ACEOF
36091 /* end confdefs.h. */
36092
36093 /* we need gcc >= 4.0, older versions with visibility support
36094 didn't have class visibility: */
36095 #if defined(__GNUC__) && __GNUC__ < 4
36096 error this gcc is too old;
36097 #endif
36098
36099 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36100 extern __attribute__((__visibility__("default"))) int exportedvar;
36101 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36102 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36103 class __attribute__((__visibility__("default"))) Foo {
36104 Foo() {}
36105 };
36106
36107 int
36108 main ()
36109 {
36110
36111 ;
36112 return 0;
36113 }
36114 _ACEOF
36115 rm -f conftest.$ac_objext
36116 if { (ac_try="$ac_compile"
36117 case "(($ac_try" in
36118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36119 *) ac_try_echo=$ac_try;;
36120 esac
36121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122 (eval "$ac_compile") 2>conftest.er1
36123 ac_status=$?
36124 grep -v '^ *+' conftest.er1 >conftest.err
36125 rm -f conftest.er1
36126 cat conftest.err >&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } && {
36129 test -z "$ac_cxx_werror_flag" ||
36130 test ! -s conftest.err
36131 } && test -s conftest.$ac_objext; then
36132 wx_cv_cc_visibility=yes
36133 else
36134 echo "$as_me: failed program was:" >&5
36135 sed 's/^/| /' conftest.$ac_ext >&5
36136
36137 wx_cv_cc_visibility=no
36138 fi
36139
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141 ac_ext=c
36142 ac_cpp='$CPP $CPPFLAGS'
36143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146
36147 CXXFLAGS="$wx_save_CXXFLAGS"
36148 fi
36149
36150 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36151 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36152 if test $wx_cv_cc_visibility = yes; then
36153 cat >>confdefs.h <<\_ACEOF
36154 #define HAVE_VISIBILITY 1
36155 _ACEOF
36156
36157
36158 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36159 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36160 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 else
36163
36164 wx_save_CXXFLAGS="$CXXFLAGS"
36165 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36166 ac_ext=cpp
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178
36179 #include <string>
36180
36181 int
36182 main ()
36183 {
36184
36185 std::string x;
36186
36187 ;
36188 return 0;
36189 }
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (ac_try="$ac_link"
36193 case "(($ac_try" in
36194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36196 esac
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_link") 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_cxx_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest$ac_exeext &&
36208 $as_test_x conftest$ac_exeext; then
36209 wx_cv_cc_broken_libstdcxx_visibility=no
36210 else
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36213
36214 wx_cv_cc_broken_libstdcxx_visibility=yes
36215 fi
36216
36217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36218 conftest$ac_exeext conftest.$ac_ext
36219 ac_ext=c
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36224
36225 CXXFLAGS="$wx_save_CXXFLAGS"
36226 fi
36227
36228 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36229 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36230 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36233 _ACEOF
36234
36235 fi
36236
36237 else
36238 CFLAGS_VISIBILITY=""
36239 CXXFLAGS_VISIBILITY=""
36240 fi
36241
36242
36243 fi
36244
36245 fi
36246
36247 if test "x$SUNCXX" = xyes; then
36248 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36249 WXCONFIG_RPATH="-R\$libdir"
36250 else
36251 case "${host}" in
36252 *-*-linux* | *-*-gnu* )
36253 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36254 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36255 ;;
36256
36257 *-*-solaris2* )
36258
36259 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36260
36261 saveLdflags="$LDFLAGS"
36262 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36263 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36264 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36265 cat >conftest.$ac_ext <<_ACEOF
36266 /* confdefs.h. */
36267 _ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36271
36272 int
36273 main ()
36274 {
36275
36276 ;
36277 return 0;
36278 }
36279 _ACEOF
36280 rm -f conftest.$ac_objext conftest$ac_exeext
36281 if { (ac_try="$ac_link"
36282 case "(($ac_try" in
36283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36284 *) ac_try_echo=$ac_try;;
36285 esac
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_link") 2>conftest.er1
36288 ac_status=$?
36289 grep -v '^ *+' conftest.er1 >conftest.err
36290 rm -f conftest.er1
36291 cat conftest.err >&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_c_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest$ac_exeext &&
36297 $as_test_x conftest$ac_exeext; then
36298
36299 { echo "$as_me:$LINENO: result: yes" >&5
36300 echo "${ECHO_T}yes" >&6; }
36301 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36302 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36303
36304 else
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36307
36308
36309 { echo "$as_me:$LINENO: result: no" >&5
36310 echo "${ECHO_T}no" >&6; }
36311 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36312 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36313 LDFLAGS="$saveLdflags -Wl,-R,/"
36314 cat >conftest.$ac_ext <<_ACEOF
36315 /* confdefs.h. */
36316 _ACEOF
36317 cat confdefs.h >>conftest.$ac_ext
36318 cat >>conftest.$ac_ext <<_ACEOF
36319 /* end confdefs.h. */
36320
36321 int
36322 main ()
36323 {
36324
36325 ;
36326 return 0;
36327 }
36328 _ACEOF
36329 rm -f conftest.$ac_objext conftest$ac_exeext
36330 if { (ac_try="$ac_link"
36331 case "(($ac_try" in
36332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36333 *) ac_try_echo=$ac_try;;
36334 esac
36335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36336 (eval "$ac_link") 2>conftest.er1
36337 ac_status=$?
36338 grep -v '^ *+' conftest.er1 >conftest.err
36339 rm -f conftest.er1
36340 cat conftest.err >&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } && {
36343 test -z "$ac_c_werror_flag" ||
36344 test ! -s conftest.err
36345 } && test -s conftest$ac_exeext &&
36346 $as_test_x conftest$ac_exeext; then
36347
36348 { echo "$as_me:$LINENO: result: yes" >&5
36349 echo "${ECHO_T}yes" >&6; }
36350 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36351 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36352
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357
36358 { echo "$as_me:$LINENO: result: no" >&5
36359 echo "${ECHO_T}no" >&6; }
36360
36361 fi
36362
36363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36364 conftest$ac_exeext conftest.$ac_ext
36365
36366 fi
36367
36368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36369 conftest$ac_exeext conftest.$ac_ext
36370 LDFLAGS="$saveLdflags"
36371 ;;
36372
36373 *-*-darwin* )
36374 install_name_tool=`which install_name_tool`
36375 if test "$install_name_tool" -a -x "$install_name_tool"; then
36376 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36377 cat <<EOF >change-install-names
36378 #!/bin/sh
36379 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36380 inst_cmd="install_name_tool "
36381 for i in \${libnames} ; do
36382 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36383 done
36384 \${inst_cmd} \${3}
36385 EOF
36386 chmod +x change-install-names
36387 fi
36388 ;;
36389
36390 *-*-cygwin* | *-*-mingw32* )
36391 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36392 ;;
36393
36394 *-*-hpux* )
36395 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36396 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36397 ;;
36398
36399 esac
36400 fi
36401
36402 if test $wxUSE_RPATH = "no"; then
36403 SAMPLES_RPATH_FLAG=''
36404 SAMPLES_RPATH_POSTLINK=''
36405 WXCONFIG_RPATH=''
36406 fi
36407
36408 SHARED=1
36409
36410 else
36411
36412 config_linkage_component="-static"
36413 SHARED=0
36414
36415 fi
36416
36417
36418 UNICODE=0
36419 lib_unicode_suffix=
36420 WX_CHARTYPE="ansi"
36421 if test "$wxUSE_UNICODE" = "yes"; then
36422 lib_unicode_suffix=u
36423 WX_CHARTYPE="unicode"
36424 UNICODE=1
36425 fi
36426
36427 lib_debug_suffix=
36428 WX_DEBUGTYPE="release"
36429 DEBUG_FLAG=0
36430 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36431 lib_debug_suffix=d
36432 WX_DEBUGTYPE="debug"
36433 DEBUG_FLAG=1
36434 fi
36435
36436 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36437 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36438
36439 DEBUG_INFO=0
36440 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36441 DEBUG_INFO=1
36442 fi
36443
36444 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36445
36446 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36447
36448 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36449
36450 if test "$cross_compiling" = "yes"; then
36451 HOST_SUFFIX="-$host_alias"
36452 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36453 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36454 fi
36455
36456 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36457 if test "${TOOLKIT_DIR}" = "os2"; then
36458 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36459 else
36460 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36461 fi
36462
36463
36464
36465 if test "$wxUSE_COCOA" = 1; then
36466
36467 ac_ext=c
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36472
36473 ac_ext=m
36474
36475 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36476 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36477 cat >conftest.$ac_ext <<_ACEOF
36478 /* confdefs.h. */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 #include <AppKit/NSEvent.h>
36484 #include <CoreFoundation/CoreFoundation.h>
36485
36486 int
36487 main ()
36488 {
36489
36490 ;
36491 return 0;
36492 }
36493 _ACEOF
36494 rm -f conftest.$ac_objext
36495 if { (ac_try="$ac_compile"
36496 case "(($ac_try" in
36497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36498 *) ac_try_echo=$ac_try;;
36499 esac
36500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36501 (eval "$ac_compile") 2>conftest.er1
36502 ac_status=$?
36503 grep -v '^ *+' conftest.er1 >conftest.err
36504 rm -f conftest.er1
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } && {
36508 test -z "$ac_c_werror_flag" ||
36509 test ! -s conftest.err
36510 } && test -s conftest.$ac_objext; then
36511 { echo "$as_me:$LINENO: result: no" >&5
36512 echo "${ECHO_T}no" >&6; }
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517 { echo "$as_me:$LINENO: result: yes" >&5
36518 echo "${ECHO_T}yes" >&6; }
36519 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36520 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 #define __Point__ 1
36528 #include <AppKit/NSEvent.h>
36529 #include <CoreFoundation/CoreFoundation.h>
36530
36531 int
36532 main ()
36533 {
36534
36535 ;
36536 return 0;
36537 }
36538 _ACEOF
36539 rm -f conftest.$ac_objext
36540 if { (ac_try="$ac_compile"
36541 case "(($ac_try" in
36542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36543 *) ac_try_echo=$ac_try;;
36544 esac
36545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36546 (eval "$ac_compile") 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } && {
36553 test -z "$ac_c_werror_flag" ||
36554 test ! -s conftest.err
36555 } && test -s conftest.$ac_objext; then
36556 { echo "$as_me:$LINENO: result: yes" >&5
36557 echo "${ECHO_T}yes" >&6; }
36558 cat >>confdefs.h <<\_ACEOF
36559 #define __Point__ 1
36560 _ACEOF
36561
36562
36563 else
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36566
36567 { { echo "$as_me:$LINENO: error: no
36568 See \`config.log' for more details." >&5
36569 echo "$as_me: error: no
36570 See \`config.log' for more details." >&2;}
36571 { (exit 1); exit 1; }; }
36572
36573 fi
36574
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576
36577 fi
36578
36579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36580 ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585
36586 fi
36587
36588 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36589 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36590 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36591
36592 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36593
36594 # Extract the first word of "Rez", so it can be a program name with args.
36595 set dummy Rez; ac_word=$2
36596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36598 if test "${ac_cv_prog_REZ+set}" = set; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 else
36601 if test -n "$REZ"; then
36602 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36603 else
36604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36605 for as_dir in $PATH
36606 do
36607 IFS=$as_save_IFS
36608 test -z "$as_dir" && as_dir=.
36609 for ac_exec_ext in '' $ac_executable_extensions; do
36610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36611 ac_cv_prog_REZ="Rez"
36612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36613 break 2
36614 fi
36615 done
36616 done
36617 IFS=$as_save_IFS
36618
36619 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36620 fi
36621 fi
36622 REZ=$ac_cv_prog_REZ
36623 if test -n "$REZ"; then
36624 { echo "$as_me:$LINENO: result: $REZ" >&5
36625 echo "${ECHO_T}$REZ" >&6; }
36626 else
36627 { echo "$as_me:$LINENO: result: no" >&5
36628 echo "${ECHO_T}no" >&6; }
36629 fi
36630
36631
36632 # Extract the first word of "DeRez", so it can be a program name with args.
36633 set dummy DeRez; ac_word=$2
36634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36636 if test "${ac_cv_prog_DEREZ+set}" = set; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 else
36639 if test -n "$DEREZ"; then
36640 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36641 else
36642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36643 for as_dir in $PATH
36644 do
36645 IFS=$as_save_IFS
36646 test -z "$as_dir" && as_dir=.
36647 for ac_exec_ext in '' $ac_executable_extensions; do
36648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36649 ac_cv_prog_DEREZ="DeRez"
36650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36651 break 2
36652 fi
36653 done
36654 done
36655 IFS=$as_save_IFS
36656
36657 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36658 fi
36659 fi
36660 DEREZ=$ac_cv_prog_DEREZ
36661 if test -n "$DEREZ"; then
36662 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36663 echo "${ECHO_T}$DEREZ" >&6; }
36664 else
36665 { echo "$as_me:$LINENO: result: no" >&5
36666 echo "${ECHO_T}no" >&6; }
36667 fi
36668
36669
36670 # Extract the first word of "SetFile", so it can be a program name with args.
36671 set dummy SetFile; ac_word=$2
36672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36674 if test "${ac_cv_prog_SETFILE+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677 if test -n "$SETFILE"; then
36678 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36679 else
36680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36681 for as_dir in $PATH
36682 do
36683 IFS=$as_save_IFS
36684 test -z "$as_dir" && as_dir=.
36685 for ac_exec_ext in '' $ac_executable_extensions; do
36686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36687 ac_cv_prog_SETFILE="SetFile"
36688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36689 break 2
36690 fi
36691 done
36692 done
36693 IFS=$as_save_IFS
36694
36695 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36696 fi
36697 fi
36698 SETFILE=$ac_cv_prog_SETFILE
36699 if test -n "$SETFILE"; then
36700 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36701 echo "${ECHO_T}$SETFILE" >&6; }
36702 else
36703 { echo "$as_me:$LINENO: result: no" >&5
36704 echo "${ECHO_T}no" >&6; }
36705 fi
36706
36707
36708
36709 MACSETFILE="\$(SETFILE)"
36710
36711 if test "$wxUSE_MAC" = 1; then
36712 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36713 RESCOMP="$REZ"
36714 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36715 else
36716 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36717 RESCOMP="echo -n \| $REZ"
36718 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36719 fi
36720
36721 else
36722 MACSETFILE="@true"
36723
36724 if test "$wxUSE_PM" = 1; then
36725 RESCOMP="emxbind"
36726 WXCONFIG_RESFLAGS="-ep"
36727
36728 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36729 else
36730 POSTLINK_COMMAND="@true"
36731 fi
36732
36733 fi
36734
36735
36736
36737 { echo "$as_me:$LINENO: checking for mode_t" >&5
36738 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36739 if test "${ac_cv_type_mode_t+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742 cat >conftest.$ac_ext <<_ACEOF
36743 /* confdefs.h. */
36744 _ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 $ac_includes_default
36749 typedef mode_t ac__type_new_;
36750 int
36751 main ()
36752 {
36753 if ((ac__type_new_ *) 0)
36754 return 0;
36755 if (sizeof (ac__type_new_))
36756 return 0;
36757 ;
36758 return 0;
36759 }
36760 _ACEOF
36761 rm -f conftest.$ac_objext
36762 if { (ac_try="$ac_compile"
36763 case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36766 esac
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_compile") 2>conftest.er1
36769 ac_status=$?
36770 grep -v '^ *+' conftest.er1 >conftest.err
36771 rm -f conftest.er1
36772 cat conftest.err >&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } && {
36775 test -z "$ac_c_werror_flag" ||
36776 test ! -s conftest.err
36777 } && test -s conftest.$ac_objext; then
36778 ac_cv_type_mode_t=yes
36779 else
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36782
36783 ac_cv_type_mode_t=no
36784 fi
36785
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 fi
36788 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36789 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36790 if test $ac_cv_type_mode_t = yes; then
36791 :
36792 else
36793
36794 cat >>confdefs.h <<_ACEOF
36795 #define mode_t int
36796 _ACEOF
36797
36798 fi
36799
36800 { echo "$as_me:$LINENO: checking for off_t" >&5
36801 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36802 if test "${ac_cv_type_off_t+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805 cat >conftest.$ac_ext <<_ACEOF
36806 /* confdefs.h. */
36807 _ACEOF
36808 cat confdefs.h >>conftest.$ac_ext
36809 cat >>conftest.$ac_ext <<_ACEOF
36810 /* end confdefs.h. */
36811 $ac_includes_default
36812 typedef off_t ac__type_new_;
36813 int
36814 main ()
36815 {
36816 if ((ac__type_new_ *) 0)
36817 return 0;
36818 if (sizeof (ac__type_new_))
36819 return 0;
36820 ;
36821 return 0;
36822 }
36823 _ACEOF
36824 rm -f conftest.$ac_objext
36825 if { (ac_try="$ac_compile"
36826 case "(($ac_try" in
36827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36828 *) ac_try_echo=$ac_try;;
36829 esac
36830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36831 (eval "$ac_compile") 2>conftest.er1
36832 ac_status=$?
36833 grep -v '^ *+' conftest.er1 >conftest.err
36834 rm -f conftest.er1
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } && {
36838 test -z "$ac_c_werror_flag" ||
36839 test ! -s conftest.err
36840 } && test -s conftest.$ac_objext; then
36841 ac_cv_type_off_t=yes
36842 else
36843 echo "$as_me: failed program was:" >&5
36844 sed 's/^/| /' conftest.$ac_ext >&5
36845
36846 ac_cv_type_off_t=no
36847 fi
36848
36849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36850 fi
36851 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36852 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36853 if test $ac_cv_type_off_t = yes; then
36854 :
36855 else
36856
36857 cat >>confdefs.h <<_ACEOF
36858 #define off_t long int
36859 _ACEOF
36860
36861 fi
36862
36863 { echo "$as_me:$LINENO: checking for pid_t" >&5
36864 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36865 if test "${ac_cv_type_pid_t+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36867 else
36868 cat >conftest.$ac_ext <<_ACEOF
36869 /* confdefs.h. */
36870 _ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36874 $ac_includes_default
36875 typedef pid_t ac__type_new_;
36876 int
36877 main ()
36878 {
36879 if ((ac__type_new_ *) 0)
36880 return 0;
36881 if (sizeof (ac__type_new_))
36882 return 0;
36883 ;
36884 return 0;
36885 }
36886 _ACEOF
36887 rm -f conftest.$ac_objext
36888 if { (ac_try="$ac_compile"
36889 case "(($ac_try" in
36890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36891 *) ac_try_echo=$ac_try;;
36892 esac
36893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36894 (eval "$ac_compile") 2>conftest.er1
36895 ac_status=$?
36896 grep -v '^ *+' conftest.er1 >conftest.err
36897 rm -f conftest.er1
36898 cat conftest.err >&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && {
36901 test -z "$ac_c_werror_flag" ||
36902 test ! -s conftest.err
36903 } && test -s conftest.$ac_objext; then
36904 ac_cv_type_pid_t=yes
36905 else
36906 echo "$as_me: failed program was:" >&5
36907 sed 's/^/| /' conftest.$ac_ext >&5
36908
36909 ac_cv_type_pid_t=no
36910 fi
36911
36912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36913 fi
36914 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36915 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36916 if test $ac_cv_type_pid_t = yes; then
36917 :
36918 else
36919
36920 cat >>confdefs.h <<_ACEOF
36921 #define pid_t int
36922 _ACEOF
36923
36924 fi
36925
36926 { echo "$as_me:$LINENO: checking for size_t" >&5
36927 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36928 if test "${ac_cv_type_size_t+set}" = set; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36930 else
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36938 typedef size_t ac__type_new_;
36939 int
36940 main ()
36941 {
36942 if ((ac__type_new_ *) 0)
36943 return 0;
36944 if (sizeof (ac__type_new_))
36945 return 0;
36946 ;
36947 return 0;
36948 }
36949 _ACEOF
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36955 esac
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36958 ac_status=$?
36959 grep -v '^ *+' conftest.er1 >conftest.err
36960 rm -f conftest.er1
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 ac_cv_type_size_t=yes
36968 else
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36971
36972 ac_cv_type_size_t=no
36973 fi
36974
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36976 fi
36977 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36978 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36979 if test $ac_cv_type_size_t = yes; then
36980 :
36981 else
36982
36983 cat >>confdefs.h <<_ACEOF
36984 #define size_t unsigned int
36985 _ACEOF
36986
36987 fi
36988
36989 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36990 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36991 if test "${ac_cv_type_uid_t+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36993 else
36994 cat >conftest.$ac_ext <<_ACEOF
36995 /* confdefs.h. */
36996 _ACEOF
36997 cat confdefs.h >>conftest.$ac_ext
36998 cat >>conftest.$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 #include <sys/types.h>
37001
37002 _ACEOF
37003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37004 $EGREP "uid_t" >/dev/null 2>&1; then
37005 ac_cv_type_uid_t=yes
37006 else
37007 ac_cv_type_uid_t=no
37008 fi
37009 rm -f conftest*
37010
37011 fi
37012 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37013 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37014 if test $ac_cv_type_uid_t = no; then
37015
37016 cat >>confdefs.h <<\_ACEOF
37017 #define uid_t int
37018 _ACEOF
37019
37020
37021 cat >>confdefs.h <<\_ACEOF
37022 #define gid_t int
37023 _ACEOF
37024
37025 fi
37026
37027
37028 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37029 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37030 if test "${ac_cv_type_ssize_t+set}" = set; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37032 else
37033 cat >conftest.$ac_ext <<_ACEOF
37034 /* confdefs.h. */
37035 _ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039 $ac_includes_default
37040 typedef ssize_t ac__type_new_;
37041 int
37042 main ()
37043 {
37044 if ((ac__type_new_ *) 0)
37045 return 0;
37046 if (sizeof (ac__type_new_))
37047 return 0;
37048 ;
37049 return 0;
37050 }
37051 _ACEOF
37052 rm -f conftest.$ac_objext
37053 if { (ac_try="$ac_compile"
37054 case "(($ac_try" in
37055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37056 *) ac_try_echo=$ac_try;;
37057 esac
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059 (eval "$ac_compile") 2>conftest.er1
37060 ac_status=$?
37061 grep -v '^ *+' conftest.er1 >conftest.err
37062 rm -f conftest.er1
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } && {
37066 test -z "$ac_c_werror_flag" ||
37067 test ! -s conftest.err
37068 } && test -s conftest.$ac_objext; then
37069 ac_cv_type_ssize_t=yes
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37073
37074 ac_cv_type_ssize_t=no
37075 fi
37076
37077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37078 fi
37079 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37080 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37081 if test $ac_cv_type_ssize_t = yes; then
37082
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE_SSIZE_T 1
37085 _ACEOF
37086
37087
37088 fi
37089
37090
37091 ac_ext=cpp
37092 ac_cpp='$CXXCPP $CPPFLAGS'
37093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37096 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37097 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37098 if test "${wx_cv_size_t_is_uint+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 else
37101
37102 cat >conftest.$ac_ext <<_ACEOF
37103 /* confdefs.h. */
37104 _ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37108 #include <stddef.h>
37109 int
37110 main ()
37111 {
37112
37113 return 0; }
37114
37115 struct Foo { void foo(size_t); void foo(unsigned int); };
37116
37117 int bar() {
37118
37119 ;
37120 return 0;
37121 }
37122 _ACEOF
37123 rm -f conftest.$ac_objext
37124 if { (ac_try="$ac_compile"
37125 case "(($ac_try" in
37126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37127 *) ac_try_echo=$ac_try;;
37128 esac
37129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37130 (eval "$ac_compile") 2>conftest.er1
37131 ac_status=$?
37132 grep -v '^ *+' conftest.er1 >conftest.err
37133 rm -f conftest.er1
37134 cat conftest.err >&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } && {
37137 test -z "$ac_cxx_werror_flag" ||
37138 test ! -s conftest.err
37139 } && test -s conftest.$ac_objext; then
37140 wx_cv_size_t_is_uint=no
37141 else
37142 echo "$as_me: failed program was:" >&5
37143 sed 's/^/| /' conftest.$ac_ext >&5
37144
37145 wx_cv_size_t_is_uint=yes
37146
37147 fi
37148
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150
37151
37152 fi
37153 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37154 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37155
37156 if test "$wx_cv_size_t_is_uint" = "yes"; then
37157 cat >>confdefs.h <<\_ACEOF
37158 #define wxSIZE_T_IS_UINT 1
37159 _ACEOF
37160
37161 else
37162 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37163 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37164 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37166 else
37167 cat >conftest.$ac_ext <<_ACEOF
37168 /* confdefs.h. */
37169 _ACEOF
37170 cat confdefs.h >>conftest.$ac_ext
37171 cat >>conftest.$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 #include <stddef.h>
37174 int
37175 main ()
37176 {
37177
37178 return 0; }
37179
37180 struct Foo { void foo(size_t); void foo(unsigned long); };
37181
37182 int bar() {
37183
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext
37189 if { (ac_try="$ac_compile"
37190 case "(($ac_try" in
37191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 *) ac_try_echo=$ac_try;;
37193 esac
37194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37195 (eval "$ac_compile") 2>conftest.er1
37196 ac_status=$?
37197 grep -v '^ *+' conftest.er1 >conftest.err
37198 rm -f conftest.er1
37199 cat conftest.err >&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); } && {
37202 test -z "$ac_cxx_werror_flag" ||
37203 test ! -s conftest.err
37204 } && test -s conftest.$ac_objext; then
37205 wx_cv_size_t_is_ulong=no
37206 else
37207 echo "$as_me: failed program was:" >&5
37208 sed 's/^/| /' conftest.$ac_ext >&5
37209
37210 wx_cv_size_t_is_ulong=yes
37211
37212 fi
37213
37214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37215
37216 fi
37217 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37218 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37219
37220 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37221 cat >>confdefs.h <<\_ACEOF
37222 #define wxSIZE_T_IS_ULONG 1
37223 _ACEOF
37224
37225 fi
37226 fi
37227
37228 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37229 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37230 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37231 echo $ECHO_N "(cached) $ECHO_C" >&6
37232 else
37233 cat >conftest.$ac_ext <<_ACEOF
37234 /* confdefs.h. */
37235 _ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37239 #include <wchar.h>
37240 int
37241 main ()
37242 {
37243
37244 return 0; }
37245
37246 struct Foo { void foo(wchar_t);
37247 void foo(unsigned short);
37248 void foo(unsigned int);
37249 void foo(unsigned long); };
37250
37251 int bar() {
37252
37253 ;
37254 return 0;
37255 }
37256 _ACEOF
37257 rm -f conftest.$ac_objext
37258 if { (ac_try="$ac_compile"
37259 case "(($ac_try" in
37260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37261 *) ac_try_echo=$ac_try;;
37262 esac
37263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37264 (eval "$ac_compile") 2>conftest.er1
37265 ac_status=$?
37266 grep -v '^ *+' conftest.er1 >conftest.err
37267 rm -f conftest.er1
37268 cat conftest.err >&5
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); } && {
37271 test -z "$ac_cxx_werror_flag" ||
37272 test ! -s conftest.err
37273 } && test -s conftest.$ac_objext; then
37274 wx_cv_wchar_t_is_separate_type=yes
37275 else
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279 wx_cv_wchar_t_is_separate_type=no
37280
37281 fi
37282
37283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37284
37285 fi
37286 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37287 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37288
37289 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37290 cat >>confdefs.h <<\_ACEOF
37291 #define wxWCHAR_T_IS_REAL_TYPE 1
37292 _ACEOF
37293
37294 else
37295 cat >>confdefs.h <<\_ACEOF
37296 #define wxWCHAR_T_IS_REAL_TYPE 0
37297 _ACEOF
37298
37299 fi
37300
37301 ac_ext=c
37302 ac_cpp='$CPP $CPPFLAGS'
37303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37306
37307
37308 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37309 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37310 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 else
37313
37314 cat >conftest.$ac_ext <<_ACEOF
37315 /* confdefs.h. */
37316 _ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37320 #include <pwd.h>
37321 int
37322 main ()
37323 {
37324
37325 char *p;
37326 struct passwd *pw;
37327 p = pw->pw_gecos;
37328
37329 ;
37330 return 0;
37331 }
37332 _ACEOF
37333 rm -f conftest.$ac_objext
37334 if { (ac_try="$ac_compile"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37338 esac
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_compile") 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest.$ac_objext; then
37350
37351 wx_cv_struct_pw_gecos=yes
37352
37353 else
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.$ac_ext >&5
37356
37357
37358 wx_cv_struct_pw_gecos=no
37359
37360
37361 fi
37362
37363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37364
37365
37366 fi
37367 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37368 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37369
37370 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37371 cat >>confdefs.h <<\_ACEOF
37372 #define HAVE_PW_GECOS 1
37373 _ACEOF
37374
37375 fi
37376
37377
37378 if test "$wxUSE_WCHAR_T" = "yes"; then
37379 cat >>confdefs.h <<\_ACEOF
37380 #define wxUSE_WCHAR_T 1
37381 _ACEOF
37382
37383
37384 WCSLEN_FOUND=0
37385 WCHAR_LINK=
37386
37387 for ac_func in wcslen
37388 do
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395 cat >conftest.$ac_ext <<_ACEOF
37396 /* confdefs.h. */
37397 _ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37403 #define $ac_func innocuous_$ac_func
37404
37405 /* System header to define __stub macros and hopefully few prototypes,
37406 which can conflict with char $ac_func (); below.
37407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37408 <limits.h> exists even on freestanding compilers. */
37409
37410 #ifdef __STDC__
37411 # include <limits.h>
37412 #else
37413 # include <assert.h>
37414 #endif
37415
37416 #undef $ac_func
37417
37418 /* Override any GCC internal prototype to avoid an error.
37419 Use char because int might match the return type of a GCC
37420 builtin and then its argument prototype would still apply. */
37421 #ifdef __cplusplus
37422 extern "C"
37423 #endif
37424 char $ac_func ();
37425 /* The GNU C library defines this for functions which it implements
37426 to always fail with ENOSYS. Some functions are actually named
37427 something starting with __ and the normal name is an alias. */
37428 #if defined __stub_$ac_func || defined __stub___$ac_func
37429 choke me
37430 #endif
37431
37432 int
37433 main ()
37434 {
37435 return $ac_func ();
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext conftest$ac_exeext
37441 if { (ac_try="$ac_link"
37442 case "(($ac_try" in
37443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37444 *) ac_try_echo=$ac_try;;
37445 esac
37446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37447 (eval "$ac_link") 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } && {
37454 test -z "$ac_c_werror_flag" ||
37455 test ! -s conftest.err
37456 } && test -s conftest$ac_exeext &&
37457 $as_test_x conftest$ac_exeext; then
37458 eval "$as_ac_var=yes"
37459 else
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.$ac_ext >&5
37462
37463 eval "$as_ac_var=no"
37464 fi
37465
37466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37467 conftest$ac_exeext conftest.$ac_ext
37468 fi
37469 ac_res=`eval echo '${'$as_ac_var'}'`
37470 { echo "$as_me:$LINENO: result: $ac_res" >&5
37471 echo "${ECHO_T}$ac_res" >&6; }
37472 if test `eval echo '${'$as_ac_var'}'` = yes; then
37473 cat >>confdefs.h <<_ACEOF
37474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37475 _ACEOF
37476 WCSLEN_FOUND=1
37477 fi
37478 done
37479
37480
37481 if test "$WCSLEN_FOUND" = 0; then
37482 if test "$TOOLKIT" = "MSW"; then
37483 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37484 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37485 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37487 else
37488 ac_check_lib_save_LIBS=$LIBS
37489 LIBS="-lmsvcrt $LIBS"
37490 cat >conftest.$ac_ext <<_ACEOF
37491 /* confdefs.h. */
37492 _ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496
37497 /* Override any GCC internal prototype to avoid an error.
37498 Use char because int might match the return type of a GCC
37499 builtin and then its argument prototype would still apply. */
37500 #ifdef __cplusplus
37501 extern "C"
37502 #endif
37503 char wcslen ();
37504 int
37505 main ()
37506 {
37507 return wcslen ();
37508 ;
37509 return 0;
37510 }
37511 _ACEOF
37512 rm -f conftest.$ac_objext conftest$ac_exeext
37513 if { (ac_try="$ac_link"
37514 case "(($ac_try" in
37515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37516 *) ac_try_echo=$ac_try;;
37517 esac
37518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37519 (eval "$ac_link") 2>conftest.er1
37520 ac_status=$?
37521 grep -v '^ *+' conftest.er1 >conftest.err
37522 rm -f conftest.er1
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } && {
37526 test -z "$ac_c_werror_flag" ||
37527 test ! -s conftest.err
37528 } && test -s conftest$ac_exeext &&
37529 $as_test_x conftest$ac_exeext; then
37530 ac_cv_lib_msvcrt_wcslen=yes
37531 else
37532 echo "$as_me: failed program was:" >&5
37533 sed 's/^/| /' conftest.$ac_ext >&5
37534
37535 ac_cv_lib_msvcrt_wcslen=no
37536 fi
37537
37538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37539 conftest$ac_exeext conftest.$ac_ext
37540 LIBS=$ac_check_lib_save_LIBS
37541 fi
37542 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37543 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37544 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37545 WCHAR_OK=1
37546 fi
37547
37548 else
37549 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37550 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37551 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37553 else
37554 ac_check_lib_save_LIBS=$LIBS
37555 LIBS="-lw $LIBS"
37556 cat >conftest.$ac_ext <<_ACEOF
37557 /* confdefs.h. */
37558 _ACEOF
37559 cat confdefs.h >>conftest.$ac_ext
37560 cat >>conftest.$ac_ext <<_ACEOF
37561 /* end confdefs.h. */
37562
37563 /* Override any GCC internal prototype to avoid an error.
37564 Use char because int might match the return type of a GCC
37565 builtin and then its argument prototype would still apply. */
37566 #ifdef __cplusplus
37567 extern "C"
37568 #endif
37569 char wcslen ();
37570 int
37571 main ()
37572 {
37573 return wcslen ();
37574 ;
37575 return 0;
37576 }
37577 _ACEOF
37578 rm -f conftest.$ac_objext conftest$ac_exeext
37579 if { (ac_try="$ac_link"
37580 case "(($ac_try" in
37581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37582 *) ac_try_echo=$ac_try;;
37583 esac
37584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37585 (eval "$ac_link") 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } && {
37592 test -z "$ac_c_werror_flag" ||
37593 test ! -s conftest.err
37594 } && test -s conftest$ac_exeext &&
37595 $as_test_x conftest$ac_exeext; then
37596 ac_cv_lib_w_wcslen=yes
37597 else
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37600
37601 ac_cv_lib_w_wcslen=no
37602 fi
37603
37604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37605 conftest$ac_exeext conftest.$ac_ext
37606 LIBS=$ac_check_lib_save_LIBS
37607 fi
37608 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37609 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37610 if test $ac_cv_lib_w_wcslen = yes; then
37611
37612 WCHAR_LINK=" -lw"
37613 WCSLEN_FOUND=1
37614
37615 fi
37616
37617 fi
37618 fi
37619
37620 if test "$WCSLEN_FOUND" = 1; then
37621 cat >>confdefs.h <<\_ACEOF
37622 #define HAVE_WCSLEN 1
37623 _ACEOF
37624
37625 fi
37626
37627
37628 for ac_func in wcsdup
37629 do
37630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37636 cat >conftest.$ac_ext <<_ACEOF
37637 /* confdefs.h. */
37638 _ACEOF
37639 cat confdefs.h >>conftest.$ac_ext
37640 cat >>conftest.$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37644 #define $ac_func innocuous_$ac_func
37645
37646 /* System header to define __stub macros and hopefully few prototypes,
37647 which can conflict with char $ac_func (); below.
37648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37649 <limits.h> exists even on freestanding compilers. */
37650
37651 #ifdef __STDC__
37652 # include <limits.h>
37653 #else
37654 # include <assert.h>
37655 #endif
37656
37657 #undef $ac_func
37658
37659 /* Override any GCC internal prototype to avoid an error.
37660 Use char because int might match the return type of a GCC
37661 builtin and then its argument prototype would still apply. */
37662 #ifdef __cplusplus
37663 extern "C"
37664 #endif
37665 char $ac_func ();
37666 /* The GNU C library defines this for functions which it implements
37667 to always fail with ENOSYS. Some functions are actually named
37668 something starting with __ and the normal name is an alias. */
37669 #if defined __stub_$ac_func || defined __stub___$ac_func
37670 choke me
37671 #endif
37672
37673 int
37674 main ()
37675 {
37676 return $ac_func ();
37677 ;
37678 return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37686 esac
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_c_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest$ac_exeext &&
37698 $as_test_x conftest$ac_exeext; then
37699 eval "$as_ac_var=yes"
37700 else
37701 echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37703
37704 eval "$as_ac_var=no"
37705 fi
37706
37707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37708 conftest$ac_exeext conftest.$ac_ext
37709 fi
37710 ac_res=`eval echo '${'$as_ac_var'}'`
37711 { echo "$as_me:$LINENO: result: $ac_res" >&5
37712 echo "${ECHO_T}$ac_res" >&6; }
37713 if test `eval echo '${'$as_ac_var'}'` = yes; then
37714 cat >>confdefs.h <<_ACEOF
37715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37716 _ACEOF
37717
37718 fi
37719 done
37720
37721
37722 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37723 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37724 fi
37725
37726 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37727 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37728 if test "${ac_cv_type_mbstate_t+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37730 else
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 #include <wchar.h>
37738
37739 typedef mbstate_t ac__type_new_;
37740 int
37741 main ()
37742 {
37743 if ((ac__type_new_ *) 0)
37744 return 0;
37745 if (sizeof (ac__type_new_))
37746 return 0;
37747 ;
37748 return 0;
37749 }
37750 _ACEOF
37751 rm -f conftest.$ac_objext
37752 if { (ac_try="$ac_compile"
37753 case "(($ac_try" in
37754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37755 *) ac_try_echo=$ac_try;;
37756 esac
37757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37758 (eval "$ac_compile") 2>conftest.er1
37759 ac_status=$?
37760 grep -v '^ *+' conftest.er1 >conftest.err
37761 rm -f conftest.er1
37762 cat conftest.err >&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); } && {
37765 test -z "$ac_c_werror_flag" ||
37766 test ! -s conftest.err
37767 } && test -s conftest.$ac_objext; then
37768 ac_cv_type_mbstate_t=yes
37769 else
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37772
37773 ac_cv_type_mbstate_t=no
37774 fi
37775
37776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37777 fi
37778 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37779 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37780 if test $ac_cv_type_mbstate_t = yes; then
37781
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE_MBSTATE_T 1
37784 _ACEOF
37785
37786
37787 for ac_func in wcsrtombs
37788 do
37789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37793 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 else
37795 cat >conftest.$ac_ext <<_ACEOF
37796 /* confdefs.h. */
37797 _ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37803 #define $ac_func innocuous_$ac_func
37804
37805 /* System header to define __stub macros and hopefully few prototypes,
37806 which can conflict with char $ac_func (); below.
37807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37808 <limits.h> exists even on freestanding compilers. */
37809
37810 #ifdef __STDC__
37811 # include <limits.h>
37812 #else
37813 # include <assert.h>
37814 #endif
37815
37816 #undef $ac_func
37817
37818 /* Override any GCC internal prototype to avoid an error.
37819 Use char because int might match the return type of a GCC
37820 builtin and then its argument prototype would still apply. */
37821 #ifdef __cplusplus
37822 extern "C"
37823 #endif
37824 char $ac_func ();
37825 /* The GNU C library defines this for functions which it implements
37826 to always fail with ENOSYS. Some functions are actually named
37827 something starting with __ and the normal name is an alias. */
37828 #if defined __stub_$ac_func || defined __stub___$ac_func
37829 choke me
37830 #endif
37831
37832 int
37833 main ()
37834 {
37835 return $ac_func ();
37836 ;
37837 return 0;
37838 }
37839 _ACEOF
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (ac_try="$ac_link"
37842 case "(($ac_try" in
37843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37844 *) ac_try_echo=$ac_try;;
37845 esac
37846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37847 (eval "$ac_link") 2>conftest.er1
37848 ac_status=$?
37849 grep -v '^ *+' conftest.er1 >conftest.err
37850 rm -f conftest.er1
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } && {
37854 test -z "$ac_c_werror_flag" ||
37855 test ! -s conftest.err
37856 } && test -s conftest$ac_exeext &&
37857 $as_test_x conftest$ac_exeext; then
37858 eval "$as_ac_var=yes"
37859 else
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37862
37863 eval "$as_ac_var=no"
37864 fi
37865
37866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37867 conftest$ac_exeext conftest.$ac_ext
37868 fi
37869 ac_res=`eval echo '${'$as_ac_var'}'`
37870 { echo "$as_me:$LINENO: result: $ac_res" >&5
37871 echo "${ECHO_T}$ac_res" >&6; }
37872 if test `eval echo '${'$as_ac_var'}'` = yes; then
37873 cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37875 _ACEOF
37876
37877 fi
37878 done
37879
37880 fi
37881
37882 else
37883 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37884 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37885 fi
37886
37887
37888
37889 for ac_func in snprintf vsnprintf
37890 do
37891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37905 #define $ac_func innocuous_$ac_func
37906
37907 /* System header to define __stub macros and hopefully few prototypes,
37908 which can conflict with char $ac_func (); below.
37909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37910 <limits.h> exists even on freestanding compilers. */
37911
37912 #ifdef __STDC__
37913 # include <limits.h>
37914 #else
37915 # include <assert.h>
37916 #endif
37917
37918 #undef $ac_func
37919
37920 /* Override any GCC internal prototype to avoid an error.
37921 Use char because int might match the return type of a GCC
37922 builtin and then its argument prototype would still apply. */
37923 #ifdef __cplusplus
37924 extern "C"
37925 #endif
37926 char $ac_func ();
37927 /* The GNU C library defines this for functions which it implements
37928 to always fail with ENOSYS. Some functions are actually named
37929 something starting with __ and the normal name is an alias. */
37930 #if defined __stub_$ac_func || defined __stub___$ac_func
37931 choke me
37932 #endif
37933
37934 int
37935 main ()
37936 {
37937 return $ac_func ();
37938 ;
37939 return 0;
37940 }
37941 _ACEOF
37942 rm -f conftest.$ac_objext conftest$ac_exeext
37943 if { (ac_try="$ac_link"
37944 case "(($ac_try" in
37945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37946 *) ac_try_echo=$ac_try;;
37947 esac
37948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37949 (eval "$ac_link") 2>conftest.er1
37950 ac_status=$?
37951 grep -v '^ *+' conftest.er1 >conftest.err
37952 rm -f conftest.er1
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } && {
37956 test -z "$ac_c_werror_flag" ||
37957 test ! -s conftest.err
37958 } && test -s conftest$ac_exeext &&
37959 $as_test_x conftest$ac_exeext; then
37960 eval "$as_ac_var=yes"
37961 else
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 eval "$as_ac_var=no"
37966 fi
37967
37968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37969 conftest$ac_exeext conftest.$ac_ext
37970 fi
37971 ac_res=`eval echo '${'$as_ac_var'}'`
37972 { echo "$as_me:$LINENO: result: $ac_res" >&5
37973 echo "${ECHO_T}$ac_res" >&6; }
37974 if test `eval echo '${'$as_ac_var'}'` = yes; then
37975 cat >>confdefs.h <<_ACEOF
37976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37977 _ACEOF
37978
37979 fi
37980 done
37981
37982
37983 if test "$ac_cv_func_vsnprintf" = "yes"; then
37984 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37985 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37986 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989
37990 cat >conftest.$ac_ext <<_ACEOF
37991 /* confdefs.h. */
37992 _ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996
37997 #include <stdio.h>
37998 #include <stdarg.h>
37999 #ifdef __MSL__
38000 #if __MSL__ >= 0x6000
38001 namespace std {}
38002 using namespace std;
38003 #endif
38004 #endif
38005
38006 int
38007 main ()
38008 {
38009
38010 char *buf;
38011 va_list ap;
38012 vsnprintf(buf, 10u, "%s", ap);
38013
38014 ;
38015 return 0;
38016 }
38017 _ACEOF
38018 rm -f conftest.$ac_objext
38019 if { (ac_try="$ac_compile"
38020 case "(($ac_try" in
38021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38022 *) ac_try_echo=$ac_try;;
38023 esac
38024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38025 (eval "$ac_compile") 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } && {
38032 test -z "$ac_c_werror_flag" ||
38033 test ! -s conftest.err
38034 } && test -s conftest.$ac_objext; then
38035 wx_cv_func_vsnprintf_decl=yes
38036 else
38037 echo "$as_me: failed program was:" >&5
38038 sed 's/^/| /' conftest.$ac_ext >&5
38039
38040 wx_cv_func_vsnprintf_decl=no
38041
38042 fi
38043
38044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38045
38046
38047 fi
38048 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38049 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38050
38051 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38052 cat >>confdefs.h <<\_ACEOF
38053 #define HAVE_VSNPRINTF_DECL 1
38054 _ACEOF
38055
38056
38057 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38058 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38059 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062
38063 cat >conftest.$ac_ext <<_ACEOF
38064 /* confdefs.h. */
38065 _ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38069
38070 #include <stdio.h>
38071 #include <stdarg.h>
38072 #ifdef __MSL__
38073 #if __MSL__ >= 0x6000
38074 namespace std {}
38075 using namespace std;
38076 #endif
38077 #endif
38078
38079 int
38080 main ()
38081 {
38082
38083 char *buf;
38084 va_list ap;
38085 const char *fmt = "%s";
38086 vsnprintf(buf, 10u, fmt, ap);
38087
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 wx_cv_func_broken_vsnprintf_decl=no
38110 else
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38113
38114 wx_cv_func_broken_vsnprintf_decl=yes
38115
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38119
38120
38121 fi
38122 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38123 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38124
38125 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38128 _ACEOF
38129
38130 fi
38131 fi
38132 fi
38133
38134 if test "$ac_cv_func_snprintf" = "yes"; then
38135 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38136 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38137 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38139 else
38140
38141 cat >conftest.$ac_ext <<_ACEOF
38142 /* confdefs.h. */
38143 _ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147
38148 #include <stdio.h>
38149 #include <stdarg.h>
38150 #ifdef __MSL__
38151 #if __MSL__ >= 0x6000
38152 namespace std {}
38153 using namespace std;
38154 #endif
38155 #endif
38156
38157 int
38158 main ()
38159 {
38160
38161 char *buf;
38162 snprintf(buf, 10u, "%s", "wx");
38163
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext
38169 if { (ac_try="$ac_compile"
38170 case "(($ac_try" in
38171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38172 *) ac_try_echo=$ac_try;;
38173 esac
38174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38175 (eval "$ac_compile") 2>conftest.er1
38176 ac_status=$?
38177 grep -v '^ *+' conftest.er1 >conftest.err
38178 rm -f conftest.er1
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } && {
38182 test -z "$ac_c_werror_flag" ||
38183 test ! -s conftest.err
38184 } && test -s conftest.$ac_objext; then
38185 wx_cv_func_snprintf_decl=yes
38186 else
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190 wx_cv_func_snprintf_decl=no
38191
38192 fi
38193
38194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38195
38196
38197 fi
38198 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38199 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38200
38201 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38202 cat >>confdefs.h <<\_ACEOF
38203 #define HAVE_SNPRINTF_DECL 1
38204 _ACEOF
38205
38206
38207 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38208 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38209 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 else
38212
38213 cat >conftest.$ac_ext <<_ACEOF
38214 /* confdefs.h. */
38215 _ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219
38220 #include <stdio.h>
38221 #include <stdarg.h>
38222 #ifdef __MSL__
38223 #if __MSL__ >= 0x6000
38224 namespace std {}
38225 using namespace std;
38226 #endif
38227 #endif
38228
38229 int
38230 main ()
38231 {
38232
38233 char *buf;
38234 const char *fmt = "%s";
38235 snprintf(buf, 10u, fmt, "wx");
38236
38237 ;
38238 return 0;
38239 }
38240 _ACEOF
38241 rm -f conftest.$ac_objext
38242 if { (ac_try="$ac_compile"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38246 esac
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_compile") 2>conftest.er1
38249 ac_status=$?
38250 grep -v '^ *+' conftest.er1 >conftest.err
38251 rm -f conftest.er1
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest.$ac_objext; then
38258 wx_cv_func_broken_snprintf_decl=no
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 wx_cv_func_broken_snprintf_decl=yes
38264
38265 fi
38266
38267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38268
38269
38270 fi
38271 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38272 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38273
38274 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38275 cat >>confdefs.h <<\_ACEOF
38276 #define HAVE_BROKEN_SNPRINTF_DECL 1
38277 _ACEOF
38278
38279 fi
38280 fi
38281
38282 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38283
38284 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38285 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38286 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289
38290 if test "$cross_compiling" = yes; then
38291
38292 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38293 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38294 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38295 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38296 wx_cv_func_snprintf_pos_params=no
38297
38298
38299 else
38300 cat >conftest.$ac_ext <<_ACEOF
38301 /* confdefs.h. */
38302 _ACEOF
38303 cat confdefs.h >>conftest.$ac_ext
38304 cat >>conftest.$ac_ext <<_ACEOF
38305 /* end confdefs.h. */
38306
38307 #include <stdio.h>
38308
38309 int main (void)
38310 {
38311 char buffer[128];
38312 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38313 if (strcmp ("2 3 1", buffer) == 0)
38314 exit (0);
38315 exit (1);
38316 }
38317
38318 _ACEOF
38319 rm -f conftest$ac_exeext
38320 if { (ac_try="$ac_link"
38321 case "(($ac_try" in
38322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38323 *) ac_try_echo=$ac_try;;
38324 esac
38325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38326 (eval "$ac_link") 2>&5
38327 ac_status=$?
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38330 { (case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38332 *) ac_try_echo=$ac_try;;
38333 esac
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_try") 2>&5
38336 ac_status=$?
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); }; }; then
38339 wx_cv_func_snprintf_pos_params=no
38340 else
38341 echo "$as_me: program exited with status $ac_status" >&5
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38344
38345 ( exit $ac_status )
38346 wx_cv_func_snprintf_pos_params=yes
38347 fi
38348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38349 fi
38350
38351
38352
38353
38354 fi
38355 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38356 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38357
38358 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38359 cat >>confdefs.h <<\_ACEOF
38360 #define HAVE_UNIX98_PRINTF 1
38361 _ACEOF
38362
38363 fi
38364 fi
38365 fi
38366
38367 if test "$wxUSE_UNICODE" = yes; then
38368
38369
38370 for ac_func in swprintf
38371 do
38372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38386 #define $ac_func innocuous_$ac_func
38387
38388 /* System header to define __stub macros and hopefully few prototypes,
38389 which can conflict with char $ac_func (); below.
38390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38391 <limits.h> exists even on freestanding compilers. */
38392
38393 #ifdef __STDC__
38394 # include <limits.h>
38395 #else
38396 # include <assert.h>
38397 #endif
38398
38399 #undef $ac_func
38400
38401 /* Override any GCC internal prototype to avoid an error.
38402 Use char because int might match the return type of a GCC
38403 builtin and then its argument prototype would still apply. */
38404 #ifdef __cplusplus
38405 extern "C"
38406 #endif
38407 char $ac_func ();
38408 /* The GNU C library defines this for functions which it implements
38409 to always fail with ENOSYS. Some functions are actually named
38410 something starting with __ and the normal name is an alias. */
38411 #if defined __stub_$ac_func || defined __stub___$ac_func
38412 choke me
38413 #endif
38414
38415 int
38416 main ()
38417 {
38418 return $ac_func ();
38419 ;
38420 return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38428 esac
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38431 ac_status=$?
38432 grep -v '^ *+' conftest.er1 >conftest.err
38433 rm -f conftest.er1
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 eval "$as_ac_var=yes"
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446 eval "$as_ac_var=no"
38447 fi
38448
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38451 fi
38452 ac_res=`eval echo '${'$as_ac_var'}'`
38453 { echo "$as_me:$LINENO: result: $ac_res" >&5
38454 echo "${ECHO_T}$ac_res" >&6; }
38455 if test `eval echo '${'$as_ac_var'}'` = yes; then
38456 cat >>confdefs.h <<_ACEOF
38457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38458 _ACEOF
38459
38460 fi
38461 done
38462
38463
38464 if test "$ac_cv_func_swprintf" = "yes"; then
38465 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38466 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38467 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 else
38470
38471 cat >conftest.$ac_ext <<_ACEOF
38472 /* confdefs.h. */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38477
38478 #include <stdio.h>
38479 #include <stdarg.h>
38480 #include <wchar.h>
38481
38482 int
38483 main ()
38484 {
38485
38486 wchar_t *buf;
38487 const wchar_t *fmt = L"test";
38488 swprintf(buf, 10u, fmt);
38489
38490 ;
38491 return 0;
38492 }
38493 _ACEOF
38494 rm -f conftest.$ac_objext
38495 if { (ac_try="$ac_compile"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38499 esac
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_compile") 2>conftest.er1
38502 ac_status=$?
38503 grep -v '^ *+' conftest.er1 >conftest.err
38504 rm -f conftest.er1
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest.$ac_objext; then
38511 wx_cv_func_broken_swprintf_decl=no
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38515
38516 wx_cv_func_broken_swprintf_decl=yes
38517
38518 fi
38519
38520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38521
38522
38523 fi
38524 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38525 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38526
38527 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38528 cat >>confdefs.h <<\_ACEOF
38529 #define HAVE_BROKEN_SWPRINTF_DECL 1
38530 _ACEOF
38531
38532 fi
38533 fi
38534
38535 wchar_headers="#include <stdio.h>
38536 #include <wchar.h>"
38537 case "${host}" in
38538 *-*-solaris2* )
38539
38540 for ac_header in widec.h
38541 do
38542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38547 else
38548 cat >conftest.$ac_ext <<_ACEOF
38549 /* confdefs.h. */
38550 _ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 $ac_includes_default
38555
38556 #include <$ac_header>
38557 _ACEOF
38558 rm -f conftest.$ac_objext
38559 if { (ac_try="$ac_compile"
38560 case "(($ac_try" in
38561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38562 *) ac_try_echo=$ac_try;;
38563 esac
38564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38565 (eval "$ac_compile") 2>conftest.er1
38566 ac_status=$?
38567 grep -v '^ *+' conftest.er1 >conftest.err
38568 rm -f conftest.er1
38569 cat conftest.err >&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } && {
38572 test -z "$ac_c_werror_flag" ||
38573 test ! -s conftest.err
38574 } && test -s conftest.$ac_objext; then
38575 eval "$as_ac_Header=yes"
38576 else
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.$ac_ext >&5
38579
38580 eval "$as_ac_Header=no"
38581 fi
38582
38583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38584 fi
38585 ac_res=`eval echo '${'$as_ac_Header'}'`
38586 { echo "$as_me:$LINENO: result: $ac_res" >&5
38587 echo "${ECHO_T}$ac_res" >&6; }
38588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38589 cat >>confdefs.h <<_ACEOF
38590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38591 _ACEOF
38592
38593 fi
38594
38595 done
38596
38597 if test "$ac_cv_header_widec_h" = "yes"; then
38598 wchar_headers="$wchar_headers
38599 #include <widec.h>"
38600 fi
38601 esac
38602
38603
38604 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38605 do
38606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 else
38611
38612 cat >conftest.$ac_ext <<_ACEOF
38613
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619
38620 $wchar_headers
38621 $ac_includes_default
38622
38623 int
38624 main ()
38625 {
38626
38627 #ifndef $wx_func
38628 &$wx_func;
38629 #endif
38630
38631
38632 ;
38633 return 0;
38634 }
38635
38636 _ACEOF
38637 rm -f conftest.$ac_objext conftest$ac_exeext
38638 if { (ac_try="$ac_link"
38639 case "(($ac_try" in
38640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38641 *) ac_try_echo=$ac_try;;
38642 esac
38643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38644 (eval "$ac_link") 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } && {
38651 test -z "$ac_c_werror_flag" ||
38652 test ! -s conftest.err
38653 } && test -s conftest$ac_exeext &&
38654 $as_test_x conftest$ac_exeext; then
38655 eval wx_cv_func_$wx_func=yes
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38659
38660 eval wx_cv_func_$wx_func=no
38661 fi
38662
38663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38664 conftest$ac_exeext conftest.$ac_ext
38665
38666 fi
38667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38668 { echo "$as_me:$LINENO: result: $ac_res" >&5
38669 echo "${ECHO_T}$ac_res" >&6; }
38670
38671 if eval test \$wx_cv_func_$wx_func = yes
38672 then
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38675 _ACEOF
38676
38677
38678 else
38679 :
38680
38681 fi
38682 done
38683
38684
38685 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38686 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38687 cat >conftest.$ac_ext <<_ACEOF
38688 /* confdefs.h. */
38689 _ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693 #include <wchar.h>
38694 int
38695 main ()
38696 {
38697 &_vsnwprintf;
38698 ;
38699 return 0;
38700 }
38701 _ACEOF
38702 rm -f conftest.$ac_objext
38703 if { (ac_try="$ac_compile"
38704 case "(($ac_try" in
38705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38706 *) ac_try_echo=$ac_try;;
38707 esac
38708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38709 (eval "$ac_compile") 2>conftest.er1
38710 ac_status=$?
38711 grep -v '^ *+' conftest.er1 >conftest.err
38712 rm -f conftest.er1
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } && {
38716 test -z "$ac_c_werror_flag" ||
38717 test ! -s conftest.err
38718 } && test -s conftest.$ac_objext; then
38719 { echo "$as_me:$LINENO: result: yes" >&5
38720 echo "${ECHO_T}yes" >&6; }
38721 cat >>confdefs.h <<\_ACEOF
38722 #define HAVE__VSNWPRINTF 1
38723 _ACEOF
38724
38725 else
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38728
38729 { echo "$as_me:$LINENO: result: no" >&5
38730 echo "${ECHO_T}no" >&6; }
38731 fi
38732
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38734 fi
38735
38736 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38737
38738 for wx_func in fnmatch
38739 do
38740 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38741 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38742 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 else
38745
38746 cat >conftest.$ac_ext <<_ACEOF
38747
38748 /* confdefs.h. */
38749 _ACEOF
38750 cat confdefs.h >>conftest.$ac_ext
38751 cat >>conftest.$ac_ext <<_ACEOF
38752 /* end confdefs.h. */
38753
38754 #include <fnmatch.h>
38755 $ac_includes_default
38756
38757 int
38758 main ()
38759 {
38760
38761 #ifndef $wx_func
38762 &$wx_func;
38763 #endif
38764
38765
38766 ;
38767 return 0;
38768 }
38769
38770 _ACEOF
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (ac_try="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38776 esac
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38779 ac_status=$?
38780 grep -v '^ *+' conftest.er1 >conftest.err
38781 rm -f conftest.er1
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 eval wx_cv_func_$wx_func=yes
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794 eval wx_cv_func_$wx_func=no
38795 fi
38796
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38799
38800 fi
38801 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38802 { echo "$as_me:$LINENO: result: $ac_res" >&5
38803 echo "${ECHO_T}$ac_res" >&6; }
38804
38805 if eval test \$wx_cv_func_$wx_func = yes
38806 then
38807 cat >>confdefs.h <<_ACEOF
38808 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38809 _ACEOF
38810
38811
38812 else
38813 :
38814
38815 fi
38816 done
38817
38818 fi
38819
38820 if test "$wxUSE_FILE" = "yes"; then
38821
38822 for wx_func in fsync
38823 do
38824 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38825 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38826 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38827 echo $ECHO_N "(cached) $ECHO_C" >&6
38828 else
38829
38830 cat >conftest.$ac_ext <<_ACEOF
38831
38832 /* confdefs.h. */
38833 _ACEOF
38834 cat confdefs.h >>conftest.$ac_ext
38835 cat >>conftest.$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38837
38838
38839 $ac_includes_default
38840
38841 int
38842 main ()
38843 {
38844
38845 #ifndef $wx_func
38846 &$wx_func;
38847 #endif
38848
38849
38850 ;
38851 return 0;
38852 }
38853
38854 _ACEOF
38855 rm -f conftest.$ac_objext conftest$ac_exeext
38856 if { (ac_try="$ac_link"
38857 case "(($ac_try" in
38858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38859 *) ac_try_echo=$ac_try;;
38860 esac
38861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38862 (eval "$ac_link") 2>conftest.er1
38863 ac_status=$?
38864 grep -v '^ *+' conftest.er1 >conftest.err
38865 rm -f conftest.er1
38866 cat conftest.err >&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } && {
38869 test -z "$ac_c_werror_flag" ||
38870 test ! -s conftest.err
38871 } && test -s conftest$ac_exeext &&
38872 $as_test_x conftest$ac_exeext; then
38873 eval wx_cv_func_$wx_func=yes
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38877
38878 eval wx_cv_func_$wx_func=no
38879 fi
38880
38881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38882 conftest$ac_exeext conftest.$ac_ext
38883
38884 fi
38885 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38886 { echo "$as_me:$LINENO: result: $ac_res" >&5
38887 echo "${ECHO_T}$ac_res" >&6; }
38888
38889 if eval test \$wx_cv_func_$wx_func = yes
38890 then
38891 cat >>confdefs.h <<_ACEOF
38892 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38893 _ACEOF
38894
38895
38896 else
38897 :
38898
38899 fi
38900 done
38901
38902 fi
38903
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909
38910
38911 for wx_func in round
38912 do
38913 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38914 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38915 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 else
38918
38919 cat >conftest.$ac_ext <<_ACEOF
38920
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926
38927 #include <math.h>
38928 $ac_includes_default
38929
38930 int
38931 main ()
38932 {
38933
38934 #ifndef $wx_func
38935 &$wx_func;
38936 #endif
38937
38938
38939 ;
38940 return 0;
38941 }
38942
38943 _ACEOF
38944 rm -f conftest.$ac_objext conftest$ac_exeext
38945 if { (ac_try="$ac_link"
38946 case "(($ac_try" in
38947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38948 *) ac_try_echo=$ac_try;;
38949 esac
38950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38951 (eval "$ac_link") 2>conftest.er1
38952 ac_status=$?
38953 grep -v '^ *+' conftest.er1 >conftest.err
38954 rm -f conftest.er1
38955 cat conftest.err >&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } && {
38958 test -z "$ac_cxx_werror_flag" ||
38959 test ! -s conftest.err
38960 } && test -s conftest$ac_exeext &&
38961 $as_test_x conftest$ac_exeext; then
38962 eval wx_cv_func_$wx_func=yes
38963 else
38964 echo "$as_me: failed program was:" >&5
38965 sed 's/^/| /' conftest.$ac_ext >&5
38966
38967 eval wx_cv_func_$wx_func=no
38968 fi
38969
38970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38971 conftest$ac_exeext conftest.$ac_ext
38972
38973 fi
38974 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38975 { echo "$as_me:$LINENO: result: $ac_res" >&5
38976 echo "${ECHO_T}$ac_res" >&6; }
38977
38978 if eval test \$wx_cv_func_$wx_func = yes
38979 then
38980 cat >>confdefs.h <<_ACEOF
38981 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38982 _ACEOF
38983
38984
38985 else
38986 :
38987
38988 fi
38989 done
38990
38991 ac_ext=c
38992 ac_cpp='$CPP $CPPFLAGS'
38993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38996
38997
38998 if test "$TOOLKIT" != "MSW"; then
38999
39000
39001
39002
39003
39004 # Check whether --with-libiconv-prefix was given.
39005 if test "${with_libiconv_prefix+set}" = set; then
39006 withval=$with_libiconv_prefix;
39007 for dir in `echo "$withval" | tr : ' '`; do
39008 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39009 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39010 done
39011
39012 fi
39013
39014
39015 { echo "$as_me:$LINENO: checking for iconv" >&5
39016 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39017 if test "${am_cv_func_iconv+set}" = set; then
39018 echo $ECHO_N "(cached) $ECHO_C" >&6
39019 else
39020
39021 am_cv_func_iconv="no, consider installing GNU libiconv"
39022 am_cv_lib_iconv=no
39023 cat >conftest.$ac_ext <<_ACEOF
39024 /* confdefs.h. */
39025 _ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029 #include <stdlib.h>
39030 #include <iconv.h>
39031 int
39032 main ()
39033 {
39034 iconv_t cd = iconv_open("","");
39035 iconv(cd,NULL,NULL,NULL,NULL);
39036 iconv_close(cd);
39037 ;
39038 return 0;
39039 }
39040 _ACEOF
39041 rm -f conftest.$ac_objext conftest$ac_exeext
39042 if { (ac_try="$ac_link"
39043 case "(($ac_try" in
39044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39045 *) ac_try_echo=$ac_try;;
39046 esac
39047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39048 (eval "$ac_link") 2>conftest.er1
39049 ac_status=$?
39050 grep -v '^ *+' conftest.er1 >conftest.err
39051 rm -f conftest.er1
39052 cat conftest.err >&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } && {
39055 test -z "$ac_c_werror_flag" ||
39056 test ! -s conftest.err
39057 } && test -s conftest$ac_exeext &&
39058 $as_test_x conftest$ac_exeext; then
39059 am_cv_func_iconv=yes
39060 else
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.$ac_ext >&5
39063
39064
39065 fi
39066
39067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39068 conftest$ac_exeext conftest.$ac_ext
39069 if test "$am_cv_func_iconv" != yes; then
39070 am_save_LIBS="$LIBS"
39071 LIBS="$LIBS -liconv"
39072 cat >conftest.$ac_ext <<_ACEOF
39073 /* confdefs.h. */
39074 _ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <stdlib.h>
39079 #include <iconv.h>
39080 int
39081 main ()
39082 {
39083 iconv_t cd = iconv_open("","");
39084 iconv(cd,NULL,NULL,NULL,NULL);
39085 iconv_close(cd);
39086 ;
39087 return 0;
39088 }
39089 _ACEOF
39090 rm -f conftest.$ac_objext conftest$ac_exeext
39091 if { (ac_try="$ac_link"
39092 case "(($ac_try" in
39093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39094 *) ac_try_echo=$ac_try;;
39095 esac
39096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39097 (eval "$ac_link") 2>conftest.er1
39098 ac_status=$?
39099 grep -v '^ *+' conftest.er1 >conftest.err
39100 rm -f conftest.er1
39101 cat conftest.err >&5
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); } && {
39104 test -z "$ac_c_werror_flag" ||
39105 test ! -s conftest.err
39106 } && test -s conftest$ac_exeext &&
39107 $as_test_x conftest$ac_exeext; then
39108 am_cv_lib_iconv=yes
39109 am_cv_func_iconv=yes
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39113
39114
39115 fi
39116
39117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39118 conftest$ac_exeext conftest.$ac_ext
39119 LIBS="$am_save_LIBS"
39120 fi
39121
39122 fi
39123 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39124 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39125 if test "$am_cv_func_iconv" = yes; then
39126
39127 cat >>confdefs.h <<\_ACEOF
39128 #define HAVE_ICONV 1
39129 _ACEOF
39130
39131 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39132 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39133 if test "${wx_cv_func_iconv_const+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39135 else
39136 cat >conftest.$ac_ext <<_ACEOF
39137 /* confdefs.h. */
39138 _ACEOF
39139 cat confdefs.h >>conftest.$ac_ext
39140 cat >>conftest.$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39142
39143 #include <stdlib.h>
39144 #include <iconv.h>
39145 extern
39146 #ifdef __cplusplus
39147 "C"
39148 #endif
39149 #if defined(__STDC__) || defined(__cplusplus)
39150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39151 #else
39152 size_t iconv();
39153 #endif
39154
39155 int
39156 main ()
39157 {
39158
39159 ;
39160 return 0;
39161 }
39162 _ACEOF
39163 rm -f conftest.$ac_objext
39164 if { (ac_try="$ac_compile"
39165 case "(($ac_try" in
39166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39167 *) ac_try_echo=$ac_try;;
39168 esac
39169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39170 (eval "$ac_compile") 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } && {
39177 test -z "$ac_c_werror_flag" ||
39178 test ! -s conftest.err
39179 } && test -s conftest.$ac_objext; then
39180 wx_cv_func_iconv_const="no"
39181 else
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39184
39185 wx_cv_func_iconv_const="yes"
39186
39187 fi
39188
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190
39191 fi
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39193 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39194
39195 iconv_const=
39196 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39197 iconv_const="const"
39198 fi
39199
39200
39201 cat >>confdefs.h <<_ACEOF
39202 #define ICONV_CONST $iconv_const
39203 _ACEOF
39204
39205 fi
39206 LIBICONV=
39207 if test "$am_cv_lib_iconv" = yes; then
39208 LIBICONV="-liconv"
39209 fi
39210
39211
39212 LIBS="$LIBICONV $LIBS"
39213
39214 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39215
39216 for ac_func in sigaction
39217 do
39218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 else
39224 cat >conftest.$ac_ext <<_ACEOF
39225 /* confdefs.h. */
39226 _ACEOF
39227 cat confdefs.h >>conftest.$ac_ext
39228 cat >>conftest.$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define $ac_func innocuous_$ac_func
39233
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char $ac_func (); below.
39236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39237 <limits.h> exists even on freestanding compilers. */
39238
39239 #ifdef __STDC__
39240 # include <limits.h>
39241 #else
39242 # include <assert.h>
39243 #endif
39244
39245 #undef $ac_func
39246
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 #endif
39253 char $ac_func ();
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined __stub_$ac_func || defined __stub___$ac_func
39258 choke me
39259 #endif
39260
39261 int
39262 main ()
39263 {
39264 return $ac_func ();
39265 ;
39266 return 0;
39267 }
39268 _ACEOF
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39273 *) ac_try_echo=$ac_try;;
39274 esac
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39277 ac_status=$?
39278 grep -v '^ *+' conftest.er1 >conftest.err
39279 rm -f conftest.er1
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest$ac_exeext &&
39286 $as_test_x conftest$ac_exeext; then
39287 eval "$as_ac_var=yes"
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 eval "$as_ac_var=no"
39293 fi
39294
39295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39296 conftest$ac_exeext conftest.$ac_ext
39297 fi
39298 ac_res=`eval echo '${'$as_ac_var'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_var'}'` = yes; then
39302 cat >>confdefs.h <<_ACEOF
39303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39304 _ACEOF
39305
39306 fi
39307 done
39308
39309
39310 if test "$ac_cv_func_sigaction" = "no"; then
39311 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39312 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39313 wxUSE_ON_FATAL_EXCEPTION=no
39314 fi
39315
39316 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39317 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39318 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39319 if test "${wx_cv_type_sa_handler+set}" = set; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 else
39322
39323 ac_ext=cpp
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39328
39329 cat >conftest.$ac_ext <<_ACEOF
39330 /* confdefs.h. */
39331 _ACEOF
39332 cat confdefs.h >>conftest.$ac_ext
39333 cat >>conftest.$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39335 #include <signal.h>
39336 int
39337 main ()
39338 {
39339
39340 extern void testSigHandler(int);
39341
39342 struct sigaction sa;
39343 sa.sa_handler = testSigHandler;
39344
39345 ;
39346 return 0;
39347 }
39348 _ACEOF
39349 rm -f conftest.$ac_objext
39350 if { (ac_try="$ac_compile"
39351 case "(($ac_try" in
39352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39353 *) ac_try_echo=$ac_try;;
39354 esac
39355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39356 (eval "$ac_compile") 2>conftest.er1
39357 ac_status=$?
39358 grep -v '^ *+' conftest.er1 >conftest.err
39359 rm -f conftest.er1
39360 cat conftest.err >&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); } && {
39363 test -z "$ac_cxx_werror_flag" ||
39364 test ! -s conftest.err
39365 } && test -s conftest.$ac_objext; then
39366
39367 wx_cv_type_sa_handler=int
39368
39369 else
39370 echo "$as_me: failed program was:" >&5
39371 sed 's/^/| /' conftest.$ac_ext >&5
39372
39373
39374 wx_cv_type_sa_handler=void
39375
39376 fi
39377
39378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39379 ac_ext=c
39380 ac_cpp='$CPP $CPPFLAGS'
39381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39384
39385
39386 fi
39387 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39388 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39389
39390 cat >>confdefs.h <<_ACEOF
39391 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39392 _ACEOF
39393
39394 fi
39395 fi
39396
39397 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39398 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39399 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39400 if test "${wx_cv_func_backtrace+set}" = set; then
39401 echo $ECHO_N "(cached) $ECHO_C" >&6
39402 else
39403
39404 ac_ext=cpp
39405 ac_cpp='$CXXCPP $CPPFLAGS'
39406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39409
39410 cat >conftest.$ac_ext <<_ACEOF
39411 /* confdefs.h. */
39412 _ACEOF
39413 cat confdefs.h >>conftest.$ac_ext
39414 cat >>conftest.$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39416 #include <execinfo.h>
39417 int
39418 main ()
39419 {
39420
39421 void *trace[1];
39422 char **messages;
39423
39424 backtrace(trace, 1);
39425 messages = backtrace_symbols(trace, 1);
39426
39427 ;
39428 return 0;
39429 }
39430 _ACEOF
39431 rm -f conftest.$ac_objext
39432 if { (ac_try="$ac_compile"
39433 case "(($ac_try" in
39434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39436 esac
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_compile") 2>conftest.er1
39439 ac_status=$?
39440 grep -v '^ *+' conftest.er1 >conftest.err
39441 rm -f conftest.er1
39442 cat conftest.err >&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); } && {
39445 test -z "$ac_cxx_werror_flag" ||
39446 test ! -s conftest.err
39447 } && test -s conftest.$ac_objext; then
39448 wx_cv_func_backtrace=yes
39449 else
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39452
39453 wx_cv_func_backtrace=no
39454
39455 fi
39456
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 ac_ext=c
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463
39464
39465
39466 fi
39467 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39468 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39469
39470
39471 if test "$wx_cv_func_backtrace" = "no"; then
39472 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39473 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39474 wxUSE_STACKWALKER=no
39475 else
39476 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39477 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39478 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 else
39481
39482 ac_ext=cpp
39483 ac_cpp='$CXXCPP $CPPFLAGS'
39484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39487
39488 cat >conftest.$ac_ext <<_ACEOF
39489 /* confdefs.h. */
39490 _ACEOF
39491 cat confdefs.h >>conftest.$ac_ext
39492 cat >>conftest.$ac_ext <<_ACEOF
39493 /* end confdefs.h. */
39494 #include <cxxabi.h>
39495 int
39496 main ()
39497 {
39498
39499 int rc;
39500 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39501
39502 ;
39503 return 0;
39504 }
39505 _ACEOF
39506 rm -f conftest.$ac_objext conftest$ac_exeext
39507 if { (ac_try="$ac_link"
39508 case "(($ac_try" in
39509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39510 *) ac_try_echo=$ac_try;;
39511 esac
39512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39513 (eval "$ac_link") 2>conftest.er1
39514 ac_status=$?
39515 grep -v '^ *+' conftest.er1 >conftest.err
39516 rm -f conftest.er1
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } && {
39520 test -z "$ac_cxx_werror_flag" ||
39521 test ! -s conftest.err
39522 } && test -s conftest$ac_exeext &&
39523 $as_test_x conftest$ac_exeext; then
39524 wx_cv_func_cxa_demangle=yes
39525 else
39526 echo "$as_me: failed program was:" >&5
39527 sed 's/^/| /' conftest.$ac_ext >&5
39528
39529 wx_cv_func_cxa_demangle=no
39530
39531 fi
39532
39533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39534 conftest$ac_exeext conftest.$ac_ext
39535 ac_ext=c
39536 ac_cpp='$CPP $CPPFLAGS'
39537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39540
39541
39542
39543 fi
39544 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39545 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39546
39547 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39548 cat >>confdefs.h <<\_ACEOF
39549 #define HAVE_CXA_DEMANGLE 1
39550 _ACEOF
39551
39552 fi
39553 fi
39554 fi
39555
39556 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39557 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39558 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39559 wxUSE_STACKWALKER=no
39560 fi
39561
39562
39563
39564
39565 for ac_func in mkstemp mktemp
39566 do
39567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39568 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39570 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 else
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define $ac_func innocuous_$ac_func
39582
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char $ac_func (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39587
39588 #ifdef __STDC__
39589 # include <limits.h>
39590 #else
39591 # include <assert.h>
39592 #endif
39593
39594 #undef $ac_func
39595
39596 /* Override any GCC internal prototype to avoid an error.
39597 Use char because int might match the return type of a GCC
39598 builtin and then its argument prototype would still apply. */
39599 #ifdef __cplusplus
39600 extern "C"
39601 #endif
39602 char $ac_func ();
39603 /* The GNU C library defines this for functions which it implements
39604 to always fail with ENOSYS. Some functions are actually named
39605 something starting with __ and the normal name is an alias. */
39606 #if defined __stub_$ac_func || defined __stub___$ac_func
39607 choke me
39608 #endif
39609
39610 int
39611 main ()
39612 {
39613 return $ac_func ();
39614 ;
39615 return 0;
39616 }
39617 _ACEOF
39618 rm -f conftest.$ac_objext conftest$ac_exeext
39619 if { (ac_try="$ac_link"
39620 case "(($ac_try" in
39621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39622 *) ac_try_echo=$ac_try;;
39623 esac
39624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39625 (eval "$ac_link") 2>conftest.er1
39626 ac_status=$?
39627 grep -v '^ *+' conftest.er1 >conftest.err
39628 rm -f conftest.er1
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } && {
39632 test -z "$ac_c_werror_flag" ||
39633 test ! -s conftest.err
39634 } && test -s conftest$ac_exeext &&
39635 $as_test_x conftest$ac_exeext; then
39636 eval "$as_ac_var=yes"
39637 else
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39640
39641 eval "$as_ac_var=no"
39642 fi
39643
39644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39645 conftest$ac_exeext conftest.$ac_ext
39646 fi
39647 ac_res=`eval echo '${'$as_ac_var'}'`
39648 { echo "$as_me:$LINENO: result: $ac_res" >&5
39649 echo "${ECHO_T}$ac_res" >&6; }
39650 if test `eval echo '${'$as_ac_var'}'` = yes; then
39651 cat >>confdefs.h <<_ACEOF
39652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39653 _ACEOF
39654 break
39655 fi
39656 done
39657
39658
39659 { echo "$as_me:$LINENO: checking for statfs" >&5
39660 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39661 if test "${wx_cv_func_statfs+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39663 else
39664 cat >conftest.$ac_ext <<_ACEOF
39665 /* confdefs.h. */
39666 _ACEOF
39667 cat confdefs.h >>conftest.$ac_ext
39668 cat >>conftest.$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39670
39671 #if defined(__BSD__)
39672 #include <sys/param.h>
39673 #include <sys/mount.h>
39674 #else
39675 #include <sys/vfs.h>
39676 #endif
39677
39678 int
39679 main ()
39680 {
39681
39682 long l;
39683 struct statfs fs;
39684 statfs("/", &fs);
39685 l = fs.f_bsize;
39686 l += fs.f_blocks;
39687 l += fs.f_bavail;
39688
39689 ;
39690 return 0;
39691 }
39692 _ACEOF
39693 rm -f conftest.$ac_objext
39694 if { (ac_try="$ac_compile"
39695 case "(($ac_try" in
39696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39697 *) ac_try_echo=$ac_try;;
39698 esac
39699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39700 (eval "$ac_compile") 2>conftest.er1
39701 ac_status=$?
39702 grep -v '^ *+' conftest.er1 >conftest.err
39703 rm -f conftest.er1
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } && {
39707 test -z "$ac_c_werror_flag" ||
39708 test ! -s conftest.err
39709 } && test -s conftest.$ac_objext; then
39710 wx_cv_func_statfs=yes
39711 else
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.$ac_ext >&5
39714
39715 wx_cv_func_statfs=no
39716
39717 fi
39718
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720
39721 fi
39722 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39723 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39724
39725 if test "$wx_cv_func_statfs" = "yes"; then
39726 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39727 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39728 if test "${wx_cv_func_statfs_decl+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 else
39731 ac_ext=cpp
39732 ac_cpp='$CXXCPP $CPPFLAGS'
39733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39736
39737 cat >conftest.$ac_ext <<_ACEOF
39738 /* confdefs.h. */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743
39744 #if defined(__BSD__)
39745 #include <sys/param.h>
39746 #include <sys/mount.h>
39747 #else
39748 #include <sys/vfs.h>
39749 #endif
39750
39751 int
39752 main ()
39753 {
39754
39755 struct statfs fs;
39756 statfs("", &fs);
39757
39758 ;
39759 return 0;
39760 }
39761 _ACEOF
39762 rm -f conftest.$ac_objext
39763 if { (ac_try="$ac_compile"
39764 case "(($ac_try" in
39765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39766 *) ac_try_echo=$ac_try;;
39767 esac
39768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39769 (eval "$ac_compile") 2>conftest.er1
39770 ac_status=$?
39771 grep -v '^ *+' conftest.er1 >conftest.err
39772 rm -f conftest.er1
39773 cat conftest.err >&5
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); } && {
39776 test -z "$ac_cxx_werror_flag" ||
39777 test ! -s conftest.err
39778 } && test -s conftest.$ac_objext; then
39779 wx_cv_func_statfs_decl=yes
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39783
39784 wx_cv_func_statfs_decl=no
39785
39786 fi
39787
39788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39789 ac_ext=c
39790 ac_cpp='$CPP $CPPFLAGS'
39791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39794
39795
39796 fi
39797 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39798 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39799
39800 if test "$wx_cv_func_statfs_decl" = "yes"; then
39801 cat >>confdefs.h <<\_ACEOF
39802 #define HAVE_STATFS_DECL 1
39803 _ACEOF
39804
39805 fi
39806
39807 wx_cv_type_statvfs_t="struct statfs"
39808 cat >>confdefs.h <<\_ACEOF
39809 #define HAVE_STATFS 1
39810 _ACEOF
39811
39812 else
39813 { echo "$as_me:$LINENO: checking for statvfs" >&5
39814 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39815 if test "${wx_cv_func_statvfs+set}" = set; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39817 else
39818 cat >conftest.$ac_ext <<_ACEOF
39819 /* confdefs.h. */
39820 _ACEOF
39821 cat confdefs.h >>conftest.$ac_ext
39822 cat >>conftest.$ac_ext <<_ACEOF
39823 /* end confdefs.h. */
39824
39825 #include <stddef.h>
39826 #include <sys/statvfs.h>
39827
39828 int
39829 main ()
39830 {
39831
39832 statvfs("/", NULL);
39833
39834 ;
39835 return 0;
39836 }
39837 _ACEOF
39838 rm -f conftest.$ac_objext
39839 if { (ac_try="$ac_compile"
39840 case "(($ac_try" in
39841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39843 esac
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_compile") 2>conftest.er1
39846 ac_status=$?
39847 grep -v '^ *+' conftest.er1 >conftest.err
39848 rm -f conftest.er1
39849 cat conftest.err >&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } && {
39852 test -z "$ac_c_werror_flag" ||
39853 test ! -s conftest.err
39854 } && test -s conftest.$ac_objext; then
39855 wx_cv_func_statvfs=yes
39856 else
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39859
39860 wx_cv_func_statvfs=no
39861
39862 fi
39863
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865
39866 fi
39867 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39868 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39869
39870 if test "$wx_cv_func_statvfs" = "yes"; then
39871 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39872 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39873 if test "${wx_cv_type_statvfs_t+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 else
39876 ac_ext=cpp
39877 ac_cpp='$CXXCPP $CPPFLAGS'
39878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39881
39882 cat >conftest.$ac_ext <<_ACEOF
39883 /* confdefs.h. */
39884 _ACEOF
39885 cat confdefs.h >>conftest.$ac_ext
39886 cat >>conftest.$ac_ext <<_ACEOF
39887 /* end confdefs.h. */
39888
39889 #include <sys/statvfs.h>
39890
39891 int
39892 main ()
39893 {
39894
39895 long l;
39896 statvfs_t fs;
39897 statvfs("/", &fs);
39898 l = fs.f_bsize;
39899 l += fs.f_blocks;
39900 l += fs.f_bavail;
39901
39902 ;
39903 return 0;
39904 }
39905 _ACEOF
39906 rm -f conftest.$ac_objext
39907 if { (ac_try="$ac_compile"
39908 case "(($ac_try" in
39909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39910 *) ac_try_echo=$ac_try;;
39911 esac
39912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39913 (eval "$ac_compile") 2>conftest.er1
39914 ac_status=$?
39915 grep -v '^ *+' conftest.er1 >conftest.err
39916 rm -f conftest.er1
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } && {
39920 test -z "$ac_cxx_werror_flag" ||
39921 test ! -s conftest.err
39922 } && test -s conftest.$ac_objext; then
39923 wx_cv_type_statvfs_t=statvfs_t
39924 else
39925 echo "$as_me: failed program was:" >&5
39926 sed 's/^/| /' conftest.$ac_ext >&5
39927
39928
39929 cat >conftest.$ac_ext <<_ACEOF
39930 /* confdefs.h. */
39931 _ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39935
39936 #include <sys/statvfs.h>
39937
39938 int
39939 main ()
39940 {
39941
39942 long l;
39943 struct statvfs fs;
39944 statvfs("/", &fs);
39945 l = fs.f_bsize;
39946 l += fs.f_blocks;
39947 l += fs.f_bavail;
39948
39949 ;
39950 return 0;
39951 }
39952 _ACEOF
39953 rm -f conftest.$ac_objext
39954 if { (ac_try="$ac_compile"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39958 esac
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_compile") 2>conftest.er1
39961 ac_status=$?
39962 grep -v '^ *+' conftest.er1 >conftest.err
39963 rm -f conftest.er1
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_cxx_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest.$ac_objext; then
39970 wx_cv_type_statvfs_t="struct statvfs"
39971 else
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.$ac_ext >&5
39974
39975 wx_cv_type_statvfs_t="unknown"
39976
39977 fi
39978
39979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980
39981
39982 fi
39983
39984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39985 ac_ext=c
39986 ac_cpp='$CPP $CPPFLAGS'
39987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39990
39991
39992 fi
39993 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39995
39996 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define HAVE_STATVFS 1
39999 _ACEOF
40000
40001 fi
40002 else
40003 wx_cv_type_statvfs_t="unknown"
40004 fi
40005 fi
40006
40007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40008 cat >>confdefs.h <<_ACEOF
40009 #define WX_STATFS_T $wx_cv_type_statvfs_t
40010 _ACEOF
40011
40012 else
40013 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40014 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40015 fi
40016
40017 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40018
40019
40020 for ac_func in fcntl flock
40021 do
40022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028 cat >conftest.$ac_ext <<_ACEOF
40029 /* confdefs.h. */
40030 _ACEOF
40031 cat confdefs.h >>conftest.$ac_ext
40032 cat >>conftest.$ac_ext <<_ACEOF
40033 /* end confdefs.h. */
40034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40036 #define $ac_func innocuous_$ac_func
40037
40038 /* System header to define __stub macros and hopefully few prototypes,
40039 which can conflict with char $ac_func (); below.
40040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40041 <limits.h> exists even on freestanding compilers. */
40042
40043 #ifdef __STDC__
40044 # include <limits.h>
40045 #else
40046 # include <assert.h>
40047 #endif
40048
40049 #undef $ac_func
40050
40051 /* Override any GCC internal prototype to avoid an error.
40052 Use char because int might match the return type of a GCC
40053 builtin and then its argument prototype would still apply. */
40054 #ifdef __cplusplus
40055 extern "C"
40056 #endif
40057 char $ac_func ();
40058 /* The GNU C library defines this for functions which it implements
40059 to always fail with ENOSYS. Some functions are actually named
40060 something starting with __ and the normal name is an alias. */
40061 #if defined __stub_$ac_func || defined __stub___$ac_func
40062 choke me
40063 #endif
40064
40065 int
40066 main ()
40067 {
40068 return $ac_func ();
40069 ;
40070 return 0;
40071 }
40072 _ACEOF
40073 rm -f conftest.$ac_objext conftest$ac_exeext
40074 if { (ac_try="$ac_link"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40077 *) ac_try_echo=$ac_try;;
40078 esac
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_link") 2>conftest.er1
40081 ac_status=$?
40082 grep -v '^ *+' conftest.er1 >conftest.err
40083 rm -f conftest.er1
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest$ac_exeext &&
40090 $as_test_x conftest$ac_exeext; then
40091 eval "$as_ac_var=yes"
40092 else
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096 eval "$as_ac_var=no"
40097 fi
40098
40099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40100 conftest$ac_exeext conftest.$ac_ext
40101 fi
40102 ac_res=`eval echo '${'$as_ac_var'}'`
40103 { echo "$as_me:$LINENO: result: $ac_res" >&5
40104 echo "${ECHO_T}$ac_res" >&6; }
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40108 _ACEOF
40109 break
40110 fi
40111 done
40112
40113
40114 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40115 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40116 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40117 wxUSE_SNGLINST_CHECKER=no
40118 fi
40119 fi
40120
40121
40122 for ac_func in timegm
40123 do
40124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 else
40130 cat >conftest.$ac_ext <<_ACEOF
40131 /* confdefs.h. */
40132 _ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40138 #define $ac_func innocuous_$ac_func
40139
40140 /* System header to define __stub macros and hopefully few prototypes,
40141 which can conflict with char $ac_func (); below.
40142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40143 <limits.h> exists even on freestanding compilers. */
40144
40145 #ifdef __STDC__
40146 # include <limits.h>
40147 #else
40148 # include <assert.h>
40149 #endif
40150
40151 #undef $ac_func
40152
40153 /* Override any GCC internal prototype to avoid an error.
40154 Use char because int might match the return type of a GCC
40155 builtin and then its argument prototype would still apply. */
40156 #ifdef __cplusplus
40157 extern "C"
40158 #endif
40159 char $ac_func ();
40160 /* The GNU C library defines this for functions which it implements
40161 to always fail with ENOSYS. Some functions are actually named
40162 something starting with __ and the normal name is an alias. */
40163 #if defined __stub_$ac_func || defined __stub___$ac_func
40164 choke me
40165 #endif
40166
40167 int
40168 main ()
40169 {
40170 return $ac_func ();
40171 ;
40172 return 0;
40173 }
40174 _ACEOF
40175 rm -f conftest.$ac_objext conftest$ac_exeext
40176 if { (ac_try="$ac_link"
40177 case "(($ac_try" in
40178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40179 *) ac_try_echo=$ac_try;;
40180 esac
40181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40182 (eval "$ac_link") 2>conftest.er1
40183 ac_status=$?
40184 grep -v '^ *+' conftest.er1 >conftest.err
40185 rm -f conftest.er1
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } && {
40189 test -z "$ac_c_werror_flag" ||
40190 test ! -s conftest.err
40191 } && test -s conftest$ac_exeext &&
40192 $as_test_x conftest$ac_exeext; then
40193 eval "$as_ac_var=yes"
40194 else
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40197
40198 eval "$as_ac_var=no"
40199 fi
40200
40201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40202 conftest$ac_exeext conftest.$ac_ext
40203 fi
40204 ac_res=`eval echo '${'$as_ac_var'}'`
40205 { echo "$as_me:$LINENO: result: $ac_res" >&5
40206 echo "${ECHO_T}$ac_res" >&6; }
40207 if test `eval echo '${'$as_ac_var'}'` = yes; then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40210 _ACEOF
40211
40212 fi
40213 done
40214
40215
40216
40217
40218 for ac_func in setenv putenv
40219 do
40220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40224 echo $ECHO_N "(cached) $ECHO_C" >&6
40225 else
40226 cat >conftest.$ac_ext <<_ACEOF
40227 /* confdefs.h. */
40228 _ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h. */
40232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40234 #define $ac_func innocuous_$ac_func
40235
40236 /* System header to define __stub macros and hopefully few prototypes,
40237 which can conflict with char $ac_func (); below.
40238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40239 <limits.h> exists even on freestanding compilers. */
40240
40241 #ifdef __STDC__
40242 # include <limits.h>
40243 #else
40244 # include <assert.h>
40245 #endif
40246
40247 #undef $ac_func
40248
40249 /* Override any GCC internal prototype to avoid an error.
40250 Use char because int might match the return type of a GCC
40251 builtin and then its argument prototype would still apply. */
40252 #ifdef __cplusplus
40253 extern "C"
40254 #endif
40255 char $ac_func ();
40256 /* The GNU C library defines this for functions which it implements
40257 to always fail with ENOSYS. Some functions are actually named
40258 something starting with __ and the normal name is an alias. */
40259 #if defined __stub_$ac_func || defined __stub___$ac_func
40260 choke me
40261 #endif
40262
40263 int
40264 main ()
40265 {
40266 return $ac_func ();
40267 ;
40268 return 0;
40269 }
40270 _ACEOF
40271 rm -f conftest.$ac_objext conftest$ac_exeext
40272 if { (ac_try="$ac_link"
40273 case "(($ac_try" in
40274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40275 *) ac_try_echo=$ac_try;;
40276 esac
40277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40278 (eval "$ac_link") 2>conftest.er1
40279 ac_status=$?
40280 grep -v '^ *+' conftest.er1 >conftest.err
40281 rm -f conftest.er1
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } && {
40285 test -z "$ac_c_werror_flag" ||
40286 test ! -s conftest.err
40287 } && test -s conftest$ac_exeext &&
40288 $as_test_x conftest$ac_exeext; then
40289 eval "$as_ac_var=yes"
40290 else
40291 echo "$as_me: failed program was:" >&5
40292 sed 's/^/| /' conftest.$ac_ext >&5
40293
40294 eval "$as_ac_var=no"
40295 fi
40296
40297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40298 conftest$ac_exeext conftest.$ac_ext
40299 fi
40300 ac_res=`eval echo '${'$as_ac_var'}'`
40301 { echo "$as_me:$LINENO: result: $ac_res" >&5
40302 echo "${ECHO_T}$ac_res" >&6; }
40303 if test `eval echo '${'$as_ac_var'}'` = yes; then
40304 cat >>confdefs.h <<_ACEOF
40305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40306 _ACEOF
40307 break
40308 fi
40309 done
40310
40311
40312 HAVE_SOME_SLEEP_FUNC=0
40313 if test "$USE_BEOS" = 1; then
40314 cat >>confdefs.h <<\_ACEOF
40315 #define HAVE_SLEEP 1
40316 _ACEOF
40317
40318 HAVE_SOME_SLEEP_FUNC=1
40319 fi
40320
40321 if test "$USE_DARWIN" = 1; then
40322 cat >>confdefs.h <<\_ACEOF
40323 #define HAVE_USLEEP 1
40324 _ACEOF
40325
40326 HAVE_SOME_SLEEP_FUNC=1
40327 fi
40328
40329 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40330 POSIX4_LINK=
40331
40332 for ac_func in nanosleep
40333 do
40334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40339 else
40340 cat >conftest.$ac_ext <<_ACEOF
40341 /* confdefs.h. */
40342 _ACEOF
40343 cat confdefs.h >>conftest.$ac_ext
40344 cat >>conftest.$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40348 #define $ac_func innocuous_$ac_func
40349
40350 /* System header to define __stub macros and hopefully few prototypes,
40351 which can conflict with char $ac_func (); below.
40352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40353 <limits.h> exists even on freestanding compilers. */
40354
40355 #ifdef __STDC__
40356 # include <limits.h>
40357 #else
40358 # include <assert.h>
40359 #endif
40360
40361 #undef $ac_func
40362
40363 /* Override any GCC internal prototype to avoid an error.
40364 Use char because int might match the return type of a GCC
40365 builtin and then its argument prototype would still apply. */
40366 #ifdef __cplusplus
40367 extern "C"
40368 #endif
40369 char $ac_func ();
40370 /* The GNU C library defines this for functions which it implements
40371 to always fail with ENOSYS. Some functions are actually named
40372 something starting with __ and the normal name is an alias. */
40373 #if defined __stub_$ac_func || defined __stub___$ac_func
40374 choke me
40375 #endif
40376
40377 int
40378 main ()
40379 {
40380 return $ac_func ();
40381 ;
40382 return 0;
40383 }
40384 _ACEOF
40385 rm -f conftest.$ac_objext conftest$ac_exeext
40386 if { (ac_try="$ac_link"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40389 *) ac_try_echo=$ac_try;;
40390 esac
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_link") 2>conftest.er1
40393 ac_status=$?
40394 grep -v '^ *+' conftest.er1 >conftest.err
40395 rm -f conftest.er1
40396 cat conftest.err >&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_c_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest$ac_exeext &&
40402 $as_test_x conftest$ac_exeext; then
40403 eval "$as_ac_var=yes"
40404 else
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.$ac_ext >&5
40407
40408 eval "$as_ac_var=no"
40409 fi
40410
40411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40412 conftest$ac_exeext conftest.$ac_ext
40413 fi
40414 ac_res=`eval echo '${'$as_ac_var'}'`
40415 { echo "$as_me:$LINENO: result: $ac_res" >&5
40416 echo "${ECHO_T}$ac_res" >&6; }
40417 if test `eval echo '${'$as_ac_var'}'` = yes; then
40418 cat >>confdefs.h <<_ACEOF
40419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40420 _ACEOF
40421 cat >>confdefs.h <<\_ACEOF
40422 #define HAVE_NANOSLEEP 1
40423 _ACEOF
40424
40425 else
40426
40427 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40428 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40429 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40431 else
40432 ac_check_lib_save_LIBS=$LIBS
40433 LIBS="-lposix4 $LIBS"
40434 cat >conftest.$ac_ext <<_ACEOF
40435 /* confdefs.h. */
40436 _ACEOF
40437 cat confdefs.h >>conftest.$ac_ext
40438 cat >>conftest.$ac_ext <<_ACEOF
40439 /* end confdefs.h. */
40440
40441 /* Override any GCC internal prototype to avoid an error.
40442 Use char because int might match the return type of a GCC
40443 builtin and then its argument prototype would still apply. */
40444 #ifdef __cplusplus
40445 extern "C"
40446 #endif
40447 char nanosleep ();
40448 int
40449 main ()
40450 {
40451 return nanosleep ();
40452 ;
40453 return 0;
40454 }
40455 _ACEOF
40456 rm -f conftest.$ac_objext conftest$ac_exeext
40457 if { (ac_try="$ac_link"
40458 case "(($ac_try" in
40459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40460 *) ac_try_echo=$ac_try;;
40461 esac
40462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40463 (eval "$ac_link") 2>conftest.er1
40464 ac_status=$?
40465 grep -v '^ *+' conftest.er1 >conftest.err
40466 rm -f conftest.er1
40467 cat conftest.err >&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); } && {
40470 test -z "$ac_c_werror_flag" ||
40471 test ! -s conftest.err
40472 } && test -s conftest$ac_exeext &&
40473 $as_test_x conftest$ac_exeext; then
40474 ac_cv_lib_posix4_nanosleep=yes
40475 else
40476 echo "$as_me: failed program was:" >&5
40477 sed 's/^/| /' conftest.$ac_ext >&5
40478
40479 ac_cv_lib_posix4_nanosleep=no
40480 fi
40481
40482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40483 conftest$ac_exeext conftest.$ac_ext
40484 LIBS=$ac_check_lib_save_LIBS
40485 fi
40486 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40487 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40488 if test $ac_cv_lib_posix4_nanosleep = yes; then
40489
40490 cat >>confdefs.h <<\_ACEOF
40491 #define HAVE_NANOSLEEP 1
40492 _ACEOF
40493
40494 POSIX4_LINK=" -lposix4"
40495
40496 else
40497
40498
40499 for wx_func in usleep
40500 do
40501 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40502 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40503 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 else
40506
40507 cat >conftest.$ac_ext <<_ACEOF
40508
40509 /* confdefs.h. */
40510 _ACEOF
40511 cat confdefs.h >>conftest.$ac_ext
40512 cat >>conftest.$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40514
40515
40516 $ac_includes_default
40517
40518 int
40519 main ()
40520 {
40521
40522 #ifndef $wx_func
40523 &$wx_func;
40524 #endif
40525
40526
40527 ;
40528 return 0;
40529 }
40530
40531 _ACEOF
40532 rm -f conftest.$ac_objext conftest$ac_exeext
40533 if { (ac_try="$ac_link"
40534 case "(($ac_try" in
40535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40536 *) ac_try_echo=$ac_try;;
40537 esac
40538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40539 (eval "$ac_link") 2>conftest.er1
40540 ac_status=$?
40541 grep -v '^ *+' conftest.er1 >conftest.err
40542 rm -f conftest.er1
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } && {
40546 test -z "$ac_c_werror_flag" ||
40547 test ! -s conftest.err
40548 } && test -s conftest$ac_exeext &&
40549 $as_test_x conftest$ac_exeext; then
40550 eval wx_cv_func_$wx_func=yes
40551 else
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.$ac_ext >&5
40554
40555 eval wx_cv_func_$wx_func=no
40556 fi
40557
40558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40559 conftest$ac_exeext conftest.$ac_ext
40560
40561 fi
40562 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40563 { echo "$as_me:$LINENO: result: $ac_res" >&5
40564 echo "${ECHO_T}$ac_res" >&6; }
40565
40566 if eval test \$wx_cv_func_$wx_func = yes
40567 then
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40570 _ACEOF
40571
40572
40573 else
40574 :
40575 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40577
40578 fi
40579 done
40580
40581
40582
40583 fi
40584
40585
40586
40587 fi
40588 done
40589
40590 fi
40591
40592
40593 for wx_func in uname
40594 do
40595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 else
40600
40601 cat >conftest.$ac_ext <<_ACEOF
40602
40603 /* confdefs.h. */
40604 _ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40608
40609 #include <sys/utsname.h>
40610 $ac_includes_default
40611
40612 int
40613 main ()
40614 {
40615
40616 #ifndef $wx_func
40617 &$wx_func;
40618 #endif
40619
40620
40621 ;
40622 return 0;
40623 }
40624
40625 _ACEOF
40626 rm -f conftest.$ac_objext conftest$ac_exeext
40627 if { (ac_try="$ac_link"
40628 case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40631 esac
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_link") 2>conftest.er1
40634 ac_status=$?
40635 grep -v '^ *+' conftest.er1 >conftest.err
40636 rm -f conftest.er1
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } && {
40640 test -z "$ac_c_werror_flag" ||
40641 test ! -s conftest.err
40642 } && test -s conftest$ac_exeext &&
40643 $as_test_x conftest$ac_exeext; then
40644 eval wx_cv_func_$wx_func=yes
40645 else
40646 echo "$as_me: failed program was:" >&5
40647 sed 's/^/| /' conftest.$ac_ext >&5
40648
40649 eval wx_cv_func_$wx_func=no
40650 fi
40651
40652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40653 conftest$ac_exeext conftest.$ac_ext
40654
40655 fi
40656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40657 { echo "$as_me:$LINENO: result: $ac_res" >&5
40658 echo "${ECHO_T}$ac_res" >&6; }
40659
40660 if eval test \$wx_cv_func_$wx_func = yes
40661 then
40662 cat >>confdefs.h <<_ACEOF
40663 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40664 _ACEOF
40665
40666
40667 else
40668 :
40669
40670 fi
40671 done
40672
40673 if test "$wx_cv_func_uname" != yes; then
40674
40675 for wx_func in gethostname
40676 do
40677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40680 echo $ECHO_N "(cached) $ECHO_C" >&6
40681 else
40682
40683 cat >conftest.$ac_ext <<_ACEOF
40684
40685 /* confdefs.h. */
40686 _ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690
40691
40692 $ac_includes_default
40693
40694 int
40695 main ()
40696 {
40697
40698 #ifndef $wx_func
40699 &$wx_func;
40700 #endif
40701
40702
40703 ;
40704 return 0;
40705 }
40706
40707 _ACEOF
40708 rm -f conftest.$ac_objext conftest$ac_exeext
40709 if { (ac_try="$ac_link"
40710 case "(($ac_try" in
40711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40712 *) ac_try_echo=$ac_try;;
40713 esac
40714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40715 (eval "$ac_link") 2>conftest.er1
40716 ac_status=$?
40717 grep -v '^ *+' conftest.er1 >conftest.err
40718 rm -f conftest.er1
40719 cat conftest.err >&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); } && {
40722 test -z "$ac_c_werror_flag" ||
40723 test ! -s conftest.err
40724 } && test -s conftest$ac_exeext &&
40725 $as_test_x conftest$ac_exeext; then
40726 eval wx_cv_func_$wx_func=yes
40727 else
40728 echo "$as_me: failed program was:" >&5
40729 sed 's/^/| /' conftest.$ac_ext >&5
40730
40731 eval wx_cv_func_$wx_func=no
40732 fi
40733
40734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40735 conftest$ac_exeext conftest.$ac_ext
40736
40737 fi
40738 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40739 { echo "$as_me:$LINENO: result: $ac_res" >&5
40740 echo "${ECHO_T}$ac_res" >&6; }
40741
40742 if eval test \$wx_cv_func_$wx_func = yes
40743 then
40744 cat >>confdefs.h <<_ACEOF
40745 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40746 _ACEOF
40747
40748
40749 else
40750 :
40751
40752 fi
40753 done
40754
40755 fi
40756
40757
40758 for wx_func in strtok_r
40759 do
40760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40764 else
40765
40766 cat >conftest.$ac_ext <<_ACEOF
40767
40768 /* confdefs.h. */
40769 _ACEOF
40770 cat confdefs.h >>conftest.$ac_ext
40771 cat >>conftest.$ac_ext <<_ACEOF
40772 /* end confdefs.h. */
40773
40774 #define _REENTRANT
40775 $ac_includes_default
40776
40777 int
40778 main ()
40779 {
40780
40781 #ifndef $wx_func
40782 &$wx_func;
40783 #endif
40784
40785
40786 ;
40787 return 0;
40788 }
40789
40790 _ACEOF
40791 rm -f conftest.$ac_objext conftest$ac_exeext
40792 if { (ac_try="$ac_link"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40795 *) ac_try_echo=$ac_try;;
40796 esac
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_link") 2>conftest.er1
40799 ac_status=$?
40800 grep -v '^ *+' conftest.er1 >conftest.err
40801 rm -f conftest.er1
40802 cat conftest.err >&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest$ac_exeext &&
40808 $as_test_x conftest$ac_exeext; then
40809 eval wx_cv_func_$wx_func=yes
40810 else
40811 echo "$as_me: failed program was:" >&5
40812 sed 's/^/| /' conftest.$ac_ext >&5
40813
40814 eval wx_cv_func_$wx_func=no
40815 fi
40816
40817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40818 conftest$ac_exeext conftest.$ac_ext
40819
40820 fi
40821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40822 { echo "$as_me:$LINENO: result: $ac_res" >&5
40823 echo "${ECHO_T}$ac_res" >&6; }
40824
40825 if eval test \$wx_cv_func_$wx_func = yes
40826 then
40827 cat >>confdefs.h <<_ACEOF
40828 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40829 _ACEOF
40830
40831
40832 else
40833 :
40834
40835 fi
40836 done
40837
40838
40839 INET_LINK=
40840
40841 for ac_func in inet_addr
40842 do
40843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 else
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40858
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40863
40864 #ifdef __STDC__
40865 # include <limits.h>
40866 #else
40867 # include <assert.h>
40868 #endif
40869
40870 #undef $ac_func
40871
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40875 #ifdef __cplusplus
40876 extern "C"
40877 #endif
40878 char $ac_func ();
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_$ac_func || defined __stub___$ac_func
40883 choke me
40884 #endif
40885
40886 int
40887 main ()
40888 {
40889 return $ac_func ();
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 rm -f conftest.$ac_objext conftest$ac_exeext
40895 if { (ac_try="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40899 esac
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40902 ac_status=$?
40903 grep -v '^ *+' conftest.er1 >conftest.err
40904 rm -f conftest.er1
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 eval "$as_ac_var=yes"
40913 else
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40916
40917 eval "$as_ac_var=no"
40918 fi
40919
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40922 fi
40923 ac_res=`eval echo '${'$as_ac_var'}'`
40924 { echo "$as_me:$LINENO: result: $ac_res" >&5
40925 echo "${ECHO_T}$ac_res" >&6; }
40926 if test `eval echo '${'$as_ac_var'}'` = yes; then
40927 cat >>confdefs.h <<_ACEOF
40928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40929 _ACEOF
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_INET_ADDR 1
40932 _ACEOF
40933
40934 else
40935
40936 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40937 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40938 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40939 echo $ECHO_N "(cached) $ECHO_C" >&6
40940 else
40941 ac_check_lib_save_LIBS=$LIBS
40942 LIBS="-lnsl $LIBS"
40943 cat >conftest.$ac_ext <<_ACEOF
40944 /* confdefs.h. */
40945 _ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40949
40950 /* Override any GCC internal prototype to avoid an error.
40951 Use char because int might match the return type of a GCC
40952 builtin and then its argument prototype would still apply. */
40953 #ifdef __cplusplus
40954 extern "C"
40955 #endif
40956 char inet_addr ();
40957 int
40958 main ()
40959 {
40960 return inet_addr ();
40961 ;
40962 return 0;
40963 }
40964 _ACEOF
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (ac_try="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40970 esac
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40973 ac_status=$?
40974 grep -v '^ *+' conftest.er1 >conftest.err
40975 rm -f conftest.er1
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest$ac_exeext &&
40982 $as_test_x conftest$ac_exeext; then
40983 ac_cv_lib_nsl_inet_addr=yes
40984 else
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.$ac_ext >&5
40987
40988 ac_cv_lib_nsl_inet_addr=no
40989 fi
40990
40991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40992 conftest$ac_exeext conftest.$ac_ext
40993 LIBS=$ac_check_lib_save_LIBS
40994 fi
40995 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40996 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40997 if test $ac_cv_lib_nsl_inet_addr = yes; then
40998 INET_LINK="nsl"
40999 else
41000
41001 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41002 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41003 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41005 else
41006 ac_check_lib_save_LIBS=$LIBS
41007 LIBS="-lresolv $LIBS"
41008 cat >conftest.$ac_ext <<_ACEOF
41009 /* confdefs.h. */
41010 _ACEOF
41011 cat confdefs.h >>conftest.$ac_ext
41012 cat >>conftest.$ac_ext <<_ACEOF
41013 /* end confdefs.h. */
41014
41015 /* Override any GCC internal prototype to avoid an error.
41016 Use char because int might match the return type of a GCC
41017 builtin and then its argument prototype would still apply. */
41018 #ifdef __cplusplus
41019 extern "C"
41020 #endif
41021 char inet_addr ();
41022 int
41023 main ()
41024 {
41025 return inet_addr ();
41026 ;
41027 return 0;
41028 }
41029 _ACEOF
41030 rm -f conftest.$ac_objext conftest$ac_exeext
41031 if { (ac_try="$ac_link"
41032 case "(($ac_try" in
41033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41034 *) ac_try_echo=$ac_try;;
41035 esac
41036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41037 (eval "$ac_link") 2>conftest.er1
41038 ac_status=$?
41039 grep -v '^ *+' conftest.er1 >conftest.err
41040 rm -f conftest.er1
41041 cat conftest.err >&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } && {
41044 test -z "$ac_c_werror_flag" ||
41045 test ! -s conftest.err
41046 } && test -s conftest$ac_exeext &&
41047 $as_test_x conftest$ac_exeext; then
41048 ac_cv_lib_resolv_inet_addr=yes
41049 else
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41052
41053 ac_cv_lib_resolv_inet_addr=no
41054 fi
41055
41056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41057 conftest$ac_exeext conftest.$ac_ext
41058 LIBS=$ac_check_lib_save_LIBS
41059 fi
41060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41062 if test $ac_cv_lib_resolv_inet_addr = yes; then
41063 INET_LINK="resolv"
41064 else
41065
41066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41069 echo $ECHO_N "(cached) $ECHO_C" >&6
41070 else
41071 ac_check_lib_save_LIBS=$LIBS
41072 LIBS="-lsocket $LIBS"
41073 cat >conftest.$ac_ext <<_ACEOF
41074 /* confdefs.h. */
41075 _ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41079
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41083 #ifdef __cplusplus
41084 extern "C"
41085 #endif
41086 char inet_addr ();
41087 int
41088 main ()
41089 {
41090 return inet_addr ();
41091 ;
41092 return 0;
41093 }
41094 _ACEOF
41095 rm -f conftest.$ac_objext conftest$ac_exeext
41096 if { (ac_try="$ac_link"
41097 case "(($ac_try" in
41098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41099 *) ac_try_echo=$ac_try;;
41100 esac
41101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41102 (eval "$ac_link") 2>conftest.er1
41103 ac_status=$?
41104 grep -v '^ *+' conftest.er1 >conftest.err
41105 rm -f conftest.er1
41106 cat conftest.err >&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); } && {
41109 test -z "$ac_c_werror_flag" ||
41110 test ! -s conftest.err
41111 } && test -s conftest$ac_exeext &&
41112 $as_test_x conftest$ac_exeext; then
41113 ac_cv_lib_socket_inet_addr=yes
41114 else
41115 echo "$as_me: failed program was:" >&5
41116 sed 's/^/| /' conftest.$ac_ext >&5
41117
41118 ac_cv_lib_socket_inet_addr=no
41119 fi
41120
41121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41122 conftest$ac_exeext conftest.$ac_ext
41123 LIBS=$ac_check_lib_save_LIBS
41124 fi
41125 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41126 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41127 if test $ac_cv_lib_socket_inet_addr = yes; then
41128 INET_LINK="socket"
41129
41130 fi
41131
41132
41133
41134 fi
41135
41136
41137
41138 fi
41139
41140
41141
41142 fi
41143 done
41144
41145
41146
41147 for ac_func in inet_aton
41148 do
41149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41153 echo $ECHO_N "(cached) $ECHO_C" >&6
41154 else
41155 cat >conftest.$ac_ext <<_ACEOF
41156 /* confdefs.h. */
41157 _ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41163 #define $ac_func innocuous_$ac_func
41164
41165 /* System header to define __stub macros and hopefully few prototypes,
41166 which can conflict with char $ac_func (); below.
41167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41168 <limits.h> exists even on freestanding compilers. */
41169
41170 #ifdef __STDC__
41171 # include <limits.h>
41172 #else
41173 # include <assert.h>
41174 #endif
41175
41176 #undef $ac_func
41177
41178 /* Override any GCC internal prototype to avoid an error.
41179 Use char because int might match the return type of a GCC
41180 builtin and then its argument prototype would still apply. */
41181 #ifdef __cplusplus
41182 extern "C"
41183 #endif
41184 char $ac_func ();
41185 /* The GNU C library defines this for functions which it implements
41186 to always fail with ENOSYS. Some functions are actually named
41187 something starting with __ and the normal name is an alias. */
41188 #if defined __stub_$ac_func || defined __stub___$ac_func
41189 choke me
41190 #endif
41191
41192 int
41193 main ()
41194 {
41195 return $ac_func ();
41196 ;
41197 return 0;
41198 }
41199 _ACEOF
41200 rm -f conftest.$ac_objext conftest$ac_exeext
41201 if { (ac_try="$ac_link"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41205 esac
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_link") 2>conftest.er1
41208 ac_status=$?
41209 grep -v '^ *+' conftest.er1 >conftest.err
41210 rm -f conftest.er1
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_c_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest$ac_exeext &&
41217 $as_test_x conftest$ac_exeext; then
41218 eval "$as_ac_var=yes"
41219 else
41220 echo "$as_me: failed program was:" >&5
41221 sed 's/^/| /' conftest.$ac_ext >&5
41222
41223 eval "$as_ac_var=no"
41224 fi
41225
41226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41227 conftest$ac_exeext conftest.$ac_ext
41228 fi
41229 ac_res=`eval echo '${'$as_ac_var'}'`
41230 { echo "$as_me:$LINENO: result: $ac_res" >&5
41231 echo "${ECHO_T}$ac_res" >&6; }
41232 if test `eval echo '${'$as_ac_var'}'` = yes; then
41233 cat >>confdefs.h <<_ACEOF
41234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41235 _ACEOF
41236 cat >>confdefs.h <<\_ACEOF
41237 #define HAVE_INET_ATON 1
41238 _ACEOF
41239
41240 else
41241
41242 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41243 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41244 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41245 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41248 ac_check_lib_save_LIBS=$LIBS
41249 LIBS="-l$INET_LINK $LIBS"
41250 cat >conftest.$ac_ext <<_ACEOF
41251 /* confdefs.h. */
41252 _ACEOF
41253 cat confdefs.h >>conftest.$ac_ext
41254 cat >>conftest.$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41256
41257 /* Override any GCC internal prototype to avoid an error.
41258 Use char because int might match the return type of a GCC
41259 builtin and then its argument prototype would still apply. */
41260 #ifdef __cplusplus
41261 extern "C"
41262 #endif
41263 char inet_aton ();
41264 int
41265 main ()
41266 {
41267 return inet_aton ();
41268 ;
41269 return 0;
41270 }
41271 _ACEOF
41272 rm -f conftest.$ac_objext conftest$ac_exeext
41273 if { (ac_try="$ac_link"
41274 case "(($ac_try" in
41275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41276 *) ac_try_echo=$ac_try;;
41277 esac
41278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41279 (eval "$ac_link") 2>conftest.er1
41280 ac_status=$?
41281 grep -v '^ *+' conftest.er1 >conftest.err
41282 rm -f conftest.er1
41283 cat conftest.err >&5
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); } && {
41286 test -z "$ac_c_werror_flag" ||
41287 test ! -s conftest.err
41288 } && test -s conftest$ac_exeext &&
41289 $as_test_x conftest$ac_exeext; then
41290 eval "$as_ac_Lib=yes"
41291 else
41292 echo "$as_me: failed program was:" >&5
41293 sed 's/^/| /' conftest.$ac_ext >&5
41294
41295 eval "$as_ac_Lib=no"
41296 fi
41297
41298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41299 conftest$ac_exeext conftest.$ac_ext
41300 LIBS=$ac_check_lib_save_LIBS
41301 fi
41302 ac_res=`eval echo '${'$as_ac_Lib'}'`
41303 { echo "$as_me:$LINENO: result: $ac_res" >&5
41304 echo "${ECHO_T}$ac_res" >&6; }
41305 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41306 cat >>confdefs.h <<\_ACEOF
41307 #define HAVE_INET_ATON 1
41308 _ACEOF
41309
41310 fi
41311
41312
41313 fi
41314 done
41315
41316
41317 if test "x$INET_LINK" != "x"; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define HAVE_INET_ADDR 1
41320 _ACEOF
41321
41322 INET_LINK=" -l$INET_LINK"
41323 fi
41324
41325
41326 for wx_func in fdopen
41327 do
41328 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41329 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41330 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41331 echo $ECHO_N "(cached) $ECHO_C" >&6
41332 else
41333
41334 cat >conftest.$ac_ext <<_ACEOF
41335
41336 /* confdefs.h. */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341
41342
41343 $ac_includes_default
41344
41345 int
41346 main ()
41347 {
41348
41349 #ifndef $wx_func
41350 &$wx_func;
41351 #endif
41352
41353
41354 ;
41355 return 0;
41356 }
41357
41358 _ACEOF
41359 rm -f conftest.$ac_objext conftest$ac_exeext
41360 if { (ac_try="$ac_link"
41361 case "(($ac_try" in
41362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41363 *) ac_try_echo=$ac_try;;
41364 esac
41365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41366 (eval "$ac_link") 2>conftest.er1
41367 ac_status=$?
41368 grep -v '^ *+' conftest.er1 >conftest.err
41369 rm -f conftest.er1
41370 cat conftest.err >&5
41371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41372 (exit $ac_status); } && {
41373 test -z "$ac_c_werror_flag" ||
41374 test ! -s conftest.err
41375 } && test -s conftest$ac_exeext &&
41376 $as_test_x conftest$ac_exeext; then
41377 eval wx_cv_func_$wx_func=yes
41378 else
41379 echo "$as_me: failed program was:" >&5
41380 sed 's/^/| /' conftest.$ac_ext >&5
41381
41382 eval wx_cv_func_$wx_func=no
41383 fi
41384
41385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41386 conftest$ac_exeext conftest.$ac_ext
41387
41388 fi
41389 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41390 { echo "$as_me:$LINENO: result: $ac_res" >&5
41391 echo "${ECHO_T}$ac_res" >&6; }
41392
41393 if eval test \$wx_cv_func_$wx_func = yes
41394 then
41395 cat >>confdefs.h <<_ACEOF
41396 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41397 _ACEOF
41398
41399
41400 else
41401 :
41402
41403 fi
41404 done
41405
41406
41407 fi
41408
41409
41410
41411 cat >confcache <<\_ACEOF
41412 # This file is a shell script that caches the results of configure
41413 # tests run on this system so they can be shared between configure
41414 # scripts and configure runs, see configure's option --config-cache.
41415 # It is not useful on other systems. If it contains results you don't
41416 # want to keep, you may remove or edit it.
41417 #
41418 # config.status only pays attention to the cache file if you give it
41419 # the --recheck option to rerun configure.
41420 #
41421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41423 # following values.
41424
41425 _ACEOF
41426
41427 # The following way of writing the cache mishandles newlines in values,
41428 # but we know of no workaround that is simple, portable, and efficient.
41429 # So, we kill variables containing newlines.
41430 # Ultrix sh set writes to stderr and can't be redirected directly,
41431 # and sets the high bit in the cache file unless we assign to the vars.
41432 (
41433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41434 eval ac_val=\$$ac_var
41435 case $ac_val in #(
41436 *${as_nl}*)
41437 case $ac_var in #(
41438 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41439 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41440 esac
41441 case $ac_var in #(
41442 _ | IFS | as_nl) ;; #(
41443 *) $as_unset $ac_var ;;
41444 esac ;;
41445 esac
41446 done
41447
41448 (set) 2>&1 |
41449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41450 *${as_nl}ac_space=\ *)
41451 # `set' does not quote correctly, so add quotes (double-quote
41452 # substitution turns \\\\ into \\, and sed turns \\ into \).
41453 sed -n \
41454 "s/'/'\\\\''/g;
41455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41456 ;; #(
41457 *)
41458 # `set' quotes correctly as required by POSIX, so do not add quotes.
41459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41460 ;;
41461 esac |
41462 sort
41463 ) |
41464 sed '
41465 /^ac_cv_env_/b end
41466 t clear
41467 :clear
41468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41469 t end
41470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41471 :end' >>confcache
41472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41473 if test -w "$cache_file"; then
41474 test "x$cache_file" != "x/dev/null" &&
41475 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41476 echo "$as_me: updating cache $cache_file" >&6;}
41477 cat confcache >$cache_file
41478 else
41479 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41480 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41481 fi
41482 fi
41483 rm -f confcache
41484
41485
41486 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41487
41488
41489 THREADS_LINK=
41490 THREADS_CFLAGS=
41491
41492 if test "$wxUSE_THREADS" = "yes" ; then
41493 if test "$USE_BEOS" = 1; then
41494 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41495 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41496 wxUSE_THREADS="no"
41497 fi
41498 fi
41499
41500 if test "$wxUSE_THREADS" = "yes" ; then
41501
41502
41503 THREAD_OPTS="-pthread"
41504 if test "x$SUNCXX" = xyes; then
41505 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41506 fi
41507
41508 case "${host}" in
41509 *-*-solaris2* | *-*-sunos4* )
41510 if test "x$GCC" = "xyes"; then
41511 THREAD_OPTS="-pthreads $THREAD_OPTS"
41512 fi
41513 ;;
41514 *-*-freebsd*)
41515 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41516 ;;
41517 *-*-darwin* | *-*-cygwin* )
41518 THREAD_OPTS=""
41519 ;;
41520 *-*-aix*)
41521 THREAD_OPTS="pthreads"
41522 ;;
41523 *-hp-hpux* )
41524 if test "x$GCC" = "xyes"; then
41525 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41526 THREAD_OPTS=""
41527 else
41528 THREAD_OPTS="-mt"
41529 fi
41530 ;;
41531
41532 *-*-irix* )
41533 if test "x$GCC" = "xyes"; then
41534 THREAD_OPTS=""
41535 fi
41536 ;;
41537
41538 *-*-*UnixWare*)
41539 if test "x$GCC" != "xyes"; then
41540 THREAD_OPTS="-Ethread"
41541 fi
41542 ;;
41543 esac
41544
41545 THREAD_OPTS="$THREAD_OPTS pthread none"
41546
41547 THREADS_OK=no
41548 for flag in $THREAD_OPTS; do
41549 case $flag in
41550 none)
41551 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41552 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41553 ;;
41554
41555 -*)
41556 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41557 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41558 THREADS_CFLAGS="$flag"
41559 ;;
41560
41561 *)
41562 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41563 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41564 THREADS_LINK="-l$flag"
41565 ;;
41566 esac
41567
41568 save_LIBS="$LIBS"
41569 save_CFLAGS="$CFLAGS"
41570 LIBS="$THREADS_LINK $LIBS"
41571 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41572
41573 cat >conftest.$ac_ext <<_ACEOF
41574 /* confdefs.h. */
41575 _ACEOF
41576 cat confdefs.h >>conftest.$ac_ext
41577 cat >>conftest.$ac_ext <<_ACEOF
41578 /* end confdefs.h. */
41579 #include <pthread.h>
41580 int
41581 main ()
41582 {
41583 pthread_create(0,0,0,0);
41584 ;
41585 return 0;
41586 }
41587 _ACEOF
41588 rm -f conftest.$ac_objext conftest$ac_exeext
41589 if { (ac_try="$ac_link"
41590 case "(($ac_try" in
41591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41592 *) ac_try_echo=$ac_try;;
41593 esac
41594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41595 (eval "$ac_link") 2>conftest.er1
41596 ac_status=$?
41597 grep -v '^ *+' conftest.er1 >conftest.err
41598 rm -f conftest.er1
41599 cat conftest.err >&5
41600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 (exit $ac_status); } && {
41602 test -z "$ac_c_werror_flag" ||
41603 test ! -s conftest.err
41604 } && test -s conftest$ac_exeext &&
41605 $as_test_x conftest$ac_exeext; then
41606 THREADS_OK=yes
41607 else
41608 echo "$as_me: failed program was:" >&5
41609 sed 's/^/| /' conftest.$ac_ext >&5
41610
41611
41612 fi
41613
41614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41615 conftest$ac_exeext conftest.$ac_ext
41616
41617 LIBS="$save_LIBS"
41618 CFLAGS="$save_CFLAGS"
41619
41620 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41621 echo "${ECHO_T}$THREADS_OK" >&6; }
41622 if test "x$THREADS_OK" = "xyes"; then
41623 break;
41624 fi
41625
41626 THREADS_LINK=""
41627 THREADS_CFLAGS=""
41628 done
41629
41630 if test "x$THREADS_OK" != "xyes"; then
41631 wxUSE_THREADS=no
41632 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41633 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41634 else
41635 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41636 LIBS="$THREADS_LINK $LIBS"
41637
41638 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41639 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41640 flag=no
41641 case "${host}" in
41642 *-aix*)
41643 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41644 flag="-D_THREAD_SAFE"
41645 ;;
41646 *-freebsd*)
41647 flag="-D_THREAD_SAFE"
41648 ;;
41649 *-hp-hpux* )
41650 flag="-D_REENTRANT"
41651 if test "x$GCC" != "xyes"; then
41652 flag="$flag -D_RWSTD_MULTI_THREAD"
41653 fi
41654 ;;
41655 *solaris* | alpha*-osf*)
41656 flag="-D_REENTRANT"
41657 ;;
41658 esac
41659 { echo "$as_me:$LINENO: result: ${flag}" >&5
41660 echo "${ECHO_T}${flag}" >&6; }
41661 if test "x$flag" != xno; then
41662 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41663 fi
41664
41665 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41666 fi
41667 fi
41668
41669 if test "$wxUSE_THREADS" = "yes" ; then
41670
41671 for ac_func in thr_setconcurrency
41672 do
41673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41677 echo $ECHO_N "(cached) $ECHO_C" >&6
41678 else
41679 cat >conftest.$ac_ext <<_ACEOF
41680 /* confdefs.h. */
41681 _ACEOF
41682 cat confdefs.h >>conftest.$ac_ext
41683 cat >>conftest.$ac_ext <<_ACEOF
41684 /* end confdefs.h. */
41685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41687 #define $ac_func innocuous_$ac_func
41688
41689 /* System header to define __stub macros and hopefully few prototypes,
41690 which can conflict with char $ac_func (); below.
41691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41692 <limits.h> exists even on freestanding compilers. */
41693
41694 #ifdef __STDC__
41695 # include <limits.h>
41696 #else
41697 # include <assert.h>
41698 #endif
41699
41700 #undef $ac_func
41701
41702 /* Override any GCC internal prototype to avoid an error.
41703 Use char because int might match the return type of a GCC
41704 builtin and then its argument prototype would still apply. */
41705 #ifdef __cplusplus
41706 extern "C"
41707 #endif
41708 char $ac_func ();
41709 /* The GNU C library defines this for functions which it implements
41710 to always fail with ENOSYS. Some functions are actually named
41711 something starting with __ and the normal name is an alias. */
41712 #if defined __stub_$ac_func || defined __stub___$ac_func
41713 choke me
41714 #endif
41715
41716 int
41717 main ()
41718 {
41719 return $ac_func ();
41720 ;
41721 return 0;
41722 }
41723 _ACEOF
41724 rm -f conftest.$ac_objext conftest$ac_exeext
41725 if { (ac_try="$ac_link"
41726 case "(($ac_try" in
41727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41728 *) ac_try_echo=$ac_try;;
41729 esac
41730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41731 (eval "$ac_link") 2>conftest.er1
41732 ac_status=$?
41733 grep -v '^ *+' conftest.er1 >conftest.err
41734 rm -f conftest.er1
41735 cat conftest.err >&5
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); } && {
41738 test -z "$ac_c_werror_flag" ||
41739 test ! -s conftest.err
41740 } && test -s conftest$ac_exeext &&
41741 $as_test_x conftest$ac_exeext; then
41742 eval "$as_ac_var=yes"
41743 else
41744 echo "$as_me: failed program was:" >&5
41745 sed 's/^/| /' conftest.$ac_ext >&5
41746
41747 eval "$as_ac_var=no"
41748 fi
41749
41750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41751 conftest$ac_exeext conftest.$ac_ext
41752 fi
41753 ac_res=`eval echo '${'$as_ac_var'}'`
41754 { echo "$as_me:$LINENO: result: $ac_res" >&5
41755 echo "${ECHO_T}$ac_res" >&6; }
41756 if test `eval echo '${'$as_ac_var'}'` = yes; then
41757 cat >>confdefs.h <<_ACEOF
41758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41759 _ACEOF
41760
41761 fi
41762 done
41763
41764
41765 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41766 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41767 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41769 else
41770
41771 ac_ext=cpp
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41776
41777 cat >conftest.$ac_ext <<_ACEOF
41778 /* confdefs.h. */
41779 _ACEOF
41780 cat confdefs.h >>conftest.$ac_ext
41781 cat >>conftest.$ac_ext <<_ACEOF
41782 /* end confdefs.h. */
41783 #include <pthread.h>
41784 void ThreadCleanupFunc(void *p);
41785
41786 int
41787 main ()
41788 {
41789
41790 void *p;
41791 pthread_cleanup_push(ThreadCleanupFunc, p);
41792 pthread_cleanup_pop(0);
41793
41794 ;
41795 return 0;
41796 }
41797 _ACEOF
41798 rm -f conftest.$ac_objext
41799 if { (ac_try="$ac_compile"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41803 esac
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_compile") 2>conftest.er1
41806 ac_status=$?
41807 grep -v '^ *+' conftest.er1 >conftest.err
41808 rm -f conftest.er1
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_cxx_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest.$ac_objext; then
41815
41816 wx_cv_func_pthread_cleanup=yes
41817
41818 else
41819 echo "$as_me: failed program was:" >&5
41820 sed 's/^/| /' conftest.$ac_ext >&5
41821
41822
41823 wx_cv_func_pthread_cleanup=no
41824
41825
41826 fi
41827
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829 ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41834
41835
41836 fi
41837 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41838 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41839 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxHAVE_PTHREAD_CLEANUP 1
41842 _ACEOF
41843
41844 fi
41845
41846
41847 for ac_header in sched.h
41848 do
41849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41850 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41853 echo $ECHO_N "(cached) $ECHO_C" >&6
41854 else
41855 cat >conftest.$ac_ext <<_ACEOF
41856 /* confdefs.h. */
41857 _ACEOF
41858 cat confdefs.h >>conftest.$ac_ext
41859 cat >>conftest.$ac_ext <<_ACEOF
41860 /* end confdefs.h. */
41861 $ac_includes_default
41862
41863 #include <$ac_header>
41864 _ACEOF
41865 rm -f conftest.$ac_objext
41866 if { (ac_try="$ac_compile"
41867 case "(($ac_try" in
41868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41869 *) ac_try_echo=$ac_try;;
41870 esac
41871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41872 (eval "$ac_compile") 2>conftest.er1
41873 ac_status=$?
41874 grep -v '^ *+' conftest.er1 >conftest.err
41875 rm -f conftest.er1
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } && {
41879 test -z "$ac_c_werror_flag" ||
41880 test ! -s conftest.err
41881 } && test -s conftest.$ac_objext; then
41882 eval "$as_ac_Header=yes"
41883 else
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.$ac_ext >&5
41886
41887 eval "$as_ac_Header=no"
41888 fi
41889
41890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41891 fi
41892 ac_res=`eval echo '${'$as_ac_Header'}'`
41893 { echo "$as_me:$LINENO: result: $ac_res" >&5
41894 echo "${ECHO_T}$ac_res" >&6; }
41895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41896 cat >>confdefs.h <<_ACEOF
41897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41898 _ACEOF
41899
41900 fi
41901
41902 done
41903
41904 if test "$ac_cv_header_sched_h" = "yes"; then
41905 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41906 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41907 if test "${ac_cv_func_sched_yield+set}" = set; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41909 else
41910 cat >conftest.$ac_ext <<_ACEOF
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41918 #define sched_yield innocuous_sched_yield
41919
41920 /* System header to define __stub macros and hopefully few prototypes,
41921 which can conflict with char sched_yield (); below.
41922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41923 <limits.h> exists even on freestanding compilers. */
41924
41925 #ifdef __STDC__
41926 # include <limits.h>
41927 #else
41928 # include <assert.h>
41929 #endif
41930
41931 #undef sched_yield
41932
41933 /* Override any GCC internal prototype to avoid an error.
41934 Use char because int might match the return type of a GCC
41935 builtin and then its argument prototype would still apply. */
41936 #ifdef __cplusplus
41937 extern "C"
41938 #endif
41939 char sched_yield ();
41940 /* The GNU C library defines this for functions which it implements
41941 to always fail with ENOSYS. Some functions are actually named
41942 something starting with __ and the normal name is an alias. */
41943 #if defined __stub_sched_yield || defined __stub___sched_yield
41944 choke me
41945 #endif
41946
41947 int
41948 main ()
41949 {
41950 return sched_yield ();
41951 ;
41952 return 0;
41953 }
41954 _ACEOF
41955 rm -f conftest.$ac_objext conftest$ac_exeext
41956 if { (ac_try="$ac_link"
41957 case "(($ac_try" in
41958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41959 *) ac_try_echo=$ac_try;;
41960 esac
41961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41962 (eval "$ac_link") 2>conftest.er1
41963 ac_status=$?
41964 grep -v '^ *+' conftest.er1 >conftest.err
41965 rm -f conftest.er1
41966 cat conftest.err >&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); } && {
41969 test -z "$ac_c_werror_flag" ||
41970 test ! -s conftest.err
41971 } && test -s conftest$ac_exeext &&
41972 $as_test_x conftest$ac_exeext; then
41973 ac_cv_func_sched_yield=yes
41974 else
41975 echo "$as_me: failed program was:" >&5
41976 sed 's/^/| /' conftest.$ac_ext >&5
41977
41978 ac_cv_func_sched_yield=no
41979 fi
41980
41981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41982 conftest$ac_exeext conftest.$ac_ext
41983 fi
41984 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41985 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41986 if test $ac_cv_func_sched_yield = yes; then
41987 cat >>confdefs.h <<\_ACEOF
41988 #define HAVE_SCHED_YIELD 1
41989 _ACEOF
41990
41991 else
41992
41993 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41994 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41995 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41997 else
41998 ac_check_lib_save_LIBS=$LIBS
41999 LIBS="-lposix4 $LIBS"
42000 cat >conftest.$ac_ext <<_ACEOF
42001 /* confdefs.h. */
42002 _ACEOF
42003 cat confdefs.h >>conftest.$ac_ext
42004 cat >>conftest.$ac_ext <<_ACEOF
42005 /* end confdefs.h. */
42006
42007 /* Override any GCC internal prototype to avoid an error.
42008 Use char because int might match the return type of a GCC
42009 builtin and then its argument prototype would still apply. */
42010 #ifdef __cplusplus
42011 extern "C"
42012 #endif
42013 char sched_yield ();
42014 int
42015 main ()
42016 {
42017 return sched_yield ();
42018 ;
42019 return 0;
42020 }
42021 _ACEOF
42022 rm -f conftest.$ac_objext conftest$ac_exeext
42023 if { (ac_try="$ac_link"
42024 case "(($ac_try" in
42025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42026 *) ac_try_echo=$ac_try;;
42027 esac
42028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42029 (eval "$ac_link") 2>conftest.er1
42030 ac_status=$?
42031 grep -v '^ *+' conftest.er1 >conftest.err
42032 rm -f conftest.er1
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } && {
42036 test -z "$ac_c_werror_flag" ||
42037 test ! -s conftest.err
42038 } && test -s conftest$ac_exeext &&
42039 $as_test_x conftest$ac_exeext; then
42040 ac_cv_lib_posix4_sched_yield=yes
42041 else
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42044
42045 ac_cv_lib_posix4_sched_yield=no
42046 fi
42047
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42050 LIBS=$ac_check_lib_save_LIBS
42051 fi
42052 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42053 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42054 if test $ac_cv_lib_posix4_sched_yield = yes; then
42055 cat >>confdefs.h <<\_ACEOF
42056 #define HAVE_SCHED_YIELD 1
42057 _ACEOF
42058 POSIX4_LINK=" -lposix4"
42059 else
42060 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42061 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42062
42063 fi
42064
42065
42066
42067 fi
42068
42069 fi
42070
42071 HAVE_PRIOR_FUNCS=0
42072 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42073 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42074 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 else
42077 cat >conftest.$ac_ext <<_ACEOF
42078 /* confdefs.h. */
42079 _ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42086
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char pthread_attr_getschedpolicy (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42091
42092 #ifdef __STDC__
42093 # include <limits.h>
42094 #else
42095 # include <assert.h>
42096 #endif
42097
42098 #undef pthread_attr_getschedpolicy
42099
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42103 #ifdef __cplusplus
42104 extern "C"
42105 #endif
42106 char pthread_attr_getschedpolicy ();
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42111 choke me
42112 #endif
42113
42114 int
42115 main ()
42116 {
42117 return pthread_attr_getschedpolicy ();
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42127 esac
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42130 ac_status=$?
42131 grep -v '^ *+' conftest.er1 >conftest.err
42132 rm -f conftest.er1
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 ac_cv_func_pthread_attr_getschedpolicy=yes
42141 else
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42144
42145 ac_cv_func_pthread_attr_getschedpolicy=no
42146 fi
42147
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42150 fi
42151 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42152 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42153 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42154 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42155 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42156 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42157 echo $ECHO_N "(cached) $ECHO_C" >&6
42158 else
42159 cat >conftest.$ac_ext <<_ACEOF
42160 /* confdefs.h. */
42161 _ACEOF
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42165 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42167 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42168
42169 /* System header to define __stub macros and hopefully few prototypes,
42170 which can conflict with char pthread_attr_setschedparam (); below.
42171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42172 <limits.h> exists even on freestanding compilers. */
42173
42174 #ifdef __STDC__
42175 # include <limits.h>
42176 #else
42177 # include <assert.h>
42178 #endif
42179
42180 #undef pthread_attr_setschedparam
42181
42182 /* Override any GCC internal prototype to avoid an error.
42183 Use char because int might match the return type of a GCC
42184 builtin and then its argument prototype would still apply. */
42185 #ifdef __cplusplus
42186 extern "C"
42187 #endif
42188 char pthread_attr_setschedparam ();
42189 /* The GNU C library defines this for functions which it implements
42190 to always fail with ENOSYS. Some functions are actually named
42191 something starting with __ and the normal name is an alias. */
42192 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42193 choke me
42194 #endif
42195
42196 int
42197 main ()
42198 {
42199 return pthread_attr_setschedparam ();
42200 ;
42201 return 0;
42202 }
42203 _ACEOF
42204 rm -f conftest.$ac_objext conftest$ac_exeext
42205 if { (ac_try="$ac_link"
42206 case "(($ac_try" in
42207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42208 *) ac_try_echo=$ac_try;;
42209 esac
42210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42211 (eval "$ac_link") 2>conftest.er1
42212 ac_status=$?
42213 grep -v '^ *+' conftest.er1 >conftest.err
42214 rm -f conftest.er1
42215 cat conftest.err >&5
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); } && {
42218 test -z "$ac_c_werror_flag" ||
42219 test ! -s conftest.err
42220 } && test -s conftest$ac_exeext &&
42221 $as_test_x conftest$ac_exeext; then
42222 ac_cv_func_pthread_attr_setschedparam=yes
42223 else
42224 echo "$as_me: failed program was:" >&5
42225 sed 's/^/| /' conftest.$ac_ext >&5
42226
42227 ac_cv_func_pthread_attr_setschedparam=no
42228 fi
42229
42230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42231 conftest$ac_exeext conftest.$ac_ext
42232 fi
42233 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42234 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42235 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42236 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42237 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42238 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42239 echo $ECHO_N "(cached) $ECHO_C" >&6
42240 else
42241 cat >conftest.$ac_ext <<_ACEOF
42242 /* confdefs.h. */
42243 _ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42247 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42249 #define sched_get_priority_max innocuous_sched_get_priority_max
42250
42251 /* System header to define __stub macros and hopefully few prototypes,
42252 which can conflict with char sched_get_priority_max (); below.
42253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42254 <limits.h> exists even on freestanding compilers. */
42255
42256 #ifdef __STDC__
42257 # include <limits.h>
42258 #else
42259 # include <assert.h>
42260 #endif
42261
42262 #undef sched_get_priority_max
42263
42264 /* Override any GCC internal prototype to avoid an error.
42265 Use char because int might match the return type of a GCC
42266 builtin and then its argument prototype would still apply. */
42267 #ifdef __cplusplus
42268 extern "C"
42269 #endif
42270 char sched_get_priority_max ();
42271 /* The GNU C library defines this for functions which it implements
42272 to always fail with ENOSYS. Some functions are actually named
42273 something starting with __ and the normal name is an alias. */
42274 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42275 choke me
42276 #endif
42277
42278 int
42279 main ()
42280 {
42281 return sched_get_priority_max ();
42282 ;
42283 return 0;
42284 }
42285 _ACEOF
42286 rm -f conftest.$ac_objext conftest$ac_exeext
42287 if { (ac_try="$ac_link"
42288 case "(($ac_try" in
42289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42290 *) ac_try_echo=$ac_try;;
42291 esac
42292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42293 (eval "$ac_link") 2>conftest.er1
42294 ac_status=$?
42295 grep -v '^ *+' conftest.er1 >conftest.err
42296 rm -f conftest.er1
42297 cat conftest.err >&5
42298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42299 (exit $ac_status); } && {
42300 test -z "$ac_c_werror_flag" ||
42301 test ! -s conftest.err
42302 } && test -s conftest$ac_exeext &&
42303 $as_test_x conftest$ac_exeext; then
42304 ac_cv_func_sched_get_priority_max=yes
42305 else
42306 echo "$as_me: failed program was:" >&5
42307 sed 's/^/| /' conftest.$ac_ext >&5
42308
42309 ac_cv_func_sched_get_priority_max=no
42310 fi
42311
42312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42313 conftest$ac_exeext conftest.$ac_ext
42314 fi
42315 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42316 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42317 if test $ac_cv_func_sched_get_priority_max = yes; then
42318 HAVE_PRIOR_FUNCS=1
42319 else
42320 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42321 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42322 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42323 echo $ECHO_N "(cached) $ECHO_C" >&6
42324 else
42325 ac_check_lib_save_LIBS=$LIBS
42326 LIBS="-lposix4 $LIBS"
42327 cat >conftest.$ac_ext <<_ACEOF
42328 /* confdefs.h. */
42329 _ACEOF
42330 cat confdefs.h >>conftest.$ac_ext
42331 cat >>conftest.$ac_ext <<_ACEOF
42332 /* end confdefs.h. */
42333
42334 /* Override any GCC internal prototype to avoid an error.
42335 Use char because int might match the return type of a GCC
42336 builtin and then its argument prototype would still apply. */
42337 #ifdef __cplusplus
42338 extern "C"
42339 #endif
42340 char sched_get_priority_max ();
42341 int
42342 main ()
42343 {
42344 return sched_get_priority_max ();
42345 ;
42346 return 0;
42347 }
42348 _ACEOF
42349 rm -f conftest.$ac_objext conftest$ac_exeext
42350 if { (ac_try="$ac_link"
42351 case "(($ac_try" in
42352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42353 *) ac_try_echo=$ac_try;;
42354 esac
42355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42356 (eval "$ac_link") 2>conftest.er1
42357 ac_status=$?
42358 grep -v '^ *+' conftest.er1 >conftest.err
42359 rm -f conftest.er1
42360 cat conftest.err >&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } && {
42363 test -z "$ac_c_werror_flag" ||
42364 test ! -s conftest.err
42365 } && test -s conftest$ac_exeext &&
42366 $as_test_x conftest$ac_exeext; then
42367 ac_cv_lib_posix4_sched_get_priority_max=yes
42368 else
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42371
42372 ac_cv_lib_posix4_sched_get_priority_max=no
42373 fi
42374
42375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42376 conftest$ac_exeext conftest.$ac_ext
42377 LIBS=$ac_check_lib_save_LIBS
42378 fi
42379 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42380 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42381 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42382
42383 HAVE_PRIOR_FUNCS=1
42384 POSIX4_LINK=" -lposix4"
42385
42386 fi
42387
42388
42389 fi
42390
42391
42392 fi
42393
42394
42395 fi
42396
42397
42398 if test "$HAVE_PRIOR_FUNCS" = 1; then
42399 cat >>confdefs.h <<\_ACEOF
42400 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42401 _ACEOF
42402
42403 else
42404 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42405 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42406 fi
42407
42408 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42409 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42410 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42411 echo $ECHO_N "(cached) $ECHO_C" >&6
42412 else
42413 cat >conftest.$ac_ext <<_ACEOF
42414 /* confdefs.h. */
42415 _ACEOF
42416 cat confdefs.h >>conftest.$ac_ext
42417 cat >>conftest.$ac_ext <<_ACEOF
42418 /* end confdefs.h. */
42419 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42421 #define pthread_cancel innocuous_pthread_cancel
42422
42423 /* System header to define __stub macros and hopefully few prototypes,
42424 which can conflict with char pthread_cancel (); below.
42425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42426 <limits.h> exists even on freestanding compilers. */
42427
42428 #ifdef __STDC__
42429 # include <limits.h>
42430 #else
42431 # include <assert.h>
42432 #endif
42433
42434 #undef pthread_cancel
42435
42436 /* Override any GCC internal prototype to avoid an error.
42437 Use char because int might match the return type of a GCC
42438 builtin and then its argument prototype would still apply. */
42439 #ifdef __cplusplus
42440 extern "C"
42441 #endif
42442 char pthread_cancel ();
42443 /* The GNU C library defines this for functions which it implements
42444 to always fail with ENOSYS. Some functions are actually named
42445 something starting with __ and the normal name is an alias. */
42446 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42447 choke me
42448 #endif
42449
42450 int
42451 main ()
42452 {
42453 return pthread_cancel ();
42454 ;
42455 return 0;
42456 }
42457 _ACEOF
42458 rm -f conftest.$ac_objext conftest$ac_exeext
42459 if { (ac_try="$ac_link"
42460 case "(($ac_try" in
42461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42462 *) ac_try_echo=$ac_try;;
42463 esac
42464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42465 (eval "$ac_link") 2>conftest.er1
42466 ac_status=$?
42467 grep -v '^ *+' conftest.er1 >conftest.err
42468 rm -f conftest.er1
42469 cat conftest.err >&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); } && {
42472 test -z "$ac_c_werror_flag" ||
42473 test ! -s conftest.err
42474 } && test -s conftest$ac_exeext &&
42475 $as_test_x conftest$ac_exeext; then
42476 ac_cv_func_pthread_cancel=yes
42477 else
42478 echo "$as_me: failed program was:" >&5
42479 sed 's/^/| /' conftest.$ac_ext >&5
42480
42481 ac_cv_func_pthread_cancel=no
42482 fi
42483
42484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42485 conftest$ac_exeext conftest.$ac_ext
42486 fi
42487 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42488 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42489 if test $ac_cv_func_pthread_cancel = yes; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define HAVE_PTHREAD_CANCEL 1
42492 _ACEOF
42493
42494 else
42495 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42496 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42497 fi
42498
42499
42500 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42501 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42502 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42504 else
42505 cat >conftest.$ac_ext <<_ACEOF
42506 /* confdefs.h. */
42507 _ACEOF
42508 cat confdefs.h >>conftest.$ac_ext
42509 cat >>conftest.$ac_ext <<_ACEOF
42510 /* end confdefs.h. */
42511 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42513 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42514
42515 /* System header to define __stub macros and hopefully few prototypes,
42516 which can conflict with char pthread_mutex_timedlock (); below.
42517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42518 <limits.h> exists even on freestanding compilers. */
42519
42520 #ifdef __STDC__
42521 # include <limits.h>
42522 #else
42523 # include <assert.h>
42524 #endif
42525
42526 #undef pthread_mutex_timedlock
42527
42528 /* Override any GCC internal prototype to avoid an error.
42529 Use char because int might match the return type of a GCC
42530 builtin and then its argument prototype would still apply. */
42531 #ifdef __cplusplus
42532 extern "C"
42533 #endif
42534 char pthread_mutex_timedlock ();
42535 /* The GNU C library defines this for functions which it implements
42536 to always fail with ENOSYS. Some functions are actually named
42537 something starting with __ and the normal name is an alias. */
42538 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42539 choke me
42540 #endif
42541
42542 int
42543 main ()
42544 {
42545 return pthread_mutex_timedlock ();
42546 ;
42547 return 0;
42548 }
42549 _ACEOF
42550 rm -f conftest.$ac_objext conftest$ac_exeext
42551 if { (ac_try="$ac_link"
42552 case "(($ac_try" in
42553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42554 *) ac_try_echo=$ac_try;;
42555 esac
42556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42557 (eval "$ac_link") 2>conftest.er1
42558 ac_status=$?
42559 grep -v '^ *+' conftest.er1 >conftest.err
42560 rm -f conftest.er1
42561 cat conftest.err >&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } && {
42564 test -z "$ac_c_werror_flag" ||
42565 test ! -s conftest.err
42566 } && test -s conftest$ac_exeext &&
42567 $as_test_x conftest$ac_exeext; then
42568 ac_cv_func_pthread_mutex_timedlock=yes
42569 else
42570 echo "$as_me: failed program was:" >&5
42571 sed 's/^/| /' conftest.$ac_ext >&5
42572
42573 ac_cv_func_pthread_mutex_timedlock=no
42574 fi
42575
42576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42577 conftest$ac_exeext conftest.$ac_ext
42578 fi
42579 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42580 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42581 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42582 cat >>confdefs.h <<\_ACEOF
42583 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42584 _ACEOF
42585
42586 else
42587 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42588 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42589 fi
42590
42591
42592 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42593 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42594 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42595 echo $ECHO_N "(cached) $ECHO_C" >&6
42596 else
42597 cat >conftest.$ac_ext <<_ACEOF
42598 /* confdefs.h. */
42599 _ACEOF
42600 cat confdefs.h >>conftest.$ac_ext
42601 cat >>conftest.$ac_ext <<_ACEOF
42602 /* end confdefs.h. */
42603 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42605 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42606
42607 /* System header to define __stub macros and hopefully few prototypes,
42608 which can conflict with char pthread_attr_setstacksize (); below.
42609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42610 <limits.h> exists even on freestanding compilers. */
42611
42612 #ifdef __STDC__
42613 # include <limits.h>
42614 #else
42615 # include <assert.h>
42616 #endif
42617
42618 #undef pthread_attr_setstacksize
42619
42620 /* Override any GCC internal prototype to avoid an error.
42621 Use char because int might match the return type of a GCC
42622 builtin and then its argument prototype would still apply. */
42623 #ifdef __cplusplus
42624 extern "C"
42625 #endif
42626 char pthread_attr_setstacksize ();
42627 /* The GNU C library defines this for functions which it implements
42628 to always fail with ENOSYS. Some functions are actually named
42629 something starting with __ and the normal name is an alias. */
42630 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42631 choke me
42632 #endif
42633
42634 int
42635 main ()
42636 {
42637 return pthread_attr_setstacksize ();
42638 ;
42639 return 0;
42640 }
42641 _ACEOF
42642 rm -f conftest.$ac_objext conftest$ac_exeext
42643 if { (ac_try="$ac_link"
42644 case "(($ac_try" in
42645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42647 esac
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_link") 2>conftest.er1
42650 ac_status=$?
42651 grep -v '^ *+' conftest.er1 >conftest.err
42652 rm -f conftest.er1
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_c_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest$ac_exeext &&
42659 $as_test_x conftest$ac_exeext; then
42660 ac_cv_func_pthread_attr_setstacksize=yes
42661 else
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42664
42665 ac_cv_func_pthread_attr_setstacksize=no
42666 fi
42667
42668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42669 conftest$ac_exeext conftest.$ac_ext
42670 fi
42671 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42672 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42673 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42676 _ACEOF
42677
42678 fi
42679
42680
42681
42682 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42683 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42684 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42685 echo $ECHO_N "(cached) $ECHO_C" >&6
42686 else
42687
42688 cat >conftest.$ac_ext <<_ACEOF
42689 /* confdefs.h. */
42690 _ACEOF
42691 cat confdefs.h >>conftest.$ac_ext
42692 cat >>conftest.$ac_ext <<_ACEOF
42693 /* end confdefs.h. */
42694 #include <pthread.h>
42695 int
42696 main ()
42697 {
42698
42699 pthread_mutexattr_t attr;
42700 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42701
42702 ;
42703 return 0;
42704 }
42705 _ACEOF
42706 rm -f conftest.$ac_objext
42707 if { (ac_try="$ac_compile"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42710 *) ac_try_echo=$ac_try;;
42711 esac
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_compile") 2>conftest.er1
42714 ac_status=$?
42715 grep -v '^ *+' conftest.er1 >conftest.err
42716 rm -f conftest.er1
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest.$ac_objext; then
42723 wx_cv_type_pthread_mutexattr_t=yes
42724 else
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42727
42728 wx_cv_type_pthread_mutexattr_t=no
42729
42730 fi
42731
42732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42733
42734 fi
42735 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42736 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42737
42738 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42739 cat >>confdefs.h <<\_ACEOF
42740 #define HAVE_PTHREAD_MUTEXATTR_T 1
42741 _ACEOF
42742
42743
42744 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42745 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42746 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749
42750 cat >conftest.$ac_ext <<_ACEOF
42751 /* confdefs.h. */
42752 _ACEOF
42753 cat confdefs.h >>conftest.$ac_ext
42754 cat >>conftest.$ac_ext <<_ACEOF
42755 /* end confdefs.h. */
42756 #include <pthread.h>
42757 int
42758 main ()
42759 {
42760
42761 pthread_mutexattr_t attr;
42762 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42763
42764 ;
42765 return 0;
42766 }
42767 _ACEOF
42768 rm -f conftest.$ac_objext
42769 if { (ac_try="$ac_compile"
42770 case "(($ac_try" in
42771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42772 *) ac_try_echo=$ac_try;;
42773 esac
42774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42775 (eval "$ac_compile") 2>conftest.er1
42776 ac_status=$?
42777 grep -v '^ *+' conftest.er1 >conftest.err
42778 rm -f conftest.er1
42779 cat conftest.err >&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } && {
42782 test -z "$ac_c_werror_flag" ||
42783 test ! -s conftest.err
42784 } && test -s conftest.$ac_objext; then
42785 wx_cv_func_pthread_mutexattr_settype_decl=yes
42786 else
42787 echo "$as_me: failed program was:" >&5
42788 sed 's/^/| /' conftest.$ac_ext >&5
42789
42790 wx_cv_func_pthread_mutexattr_settype_decl=no
42791
42792 fi
42793
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795
42796 fi
42797 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42798 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42799 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42800 cat >>confdefs.h <<\_ACEOF
42801 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42802 _ACEOF
42803
42804 fi
42805 else
42806 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42807 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42808 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42809 echo $ECHO_N "(cached) $ECHO_C" >&6
42810 else
42811
42812 cat >conftest.$ac_ext <<_ACEOF
42813 /* confdefs.h. */
42814 _ACEOF
42815 cat confdefs.h >>conftest.$ac_ext
42816 cat >>conftest.$ac_ext <<_ACEOF
42817 /* end confdefs.h. */
42818 #include <pthread.h>
42819 int
42820 main ()
42821 {
42822
42823 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42824
42825 ;
42826 return 0;
42827 }
42828 _ACEOF
42829 rm -f conftest.$ac_objext
42830 if { (ac_try="$ac_compile"
42831 case "(($ac_try" in
42832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42834 esac
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_compile") 2>conftest.er1
42837 ac_status=$?
42838 grep -v '^ *+' conftest.er1 >conftest.err
42839 rm -f conftest.er1
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest.$ac_objext; then
42846
42847 wx_cv_type_pthread_rec_mutex_init=yes
42848
42849 else
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42852
42853
42854 wx_cv_type_pthread_rec_mutex_init=no
42855
42856
42857 fi
42858
42859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42860
42861 fi
42862 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42863 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42864 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42865 cat >>confdefs.h <<\_ACEOF
42866 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42867 _ACEOF
42868
42869 else
42870 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42871 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42872 fi
42873 fi
42874 fi
42875
42876 else
42877 if test "$wxUSE_THREADS" = "yes" ; then
42878 case "${host}" in
42879 *-*-mingw32* )
42880 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42881 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42882 if test "${wx_cv_cflags_mthread+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42884 else
42885
42886 CFLAGS_OLD="$CFLAGS"
42887 CFLAGS="-mthreads $CFLAGS"
42888 cat >conftest.$ac_ext <<_ACEOF
42889 /* confdefs.h. */
42890 _ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h. */
42894
42895 int
42896 main ()
42897 {
42898
42899 ;
42900 return 0;
42901 }
42902 _ACEOF
42903 rm -f conftest.$ac_objext
42904 if { (ac_try="$ac_compile"
42905 case "(($ac_try" in
42906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42907 *) ac_try_echo=$ac_try;;
42908 esac
42909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42910 (eval "$ac_compile") 2>conftest.er1
42911 ac_status=$?
42912 grep -v '^ *+' conftest.er1 >conftest.err
42913 rm -f conftest.er1
42914 cat conftest.err >&5
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); } && {
42917 test -z "$ac_c_werror_flag" ||
42918 test ! -s conftest.err
42919 } && test -s conftest.$ac_objext; then
42920 wx_cv_cflags_mthread=yes
42921 else
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42924
42925 wx_cv_cflags_mthread=no
42926
42927 fi
42928
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42930
42931
42932 fi
42933 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42934 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42935
42936 if test "$wx_cv_cflags_mthread" = "yes"; then
42937 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42938 LDFLAGS="$LDFLAGS -mthreads"
42939 else
42940 CFLAGS="$CFLAGS_OLD"
42941 fi
42942 ;;
42943 *-pc-os2*emx )
42944 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42945 LDFLAGS="$LDFLAGS -Zmt"
42946 ;;
42947 esac
42948 fi
42949 fi
42950
42951 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42952 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42953 if test "${ac_cv_func_localtime_r+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42956 cat >conftest.$ac_ext <<_ACEOF
42957 /* confdefs.h. */
42958 _ACEOF
42959 cat confdefs.h >>conftest.$ac_ext
42960 cat >>conftest.$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42962 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42964 #define localtime_r innocuous_localtime_r
42965
42966 /* System header to define __stub macros and hopefully few prototypes,
42967 which can conflict with char localtime_r (); below.
42968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42969 <limits.h> exists even on freestanding compilers. */
42970
42971 #ifdef __STDC__
42972 # include <limits.h>
42973 #else
42974 # include <assert.h>
42975 #endif
42976
42977 #undef localtime_r
42978
42979 /* Override any GCC internal prototype to avoid an error.
42980 Use char because int might match the return type of a GCC
42981 builtin and then its argument prototype would still apply. */
42982 #ifdef __cplusplus
42983 extern "C"
42984 #endif
42985 char localtime_r ();
42986 /* The GNU C library defines this for functions which it implements
42987 to always fail with ENOSYS. Some functions are actually named
42988 something starting with __ and the normal name is an alias. */
42989 #if defined __stub_localtime_r || defined __stub___localtime_r
42990 choke me
42991 #endif
42992
42993 int
42994 main ()
42995 {
42996 return localtime_r ();
42997 ;
42998 return 0;
42999 }
43000 _ACEOF
43001 rm -f conftest.$ac_objext conftest$ac_exeext
43002 if { (ac_try="$ac_link"
43003 case "(($ac_try" in
43004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43005 *) ac_try_echo=$ac_try;;
43006 esac
43007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43008 (eval "$ac_link") 2>conftest.er1
43009 ac_status=$?
43010 grep -v '^ *+' conftest.er1 >conftest.err
43011 rm -f conftest.er1
43012 cat conftest.err >&5
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); } && {
43015 test -z "$ac_c_werror_flag" ||
43016 test ! -s conftest.err
43017 } && test -s conftest$ac_exeext &&
43018 $as_test_x conftest$ac_exeext; then
43019 ac_cv_func_localtime_r=yes
43020 else
43021 echo "$as_me: failed program was:" >&5
43022 sed 's/^/| /' conftest.$ac_ext >&5
43023
43024 ac_cv_func_localtime_r=no
43025 fi
43026
43027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43028 conftest$ac_exeext conftest.$ac_ext
43029 fi
43030 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43031 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43032 if test $ac_cv_func_localtime_r = yes; then
43033 cat >>confdefs.h <<\_ACEOF
43034 #define HAVE_LOCALTIME_R 1
43035 _ACEOF
43036
43037 fi
43038
43039 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43040 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43041 if test "${ac_cv_func_gmtime_r+set}" = set; then
43042 echo $ECHO_N "(cached) $ECHO_C" >&6
43043 else
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 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43052 #define gmtime_r innocuous_gmtime_r
43053
43054 /* System header to define __stub macros and hopefully few prototypes,
43055 which can conflict with char gmtime_r (); below.
43056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43057 <limits.h> exists even on freestanding compilers. */
43058
43059 #ifdef __STDC__
43060 # include <limits.h>
43061 #else
43062 # include <assert.h>
43063 #endif
43064
43065 #undef gmtime_r
43066
43067 /* Override any GCC internal prototype to avoid an error.
43068 Use char because int might match the return type of a GCC
43069 builtin and then its argument prototype would still apply. */
43070 #ifdef __cplusplus
43071 extern "C"
43072 #endif
43073 char gmtime_r ();
43074 /* The GNU C library defines this for functions which it implements
43075 to always fail with ENOSYS. Some functions are actually named
43076 something starting with __ and the normal name is an alias. */
43077 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43078 choke me
43079 #endif
43080
43081 int
43082 main ()
43083 {
43084 return gmtime_r ();
43085 ;
43086 return 0;
43087 }
43088 _ACEOF
43089 rm -f conftest.$ac_objext conftest$ac_exeext
43090 if { (ac_try="$ac_link"
43091 case "(($ac_try" in
43092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43093 *) ac_try_echo=$ac_try;;
43094 esac
43095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43096 (eval "$ac_link") 2>conftest.er1
43097 ac_status=$?
43098 grep -v '^ *+' conftest.er1 >conftest.err
43099 rm -f conftest.er1
43100 cat conftest.err >&5
43101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102 (exit $ac_status); } && {
43103 test -z "$ac_c_werror_flag" ||
43104 test ! -s conftest.err
43105 } && test -s conftest$ac_exeext &&
43106 $as_test_x conftest$ac_exeext; then
43107 ac_cv_func_gmtime_r=yes
43108 else
43109 echo "$as_me: failed program was:" >&5
43110 sed 's/^/| /' conftest.$ac_ext >&5
43111
43112 ac_cv_func_gmtime_r=no
43113 fi
43114
43115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43116 conftest$ac_exeext conftest.$ac_ext
43117 fi
43118 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43119 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43120 if test $ac_cv_func_gmtime_r = yes; then
43121 cat >>confdefs.h <<\_ACEOF
43122 #define HAVE_GMTIME_R 1
43123 _ACEOF
43124
43125 fi
43126
43127 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43128 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43129 if test "${ac_cv_func_readdir_r+set}" = set; then
43130 echo $ECHO_N "(cached) $ECHO_C" >&6
43131 else
43132 cat >conftest.$ac_ext <<_ACEOF
43133 /* confdefs.h. */
43134 _ACEOF
43135 cat confdefs.h >>conftest.$ac_ext
43136 cat >>conftest.$ac_ext <<_ACEOF
43137 /* end confdefs.h. */
43138 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43140 #define readdir_r innocuous_readdir_r
43141
43142 /* System header to define __stub macros and hopefully few prototypes,
43143 which can conflict with char readdir_r (); below.
43144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43145 <limits.h> exists even on freestanding compilers. */
43146
43147 #ifdef __STDC__
43148 # include <limits.h>
43149 #else
43150 # include <assert.h>
43151 #endif
43152
43153 #undef readdir_r
43154
43155 /* Override any GCC internal prototype to avoid an error.
43156 Use char because int might match the return type of a GCC
43157 builtin and then its argument prototype would still apply. */
43158 #ifdef __cplusplus
43159 extern "C"
43160 #endif
43161 char readdir_r ();
43162 /* The GNU C library defines this for functions which it implements
43163 to always fail with ENOSYS. Some functions are actually named
43164 something starting with __ and the normal name is an alias. */
43165 #if defined __stub_readdir_r || defined __stub___readdir_r
43166 choke me
43167 #endif
43168
43169 int
43170 main ()
43171 {
43172 return readdir_r ();
43173 ;
43174 return 0;
43175 }
43176 _ACEOF
43177 rm -f conftest.$ac_objext conftest$ac_exeext
43178 if { (ac_try="$ac_link"
43179 case "(($ac_try" in
43180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43181 *) ac_try_echo=$ac_try;;
43182 esac
43183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43184 (eval "$ac_link") 2>conftest.er1
43185 ac_status=$?
43186 grep -v '^ *+' conftest.er1 >conftest.err
43187 rm -f conftest.er1
43188 cat conftest.err >&5
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); } && {
43191 test -z "$ac_c_werror_flag" ||
43192 test ! -s conftest.err
43193 } && test -s conftest$ac_exeext &&
43194 $as_test_x conftest$ac_exeext; then
43195 ac_cv_func_readdir_r=yes
43196 else
43197 echo "$as_me: failed program was:" >&5
43198 sed 's/^/| /' conftest.$ac_ext >&5
43199
43200 ac_cv_func_readdir_r=no
43201 fi
43202
43203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43204 conftest$ac_exeext conftest.$ac_ext
43205 fi
43206 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43207 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43208 if test $ac_cv_func_readdir_r = yes; then
43209 cat >>confdefs.h <<\_ACEOF
43210 #define HAVE_READDIR_R 1
43211 _ACEOF
43212
43213 fi
43214
43215
43216
43217
43218 ac_ext=c
43219 ac_cpp='$CPP $CPPFLAGS'
43220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43223
43224 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43225 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43226
43227 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43228 echo $ECHO_N "(cached) $ECHO_C" >&6
43229 else
43230
43231
43232 ################################################################
43233
43234 ac_cv_func_which_gethostbyname_r=unknown
43235
43236 #
43237 # ONE ARGUMENT (sanity check)
43238 #
43239
43240 # This should fail, as there is no variant of gethostbyname_r() that takes
43241 # a single argument. If it actually compiles, then we can assume that
43242 # netdb.h is not declaring the function, and the compiler is thereby
43243 # assuming an implicit prototype. In which case, we're out of luck.
43244 #
43245 cat >conftest.$ac_ext <<_ACEOF
43246 /* confdefs.h. */
43247 _ACEOF
43248 cat confdefs.h >>conftest.$ac_ext
43249 cat >>conftest.$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43251 #include <netdb.h>
43252 int
43253 main ()
43254 {
43255
43256 char *name = "www.gnu.org";
43257 (void)gethostbyname_r(name) /* ; */
43258
43259 ;
43260 return 0;
43261 }
43262 _ACEOF
43263 rm -f conftest.$ac_objext
43264 if { (ac_try="$ac_compile"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43268 esac
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_compile") 2>conftest.er1
43271 ac_status=$?
43272 grep -v '^ *+' conftest.er1 >conftest.err
43273 rm -f conftest.er1
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest.$ac_objext; then
43280 ac_cv_func_which_gethostbyname_r=no
43281 else
43282 echo "$as_me: failed program was:" >&5
43283 sed 's/^/| /' conftest.$ac_ext >&5
43284
43285
43286 fi
43287
43288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43289
43290 #
43291 # SIX ARGUMENTS
43292 # (e.g. Linux)
43293 #
43294
43295 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43296
43297 cat >conftest.$ac_ext <<_ACEOF
43298 /* confdefs.h. */
43299 _ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43303 #include <netdb.h>
43304 int
43305 main ()
43306 {
43307
43308 char *name = "www.gnu.org";
43309 struct hostent ret, *retp;
43310 char buf[1024];
43311 int buflen = 1024;
43312 int my_h_errno;
43313 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43314
43315 ;
43316 return 0;
43317 }
43318 _ACEOF
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43324 esac
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43327 ac_status=$?
43328 grep -v '^ *+' conftest.er1 >conftest.err
43329 rm -f conftest.er1
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_c_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336 ac_cv_func_which_gethostbyname_r=six
43337 else
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43340
43341
43342 fi
43343
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345
43346 fi
43347
43348 #
43349 # FIVE ARGUMENTS
43350 # (e.g. Solaris)
43351 #
43352
43353 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43354
43355 cat >conftest.$ac_ext <<_ACEOF
43356 /* confdefs.h. */
43357 _ACEOF
43358 cat confdefs.h >>conftest.$ac_ext
43359 cat >>conftest.$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43361 #include <netdb.h>
43362 int
43363 main ()
43364 {
43365
43366 char *name = "www.gnu.org";
43367 struct hostent ret;
43368 char buf[1024];
43369 int buflen = 1024;
43370 int my_h_errno;
43371 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43372
43373 ;
43374 return 0;
43375 }
43376 _ACEOF
43377 rm -f conftest.$ac_objext
43378 if { (ac_try="$ac_compile"
43379 case "(($ac_try" in
43380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43382 esac
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_compile") 2>conftest.er1
43385 ac_status=$?
43386 grep -v '^ *+' conftest.er1 >conftest.err
43387 rm -f conftest.er1
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_c_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest.$ac_objext; then
43394 ac_cv_func_which_gethostbyname_r=five
43395 else
43396 echo "$as_me: failed program was:" >&5
43397 sed 's/^/| /' conftest.$ac_ext >&5
43398
43399
43400 fi
43401
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403
43404 fi
43405
43406 #
43407 # THREE ARGUMENTS
43408 # (e.g. AIX, HP-UX, Tru64)
43409 #
43410
43411 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43412
43413 cat >conftest.$ac_ext <<_ACEOF
43414 /* confdefs.h. */
43415 _ACEOF
43416 cat confdefs.h >>conftest.$ac_ext
43417 cat >>conftest.$ac_ext <<_ACEOF
43418 /* end confdefs.h. */
43419 #include <netdb.h>
43420 int
43421 main ()
43422 {
43423
43424 char *name = "www.gnu.org";
43425 struct hostent ret;
43426 struct hostent_data data;
43427 (void)gethostbyname_r(name, &ret, &data) /* ; */
43428
43429 ;
43430 return 0;
43431 }
43432 _ACEOF
43433 rm -f conftest.$ac_objext
43434 if { (ac_try="$ac_compile"
43435 case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43438 esac
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_compile") 2>conftest.er1
43441 ac_status=$?
43442 grep -v '^ *+' conftest.er1 >conftest.err
43443 rm -f conftest.er1
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_c_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest.$ac_objext; then
43450 ac_cv_func_which_gethostbyname_r=three
43451 else
43452 echo "$as_me: failed program was:" >&5
43453 sed 's/^/| /' conftest.$ac_ext >&5
43454
43455
43456 fi
43457
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459
43460 fi
43461
43462 ################################################################
43463
43464
43465 fi
43466
43467 case "$ac_cv_func_which_gethostbyname_r" in
43468 three)
43469 { echo "$as_me:$LINENO: result: three" >&5
43470 echo "${ECHO_T}three" >&6; }
43471 cat >>confdefs.h <<\_ACEOF
43472 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43473 _ACEOF
43474
43475 ;;
43476
43477 five)
43478 { echo "$as_me:$LINENO: result: five" >&5
43479 echo "${ECHO_T}five" >&6; }
43480 cat >>confdefs.h <<\_ACEOF
43481 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43482 _ACEOF
43483
43484 ;;
43485
43486 six)
43487 { echo "$as_me:$LINENO: result: six" >&5
43488 echo "${ECHO_T}six" >&6; }
43489 cat >>confdefs.h <<\_ACEOF
43490 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43491 _ACEOF
43492
43493 ;;
43494
43495 no)
43496 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43497 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43498 ;;
43499
43500 unknown)
43501 { echo "$as_me:$LINENO: result: can't tell" >&5
43502 echo "${ECHO_T}can't tell" >&6; }
43503 ;;
43504
43505 *)
43506 { { echo "$as_me:$LINENO: error: internal error" >&5
43507 echo "$as_me: error: internal error" >&2;}
43508 { (exit 1); exit 1; }; }
43509 ;;
43510 esac
43511
43512 ac_ext=c
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43517
43518
43519
43520 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43521 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43522 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43523 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43524 if test "${ac_cv_func_gethostbyname+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 else
43527 cat >conftest.$ac_ext <<_ACEOF
43528 /* confdefs.h. */
43529 _ACEOF
43530 cat confdefs.h >>conftest.$ac_ext
43531 cat >>conftest.$ac_ext <<_ACEOF
43532 /* end confdefs.h. */
43533 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43535 #define gethostbyname innocuous_gethostbyname
43536
43537 /* System header to define __stub macros and hopefully few prototypes,
43538 which can conflict with char gethostbyname (); below.
43539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43540 <limits.h> exists even on freestanding compilers. */
43541
43542 #ifdef __STDC__
43543 # include <limits.h>
43544 #else
43545 # include <assert.h>
43546 #endif
43547
43548 #undef gethostbyname
43549
43550 /* Override any GCC internal prototype to avoid an error.
43551 Use char because int might match the return type of a GCC
43552 builtin and then its argument prototype would still apply. */
43553 #ifdef __cplusplus
43554 extern "C"
43555 #endif
43556 char gethostbyname ();
43557 /* The GNU C library defines this for functions which it implements
43558 to always fail with ENOSYS. Some functions are actually named
43559 something starting with __ and the normal name is an alias. */
43560 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43561 choke me
43562 #endif
43563
43564 int
43565 main ()
43566 {
43567 return gethostbyname ();
43568 ;
43569 return 0;
43570 }
43571 _ACEOF
43572 rm -f conftest.$ac_objext conftest$ac_exeext
43573 if { (ac_try="$ac_link"
43574 case "(($ac_try" in
43575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43576 *) ac_try_echo=$ac_try;;
43577 esac
43578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43579 (eval "$ac_link") 2>conftest.er1
43580 ac_status=$?
43581 grep -v '^ *+' conftest.er1 >conftest.err
43582 rm -f conftest.er1
43583 cat conftest.err >&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } && {
43586 test -z "$ac_c_werror_flag" ||
43587 test ! -s conftest.err
43588 } && test -s conftest$ac_exeext &&
43589 $as_test_x conftest$ac_exeext; then
43590 ac_cv_func_gethostbyname=yes
43591 else
43592 echo "$as_me: failed program was:" >&5
43593 sed 's/^/| /' conftest.$ac_ext >&5
43594
43595 ac_cv_func_gethostbyname=no
43596 fi
43597
43598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43599 conftest$ac_exeext conftest.$ac_ext
43600 fi
43601 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43602 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43603 if test $ac_cv_func_gethostbyname = yes; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define HAVE_GETHOSTBYNAME 1
43606 _ACEOF
43607
43608 fi
43609
43610 fi
43611
43612 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43613 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43614 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43615 echo $ECHO_N "(cached) $ECHO_C" >&6
43616 else
43617
43618 ac_ext=cpp
43619 ac_cpp='$CXXCPP $CPPFLAGS'
43620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43623
43624
43625 cat >conftest.$ac_ext <<_ACEOF
43626 /* confdefs.h. */
43627 _ACEOF
43628 cat confdefs.h >>conftest.$ac_ext
43629 cat >>conftest.$ac_ext <<_ACEOF
43630 /* end confdefs.h. */
43631 #include <netdb.h>
43632 int
43633 main ()
43634 {
43635
43636 char *name;
43637 char *proto;
43638 struct servent *se, *res;
43639 char buffer[2048];
43640 int buflen = 2048;
43641 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43642
43643 ;
43644 return 0;
43645 }
43646 _ACEOF
43647 rm -f conftest.$ac_objext
43648 if { (ac_try="$ac_compile"
43649 case "(($ac_try" in
43650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43651 *) ac_try_echo=$ac_try;;
43652 esac
43653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43654 (eval "$ac_compile") 2>conftest.er1
43655 ac_status=$?
43656 grep -v '^ *+' conftest.er1 >conftest.err
43657 rm -f conftest.er1
43658 cat conftest.err >&5
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); } && {
43661 test -z "$ac_cxx_werror_flag" ||
43662 test ! -s conftest.err
43663 } && test -s conftest.$ac_objext; then
43664 ac_cv_func_which_getservbyname_r=six
43665 else
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43668
43669
43670 cat >conftest.$ac_ext <<_ACEOF
43671 /* confdefs.h. */
43672 _ACEOF
43673 cat confdefs.h >>conftest.$ac_ext
43674 cat >>conftest.$ac_ext <<_ACEOF
43675 /* end confdefs.h. */
43676 #include <netdb.h>
43677 int
43678 main ()
43679 {
43680
43681 char *name;
43682 char *proto;
43683 struct servent *se;
43684 char buffer[2048];
43685 int buflen = 2048;
43686 (void) getservbyname_r(name, proto, se, buffer, buflen)
43687
43688 ;
43689 return 0;
43690 }
43691 _ACEOF
43692 rm -f conftest.$ac_objext
43693 if { (ac_try="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43696 *) ac_try_echo=$ac_try;;
43697 esac
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43700 ac_status=$?
43701 grep -v '^ *+' conftest.er1 >conftest.err
43702 rm -f conftest.er1
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_cxx_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.$ac_objext; then
43709 ac_cv_func_which_getservbyname_r=five
43710 else
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.$ac_ext >&5
43713
43714
43715 cat >conftest.$ac_ext <<_ACEOF
43716 /* confdefs.h. */
43717 _ACEOF
43718 cat confdefs.h >>conftest.$ac_ext
43719 cat >>conftest.$ac_ext <<_ACEOF
43720 /* end confdefs.h. */
43721 #include <netdb.h>
43722 int
43723 main ()
43724 {
43725
43726 char *name;
43727 char *proto;
43728 struct servent *se;
43729 struct servent_data data;
43730 (void) getservbyname_r(name, proto, se, &data);
43731
43732 ;
43733 return 0;
43734 }
43735 _ACEOF
43736 rm -f conftest.$ac_objext
43737 if { (ac_try="$ac_compile"
43738 case "(($ac_try" in
43739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43740 *) ac_try_echo=$ac_try;;
43741 esac
43742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43743 (eval "$ac_compile") 2>conftest.er1
43744 ac_status=$?
43745 grep -v '^ *+' conftest.er1 >conftest.err
43746 rm -f conftest.er1
43747 cat conftest.err >&5
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); } && {
43750 test -z "$ac_cxx_werror_flag" ||
43751 test ! -s conftest.err
43752 } && test -s conftest.$ac_objext; then
43753 ac_cv_func_which_getservbyname_r=four
43754 else
43755 echo "$as_me: failed program was:" >&5
43756 sed 's/^/| /' conftest.$ac_ext >&5
43757
43758 ac_cv_func_which_getservbyname_r=no
43759
43760 fi
43761
43762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43763
43764
43765 fi
43766
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43768
43769
43770 fi
43771
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773 ac_ext=c
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43778
43779
43780
43781 fi
43782 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43783 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43784
43785 if test $ac_cv_func_which_getservbyname_r = six; then
43786 cat >>confdefs.h <<\_ACEOF
43787 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43788 _ACEOF
43789
43790 elif test $ac_cv_func_which_getservbyname_r = five; then
43791 cat >>confdefs.h <<\_ACEOF
43792 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43793 _ACEOF
43794
43795 elif test $ac_cv_func_which_getservbyname_r = four; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43798 _ACEOF
43799
43800 fi
43801
43802
43803 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43804 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43805
43806 for ac_func in getservbyname
43807 do
43808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43809 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43813 else
43814 cat >conftest.$ac_ext <<_ACEOF
43815 /* confdefs.h. */
43816 _ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h. */
43820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43822 #define $ac_func innocuous_$ac_func
43823
43824 /* System header to define __stub macros and hopefully few prototypes,
43825 which can conflict with char $ac_func (); below.
43826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43827 <limits.h> exists even on freestanding compilers. */
43828
43829 #ifdef __STDC__
43830 # include <limits.h>
43831 #else
43832 # include <assert.h>
43833 #endif
43834
43835 #undef $ac_func
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 $ac_func ();
43844 /* The GNU C library defines this for functions which it implements
43845 to always fail with ENOSYS. Some functions are actually named
43846 something starting with __ and the normal name is an alias. */
43847 #if defined __stub_$ac_func || defined __stub___$ac_func
43848 choke me
43849 #endif
43850
43851 int
43852 main ()
43853 {
43854 return $ac_func ();
43855 ;
43856 return 0;
43857 }
43858 _ACEOF
43859 rm -f conftest.$ac_objext conftest$ac_exeext
43860 if { (ac_try="$ac_link"
43861 case "(($ac_try" in
43862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43863 *) ac_try_echo=$ac_try;;
43864 esac
43865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43866 (eval "$ac_link") 2>conftest.er1
43867 ac_status=$?
43868 grep -v '^ *+' conftest.er1 >conftest.err
43869 rm -f conftest.er1
43870 cat conftest.err >&5
43871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872 (exit $ac_status); } && {
43873 test -z "$ac_c_werror_flag" ||
43874 test ! -s conftest.err
43875 } && test -s conftest$ac_exeext &&
43876 $as_test_x conftest$ac_exeext; then
43877 eval "$as_ac_var=yes"
43878 else
43879 echo "$as_me: failed program was:" >&5
43880 sed 's/^/| /' conftest.$ac_ext >&5
43881
43882 eval "$as_ac_var=no"
43883 fi
43884
43885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43886 conftest$ac_exeext conftest.$ac_ext
43887 fi
43888 ac_res=`eval echo '${'$as_ac_var'}'`
43889 { echo "$as_me:$LINENO: result: $ac_res" >&5
43890 echo "${ECHO_T}$ac_res" >&6; }
43891 if test `eval echo '${'$as_ac_var'}'` = yes; then
43892 cat >>confdefs.h <<_ACEOF
43893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43894 _ACEOF
43895 cat >>confdefs.h <<\_ACEOF
43896 #define HAVE_GETSERVBYNAME 1
43897 _ACEOF
43898
43899 fi
43900 done
43901
43902 fi
43903
43904 if test "$wxUSE_THREADS" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_THREADS 1
43907 _ACEOF
43908
43909
43910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43911 else
43912 if test "$wx_cv_func_strtok_r" = "yes"; then
43913 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43914 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43915 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43916 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43917 { echo "$as_me:$LINENO: result: yes" >&5
43918 echo "${ECHO_T}yes" >&6; }
43919 else
43920 { echo "$as_me:$LINENO: result: no" >&5
43921 echo "${ECHO_T}no" >&6; }
43922 fi
43923 fi
43924 fi
43925
43926 if test "$WXGTK20" = 1 ; then
43927 cat >>confdefs.h <<_ACEOF
43928 #define __WXGTK20__ $WXGTK20
43929 _ACEOF
43930
43931 WXGTK12=1
43932 fi
43933
43934 if test "$WXGTK12" = 1 ; then
43935 cat >>confdefs.h <<_ACEOF
43936 #define __WXGTK12__ $WXGTK12
43937 _ACEOF
43938
43939 fi
43940
43941 if test "$WXGTK127" = 1 ; then
43942 cat >>confdefs.h <<_ACEOF
43943 #define __WXGTK127__ $WXGTK127
43944 _ACEOF
43945
43946 fi
43947
43948 if test "$WXGPE" = 1 ; then
43949 cat >>confdefs.h <<_ACEOF
43950 #define __WXGPE__ $WXGPE
43951 _ACEOF
43952
43953 fi
43954
43955 DEBUG_CFLAGS=
43956 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43957 DEBUG_CFLAGS="-g"
43958 wxUSE_OPTIMISE=no
43959 fi
43960
43961 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43962 wxUSE_DEBUG_INFO=yes
43963 if test "$GCC" = yes; then
43964 DEBUG_CFLAGS="-ggdb"
43965 fi
43966 fi
43967
43968 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define WXDEBUG 1
43971 _ACEOF
43972
43973 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43974 else
43975 if test "$wxUSE_GTK" = 1 ; then
43976 if test "x$wxGTK_VERSION" = "x1" ; then
43977 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43978 fi
43979 fi
43980 fi
43981
43982 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_MEMORY_TRACING 1
43985 _ACEOF
43986
43987 cat >>confdefs.h <<\_ACEOF
43988 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43989 _ACEOF
43990
43991 cat >>confdefs.h <<\_ACEOF
43992 #define wxUSE_DEBUG_NEW_ALWAYS 1
43993 _ACEOF
43994
43995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43996 fi
43997
43998 if test "$wxUSE_DMALLOC" = "yes" ; then
43999 DMALLOC_LIBS="-ldmallocthcxx"
44000 fi
44001
44002 PROFILE_FLAGS=
44003 if test "$wxUSE_PROFILE" = "yes" ; then
44004 PROFILE_FLAGS=" -pg"
44005 fi
44006
44007 if test "$GCC" = "yes" ; then
44008 if test "$wxUSE_NO_RTTI" = "yes" ; then
44009 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44010 fi
44011 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44012 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44013 fi
44014 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44015 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44016 fi
44017
44018 case "${host}" in
44019 powerpc*-*-aix* )
44020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44021 ;;
44022 *-hppa* )
44023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44024 ;;
44025 esac
44026 fi
44027
44028 OPTIMISE_CFLAGS=
44029 if test "$wxUSE_OPTIMISE" = "no" ; then
44030 if test "$GCC" = yes ; then
44031 OPTIMISE_CFLAGS="-O0"
44032 fi
44033 else
44034 if test "$GCC" = yes ; then
44035 case "${host}" in
44036 *-pc-os2_emx | *-pc-os2-emx )
44037 OPTIMISE_CFLAGS="-O2"
44038 ;;
44039 *)
44040 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44041 ;;
44042 esac
44043 else
44044 OPTIMISE_CFLAGS="-O"
44045 fi
44046 fi
44047
44048
44049 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define WXWIN_COMPATIBILITY_2_6 1
44052 _ACEOF
44053
44054
44055 WXWIN_COMPATIBILITY_2_8="yes"
44056 fi
44057
44058 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44059 cat >>confdefs.h <<\_ACEOF
44060 #define WXWIN_COMPATIBILITY_2_8 1
44061 _ACEOF
44062
44063 fi
44064
44065
44066 if test "$wxUSE_GUI" = "yes"; then
44067 cat >>confdefs.h <<\_ACEOF
44068 #define wxUSE_GUI 1
44069 _ACEOF
44070
44071
44072 fi
44073
44074
44075 if test "$wxUSE_UNIX" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_UNIX 1
44078 _ACEOF
44079
44080 fi
44081
44082
44083 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44084
44085 HAVE_DL_FUNCS=0
44086 HAVE_SHL_FUNCS=0
44087 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44088 if test "$USE_DARWIN" = 1; then
44089 HAVE_DL_FUNCS=1
44090 elif test "$USE_DOS" = 1; then
44091 HAVE_DL_FUNCS=0
44092 else
44093
44094 for ac_func in dlopen
44095 do
44096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44100 echo $ECHO_N "(cached) $ECHO_C" >&6
44101 else
44102 cat >conftest.$ac_ext <<_ACEOF
44103 /* confdefs.h. */
44104 _ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44110 #define $ac_func innocuous_$ac_func
44111
44112 /* System header to define __stub macros and hopefully few prototypes,
44113 which can conflict with char $ac_func (); below.
44114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44115 <limits.h> exists even on freestanding compilers. */
44116
44117 #ifdef __STDC__
44118 # include <limits.h>
44119 #else
44120 # include <assert.h>
44121 #endif
44122
44123 #undef $ac_func
44124
44125 /* Override any GCC internal prototype to avoid an error.
44126 Use char because int might match the return type of a GCC
44127 builtin and then its argument prototype would still apply. */
44128 #ifdef __cplusplus
44129 extern "C"
44130 #endif
44131 char $ac_func ();
44132 /* The GNU C library defines this for functions which it implements
44133 to always fail with ENOSYS. Some functions are actually named
44134 something starting with __ and the normal name is an alias. */
44135 #if defined __stub_$ac_func || defined __stub___$ac_func
44136 choke me
44137 #endif
44138
44139 int
44140 main ()
44141 {
44142 return $ac_func ();
44143 ;
44144 return 0;
44145 }
44146 _ACEOF
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44152 esac
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44155 ac_status=$?
44156 grep -v '^ *+' conftest.er1 >conftest.err
44157 rm -f conftest.er1
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_c_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest$ac_exeext &&
44164 $as_test_x conftest$ac_exeext; then
44165 eval "$as_ac_var=yes"
44166 else
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44169
44170 eval "$as_ac_var=no"
44171 fi
44172
44173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44174 conftest$ac_exeext conftest.$ac_ext
44175 fi
44176 ac_res=`eval echo '${'$as_ac_var'}'`
44177 { echo "$as_me:$LINENO: result: $ac_res" >&5
44178 echo "${ECHO_T}$ac_res" >&6; }
44179 if test `eval echo '${'$as_ac_var'}'` = yes; then
44180 cat >>confdefs.h <<_ACEOF
44181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44182 _ACEOF
44183
44184 cat >>confdefs.h <<\_ACEOF
44185 #define HAVE_DLOPEN 1
44186 _ACEOF
44187
44188 HAVE_DL_FUNCS=1
44189
44190 else
44191
44192 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44193 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44194 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44196 else
44197 ac_check_lib_save_LIBS=$LIBS
44198 LIBS="-ldl $LIBS"
44199 cat >conftest.$ac_ext <<_ACEOF
44200 /* confdefs.h. */
44201 _ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44205
44206 /* Override any GCC internal prototype to avoid an error.
44207 Use char because int might match the return type of a GCC
44208 builtin and then its argument prototype would still apply. */
44209 #ifdef __cplusplus
44210 extern "C"
44211 #endif
44212 char dlopen ();
44213 int
44214 main ()
44215 {
44216 return dlopen ();
44217 ;
44218 return 0;
44219 }
44220 _ACEOF
44221 rm -f conftest.$ac_objext conftest$ac_exeext
44222 if { (ac_try="$ac_link"
44223 case "(($ac_try" in
44224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44225 *) ac_try_echo=$ac_try;;
44226 esac
44227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44228 (eval "$ac_link") 2>conftest.er1
44229 ac_status=$?
44230 grep -v '^ *+' conftest.er1 >conftest.err
44231 rm -f conftest.er1
44232 cat conftest.err >&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); } && {
44235 test -z "$ac_c_werror_flag" ||
44236 test ! -s conftest.err
44237 } && test -s conftest$ac_exeext &&
44238 $as_test_x conftest$ac_exeext; then
44239 ac_cv_lib_dl_dlopen=yes
44240 else
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44243
44244 ac_cv_lib_dl_dlopen=no
44245 fi
44246
44247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44248 conftest$ac_exeext conftest.$ac_ext
44249 LIBS=$ac_check_lib_save_LIBS
44250 fi
44251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44252 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44253 if test $ac_cv_lib_dl_dlopen = yes; then
44254
44255 cat >>confdefs.h <<\_ACEOF
44256 #define HAVE_DLOPEN 1
44257 _ACEOF
44258
44259 HAVE_DL_FUNCS=1
44260 DL_LINK=" -ldl$DL_LINK"
44261
44262 else
44263
44264
44265 for ac_func in shl_load
44266 do
44267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44271 echo $ECHO_N "(cached) $ECHO_C" >&6
44272 else
44273 cat >conftest.$ac_ext <<_ACEOF
44274 /* confdefs.h. */
44275 _ACEOF
44276 cat confdefs.h >>conftest.$ac_ext
44277 cat >>conftest.$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44281 #define $ac_func innocuous_$ac_func
44282
44283 /* System header to define __stub macros and hopefully few prototypes,
44284 which can conflict with char $ac_func (); below.
44285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44286 <limits.h> exists even on freestanding compilers. */
44287
44288 #ifdef __STDC__
44289 # include <limits.h>
44290 #else
44291 # include <assert.h>
44292 #endif
44293
44294 #undef $ac_func
44295
44296 /* Override any GCC internal prototype to avoid an error.
44297 Use char because int might match the return type of a GCC
44298 builtin and then its argument prototype would still apply. */
44299 #ifdef __cplusplus
44300 extern "C"
44301 #endif
44302 char $ac_func ();
44303 /* The GNU C library defines this for functions which it implements
44304 to always fail with ENOSYS. Some functions are actually named
44305 something starting with __ and the normal name is an alias. */
44306 #if defined __stub_$ac_func || defined __stub___$ac_func
44307 choke me
44308 #endif
44309
44310 int
44311 main ()
44312 {
44313 return $ac_func ();
44314 ;
44315 return 0;
44316 }
44317 _ACEOF
44318 rm -f conftest.$ac_objext conftest$ac_exeext
44319 if { (ac_try="$ac_link"
44320 case "(($ac_try" in
44321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44322 *) ac_try_echo=$ac_try;;
44323 esac
44324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44325 (eval "$ac_link") 2>conftest.er1
44326 ac_status=$?
44327 grep -v '^ *+' conftest.er1 >conftest.err
44328 rm -f conftest.er1
44329 cat conftest.err >&5
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); } && {
44332 test -z "$ac_c_werror_flag" ||
44333 test ! -s conftest.err
44334 } && test -s conftest$ac_exeext &&
44335 $as_test_x conftest$ac_exeext; then
44336 eval "$as_ac_var=yes"
44337 else
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44340
44341 eval "$as_ac_var=no"
44342 fi
44343
44344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44345 conftest$ac_exeext conftest.$ac_ext
44346 fi
44347 ac_res=`eval echo '${'$as_ac_var'}'`
44348 { echo "$as_me:$LINENO: result: $ac_res" >&5
44349 echo "${ECHO_T}$ac_res" >&6; }
44350 if test `eval echo '${'$as_ac_var'}'` = yes; then
44351 cat >>confdefs.h <<_ACEOF
44352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44353 _ACEOF
44354
44355 cat >>confdefs.h <<\_ACEOF
44356 #define HAVE_SHL_LOAD 1
44357 _ACEOF
44358
44359 HAVE_SHL_FUNCS=1
44360
44361 else
44362
44363 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44364 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44365 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368 ac_check_lib_save_LIBS=$LIBS
44369 LIBS="-lshl_load $LIBS"
44370 cat >conftest.$ac_ext <<_ACEOF
44371 /* confdefs.h. */
44372 _ACEOF
44373 cat confdefs.h >>conftest.$ac_ext
44374 cat >>conftest.$ac_ext <<_ACEOF
44375 /* end confdefs.h. */
44376
44377 /* Override any GCC internal prototype to avoid an error.
44378 Use char because int might match the return type of a GCC
44379 builtin and then its argument prototype would still apply. */
44380 #ifdef __cplusplus
44381 extern "C"
44382 #endif
44383 char dld ();
44384 int
44385 main ()
44386 {
44387 return dld ();
44388 ;
44389 return 0;
44390 }
44391 _ACEOF
44392 rm -f conftest.$ac_objext conftest$ac_exeext
44393 if { (ac_try="$ac_link"
44394 case "(($ac_try" in
44395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44396 *) ac_try_echo=$ac_try;;
44397 esac
44398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44399 (eval "$ac_link") 2>conftest.er1
44400 ac_status=$?
44401 grep -v '^ *+' conftest.er1 >conftest.err
44402 rm -f conftest.er1
44403 cat conftest.err >&5
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); } && {
44406 test -z "$ac_c_werror_flag" ||
44407 test ! -s conftest.err
44408 } && test -s conftest$ac_exeext &&
44409 $as_test_x conftest$ac_exeext; then
44410 ac_cv_lib_shl_load_dld=yes
44411 else
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44414
44415 ac_cv_lib_shl_load_dld=no
44416 fi
44417
44418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44419 conftest$ac_exeext conftest.$ac_ext
44420 LIBS=$ac_check_lib_save_LIBS
44421 fi
44422 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44423 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44424 if test $ac_cv_lib_shl_load_dld = yes; then
44425
44426 HAVE_SHL_FUNCS=1
44427 DL_LINK=" -ldld$DL_LINK"
44428
44429 fi
44430
44431
44432 fi
44433 done
44434
44435
44436 fi
44437
44438
44439 fi
44440 done
44441
44442
44443 if test "$HAVE_DL_FUNCS" = 1; then
44444
44445 for ac_func in dlerror
44446 do
44447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44448 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44450 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44451 echo $ECHO_N "(cached) $ECHO_C" >&6
44452 else
44453 cat >conftest.$ac_ext <<_ACEOF
44454 /* confdefs.h. */
44455 _ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44461 #define $ac_func innocuous_$ac_func
44462
44463 /* System header to define __stub macros and hopefully few prototypes,
44464 which can conflict with char $ac_func (); below.
44465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44466 <limits.h> exists even on freestanding compilers. */
44467
44468 #ifdef __STDC__
44469 # include <limits.h>
44470 #else
44471 # include <assert.h>
44472 #endif
44473
44474 #undef $ac_func
44475
44476 /* Override any GCC internal prototype to avoid an error.
44477 Use char because int might match the return type of a GCC
44478 builtin and then its argument prototype would still apply. */
44479 #ifdef __cplusplus
44480 extern "C"
44481 #endif
44482 char $ac_func ();
44483 /* The GNU C library defines this for functions which it implements
44484 to always fail with ENOSYS. Some functions are actually named
44485 something starting with __ and the normal name is an alias. */
44486 #if defined __stub_$ac_func || defined __stub___$ac_func
44487 choke me
44488 #endif
44489
44490 int
44491 main ()
44492 {
44493 return $ac_func ();
44494 ;
44495 return 0;
44496 }
44497 _ACEOF
44498 rm -f conftest.$ac_objext conftest$ac_exeext
44499 if { (ac_try="$ac_link"
44500 case "(($ac_try" in
44501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44502 *) ac_try_echo=$ac_try;;
44503 esac
44504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44505 (eval "$ac_link") 2>conftest.er1
44506 ac_status=$?
44507 grep -v '^ *+' conftest.er1 >conftest.err
44508 rm -f conftest.er1
44509 cat conftest.err >&5
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); } && {
44512 test -z "$ac_c_werror_flag" ||
44513 test ! -s conftest.err
44514 } && test -s conftest$ac_exeext &&
44515 $as_test_x conftest$ac_exeext; then
44516 eval "$as_ac_var=yes"
44517 else
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.$ac_ext >&5
44520
44521 eval "$as_ac_var=no"
44522 fi
44523
44524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44525 conftest$ac_exeext conftest.$ac_ext
44526 fi
44527 ac_res=`eval echo '${'$as_ac_var'}'`
44528 { echo "$as_me:$LINENO: result: $ac_res" >&5
44529 echo "${ECHO_T}$ac_res" >&6; }
44530 if test `eval echo '${'$as_ac_var'}'` = yes; then
44531 cat >>confdefs.h <<_ACEOF
44532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44533 _ACEOF
44534 cat >>confdefs.h <<\_ACEOF
44535 #define HAVE_DLERROR 1
44536 _ACEOF
44537
44538 else
44539
44540 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44541 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44542 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44543 echo $ECHO_N "(cached) $ECHO_C" >&6
44544 else
44545 ac_check_lib_save_LIBS=$LIBS
44546 LIBS="-ldl $LIBS"
44547 cat >conftest.$ac_ext <<_ACEOF
44548 /* confdefs.h. */
44549 _ACEOF
44550 cat confdefs.h >>conftest.$ac_ext
44551 cat >>conftest.$ac_ext <<_ACEOF
44552 /* end confdefs.h. */
44553
44554 /* Override any GCC internal prototype to avoid an error.
44555 Use char because int might match the return type of a GCC
44556 builtin and then its argument prototype would still apply. */
44557 #ifdef __cplusplus
44558 extern "C"
44559 #endif
44560 char dlerror ();
44561 int
44562 main ()
44563 {
44564 return dlerror ();
44565 ;
44566 return 0;
44567 }
44568 _ACEOF
44569 rm -f conftest.$ac_objext conftest$ac_exeext
44570 if { (ac_try="$ac_link"
44571 case "(($ac_try" in
44572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44573 *) ac_try_echo=$ac_try;;
44574 esac
44575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44576 (eval "$ac_link") 2>conftest.er1
44577 ac_status=$?
44578 grep -v '^ *+' conftest.er1 >conftest.err
44579 rm -f conftest.er1
44580 cat conftest.err >&5
44581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44582 (exit $ac_status); } && {
44583 test -z "$ac_c_werror_flag" ||
44584 test ! -s conftest.err
44585 } && test -s conftest$ac_exeext &&
44586 $as_test_x conftest$ac_exeext; then
44587 ac_cv_lib_dl_dlerror=yes
44588 else
44589 echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.$ac_ext >&5
44591
44592 ac_cv_lib_dl_dlerror=no
44593 fi
44594
44595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44596 conftest$ac_exeext conftest.$ac_ext
44597 LIBS=$ac_check_lib_save_LIBS
44598 fi
44599 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44600 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44601 if test $ac_cv_lib_dl_dlerror = yes; then
44602 cat >>confdefs.h <<\_ACEOF
44603 #define HAVE_DLERROR 1
44604 _ACEOF
44605
44606 fi
44607
44608
44609
44610 fi
44611 done
44612
44613 fi
44614 fi
44615
44616 if test "$HAVE_DL_FUNCS" = 0; then
44617 if test "$HAVE_SHL_FUNCS" = 0; then
44618 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44619 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44620 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44621 wxUSE_DYNAMIC_LOADER=no
44622 wxUSE_DYNLIB_CLASS=no
44623 else
44624 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44625 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44626 fi
44627 fi
44628 fi
44629 fi
44630 fi
44631
44632 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_DYNAMIC_LOADER 1
44635 _ACEOF
44636
44637 fi
44638 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_DYNLIB_CLASS 1
44641 _ACEOF
44642
44643 fi
44644
44645
44646
44647 if test "$wxUSE_PLUGINS" = "yes" ; then
44648 if test "$wxUSE_SHARED" = "no" ; then
44649 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44650 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44651 wxUSE_PLUGINS=no
44652 fi
44653 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44654 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44655 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44656 wxUSE_PLUGINS=no
44657 fi
44658 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44659 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44660 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44661 wxUSE_PLUGINS=no
44662 fi
44663 if test "$wxUSE_PLUGINS" = "yes" ; then
44664 cat >>confdefs.h <<\_ACEOF
44665 #define wxUSE_PLUGINS 1
44666 _ACEOF
44667
44668 fi
44669 fi
44670
44671
44672 if test "$wxUSE_STL" = "yes"; then
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_STL 1
44675 _ACEOF
44676
44677 fi
44678
44679 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_EXTENDED_RTTI 1
44682 _ACEOF
44683
44684 fi
44685
44686 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_APPLE_IEEE 1
44689 _ACEOF
44690
44691 fi
44692
44693 if test "$wxUSE_TIMER" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_TIMER 1
44696 _ACEOF
44697
44698 fi
44699
44700 if test "$USE_UNIX" = "1" ; then
44701 if test "$wxUSE_MGL" != 1; then
44702 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44703 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44704 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44705 echo $ECHO_N "(cached) $ECHO_C" >&6
44706 else
44707
44708 cat >conftest.$ac_ext <<_ACEOF
44709 /* confdefs.h. */
44710 _ACEOF
44711 cat confdefs.h >>conftest.$ac_ext
44712 cat >>conftest.$ac_ext <<_ACEOF
44713 /* end confdefs.h. */
44714
44715 #include <sys/ioctl.h>
44716 #include <sys/soundcard.h>
44717
44718 int
44719 main ()
44720 {
44721
44722 ioctl(0, SNDCTL_DSP_SPEED, 0);
44723
44724 ;
44725 return 0;
44726 }
44727 _ACEOF
44728 rm -f conftest.$ac_objext conftest$ac_exeext
44729 if { (ac_try="$ac_link"
44730 case "(($ac_try" in
44731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44732 *) ac_try_echo=$ac_try;;
44733 esac
44734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44735 (eval "$ac_link") 2>conftest.er1
44736 ac_status=$?
44737 grep -v '^ *+' conftest.er1 >conftest.err
44738 rm -f conftest.er1
44739 cat conftest.err >&5
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); } && {
44742 test -z "$ac_c_werror_flag" ||
44743 test ! -s conftest.err
44744 } && test -s conftest$ac_exeext &&
44745 $as_test_x conftest$ac_exeext; then
44746 ac_cv_header_sys_soundcard=yes
44747 else
44748 echo "$as_me: failed program was:" >&5
44749 sed 's/^/| /' conftest.$ac_ext >&5
44750
44751
44752 saveLibs="$LIBS"
44753 LIBS="$saveLibs -lossaudio"
44754 cat >conftest.$ac_ext <<_ACEOF
44755 /* confdefs.h. */
44756 _ACEOF
44757 cat confdefs.h >>conftest.$ac_ext
44758 cat >>conftest.$ac_ext <<_ACEOF
44759 /* end confdefs.h. */
44760
44761 #include <sys/ioctl.h>
44762 #include <sys/soundcard.h>
44763
44764 int
44765 main ()
44766 {
44767
44768 ioctl(0, SNDCTL_DSP_SPEED, 0);
44769
44770 ;
44771 return 0;
44772 }
44773 _ACEOF
44774 rm -f conftest.$ac_objext conftest$ac_exeext
44775 if { (ac_try="$ac_link"
44776 case "(($ac_try" in
44777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44778 *) ac_try_echo=$ac_try;;
44779 esac
44780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44781 (eval "$ac_link") 2>conftest.er1
44782 ac_status=$?
44783 grep -v '^ *+' conftest.er1 >conftest.err
44784 rm -f conftest.er1
44785 cat conftest.err >&5
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); } && {
44788 test -z "$ac_c_werror_flag" ||
44789 test ! -s conftest.err
44790 } && test -s conftest$ac_exeext &&
44791 $as_test_x conftest$ac_exeext; then
44792 ac_cv_header_sys_soundcard=yes
44793 else
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.$ac_ext >&5
44796
44797
44798 LIBS="$saveLibs"
44799 ac_cv_header_sys_soundcard=no
44800
44801
44802 fi
44803
44804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44805 conftest$ac_exeext conftest.$ac_ext
44806
44807
44808 fi
44809
44810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44811 conftest$ac_exeext conftest.$ac_ext
44812
44813 fi
44814 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44815 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44816 fi
44817
44818 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define HAVE_SYS_SOUNDCARD_H 1
44821 _ACEOF
44822
44823 fi
44824 fi
44825
44826 WITH_PLUGIN_SDL=0
44827 if test "$wxUSE_SOUND" = "yes"; then
44828 if test "$USE_UNIX" = "1" ; then
44829 if test "$wxUSE_LIBSDL" != "no"; then
44830
44831 # Check whether --with-sdl-prefix was given.
44832 if test "${with_sdl_prefix+set}" = set; then
44833 withval=$with_sdl_prefix; sdl_prefix="$withval"
44834 else
44835 sdl_prefix=""
44836 fi
44837
44838
44839 # Check whether --with-sdl-exec-prefix was given.
44840 if test "${with_sdl_exec_prefix+set}" = set; then
44841 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44842 else
44843 sdl_exec_prefix=""
44844 fi
44845
44846 # Check whether --enable-sdltest was given.
44847 if test "${enable_sdltest+set}" = set; then
44848 enableval=$enable_sdltest;
44849 else
44850 enable_sdltest=yes
44851 fi
44852
44853
44854 if test x$sdl_exec_prefix != x ; then
44855 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44856 if test x${SDL_CONFIG+set} != xset ; then
44857 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44858 fi
44859 fi
44860 if test x$sdl_prefix != x ; then
44861 sdl_args="$sdl_args --prefix=$sdl_prefix"
44862 if test x${SDL_CONFIG+set} != xset ; then
44863 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44864 fi
44865 fi
44866
44867 if test "x$prefix" != xNONE; then
44868 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44869 fi
44870 # Extract the first word of "sdl-config", so it can be a program name with args.
44871 set dummy sdl-config; ac_word=$2
44872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44874 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44876 else
44877 case $SDL_CONFIG in
44878 [\\/]* | ?:[\\/]*)
44879 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44880 ;;
44881 *)
44882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44883 for as_dir in $PATH
44884 do
44885 IFS=$as_save_IFS
44886 test -z "$as_dir" && as_dir=.
44887 for ac_exec_ext in '' $ac_executable_extensions; do
44888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44889 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44891 break 2
44892 fi
44893 done
44894 done
44895 IFS=$as_save_IFS
44896
44897 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44898 ;;
44899 esac
44900 fi
44901 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44902 if test -n "$SDL_CONFIG"; then
44903 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44904 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44905 else
44906 { echo "$as_me:$LINENO: result: no" >&5
44907 echo "${ECHO_T}no" >&6; }
44908 fi
44909
44910
44911 min_sdl_version=1.2.0
44912 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44913 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44914 no_sdl=""
44915 if test "$SDL_CONFIG" = "no" ; then
44916 no_sdl=yes
44917 else
44918 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44919 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44920
44921 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44923 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44925 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44927 if test "x$enable_sdltest" = "xyes" ; then
44928 ac_save_CFLAGS="$CFLAGS"
44929 ac_save_CXXFLAGS="$CXXFLAGS"
44930 ac_save_LIBS="$LIBS"
44931 CFLAGS="$CFLAGS $SDL_CFLAGS"
44932 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44933 LIBS="$LIBS $SDL_LIBS"
44934 rm -f conf.sdltest
44935 if test "$cross_compiling" = yes; then
44936 echo $ac_n "cross compiling; assumed OK... $ac_c"
44937 else
44938 cat >conftest.$ac_ext <<_ACEOF
44939 /* confdefs.h. */
44940 _ACEOF
44941 cat confdefs.h >>conftest.$ac_ext
44942 cat >>conftest.$ac_ext <<_ACEOF
44943 /* end confdefs.h. */
44944
44945 #include <stdio.h>
44946 #include <stdlib.h>
44947 #include <string.h>
44948 #include "SDL.h"
44949
44950 char*
44951 my_strdup (char *str)
44952 {
44953 char *new_str;
44954
44955 if (str)
44956 {
44957 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44958 strcpy (new_str, str);
44959 }
44960 else
44961 new_str = NULL;
44962
44963 return new_str;
44964 }
44965
44966 int main (int argc, char *argv[])
44967 {
44968 int major, minor, micro;
44969 char *tmp_version;
44970
44971 /* This hangs on some systems (?)
44972 system ("touch conf.sdltest");
44973 */
44974 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44975
44976 /* HP/UX 9 (%@#!) writes to sscanf strings */
44977 tmp_version = my_strdup("$min_sdl_version");
44978 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44979 printf("%s, bad version string\n", "$min_sdl_version");
44980 exit(1);
44981 }
44982
44983 if (($sdl_major_version > major) ||
44984 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44985 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44986 {
44987 return 0;
44988 }
44989 else
44990 {
44991 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44992 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44993 printf("*** best to upgrade to the required version.\n");
44994 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44995 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44996 printf("*** config.cache before re-running configure\n");
44997 return 1;
44998 }
44999 }
45000
45001
45002 _ACEOF
45003 rm -f conftest$ac_exeext
45004 if { (ac_try="$ac_link"
45005 case "(($ac_try" in
45006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45007 *) ac_try_echo=$ac_try;;
45008 esac
45009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45010 (eval "$ac_link") 2>&5
45011 ac_status=$?
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45014 { (case "(($ac_try" in
45015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45016 *) ac_try_echo=$ac_try;;
45017 esac
45018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45019 (eval "$ac_try") 2>&5
45020 ac_status=$?
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); }; }; then
45023 :
45024 else
45025 echo "$as_me: program exited with status $ac_status" >&5
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.$ac_ext >&5
45028
45029 ( exit $ac_status )
45030 no_sdl=yes
45031 fi
45032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45033 fi
45034
45035
45036 CFLAGS="$ac_save_CFLAGS"
45037 CXXFLAGS="$ac_save_CXXFLAGS"
45038 LIBS="$ac_save_LIBS"
45039 fi
45040 fi
45041 if test "x$no_sdl" = x ; then
45042 { echo "$as_me:$LINENO: result: yes" >&5
45043 echo "${ECHO_T}yes" >&6; }
45044
45045 EXTRALIBS_SDL="$SDL_LIBS"
45046 CFLAGS="$SDL_CFLAGS $CFLAGS"
45047 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_LIBSDL 1
45050 _ACEOF
45051
45052
45053 else
45054 { echo "$as_me:$LINENO: result: no" >&5
45055 echo "${ECHO_T}no" >&6; }
45056 if test "$SDL_CONFIG" = "no" ; then
45057 echo "*** The sdl-config script installed by SDL could not be found"
45058 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45059 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45060 echo "*** full path to sdl-config."
45061 else
45062 if test -f conf.sdltest ; then
45063 :
45064 else
45065 echo "*** Could not run SDL test program, checking why..."
45066 CFLAGS="$CFLAGS $SDL_CFLAGS"
45067 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45068 LIBS="$LIBS $SDL_LIBS"
45069 cat >conftest.$ac_ext <<_ACEOF
45070 /* confdefs.h. */
45071 _ACEOF
45072 cat confdefs.h >>conftest.$ac_ext
45073 cat >>conftest.$ac_ext <<_ACEOF
45074 /* end confdefs.h. */
45075
45076 #include <stdio.h>
45077 #include "SDL.h"
45078
45079 int main(int argc, char *argv[])
45080 { return 0; }
45081 #undef main
45082 #define main K_and_R_C_main
45083
45084 int
45085 main ()
45086 {
45087 return 0;
45088 ;
45089 return 0;
45090 }
45091 _ACEOF
45092 rm -f conftest.$ac_objext conftest$ac_exeext
45093 if { (ac_try="$ac_link"
45094 case "(($ac_try" in
45095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45096 *) ac_try_echo=$ac_try;;
45097 esac
45098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45099 (eval "$ac_link") 2>conftest.er1
45100 ac_status=$?
45101 grep -v '^ *+' conftest.er1 >conftest.err
45102 rm -f conftest.er1
45103 cat conftest.err >&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); } && {
45106 test -z "$ac_c_werror_flag" ||
45107 test ! -s conftest.err
45108 } && test -s conftest$ac_exeext &&
45109 $as_test_x conftest$ac_exeext; then
45110 echo "*** The test program compiled, but did not run. This usually means"
45111 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45112 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45115 echo "*** is required on your system"
45116 echo "***"
45117 echo "*** If you have an old version installed, it is best to remove it, although"
45118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45119 else
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45122
45123 echo "*** The test program failed to compile or link. See the file config.log for the"
45124 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45125 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45126 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45127 fi
45128
45129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45130 conftest$ac_exeext conftest.$ac_ext
45131 CFLAGS="$ac_save_CFLAGS"
45132 CXXFLAGS="$ac_save_CXXFLAGS"
45133 LIBS="$ac_save_LIBS"
45134 fi
45135 fi
45136 SDL_CFLAGS=""
45137 SDL_LIBS=""
45138 wxUSE_LIBSDL="no"
45139 fi
45140
45141
45142 rm -f conf.sdltest
45143
45144 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45145 WITH_PLUGIN_SDL=1
45146 fi
45147 fi
45148 else
45149 if test "$wxUSE_MGL" = 1; then
45150 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45151 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45152 wxUSE_SOUND="no"
45153 fi
45154 fi
45155 fi
45156
45157 if test "$wxUSE_SOUND" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_SOUND 1
45160 _ACEOF
45161
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45163 fi
45164
45165 if test "$WXGTK20" = 1; then
45166
45167
45168 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45169 if test -n "$ac_tool_prefix"; then
45170 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45171 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45174 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45175 echo $ECHO_N "(cached) $ECHO_C" >&6
45176 else
45177 case $PKG_CONFIG in
45178 [\\/]* | ?:[\\/]*)
45179 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45180 ;;
45181 *)
45182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45183 for as_dir in $PATH
45184 do
45185 IFS=$as_save_IFS
45186 test -z "$as_dir" && as_dir=.
45187 for ac_exec_ext in '' $ac_executable_extensions; do
45188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45189 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45191 break 2
45192 fi
45193 done
45194 done
45195 IFS=$as_save_IFS
45196
45197 ;;
45198 esac
45199 fi
45200 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45201 if test -n "$PKG_CONFIG"; then
45202 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45203 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45204 else
45205 { echo "$as_me:$LINENO: result: no" >&5
45206 echo "${ECHO_T}no" >&6; }
45207 fi
45208
45209
45210 fi
45211 if test -z "$ac_cv_path_PKG_CONFIG"; then
45212 ac_pt_PKG_CONFIG=$PKG_CONFIG
45213 # Extract the first word of "pkg-config", so it can be a program name with args.
45214 set dummy pkg-config; ac_word=$2
45215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45217 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45218 echo $ECHO_N "(cached) $ECHO_C" >&6
45219 else
45220 case $ac_pt_PKG_CONFIG in
45221 [\\/]* | ?:[\\/]*)
45222 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45223 ;;
45224 *)
45225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45226 for as_dir in $PATH
45227 do
45228 IFS=$as_save_IFS
45229 test -z "$as_dir" && as_dir=.
45230 for ac_exec_ext in '' $ac_executable_extensions; do
45231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45232 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45234 break 2
45235 fi
45236 done
45237 done
45238 IFS=$as_save_IFS
45239
45240 ;;
45241 esac
45242 fi
45243 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45244 if test -n "$ac_pt_PKG_CONFIG"; then
45245 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45246 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45247 else
45248 { echo "$as_me:$LINENO: result: no" >&5
45249 echo "${ECHO_T}no" >&6; }
45250 fi
45251
45252 if test "x$ac_pt_PKG_CONFIG" = x; then
45253 PKG_CONFIG=""
45254 else
45255 case $cross_compiling:$ac_tool_warned in
45256 yes:)
45257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45258 whose name does not start with the host triplet. If you think this
45259 configuration is useful to you, please write to autoconf@gnu.org." >&5
45260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45261 whose name does not start with the host triplet. If you think this
45262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45263 ac_tool_warned=yes ;;
45264 esac
45265 PKG_CONFIG=$ac_pt_PKG_CONFIG
45266 fi
45267 else
45268 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45269 fi
45270
45271 fi
45272 if test -n "$PKG_CONFIG"; then
45273 _pkg_min_version=0.9.0
45274 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45275 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45276 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45277 { echo "$as_me:$LINENO: result: yes" >&5
45278 echo "${ECHO_T}yes" >&6; }
45279 else
45280 { echo "$as_me:$LINENO: result: no" >&5
45281 echo "${ECHO_T}no" >&6; }
45282 PKG_CONFIG=""
45283 fi
45284
45285 fi
45286
45287 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45288 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45289
45290
45291 pkg_failed=no
45292 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45293 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45294
45295 if test -n "$PKG_CONFIG"; then
45296 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45297 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45298 else
45299 if test -n "$PKG_CONFIG" && \
45300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45301 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45302 ac_status=$?
45303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45304 (exit $ac_status); }; then
45305 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45306 else
45307 pkg_failed=yes
45308 fi
45309 fi
45310 else
45311 pkg_failed=untried
45312 fi
45313 if test -n "$PKG_CONFIG"; then
45314 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45315 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45316 else
45317 if test -n "$PKG_CONFIG" && \
45318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45319 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45320 ac_status=$?
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; then
45323 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45324 else
45325 pkg_failed=yes
45326 fi
45327 fi
45328 else
45329 pkg_failed=untried
45330 fi
45331
45332
45333
45334 if test $pkg_failed = yes; then
45335
45336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45337 _pkg_short_errors_supported=yes
45338 else
45339 _pkg_short_errors_supported=no
45340 fi
45341 if test $_pkg_short_errors_supported = yes; then
45342 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45343 else
45344 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45345 fi
45346 # Put the nasty error message in config.log where it belongs
45347 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45348
45349
45350 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45351 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45352 wxUSE_LIBGNOMEPRINT="no"
45353
45354
45355 elif test $pkg_failed = untried; then
45356
45357 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45358 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45359 wxUSE_LIBGNOMEPRINT="no"
45360
45361
45362 else
45363 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45364 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45365 { echo "$as_me:$LINENO: result: yes" >&5
45366 echo "${ECHO_T}yes" >&6; }
45367
45368 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45369 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_LIBGNOMEPRINT 1
45372 _ACEOF
45373
45374
45375 fi
45376 fi
45377 fi
45378
45379 if test "$wxUSE_MIMETYPE" = "yes" ; then
45380 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45381
45382
45383 pkg_failed=no
45384 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45385 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45386
45387 if test -n "$PKG_CONFIG"; then
45388 if test -n "$GNOMEVFS_CFLAGS"; then
45389 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45390 else
45391 if test -n "$PKG_CONFIG" && \
45392 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45393 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45394 ac_status=$?
45395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45396 (exit $ac_status); }; then
45397 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45398 else
45399 pkg_failed=yes
45400 fi
45401 fi
45402 else
45403 pkg_failed=untried
45404 fi
45405 if test -n "$PKG_CONFIG"; then
45406 if test -n "$GNOMEVFS_LIBS"; then
45407 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45408 else
45409 if test -n "$PKG_CONFIG" && \
45410 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45411 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45412 ac_status=$?
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; then
45415 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45416 else
45417 pkg_failed=yes
45418 fi
45419 fi
45420 else
45421 pkg_failed=untried
45422 fi
45423
45424
45425
45426 if test $pkg_failed = yes; then
45427
45428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45429 _pkg_short_errors_supported=yes
45430 else
45431 _pkg_short_errors_supported=no
45432 fi
45433 if test $_pkg_short_errors_supported = yes; then
45434 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45435 else
45436 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45437 fi
45438 # Put the nasty error message in config.log where it belongs
45439 echo "$GNOMEVFS_PKG_ERRORS" >&5
45440
45441
45442 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45443 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45444 wxUSE_LIBGNOMEVFS="no"
45445
45446
45447 elif test $pkg_failed = untried; then
45448
45449 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45450 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45451 wxUSE_LIBGNOMEVFS="no"
45452
45453
45454 else
45455 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45456 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45457 { echo "$as_me:$LINENO: result: yes" >&5
45458 echo "${ECHO_T}yes" >&6; }
45459
45460 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45461 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_LIBGNOMEVFS 1
45464 _ACEOF
45465
45466
45467 fi
45468 fi
45469 fi
45470
45471 if test "$wxUSE_LIBHILDON" = "yes" ; then
45472
45473 pkg_failed=no
45474 { echo "$as_me:$LINENO: checking for HILDON" >&5
45475 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45476
45477 if test -n "$PKG_CONFIG"; then
45478 if test -n "$HILDON_CFLAGS"; then
45479 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45480 else
45481 if test -n "$PKG_CONFIG" && \
45482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45483 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45484 ac_status=$?
45485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486 (exit $ac_status); }; then
45487 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45488 else
45489 pkg_failed=yes
45490 fi
45491 fi
45492 else
45493 pkg_failed=untried
45494 fi
45495 if test -n "$PKG_CONFIG"; then
45496 if test -n "$HILDON_LIBS"; then
45497 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45498 else
45499 if test -n "$PKG_CONFIG" && \
45500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45501 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45502 ac_status=$?
45503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45504 (exit $ac_status); }; then
45505 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45506 else
45507 pkg_failed=yes
45508 fi
45509 fi
45510 else
45511 pkg_failed=untried
45512 fi
45513
45514
45515
45516 if test $pkg_failed = yes; then
45517
45518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45519 _pkg_short_errors_supported=yes
45520 else
45521 _pkg_short_errors_supported=no
45522 fi
45523 if test $_pkg_short_errors_supported = yes; then
45524 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45525 else
45526 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45527 fi
45528 # Put the nasty error message in config.log where it belongs
45529 echo "$HILDON_PKG_ERRORS" >&5
45530
45531
45532 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45533 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45534 wxUSE_LIBHILDON="no"
45535
45536
45537 elif test $pkg_failed = untried; then
45538
45539 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45540 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45541 wxUSE_LIBHILDON="no"
45542
45543
45544 else
45545 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45546 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45547 { echo "$as_me:$LINENO: result: yes" >&5
45548 echo "${ECHO_T}yes" >&6; }
45549
45550 EXTRALIBS_HILDON="$HILDON_LIBS"
45551 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45552 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_LIBHILDON 1
45555 _ACEOF
45556
45557
45558 fi
45559 fi
45560 fi
45561
45562 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_CMDLINE_PARSER 1
45565 _ACEOF
45566
45567 fi
45568
45569 if test "$wxUSE_STOPWATCH" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_STOPWATCH 1
45572 _ACEOF
45573
45574 fi
45575
45576 if test "$wxUSE_DATETIME" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_DATETIME 1
45579 _ACEOF
45580
45581 fi
45582
45583 if test "$wxUSE_FILE" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_FILE 1
45586 _ACEOF
45587
45588 fi
45589
45590 if test "$wxUSE_FFILE" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_FFILE 1
45593 _ACEOF
45594
45595 fi
45596
45597 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45598 if test "$wxUSE_STREAMS" != yes; then
45599 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45600 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45601 wxUSE_ARCHIVE_STREAMS=no
45602 else
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_ARCHIVE_STREAMS 1
45605 _ACEOF
45606
45607 fi
45608 fi
45609
45610 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45611 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45612 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45613 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45614 elif test "$wxUSE_ZLIB" = "no"; then
45615 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45616 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45617 else
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_ZIPSTREAM 1
45620 _ACEOF
45621
45622 fi
45623 fi
45624
45625 if test "$wxUSE_TARSTREAM" = "yes"; then
45626 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45627 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45628 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45629 else
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_TARSTREAM 1
45632 _ACEOF
45633
45634 fi
45635 fi
45636
45637 if test "$wxUSE_FILESYSTEM" = "yes"; then
45638 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45639 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45640 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45641 wxUSE_FILESYSTEM=no
45642 else
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_FILESYSTEM 1
45645 _ACEOF
45646
45647 fi
45648 fi
45649
45650 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45651 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45652 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45653 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45654 else
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_FS_ARCHIVE 1
45657 _ACEOF
45658
45659 fi
45660 fi
45661
45662 if test "$wxUSE_FS_ZIP" = "yes"; then
45663 if test "$wxUSE_FS_ARCHIVE" != yes; then
45664 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45665 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45666 else
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_FS_ZIP 1
45669 _ACEOF
45670
45671 fi
45672 fi
45673
45674 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45675 if test "$USE_UNIX" != 1; then
45676 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45677 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45678 wxUSE_ON_FATAL_EXCEPTION=no
45679 else
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_ON_FATAL_EXCEPTION 1
45682 _ACEOF
45683
45684 fi
45685 fi
45686
45687 if test "$wxUSE_STACKWALKER" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_STACKWALKER 1
45690 _ACEOF
45691
45692 fi
45693
45694 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45695 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45696 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45697 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45698 wxUSE_DEBUGREPORT=no
45699 else
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_DEBUGREPORT 1
45702 _ACEOF
45703
45704 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45706 fi
45707 fi
45708 fi
45709
45710 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_SNGLINST_CHECKER 1
45713 _ACEOF
45714
45715 fi
45716
45717 if test "$wxUSE_BUSYINFO" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_BUSYINFO 1
45720 _ACEOF
45721
45722 fi
45723
45724 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_STD_IOSTREAM 1
45727 _ACEOF
45728
45729 fi
45730
45731 if test "$wxUSE_STD_STRING" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_STD_STRING 1
45734 _ACEOF
45735
45736 fi
45737
45738 if test "$wxUSE_STDPATHS" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_STDPATHS 1
45741 _ACEOF
45742
45743 fi
45744
45745 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_TEXTBUFFER 1
45748 _ACEOF
45749
45750 fi
45751
45752 if test "$wxUSE_TEXTFILE" = "yes"; then
45753 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45754 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45755 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45756 else
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_TEXTFILE 1
45759 _ACEOF
45760
45761 fi
45762 fi
45763
45764 if test "$wxUSE_CONFIG" = "yes" ; then
45765 if test "$wxUSE_TEXTFILE" != "yes"; then
45766 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45767 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45768 else
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_CONFIG 1
45771 _ACEOF
45772
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_CONFIG_NATIVE 1
45775 _ACEOF
45776
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45778 fi
45779 fi
45780
45781 if test "$wxUSE_INTL" = "yes" ; then
45782 if test "$wxUSE_FILE" != "yes"; then
45783 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45784 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45785 else
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_INTL 1
45788 _ACEOF
45789
45790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45791 GUIDIST="$GUIDIST INTL_DIST"
45792 fi
45793 fi
45794
45795 if test "$wxUSE_LOG" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_LOG 1
45798 _ACEOF
45799
45800
45801 if test "$wxUSE_LOGGUI" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_LOGGUI 1
45804 _ACEOF
45805
45806 fi
45807
45808 if test "$wxUSE_LOGWINDOW" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_LOGWINDOW 1
45811 _ACEOF
45812
45813 fi
45814
45815 if test "$wxUSE_LOGDIALOG" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_LOG_DIALOG 1
45818 _ACEOF
45819
45820 fi
45821
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45823 fi
45824
45825 if test "$wxUSE_LONGLONG" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_LONGLONG 1
45828 _ACEOF
45829
45830 fi
45831
45832 if test "$wxUSE_GEOMETRY" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_GEOMETRY 1
45835 _ACEOF
45836
45837 fi
45838
45839 if test "$wxUSE_BASE64" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_BASE64 1
45842 _ACEOF
45843
45844 fi
45845
45846 if test "$wxUSE_STREAMS" = "yes" ; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_STREAMS 1
45849 _ACEOF
45850
45851 fi
45852
45853 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_PRINTF_POS_PARAMS 1
45856 _ACEOF
45857
45858 fi
45859
45860 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_OBJC_UNIQUIFYING 1
45863 _ACEOF
45864
45865 fi
45866
45867
45868 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_CONSOLE_EVENTLOOP 1
45871 _ACEOF
45872
45873
45874 if test "$wxUSE_UNIX" = "yes"; then
45875 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_SELECT_DISPATCHER 1
45878 _ACEOF
45879
45880 fi
45881
45882 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45883
45884 for ac_header in sys/epoll.h
45885 do
45886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45891 echo $ECHO_N "(cached) $ECHO_C" >&6
45892 fi
45893 ac_res=`eval echo '${'$as_ac_Header'}'`
45894 { echo "$as_me:$LINENO: result: $ac_res" >&5
45895 echo "${ECHO_T}$ac_res" >&6; }
45896 else
45897 # Is the header compilable?
45898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45900 cat >conftest.$ac_ext <<_ACEOF
45901 /* confdefs.h. */
45902 _ACEOF
45903 cat confdefs.h >>conftest.$ac_ext
45904 cat >>conftest.$ac_ext <<_ACEOF
45905 /* end confdefs.h. */
45906 $ac_includes_default
45907 #include <$ac_header>
45908 _ACEOF
45909 rm -f conftest.$ac_objext
45910 if { (ac_try="$ac_compile"
45911 case "(($ac_try" in
45912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45913 *) ac_try_echo=$ac_try;;
45914 esac
45915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45916 (eval "$ac_compile") 2>conftest.er1
45917 ac_status=$?
45918 grep -v '^ *+' conftest.er1 >conftest.err
45919 rm -f conftest.er1
45920 cat conftest.err >&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); } && {
45923 test -z "$ac_c_werror_flag" ||
45924 test ! -s conftest.err
45925 } && test -s conftest.$ac_objext; then
45926 ac_header_compiler=yes
45927 else
45928 echo "$as_me: failed program was:" >&5
45929 sed 's/^/| /' conftest.$ac_ext >&5
45930
45931 ac_header_compiler=no
45932 fi
45933
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45936 echo "${ECHO_T}$ac_header_compiler" >&6; }
45937
45938 # Is the header present?
45939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45941 cat >conftest.$ac_ext <<_ACEOF
45942 /* confdefs.h. */
45943 _ACEOF
45944 cat confdefs.h >>conftest.$ac_ext
45945 cat >>conftest.$ac_ext <<_ACEOF
45946 /* end confdefs.h. */
45947 #include <$ac_header>
45948 _ACEOF
45949 if { (ac_try="$ac_cpp conftest.$ac_ext"
45950 case "(($ac_try" in
45951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45952 *) ac_try_echo=$ac_try;;
45953 esac
45954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45956 ac_status=$?
45957 grep -v '^ *+' conftest.er1 >conftest.err
45958 rm -f conftest.er1
45959 cat conftest.err >&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); } >/dev/null && {
45962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45963 test ! -s conftest.err
45964 }; then
45965 ac_header_preproc=yes
45966 else
45967 echo "$as_me: failed program was:" >&5
45968 sed 's/^/| /' conftest.$ac_ext >&5
45969
45970 ac_header_preproc=no
45971 fi
45972
45973 rm -f conftest.err conftest.$ac_ext
45974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45975 echo "${ECHO_T}$ac_header_preproc" >&6; }
45976
45977 # So? What about this header?
45978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45979 yes:no: )
45980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45984 ac_header_preproc=yes
45985 ;;
45986 no:yes:* )
45987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45999 ( cat <<\_ASBOX
46000 ## ----------------------------------------- ##
46001 ## Report this to wx-dev@lists.wxwidgets.org ##
46002 ## ----------------------------------------- ##
46003 _ASBOX
46004 ) | sed "s/^/$as_me: WARNING: /" >&2
46005 ;;
46006 esac
46007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46010 echo $ECHO_N "(cached) $ECHO_C" >&6
46011 else
46012 eval "$as_ac_Header=\$ac_header_preproc"
46013 fi
46014 ac_res=`eval echo '${'$as_ac_Header'}'`
46015 { echo "$as_me:$LINENO: result: $ac_res" >&5
46016 echo "${ECHO_T}$ac_res" >&6; }
46017
46018 fi
46019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46020 cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46022 _ACEOF
46023
46024 fi
46025
46026 done
46027
46028 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_EPOLL_DISPATCHER 1
46031 _ACEOF
46032
46033 else
46034 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46035 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46036 fi
46037 fi
46038 fi
46039 fi
46040
46041
46042
46043
46044 for ac_func in gettimeofday ftime
46045 do
46046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052 cat >conftest.$ac_ext <<_ACEOF
46053 /* confdefs.h. */
46054 _ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46060 #define $ac_func innocuous_$ac_func
46061
46062 /* System header to define __stub macros and hopefully few prototypes,
46063 which can conflict with char $ac_func (); below.
46064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46065 <limits.h> exists even on freestanding compilers. */
46066
46067 #ifdef __STDC__
46068 # include <limits.h>
46069 #else
46070 # include <assert.h>
46071 #endif
46072
46073 #undef $ac_func
46074
46075 /* Override any GCC internal prototype to avoid an error.
46076 Use char because int might match the return type of a GCC
46077 builtin and then its argument prototype would still apply. */
46078 #ifdef __cplusplus
46079 extern "C"
46080 #endif
46081 char $ac_func ();
46082 /* The GNU C library defines this for functions which it implements
46083 to always fail with ENOSYS. Some functions are actually named
46084 something starting with __ and the normal name is an alias. */
46085 #if defined __stub_$ac_func || defined __stub___$ac_func
46086 choke me
46087 #endif
46088
46089 int
46090 main ()
46091 {
46092 return $ac_func ();
46093 ;
46094 return 0;
46095 }
46096 _ACEOF
46097 rm -f conftest.$ac_objext conftest$ac_exeext
46098 if { (ac_try="$ac_link"
46099 case "(($ac_try" in
46100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46101 *) ac_try_echo=$ac_try;;
46102 esac
46103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46104 (eval "$ac_link") 2>conftest.er1
46105 ac_status=$?
46106 grep -v '^ *+' conftest.er1 >conftest.err
46107 rm -f conftest.er1
46108 cat conftest.err >&5
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); } && {
46111 test -z "$ac_c_werror_flag" ||
46112 test ! -s conftest.err
46113 } && test -s conftest$ac_exeext &&
46114 $as_test_x conftest$ac_exeext; then
46115 eval "$as_ac_var=yes"
46116 else
46117 echo "$as_me: failed program was:" >&5
46118 sed 's/^/| /' conftest.$ac_ext >&5
46119
46120 eval "$as_ac_var=no"
46121 fi
46122
46123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46124 conftest$ac_exeext conftest.$ac_ext
46125 fi
46126 ac_res=`eval echo '${'$as_ac_var'}'`
46127 { echo "$as_me:$LINENO: result: $ac_res" >&5
46128 echo "${ECHO_T}$ac_res" >&6; }
46129 if test `eval echo '${'$as_ac_var'}'` = yes; then
46130 cat >>confdefs.h <<_ACEOF
46131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46132 _ACEOF
46133 break
46134 fi
46135 done
46136
46137
46138 if test "$ac_cv_func_gettimeofday" = "yes"; then
46139 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46140 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46141 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46142 echo $ECHO_N "(cached) $ECHO_C" >&6
46143 else
46144
46145 cat >conftest.$ac_ext <<_ACEOF
46146 /* confdefs.h. */
46147 _ACEOF
46148 cat confdefs.h >>conftest.$ac_ext
46149 cat >>conftest.$ac_ext <<_ACEOF
46150 /* end confdefs.h. */
46151
46152 #include <sys/time.h>
46153 #include <unistd.h>
46154
46155 int
46156 main ()
46157 {
46158
46159 struct timeval tv;
46160 gettimeofday(&tv, NULL);
46161
46162 ;
46163 return 0;
46164 }
46165 _ACEOF
46166 rm -f conftest.$ac_objext
46167 if { (ac_try="$ac_compile"
46168 case "(($ac_try" in
46169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46170 *) ac_try_echo=$ac_try;;
46171 esac
46172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46173 (eval "$ac_compile") 2>conftest.er1
46174 ac_status=$?
46175 grep -v '^ *+' conftest.er1 >conftest.err
46176 rm -f conftest.er1
46177 cat conftest.err >&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } && {
46180 test -z "$ac_c_werror_flag" ||
46181 test ! -s conftest.err
46182 } && test -s conftest.$ac_objext; then
46183 wx_cv_func_gettimeofday_has_2_args=yes
46184 else
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46187
46188 cat >conftest.$ac_ext <<_ACEOF
46189 /* confdefs.h. */
46190 _ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46194
46195 #include <sys/time.h>
46196 #include <unistd.h>
46197
46198 int
46199 main ()
46200 {
46201
46202 struct timeval tv;
46203 gettimeofday(&tv);
46204
46205 ;
46206 return 0;
46207 }
46208 _ACEOF
46209 rm -f conftest.$ac_objext
46210 if { (ac_try="$ac_compile"
46211 case "(($ac_try" in
46212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46213 *) ac_try_echo=$ac_try;;
46214 esac
46215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46216 (eval "$ac_compile") 2>conftest.er1
46217 ac_status=$?
46218 grep -v '^ *+' conftest.er1 >conftest.err
46219 rm -f conftest.er1
46220 cat conftest.err >&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); } && {
46223 test -z "$ac_c_werror_flag" ||
46224 test ! -s conftest.err
46225 } && test -s conftest.$ac_objext; then
46226 wx_cv_func_gettimeofday_has_2_args=no
46227 else
46228 echo "$as_me: failed program was:" >&5
46229 sed 's/^/| /' conftest.$ac_ext >&5
46230
46231
46232 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46233 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46234 wx_cv_func_gettimeofday_has_2_args=unknown
46235
46236
46237 fi
46238
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240
46241 fi
46242
46243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46244
46245 fi
46246 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46247 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46248
46249 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define WX_GETTIMEOFDAY_NO_TZ 1
46252 _ACEOF
46253
46254 fi
46255 fi
46256
46257 if test "$wxUSE_DATETIME" = "yes"; then
46258 { echo "$as_me:$LINENO: checking for strptime" >&5
46259 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46260 if test "${ac_cv_func_strptime+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46262 else
46263 cat >conftest.$ac_ext <<_ACEOF
46264 /* confdefs.h. */
46265 _ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46271 #define strptime innocuous_strptime
46272
46273 /* System header to define __stub macros and hopefully few prototypes,
46274 which can conflict with char strptime (); below.
46275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46276 <limits.h> exists even on freestanding compilers. */
46277
46278 #ifdef __STDC__
46279 # include <limits.h>
46280 #else
46281 # include <assert.h>
46282 #endif
46283
46284 #undef strptime
46285
46286 /* Override any GCC internal prototype to avoid an error.
46287 Use char because int might match the return type of a GCC
46288 builtin and then its argument prototype would still apply. */
46289 #ifdef __cplusplus
46290 extern "C"
46291 #endif
46292 char strptime ();
46293 /* The GNU C library defines this for functions which it implements
46294 to always fail with ENOSYS. Some functions are actually named
46295 something starting with __ and the normal name is an alias. */
46296 #if defined __stub_strptime || defined __stub___strptime
46297 choke me
46298 #endif
46299
46300 int
46301 main ()
46302 {
46303 return strptime ();
46304 ;
46305 return 0;
46306 }
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (ac_try="$ac_link"
46310 case "(($ac_try" in
46311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46312 *) ac_try_echo=$ac_try;;
46313 esac
46314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46315 (eval "$ac_link") 2>conftest.er1
46316 ac_status=$?
46317 grep -v '^ *+' conftest.er1 >conftest.err
46318 rm -f conftest.er1
46319 cat conftest.err >&5
46320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46321 (exit $ac_status); } && {
46322 test -z "$ac_c_werror_flag" ||
46323 test ! -s conftest.err
46324 } && test -s conftest$ac_exeext &&
46325 $as_test_x conftest$ac_exeext; then
46326 ac_cv_func_strptime=yes
46327 else
46328 echo "$as_me: failed program was:" >&5
46329 sed 's/^/| /' conftest.$ac_ext >&5
46330
46331 ac_cv_func_strptime=no
46332 fi
46333
46334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46335 conftest$ac_exeext conftest.$ac_ext
46336 fi
46337 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46338 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46339
46340 if test "$ac_cv_func_strptime" = "yes"; then
46341 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46342 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46343 if test "${wx_cv_func_strptime_decl+set}" = set; then
46344 echo $ECHO_N "(cached) $ECHO_C" >&6
46345 else
46346
46347 ac_ext=cpp
46348 ac_cpp='$CXXCPP $CPPFLAGS'
46349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46352
46353 cat >conftest.$ac_ext <<_ACEOF
46354 /* confdefs.h. */
46355 _ACEOF
46356 cat confdefs.h >>conftest.$ac_ext
46357 cat >>conftest.$ac_ext <<_ACEOF
46358 /* end confdefs.h. */
46359
46360 #include <time.h>
46361
46362 int
46363 main ()
46364 {
46365
46366 struct tm t;
46367 strptime("foo", "bar", &t);
46368
46369 ;
46370 return 0;
46371 }
46372 _ACEOF
46373 rm -f conftest.$ac_objext
46374 if { (ac_try="$ac_compile"
46375 case "(($ac_try" in
46376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46377 *) ac_try_echo=$ac_try;;
46378 esac
46379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46380 (eval "$ac_compile") 2>conftest.er1
46381 ac_status=$?
46382 grep -v '^ *+' conftest.er1 >conftest.err
46383 rm -f conftest.er1
46384 cat conftest.err >&5
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); } && {
46387 test -z "$ac_cxx_werror_flag" ||
46388 test ! -s conftest.err
46389 } && test -s conftest.$ac_objext; then
46390 wx_cv_func_strptime_decl=yes
46391 else
46392 echo "$as_me: failed program was:" >&5
46393 sed 's/^/| /' conftest.$ac_ext >&5
46394
46395 wx_cv_func_strptime_decl=no
46396
46397 fi
46398
46399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46400 ac_ext=c
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405
46406
46407
46408 fi
46409 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46410 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46411 fi
46412 if test "$wx_cv_func_strptime_decl" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define HAVE_STRPTIME_DECL 1
46415 _ACEOF
46416
46417 else
46418 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46419 fi
46420 if test "$ac_cv_func_strptime" = "yes"; then
46421 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46422 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46423 if test "${wx_cv_func_strptime_ok+set}" = set; then
46424 echo $ECHO_N "(cached) $ECHO_C" >&6
46425 else
46426 if test "$cross_compiling" = yes; then
46427 wx_cv_func_strptime_ok=no
46428
46429 else
46430 cat >conftest.$ac_ext <<_ACEOF
46431
46432 #include <stdlib.h>
46433 #include <time.h>
46434 #include "confdefs.h"
46435
46436 $wx_strptime_decl
46437
46438 int main()
46439 {
46440 struct tm t;
46441 return !!strptime("", "%x", &t);
46442 }
46443
46444 _ACEOF
46445 rm -f conftest$ac_exeext
46446 if { (ac_try="$ac_link"
46447 case "(($ac_try" in
46448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46449 *) ac_try_echo=$ac_try;;
46450 esac
46451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46452 (eval "$ac_link") 2>&5
46453 ac_status=$?
46454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46456 { (case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46459 esac
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_try") 2>&5
46462 ac_status=$?
46463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46464 (exit $ac_status); }; }; then
46465 wx_cv_func_strptime_ok=yes
46466 else
46467 echo "$as_me: program exited with status $ac_status" >&5
46468 echo "$as_me: failed program was:" >&5
46469 sed 's/^/| /' conftest.$ac_ext >&5
46470
46471 ( exit $ac_status )
46472 wx_cv_func_strptime_ok=no
46473 fi
46474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46475 fi
46476
46477
46478
46479 fi
46480 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46481 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46482
46483 if test "$wx_cv_func_strptime_ok" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define HAVE_STRPTIME 1
46486 _ACEOF
46487
46488 fi
46489 fi
46490
46491 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46492 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46493 if test "${wx_cv_var_timezone+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46496
46497 ac_ext=cpp
46498 ac_cpp='$CXXCPP $CPPFLAGS'
46499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46502
46503 cat >conftest.$ac_ext <<_ACEOF
46504 /* confdefs.h. */
46505 _ACEOF
46506 cat confdefs.h >>conftest.$ac_ext
46507 cat >>conftest.$ac_ext <<_ACEOF
46508 /* end confdefs.h. */
46509
46510 #include <time.h>
46511
46512 int
46513 main ()
46514 {
46515
46516 int tz;
46517 tz = timezone;
46518
46519 ;
46520 return 0;
46521 }
46522 _ACEOF
46523 rm -f conftest.$ac_objext
46524 if { (ac_try="$ac_compile"
46525 case "(($ac_try" in
46526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46527 *) ac_try_echo=$ac_try;;
46528 esac
46529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46530 (eval "$ac_compile") 2>conftest.er1
46531 ac_status=$?
46532 grep -v '^ *+' conftest.er1 >conftest.err
46533 rm -f conftest.er1
46534 cat conftest.err >&5
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); } && {
46537 test -z "$ac_cxx_werror_flag" ||
46538 test ! -s conftest.err
46539 } && test -s conftest.$ac_objext; then
46540
46541 wx_cv_var_timezone=timezone
46542
46543 else
46544 echo "$as_me: failed program was:" >&5
46545 sed 's/^/| /' conftest.$ac_ext >&5
46546
46547
46548 cat >conftest.$ac_ext <<_ACEOF
46549 /* confdefs.h. */
46550 _ACEOF
46551 cat confdefs.h >>conftest.$ac_ext
46552 cat >>conftest.$ac_ext <<_ACEOF
46553 /* end confdefs.h. */
46554
46555 #include <time.h>
46556
46557 int
46558 main ()
46559 {
46560
46561 int tz;
46562 tz = _timezone;
46563
46564 ;
46565 return 0;
46566 }
46567 _ACEOF
46568 rm -f conftest.$ac_objext
46569 if { (ac_try="$ac_compile"
46570 case "(($ac_try" in
46571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46572 *) ac_try_echo=$ac_try;;
46573 esac
46574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46575 (eval "$ac_compile") 2>conftest.er1
46576 ac_status=$?
46577 grep -v '^ *+' conftest.er1 >conftest.err
46578 rm -f conftest.er1
46579 cat conftest.err >&5
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); } && {
46582 test -z "$ac_cxx_werror_flag" ||
46583 test ! -s conftest.err
46584 } && test -s conftest.$ac_objext; then
46585
46586 wx_cv_var_timezone=_timezone
46587
46588 else
46589 echo "$as_me: failed program was:" >&5
46590 sed 's/^/| /' conftest.$ac_ext >&5
46591
46592
46593 cat >conftest.$ac_ext <<_ACEOF
46594 /* confdefs.h. */
46595 _ACEOF
46596 cat confdefs.h >>conftest.$ac_ext
46597 cat >>conftest.$ac_ext <<_ACEOF
46598 /* end confdefs.h. */
46599
46600 #include <time.h>
46601
46602 int
46603 main ()
46604 {
46605
46606 int tz;
46607 tz = __timezone;
46608
46609 ;
46610 return 0;
46611 }
46612 _ACEOF
46613 rm -f conftest.$ac_objext
46614 if { (ac_try="$ac_compile"
46615 case "(($ac_try" in
46616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46617 *) ac_try_echo=$ac_try;;
46618 esac
46619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46620 (eval "$ac_compile") 2>conftest.er1
46621 ac_status=$?
46622 grep -v '^ *+' conftest.er1 >conftest.err
46623 rm -f conftest.er1
46624 cat conftest.err >&5
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); } && {
46627 test -z "$ac_cxx_werror_flag" ||
46628 test ! -s conftest.err
46629 } && test -s conftest.$ac_objext; then
46630
46631 wx_cv_var_timezone=__timezone
46632
46633 else
46634 echo "$as_me: failed program was:" >&5
46635 sed 's/^/| /' conftest.$ac_ext >&5
46636
46637
46638 if test "$USE_DOS" = 0 ; then
46639 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46640 echo "$as_me: WARNING: no timezone variable" >&2;}
46641 fi
46642
46643
46644 fi
46645
46646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46647
46648
46649 fi
46650
46651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652
46653
46654 fi
46655
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662
46663
46664
46665 fi
46666 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46667 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46668
46669 if test "x$wx_cv_var_timezone" != x ; then
46670 cat >>confdefs.h <<_ACEOF
46671 #define WX_TIMEZONE $wx_cv_var_timezone
46672 _ACEOF
46673
46674 fi
46675
46676
46677 for ac_func in localtime
46678 do
46679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46683 echo $ECHO_N "(cached) $ECHO_C" >&6
46684 else
46685 cat >conftest.$ac_ext <<_ACEOF
46686 /* confdefs.h. */
46687 _ACEOF
46688 cat confdefs.h >>conftest.$ac_ext
46689 cat >>conftest.$ac_ext <<_ACEOF
46690 /* end confdefs.h. */
46691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46693 #define $ac_func innocuous_$ac_func
46694
46695 /* System header to define __stub macros and hopefully few prototypes,
46696 which can conflict with char $ac_func (); below.
46697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46698 <limits.h> exists even on freestanding compilers. */
46699
46700 #ifdef __STDC__
46701 # include <limits.h>
46702 #else
46703 # include <assert.h>
46704 #endif
46705
46706 #undef $ac_func
46707
46708 /* Override any GCC internal prototype to avoid an error.
46709 Use char because int might match the return type of a GCC
46710 builtin and then its argument prototype would still apply. */
46711 #ifdef __cplusplus
46712 extern "C"
46713 #endif
46714 char $ac_func ();
46715 /* The GNU C library defines this for functions which it implements
46716 to always fail with ENOSYS. Some functions are actually named
46717 something starting with __ and the normal name is an alias. */
46718 #if defined __stub_$ac_func || defined __stub___$ac_func
46719 choke me
46720 #endif
46721
46722 int
46723 main ()
46724 {
46725 return $ac_func ();
46726 ;
46727 return 0;
46728 }
46729 _ACEOF
46730 rm -f conftest.$ac_objext conftest$ac_exeext
46731 if { (ac_try="$ac_link"
46732 case "(($ac_try" in
46733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46734 *) ac_try_echo=$ac_try;;
46735 esac
46736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46737 (eval "$ac_link") 2>conftest.er1
46738 ac_status=$?
46739 grep -v '^ *+' conftest.er1 >conftest.err
46740 rm -f conftest.er1
46741 cat conftest.err >&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && {
46744 test -z "$ac_c_werror_flag" ||
46745 test ! -s conftest.err
46746 } && test -s conftest$ac_exeext &&
46747 $as_test_x conftest$ac_exeext; then
46748 eval "$as_ac_var=yes"
46749 else
46750 echo "$as_me: failed program was:" >&5
46751 sed 's/^/| /' conftest.$ac_ext >&5
46752
46753 eval "$as_ac_var=no"
46754 fi
46755
46756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46757 conftest$ac_exeext conftest.$ac_ext
46758 fi
46759 ac_res=`eval echo '${'$as_ac_var'}'`
46760 { echo "$as_me:$LINENO: result: $ac_res" >&5
46761 echo "${ECHO_T}$ac_res" >&6; }
46762 if test `eval echo '${'$as_ac_var'}'` = yes; then
46763 cat >>confdefs.h <<_ACEOF
46764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46765 _ACEOF
46766
46767 fi
46768 done
46769
46770
46771 if test "$ac_cv_func_localtime" = "yes"; then
46772 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46773 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46774 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46775 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777
46778 cat >conftest.$ac_ext <<_ACEOF
46779 /* confdefs.h. */
46780 _ACEOF
46781 cat confdefs.h >>conftest.$ac_ext
46782 cat >>conftest.$ac_ext <<_ACEOF
46783 /* end confdefs.h. */
46784
46785 #include <time.h>
46786
46787 int
46788 main ()
46789 {
46790
46791 struct tm tm;
46792 tm.tm_gmtoff++;
46793
46794 ;
46795 return 0;
46796 }
46797 _ACEOF
46798 rm -f conftest.$ac_objext
46799 if { (ac_try="$ac_compile"
46800 case "(($ac_try" in
46801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46802 *) ac_try_echo=$ac_try;;
46803 esac
46804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46805 (eval "$ac_compile") 2>conftest.er1
46806 ac_status=$?
46807 grep -v '^ *+' conftest.er1 >conftest.err
46808 rm -f conftest.er1
46809 cat conftest.err >&5
46810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46811 (exit $ac_status); } && {
46812 test -z "$ac_c_werror_flag" ||
46813 test ! -s conftest.err
46814 } && test -s conftest.$ac_objext; then
46815
46816 wx_cv_struct_tm_has_gmtoff=yes
46817
46818 else
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46821
46822 wx_cv_struct_tm_has_gmtoff=no
46823
46824 fi
46825
46826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46827
46828 fi
46829 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46830 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46831 fi
46832
46833 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define WX_GMTOFF_IN_TM 1
46836 _ACEOF
46837
46838 fi
46839
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46841 fi
46842
46843
46844 if test "$wxUSE_SOCKETS" = "yes"; then
46845 if test "$wxUSE_MGL" = "1"; then
46846 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46847 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46848 wxUSE_SOCKETS="no"
46849 fi
46850 fi
46851
46852 if test "$wxUSE_SOCKETS" = "yes"; then
46853 if test "$TOOLKIT" != "MSW"; then
46854 { echo "$as_me:$LINENO: checking for socket" >&5
46855 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46856 if test "${ac_cv_func_socket+set}" = set; then
46857 echo $ECHO_N "(cached) $ECHO_C" >&6
46858 else
46859 cat >conftest.$ac_ext <<_ACEOF
46860 /* confdefs.h. */
46861 _ACEOF
46862 cat confdefs.h >>conftest.$ac_ext
46863 cat >>conftest.$ac_ext <<_ACEOF
46864 /* end confdefs.h. */
46865 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46867 #define socket innocuous_socket
46868
46869 /* System header to define __stub macros and hopefully few prototypes,
46870 which can conflict with char socket (); below.
46871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46872 <limits.h> exists even on freestanding compilers. */
46873
46874 #ifdef __STDC__
46875 # include <limits.h>
46876 #else
46877 # include <assert.h>
46878 #endif
46879
46880 #undef socket
46881
46882 /* Override any GCC internal prototype to avoid an error.
46883 Use char because int might match the return type of a GCC
46884 builtin and then its argument prototype would still apply. */
46885 #ifdef __cplusplus
46886 extern "C"
46887 #endif
46888 char socket ();
46889 /* The GNU C library defines this for functions which it implements
46890 to always fail with ENOSYS. Some functions are actually named
46891 something starting with __ and the normal name is an alias. */
46892 #if defined __stub_socket || defined __stub___socket
46893 choke me
46894 #endif
46895
46896 int
46897 main ()
46898 {
46899 return socket ();
46900 ;
46901 return 0;
46902 }
46903 _ACEOF
46904 rm -f conftest.$ac_objext conftest$ac_exeext
46905 if { (ac_try="$ac_link"
46906 case "(($ac_try" in
46907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46908 *) ac_try_echo=$ac_try;;
46909 esac
46910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46911 (eval "$ac_link") 2>conftest.er1
46912 ac_status=$?
46913 grep -v '^ *+' conftest.er1 >conftest.err
46914 rm -f conftest.er1
46915 cat conftest.err >&5
46916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46917 (exit $ac_status); } && {
46918 test -z "$ac_c_werror_flag" ||
46919 test ! -s conftest.err
46920 } && test -s conftest$ac_exeext &&
46921 $as_test_x conftest$ac_exeext; then
46922 ac_cv_func_socket=yes
46923 else
46924 echo "$as_me: failed program was:" >&5
46925 sed 's/^/| /' conftest.$ac_ext >&5
46926
46927 ac_cv_func_socket=no
46928 fi
46929
46930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46931 conftest$ac_exeext conftest.$ac_ext
46932 fi
46933 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46934 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46935 if test $ac_cv_func_socket = yes; then
46936 :
46937 else
46938
46939 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46940 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46941 if test "${ac_cv_lib_socket_socket+set}" = set; then
46942 echo $ECHO_N "(cached) $ECHO_C" >&6
46943 else
46944 ac_check_lib_save_LIBS=$LIBS
46945 LIBS="-lsocket $LIBS"
46946 cat >conftest.$ac_ext <<_ACEOF
46947 /* confdefs.h. */
46948 _ACEOF
46949 cat confdefs.h >>conftest.$ac_ext
46950 cat >>conftest.$ac_ext <<_ACEOF
46951 /* end confdefs.h. */
46952
46953 /* Override any GCC internal prototype to avoid an error.
46954 Use char because int might match the return type of a GCC
46955 builtin and then its argument prototype would still apply. */
46956 #ifdef __cplusplus
46957 extern "C"
46958 #endif
46959 char socket ();
46960 int
46961 main ()
46962 {
46963 return socket ();
46964 ;
46965 return 0;
46966 }
46967 _ACEOF
46968 rm -f conftest.$ac_objext conftest$ac_exeext
46969 if { (ac_try="$ac_link"
46970 case "(($ac_try" in
46971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46972 *) ac_try_echo=$ac_try;;
46973 esac
46974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46975 (eval "$ac_link") 2>conftest.er1
46976 ac_status=$?
46977 grep -v '^ *+' conftest.er1 >conftest.err
46978 rm -f conftest.er1
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } && {
46982 test -z "$ac_c_werror_flag" ||
46983 test ! -s conftest.err
46984 } && test -s conftest$ac_exeext &&
46985 $as_test_x conftest$ac_exeext; then
46986 ac_cv_lib_socket_socket=yes
46987 else
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46990
46991 ac_cv_lib_socket_socket=no
46992 fi
46993
46994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46995 conftest$ac_exeext conftest.$ac_ext
46996 LIBS=$ac_check_lib_save_LIBS
46997 fi
46998 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46999 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47000 if test $ac_cv_lib_socket_socket = yes; then
47001 if test "$INET_LINK" != " -lsocket"; then
47002 INET_LINK="$INET_LINK -lsocket"
47003 fi
47004 else
47005
47006 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47007 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47008 wxUSE_SOCKETS=no
47009
47010
47011 fi
47012
47013
47014
47015 fi
47016
47017 fi
47018 fi
47019
47020 if test "$wxUSE_SOCKETS" = "yes" ; then
47021 if test "$TOOLKIT" != "MSW"; then
47022 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47023 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47024 if test "${wx_cv_type_getsockname3+set}" = set; then
47025 echo $ECHO_N "(cached) $ECHO_C" >&6
47026 else
47027
47028 ac_ext=cpp
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47033
47034 cat >conftest.$ac_ext <<_ACEOF
47035 /* confdefs.h. */
47036 _ACEOF
47037 cat confdefs.h >>conftest.$ac_ext
47038 cat >>conftest.$ac_ext <<_ACEOF
47039 /* end confdefs.h. */
47040
47041 #include <sys/types.h>
47042 #include <sys/socket.h>
47043
47044 int
47045 main ()
47046 {
47047
47048 socklen_t len;
47049 getsockname(0, 0, &len);
47050
47051 ;
47052 return 0;
47053 }
47054 _ACEOF
47055 rm -f conftest.$ac_objext
47056 if { (ac_try="$ac_compile"
47057 case "(($ac_try" in
47058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47059 *) ac_try_echo=$ac_try;;
47060 esac
47061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47062 (eval "$ac_compile") 2>conftest.er1
47063 ac_status=$?
47064 grep -v '^ *+' conftest.er1 >conftest.err
47065 rm -f conftest.er1
47066 cat conftest.err >&5
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); } && {
47069 test -z "$ac_cxx_werror_flag" ||
47070 test ! -s conftest.err
47071 } && test -s conftest.$ac_objext; then
47072 wx_cv_type_getsockname3=socklen_t
47073 else
47074 echo "$as_me: failed program was:" >&5
47075 sed 's/^/| /' conftest.$ac_ext >&5
47076
47077
47078 CFLAGS_OLD="$CFLAGS"
47079 if test "$GCC" = yes ; then
47080 CFLAGS="-Werror $CFLAGS"
47081 fi
47082
47083 cat >conftest.$ac_ext <<_ACEOF
47084 /* confdefs.h. */
47085 _ACEOF
47086 cat confdefs.h >>conftest.$ac_ext
47087 cat >>conftest.$ac_ext <<_ACEOF
47088 /* end confdefs.h. */
47089
47090 #include <sys/types.h>
47091 #include <sys/socket.h>
47092
47093 int
47094 main ()
47095 {
47096
47097 size_t len;
47098 getsockname(0, 0, &len);
47099
47100 ;
47101 return 0;
47102 }
47103 _ACEOF
47104 rm -f conftest.$ac_objext
47105 if { (ac_try="$ac_compile"
47106 case "(($ac_try" in
47107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47108 *) ac_try_echo=$ac_try;;
47109 esac
47110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47111 (eval "$ac_compile") 2>conftest.er1
47112 ac_status=$?
47113 grep -v '^ *+' conftest.er1 >conftest.err
47114 rm -f conftest.er1
47115 cat conftest.err >&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); } && {
47118 test -z "$ac_cxx_werror_flag" ||
47119 test ! -s conftest.err
47120 } && test -s conftest.$ac_objext; then
47121 wx_cv_type_getsockname3=size_t
47122 else
47123 echo "$as_me: failed program was:" >&5
47124 sed 's/^/| /' conftest.$ac_ext >&5
47125
47126 cat >conftest.$ac_ext <<_ACEOF
47127 /* confdefs.h. */
47128 _ACEOF
47129 cat confdefs.h >>conftest.$ac_ext
47130 cat >>conftest.$ac_ext <<_ACEOF
47131 /* end confdefs.h. */
47132
47133 #include <sys/types.h>
47134 #include <sys/socket.h>
47135
47136 int
47137 main ()
47138 {
47139
47140 int len;
47141 getsockname(0, 0, &len);
47142
47143 ;
47144 return 0;
47145 }
47146 _ACEOF
47147 rm -f conftest.$ac_objext
47148 if { (ac_try="$ac_compile"
47149 case "(($ac_try" in
47150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47151 *) ac_try_echo=$ac_try;;
47152 esac
47153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47154 (eval "$ac_compile") 2>conftest.er1
47155 ac_status=$?
47156 grep -v '^ *+' conftest.er1 >conftest.err
47157 rm -f conftest.er1
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } && {
47161 test -z "$ac_cxx_werror_flag" ||
47162 test ! -s conftest.err
47163 } && test -s conftest.$ac_objext; then
47164 wx_cv_type_getsockname3=int
47165 else
47166 echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47168
47169 wx_cv_type_getsockname3=unknown
47170
47171 fi
47172
47173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47174
47175 fi
47176
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178
47179 CFLAGS="$CFLAGS_OLD"
47180
47181
47182 fi
47183
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190
47191
47192 fi
47193 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47194 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47195
47196 if test "$wx_cv_type_getsockname3" = "unknown"; then
47197 wxUSE_SOCKETS=no
47198 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47199 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47200 else
47201 cat >>confdefs.h <<_ACEOF
47202 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47203 _ACEOF
47204
47205 fi
47206 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47207 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47208 if test "${wx_cv_type_getsockopt5+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 else
47211
47212 ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217
47218 cat >conftest.$ac_ext <<_ACEOF
47219 /* confdefs.h. */
47220 _ACEOF
47221 cat confdefs.h >>conftest.$ac_ext
47222 cat >>conftest.$ac_ext <<_ACEOF
47223 /* end confdefs.h. */
47224
47225 #include <sys/types.h>
47226 #include <sys/socket.h>
47227
47228 int
47229 main ()
47230 {
47231
47232 socklen_t len;
47233 getsockopt(0, 0, 0, 0, &len);
47234
47235 ;
47236 return 0;
47237 }
47238 _ACEOF
47239 rm -f conftest.$ac_objext
47240 if { (ac_try="$ac_compile"
47241 case "(($ac_try" in
47242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47243 *) ac_try_echo=$ac_try;;
47244 esac
47245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47246 (eval "$ac_compile") 2>conftest.er1
47247 ac_status=$?
47248 grep -v '^ *+' conftest.er1 >conftest.err
47249 rm -f conftest.er1
47250 cat conftest.err >&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); } && {
47253 test -z "$ac_cxx_werror_flag" ||
47254 test ! -s conftest.err
47255 } && test -s conftest.$ac_objext; then
47256 wx_cv_type_getsockopt5=socklen_t
47257 else
47258 echo "$as_me: failed program was:" >&5
47259 sed 's/^/| /' conftest.$ac_ext >&5
47260
47261
47262 cat >conftest.$ac_ext <<_ACEOF
47263 /* confdefs.h. */
47264 _ACEOF
47265 cat confdefs.h >>conftest.$ac_ext
47266 cat >>conftest.$ac_ext <<_ACEOF
47267 /* end confdefs.h. */
47268
47269 #include <sys/types.h>
47270 #include <sys/socket.h>
47271
47272 int
47273 main ()
47274 {
47275
47276 size_t len;
47277 getsockopt(0, 0, 0, 0, &len);
47278
47279 ;
47280 return 0;
47281 }
47282 _ACEOF
47283 rm -f conftest.$ac_objext
47284 if { (ac_try="$ac_compile"
47285 case "(($ac_try" in
47286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47287 *) ac_try_echo=$ac_try;;
47288 esac
47289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47290 (eval "$ac_compile") 2>conftest.er1
47291 ac_status=$?
47292 grep -v '^ *+' conftest.er1 >conftest.err
47293 rm -f conftest.er1
47294 cat conftest.err >&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } && {
47297 test -z "$ac_cxx_werror_flag" ||
47298 test ! -s conftest.err
47299 } && test -s conftest.$ac_objext; then
47300 wx_cv_type_getsockopt5=size_t
47301 else
47302 echo "$as_me: failed program was:" >&5
47303 sed 's/^/| /' conftest.$ac_ext >&5
47304
47305 cat >conftest.$ac_ext <<_ACEOF
47306 /* confdefs.h. */
47307 _ACEOF
47308 cat confdefs.h >>conftest.$ac_ext
47309 cat >>conftest.$ac_ext <<_ACEOF
47310 /* end confdefs.h. */
47311
47312 #include <sys/types.h>
47313 #include <sys/socket.h>
47314
47315 int
47316 main ()
47317 {
47318
47319 int len;
47320 getsockopt(0, 0, 0, 0, &len);
47321
47322 ;
47323 return 0;
47324 }
47325 _ACEOF
47326 rm -f conftest.$ac_objext
47327 if { (ac_try="$ac_compile"
47328 case "(($ac_try" in
47329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47330 *) ac_try_echo=$ac_try;;
47331 esac
47332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47333 (eval "$ac_compile") 2>conftest.er1
47334 ac_status=$?
47335 grep -v '^ *+' conftest.er1 >conftest.err
47336 rm -f conftest.er1
47337 cat conftest.err >&5
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); } && {
47340 test -z "$ac_cxx_werror_flag" ||
47341 test ! -s conftest.err
47342 } && test -s conftest.$ac_objext; then
47343 wx_cv_type_getsockopt5=int
47344 else
47345 echo "$as_me: failed program was:" >&5
47346 sed 's/^/| /' conftest.$ac_ext >&5
47347
47348 wx_cv_type_getsockopt5=unknown
47349
47350 fi
47351
47352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47353
47354 fi
47355
47356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47357
47358
47359 fi
47360
47361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47362 ac_ext=c
47363 ac_cpp='$CPP $CPPFLAGS'
47364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47367
47368
47369 fi
47370 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47371 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47372
47373 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47374 wxUSE_SOCKETS=no
47375 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47376 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47377 else
47378 cat >>confdefs.h <<_ACEOF
47379 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47380 _ACEOF
47381
47382 fi
47383 fi
47384 fi
47385
47386 if test "$wxUSE_SOCKETS" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_SOCKETS 1
47389 _ACEOF
47390
47391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47392 fi
47393
47394 if test "$wxUSE_PROTOCOL" = "yes"; then
47395 if test "$wxUSE_SOCKETS" != "yes"; then
47396 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47397 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47398 wxUSE_PROTOCOL=no
47399 fi
47400 fi
47401
47402 if test "$wxUSE_PROTOCOL" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_PROTOCOL 1
47405 _ACEOF
47406
47407
47408 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_PROTOCOL_HTTP 1
47411 _ACEOF
47412
47413 fi
47414 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_PROTOCOL_FTP 1
47417 _ACEOF
47418
47419 fi
47420 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_PROTOCOL_FILE 1
47423 _ACEOF
47424
47425 fi
47426 else
47427 if test "$wxUSE_FS_INET" = "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47429 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47430 wxUSE_FS_INET="no"
47431 fi
47432 fi
47433
47434 if test "$wxUSE_URL" = "yes"; then
47435 if test "$wxUSE_PROTOCOL" != "yes"; then
47436 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47437 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47438 wxUSE_URL=no
47439 fi
47440 if test "$wxUSE_URL" = "yes"; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_URL 1
47443 _ACEOF
47444
47445 fi
47446 fi
47447
47448 if test "$wxUSE_VARIANT" = "yes"; then
47449 cat >>confdefs.h <<\_ACEOF
47450 #define wxUSE_VARIANT 1
47451 _ACEOF
47452
47453 fi
47454
47455 if test "$wxUSE_FS_INET" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_FS_INET 1
47458 _ACEOF
47459
47460 fi
47461
47462
47463 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47464 wxUSE_JOYSTICK=no
47465
47466 if test "$TOOLKIT" = "MSW"; then
47467 wxUSE_JOYSTICK=yes
47468
47469 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47470 if test "$USE_DARWIN" = 1; then
47471 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47472 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47473 ac_ext=cpp
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47478
47479 cat >conftest.$ac_ext <<_ACEOF
47480 /* confdefs.h. */
47481 _ACEOF
47482 cat confdefs.h >>conftest.$ac_ext
47483 cat >>conftest.$ac_ext <<_ACEOF
47484 /* end confdefs.h. */
47485 #include <IOKit/hid/IOHIDLib.h>
47486 int
47487 main ()
47488 {
47489 IOHIDQueueInterface *qi = NULL;
47490 IOHIDCallbackFunction cb = NULL;
47491 qi->setEventCallout(NULL, cb, NULL, NULL);
47492 ;
47493 return 0;
47494 }
47495 _ACEOF
47496 rm -f conftest.$ac_objext
47497 if { (ac_try="$ac_compile"
47498 case "(($ac_try" in
47499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47500 *) ac_try_echo=$ac_try;;
47501 esac
47502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47503 (eval "$ac_compile") 2>conftest.er1
47504 ac_status=$?
47505 grep -v '^ *+' conftest.er1 >conftest.err
47506 rm -f conftest.er1
47507 cat conftest.err >&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); } && {
47510 test -z "$ac_cxx_werror_flag" ||
47511 test ! -s conftest.err
47512 } && test -s conftest.$ac_objext; then
47513 wxUSE_JOYSTICK=yes
47514
47515 else
47516 echo "$as_me: failed program was:" >&5
47517 sed 's/^/| /' conftest.$ac_ext >&5
47518
47519
47520 fi
47521
47522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47523 ac_ext=c
47524 ac_cpp='$CPP $CPPFLAGS'
47525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47528
47529 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47530 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47531 fi
47532
47533 else
47534 if test "$wxUSE_MGL" != "1"; then
47535
47536 for ac_header in linux/joystick.h
47537 do
47538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544 cat >conftest.$ac_ext <<_ACEOF
47545 /* confdefs.h. */
47546 _ACEOF
47547 cat confdefs.h >>conftest.$ac_ext
47548 cat >>conftest.$ac_ext <<_ACEOF
47549 /* end confdefs.h. */
47550 $ac_includes_default
47551
47552 #include <$ac_header>
47553 _ACEOF
47554 rm -f conftest.$ac_objext
47555 if { (ac_try="$ac_compile"
47556 case "(($ac_try" in
47557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47558 *) ac_try_echo=$ac_try;;
47559 esac
47560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47561 (eval "$ac_compile") 2>conftest.er1
47562 ac_status=$?
47563 grep -v '^ *+' conftest.er1 >conftest.err
47564 rm -f conftest.er1
47565 cat conftest.err >&5
47566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47567 (exit $ac_status); } && {
47568 test -z "$ac_c_werror_flag" ||
47569 test ! -s conftest.err
47570 } && test -s conftest.$ac_objext; then
47571 eval "$as_ac_Header=yes"
47572 else
47573 echo "$as_me: failed program was:" >&5
47574 sed 's/^/| /' conftest.$ac_ext >&5
47575
47576 eval "$as_ac_Header=no"
47577 fi
47578
47579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47580 fi
47581 ac_res=`eval echo '${'$as_ac_Header'}'`
47582 { echo "$as_me:$LINENO: result: $ac_res" >&5
47583 echo "${ECHO_T}$ac_res" >&6; }
47584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47585 cat >>confdefs.h <<_ACEOF
47586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47587 _ACEOF
47588 wxUSE_JOYSTICK=yes
47589 fi
47590
47591 done
47592
47593 fi
47594 fi
47595
47596 if test "$wxUSE_JOYSTICK" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_JOYSTICK 1
47599 _ACEOF
47600
47601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47602 else
47603 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47604 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47605 fi
47606 fi
47607
47608
47609
47610 if test "$wxUSE_FONTENUM" = "yes" ; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_FONTENUM 1
47613 _ACEOF
47614
47615 fi
47616
47617 if test "$wxUSE_FONTMAP" = "yes" ; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_FONTMAP 1
47620 _ACEOF
47621
47622 fi
47623
47624 if test "$wxUSE_UNICODE" = "yes" ; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_UNICODE 1
47627 _ACEOF
47628
47629
47630 if test "$USE_WIN32" != 1; then
47631 wxUSE_UNICODE_MSLU=no
47632 fi
47633
47634 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47635 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47636 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47637 if test "${ac_cv_lib_unicows_main+set}" = set; then
47638 echo $ECHO_N "(cached) $ECHO_C" >&6
47639 else
47640 ac_check_lib_save_LIBS=$LIBS
47641 LIBS="-lunicows $LIBS"
47642 cat >conftest.$ac_ext <<_ACEOF
47643 /* confdefs.h. */
47644 _ACEOF
47645 cat confdefs.h >>conftest.$ac_ext
47646 cat >>conftest.$ac_ext <<_ACEOF
47647 /* end confdefs.h. */
47648
47649
47650 int
47651 main ()
47652 {
47653 return main ();
47654 ;
47655 return 0;
47656 }
47657 _ACEOF
47658 rm -f conftest.$ac_objext conftest$ac_exeext
47659 if { (ac_try="$ac_link"
47660 case "(($ac_try" in
47661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47662 *) ac_try_echo=$ac_try;;
47663 esac
47664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47665 (eval "$ac_link") 2>conftest.er1
47666 ac_status=$?
47667 grep -v '^ *+' conftest.er1 >conftest.err
47668 rm -f conftest.er1
47669 cat conftest.err >&5
47670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671 (exit $ac_status); } && {
47672 test -z "$ac_c_werror_flag" ||
47673 test ! -s conftest.err
47674 } && test -s conftest$ac_exeext &&
47675 $as_test_x conftest$ac_exeext; then
47676 ac_cv_lib_unicows_main=yes
47677 else
47678 echo "$as_me: failed program was:" >&5
47679 sed 's/^/| /' conftest.$ac_ext >&5
47680
47681 ac_cv_lib_unicows_main=no
47682 fi
47683
47684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47685 conftest$ac_exeext conftest.$ac_ext
47686 LIBS=$ac_check_lib_save_LIBS
47687 fi
47688 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47689 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47690 if test $ac_cv_lib_unicows_main = yes; then
47691
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_UNICODE_MSLU 1
47694 _ACEOF
47695
47696
47697 else
47698
47699 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47700 Applications will only run on Windows NT/2000/XP!" >&5
47701 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47702 Applications will only run on Windows NT/2000/XP!" >&2;}
47703 wxUSE_UNICODE_MSLU=no
47704
47705 fi
47706
47707 fi
47708 fi
47709
47710 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_UNICODE_UTF8 1
47713 _ACEOF
47714
47715
47716 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_UTF8_LOCALE_ONLY 1
47719 _ACEOF
47720
47721 fi
47722 fi
47723
47724 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_EXPERIMENTAL_PRINTF 1
47727 _ACEOF
47728
47729 fi
47730
47731
47732 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_CONSTRAINTS 1
47735 _ACEOF
47736
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47738 fi
47739
47740 if test "$wxUSE_MDI" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_MDI 1
47743 _ACEOF
47744
47745
47746 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_MDI_ARCHITECTURE 1
47749 _ACEOF
47750
47751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47752 fi
47753 fi
47754
47755 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47758 _ACEOF
47759
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47761 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47763 fi
47764 fi
47765
47766 if test "$wxUSE_HELP" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_HELP 1
47769 _ACEOF
47770
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47772
47773 if test "$wxUSE_MSW" = 1; then
47774 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_MS_HTML_HELP 1
47777 _ACEOF
47778
47779 fi
47780 fi
47781
47782 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47783 if test "$wxUSE_HTML" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_WXHTML_HELP 1
47786 _ACEOF
47787
47788 else
47789 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47790 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47791 wxUSE_WXHTML_HELP=no
47792 fi
47793 fi
47794 fi
47795
47796 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47797 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47798 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47799 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47800 else
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_PRINTING_ARCHITECTURE 1
47803 _ACEOF
47804
47805 fi
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47807 fi
47808
47809 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_POSTSCRIPT 1
47812 _ACEOF
47813
47814 fi
47815
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47818 _ACEOF
47819
47820
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_NORMALIZED_PS_FONTS 1
47823 _ACEOF
47824
47825
47826 if test "$wxUSE_SVG" = "yes"; then
47827 cat >>confdefs.h <<\_ACEOF
47828 #define wxUSE_SVG 1
47829 _ACEOF
47830
47831 fi
47832
47833
47834 if test "$wxUSE_METAFILE" = "yes"; then
47835 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47836 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47837 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47838 wxUSE_METAFILE=no
47839 fi
47840 fi
47841
47842
47843 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47844 -o "$wxUSE_CLIPBOARD" = "yes" \
47845 -o "$wxUSE_OLE" = "yes" \
47846 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47847 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47848 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47849 if test "${ac_cv_header_ole2_h+set}" = set; then
47850 echo $ECHO_N "(cached) $ECHO_C" >&6
47851 else
47852 cat >conftest.$ac_ext <<_ACEOF
47853 /* confdefs.h. */
47854 _ACEOF
47855 cat confdefs.h >>conftest.$ac_ext
47856 cat >>conftest.$ac_ext <<_ACEOF
47857 /* end confdefs.h. */
47858
47859
47860 #include <ole2.h>
47861 _ACEOF
47862 rm -f conftest.$ac_objext
47863 if { (ac_try="$ac_compile"
47864 case "(($ac_try" in
47865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47866 *) ac_try_echo=$ac_try;;
47867 esac
47868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47869 (eval "$ac_compile") 2>conftest.er1
47870 ac_status=$?
47871 grep -v '^ *+' conftest.er1 >conftest.err
47872 rm -f conftest.er1
47873 cat conftest.err >&5
47874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875 (exit $ac_status); } && {
47876 test -z "$ac_c_werror_flag" ||
47877 test ! -s conftest.err
47878 } && test -s conftest.$ac_objext; then
47879 ac_cv_header_ole2_h=yes
47880 else
47881 echo "$as_me: failed program was:" >&5
47882 sed 's/^/| /' conftest.$ac_ext >&5
47883
47884 ac_cv_header_ole2_h=no
47885 fi
47886
47887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47888 fi
47889 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47890 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47891
47892
47893
47894 if test "$ac_cv_header_ole2_h" = "yes" ; then
47895 if test "$GCC" = yes ; then
47896 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47897 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47898 cat >conftest.$ac_ext <<_ACEOF
47899 /* confdefs.h. */
47900 _ACEOF
47901 cat confdefs.h >>conftest.$ac_ext
47902 cat >>conftest.$ac_ext <<_ACEOF
47903 /* end confdefs.h. */
47904 #include <windows.h>
47905 #include <ole2.h>
47906 int
47907 main ()
47908 {
47909
47910 ;
47911 return 0;
47912 }
47913 _ACEOF
47914 rm -f conftest.$ac_objext
47915 if { (ac_try="$ac_compile"
47916 case "(($ac_try" in
47917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47918 *) ac_try_echo=$ac_try;;
47919 esac
47920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47921 (eval "$ac_compile") 2>conftest.er1
47922 ac_status=$?
47923 grep -v '^ *+' conftest.er1 >conftest.err
47924 rm -f conftest.er1
47925 cat conftest.err >&5
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); } && {
47928 test -z "$ac_c_werror_flag" ||
47929 test ! -s conftest.err
47930 } && test -s conftest.$ac_objext; then
47931 { echo "$as_me:$LINENO: result: no" >&5
47932 echo "${ECHO_T}no" >&6; }
47933 else
47934 echo "$as_me: failed program was:" >&5
47935 sed 's/^/| /' conftest.$ac_ext >&5
47936
47937 { echo "$as_me:$LINENO: result: yes" >&5
47938 echo "${ECHO_T}yes" >&6; }
47939 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47940 fi
47941
47942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47943 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47944 if test "$wxUSE_OLE" = "yes" ; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define wxUSE_OLE 1
47947 _ACEOF
47948
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_OLE_AUTOMATION 1
47951 _ACEOF
47952
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_ACTIVEX 1
47955 _ACEOF
47956
47957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47958 fi
47959 fi
47960
47961 if test "$wxUSE_DATAOBJ" = "yes" ; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_DATAOBJ 1
47964 _ACEOF
47965
47966 fi
47967 else
47968 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47969 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47970
47971 wxUSE_CLIPBOARD=no
47972 wxUSE_DRAG_AND_DROP=no
47973 wxUSE_DATAOBJ=no
47974 wxUSE_OLE=no
47975 fi
47976
47977 if test "$wxUSE_METAFILE" = "yes"; then
47978 cat >>confdefs.h <<\_ACEOF
47979 #define wxUSE_METAFILE 1
47980 _ACEOF
47981
47982
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_ENH_METAFILE 1
47985 _ACEOF
47986
47987 fi
47988 fi
47989
47990 if test "$wxUSE_IPC" = "yes"; then
47991 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47992 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47993 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47994 wxUSE_IPC=no
47995 fi
47996
47997 if test "$wxUSE_IPC" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_IPC 1
48000 _ACEOF
48001
48002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48003 fi
48004 fi
48005
48006 if test "$wxUSE_DATAOBJ" = "yes"; then
48007 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48008 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48009 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48010 wxUSE_DATAOBJ=no
48011 else
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_DATAOBJ 1
48014 _ACEOF
48015
48016 fi
48017 else
48018 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48019 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48020 wxUSE_CLIPBOARD=no
48021 wxUSE_DRAG_AND_DROP=no
48022 fi
48023
48024 if test "$wxUSE_CLIPBOARD" = "yes"; then
48025 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48026 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48027 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48028 wxUSE_CLIPBOARD=no
48029 fi
48030
48031 if test "$wxUSE_CLIPBOARD" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_CLIPBOARD 1
48034 _ACEOF
48035
48036 fi
48037 fi
48038
48039 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48040 if test "$wxUSE_GTK" = 1; then
48041 if test "$WXGTK12" != 1; then
48042 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48043 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48044 wxUSE_DRAG_AND_DROP=no
48045 fi
48046 fi
48047
48048 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48049 "$wxUSE_DFB" = 1; then
48050 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48051 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48052 wxUSE_DRAG_AND_DROP=no
48053 fi
48054
48055 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_DRAG_AND_DROP 1
48058 _ACEOF
48059
48060 fi
48061
48062 fi
48063
48064 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48066 fi
48067
48068 if test "$wxUSE_SPLINES" = "yes" ; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_SPLINES 1
48071 _ACEOF
48072
48073 fi
48074
48075 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_MOUSEWHEEL 1
48078 _ACEOF
48079
48080 fi
48081
48082
48083 USES_CONTROLS=0
48084 if test "$wxUSE_CONTROLS" = "yes"; then
48085 USES_CONTROLS=1
48086 fi
48087
48088 if test "$wxUSE_ACCEL" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_ACCEL 1
48091 _ACEOF
48092
48093 USES_CONTROLS=1
48094 fi
48095
48096 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_ANIMATIONCTRL 1
48099 _ACEOF
48100
48101 USES_CONTROLS=1
48102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48103 fi
48104
48105 if test "$wxUSE_BUTTON" = "yes"; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_BUTTON 1
48108 _ACEOF
48109
48110 USES_CONTROLS=1
48111 fi
48112
48113 if test "$wxUSE_BMPBUTTON" = "yes"; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_BMPBUTTON 1
48116 _ACEOF
48117
48118 USES_CONTROLS=1
48119 fi
48120
48121 if test "$wxUSE_CALCTRL" = "yes"; then
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_CALENDARCTRL 1
48124 _ACEOF
48125
48126 USES_CONTROLS=1
48127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48128 fi
48129
48130 if test "$wxUSE_CARET" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_CARET 1
48133 _ACEOF
48134
48135 USES_CONTROLS=1
48136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48137 fi
48138
48139 if test "$wxUSE_COLLPANE" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_COLLPANE 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48146 fi
48147
48148 if test "$wxUSE_COMBOBOX" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_COMBOBOX 1
48151 _ACEOF
48152
48153 USES_CONTROLS=1
48154 fi
48155
48156 if test "$wxUSE_COMBOCTRL" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_COMBOCTRL 1
48159 _ACEOF
48160
48161 USES_CONTROLS=1
48162 fi
48163
48164 if test "$wxUSE_CHOICE" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_CHOICE 1
48167 _ACEOF
48168
48169 USES_CONTROLS=1
48170 fi
48171
48172 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_CHOICEBOOK 1
48175 _ACEOF
48176
48177 USES_CONTROLS=1
48178 fi
48179
48180 if test "$wxUSE_CHECKBOX" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_CHECKBOX 1
48183 _ACEOF
48184
48185 USES_CONTROLS=1
48186 fi
48187
48188 if test "$wxUSE_CHECKLST" = "yes"; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_CHECKLISTBOX 1
48191 _ACEOF
48192
48193 USES_CONTROLS=1
48194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48195 fi
48196
48197 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_COLOURPICKERCTRL 1
48200 _ACEOF
48201
48202 USES_CONTROLS=1
48203 fi
48204
48205 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48206 cat >>confdefs.h <<\_ACEOF
48207 #define wxUSE_DATEPICKCTRL 1
48208 _ACEOF
48209
48210 USES_CONTROLS=1
48211 fi
48212
48213 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48214 cat >>confdefs.h <<\_ACEOF
48215 #define wxUSE_DIRPICKERCTRL 1
48216 _ACEOF
48217
48218 USES_CONTROLS=1
48219 fi
48220
48221 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_FILEPICKERCTRL 1
48224 _ACEOF
48225
48226 USES_CONTROLS=1
48227 fi
48228
48229 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48230 cat >>confdefs.h <<\_ACEOF
48231 #define wxUSE_FONTPICKERCTRL 1
48232 _ACEOF
48233
48234 USES_CONTROLS=1
48235 fi
48236
48237 if test "$wxUSE_DISPLAY" = "yes"; then
48238 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48239 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48240 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48241 wxUSE_DISPLAY=no
48242 else
48243 cat >>confdefs.h <<\_ACEOF
48244 #define wxUSE_DISPLAY 1
48245 _ACEOF
48246
48247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48248 fi
48249 fi
48250
48251 if test "$wxUSE_DETECT_SM" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_DETECT_SM 1
48254 _ACEOF
48255
48256 fi
48257
48258 if test "$wxUSE_GAUGE" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_GAUGE 1
48261 _ACEOF
48262
48263 USES_CONTROLS=1
48264 fi
48265
48266 if test "$wxUSE_GRID" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_GRID 1
48269 _ACEOF
48270
48271 USES_CONTROLS=1
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48273 fi
48274
48275 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_HYPERLINKCTRL 1
48278 _ACEOF
48279
48280 USES_CONTROLS=1
48281 fi
48282
48283 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_BITMAPCOMBOBOX 1
48286 _ACEOF
48287
48288 USES_CONTROLS=1
48289 fi
48290
48291 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_DATAVIEWCTRL 1
48294 _ACEOF
48295
48296 USES_CONTROLS=1
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48298 fi
48299
48300 if test "$wxUSE_IMAGLIST" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_IMAGLIST 1
48303 _ACEOF
48304
48305 fi
48306
48307 if test "$wxUSE_LISTBOOK" = "yes"; then
48308 cat >>confdefs.h <<\_ACEOF
48309 #define wxUSE_LISTBOOK 1
48310 _ACEOF
48311
48312 USES_CONTROLS=1
48313 fi
48314
48315 if test "$wxUSE_LISTBOX" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_LISTBOX 1
48318 _ACEOF
48319
48320 USES_CONTROLS=1
48321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48322 fi
48323
48324 if test "$wxUSE_LISTCTRL" = "yes"; then
48325 if test "$wxUSE_IMAGLIST" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_LISTCTRL 1
48328 _ACEOF
48329
48330 USES_CONTROLS=1
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48332 else
48333 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48334 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48335 fi
48336 fi
48337
48338 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_EDITABLELISTBOX 1
48341 _ACEOF
48342
48343 USES_CONTROLS=1
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48345 fi
48346
48347 if test "$wxUSE_NOTEBOOK" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_NOTEBOOK 1
48350 _ACEOF
48351
48352 USES_CONTROLS=1
48353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48354 fi
48355
48356 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_ODCOMBOBOX 1
48359 _ACEOF
48360
48361 USES_CONTROLS=1
48362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48363 fi
48364
48365
48366 if test "$wxUSE_RADIOBOX" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_RADIOBOX 1
48369 _ACEOF
48370
48371 USES_CONTROLS=1
48372 fi
48373
48374 if test "$wxUSE_RADIOBTN" = "yes"; then
48375 cat >>confdefs.h <<\_ACEOF
48376 #define wxUSE_RADIOBTN 1
48377 _ACEOF
48378
48379 USES_CONTROLS=1
48380 fi
48381
48382 if test "$wxUSE_SASH" = "yes"; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_SASH 1
48385 _ACEOF
48386
48387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48388 fi
48389
48390 if test "$wxUSE_SCROLLBAR" = "yes"; then
48391 cat >>confdefs.h <<\_ACEOF
48392 #define wxUSE_SCROLLBAR 1
48393 _ACEOF
48394
48395 USES_CONTROLS=1
48396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48397 fi
48398
48399 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_SEARCHCTRL 1
48402 _ACEOF
48403
48404 USES_CONTROLS=1
48405 fi
48406
48407 if test "$wxUSE_SLIDER" = "yes"; then
48408 cat >>confdefs.h <<\_ACEOF
48409 #define wxUSE_SLIDER 1
48410 _ACEOF
48411
48412 USES_CONTROLS=1
48413 fi
48414
48415 if test "$wxUSE_SPINBTN" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_SPINBTN 1
48418 _ACEOF
48419
48420 USES_CONTROLS=1
48421 fi
48422
48423 if test "$wxUSE_SPINCTRL" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_SPINCTRL 1
48426 _ACEOF
48427
48428 USES_CONTROLS=1
48429 fi
48430
48431 if test "$wxUSE_SPLITTER" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_SPLITTER 1
48434 _ACEOF
48435
48436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48437 fi
48438
48439 if test "$wxUSE_STATBMP" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_STATBMP 1
48442 _ACEOF
48443
48444 USES_CONTROLS=1
48445 fi
48446
48447 if test "$wxUSE_STATBOX" = "yes"; then
48448 cat >>confdefs.h <<\_ACEOF
48449 #define wxUSE_STATBOX 1
48450 _ACEOF
48451
48452 USES_CONTROLS=1
48453 fi
48454
48455 if test "$wxUSE_STATTEXT" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_STATTEXT 1
48458 _ACEOF
48459
48460 USES_CONTROLS=1
48461 fi
48462
48463 if test "$wxUSE_STATLINE" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_STATLINE 1
48466 _ACEOF
48467
48468 USES_CONTROLS=1
48469 fi
48470
48471 if test "$wxUSE_STATUSBAR" = "yes"; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_NATIVE_STATUSBAR 1
48474 _ACEOF
48475
48476 cat >>confdefs.h <<\_ACEOF
48477 #define wxUSE_STATUSBAR 1
48478 _ACEOF
48479
48480 USES_CONTROLS=1
48481
48482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48483 fi
48484
48485 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_TAB_DIALOG 1
48488 _ACEOF
48489
48490 fi
48491
48492 if test "$wxUSE_TEXTCTRL" = "yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_TEXTCTRL 1
48495 _ACEOF
48496
48497 USES_CONTROLS=1
48498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48499 fi
48500
48501 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48502 if test "$wxUSE_COCOA" = 1 ; then
48503 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48504 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48505 wxUSE_TOGGLEBTN=no
48506 fi
48507
48508 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48509 cat >>confdefs.h <<\_ACEOF
48510 #define wxUSE_TOGGLEBTN 1
48511 _ACEOF
48512
48513 USES_CONTROLS=1
48514 fi
48515 fi
48516
48517 if test "$wxUSE_TOOLBAR" = "yes"; then
48518 cat >>confdefs.h <<\_ACEOF
48519 #define wxUSE_TOOLBAR 1
48520 _ACEOF
48521
48522 USES_CONTROLS=1
48523
48524 if test "$wxUSE_UNIVERSAL" = "yes"; then
48525 wxUSE_TOOLBAR_NATIVE="no"
48526 else
48527 wxUSE_TOOLBAR_NATIVE="yes"
48528 cat >>confdefs.h <<\_ACEOF
48529 #define wxUSE_TOOLBAR_NATIVE 1
48530 _ACEOF
48531
48532 fi
48533
48534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48535 fi
48536
48537 if test "$wxUSE_TOOLTIPS" = "yes"; then
48538 if test "$wxUSE_MOTIF" = 1; then
48539 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48540 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48541 else
48542 if test "$wxUSE_UNIVERSAL" = "yes"; then
48543 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48544 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48545 else
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_TOOLTIPS 1
48548 _ACEOF
48549
48550 fi
48551 fi
48552 fi
48553
48554 if test "$wxUSE_TREEBOOK" = "yes"; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_TREEBOOK 1
48557 _ACEOF
48558
48559 USES_CONTROLS=1
48560 fi
48561
48562 if test "$wxUSE_TOOLBOOK" = "yes"; then
48563 cat >>confdefs.h <<\_ACEOF
48564 #define wxUSE_TOOLBOOK 1
48565 _ACEOF
48566
48567 USES_CONTROLS=1
48568 fi
48569
48570 if test "$wxUSE_TREECTRL" = "yes"; then
48571 if test "$wxUSE_IMAGLIST" = "yes"; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_TREECTRL 1
48574 _ACEOF
48575
48576 USES_CONTROLS=1
48577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48578 else
48579 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48580 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48581 fi
48582 fi
48583
48584 if test "$wxUSE_POPUPWIN" = "yes"; then
48585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48586 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48587 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48588 else
48589 if test "$wxUSE_PM" = 1; then
48590 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48591 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48592 else
48593 cat >>confdefs.h <<\_ACEOF
48594 #define wxUSE_POPUPWIN 1
48595 _ACEOF
48596
48597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48598
48599 USES_CONTROLS=1
48600 fi
48601 fi
48602 fi
48603
48604 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48606 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48607 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48608 else
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_DIALUP_MANAGER 1
48611 _ACEOF
48612
48613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48614 fi
48615 fi
48616
48617 if test "$wxUSE_TIPWINDOW" = "yes"; then
48618 if test "$wxUSE_PM" = 1; then
48619 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48620 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48621 else
48622 cat >>confdefs.h <<\_ACEOF
48623 #define wxUSE_TIPWINDOW 1
48624 _ACEOF
48625
48626 fi
48627 fi
48628
48629 if test "$USES_CONTROLS" = 1; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_CONTROLS 1
48632 _ACEOF
48633
48634 fi
48635
48636
48637 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48638 cat >>confdefs.h <<\_ACEOF
48639 #define wxUSE_ACCESSIBILITY 1
48640 _ACEOF
48641
48642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48643 fi
48644
48645 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_DRAGIMAGE 1
48648 _ACEOF
48649
48650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48651 fi
48652
48653 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48654 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48655 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48656 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48657 else
48658 cat >>confdefs.h <<\_ACEOF
48659 #define wxUSE_EXCEPTIONS 1
48660 _ACEOF
48661
48662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48663 fi
48664 fi
48665
48666 USE_HTML=0
48667 if test "$wxUSE_HTML" = "yes"; then
48668 cat >>confdefs.h <<\_ACEOF
48669 #define wxUSE_HTML 1
48670 _ACEOF
48671
48672 USE_HTML=1
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48674 if test "$wxUSE_MAC" = 1; then
48675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48676 fi
48677 fi
48678 if test "$wxUSE_WEBKIT" = "yes"; then
48679 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48680 old_CPPFLAGS="$CPPFLAGS"
48681 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48682 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48683 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48684 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48685 echo $ECHO_N "(cached) $ECHO_C" >&6
48686 else
48687 cat >conftest.$ac_ext <<_ACEOF
48688 /* confdefs.h. */
48689 _ACEOF
48690 cat confdefs.h >>conftest.$ac_ext
48691 cat >>conftest.$ac_ext <<_ACEOF
48692 /* end confdefs.h. */
48693
48694 #include <Carbon/Carbon.h>
48695 #include <WebKit/WebKit.h>
48696
48697
48698 #include <WebKit/HIWebView.h>
48699 _ACEOF
48700 rm -f conftest.$ac_objext
48701 if { (ac_try="$ac_compile"
48702 case "(($ac_try" in
48703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48704 *) ac_try_echo=$ac_try;;
48705 esac
48706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48707 (eval "$ac_compile") 2>conftest.er1
48708 ac_status=$?
48709 grep -v '^ *+' conftest.er1 >conftest.err
48710 rm -f conftest.er1
48711 cat conftest.err >&5
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); } && {
48714 test -z "$ac_c_werror_flag" ||
48715 test ! -s conftest.err
48716 } && test -s conftest.$ac_objext; then
48717 ac_cv_header_WebKit_HIWebView_h=yes
48718 else
48719 echo "$as_me: failed program was:" >&5
48720 sed 's/^/| /' conftest.$ac_ext >&5
48721
48722 ac_cv_header_WebKit_HIWebView_h=no
48723 fi
48724
48725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48726 fi
48727 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48728 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48729 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48730
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_WEBKIT 1
48733 _ACEOF
48734
48735 WEBKIT_LINK="-framework WebKit"
48736
48737 else
48738
48739 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48740 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48741 wxUSE_WEBKIT=no
48742
48743 fi
48744
48745
48746 CPPFLAGS="$old_CPPFLAGS"
48747 elif test "$wxUSE_COCOA" = 1; then
48748 cat >>confdefs.h <<\_ACEOF
48749 #define wxUSE_WEBKIT 1
48750 _ACEOF
48751
48752 else
48753 wxUSE_WEBKIT=no
48754 fi
48755 fi
48756
48757 USE_XRC=0
48758 if test "$wxUSE_XRC" = "yes"; then
48759 if test "$wxUSE_XML" != "yes"; then
48760 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48761 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48762 wxUSE_XRC=no
48763 else
48764 cat >>confdefs.h <<\_ACEOF
48765 #define wxUSE_XRC 1
48766 _ACEOF
48767
48768 USE_XRC=1
48769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48770 fi
48771 fi
48772
48773 USE_AUI=0
48774 if test "$wxUSE_AUI" = "yes"; then
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_AUI 1
48777 _ACEOF
48778
48779 USE_AUI=1
48780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48781 fi
48782
48783 USE_STC=0
48784 if test "$wxUSE_STC" = "yes"; then
48785 cat >>confdefs.h <<\_ACEOF
48786 #define wxUSE_STC 1
48787 _ACEOF
48788
48789 USE_STC=1
48790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48791 fi
48792
48793 if test "$wxUSE_MENUS" = "yes"; then
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_MENUS 1
48796 _ACEOF
48797
48798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48799 fi
48800
48801 if test "$wxUSE_METAFILE" = "yes"; then
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_METAFILE 1
48804 _ACEOF
48805
48806 fi
48807
48808 if test "$wxUSE_MIMETYPE" = "yes"; then
48809 cat >>confdefs.h <<\_ACEOF
48810 #define wxUSE_MIMETYPE 1
48811 _ACEOF
48812
48813 fi
48814
48815 if test "$wxUSE_MINIFRAME" = "yes"; then
48816 cat >>confdefs.h <<\_ACEOF
48817 #define wxUSE_MINIFRAME 1
48818 _ACEOF
48819
48820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48821 fi
48822
48823 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_SYSTEM_OPTIONS 1
48826 _ACEOF
48827
48828 fi
48829
48830 if test "$wxUSE_TASKBARICON" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_TASKBARICON 1
48833 _ACEOF
48834
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48836 fi
48837
48838
48839 if test "$wxUSE_VALIDATORS" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_VALIDATORS 1
48842 _ACEOF
48843
48844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48845 fi
48846
48847 if test "$wxUSE_PALETTE" = "yes" ; then
48848 if test "$wxUSE_DFB" = 1; then
48849 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48850 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48851 wxUSE_PALETTE=no
48852 else
48853 cat >>confdefs.h <<\_ACEOF
48854 #define wxUSE_PALETTE 1
48855 _ACEOF
48856
48857 fi
48858 fi
48859
48860 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48861 LIBS=" -lunicows $LIBS"
48862 fi
48863
48864 USE_RICHTEXT=0
48865 if test "$wxUSE_RICHTEXT" = "yes"; then
48866 cat >>confdefs.h <<\_ACEOF
48867 #define wxUSE_RICHTEXT 1
48868 _ACEOF
48869
48870 USE_RICHTEXT=1
48871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48872 fi
48873
48874
48875 if test "$wxUSE_IMAGE" = "yes" ; then
48876 cat >>confdefs.h <<\_ACEOF
48877 #define wxUSE_IMAGE 1
48878 _ACEOF
48879
48880
48881 if test "$wxUSE_GIF" = "yes" ; then
48882 cat >>confdefs.h <<\_ACEOF
48883 #define wxUSE_GIF 1
48884 _ACEOF
48885
48886 fi
48887
48888 if test "$wxUSE_PCX" = "yes" ; then
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_PCX 1
48891 _ACEOF
48892
48893 fi
48894
48895 if test "$wxUSE_TGA" = "yes" ; then
48896 cat >>confdefs.h <<\_ACEOF
48897 #define wxUSE_TGA 1
48898 _ACEOF
48899
48900 fi
48901
48902 if test "$wxUSE_IFF" = "yes" ; then
48903 cat >>confdefs.h <<\_ACEOF
48904 #define wxUSE_IFF 1
48905 _ACEOF
48906
48907 fi
48908
48909 if test "$wxUSE_PNM" = "yes" ; then
48910 cat >>confdefs.h <<\_ACEOF
48911 #define wxUSE_PNM 1
48912 _ACEOF
48913
48914 fi
48915
48916 if test "$wxUSE_XPM" = "yes" ; then
48917 cat >>confdefs.h <<\_ACEOF
48918 #define wxUSE_XPM 1
48919 _ACEOF
48920
48921 fi
48922
48923 if test "$wxUSE_ICO_CUR" = "yes" ; then
48924 cat >>confdefs.h <<\_ACEOF
48925 #define wxUSE_ICO_CUR 1
48926 _ACEOF
48927
48928 fi
48929 fi
48930
48931
48932 if test "$wxUSE_ABOUTDLG" = "yes"; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define wxUSE_ABOUTDLG 1
48935 _ACEOF
48936
48937 fi
48938
48939 if test "$wxUSE_CHOICEDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_CHOICEDLG 1
48942 _ACEOF
48943
48944 fi
48945
48946 if test "$wxUSE_COLOURDLG" = "yes"; then
48947 cat >>confdefs.h <<\_ACEOF
48948 #define wxUSE_COLOURDLG 1
48949 _ACEOF
48950
48951 fi
48952
48953 if test "$wxUSE_FILEDLG" = "yes"; then
48954 cat >>confdefs.h <<\_ACEOF
48955 #define wxUSE_FILEDLG 1
48956 _ACEOF
48957
48958 fi
48959
48960 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_FINDREPLDLG 1
48963 _ACEOF
48964
48965 fi
48966
48967 if test "$wxUSE_FONTDLG" = "yes"; then
48968 cat >>confdefs.h <<\_ACEOF
48969 #define wxUSE_FONTDLG 1
48970 _ACEOF
48971
48972 fi
48973
48974 if test "$wxUSE_DIRDLG" = "yes"; then
48975 if test "$wxUSE_TREECTRL" != "yes"; then
48976 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48977 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48978 else
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_DIRDLG 1
48981 _ACEOF
48982
48983 fi
48984 fi
48985
48986 if test "$wxUSE_MSGDLG" = "yes"; then
48987 cat >>confdefs.h <<\_ACEOF
48988 #define wxUSE_MSGDLG 1
48989 _ACEOF
48990
48991 fi
48992
48993 if test "$wxUSE_NUMBERDLG" = "yes"; then
48994 cat >>confdefs.h <<\_ACEOF
48995 #define wxUSE_NUMBERDLG 1
48996 _ACEOF
48997
48998 fi
48999
49000 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49001 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49002 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49003 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49004 else
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_PROGRESSDLG 1
49007 _ACEOF
49008
49009 fi
49010 fi
49011
49012 if test "$wxUSE_SPLASH" = "yes"; then
49013 cat >>confdefs.h <<\_ACEOF
49014 #define wxUSE_SPLASH 1
49015 _ACEOF
49016
49017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49018 fi
49019
49020 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49022 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49023 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49024 else
49025 cat >>confdefs.h <<\_ACEOF
49026 #define wxUSE_STARTUP_TIPS 1
49027 _ACEOF
49028
49029 fi
49030 fi
49031
49032 if test "$wxUSE_TEXTDLG" = "yes"; then
49033 cat >>confdefs.h <<\_ACEOF
49034 #define wxUSE_TEXTDLG 1
49035 _ACEOF
49036
49037 fi
49038
49039 if test "$wxUSE_WIZARDDLG" = "yes"; then
49040 cat >>confdefs.h <<\_ACEOF
49041 #define wxUSE_WIZARDDLG 1
49042 _ACEOF
49043
49044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49045 fi
49046
49047
49048 if test "$wxUSE_MSW" = 1 ; then
49049
49050 if test "$wxUSE_DC_CACHEING" = "yes"; then
49051 cat >>confdefs.h <<\_ACEOF
49052 #define wxUSE_DC_CACHEING 1
49053 _ACEOF
49054
49055 fi
49056
49057 if test "$wxUSE_DIB" = "yes"; then
49058 cat >>confdefs.h <<\_ACEOF
49059 #define wxUSE_WXDIB 1
49060 _ACEOF
49061
49062 fi
49063
49064 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49065 cat >>confdefs.h <<\_ACEOF
49066 #define wxUSE_OWNER_DRAWN 1
49067 _ACEOF
49068
49069 fi
49070
49071 if test "$wxUSE_REGKEY" = "yes"; then
49072 cat >>confdefs.h <<\_ACEOF
49073 #define wxUSE_REGKEY 1
49074 _ACEOF
49075
49076 fi
49077
49078 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49079 cat >>confdefs.h <<\_ACEOF
49080 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49081 _ACEOF
49082
49083 fi
49084
49085 if test "$wxUSE_UXTHEME" = "yes"; then
49086 cat >>confdefs.h <<\_ACEOF
49087 #define wxUSE_UXTHEME 1
49088 _ACEOF
49089
49090 fi
49091
49092 fi
49093
49094
49095 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49096 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49097 cat >>confdefs.h <<\_ACEOF
49098 #define wxUSE_GRAPHICS_CONTEXT 1
49099 _ACEOF
49100
49101 elif test "$wxUSE_GTK" != 1; then
49102 cat >>confdefs.h <<\_ACEOF
49103 #define wxUSE_GRAPHICS_CONTEXT 1
49104 _ACEOF
49105
49106 else
49107
49108 pkg_failed=no
49109 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49110 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49111
49112 if test -n "$PKG_CONFIG"; then
49113 if test -n "$CAIRO_CFLAGS"; then
49114 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49115 else
49116 if test -n "$PKG_CONFIG" && \
49117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49118 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49119 ac_status=$?
49120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49121 (exit $ac_status); }; then
49122 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49123 else
49124 pkg_failed=yes
49125 fi
49126 fi
49127 else
49128 pkg_failed=untried
49129 fi
49130 if test -n "$PKG_CONFIG"; then
49131 if test -n "$CAIRO_LIBS"; then
49132 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49133 else
49134 if test -n "$PKG_CONFIG" && \
49135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49136 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49137 ac_status=$?
49138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49139 (exit $ac_status); }; then
49140 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49141 else
49142 pkg_failed=yes
49143 fi
49144 fi
49145 else
49146 pkg_failed=untried
49147 fi
49148
49149
49150
49151 if test $pkg_failed = yes; then
49152
49153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49154 _pkg_short_errors_supported=yes
49155 else
49156 _pkg_short_errors_supported=no
49157 fi
49158 if test $_pkg_short_errors_supported = yes; then
49159 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49160 else
49161 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49162 fi
49163 # Put the nasty error message in config.log where it belongs
49164 echo "$CAIRO_PKG_ERRORS" >&5
49165
49166 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49167 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49168
49169 elif test $pkg_failed = untried; then
49170 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49171 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49172
49173 else
49174 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49175 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49176 { echo "$as_me:$LINENO: result: yes" >&5
49177 echo "${ECHO_T}yes" >&6; }
49178 cat >>confdefs.h <<\_ACEOF
49179 #define wxUSE_GRAPHICS_CONTEXT 1
49180 _ACEOF
49181
49182 fi
49183 fi
49184 fi
49185
49186
49187 USE_MEDIA=0
49188
49189 if test "$wxUSE_MEDIACTRL" = "yes"; then
49190 USE_MEDIA=1
49191
49192 if test "$wxUSE_GTK" = 1; then
49193 wxUSE_GSTREAMER="no"
49194
49195 GST_VERSION_MAJOR=0
49196 GST_VERSION_MINOR=10
49197 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49198
49199 if test "$wxUSE_GSTREAMER8" = "no"; then
49200
49201 pkg_failed=no
49202 { echo "$as_me:$LINENO: checking for GST" >&5
49203 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49204
49205 if test -n "$PKG_CONFIG"; then
49206 if test -n "$GST_CFLAGS"; then
49207 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49208 else
49209 if test -n "$PKG_CONFIG" && \
49210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49211 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49212 ac_status=$?
49213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49214 (exit $ac_status); }; then
49215 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49216 else
49217 pkg_failed=yes
49218 fi
49219 fi
49220 else
49221 pkg_failed=untried
49222 fi
49223 if test -n "$PKG_CONFIG"; then
49224 if test -n "$GST_LIBS"; then
49225 pkg_cv_GST_LIBS="$GST_LIBS"
49226 else
49227 if test -n "$PKG_CONFIG" && \
49228 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49229 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49230 ac_status=$?
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); }; then
49233 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49234 else
49235 pkg_failed=yes
49236 fi
49237 fi
49238 else
49239 pkg_failed=untried
49240 fi
49241
49242
49243
49244 if test $pkg_failed = yes; then
49245
49246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49247 _pkg_short_errors_supported=yes
49248 else
49249 _pkg_short_errors_supported=no
49250 fi
49251 if test $_pkg_short_errors_supported = yes; then
49252 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49253 else
49254 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49255 fi
49256 # Put the nasty error message in config.log where it belongs
49257 echo "$GST_PKG_ERRORS" >&5
49258
49259
49260 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49261 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49262 GST_VERSION_MINOR=8
49263
49264
49265 elif test $pkg_failed = untried; then
49266
49267 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49268 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49269 GST_VERSION_MINOR=8
49270
49271
49272 else
49273 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49274 GST_LIBS=$pkg_cv_GST_LIBS
49275 { echo "$as_me:$LINENO: result: yes" >&5
49276 echo "${ECHO_T}yes" >&6; }
49277
49278 wxUSE_GSTREAMER="yes"
49279 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49280
49281 fi
49282 else
49283 GST_VERSION_MINOR=8
49284 fi
49285
49286 if test $GST_VERSION_MINOR = "8"; then
49287 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49288
49289 pkg_failed=no
49290 { echo "$as_me:$LINENO: checking for GST" >&5
49291 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49292
49293 if test -n "$PKG_CONFIG"; then
49294 if test -n "$GST_CFLAGS"; then
49295 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49296 else
49297 if test -n "$PKG_CONFIG" && \
49298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49299 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49300 ac_status=$?
49301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49302 (exit $ac_status); }; then
49303 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49304 else
49305 pkg_failed=yes
49306 fi
49307 fi
49308 else
49309 pkg_failed=untried
49310 fi
49311 if test -n "$PKG_CONFIG"; then
49312 if test -n "$GST_LIBS"; then
49313 pkg_cv_GST_LIBS="$GST_LIBS"
49314 else
49315 if test -n "$PKG_CONFIG" && \
49316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49317 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49318 ac_status=$?
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; then
49321 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49322 else
49323 pkg_failed=yes
49324 fi
49325 fi
49326 else
49327 pkg_failed=untried
49328 fi
49329
49330
49331
49332 if test $pkg_failed = yes; then
49333
49334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49335 _pkg_short_errors_supported=yes
49336 else
49337 _pkg_short_errors_supported=no
49338 fi
49339 if test $_pkg_short_errors_supported = yes; then
49340 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49341 else
49342 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49343 fi
49344 # Put the nasty error message in config.log where it belongs
49345 echo "$GST_PKG_ERRORS" >&5
49346
49347
49348 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49349 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49350
49351 elif test $pkg_failed = untried; then
49352
49353 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49354 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49355
49356 else
49357 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49358 GST_LIBS=$pkg_cv_GST_LIBS
49359 { echo "$as_me:$LINENO: result: yes" >&5
49360 echo "${ECHO_T}yes" >&6; }
49361 wxUSE_GSTREAMER="yes"
49362 fi
49363 fi
49364
49365
49366 if test "$wxUSE_GSTREAMER" = "yes"; then
49367 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49368 LIBS="$GST_LIBS $LIBS"
49369
49370 cat >>confdefs.h <<\_ACEOF
49371 #define wxUSE_GSTREAMER 1
49372 _ACEOF
49373
49374 else
49375 USE_MEDIA=0
49376 fi
49377 fi
49378
49379 if test $USE_MEDIA = 1; then
49380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49381 cat >>confdefs.h <<\_ACEOF
49382 #define wxUSE_MEDIACTRL 1
49383 _ACEOF
49384
49385 fi
49386 fi
49387
49388
49389 if test "$cross_compiling" = "yes"; then
49390 OSINFO="\"$host\""
49391 else
49392 OSINFO=`uname -s -r -m`
49393 OSINFO="\"$OSINFO\""
49394 fi
49395
49396 cat >>confdefs.h <<_ACEOF
49397 #define WXWIN_OS_DESCRIPTION $OSINFO
49398 _ACEOF
49399
49400
49401
49402 if test "x$prefix" != "xNONE"; then
49403 wxPREFIX=$prefix
49404 else
49405 wxPREFIX=$ac_default_prefix
49406 fi
49407
49408 cat >>confdefs.h <<_ACEOF
49409 #define wxINSTALL_PREFIX "$wxPREFIX"
49410 _ACEOF
49411
49412
49413
49414
49415 STD_BASE_LIBS="base"
49416 STD_GUI_LIBS=""
49417 BUILT_WX_LIBS="base"
49418 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49419
49420 if test "$wxUSE_SOCKETS" = "yes" ; then
49421 STD_BASE_LIBS="net $STD_BASE_LIBS"
49422 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49423 fi
49424 if test "$wxUSE_ODBC" != "no" ; then
49425 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49426 fi
49427 if test "$wxUSE_XML" = "yes" ; then
49428 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49429 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49430 fi
49431
49432 if test "$wxUSE_GUI" = "yes"; then
49433 STD_GUI_LIBS="adv core"
49434 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49435
49436 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49437 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49438 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49439 fi
49440 if test "$wxUSE_ODBC" != "no" ; then
49441 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49442 fi
49443 if test "$wxUSE_HTML" = "yes" ; then
49444 STD_GUI_LIBS="html $STD_GUI_LIBS"
49445 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49446 fi
49447 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49448 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49449 fi
49450 if test "$wxUSE_OPENGL" = "yes" ; then
49451 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49452 fi
49453 if test "$wxUSE_AUI" = "yes" ; then
49454 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49455 fi
49456 if test "$wxUSE_STC" = "yes" ; then
49457 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49458 fi
49459 if test "$wxUSE_XRC" = "yes" ; then
49460 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49461 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49462 fi
49463 fi
49464
49465
49466
49467
49468
49469
49470
49471
49472 if test "$wxUSE_MAC" = 1 ; then
49473 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49474 if test "$USE_DARWIN" = 1; then
49475 LDFLAGS="$LDFLAGS -framework QuickTime"
49476 else
49477 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49478 fi
49479 fi
49480 if test "$USE_DARWIN" = 1; then
49481 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49482 else
49483 LDFLAGS="$LDFLAGS -lCarbonLib"
49484 fi
49485 fi
49486 if test "$wxUSE_COCOA" = 1 ; then
49487 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49488 if test "$wxUSE_MEDIACTRL" = "yes"; then
49489 LDFLAGS="$LDFLAGS -framework QuickTime"
49490 fi
49491 fi
49492 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49493 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49494 fi
49495
49496 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49497
49498 if test "$wxUSE_GUI" = "yes"; then
49499
49500
49501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49502 dynamic erase event exec font image minimal mobile \
49503 mobile/wxedit mobile/styles propsize render \
49504 rotate shaped svg taborder vscroll widgets"
49505
49506 if test "$wxUSE_MONOLITHIC" != "yes"; then
49507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49508 fi
49509 if test "$TOOLKIT" = "MSW"; then
49510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49511 if test "$wxUSE_UNIVERSAL" != "yes"; then
49512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49513 fi
49514 fi
49515 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49517 fi
49518 else
49519 SAMPLES_SUBDIRS="console"
49520 fi
49521
49522
49523 if test "x$INTELCC" = "xyes" ; then
49524 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49525 elif test "$GCC" = yes ; then
49526 CWARNINGS="-Wall -Wundef"
49527 fi
49528
49529 if test "x$INTELCXX" = "xyes" ; then
49530 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49531 elif test "$GXX" = yes ; then
49532 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49533 fi
49534
49535
49536 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49537 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49538
49539
49540 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49541 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49542 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49543 $CPPFLAGS `
49544
49545 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49546 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49547 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49548
49549 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49550
49551
49552 if test "x$MWCC" = "xyes"; then
49553
49554 CC="$CC -cwd source -I-"
49555 CXX="$CXX -cwd source -I-"
49556 fi
49557
49558
49559 LIBS=`echo $LIBS`
49560 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49561 EXTRALIBS_XML="$EXPAT_LINK"
49562 EXTRALIBS_HTML="$MSPACK_LINK"
49563 EXTRALIBS_ODBC="$ODBC_LINK"
49564 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49565 if test "$wxUSE_GUI" = "yes"; then
49566 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49567 fi
49568 if test "$wxUSE_OPENGL" = "yes"; then
49569 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49570 fi
49571
49572 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49573
49574 WXCONFIG_LIBS="$LIBS"
49575
49576 if test "$wxUSE_REGEX" = "builtin" ; then
49577 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49578 fi
49579 if test "$wxUSE_EXPAT" = "builtin" ; then
49580 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49581 fi
49582 if test "$wxUSE_ODBC" = "builtin" ; then
49583 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49584 fi
49585 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49586 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49587 fi
49588 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49589 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49590 fi
49591 if test "$wxUSE_LIBPNG" = "builtin" ; then
49592 wxconfig_3rdparty="png $wxconfig_3rdparty"
49593 fi
49594 if test "$wxUSE_ZLIB" = "builtin" ; then
49595 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49596 fi
49597
49598 for i in $wxconfig_3rdparty ; do
49599 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49600 done
49601
49602
49603 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49604 WXUNIV=1
49605
49606 case "$wxUNIV_THEMES" in
49607 ''|all)
49608 cat >>confdefs.h <<\_ACEOF
49609 #define wxUSE_ALL_THEMES 1
49610 _ACEOF
49611
49612 ;;
49613
49614 *)
49615 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49616 cat >>confdefs.h <<_ACEOF
49617 #define wxUSE_THEME_$t 1
49618 _ACEOF
49619
49620 done
49621 esac
49622 else
49623 WXUNIV=0
49624 fi
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634 if test $wxUSE_MONOLITHIC = "yes" ; then
49635 MONOLITHIC=1
49636 else
49637 MONOLITHIC=0
49638 fi
49639
49640 if test $wxUSE_PLUGINS = "yes" ; then
49641 USE_PLUGINS=1
49642 else
49643 USE_PLUGINS=0
49644 fi
49645
49646 if test $wxUSE_ODBC != "no" ; then
49647 USE_ODBC=1
49648 else
49649 USE_ODBC=0
49650 fi
49651
49652 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49653 USE_QA=1
49654 else
49655 USE_QA=0
49656 fi
49657
49658 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49659 OFFICIAL_BUILD=1
49660 else
49661 OFFICIAL_BUILD=0
49662 fi
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49690
49691
49692
49693
49694
49695
49696
49697
49698 case "$TOOLKIT" in
49699 GTK)
49700 TOOLKIT_DESC="GTK+"
49701 if test "$WXGTK20" = 1; then
49702 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49703 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49704 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49705 fi
49706 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49707 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49708 fi
49709 if test "$wxUSE_LIBHILDON" = "yes"; then
49710 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49711 fi
49712
49713 if test "$TOOLKIT_EXTRA" != ""; then
49714 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49715 fi
49716 fi
49717 ;;
49718
49719 ?*)
49720 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49721 ;;
49722
49723 *)
49724 TOOLKIT_DESC="base only"
49725 ;;
49726 esac
49727
49728 if test "$wxUSE_WINE" = "yes"; then
49729 BAKEFILE_FORCE_PLATFORM=win32
49730 fi
49731
49732 if test "$wxUSE_MAC" = 1 ; then
49733 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49734 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49735 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49736 else
49737 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49738 fi
49739 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49740 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49741 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49742 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49743 bk_use_pch=no
49744 fi
49745 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49746 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49747 fi
49748
49749 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49750 then
49751 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49752 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49753 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49754 echo $ECHO_N "(cached) $ECHO_C" >&6
49755 else
49756
49757 echo '#include <stdio.h>
49758 const wchar_t test_var[] = L"awidetest";' > conftest.h
49759
49760 echo '#include "conftest.h"
49761 int main()
49762 {
49763 printf("%ls", test_var);
49764 return 0;
49765 }' > conftest.cpp
49766
49767 wx_cv_gcc_pch_bug="pch not supported"
49768
49769 if $CXX conftest.h >/dev/null 2>&1
49770 then
49771 wx_cv_gcc_pch_bug=
49772
49773 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49774 then
49775 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49776 grep awidetest >/dev/null
49777 then
49778 wx_cv_gcc_pch_bug=no
49779 else
49780 wx_cv_gcc_pch_bug=yes
49781 fi
49782 fi
49783 fi
49784
49785 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49786
49787 fi
49788 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49789 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49790
49791 if test "$wx_cv_gcc_pch_bug" = yes; then
49792 bk_use_pch=no
49793 fi
49794 fi
49795
49796
49797
49798
49799 if test "x$BAKEFILE_HOST" = "x"; then
49800 if test "x${host}" = "x" ; then
49801 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49802 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49803 { (exit 1); exit 1; }; }
49804 fi
49805
49806 BAKEFILE_HOST="${host}"
49807 fi
49808
49809 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49810
49811 if test -n "$ac_tool_prefix"; then
49812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49816 if test "${ac_cv_prog_RANLIB+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 else
49819 if test -n "$RANLIB"; then
49820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49821 else
49822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49823 for as_dir in $PATH
49824 do
49825 IFS=$as_save_IFS
49826 test -z "$as_dir" && as_dir=.
49827 for ac_exec_ext in '' $ac_executable_extensions; do
49828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49829 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49831 break 2
49832 fi
49833 done
49834 done
49835 IFS=$as_save_IFS
49836
49837 fi
49838 fi
49839 RANLIB=$ac_cv_prog_RANLIB
49840 if test -n "$RANLIB"; then
49841 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49842 echo "${ECHO_T}$RANLIB" >&6; }
49843 else
49844 { echo "$as_me:$LINENO: result: no" >&5
49845 echo "${ECHO_T}no" >&6; }
49846 fi
49847
49848
49849 fi
49850 if test -z "$ac_cv_prog_RANLIB"; then
49851 ac_ct_RANLIB=$RANLIB
49852 # Extract the first word of "ranlib", so it can be a program name with args.
49853 set dummy ranlib; ac_word=$2
49854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49857 echo $ECHO_N "(cached) $ECHO_C" >&6
49858 else
49859 if test -n "$ac_ct_RANLIB"; then
49860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49861 else
49862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49863 for as_dir in $PATH
49864 do
49865 IFS=$as_save_IFS
49866 test -z "$as_dir" && as_dir=.
49867 for ac_exec_ext in '' $ac_executable_extensions; do
49868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49869 ac_cv_prog_ac_ct_RANLIB="ranlib"
49870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49871 break 2
49872 fi
49873 done
49874 done
49875 IFS=$as_save_IFS
49876
49877 fi
49878 fi
49879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49880 if test -n "$ac_ct_RANLIB"; then
49881 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49882 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49883 else
49884 { echo "$as_me:$LINENO: result: no" >&5
49885 echo "${ECHO_T}no" >&6; }
49886 fi
49887
49888 if test "x$ac_ct_RANLIB" = x; then
49889 RANLIB=":"
49890 else
49891 case $cross_compiling:$ac_tool_warned in
49892 yes:)
49893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49894 whose name does not start with the host triplet. If you think this
49895 configuration is useful to you, please write to autoconf@gnu.org." >&5
49896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49897 whose name does not start with the host triplet. If you think this
49898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49899 ac_tool_warned=yes ;;
49900 esac
49901 RANLIB=$ac_ct_RANLIB
49902 fi
49903 else
49904 RANLIB="$ac_cv_prog_RANLIB"
49905 fi
49906
49907 # Find a good install program. We prefer a C program (faster),
49908 # so one script is as good as another. But avoid the broken or
49909 # incompatible versions:
49910 # SysV /etc/install, /usr/sbin/install
49911 # SunOS /usr/etc/install
49912 # IRIX /sbin/install
49913 # AIX /bin/install
49914 # AmigaOS /C/install, which installs bootblocks on floppy discs
49915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49918 # OS/2's system install, which has a completely different semantic
49919 # ./install, which can be erroneously created by make from ./install.sh.
49920 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49922 if test -z "$INSTALL"; then
49923 if test "${ac_cv_path_install+set}" = set; then
49924 echo $ECHO_N "(cached) $ECHO_C" >&6
49925 else
49926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49927 for as_dir in $PATH
49928 do
49929 IFS=$as_save_IFS
49930 test -z "$as_dir" && as_dir=.
49931 # Account for people who put trailing slashes in PATH elements.
49932 case $as_dir/ in
49933 ./ | .// | /cC/* | \
49934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49935 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49936 /usr/ucb/* ) ;;
49937 *)
49938 # OSF1 and SCO ODT 3.0 have their own names for install.
49939 # Don't use installbsd from OSF since it installs stuff as root
49940 # by default.
49941 for ac_prog in ginstall scoinst install; do
49942 for ac_exec_ext in '' $ac_executable_extensions; do
49943 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49944 if test $ac_prog = install &&
49945 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49946 # AIX install. It has an incompatible calling convention.
49947 :
49948 elif test $ac_prog = install &&
49949 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49950 # program-specific install script used by HP pwplus--don't use.
49951 :
49952 else
49953 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49954 break 3
49955 fi
49956 fi
49957 done
49958 done
49959 ;;
49960 esac
49961 done
49962 IFS=$as_save_IFS
49963
49964
49965 fi
49966 if test "${ac_cv_path_install+set}" = set; then
49967 INSTALL=$ac_cv_path_install
49968 else
49969 # As a last resort, use the slow shell script. Don't cache a
49970 # value for INSTALL within a source directory, because that will
49971 # break other packages using the cache if that directory is
49972 # removed, or if the value is a relative name.
49973 INSTALL=$ac_install_sh
49974 fi
49975 fi
49976 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49977 echo "${ECHO_T}$INSTALL" >&6; }
49978
49979 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49980 # It thinks the first close brace ends the variable substitution.
49981 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49982
49983 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49984
49985 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49986
49987 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49988 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49989 LN_S=$as_ln_s
49990 if test "$LN_S" = "ln -s"; then
49991 { echo "$as_me:$LINENO: result: yes" >&5
49992 echo "${ECHO_T}yes" >&6; }
49993 else
49994 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49995 echo "${ECHO_T}no, using $LN_S" >&6; }
49996 fi
49997
49998
49999 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50000 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50001 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50002 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50003 echo $ECHO_N "(cached) $ECHO_C" >&6
50004 else
50005 cat >conftest.make <<\_ACEOF
50006 SHELL = /bin/sh
50007 all:
50008 @echo '@@@%%%=$(MAKE)=@@@%%%'
50009 _ACEOF
50010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50011 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50012 *@@@%%%=?*=@@@%%%*)
50013 eval ac_cv_prog_make_${ac_make}_set=yes;;
50014 *)
50015 eval ac_cv_prog_make_${ac_make}_set=no;;
50016 esac
50017 rm -f conftest.make
50018 fi
50019 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50020 { echo "$as_me:$LINENO: result: yes" >&5
50021 echo "${ECHO_T}yes" >&6; }
50022 SET_MAKE=
50023 else
50024 { echo "$as_me:$LINENO: result: no" >&5
50025 echo "${ECHO_T}no" >&6; }
50026 SET_MAKE="MAKE=${MAKE-make}"
50027 fi
50028
50029
50030
50031 if test "x$SUNCXX" = "xyes"; then
50032 AR=$CXX
50033 AROPTIONS="-xar -o"
50034
50035 elif test "x$SGICC" = "xyes"; then
50036 AR=$CXX
50037 AROPTIONS="-ar -o"
50038
50039 else
50040 if test -n "$ac_tool_prefix"; then
50041 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50042 set dummy ${ac_tool_prefix}ar; ac_word=$2
50043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50045 if test "${ac_cv_prog_AR+set}" = set; then
50046 echo $ECHO_N "(cached) $ECHO_C" >&6
50047 else
50048 if test -n "$AR"; then
50049 ac_cv_prog_AR="$AR" # Let the user override the test.
50050 else
50051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50052 for as_dir in $PATH
50053 do
50054 IFS=$as_save_IFS
50055 test -z "$as_dir" && as_dir=.
50056 for ac_exec_ext in '' $ac_executable_extensions; do
50057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50058 ac_cv_prog_AR="${ac_tool_prefix}ar"
50059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50060 break 2
50061 fi
50062 done
50063 done
50064 IFS=$as_save_IFS
50065
50066 fi
50067 fi
50068 AR=$ac_cv_prog_AR
50069 if test -n "$AR"; then
50070 { echo "$as_me:$LINENO: result: $AR" >&5
50071 echo "${ECHO_T}$AR" >&6; }
50072 else
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50075 fi
50076
50077
50078 fi
50079 if test -z "$ac_cv_prog_AR"; then
50080 ac_ct_AR=$AR
50081 # Extract the first word of "ar", so it can be a program name with args.
50082 set dummy ar; ac_word=$2
50083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50085 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50086 echo $ECHO_N "(cached) $ECHO_C" >&6
50087 else
50088 if test -n "$ac_ct_AR"; then
50089 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50090 else
50091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50092 for as_dir in $PATH
50093 do
50094 IFS=$as_save_IFS
50095 test -z "$as_dir" && as_dir=.
50096 for ac_exec_ext in '' $ac_executable_extensions; do
50097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50098 ac_cv_prog_ac_ct_AR="ar"
50099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50100 break 2
50101 fi
50102 done
50103 done
50104 IFS=$as_save_IFS
50105
50106 fi
50107 fi
50108 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50109 if test -n "$ac_ct_AR"; then
50110 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50111 echo "${ECHO_T}$ac_ct_AR" >&6; }
50112 else
50113 { echo "$as_me:$LINENO: result: no" >&5
50114 echo "${ECHO_T}no" >&6; }
50115 fi
50116
50117 if test "x$ac_ct_AR" = x; then
50118 AR="ar"
50119 else
50120 case $cross_compiling:$ac_tool_warned in
50121 yes:)
50122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50123 whose name does not start with the host triplet. If you think this
50124 configuration is useful to you, please write to autoconf@gnu.org." >&5
50125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50126 whose name does not start with the host triplet. If you think this
50127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50128 ac_tool_warned=yes ;;
50129 esac
50130 AR=$ac_ct_AR
50131 fi
50132 else
50133 AR="$ac_cv_prog_AR"
50134 fi
50135
50136 AROPTIONS=rcu
50137 fi
50138
50139
50140 if test -n "$ac_tool_prefix"; then
50141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50142 set dummy ${ac_tool_prefix}strip; ac_word=$2
50143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50145 if test "${ac_cv_prog_STRIP+set}" = set; then
50146 echo $ECHO_N "(cached) $ECHO_C" >&6
50147 else
50148 if test -n "$STRIP"; then
50149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50150 else
50151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50152 for as_dir in $PATH
50153 do
50154 IFS=$as_save_IFS
50155 test -z "$as_dir" && as_dir=.
50156 for ac_exec_ext in '' $ac_executable_extensions; do
50157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50158 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50160 break 2
50161 fi
50162 done
50163 done
50164 IFS=$as_save_IFS
50165
50166 fi
50167 fi
50168 STRIP=$ac_cv_prog_STRIP
50169 if test -n "$STRIP"; then
50170 { echo "$as_me:$LINENO: result: $STRIP" >&5
50171 echo "${ECHO_T}$STRIP" >&6; }
50172 else
50173 { echo "$as_me:$LINENO: result: no" >&5
50174 echo "${ECHO_T}no" >&6; }
50175 fi
50176
50177
50178 fi
50179 if test -z "$ac_cv_prog_STRIP"; then
50180 ac_ct_STRIP=$STRIP
50181 # Extract the first word of "strip", so it can be a program name with args.
50182 set dummy strip; ac_word=$2
50183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50185 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50186 echo $ECHO_N "(cached) $ECHO_C" >&6
50187 else
50188 if test -n "$ac_ct_STRIP"; then
50189 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50190 else
50191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50192 for as_dir in $PATH
50193 do
50194 IFS=$as_save_IFS
50195 test -z "$as_dir" && as_dir=.
50196 for ac_exec_ext in '' $ac_executable_extensions; do
50197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50198 ac_cv_prog_ac_ct_STRIP="strip"
50199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50200 break 2
50201 fi
50202 done
50203 done
50204 IFS=$as_save_IFS
50205
50206 fi
50207 fi
50208 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50209 if test -n "$ac_ct_STRIP"; then
50210 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50211 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50212 else
50213 { echo "$as_me:$LINENO: result: no" >&5
50214 echo "${ECHO_T}no" >&6; }
50215 fi
50216
50217 if test "x$ac_ct_STRIP" = x; then
50218 STRIP=":"
50219 else
50220 case $cross_compiling:$ac_tool_warned in
50221 yes:)
50222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50223 whose name does not start with the host triplet. If you think this
50224 configuration is useful to you, please write to autoconf@gnu.org." >&5
50225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50226 whose name does not start with the host triplet. If you think this
50227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50228 ac_tool_warned=yes ;;
50229 esac
50230 STRIP=$ac_ct_STRIP
50231 fi
50232 else
50233 STRIP="$ac_cv_prog_STRIP"
50234 fi
50235
50236 if test -n "$ac_tool_prefix"; then
50237 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50238 set dummy ${ac_tool_prefix}nm; ac_word=$2
50239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50241 if test "${ac_cv_prog_NM+set}" = set; then
50242 echo $ECHO_N "(cached) $ECHO_C" >&6
50243 else
50244 if test -n "$NM"; then
50245 ac_cv_prog_NM="$NM" # Let the user override the test.
50246 else
50247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50248 for as_dir in $PATH
50249 do
50250 IFS=$as_save_IFS
50251 test -z "$as_dir" && as_dir=.
50252 for ac_exec_ext in '' $ac_executable_extensions; do
50253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50254 ac_cv_prog_NM="${ac_tool_prefix}nm"
50255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50256 break 2
50257 fi
50258 done
50259 done
50260 IFS=$as_save_IFS
50261
50262 fi
50263 fi
50264 NM=$ac_cv_prog_NM
50265 if test -n "$NM"; then
50266 { echo "$as_me:$LINENO: result: $NM" >&5
50267 echo "${ECHO_T}$NM" >&6; }
50268 else
50269 { echo "$as_me:$LINENO: result: no" >&5
50270 echo "${ECHO_T}no" >&6; }
50271 fi
50272
50273
50274 fi
50275 if test -z "$ac_cv_prog_NM"; then
50276 ac_ct_NM=$NM
50277 # Extract the first word of "nm", so it can be a program name with args.
50278 set dummy nm; ac_word=$2
50279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50281 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50282 echo $ECHO_N "(cached) $ECHO_C" >&6
50283 else
50284 if test -n "$ac_ct_NM"; then
50285 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50286 else
50287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50288 for as_dir in $PATH
50289 do
50290 IFS=$as_save_IFS
50291 test -z "$as_dir" && as_dir=.
50292 for ac_exec_ext in '' $ac_executable_extensions; do
50293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50294 ac_cv_prog_ac_ct_NM="nm"
50295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50296 break 2
50297 fi
50298 done
50299 done
50300 IFS=$as_save_IFS
50301
50302 fi
50303 fi
50304 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50305 if test -n "$ac_ct_NM"; then
50306 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50307 echo "${ECHO_T}$ac_ct_NM" >&6; }
50308 else
50309 { echo "$as_me:$LINENO: result: no" >&5
50310 echo "${ECHO_T}no" >&6; }
50311 fi
50312
50313 if test "x$ac_ct_NM" = x; then
50314 NM=":"
50315 else
50316 case $cross_compiling:$ac_tool_warned in
50317 yes:)
50318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50319 whose name does not start with the host triplet. If you think this
50320 configuration is useful to you, please write to autoconf@gnu.org." >&5
50321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50322 whose name does not start with the host triplet. If you think this
50323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50324 ac_tool_warned=yes ;;
50325 esac
50326 NM=$ac_ct_NM
50327 fi
50328 else
50329 NM="$ac_cv_prog_NM"
50330 fi
50331
50332
50333 case ${BAKEFILE_HOST} in
50334 *-hp-hpux* )
50335 INSTALL_DIR="mkdir -p"
50336 ;;
50337 * )
50338 INSTALL_DIR='$(INSTALL) -d'
50339 ;;
50340 esac
50341
50342
50343 LDFLAGS_GUI=
50344 case ${BAKEFILE_HOST} in
50345 *-*-cygwin* | *-*-mingw32* )
50346 LDFLAGS_GUI="-mwindows"
50347 esac
50348
50349
50350 fi
50351
50352 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50353 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50354 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50355 echo $ECHO_N "(cached) $ECHO_C" >&6
50356 else
50357
50358 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50359 egrep -s GNU > /dev/null); then
50360 bakefile_cv_prog_makeisgnu="yes"
50361 else
50362 bakefile_cv_prog_makeisgnu="no"
50363 fi
50364
50365 fi
50366 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50367 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50368
50369 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50370 IF_GNU_MAKE=""
50371 else
50372 IF_GNU_MAKE="#"
50373 fi
50374
50375
50376
50377 PLATFORM_UNIX=0
50378 PLATFORM_WIN32=0
50379 PLATFORM_MSDOS=0
50380 PLATFORM_MAC=0
50381 PLATFORM_MACOS=0
50382 PLATFORM_MACOSX=0
50383 PLATFORM_OS2=0
50384 PLATFORM_BEOS=0
50385
50386 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50387 case "${BAKEFILE_HOST}" in
50388 *-*-mingw32* )
50389 PLATFORM_WIN32=1
50390 ;;
50391 *-pc-msdosdjgpp )
50392 PLATFORM_MSDOS=1
50393 ;;
50394 *-pc-os2_emx | *-pc-os2-emx )
50395 PLATFORM_OS2=1
50396 ;;
50397 *-*-darwin* )
50398 PLATFORM_MAC=1
50399 PLATFORM_MACOSX=1
50400 ;;
50401 *-*-beos* )
50402 PLATFORM_BEOS=1
50403 ;;
50404 powerpc-apple-macos* )
50405 PLATFORM_MAC=1
50406 PLATFORM_MACOS=1
50407 ;;
50408 * )
50409 PLATFORM_UNIX=1
50410 ;;
50411 esac
50412 else
50413 case "$BAKEFILE_FORCE_PLATFORM" in
50414 win32 )
50415 PLATFORM_WIN32=1
50416 ;;
50417 msdos )
50418 PLATFORM_MSDOS=1
50419 ;;
50420 os2 )
50421 PLATFORM_OS2=1
50422 ;;
50423 darwin )
50424 PLATFORM_MAC=1
50425 PLATFORM_MACOSX=1
50426 ;;
50427 unix )
50428 PLATFORM_UNIX=1
50429 ;;
50430 beos )
50431 PLATFORM_BEOS=1
50432 ;;
50433 * )
50434 ;;
50435 esac
50436 fi
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448 # Check whether --enable-omf was given.
50449 if test "${enable_omf+set}" = set; then
50450 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50451 fi
50452
50453
50454 case "${BAKEFILE_HOST}" in
50455 *-*-darwin* )
50456 if test "x$GCC" = "xyes"; then
50457 CFLAGS="$CFLAGS -fno-common"
50458 CXXFLAGS="$CXXFLAGS -fno-common"
50459 fi
50460 if test "x$XLCC" = "xyes"; then
50461 CFLAGS="$CFLAGS -qnocommon"
50462 CXXFLAGS="$CXXFLAGS -qnocommon"
50463 fi
50464 ;;
50465
50466 *-pc-os2_emx | *-pc-os2-emx )
50467 if test "x$bk_os2_use_omf" = "xyes" ; then
50468 AR=emxomfar
50469 RANLIB=:
50470 LDFLAGS="-Zomf $LDFLAGS"
50471 CFLAGS="-Zomf $CFLAGS"
50472 CXXFLAGS="-Zomf $CXXFLAGS"
50473 OS2_LIBEXT="lib"
50474 else
50475 OS2_LIBEXT="a"
50476 fi
50477 ;;
50478
50479 i*86-*-beos* )
50480 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50481 ;;
50482 esac
50483
50484
50485 SO_SUFFIX="so"
50486 SO_SUFFIX_MODULE="so"
50487 EXEEXT=""
50488 LIBPREFIX="lib"
50489 LIBEXT=".a"
50490 DLLPREFIX="lib"
50491 DLLPREFIX_MODULE=""
50492 DLLIMP_SUFFIX=""
50493 dlldir="$libdir"
50494
50495 case "${BAKEFILE_HOST}" in
50496 *-hp-hpux* )
50497 SO_SUFFIX="sl"
50498 SO_SUFFIX_MODULE="sl"
50499 ;;
50500 *-*-aix* )
50501 SO_SUFFIX="a"
50502 SO_SUFFIX_MODULE="a"
50503 ;;
50504 *-*-cygwin* )
50505 SO_SUFFIX="dll"
50506 SO_SUFFIX_MODULE="dll"
50507 DLLIMP_SUFFIX="dll.a"
50508 EXEEXT=".exe"
50509 DLLPREFIX="cyg"
50510 dlldir="$bindir"
50511 ;;
50512 *-*-mingw32* )
50513 SO_SUFFIX="dll"
50514 SO_SUFFIX_MODULE="dll"
50515 DLLIMP_SUFFIX="dll.a"
50516 EXEEXT=".exe"
50517 DLLPREFIX=""
50518 dlldir="$bindir"
50519 ;;
50520 *-pc-msdosdjgpp )
50521 EXEEXT=".exe"
50522 DLLPREFIX=""
50523 dlldir="$bindir"
50524 ;;
50525 *-pc-os2_emx | *-pc-os2-emx )
50526 SO_SUFFIX="dll"
50527 SO_SUFFIX_MODULE="dll"
50528 DLLIMP_SUFFIX=$OS2_LIBEXT
50529 EXEEXT=".exe"
50530 DLLPREFIX=""
50531 LIBPREFIX=""
50532 LIBEXT=".$OS2_LIBEXT"
50533 dlldir="$bindir"
50534 ;;
50535 *-*-darwin* )
50536 SO_SUFFIX="dylib"
50537 SO_SUFFIX_MODULE="bundle"
50538 ;;
50539 esac
50540
50541 if test "x$DLLIMP_SUFFIX" = "x" ; then
50542 DLLIMP_SUFFIX="$SO_SUFFIX"
50543 fi
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556 PIC_FLAG=""
50557 if test "x$GCC" = "xyes"; then
50558 PIC_FLAG="-fPIC"
50559 fi
50560
50561 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50562 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50563 WINDOWS_IMPLIB=0
50564
50565 case "${BAKEFILE_HOST}" in
50566 *-hp-hpux* )
50567 if test "x$GCC" != "xyes"; then
50568 LDFLAGS="$LDFLAGS -L/usr/lib"
50569
50570 SHARED_LD_CC="${CC} -b -o"
50571 SHARED_LD_CXX="${CXX} -b -o"
50572 PIC_FLAG="+Z"
50573 fi
50574 ;;
50575
50576 *-*-linux* )
50577 if test "$INTELCC" = "yes"; then
50578 PIC_FLAG="-KPIC"
50579 elif test "x$SUNCXX" = "xyes"; then
50580 SHARED_LD_CC="${CC} -G -o"
50581 SHARED_LD_CXX="${CXX} -G -o"
50582 PIC_FLAG="-KPIC"
50583 fi
50584 ;;
50585
50586 *-*-solaris2* )
50587 if test "x$SUNCXX" = xyes ; then
50588 SHARED_LD_CC="${CC} -G -o"
50589 SHARED_LD_CXX="${CXX} -G -o"
50590 PIC_FLAG="-KPIC"
50591 fi
50592 ;;
50593
50594 *-*-darwin* )
50595
50596 D='$'
50597 cat <<EOF >shared-ld-sh
50598 #!/bin/sh
50599 #-----------------------------------------------------------------------------
50600 #-- Name: distrib/mac/shared-ld-sh
50601 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50602 #-- Author: Gilles Depeyrot
50603 #-- Copyright: (c) 2002 Gilles Depeyrot
50604 #-- Licence: any use permitted
50605 #-----------------------------------------------------------------------------
50606
50607 verbose=0
50608 args=""
50609 objects=""
50610 linking_flag="-dynamiclib"
50611 ldargs="-r -keep_private_externs -nostdlib"
50612
50613 while test ${D}# -gt 0; do
50614 case ${D}1 in
50615
50616 -v)
50617 verbose=1
50618 ;;
50619
50620 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50621 # collect these options and values
50622 args="${D}{args} ${D}1 ${D}2"
50623 shift
50624 ;;
50625
50626 -s|-Wl,*)
50627 # collect these load args
50628 ldargs="${D}{ldargs} ${D}1"
50629 ;;
50630
50631 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50632 # collect these options
50633 args="${D}{args} ${D}1"
50634 ;;
50635
50636 -dynamiclib|-bundle)
50637 linking_flag="${D}1"
50638 ;;
50639
50640 -*)
50641 echo "shared-ld: unhandled option '${D}1'"
50642 exit 1
50643 ;;
50644
50645 *.o | *.a | *.dylib)
50646 # collect object files
50647 objects="${D}{objects} ${D}1"
50648 ;;
50649
50650 *)
50651 echo "shared-ld: unhandled argument '${D}1'"
50652 exit 1
50653 ;;
50654
50655 esac
50656 shift
50657 done
50658
50659 status=0
50660
50661 #
50662 # Link one module containing all the others
50663 #
50664 if test ${D}{verbose} = 1; then
50665 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50666 fi
50667 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50668 status=${D}?
50669
50670 #
50671 # Link the shared library from the single module created, but only if the
50672 # previous command didn't fail:
50673 #
50674 if test ${D}{status} = 0; then
50675 if test ${D}{verbose} = 1; then
50676 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50677 fi
50678 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50679 status=${D}?
50680 fi
50681
50682 #
50683 # Remove intermediate module
50684 #
50685 rm -f master.${D}${D}.o
50686
50687 exit ${D}status
50688 EOF
50689
50690 chmod +x shared-ld-sh
50691
50692 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50693 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50694
50695
50696 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50697 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50698 if test "${bakefile_cv_gcc31+set}" = set; then
50699 echo $ECHO_N "(cached) $ECHO_C" >&6
50700 else
50701
50702 cat >conftest.$ac_ext <<_ACEOF
50703 /* confdefs.h. */
50704 _ACEOF
50705 cat confdefs.h >>conftest.$ac_ext
50706 cat >>conftest.$ac_ext <<_ACEOF
50707 /* end confdefs.h. */
50708
50709 int
50710 main ()
50711 {
50712
50713 #if (__GNUC__ < 3) || \
50714 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50715 This is old gcc
50716 #endif
50717
50718 ;
50719 return 0;
50720 }
50721 _ACEOF
50722 rm -f conftest.$ac_objext
50723 if { (ac_try="$ac_compile"
50724 case "(($ac_try" in
50725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50726 *) ac_try_echo=$ac_try;;
50727 esac
50728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50729 (eval "$ac_compile") 2>conftest.er1
50730 ac_status=$?
50731 grep -v '^ *+' conftest.er1 >conftest.err
50732 rm -f conftest.er1
50733 cat conftest.err >&5
50734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50735 (exit $ac_status); } && {
50736 test -z "$ac_c_werror_flag" ||
50737 test ! -s conftest.err
50738 } && test -s conftest.$ac_objext; then
50739
50740 bakefile_cv_gcc31=yes
50741
50742 else
50743 echo "$as_me: failed program was:" >&5
50744 sed 's/^/| /' conftest.$ac_ext >&5
50745
50746
50747 bakefile_cv_gcc31=no
50748
50749
50750 fi
50751
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753
50754 fi
50755 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50756 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50757 if test "$bakefile_cv_gcc31" = "no"; then
50758 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50759 SHARED_LD_CXX="$SHARED_LD_CC"
50760 else
50761 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50762 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50763 fi
50764
50765 if test "x$GCC" == "xyes"; then
50766 PIC_FLAG="-dynamic -fPIC"
50767 fi
50768 if test "x$XLCC" = "xyes"; then
50769 PIC_FLAG="-dynamic -DPIC"
50770 fi
50771 ;;
50772
50773 *-*-aix* )
50774 if test "x$GCC" = "xyes"; then
50775 PIC_FLAG=""
50776
50777 case "${BAKEFILE_HOST}" in
50778 *-*-aix5* )
50779 LD_EXPFULL="-Wl,-bexpfull"
50780 ;;
50781 esac
50782
50783 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50784 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50785 else
50786 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50787 set dummy makeC++SharedLib; ac_word=$2
50788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50790 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 else
50793 if test -n "$AIX_CXX_LD"; then
50794 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50795 else
50796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50797 for as_dir in $PATH
50798 do
50799 IFS=$as_save_IFS
50800 test -z "$as_dir" && as_dir=.
50801 for ac_exec_ext in '' $ac_executable_extensions; do
50802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50803 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50805 break 2
50806 fi
50807 done
50808 done
50809 IFS=$as_save_IFS
50810
50811 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50812 fi
50813 fi
50814 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50815 if test -n "$AIX_CXX_LD"; then
50816 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50817 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50818 else
50819 { echo "$as_me:$LINENO: result: no" >&5
50820 echo "${ECHO_T}no" >&6; }
50821 fi
50822
50823
50824 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50825 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50826 fi
50827 ;;
50828
50829 *-*-beos* )
50830 SHARED_LD_CC="${LD} -nostart -o"
50831 SHARED_LD_CXX="${LD} -nostart -o"
50832 ;;
50833
50834 *-*-irix* )
50835 if test "x$GCC" != "xyes"; then
50836 PIC_FLAG="-KPIC"
50837 fi
50838 ;;
50839
50840 *-*-cygwin* | *-*-mingw32* )
50841 PIC_FLAG=""
50842 SHARED_LD_CC="\$(CC) -shared -o"
50843 SHARED_LD_CXX="\$(CXX) -shared -o"
50844 WINDOWS_IMPLIB=1
50845 ;;
50846
50847 *-pc-os2_emx | *-pc-os2-emx )
50848 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50849 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50850 PIC_FLAG=""
50851
50852 D='$'
50853 cat <<EOF >dllar.sh
50854 #!/bin/sh
50855 #
50856 # dllar - a tool to build both a .dll and an .a file
50857 # from a set of object (.o) files for EMX/OS2.
50858 #
50859 # Written by Andrew Zabolotny, bit@freya.etu.ru
50860 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50861 #
50862 # This script will accept a set of files on the command line.
50863 # All the public symbols from the .o files will be exported into
50864 # a .DEF file, then linker will be run (through gcc) against them to
50865 # build a shared library consisting of all given .o files. All libraries
50866 # (.a) will be first decompressed into component .o files then act as
50867 # described above. You can optionally give a description (-d "description")
50868 # which will be put into .DLL. To see the list of accepted options (as well
50869 # as command-line format) simply run this program without options. The .DLL
50870 # is built to be imported by name (there is no guarantee that new versions
50871 # of the library you build will have same ordinals for same symbols).
50872 #
50873 # dllar is free software; you can redistribute it and/or modify
50874 # it under the terms of the GNU General Public License as published by
50875 # the Free Software Foundation; either version 2, or (at your option)
50876 # any later version.
50877 #
50878 # dllar is distributed in the hope that it will be useful,
50879 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50880 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50881 # GNU General Public License for more details.
50882 #
50883 # You should have received a copy of the GNU General Public License
50884 # along with dllar; see the file COPYING. If not, write to the Free
50885 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50886 # 02111-1307, USA.
50887
50888 # To successfuly run this program you will need:
50889 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50890 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50891 # - gcc
50892 # (used to build the .dll)
50893 # - emxexp
50894 # (used to create .def file from .o files)
50895 # - emximp
50896 # (used to create .a file from .def file)
50897 # - GNU text utilites (cat, sort, uniq)
50898 # used to process emxexp output
50899 # - GNU file utilities (mv, rm)
50900 # - GNU sed
50901 # - lxlite (optional, see flag below)
50902 # (used for general .dll cleanup)
50903 #
50904
50905 flag_USE_LXLITE=1;
50906
50907 #
50908 # helper functions
50909 # basnam, variant of basename, which does _not_ remove the path, _iff_
50910 # second argument (suffix to remove) is given
50911 basnam(){
50912 case ${D}# in
50913 1)
50914 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50915 ;;
50916 2)
50917 echo ${D}1 | sed 's/'${D}2'${D}//'
50918 ;;
50919 *)
50920 echo "error in basnam ${D}*"
50921 exit 8
50922 ;;
50923 esac
50924 }
50925
50926 # Cleanup temporary files and output
50927 CleanUp() {
50928 cd ${D}curDir
50929 for i in ${D}inputFiles ; do
50930 case ${D}i in
50931 *!)
50932 rm -rf \`basnam ${D}i !\`
50933 ;;
50934 *)
50935 ;;
50936 esac
50937 done
50938
50939 # Kill result in case of failure as there is just to many stupid make/nmake
50940 # things out there which doesn't do this.
50941 if [ ${D}# -eq 0 ]; then
50942 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50943 fi
50944 }
50945
50946 # Print usage and exit script with rc=1.
50947 PrintHelp() {
50948 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50949 echo ' [-name-mangler-script script.sh]'
50950 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50951 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50952 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50953 echo ' [*.o] [*.a]'
50954 echo '*> "output_file" should have no extension.'
50955 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50956 echo ' The import library name is derived from this and is set to "name".a,'
50957 echo ' unless overridden by -import'
50958 echo '*> "importlib_name" should have no extension.'
50959 echo ' If it has the .o, or .a extension, it is automatically removed.'
50960 echo ' This name is used as the import library name and may be longer and'
50961 echo ' more descriptive than the DLL name which has to follow the old '
50962 echo ' 8.3 convention of FAT.'
50963 echo '*> "script.sh may be given to override the output_file name by a'
50964 echo ' different name. It is mainly useful if the regular make process'
50965 echo ' of some package does not take into account OS/2 restriction of'
50966 echo ' DLL name lengths. It takes the importlib name as input and is'
50967 echo ' supposed to procude a shorter name as output. The script should'
50968 echo ' expect to get importlib_name without extension and should produce'
50969 echo ' a (max.) 8 letter name without extension.'
50970 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50971 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50972 echo ' These flags will be put at the start of GCC command line.'
50973 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50974 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50975 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50976 echo ' If the last character of a symbol is "*", all symbols beginning'
50977 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50978 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50979 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50980 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50981 echo ' C runtime DLLs.'
50982 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50983 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50984 echo ' unchanged to GCC at the end of command line.'
50985 echo '*> If you create a DLL from a library and you do not specify -o,'
50986 echo ' the basename for DLL and import library will be set to library name,'
50987 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50988 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50989 echo ' library will be renamed into gcc_s.a.'
50990 echo '--------'
50991 echo 'Example:'
50992 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50993 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50994 CleanUp
50995 exit 1
50996 }
50997
50998 # Execute a command.
50999 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51000 # @Uses Whatever CleanUp() uses.
51001 doCommand() {
51002 echo "${D}*"
51003 eval ${D}*
51004 rcCmd=${D}?
51005
51006 if [ ${D}rcCmd -ne 0 ]; then
51007 echo "command failed, exit code="${D}rcCmd
51008 CleanUp
51009 exit ${D}rcCmd
51010 fi
51011 }
51012
51013 # main routine
51014 # setup globals
51015 cmdLine=${D}*
51016 outFile=""
51017 outimpFile=""
51018 inputFiles=""
51019 renameScript=""
51020 description=""
51021 CC=gcc.exe
51022 CFLAGS="-s -Zcrtdll"
51023 EXTRA_CFLAGS=""
51024 EXPORT_BY_ORDINALS=0
51025 exclude_symbols=""
51026 library_flags=""
51027 curDir=\`pwd\`
51028 curDirS=curDir
51029 case ${D}curDirS in
51030 */)
51031 ;;
51032 *)
51033 curDirS=${D}{curDirS}"/"
51034 ;;
51035 esac
51036 # Parse commandline
51037 libsToLink=0
51038 omfLinking=0
51039 while [ ${D}1 ]; do
51040 case ${D}1 in
51041 -ord*)
51042 EXPORT_BY_ORDINALS=1;
51043 ;;
51044 -o*)
51045 shift
51046 outFile=${D}1
51047 ;;
51048 -i*)
51049 shift
51050 outimpFile=${D}1
51051 ;;
51052 -name-mangler-script)
51053 shift
51054 renameScript=${D}1
51055 ;;
51056 -d*)
51057 shift
51058 description=${D}1
51059 ;;
51060 -f*)
51061 shift
51062 CFLAGS=${D}1
51063 ;;
51064 -c*)
51065 shift
51066 CC=${D}1
51067 ;;
51068 -h*)
51069 PrintHelp
51070 ;;
51071 -ex*)
51072 shift
51073 exclude_symbols=${D}{exclude_symbols}${D}1" "
51074 ;;
51075 -libf*)
51076 shift
51077 library_flags=${D}{library_flags}${D}1" "
51078 ;;
51079 -nocrt*)
51080 CFLAGS="-s"
51081 ;;
51082 -nolxl*)
51083 flag_USE_LXLITE=0
51084 ;;
51085 -* | /*)
51086 case ${D}1 in
51087 -L* | -l*)
51088 libsToLink=1
51089 ;;
51090 -Zomf)
51091 omfLinking=1
51092 ;;
51093 *)
51094 ;;
51095 esac
51096 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51097 ;;
51098 *.dll)
51099 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51100 if [ ${D}omfLinking -eq 1 ]; then
51101 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51102 else
51103 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51104 fi
51105 ;;
51106 *)
51107 found=0;
51108 if [ ${D}libsToLink -ne 0 ]; then
51109 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51110 else
51111 for file in ${D}1 ; do
51112 if [ -f ${D}file ]; then
51113 inputFiles="${D}{inputFiles} ${D}file"
51114 found=1
51115 fi
51116 done
51117 if [ ${D}found -eq 0 ]; then
51118 echo "ERROR: No file(s) found: "${D}1
51119 exit 8
51120 fi
51121 fi
51122 ;;
51123 esac
51124 shift
51125 done # iterate cmdline words
51126
51127 #
51128 if [ -z "${D}inputFiles" ]; then
51129 echo "dllar: no input files"
51130 PrintHelp
51131 fi
51132
51133 # Now extract all .o files from .a files
51134 newInputFiles=""
51135 for file in ${D}inputFiles ; do
51136 case ${D}file in
51137 *.a | *.lib)
51138 case ${D}file in
51139 *.a)
51140 suffix=".a"
51141 AR="ar"
51142 ;;
51143 *.lib)
51144 suffix=".lib"
51145 AR="emxomfar"
51146 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51147 ;;
51148 *)
51149 ;;
51150 esac
51151 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51152 mkdir ${D}dirname
51153 if [ ${D}? -ne 0 ]; then
51154 echo "Failed to create subdirectory ./${D}dirname"
51155 CleanUp
51156 exit 8;
51157 fi
51158 # Append '!' to indicate archive
51159 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51160 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51161 cd ${D}curDir
51162 found=0;
51163 for subfile in ${D}dirname/*.o* ; do
51164 if [ -f ${D}subfile ]; then
51165 found=1
51166 if [ -s ${D}subfile ]; then
51167 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51168 newInputFiles="${D}newInputFiles ${D}subfile"
51169 fi
51170 fi
51171 done
51172 if [ ${D}found -eq 0 ]; then
51173 echo "WARNING: there are no files in archive \\'${D}file\\'"
51174 fi
51175 ;;
51176 *)
51177 newInputFiles="${D}{newInputFiles} ${D}file"
51178 ;;
51179 esac
51180 done
51181 inputFiles="${D}newInputFiles"
51182
51183 # Output filename(s).
51184 do_backup=0;
51185 if [ -z ${D}outFile ]; then
51186 do_backup=1;
51187 set outFile ${D}inputFiles; outFile=${D}2
51188 fi
51189
51190 # If it is an archive, remove the '!' and the '_%' suffixes
51191 case ${D}outFile in
51192 *_%!)
51193 outFile=\`basnam ${D}outFile _%!\`
51194 ;;
51195 *)
51196 ;;
51197 esac
51198 case ${D}outFile in
51199 *.dll)
51200 outFile=\`basnam ${D}outFile .dll\`
51201 ;;
51202 *.DLL)
51203 outFile=\`basnam ${D}outFile .DLL\`
51204 ;;
51205 *.o)
51206 outFile=\`basnam ${D}outFile .o\`
51207 ;;
51208 *.obj)
51209 outFile=\`basnam ${D}outFile .obj\`
51210 ;;
51211 *.a)
51212 outFile=\`basnam ${D}outFile .a\`
51213 ;;
51214 *.lib)
51215 outFile=\`basnam ${D}outFile .lib\`
51216 ;;
51217 *)
51218 ;;
51219 esac
51220 case ${D}outimpFile in
51221 *.a)
51222 outimpFile=\`basnam ${D}outimpFile .a\`
51223 ;;
51224 *.lib)
51225 outimpFile=\`basnam ${D}outimpFile .lib\`
51226 ;;
51227 *)
51228 ;;
51229 esac
51230 if [ -z ${D}outimpFile ]; then
51231 outimpFile=${D}outFile
51232 fi
51233 defFile="${D}{outFile}.def"
51234 arcFile="${D}{outimpFile}.a"
51235 arcFile2="${D}{outimpFile}.lib"
51236
51237 #create ${D}dllFile as something matching 8.3 restrictions,
51238 if [ -z ${D}renameScript ] ; then
51239 dllFile="${D}outFile"
51240 else
51241 dllFile=\`${D}renameScript ${D}outimpFile\`
51242 fi
51243
51244 if [ ${D}do_backup -ne 0 ] ; then
51245 if [ -f ${D}arcFile ] ; then
51246 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51247 fi
51248 if [ -f ${D}arcFile2 ] ; then
51249 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51250 fi
51251 fi
51252
51253 # Extract public symbols from all the object files.
51254 tmpdefFile=${D}{defFile}_%
51255 rm -f ${D}tmpdefFile
51256 for file in ${D}inputFiles ; do
51257 case ${D}file in
51258 *!)
51259 ;;
51260 *)
51261 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51262 ;;
51263 esac
51264 done
51265
51266 # Create the def file.
51267 rm -f ${D}defFile
51268 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51269 dllFile="${D}{dllFile}.dll"
51270 if [ ! -z ${D}description ]; then
51271 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51272 fi
51273 echo "EXPORTS" >> ${D}defFile
51274
51275 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51276 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51277
51278 # Checks if the export is ok or not.
51279 for word in ${D}exclude_symbols; do
51280 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51281 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51282 done
51283
51284
51285 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51286 sed "=" < ${D}tmpdefFile | \\
51287 sed '
51288 N
51289 : loop
51290 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51291 t loop
51292 ' > ${D}{tmpdefFile}%
51293 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51294 else
51295 rm -f ${D}{tmpdefFile}%
51296 fi
51297 cat ${D}tmpdefFile >> ${D}defFile
51298 rm -f ${D}tmpdefFile
51299
51300 # Do linking, create implib, and apply lxlite.
51301 gccCmdl="";
51302 for file in ${D}inputFiles ; do
51303 case ${D}file in
51304 *!)
51305 ;;
51306 *)
51307 gccCmdl="${D}gccCmdl ${D}file"
51308 ;;
51309 esac
51310 done
51311 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51312 touch "${D}{outFile}.dll"
51313
51314 doCommand "emximp -o ${D}arcFile ${D}defFile"
51315 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51316 add_flags="";
51317 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51318 add_flags="-ynd"
51319 fi
51320 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51321 fi
51322 doCommand "emxomf -s -l ${D}arcFile"
51323
51324 # Successful exit.
51325 CleanUp 1
51326 exit 0
51327 EOF
51328
51329 chmod +x dllar.sh
51330 ;;
51331
51332 powerpc-apple-macos* | \
51333 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51334 *-*-mirbsd* | \
51335 *-*-sunos4* | \
51336 *-*-osf* | \
51337 *-*-dgux5* | \
51338 *-*-sysv5* | \
51339 *-pc-msdosdjgpp )
51340 ;;
51341
51342 *)
51343 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51344 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51345 { (exit 1); exit 1; }; }
51346 esac
51347
51348 if test "x$PIC_FLAG" != "x" ; then
51349 PIC_FLAG="$PIC_FLAG -DPIC"
51350 fi
51351
51352 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51353 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51354 fi
51355 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51356 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51357 fi
51358
51359
51360
51361
51362
51363
51364
51365
51366
51367 USE_SOVERSION=0
51368 USE_SOVERLINUX=0
51369 USE_SOVERSOLARIS=0
51370 USE_SOVERCYGWIN=0
51371 USE_SOSYMLINKS=0
51372 USE_MACVERSION=0
51373 SONAME_FLAG=
51374
51375 case "${BAKEFILE_HOST}" in
51376 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51377 if test "x$SUNCXX" = "xyes"; then
51378 SONAME_FLAG="-h "
51379 else
51380 SONAME_FLAG="-Wl,-soname,"
51381 fi
51382 USE_SOVERSION=1
51383 USE_SOVERLINUX=1
51384 USE_SOSYMLINKS=1
51385 ;;
51386
51387 *-*-solaris2* )
51388 SONAME_FLAG="-h "
51389 USE_SOVERSION=1
51390 USE_SOVERSOLARIS=1
51391 USE_SOSYMLINKS=1
51392 ;;
51393
51394 *-*-darwin* )
51395 USE_MACVERSION=1
51396 USE_SOVERSION=1
51397 USE_SOSYMLINKS=1
51398 ;;
51399
51400 *-*-cygwin* )
51401 USE_SOVERSION=1
51402 USE_SOVERCYGWIN=1
51403 ;;
51404 esac
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415 # Check whether --enable-dependency-tracking was given.
51416 if test "${enable_dependency_tracking+set}" = set; then
51417 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51418 fi
51419
51420
51421 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51422 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51423
51424 BK_DEPS=""
51425 if test "x$bk_use_trackdeps" = "xno" ; then
51426 DEPS_TRACKING=0
51427 { echo "$as_me:$LINENO: result: disabled" >&5
51428 echo "${ECHO_T}disabled" >&6; }
51429 else
51430 DEPS_TRACKING=1
51431
51432 if test "x$GCC" = "xyes"; then
51433 DEPSMODE=gcc
51434 case "${BAKEFILE_HOST}" in
51435 *-*-darwin* )
51436 DEPSFLAG="-no-cpp-precomp -MMD"
51437 ;;
51438 * )
51439 DEPSFLAG="-MMD"
51440 ;;
51441 esac
51442 { echo "$as_me:$LINENO: result: gcc" >&5
51443 echo "${ECHO_T}gcc" >&6; }
51444 elif test "x$MWCC" = "xyes"; then
51445 DEPSMODE=mwcc
51446 DEPSFLAG="-MM"
51447 { echo "$as_me:$LINENO: result: mwcc" >&5
51448 echo "${ECHO_T}mwcc" >&6; }
51449 elif test "x$SUNCC" = "xyes"; then
51450 DEPSMODE=unixcc
51451 DEPSFLAG="-xM1"
51452 { echo "$as_me:$LINENO: result: Sun cc" >&5
51453 echo "${ECHO_T}Sun cc" >&6; }
51454 elif test "x$SGICC" = "xyes"; then
51455 DEPSMODE=unixcc
51456 DEPSFLAG="-M"
51457 { echo "$as_me:$LINENO: result: SGI cc" >&5
51458 echo "${ECHO_T}SGI cc" >&6; }
51459 elif test "x$HPCC" = "xyes"; then
51460 DEPSMODE=unixcc
51461 DEPSFLAG="+make"
51462 { echo "$as_me:$LINENO: result: HP cc" >&5
51463 echo "${ECHO_T}HP cc" >&6; }
51464 elif test "x$COMPAQCC" = "xyes"; then
51465 DEPSMODE=gcc
51466 DEPSFLAG="-MD"
51467 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51468 echo "${ECHO_T}Compaq cc" >&6; }
51469 else
51470 DEPS_TRACKING=0
51471 { echo "$as_me:$LINENO: result: none" >&5
51472 echo "${ECHO_T}none" >&6; }
51473 fi
51474
51475 if test $DEPS_TRACKING = 1 ; then
51476
51477 D='$'
51478 cat <<EOF >bk-deps
51479 #!/bin/sh
51480
51481 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51482 # script. It is used to track C/C++ files dependencies in portable way.
51483 #
51484 # Permission is given to use this file in any way.
51485
51486 DEPSMODE=${DEPSMODE}
51487 DEPSDIR=.deps
51488 DEPSFLAG="${DEPSFLAG}"
51489
51490 mkdir -p ${D}DEPSDIR
51491
51492 if test ${D}DEPSMODE = gcc ; then
51493 ${D}* ${D}{DEPSFLAG}
51494 status=${D}?
51495 if test ${D}{status} != 0 ; then
51496 exit ${D}{status}
51497 fi
51498 # move created file to the location we want it in:
51499 while test ${D}# -gt 0; do
51500 case "${D}1" in
51501 -o )
51502 shift
51503 objfile=${D}1
51504 ;;
51505 -* )
51506 ;;
51507 * )
51508 srcfile=${D}1
51509 ;;
51510 esac
51511 shift
51512 done
51513 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51514 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51515 if test -f ${D}depfile ; then
51516 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51517 rm -f ${D}depfile
51518 else
51519 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51520 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51521 if test ! -f ${D}depfile ; then
51522 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51523 depfile="${D}objfile.d"
51524 fi
51525 if test -f ${D}depfile ; then
51526 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51527 rm -f ${D}depfile
51528 fi
51529 fi
51530 exit 0
51531 elif test ${D}DEPSMODE = mwcc ; then
51532 ${D}* || exit ${D}?
51533 # Run mwcc again with -MM and redirect into the dep file we want
51534 # NOTE: We can't use shift here because we need ${D}* to be valid
51535 prevarg=
51536 for arg in ${D}* ; do
51537 if test "${D}prevarg" = "-o"; then
51538 objfile=${D}arg
51539 else
51540 case "${D}arg" in
51541 -* )
51542 ;;
51543 * )
51544 srcfile=${D}arg
51545 ;;
51546 esac
51547 fi
51548 prevarg="${D}arg"
51549 done
51550 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51551 exit 0
51552 elif test ${D}DEPSMODE = unixcc; then
51553 ${D}* || exit ${D}?
51554 # Run compiler again with deps flag and redirect into the dep file.
51555 # It doesn't work if the '-o FILE' option is used, but without it the
51556 # dependency file will contain the wrong name for the object. So it is
51557 # removed from the command line, and the dep file is fixed with sed.
51558 cmd=""
51559 while test ${D}# -gt 0; do
51560 case "${D}1" in
51561 -o )
51562 shift
51563 objfile=${D}1
51564 ;;
51565 * )
51566 eval arg${D}#=\\${D}1
51567 cmd="${D}cmd \\${D}arg${D}#"
51568 ;;
51569 esac
51570 shift
51571 done
51572 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51573 exit 0
51574 else
51575 ${D}*
51576 exit ${D}?
51577 fi
51578 EOF
51579
51580 chmod +x bk-deps
51581 BK_DEPS="`pwd`/bk-deps"
51582 fi
51583 fi
51584
51585
51586
51587
51588
51589 case ${BAKEFILE_HOST} in
51590 *-*-cygwin* | *-*-mingw32* )
51591 if test -n "$ac_tool_prefix"; then
51592 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51593 set dummy ${ac_tool_prefix}windres; ac_word=$2
51594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51596 if test "${ac_cv_prog_WINDRES+set}" = set; then
51597 echo $ECHO_N "(cached) $ECHO_C" >&6
51598 else
51599 if test -n "$WINDRES"; then
51600 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51601 else
51602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51603 for as_dir in $PATH
51604 do
51605 IFS=$as_save_IFS
51606 test -z "$as_dir" && as_dir=.
51607 for ac_exec_ext in '' $ac_executable_extensions; do
51608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51609 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51611 break 2
51612 fi
51613 done
51614 done
51615 IFS=$as_save_IFS
51616
51617 fi
51618 fi
51619 WINDRES=$ac_cv_prog_WINDRES
51620 if test -n "$WINDRES"; then
51621 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51622 echo "${ECHO_T}$WINDRES" >&6; }
51623 else
51624 { echo "$as_me:$LINENO: result: no" >&5
51625 echo "${ECHO_T}no" >&6; }
51626 fi
51627
51628
51629 fi
51630 if test -z "$ac_cv_prog_WINDRES"; then
51631 ac_ct_WINDRES=$WINDRES
51632 # Extract the first word of "windres", so it can be a program name with args.
51633 set dummy windres; ac_word=$2
51634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51636 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51637 echo $ECHO_N "(cached) $ECHO_C" >&6
51638 else
51639 if test -n "$ac_ct_WINDRES"; then
51640 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51641 else
51642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51643 for as_dir in $PATH
51644 do
51645 IFS=$as_save_IFS
51646 test -z "$as_dir" && as_dir=.
51647 for ac_exec_ext in '' $ac_executable_extensions; do
51648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51649 ac_cv_prog_ac_ct_WINDRES="windres"
51650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51651 break 2
51652 fi
51653 done
51654 done
51655 IFS=$as_save_IFS
51656
51657 fi
51658 fi
51659 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51660 if test -n "$ac_ct_WINDRES"; then
51661 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51662 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51663 else
51664 { echo "$as_me:$LINENO: result: no" >&5
51665 echo "${ECHO_T}no" >&6; }
51666 fi
51667
51668 if test "x$ac_ct_WINDRES" = x; then
51669 WINDRES=""
51670 else
51671 case $cross_compiling:$ac_tool_warned in
51672 yes:)
51673 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51674 whose name does not start with the host triplet. If you think this
51675 configuration is useful to you, please write to autoconf@gnu.org." >&5
51676 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51677 whose name does not start with the host triplet. If you think this
51678 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51679 ac_tool_warned=yes ;;
51680 esac
51681 WINDRES=$ac_ct_WINDRES
51682 fi
51683 else
51684 WINDRES="$ac_cv_prog_WINDRES"
51685 fi
51686
51687 ;;
51688
51689 *-*-darwin* | powerpc-apple-macos* )
51690 # Extract the first word of "Rez", so it can be a program name with args.
51691 set dummy Rez; ac_word=$2
51692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51694 if test "${ac_cv_prog_REZ+set}" = set; then
51695 echo $ECHO_N "(cached) $ECHO_C" >&6
51696 else
51697 if test -n "$REZ"; then
51698 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51699 else
51700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51701 for as_dir in $PATH
51702 do
51703 IFS=$as_save_IFS
51704 test -z "$as_dir" && as_dir=.
51705 for ac_exec_ext in '' $ac_executable_extensions; do
51706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51707 ac_cv_prog_REZ="Rez"
51708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51709 break 2
51710 fi
51711 done
51712 done
51713 IFS=$as_save_IFS
51714
51715 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51716 fi
51717 fi
51718 REZ=$ac_cv_prog_REZ
51719 if test -n "$REZ"; then
51720 { echo "$as_me:$LINENO: result: $REZ" >&5
51721 echo "${ECHO_T}$REZ" >&6; }
51722 else
51723 { echo "$as_me:$LINENO: result: no" >&5
51724 echo "${ECHO_T}no" >&6; }
51725 fi
51726
51727
51728 # Extract the first word of "SetFile", so it can be a program name with args.
51729 set dummy SetFile; ac_word=$2
51730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51732 if test "${ac_cv_prog_SETFILE+set}" = set; then
51733 echo $ECHO_N "(cached) $ECHO_C" >&6
51734 else
51735 if test -n "$SETFILE"; then
51736 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51737 else
51738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51739 for as_dir in $PATH
51740 do
51741 IFS=$as_save_IFS
51742 test -z "$as_dir" && as_dir=.
51743 for ac_exec_ext in '' $ac_executable_extensions; do
51744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51745 ac_cv_prog_SETFILE="SetFile"
51746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51747 break 2
51748 fi
51749 done
51750 done
51751 IFS=$as_save_IFS
51752
51753 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51754 fi
51755 fi
51756 SETFILE=$ac_cv_prog_SETFILE
51757 if test -n "$SETFILE"; then
51758 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51759 echo "${ECHO_T}$SETFILE" >&6; }
51760 else
51761 { echo "$as_me:$LINENO: result: no" >&5
51762 echo "${ECHO_T}no" >&6; }
51763 fi
51764
51765
51766 ;;
51767 esac
51768
51769
51770
51771
51772
51773
51774 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51775
51776
51777 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51778
51779
51780
51781 # Check whether --enable-precomp-headers was given.
51782 if test "${enable_precomp_headers+set}" = set; then
51783 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51784 fi
51785
51786
51787 GCC_PCH=0
51788 ICC_PCH=0
51789 USE_PCH=0
51790 BK_MAKE_PCH=""
51791
51792 case ${BAKEFILE_HOST} in
51793 *-*-cygwin* )
51794 bk_use_pch="no"
51795 ;;
51796 esac
51797
51798 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51799 if test "x$GCC" = "xyes"; then
51800 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51801 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51802 cat >conftest.$ac_ext <<_ACEOF
51803 /* confdefs.h. */
51804 _ACEOF
51805 cat confdefs.h >>conftest.$ac_ext
51806 cat >>conftest.$ac_ext <<_ACEOF
51807 /* end confdefs.h. */
51808
51809 int
51810 main ()
51811 {
51812
51813 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51814 There is no PCH support
51815 #endif
51816 #if (__GNUC__ < 3)
51817 There is no PCH support
51818 #endif
51819 #if (__GNUC__ == 3) && \
51820 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51821 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51822 ( defined(__INTEL_COMPILER) )
51823 There is no PCH support
51824 #endif
51825
51826 ;
51827 return 0;
51828 }
51829 _ACEOF
51830 rm -f conftest.$ac_objext
51831 if { (ac_try="$ac_compile"
51832 case "(($ac_try" in
51833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51834 *) ac_try_echo=$ac_try;;
51835 esac
51836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51837 (eval "$ac_compile") 2>conftest.er1
51838 ac_status=$?
51839 grep -v '^ *+' conftest.er1 >conftest.err
51840 rm -f conftest.er1
51841 cat conftest.err >&5
51842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51843 (exit $ac_status); } && {
51844 test -z "$ac_c_werror_flag" ||
51845 test ! -s conftest.err
51846 } && test -s conftest.$ac_objext; then
51847
51848 { echo "$as_me:$LINENO: result: yes" >&5
51849 echo "${ECHO_T}yes" >&6; }
51850 GCC_PCH=1
51851
51852 else
51853 echo "$as_me: failed program was:" >&5
51854 sed 's/^/| /' conftest.$ac_ext >&5
51855
51856
51857 cat >conftest.$ac_ext <<_ACEOF
51858 /* confdefs.h. */
51859 _ACEOF
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h. */
51863
51864 int
51865 main ()
51866 {
51867
51868 #if !defined(__INTEL_COMPILER) || \
51869 (__INTEL_COMPILER < 800)
51870 There is no PCH support
51871 #endif
51872
51873 ;
51874 return 0;
51875 }
51876 _ACEOF
51877 rm -f conftest.$ac_objext
51878 if { (ac_try="$ac_compile"
51879 case "(($ac_try" in
51880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51881 *) ac_try_echo=$ac_try;;
51882 esac
51883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51884 (eval "$ac_compile") 2>conftest.er1
51885 ac_status=$?
51886 grep -v '^ *+' conftest.er1 >conftest.err
51887 rm -f conftest.er1
51888 cat conftest.err >&5
51889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890 (exit $ac_status); } && {
51891 test -z "$ac_c_werror_flag" ||
51892 test ! -s conftest.err
51893 } && test -s conftest.$ac_objext; then
51894
51895 { echo "$as_me:$LINENO: result: yes" >&5
51896 echo "${ECHO_T}yes" >&6; }
51897 ICC_PCH=1
51898
51899 else
51900 echo "$as_me: failed program was:" >&5
51901 sed 's/^/| /' conftest.$ac_ext >&5
51902
51903
51904 { echo "$as_me:$LINENO: result: no" >&5
51905 echo "${ECHO_T}no" >&6; }
51906
51907 fi
51908
51909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51910
51911 fi
51912
51913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51914 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51915 USE_PCH=1
51916
51917 D='$'
51918 cat <<EOF >bk-make-pch
51919 #!/bin/sh
51920
51921 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51922 # script. It is used to generated precompiled headers.
51923 #
51924 # Permission is given to use this file in any way.
51925
51926 outfile="${D}{1}"
51927 header="${D}{2}"
51928 shift
51929 shift
51930
51931 compiler=""
51932 headerfile=""
51933
51934 while test ${D}{#} -gt 0; do
51935 add_to_cmdline=1
51936 case "${D}{1}" in
51937 -I* )
51938 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51939 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51940 headerfile="${D}{incdir}/${D}{header}"
51941 fi
51942 ;;
51943 -use-pch|-use_pch )
51944 shift
51945 add_to_cmdline=0
51946 ;;
51947 esac
51948 if test ${D}add_to_cmdline = 1 ; then
51949 compiler="${D}{compiler} ${D}{1}"
51950 fi
51951 shift
51952 done
51953
51954 if test "x${D}{headerfile}" = "x" ; then
51955 echo "error: can't find header ${D}{header} in include paths" >&2
51956 else
51957 if test -f ${D}{outfile} ; then
51958 rm -f ${D}{outfile}
51959 else
51960 mkdir -p \`dirname ${D}{outfile}\`
51961 fi
51962 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51963 mkdir -p .deps
51964 if test "x${GCC_PCH}" = "x1" ; then
51965 # can do this because gcc is >= 3.4:
51966 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51967 elif test "x${ICC_PCH}" = "x1" ; then
51968 filename=pch_gen-${D}${D}
51969 file=${D}{filename}.c
51970 dfile=${D}{filename}.d
51971 cat > ${D}file <<EOT
51972 #include "${D}header"
51973 EOT
51974 # using -MF icc complains about differing command lines in creation/use
51975 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51976 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51977 rm -f ${D}file ${D}dfile ${D}{filename}.o
51978 fi
51979 exit ${D}{?}
51980 fi
51981 EOF
51982
51983 chmod +x bk-make-pch
51984 BK_MAKE_PCH="`pwd`/bk-make-pch"
51985 fi
51986 fi
51987 fi
51988
51989
51990
51991
51992
51993 COND_BUILD_DEBUG="#"
51994 if test "x$BUILD" = "xdebug" ; then
51995 COND_BUILD_DEBUG=""
51996 fi
51997
51998 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51999 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52000 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52001 fi
52002
52003 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52004 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52005 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52006 fi
52007
52008 COND_BUILD_DEBUG_UNICODE_0="#"
52009 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52010 COND_BUILD_DEBUG_UNICODE_0=""
52011 fi
52012
52013 COND_BUILD_DEBUG_UNICODE_1="#"
52014 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52015 COND_BUILD_DEBUG_UNICODE_1=""
52016 fi
52017
52018 COND_BUILD_RELEASE="#"
52019 if test "x$BUILD" = "xrelease" ; then
52020 COND_BUILD_RELEASE=""
52021 fi
52022
52023 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52024 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52025 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52026 fi
52027
52028 COND_BUILD_RELEASE_UNICODE_0="#"
52029 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52030 COND_BUILD_RELEASE_UNICODE_0=""
52031 fi
52032
52033 COND_BUILD_RELEASE_UNICODE_1="#"
52034 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52035 COND_BUILD_RELEASE_UNICODE_1=""
52036 fi
52037
52038 COND_DEBUG_FLAG_1="#"
52039 if test "x$DEBUG_FLAG" = "x1" ; then
52040 COND_DEBUG_FLAG_1=""
52041 fi
52042
52043 COND_DEBUG_INFO_0="#"
52044 if test "x$DEBUG_INFO" = "x0" ; then
52045 COND_DEBUG_INFO_0=""
52046 fi
52047
52048 COND_DEBUG_INFO_1="#"
52049 if test "x$DEBUG_INFO" = "x1" ; then
52050 COND_DEBUG_INFO_1=""
52051 fi
52052
52053 COND_DEPS_TRACKING_0="#"
52054 if test "x$DEPS_TRACKING" = "x0" ; then
52055 COND_DEPS_TRACKING_0=""
52056 fi
52057
52058 COND_DEPS_TRACKING_1="#"
52059 if test "x$DEPS_TRACKING" = "x1" ; then
52060 COND_DEPS_TRACKING_1=""
52061 fi
52062
52063 COND_GCC_PCH_1="#"
52064 if test "x$GCC_PCH" = "x1" ; then
52065 COND_GCC_PCH_1=""
52066 fi
52067
52068 COND_ICC_PCH_1="#"
52069 if test "x$ICC_PCH" = "x1" ; then
52070 COND_ICC_PCH_1=""
52071 fi
52072
52073 COND_MONOLITHIC_0="#"
52074 if test "x$MONOLITHIC" = "x0" ; then
52075 COND_MONOLITHIC_0=""
52076 fi
52077
52078 COND_MONOLITHIC_0_SHARED_0="#"
52079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52080 COND_MONOLITHIC_0_SHARED_0=""
52081 fi
52082
52083 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52085 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52086 fi
52087
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52091 fi
52092
52093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52096 fi
52097
52098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52101 fi
52102
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52106 fi
52107
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52111 fi
52112
52113 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52115 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52116 fi
52117
52118 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52120 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52121 fi
52122
52123 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52125 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52126 fi
52127
52128 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52130 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52131 fi
52132
52133 COND_MONOLITHIC_0_SHARED_1="#"
52134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52135 COND_MONOLITHIC_0_SHARED_1=""
52136 fi
52137
52138 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52140 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52141 fi
52142
52143 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52146 fi
52147
52148 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52151 fi
52152
52153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52156 fi
52157
52158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52161 fi
52162
52163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52166 fi
52167
52168 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52170 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52171 fi
52172
52173 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52175 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52176 fi
52177
52178 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52180 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52181 fi
52182
52183 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52185 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52186 fi
52187
52188 COND_MONOLITHIC_0_USE_AUI_1="#"
52189 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52190 COND_MONOLITHIC_0_USE_AUI_1=""
52191 fi
52192
52193 COND_MONOLITHIC_0_USE_GUI_1="#"
52194 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52195 COND_MONOLITHIC_0_USE_GUI_1=""
52196 fi
52197
52198 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52199 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52200 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52201 fi
52202
52203 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52204 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52205 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52206 fi
52207
52208 COND_MONOLITHIC_0_USE_HTML_1="#"
52209 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52210 COND_MONOLITHIC_0_USE_HTML_1=""
52211 fi
52212
52213 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52214 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52215 COND_MONOLITHIC_0_USE_MEDIA_1=""
52216 fi
52217
52218 COND_MONOLITHIC_0_USE_ODBC_1="#"
52219 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52220 COND_MONOLITHIC_0_USE_ODBC_1=""
52221 fi
52222
52223 COND_MONOLITHIC_0_USE_QA_1="#"
52224 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52225 COND_MONOLITHIC_0_USE_QA_1=""
52226 fi
52227
52228 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52229 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52230 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52231 fi
52232
52233 COND_MONOLITHIC_0_USE_STC_1="#"
52234 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52235 COND_MONOLITHIC_0_USE_STC_1=""
52236 fi
52237
52238 COND_MONOLITHIC_0_USE_XRC_1="#"
52239 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52240 COND_MONOLITHIC_0_USE_XRC_1=""
52241 fi
52242
52243 COND_MONOLITHIC_1="#"
52244 if test "x$MONOLITHIC" = "x1" ; then
52245 COND_MONOLITHIC_1=""
52246 fi
52247
52248 COND_MONOLITHIC_1_SHARED_0="#"
52249 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52250 COND_MONOLITHIC_1_SHARED_0=""
52251 fi
52252
52253 COND_MONOLITHIC_1_SHARED_1="#"
52254 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52255 COND_MONOLITHIC_1_SHARED_1=""
52256 fi
52257
52258 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52259 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52260 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52261 fi
52262
52263 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52264 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52265 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52266 fi
52267
52268 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52269 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52270 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52271 fi
52272
52273 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52274 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52275 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52276 fi
52277
52278 COND_PLATFORM_MACOSX_1="#"
52279 if test "x$PLATFORM_MACOSX" = "x1" ; then
52280 COND_PLATFORM_MACOSX_1=""
52281 fi
52282
52283 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52284 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52285 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52286 fi
52287
52288 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52289 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52290 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52291 fi
52292
52293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52294 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52295 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52296 fi
52297
52298 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52299 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52300 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52301 fi
52302
52303 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52304 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52305 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52306 fi
52307
52308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52310 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52311 fi
52312
52313 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52315 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52316 fi
52317
52318 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52320 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52321 fi
52322
52323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52325 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52326 fi
52327
52328 COND_PLATFORM_MACOS_1="#"
52329 if test "x$PLATFORM_MACOS" = "x1" ; then
52330 COND_PLATFORM_MACOS_1=""
52331 fi
52332
52333 COND_PLATFORM_MAC_1="#"
52334 if test "x$PLATFORM_MAC" = "x1" ; then
52335 COND_PLATFORM_MAC_1=""
52336 fi
52337
52338 COND_PLATFORM_MSDOS_0="#"
52339 if test "x$PLATFORM_MSDOS" = "x0" ; then
52340 COND_PLATFORM_MSDOS_0=""
52341 fi
52342
52343 COND_PLATFORM_MSDOS_1="#"
52344 if test "x$PLATFORM_MSDOS" = "x1" ; then
52345 COND_PLATFORM_MSDOS_1=""
52346 fi
52347
52348 COND_PLATFORM_OS2_1="#"
52349 if test "x$PLATFORM_OS2" = "x1" ; then
52350 COND_PLATFORM_OS2_1=""
52351 fi
52352
52353 COND_PLATFORM_UNIX_0="#"
52354 if test "x$PLATFORM_UNIX" = "x0" ; then
52355 COND_PLATFORM_UNIX_0=""
52356 fi
52357
52358 COND_PLATFORM_UNIX_1="#"
52359 if test "x$PLATFORM_UNIX" = "x1" ; then
52360 COND_PLATFORM_UNIX_1=""
52361 fi
52362
52363 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52364 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52365 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52366 fi
52367
52368 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52369 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52370 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52371 fi
52372
52373 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52374 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52375 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52376 fi
52377
52378 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52379 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52380 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52381 fi
52382
52383 COND_PLATFORM_WIN32_0="#"
52384 if test "x$PLATFORM_WIN32" = "x0" ; then
52385 COND_PLATFORM_WIN32_0=""
52386 fi
52387
52388 COND_PLATFORM_WIN32_1="#"
52389 if test "x$PLATFORM_WIN32" = "x1" ; then
52390 COND_PLATFORM_WIN32_1=""
52391 fi
52392
52393 COND_SHARED_0="#"
52394 if test "x$SHARED" = "x0" ; then
52395 COND_SHARED_0=""
52396 fi
52397
52398 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52399 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52400 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52401 fi
52402
52403 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52404 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52405 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52406 fi
52407
52408 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52409 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52410 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52411 fi
52412
52413 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52414 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52415 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52416 fi
52417
52418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52419 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52420 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52421 fi
52422
52423 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52424 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52425 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52426 fi
52427
52428 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52429 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52430 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52431 fi
52432
52433 COND_SHARED_0_USE_STC_1="#"
52434 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52435 COND_SHARED_0_USE_STC_1=""
52436 fi
52437
52438 COND_SHARED_0_USE_XRC_1="#"
52439 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52440 COND_SHARED_0_USE_XRC_1=""
52441 fi
52442
52443 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52444 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52445 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52446 fi
52447
52448 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52449 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52450 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52451 fi
52452
52453 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52454 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52455 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52456 fi
52457
52458 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52459 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52460 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52461 fi
52462
52463 COND_SHARED_1="#"
52464 if test "x$SHARED" = "x1" ; then
52465 COND_SHARED_1=""
52466 fi
52467
52468 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52469 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52470 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52471 fi
52472
52473 COND_SHARED_1_USE_XRC_1="#"
52474 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52475 COND_SHARED_1_USE_XRC_1=""
52476 fi
52477
52478 COND_TOOLKIT_="#"
52479 if test "x$TOOLKIT" = "x" ; then
52480 COND_TOOLKIT_=""
52481 fi
52482
52483 COND_TOOLKIT_COCOA="#"
52484 if test "x$TOOLKIT" = "xCOCOA" ; then
52485 COND_TOOLKIT_COCOA=""
52486 fi
52487
52488 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52489 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52490 COND_TOOLKIT_COCOA_USE_GUI_1=""
52491 fi
52492
52493 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52494 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52495 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52496 fi
52497
52498 COND_TOOLKIT_DFB="#"
52499 if test "x$TOOLKIT" = "xDFB" ; then
52500 COND_TOOLKIT_DFB=""
52501 fi
52502
52503 COND_TOOLKIT_DFB_USE_GUI_1="#"
52504 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52505 COND_TOOLKIT_DFB_USE_GUI_1=""
52506 fi
52507
52508 COND_TOOLKIT_GTK="#"
52509 if test "x$TOOLKIT" = "xGTK" ; then
52510 COND_TOOLKIT_GTK=""
52511 fi
52512
52513 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52514 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52515 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52516 fi
52517
52518 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52519 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52520 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52521 fi
52522
52523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52524 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52525 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52526 fi
52527
52528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52529 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52530 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52531 fi
52532
52533 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52534 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52535 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52536 fi
52537
52538 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52539 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52540 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52541 fi
52542
52543 COND_TOOLKIT_GTK_USE_GUI_1="#"
52544 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52545 COND_TOOLKIT_GTK_USE_GUI_1=""
52546 fi
52547
52548 COND_TOOLKIT_MAC="#"
52549 if test "x$TOOLKIT" = "xMAC" ; then
52550 COND_TOOLKIT_MAC=""
52551 fi
52552
52553 COND_TOOLKIT_MAC_USE_GUI_1="#"
52554 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52555 COND_TOOLKIT_MAC_USE_GUI_1=""
52556 fi
52557
52558 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52559 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52560 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52561 fi
52562
52563 COND_TOOLKIT_MGL="#"
52564 if test "x$TOOLKIT" = "xMGL" ; then
52565 COND_TOOLKIT_MGL=""
52566 fi
52567
52568 COND_TOOLKIT_MGL_USE_GUI_1="#"
52569 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52570 COND_TOOLKIT_MGL_USE_GUI_1=""
52571 fi
52572
52573 COND_TOOLKIT_MOTIF="#"
52574 if test "x$TOOLKIT" = "xMOTIF" ; then
52575 COND_TOOLKIT_MOTIF=""
52576 fi
52577
52578 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52579 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52580 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52581 fi
52582
52583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52584 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52585 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52586 fi
52587
52588 COND_TOOLKIT_MSW="#"
52589 if test "x$TOOLKIT" = "xMSW" ; then
52590 COND_TOOLKIT_MSW=""
52591 fi
52592
52593 COND_TOOLKIT_MSW_USE_GUI_1="#"
52594 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52595 COND_TOOLKIT_MSW_USE_GUI_1=""
52596 fi
52597
52598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52599 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52600 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52601 fi
52602
52603 COND_TOOLKIT_MSW_WXUNIV_0="#"
52604 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52605 COND_TOOLKIT_MSW_WXUNIV_0=""
52606 fi
52607
52608 COND_TOOLKIT_PM="#"
52609 if test "x$TOOLKIT" = "xPM" ; then
52610 COND_TOOLKIT_PM=""
52611 fi
52612
52613 COND_TOOLKIT_PM_USE_GUI_1="#"
52614 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52615 COND_TOOLKIT_PM_USE_GUI_1=""
52616 fi
52617
52618 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52619 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52620 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52621 fi
52622
52623 COND_TOOLKIT_WINCE="#"
52624 if test "x$TOOLKIT" = "xWINCE" ; then
52625 COND_TOOLKIT_WINCE=""
52626 fi
52627
52628 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52629 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52630 COND_TOOLKIT_WINCE_USE_GUI_1=""
52631 fi
52632
52633 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52634 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52635 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52636 fi
52637
52638 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52639 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52640 COND_TOOLKIT_WINCE_WXUNIV_0=""
52641 fi
52642
52643 COND_TOOLKIT_X11="#"
52644 if test "x$TOOLKIT" = "xX11" ; then
52645 COND_TOOLKIT_X11=""
52646 fi
52647
52648 COND_TOOLKIT_X11_USE_GUI_1="#"
52649 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52650 COND_TOOLKIT_X11_USE_GUI_1=""
52651 fi
52652
52653 COND_UNICODE_1="#"
52654 if test "x$UNICODE" = "x1" ; then
52655 COND_UNICODE_1=""
52656 fi
52657
52658 COND_USE_EXCEPTIONS_0="#"
52659 if test "x$USE_EXCEPTIONS" = "x0" ; then
52660 COND_USE_EXCEPTIONS_0=""
52661 fi
52662
52663 COND_USE_EXCEPTIONS_1="#"
52664 if test "x$USE_EXCEPTIONS" = "x1" ; then
52665 COND_USE_EXCEPTIONS_1=""
52666 fi
52667
52668 COND_USE_GUI_0="#"
52669 if test "x$USE_GUI" = "x0" ; then
52670 COND_USE_GUI_0=""
52671 fi
52672
52673 COND_USE_GUI_1="#"
52674 if test "x$USE_GUI" = "x1" ; then
52675 COND_USE_GUI_1=""
52676 fi
52677
52678 COND_USE_GUI_1_USE_OPENGL_1="#"
52679 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52680 COND_USE_GUI_1_USE_OPENGL_1=""
52681 fi
52682
52683 COND_USE_GUI_1_WXUNIV_0="#"
52684 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52685 COND_USE_GUI_1_WXUNIV_0=""
52686 fi
52687
52688 COND_USE_GUI_1_WXUNIV_1="#"
52689 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52690 COND_USE_GUI_1_WXUNIV_1=""
52691 fi
52692
52693 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52694 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52695 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52696 fi
52697
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52699 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52700 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52701 fi
52702
52703 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52704 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52705 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52706 fi
52707
52708 COND_USE_ODBC_1="#"
52709 if test "x$USE_ODBC" = "x1" ; then
52710 COND_USE_ODBC_1=""
52711 fi
52712
52713 COND_USE_OPENGL_1="#"
52714 if test "x$USE_OPENGL" = "x1" ; then
52715 COND_USE_OPENGL_1=""
52716 fi
52717
52718 COND_USE_PCH_1="#"
52719 if test "x$USE_PCH" = "x1" ; then
52720 COND_USE_PCH_1=""
52721 fi
52722
52723 COND_USE_PLUGINS_0="#"
52724 if test "x$USE_PLUGINS" = "x0" ; then
52725 COND_USE_PLUGINS_0=""
52726 fi
52727
52728 COND_USE_RTTI_0="#"
52729 if test "x$USE_RTTI" = "x0" ; then
52730 COND_USE_RTTI_0=""
52731 fi
52732
52733 COND_USE_RTTI_1="#"
52734 if test "x$USE_RTTI" = "x1" ; then
52735 COND_USE_RTTI_1=""
52736 fi
52737
52738 COND_USE_SOSYMLINKS_1="#"
52739 if test "x$USE_SOSYMLINKS" = "x1" ; then
52740 COND_USE_SOSYMLINKS_1=""
52741 fi
52742
52743 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52744 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52745 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52746 fi
52747
52748 COND_USE_SOVERLINUX_1="#"
52749 if test "x$USE_SOVERLINUX" = "x1" ; then
52750 COND_USE_SOVERLINUX_1=""
52751 fi
52752
52753 COND_USE_SOVERSION_0="#"
52754 if test "x$USE_SOVERSION" = "x0" ; then
52755 COND_USE_SOVERSION_0=""
52756 fi
52757
52758 COND_USE_SOVERSOLARIS_1="#"
52759 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52760 COND_USE_SOVERSOLARIS_1=""
52761 fi
52762
52763 COND_USE_STC_1="#"
52764 if test "x$USE_STC" = "x1" ; then
52765 COND_USE_STC_1=""
52766 fi
52767
52768 COND_USE_THREADS_0="#"
52769 if test "x$USE_THREADS" = "x0" ; then
52770 COND_USE_THREADS_0=""
52771 fi
52772
52773 COND_USE_THREADS_1="#"
52774 if test "x$USE_THREADS" = "x1" ; then
52775 COND_USE_THREADS_1=""
52776 fi
52777
52778 COND_USE_XRC_1="#"
52779 if test "x$USE_XRC" = "x1" ; then
52780 COND_USE_XRC_1=""
52781 fi
52782
52783 COND_WINDOWS_IMPLIB_1="#"
52784 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52785 COND_WINDOWS_IMPLIB_1=""
52786 fi
52787
52788 COND_WITH_PLUGIN_SDL_1="#"
52789 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52790 COND_WITH_PLUGIN_SDL_1=""
52791 fi
52792
52793 COND_WXUNIV_0="#"
52794 if test "x$WXUNIV" = "x0" ; then
52795 COND_WXUNIV_0=""
52796 fi
52797
52798 COND_WXUNIV_1="#"
52799 if test "x$WXUNIV" = "x1" ; then
52800 COND_WXUNIV_1=""
52801 fi
52802
52803 COND_WXUSE_EXPAT_BUILTIN="#"
52804 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52805 COND_WXUSE_EXPAT_BUILTIN=""
52806 fi
52807
52808 COND_WXUSE_LIBJPEG_BUILTIN="#"
52809 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52810 COND_WXUSE_LIBJPEG_BUILTIN=""
52811 fi
52812
52813 COND_WXUSE_LIBPNG_BUILTIN="#"
52814 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52815 COND_WXUSE_LIBPNG_BUILTIN=""
52816 fi
52817
52818 COND_WXUSE_LIBTIFF_BUILTIN="#"
52819 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52820 COND_WXUSE_LIBTIFF_BUILTIN=""
52821 fi
52822
52823 COND_WXUSE_ODBC_BUILTIN="#"
52824 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52825 COND_WXUSE_ODBC_BUILTIN=""
52826 fi
52827
52828 COND_WXUSE_REGEX_BUILTIN="#"
52829 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52830 COND_WXUSE_REGEX_BUILTIN=""
52831 fi
52832
52833 COND_WXUSE_ZLIB_BUILTIN="#"
52834 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52835 COND_WXUSE_ZLIB_BUILTIN=""
52836 fi
52837
52838
52839
52840 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52841 { { 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
52842 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;}
52843 { (exit 1); exit 1; }; }
52844 fi
52845
52846 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52847 { { 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
52848 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;}
52849 { (exit 1); exit 1; }; }
52850 fi
52851
52852
52853 if test $GCC_PCH = 1
52854 then
52855 if test "$wx_cv_gcc_pch_bug" = yes; then
52856 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52857 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52858 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52859 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52860 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52861 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52862 fi
52863
52864 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52865 fi
52866
52867
52868 if test "$wxUSE_MAC" = 1 ; then
52869 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52870 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52871 mv temp bk-deps
52872 chmod +x bk-deps
52873 fi
52874 fi
52875
52876 if test "$wxUSE_SHARED" = "yes"; then
52877
52878 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52879 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52880
52881 case "${host}" in
52882 *-pc-os2_emx | *-pc-os2-emx )
52883 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52884 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52885 cp -p ${srcdir}/src/os2/dllnames.sh .
52886 cp -p ${srcdir}/src/os2/dllar.sh .
52887 ;;
52888 esac
52889 else
52890
52891 EXE_LINKER="$CXX -o"
52892
52893 fi
52894 if test "$wxUSE_OMF" = "yes"; then
52895 case "${host}" in
52896 *-pc-os2_emx | *-pc-os2-emx )
52897 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52898 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52899 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52900 ;;
52901 esac
52902 fi
52903
52904 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52905
52906
52907 case "${host}" in
52908 *-*-solaris2* )
52909 if "$GCC" = yes; then
52910 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52911 LIBS=`echo $LIBS | sed 's/-mt//'`
52912 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52913 fi
52914 ;;
52915
52916 *-*-linux* )
52917 if test "x$SUNCXX" = xyes; then
52918 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52919 LIBS=`echo $LIBS | sed 's/-pthread//'`
52920 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52921 fi
52922 ;;
52923 esac
52924
52925 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52926 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52927
52928 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988
52989
52990 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52991 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52992 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52993 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52994 echo $ECHO_N "(cached) $ECHO_C" >&6
52995 else
52996 cat >conftest.make <<\_ACEOF
52997 SHELL = /bin/sh
52998 all:
52999 @echo '@@@%%%=$(MAKE)=@@@%%%'
53000 _ACEOF
53001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53002 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53003 *@@@%%%=?*=@@@%%%*)
53004 eval ac_cv_prog_make_${ac_make}_set=yes;;
53005 *)
53006 eval ac_cv_prog_make_${ac_make}_set=no;;
53007 esac
53008 rm -f conftest.make
53009 fi
53010 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53011 { echo "$as_me:$LINENO: result: yes" >&5
53012 echo "${ECHO_T}yes" >&6; }
53013 SET_MAKE=
53014 else
53015 { echo "$as_me:$LINENO: result: no" >&5
53016 echo "${ECHO_T}no" >&6; }
53017 SET_MAKE="MAKE=${MAKE-make}"
53018 fi
53019
53020
53021
53022 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53023
53024
53025 if test "$USE_WIN32" = 1; then
53026 ac_config_commands="$ac_config_commands
53027 rcdefs.h
53028 "
53029
53030 fi
53031
53032 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53033
53034
53035 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53036
53037
53038 if test "$wx_cv_version_script" = "yes"; then
53039 ac_config_files="$ac_config_files version-script"
53040
53041 fi
53042 ac_config_files="$ac_config_files Makefile"
53043
53044
53045 ac_config_commands="$ac_config_commands wx-config"
53046
53047
53048
53049 if test "$wxWITH_SUBDIRS" != "no"; then
53050 if test "$wxUSE_GUI" = "yes"; then
53051 SUBDIRS="samples demos utils"
53052 else SUBDIRS="samples utils"
53053 fi
53054
53055
53056
53057 # Check whether --with-cppunit-prefix was given.
53058 if test "${with_cppunit_prefix+set}" = set; then
53059 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53060 else
53061 cppunit_config_prefix=""
53062 fi
53063
53064
53065 # Check whether --with-cppunit-exec-prefix was given.
53066 if test "${with_cppunit_exec_prefix+set}" = set; then
53067 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53068 else
53069 cppunit_config_exec_prefix=""
53070 fi
53071
53072
53073 if test x$cppunit_config_exec_prefix != x ; then
53074 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53075 if test x${CPPUNIT_CONFIG+set} != xset ; then
53076 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53077 fi
53078 fi
53079 if test x$cppunit_config_prefix != x ; then
53080 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53081 if test x${CPPUNIT_CONFIG+set} != xset ; then
53082 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53083 fi
53084 fi
53085
53086 # Extract the first word of "cppunit-config", so it can be a program name with args.
53087 set dummy cppunit-config; ac_word=$2
53088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53090 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53091 echo $ECHO_N "(cached) $ECHO_C" >&6
53092 else
53093 case $CPPUNIT_CONFIG in
53094 [\\/]* | ?:[\\/]*)
53095 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53096 ;;
53097 *)
53098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53099 for as_dir in $PATH
53100 do
53101 IFS=$as_save_IFS
53102 test -z "$as_dir" && as_dir=.
53103 for ac_exec_ext in '' $ac_executable_extensions; do
53104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53105 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53107 break 2
53108 fi
53109 done
53110 done
53111 IFS=$as_save_IFS
53112
53113 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53114 ;;
53115 esac
53116 fi
53117 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53118 if test -n "$CPPUNIT_CONFIG"; then
53119 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53120 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53121 else
53122 { echo "$as_me:$LINENO: result: no" >&5
53123 echo "${ECHO_T}no" >&6; }
53124 fi
53125
53126
53127 cppunit_version_min=1.8.0
53128
53129 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53130 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53131 no_cppunit=""
53132 if test "$CPPUNIT_CONFIG" = "no" ; then
53133 { echo "$as_me:$LINENO: result: no" >&5
53134 echo "${ECHO_T}no" >&6; }
53135 no_cppunit=yes
53136 else
53137 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53138 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53139 cppunit_version=`$CPPUNIT_CONFIG --version`
53140
53141 cppunit_major_version=`echo $cppunit_version | \
53142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53143 cppunit_minor_version=`echo $cppunit_version | \
53144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53145 cppunit_micro_version=`echo $cppunit_version | \
53146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53147
53148 cppunit_major_min=`echo $cppunit_version_min | \
53149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53150 cppunit_minor_min=`echo $cppunit_version_min | \
53151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53152 cppunit_micro_min=`echo $cppunit_version_min | \
53153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53154
53155 cppunit_version_proper=`expr \
53156 $cppunit_major_version \> $cppunit_major_min \| \
53157 $cppunit_major_version \= $cppunit_major_min \& \
53158 $cppunit_minor_version \> $cppunit_minor_min \| \
53159 $cppunit_major_version \= $cppunit_major_min \& \
53160 $cppunit_minor_version \= $cppunit_minor_min \& \
53161 $cppunit_micro_version \>= $cppunit_micro_min `
53162
53163 if test "$cppunit_version_proper" = "1" ; then
53164 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53165 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53166 else
53167 { echo "$as_me:$LINENO: result: no" >&5
53168 echo "${ECHO_T}no" >&6; }
53169 no_cppunit=yes
53170 fi
53171 fi
53172
53173 if test "x$no_cppunit" = x ; then
53174 SUBDIRS="$SUBDIRS tests"
53175 else
53176 CPPUNIT_CFLAGS=""
53177 CPPUNIT_LIBS=""
53178 :
53179 fi
53180
53181
53182
53183
53184
53185 for subdir in `echo $SUBDIRS`; do
53186 if test -d ${srcdir}/${subdir} ; then
53187 if test "$wxUSE_GUI" = "yes"; then
53188 if test ${subdir} = "samples"; then
53189 makefiles="samples/Makefile.in $makefiles"
53190 for sample in `echo $SAMPLES_SUBDIRS`; do
53191 if test -d $srcdir/samples/$sample; then
53192 makefiles="samples/$sample/Makefile.in $makefiles"
53193 fi
53194 done
53195 else
53196 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53197 eval "disabled=\$$disabled_var"
53198 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53199 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53200 fi
53201 else if test ${subdir} = "samples"; then
53202 makefiles="samples/Makefile.in samples/console/Makefile.in"
53203 elif test ${subdir} = "utils"; then
53204 makefiles=""
53205 for util in HelpGen tex2rtf ; do
53206 if test -d $srcdir/utils/$util ; then
53207 makefiles="utils/$util/Makefile.in \
53208 utils/$util/src/Makefile.in \
53209 $makefiles"
53210 fi
53211 done
53212 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53213 fi
53214 fi
53215
53216 for mkin in $makefiles ; do
53217 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53218 ac_config_files="$ac_config_files $mk"
53219
53220 done
53221 fi
53222 done
53223 fi
53224 cat >confcache <<\_ACEOF
53225 # This file is a shell script that caches the results of configure
53226 # tests run on this system so they can be shared between configure
53227 # scripts and configure runs, see configure's option --config-cache.
53228 # It is not useful on other systems. If it contains results you don't
53229 # want to keep, you may remove or edit it.
53230 #
53231 # config.status only pays attention to the cache file if you give it
53232 # the --recheck option to rerun configure.
53233 #
53234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53236 # following values.
53237
53238 _ACEOF
53239
53240 # The following way of writing the cache mishandles newlines in values,
53241 # but we know of no workaround that is simple, portable, and efficient.
53242 # So, we kill variables containing newlines.
53243 # Ultrix sh set writes to stderr and can't be redirected directly,
53244 # and sets the high bit in the cache file unless we assign to the vars.
53245 (
53246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53247 eval ac_val=\$$ac_var
53248 case $ac_val in #(
53249 *${as_nl}*)
53250 case $ac_var in #(
53251 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53253 esac
53254 case $ac_var in #(
53255 _ | IFS | as_nl) ;; #(
53256 *) $as_unset $ac_var ;;
53257 esac ;;
53258 esac
53259 done
53260
53261 (set) 2>&1 |
53262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53263 *${as_nl}ac_space=\ *)
53264 # `set' does not quote correctly, so add quotes (double-quote
53265 # substitution turns \\\\ into \\, and sed turns \\ into \).
53266 sed -n \
53267 "s/'/'\\\\''/g;
53268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53269 ;; #(
53270 *)
53271 # `set' quotes correctly as required by POSIX, so do not add quotes.
53272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53273 ;;
53274 esac |
53275 sort
53276 ) |
53277 sed '
53278 /^ac_cv_env_/b end
53279 t clear
53280 :clear
53281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53282 t end
53283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53284 :end' >>confcache
53285 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53286 if test -w "$cache_file"; then
53287 test "x$cache_file" != "x/dev/null" &&
53288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53289 echo "$as_me: updating cache $cache_file" >&6;}
53290 cat confcache >$cache_file
53291 else
53292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53294 fi
53295 fi
53296 rm -f confcache
53297
53298 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53299 # Let make expand exec_prefix.
53300 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53301
53302 DEFS=-DHAVE_CONFIG_H
53303
53304 ac_libobjs=
53305 ac_ltlibobjs=
53306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53307 # 1. Remove the extension, and $U if already installed.
53308 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53309 ac_i=`echo "$ac_i" | sed "$ac_script"`
53310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53311 # will be set to the directory where LIBOBJS objects are built.
53312 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53313 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53314 done
53315 LIBOBJS=$ac_libobjs
53316
53317 LTLIBOBJS=$ac_ltlibobjs
53318
53319
53320
53321 : ${CONFIG_STATUS=./config.status}
53322 ac_clean_files_save=$ac_clean_files
53323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53324 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53325 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53326 cat >$CONFIG_STATUS <<_ACEOF
53327 #! $SHELL
53328 # Generated by $as_me.
53329 # Run this file to recreate the current configuration.
53330 # Compiler output produced by configure, useful for debugging
53331 # configure, is in config.log if it exists.
53332
53333 debug=false
53334 ac_cs_recheck=false
53335 ac_cs_silent=false
53336 SHELL=\${CONFIG_SHELL-$SHELL}
53337 _ACEOF
53338
53339 cat >>$CONFIG_STATUS <<\_ACEOF
53340 ## --------------------- ##
53341 ## M4sh Initialization. ##
53342 ## --------------------- ##
53343
53344 # Be more Bourne compatible
53345 DUALCASE=1; export DUALCASE # for MKS sh
53346 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53347 emulate sh
53348 NULLCMD=:
53349 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53350 # is contrary to our usage. Disable this feature.
53351 alias -g '${1+"$@"}'='"$@"'
53352 setopt NO_GLOB_SUBST
53353 else
53354 case `(set -o) 2>/dev/null` in
53355 *posix*) set -o posix ;;
53356 esac
53357
53358 fi
53359
53360
53361
53362
53363 # PATH needs CR
53364 # Avoid depending upon Character Ranges.
53365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53368 as_cr_digits='0123456789'
53369 as_cr_alnum=$as_cr_Letters$as_cr_digits
53370
53371 # The user is always right.
53372 if test "${PATH_SEPARATOR+set}" != set; then
53373 echo "#! /bin/sh" >conf$$.sh
53374 echo "exit 0" >>conf$$.sh
53375 chmod +x conf$$.sh
53376 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53377 PATH_SEPARATOR=';'
53378 else
53379 PATH_SEPARATOR=:
53380 fi
53381 rm -f conf$$.sh
53382 fi
53383
53384 # Support unset when possible.
53385 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53386 as_unset=unset
53387 else
53388 as_unset=false
53389 fi
53390
53391
53392 # IFS
53393 # We need space, tab and new line, in precisely that order. Quoting is
53394 # there to prevent editors from complaining about space-tab.
53395 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53396 # splitting by setting IFS to empty value.)
53397 as_nl='
53398 '
53399 IFS=" "" $as_nl"
53400
53401 # Find who we are. Look in the path if we contain no directory separator.
53402 case $0 in
53403 *[\\/]* ) as_myself=$0 ;;
53404 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53405 for as_dir in $PATH
53406 do
53407 IFS=$as_save_IFS
53408 test -z "$as_dir" && as_dir=.
53409 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53410 done
53411 IFS=$as_save_IFS
53412
53413 ;;
53414 esac
53415 # We did not find ourselves, most probably we were run as `sh COMMAND'
53416 # in which case we are not to be found in the path.
53417 if test "x$as_myself" = x; then
53418 as_myself=$0
53419 fi
53420 if test ! -f "$as_myself"; then
53421 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53422 { (exit 1); exit 1; }
53423 fi
53424
53425 # Work around bugs in pre-3.0 UWIN ksh.
53426 for as_var in ENV MAIL MAILPATH
53427 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53428 done
53429 PS1='$ '
53430 PS2='> '
53431 PS4='+ '
53432
53433 # NLS nuisances.
53434 for as_var in \
53435 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53436 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53437 LC_TELEPHONE LC_TIME
53438 do
53439 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53440 eval $as_var=C; export $as_var
53441 else
53442 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53443 fi
53444 done
53445
53446 # Required to use basename.
53447 if expr a : '\(a\)' >/dev/null 2>&1 &&
53448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53449 as_expr=expr
53450 else
53451 as_expr=false
53452 fi
53453
53454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53455 as_basename=basename
53456 else
53457 as_basename=false
53458 fi
53459
53460
53461 # Name of the executable.
53462 as_me=`$as_basename -- "$0" ||
53463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53464 X"$0" : 'X\(//\)$' \| \
53465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53466 echo X/"$0" |
53467 sed '/^.*\/\([^/][^/]*\)\/*$/{
53468 s//\1/
53469 q
53470 }
53471 /^X\/\(\/\/\)$/{
53472 s//\1/
53473 q
53474 }
53475 /^X\/\(\/\).*/{
53476 s//\1/
53477 q
53478 }
53479 s/.*/./; q'`
53480
53481 # CDPATH.
53482 $as_unset CDPATH
53483
53484
53485
53486 as_lineno_1=$LINENO
53487 as_lineno_2=$LINENO
53488 test "x$as_lineno_1" != "x$as_lineno_2" &&
53489 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53490
53491 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53492 # uniformly replaced by the line number. The first 'sed' inserts a
53493 # line-number line after each line using $LINENO; the second 'sed'
53494 # does the real work. The second script uses 'N' to pair each
53495 # line-number line with the line containing $LINENO, and appends
53496 # trailing '-' during substitution so that $LINENO is not a special
53497 # case at line end.
53498 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53499 # scripts with optimization help from Paolo Bonzini. Blame Lee
53500 # E. McMahon (1931-1989) for sed's syntax. :-)
53501 sed -n '
53502 p
53503 /[$]LINENO/=
53504 ' <$as_myself |
53505 sed '
53506 s/[$]LINENO.*/&-/
53507 t lineno
53508 b
53509 :lineno
53510 N
53511 :loop
53512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53513 t loop
53514 s/-\n.*//
53515 ' >$as_me.lineno &&
53516 chmod +x "$as_me.lineno" ||
53517 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53518 { (exit 1); exit 1; }; }
53519
53520 # Don't try to exec as it changes $[0], causing all sort of problems
53521 # (the dirname of $[0] is not the place where we might find the
53522 # original and so on. Autoconf is especially sensitive to this).
53523 . "./$as_me.lineno"
53524 # Exit status is that of the last command.
53525 exit
53526 }
53527
53528
53529 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53530 as_dirname=dirname
53531 else
53532 as_dirname=false
53533 fi
53534
53535 ECHO_C= ECHO_N= ECHO_T=
53536 case `echo -n x` in
53537 -n*)
53538 case `echo 'x\c'` in
53539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53540 *) ECHO_C='\c';;
53541 esac;;
53542 *)
53543 ECHO_N='-n';;
53544 esac
53545
53546 if expr a : '\(a\)' >/dev/null 2>&1 &&
53547 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53548 as_expr=expr
53549 else
53550 as_expr=false
53551 fi
53552
53553 rm -f conf$$ conf$$.exe conf$$.file
53554 if test -d conf$$.dir; then
53555 rm -f conf$$.dir/conf$$.file
53556 else
53557 rm -f conf$$.dir
53558 mkdir conf$$.dir
53559 fi
53560 echo >conf$$.file
53561 if ln -s conf$$.file conf$$ 2>/dev/null; then
53562 as_ln_s='ln -s'
53563 # ... but there are two gotchas:
53564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53566 # In both cases, we have to default to `cp -p'.
53567 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53568 as_ln_s='cp -p'
53569 elif ln conf$$.file conf$$ 2>/dev/null; then
53570 as_ln_s=ln
53571 else
53572 as_ln_s='cp -p'
53573 fi
53574 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53575 rmdir conf$$.dir 2>/dev/null
53576
53577 if mkdir -p . 2>/dev/null; then
53578 as_mkdir_p=:
53579 else
53580 test -d ./-p && rmdir ./-p
53581 as_mkdir_p=false
53582 fi
53583
53584 if test -x / >/dev/null 2>&1; then
53585 as_test_x='test -x'
53586 else
53587 if ls -dL / >/dev/null 2>&1; then
53588 as_ls_L_option=L
53589 else
53590 as_ls_L_option=
53591 fi
53592 as_test_x='
53593 eval sh -c '\''
53594 if test -d "$1"; then
53595 test -d "$1/.";
53596 else
53597 case $1 in
53598 -*)set "./$1";;
53599 esac;
53600 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53601 ???[sx]*):;;*)false;;esac;fi
53602 '\'' sh
53603 '
53604 fi
53605 as_executable_p=$as_test_x
53606
53607 # Sed expression to map a string onto a valid CPP name.
53608 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53609
53610 # Sed expression to map a string onto a valid variable name.
53611 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53612
53613
53614 exec 6>&1
53615
53616 # Save the log message, to keep $[0] and so on meaningful, and to
53617 # report actual input values of CONFIG_FILES etc. instead of their
53618 # values after options handling.
53619 ac_log="
53620 This file was extended by wxWidgets $as_me 2.9.0, which was
53621 generated by GNU Autoconf 2.61. Invocation command line was
53622
53623 CONFIG_FILES = $CONFIG_FILES
53624 CONFIG_HEADERS = $CONFIG_HEADERS
53625 CONFIG_LINKS = $CONFIG_LINKS
53626 CONFIG_COMMANDS = $CONFIG_COMMANDS
53627 $ $0 $@
53628
53629 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53630 "
53631
53632 _ACEOF
53633
53634 cat >>$CONFIG_STATUS <<_ACEOF
53635 # Files that config.status was made for.
53636 config_files="$ac_config_files"
53637 config_headers="$ac_config_headers"
53638 config_commands="$ac_config_commands"
53639
53640 _ACEOF
53641
53642 cat >>$CONFIG_STATUS <<\_ACEOF
53643 ac_cs_usage="\
53644 \`$as_me' instantiates files from templates according to the
53645 current configuration.
53646
53647 Usage: $0 [OPTIONS] [FILE]...
53648
53649 -h, --help print this help, then exit
53650 -V, --version print version number and configuration settings, then exit
53651 -q, --quiet do not print progress messages
53652 -d, --debug don't remove temporary files
53653 --recheck update $as_me by reconfiguring in the same conditions
53654 --file=FILE[:TEMPLATE]
53655 instantiate the configuration file FILE
53656 --header=FILE[:TEMPLATE]
53657 instantiate the configuration header FILE
53658
53659 Configuration files:
53660 $config_files
53661
53662 Configuration headers:
53663 $config_headers
53664
53665 Configuration commands:
53666 $config_commands
53667
53668 Report bugs to <bug-autoconf@gnu.org>."
53669
53670 _ACEOF
53671 cat >>$CONFIG_STATUS <<_ACEOF
53672 ac_cs_version="\\
53673 wxWidgets config.status 2.9.0
53674 configured by $0, generated by GNU Autoconf 2.61,
53675 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53676
53677 Copyright (C) 2006 Free Software Foundation, Inc.
53678 This config.status script is free software; the Free Software Foundation
53679 gives unlimited permission to copy, distribute and modify it."
53680
53681 ac_pwd='$ac_pwd'
53682 srcdir='$srcdir'
53683 INSTALL='$INSTALL'
53684 _ACEOF
53685
53686 cat >>$CONFIG_STATUS <<\_ACEOF
53687 # If no file are specified by the user, then we need to provide default
53688 # value. By we need to know if files were specified by the user.
53689 ac_need_defaults=:
53690 while test $# != 0
53691 do
53692 case $1 in
53693 --*=*)
53694 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53695 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53696 ac_shift=:
53697 ;;
53698 *)
53699 ac_option=$1
53700 ac_optarg=$2
53701 ac_shift=shift
53702 ;;
53703 esac
53704
53705 case $ac_option in
53706 # Handling of the options.
53707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53708 ac_cs_recheck=: ;;
53709 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53710 echo "$ac_cs_version"; exit ;;
53711 --debug | --debu | --deb | --de | --d | -d )
53712 debug=: ;;
53713 --file | --fil | --fi | --f )
53714 $ac_shift
53715 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53716 ac_need_defaults=false;;
53717 --header | --heade | --head | --hea )
53718 $ac_shift
53719 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53720 ac_need_defaults=false;;
53721 --he | --h)
53722 # Conflict between --help and --header
53723 { echo "$as_me: error: ambiguous option: $1
53724 Try \`$0 --help' for more information." >&2
53725 { (exit 1); exit 1; }; };;
53726 --help | --hel | -h )
53727 echo "$ac_cs_usage"; exit ;;
53728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53729 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53730 ac_cs_silent=: ;;
53731
53732 # This is an error.
53733 -*) { echo "$as_me: error: unrecognized option: $1
53734 Try \`$0 --help' for more information." >&2
53735 { (exit 1); exit 1; }; } ;;
53736
53737 *) ac_config_targets="$ac_config_targets $1"
53738 ac_need_defaults=false ;;
53739
53740 esac
53741 shift
53742 done
53743
53744 ac_configure_extra_args=
53745
53746 if $ac_cs_silent; then
53747 exec 6>/dev/null
53748 ac_configure_extra_args="$ac_configure_extra_args --silent"
53749 fi
53750
53751 _ACEOF
53752 cat >>$CONFIG_STATUS <<_ACEOF
53753 if \$ac_cs_recheck; then
53754 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53755 CONFIG_SHELL=$SHELL
53756 export CONFIG_SHELL
53757 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53758 fi
53759
53760 _ACEOF
53761 cat >>$CONFIG_STATUS <<\_ACEOF
53762 exec 5>>config.log
53763 {
53764 echo
53765 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53766 ## Running $as_me. ##
53767 _ASBOX
53768 echo "$ac_log"
53769 } >&5
53770
53771 _ACEOF
53772 cat >>$CONFIG_STATUS <<_ACEOF
53773 #
53774 # INIT-COMMANDS
53775 #
53776
53777 CPP="$CPP"
53778 infile="$srcdir/include/wx/msw/genrcdefs.h"
53779 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53780
53781
53782 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53783 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53784 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53785 LN_S="${LN_S}"
53786
53787
53788 _ACEOF
53789
53790 cat >>$CONFIG_STATUS <<\_ACEOF
53791
53792 # Handling of arguments.
53793 for ac_config_target in $ac_config_targets
53794 do
53795 case $ac_config_target in
53796 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53797 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53798 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53799 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53800 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53801 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53802 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53803 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53804
53805 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53806 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53807 { (exit 1); exit 1; }; };;
53808 esac
53809 done
53810
53811
53812 # If the user did not use the arguments to specify the items to instantiate,
53813 # then the envvar interface is used. Set only those that are not.
53814 # We use the long form for the default assignment because of an extremely
53815 # bizarre bug on SunOS 4.1.3.
53816 if $ac_need_defaults; then
53817 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53818 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53819 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53820 fi
53821
53822 # Have a temporary directory for convenience. Make it in the build tree
53823 # simply because there is no reason against having it here, and in addition,
53824 # creating and moving files from /tmp can sometimes cause problems.
53825 # Hook for its removal unless debugging.
53826 # Note that there is a small window in which the directory will not be cleaned:
53827 # after its creation but before its name has been assigned to `$tmp'.
53828 $debug ||
53829 {
53830 tmp=
53831 trap 'exit_status=$?
53832 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53833 ' 0
53834 trap '{ (exit 1); exit 1; }' 1 2 13 15
53835 }
53836 # Create a (secure) tmp directory for tmp files.
53837
53838 {
53839 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53840 test -n "$tmp" && test -d "$tmp"
53841 } ||
53842 {
53843 tmp=./conf$$-$RANDOM
53844 (umask 077 && mkdir "$tmp")
53845 } ||
53846 {
53847 echo "$me: cannot create a temporary directory in ." >&2
53848 { (exit 1); exit 1; }
53849 }
53850
53851 #
53852 # Set up the sed scripts for CONFIG_FILES section.
53853 #
53854
53855 # No need to generate the scripts if there are no CONFIG_FILES.
53856 # This happens for instance when ./config.status config.h
53857 if test -n "$CONFIG_FILES"; then
53858
53859 _ACEOF
53860
53861
53862
53863 ac_delim='%!_!# '
53864 for ac_last_try in false false false false false :; do
53865 cat >conf$$subs.sed <<_ACEOF
53866 SHELL!$SHELL$ac_delim
53867 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53868 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53869 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53870 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53871 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53872 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53873 exec_prefix!$exec_prefix$ac_delim
53874 prefix!$prefix$ac_delim
53875 program_transform_name!$program_transform_name$ac_delim
53876 bindir!$bindir$ac_delim
53877 sbindir!$sbindir$ac_delim
53878 libexecdir!$libexecdir$ac_delim
53879 datarootdir!$datarootdir$ac_delim
53880 datadir!$datadir$ac_delim
53881 sysconfdir!$sysconfdir$ac_delim
53882 sharedstatedir!$sharedstatedir$ac_delim
53883 localstatedir!$localstatedir$ac_delim
53884 includedir!$includedir$ac_delim
53885 oldincludedir!$oldincludedir$ac_delim
53886 docdir!$docdir$ac_delim
53887 infodir!$infodir$ac_delim
53888 htmldir!$htmldir$ac_delim
53889 dvidir!$dvidir$ac_delim
53890 pdfdir!$pdfdir$ac_delim
53891 psdir!$psdir$ac_delim
53892 libdir!$libdir$ac_delim
53893 localedir!$localedir$ac_delim
53894 mandir!$mandir$ac_delim
53895 DEFS!$DEFS$ac_delim
53896 ECHO_C!$ECHO_C$ac_delim
53897 ECHO_N!$ECHO_N$ac_delim
53898 ECHO_T!$ECHO_T$ac_delim
53899 LIBS!$LIBS$ac_delim
53900 build_alias!$build_alias$ac_delim
53901 host_alias!$host_alias$ac_delim
53902 target_alias!$target_alias$ac_delim
53903 build!$build$ac_delim
53904 build_cpu!$build_cpu$ac_delim
53905 build_vendor!$build_vendor$ac_delim
53906 build_os!$build_os$ac_delim
53907 host!$host$ac_delim
53908 host_cpu!$host_cpu$ac_delim
53909 host_vendor!$host_vendor$ac_delim
53910 host_os!$host_os$ac_delim
53911 target!$target$ac_delim
53912 target_cpu!$target_cpu$ac_delim
53913 target_vendor!$target_vendor$ac_delim
53914 target_os!$target_os$ac_delim
53915 wx_top_builddir!$wx_top_builddir$ac_delim
53916 CC!$CC$ac_delim
53917 CFLAGS!$CFLAGS$ac_delim
53918 LDFLAGS!$LDFLAGS$ac_delim
53919 CPPFLAGS!$CPPFLAGS$ac_delim
53920 ac_ct_CC!$ac_ct_CC$ac_delim
53921 EXEEXT!$EXEEXT$ac_delim
53922 OBJEXT!$OBJEXT$ac_delim
53923 CPP!$CPP$ac_delim
53924 GREP!$GREP$ac_delim
53925 EGREP!$EGREP$ac_delim
53926 CXX!$CXX$ac_delim
53927 CXXFLAGS!$CXXFLAGS$ac_delim
53928 ac_ct_CXX!$ac_ct_CXX$ac_delim
53929 RANLIB!$RANLIB$ac_delim
53930 AR!$AR$ac_delim
53931 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53932 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53933 INSTALL_DATA!$INSTALL_DATA$ac_delim
53934 STRIP!$STRIP$ac_delim
53935 WINDRES!$WINDRES$ac_delim
53936 DLLTOOL!$DLLTOOL$ac_delim
53937 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53938 LN_S!$LN_S$ac_delim
53939 subdirs!$subdirs$ac_delim
53940 PKG_CONFIG!$PKG_CONFIG$ac_delim
53941 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53942 GTK_LIBS!$GTK_LIBS$ac_delim
53943 GTK_CONFIG!$GTK_CONFIG$ac_delim
53944 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53945 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53946 XMKMF!$XMKMF$ac_delim
53947 X_CFLAGS!$X_CFLAGS$ac_delim
53948 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53949 X_LIBS!$X_LIBS$ac_delim
53950 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53951 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53952 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53953 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53954 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53955 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53956 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53957 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53958 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53959 REZ!$REZ$ac_delim
53960 DEREZ!$DEREZ$ac_delim
53961 SETFILE!$SETFILE$ac_delim
53962 LIBICONV!$LIBICONV$ac_delim
53963 _ACEOF
53964
53965 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53966 break
53967 elif $ac_last_try; then
53968 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53969 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53970 { (exit 1); exit 1; }; }
53971 else
53972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53973 fi
53974 done
53975
53976 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53977 if test -n "$ac_eof"; then
53978 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53979 ac_eof=`expr $ac_eof + 1`
53980 fi
53981
53982 cat >>$CONFIG_STATUS <<_ACEOF
53983 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53985 _ACEOF
53986 sed '
53987 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53988 s/^/s,@/; s/!/@,|#_!!_#|/
53989 :n
53990 t n
53991 s/'"$ac_delim"'$/,g/; t
53992 s/$/\\/; p
53993 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53994 ' >>$CONFIG_STATUS <conf$$subs.sed
53995 rm -f conf$$subs.sed
53996 cat >>$CONFIG_STATUS <<_ACEOF
53997 CEOF$ac_eof
53998 _ACEOF
53999
54000
54001 ac_delim='%!_!# '
54002 for ac_last_try in false false false false false :; do
54003 cat >conf$$subs.sed <<_ACEOF
54004 SDL_CONFIG!$SDL_CONFIG$ac_delim
54005 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54006 SDL_LIBS!$SDL_LIBS$ac_delim
54007 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54008 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54009 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54010 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54011 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54012 HILDON_LIBS!$HILDON_LIBS$ac_delim
54013 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54014 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54015 GST_CFLAGS!$GST_CFLAGS$ac_delim
54016 GST_LIBS!$GST_LIBS$ac_delim
54017 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54018 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54019 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54020 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54021 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54022 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54023 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54024 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54025 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54026 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54027 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54028 VENDOR!$VENDOR$ac_delim
54029 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54030 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54031 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54032 WXUNIV!$WXUNIV$ac_delim
54033 MONOLITHIC!$MONOLITHIC$ac_delim
54034 USE_PLUGINS!$USE_PLUGINS$ac_delim
54035 CXXWARNINGS!$CXXWARNINGS$ac_delim
54036 EXTRALIBS!$EXTRALIBS$ac_delim
54037 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54038 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54039 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54040 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54041 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54042 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54043 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54044 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54045 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54046 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54047 UNICODE!$UNICODE$ac_delim
54048 BUILD!$BUILD$ac_delim
54049 DEBUG_INFO!$DEBUG_INFO$ac_delim
54050 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54051 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54052 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54053 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54054 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54055 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54056 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54057 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54058 SET_MAKE!$SET_MAKE$ac_delim
54059 MAKE_SET!$MAKE_SET$ac_delim
54060 AROPTIONS!$AROPTIONS$ac_delim
54061 NM!$NM$ac_delim
54062 INSTALL_DIR!$INSTALL_DIR$ac_delim
54063 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54064 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54065 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54066 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54067 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54068 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54069 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54070 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54071 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54072 SO_SUFFIX!$SO_SUFFIX$ac_delim
54073 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54074 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54075 LIBPREFIX!$LIBPREFIX$ac_delim
54076 LIBEXT!$LIBEXT$ac_delim
54077 DLLPREFIX!$DLLPREFIX$ac_delim
54078 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54079 dlldir!$dlldir$ac_delim
54080 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54081 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54082 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54083 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54084 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54085 PIC_FLAG!$PIC_FLAG$ac_delim
54086 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54087 USE_SOVERSION!$USE_SOVERSION$ac_delim
54088 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54089 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54090 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54091 USE_MACVERSION!$USE_MACVERSION$ac_delim
54092 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54093 SONAME_FLAG!$SONAME_FLAG$ac_delim
54094 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54095 BK_DEPS!$BK_DEPS$ac_delim
54096 GCC_PCH!$GCC_PCH$ac_delim
54097 ICC_PCH!$ICC_PCH$ac_delim
54098 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54099 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54100 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54101 _ACEOF
54102
54103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54104 break
54105 elif $ac_last_try; then
54106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54108 { (exit 1); exit 1; }; }
54109 else
54110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54111 fi
54112 done
54113
54114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54115 if test -n "$ac_eof"; then
54116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54117 ac_eof=`expr $ac_eof + 1`
54118 fi
54119
54120 cat >>$CONFIG_STATUS <<_ACEOF
54121 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54123 _ACEOF
54124 sed '
54125 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54126 s/^/s,@/; s/!/@,|#_!!_#|/
54127 :n
54128 t n
54129 s/'"$ac_delim"'$/,g/; t
54130 s/$/\\/; p
54131 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54132 ' >>$CONFIG_STATUS <conf$$subs.sed
54133 rm -f conf$$subs.sed
54134 cat >>$CONFIG_STATUS <<_ACEOF
54135 CEOF$ac_eof
54136 _ACEOF
54137
54138
54139 ac_delim='%!_!# '
54140 for ac_last_try in false false false false false :; do
54141 cat >conf$$subs.sed <<_ACEOF
54142 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54143 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54144 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54145 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54146 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54147 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54148 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54149 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54150 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54151 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54152 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54153 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54154 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54155 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54156 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54177 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54178 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54179 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54180 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54181 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54182 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54183 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54184 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54185 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54186 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54187 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54188 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54189 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54190 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54191 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54192 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54193 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54194 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54195 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54196 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54197 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54198 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54199 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54200 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54201 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54202 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54203 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54204 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54205 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54206 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54207 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54208 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54209 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54210 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54211 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54212 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54213 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54214 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54215 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54216 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54217 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54218 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54219 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54220 COND_SHARED_0!$COND_SHARED_0$ac_delim
54221 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54222 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54223 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54224 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54226 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54227 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54228 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54229 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54230 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54231 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54232 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54233 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54234 COND_SHARED_1!$COND_SHARED_1$ac_delim
54235 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54236 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54237 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54238 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54239 _ACEOF
54240
54241 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54242 break
54243 elif $ac_last_try; then
54244 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54245 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54246 { (exit 1); exit 1; }; }
54247 else
54248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54249 fi
54250 done
54251
54252 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54253 if test -n "$ac_eof"; then
54254 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54255 ac_eof=`expr $ac_eof + 1`
54256 fi
54257
54258 cat >>$CONFIG_STATUS <<_ACEOF
54259 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54260 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54261 _ACEOF
54262 sed '
54263 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54264 s/^/s,@/; s/!/@,|#_!!_#|/
54265 :n
54266 t n
54267 s/'"$ac_delim"'$/,g/; t
54268 s/$/\\/; p
54269 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54270 ' >>$CONFIG_STATUS <conf$$subs.sed
54271 rm -f conf$$subs.sed
54272 cat >>$CONFIG_STATUS <<_ACEOF
54273 CEOF$ac_eof
54274 _ACEOF
54275
54276
54277 ac_delim='%!_!# '
54278 for ac_last_try in false false false false false :; do
54279 cat >conf$$subs.sed <<_ACEOF
54280 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54281 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54282 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54283 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54290 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54291 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54292 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54293 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54296 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54298 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54299 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54300 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54301 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54302 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54303 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54304 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54305 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54306 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54307 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54308 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54309 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54310 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54311 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54312 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54313 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54314 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54315 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54316 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54317 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54318 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54319 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54320 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54321 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54322 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54323 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54324 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54325 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54326 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54327 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54328 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54329 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54330 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54331 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54332 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54333 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54334 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54335 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54336 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54337 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54338 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54339 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54340 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54341 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54342 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54343 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54344 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54345 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54346 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54347 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54348 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54349 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54350 SHARED!$SHARED$ac_delim
54351 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54352 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54353 USE_GUI!$USE_GUI$ac_delim
54354 AFMINSTALL!$AFMINSTALL$ac_delim
54355 WIN32INSTALL!$WIN32INSTALL$ac_delim
54356 TOOLKIT!$TOOLKIT$ac_delim
54357 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54358 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54359 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54360 cross_compiling!$cross_compiling$ac_delim
54361 WIDGET_SET!$WIDGET_SET$ac_delim
54362 WX_RELEASE!$WX_RELEASE$ac_delim
54363 WX_VERSION!$WX_VERSION$ac_delim
54364 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54365 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54366 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54367 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54368 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54369 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54370 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54371 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54372 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54373 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54374 EXE_LINKER!$EXE_LINKER$ac_delim
54375 GUIDIST!$GUIDIST$ac_delim
54376 DISTDIR!$DISTDIR$ac_delim
54377 _ACEOF
54378
54379 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54380 break
54381 elif $ac_last_try; then
54382 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54383 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54384 { (exit 1); exit 1; }; }
54385 else
54386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54387 fi
54388 done
54389
54390 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54391 if test -n "$ac_eof"; then
54392 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54393 ac_eof=`expr $ac_eof + 1`
54394 fi
54395
54396 cat >>$CONFIG_STATUS <<_ACEOF
54397 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54399 _ACEOF
54400 sed '
54401 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54402 s/^/s,@/; s/!/@,|#_!!_#|/
54403 :n
54404 t n
54405 s/'"$ac_delim"'$/,g/; t
54406 s/$/\\/; p
54407 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54408 ' >>$CONFIG_STATUS <conf$$subs.sed
54409 rm -f conf$$subs.sed
54410 cat >>$CONFIG_STATUS <<_ACEOF
54411 CEOF$ac_eof
54412 _ACEOF
54413
54414
54415 ac_delim='%!_!# '
54416 for ac_last_try in false false false false false :; do
54417 cat >conf$$subs.sed <<_ACEOF
54418 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54419 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54420 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54421 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54422 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54423 RESCOMP!$RESCOMP$ac_delim
54424 RESFLAGS!$RESFLAGS$ac_delim
54425 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54426 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54427 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54428 LIBWXMACRES!$LIBWXMACRES$ac_delim
54429 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54430 MACSETFILE!$MACSETFILE$ac_delim
54431 GCC!$GCC$ac_delim
54432 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54433 LIBOBJS!$LIBOBJS$ac_delim
54434 LTLIBOBJS!$LTLIBOBJS$ac_delim
54435 _ACEOF
54436
54437 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54438 break
54439 elif $ac_last_try; then
54440 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54441 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54442 { (exit 1); exit 1; }; }
54443 else
54444 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54445 fi
54446 done
54447
54448 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54449 if test -n "$ac_eof"; then
54450 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54451 ac_eof=`expr $ac_eof + 1`
54452 fi
54453
54454 cat >>$CONFIG_STATUS <<_ACEOF
54455 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54457 _ACEOF
54458 sed '
54459 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54460 s/^/s,@/; s/!/@,|#_!!_#|/
54461 :n
54462 t n
54463 s/'"$ac_delim"'$/,g/; t
54464 s/$/\\/; p
54465 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54466 ' >>$CONFIG_STATUS <conf$$subs.sed
54467 rm -f conf$$subs.sed
54468 cat >>$CONFIG_STATUS <<_ACEOF
54469 :end
54470 s/|#_!!_#|//g
54471 CEOF$ac_eof
54472 _ACEOF
54473
54474
54475 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54476 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54477 # trailing colons and then remove the whole line if VPATH becomes empty
54478 # (actually we leave an empty line to preserve line numbers).
54479 if test "x$srcdir" = x.; then
54480 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54481 s/:*\$(srcdir):*/:/
54482 s/:*\${srcdir}:*/:/
54483 s/:*@srcdir@:*/:/
54484 s/^\([^=]*=[ ]*\):*/\1/
54485 s/:*$//
54486 s/^[^=]*=[ ]*$//
54487 }'
54488 fi
54489
54490 cat >>$CONFIG_STATUS <<\_ACEOF
54491 fi # test -n "$CONFIG_FILES"
54492
54493
54494 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54495 do
54496 case $ac_tag in
54497 :[FHLC]) ac_mode=$ac_tag; continue;;
54498 esac
54499 case $ac_mode$ac_tag in
54500 :[FHL]*:*);;
54501 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54502 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54503 { (exit 1); exit 1; }; };;
54504 :[FH]-) ac_tag=-:-;;
54505 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54506 esac
54507 ac_save_IFS=$IFS
54508 IFS=:
54509 set x $ac_tag
54510 IFS=$ac_save_IFS
54511 shift
54512 ac_file=$1
54513 shift
54514
54515 case $ac_mode in
54516 :L) ac_source=$1;;
54517 :[FH])
54518 ac_file_inputs=
54519 for ac_f
54520 do
54521 case $ac_f in
54522 -) ac_f="$tmp/stdin";;
54523 *) # Look for the file first in the build tree, then in the source tree
54524 # (if the path is not absolute). The absolute path cannot be DOS-style,
54525 # because $ac_f cannot contain `:'.
54526 test -f "$ac_f" ||
54527 case $ac_f in
54528 [\\/$]*) false;;
54529 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54530 esac ||
54531 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54532 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54533 { (exit 1); exit 1; }; };;
54534 esac
54535 ac_file_inputs="$ac_file_inputs $ac_f"
54536 done
54537
54538 # Let's still pretend it is `configure' which instantiates (i.e., don't
54539 # use $as_me), people would be surprised to read:
54540 # /* config.h. Generated by config.status. */
54541 configure_input="Generated from "`IFS=:
54542 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54543 if test x"$ac_file" != x-; then
54544 configure_input="$ac_file. $configure_input"
54545 { echo "$as_me:$LINENO: creating $ac_file" >&5
54546 echo "$as_me: creating $ac_file" >&6;}
54547 fi
54548
54549 case $ac_tag in
54550 *:-:* | *:-) cat >"$tmp/stdin";;
54551 esac
54552 ;;
54553 esac
54554
54555 ac_dir=`$as_dirname -- "$ac_file" ||
54556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54557 X"$ac_file" : 'X\(//\)[^/]' \| \
54558 X"$ac_file" : 'X\(//\)$' \| \
54559 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54560 echo X"$ac_file" |
54561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54562 s//\1/
54563 q
54564 }
54565 /^X\(\/\/\)[^/].*/{
54566 s//\1/
54567 q
54568 }
54569 /^X\(\/\/\)$/{
54570 s//\1/
54571 q
54572 }
54573 /^X\(\/\).*/{
54574 s//\1/
54575 q
54576 }
54577 s/.*/./; q'`
54578 { as_dir="$ac_dir"
54579 case $as_dir in #(
54580 -*) as_dir=./$as_dir;;
54581 esac
54582 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54583 as_dirs=
54584 while :; do
54585 case $as_dir in #(
54586 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54587 *) as_qdir=$as_dir;;
54588 esac
54589 as_dirs="'$as_qdir' $as_dirs"
54590 as_dir=`$as_dirname -- "$as_dir" ||
54591 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54592 X"$as_dir" : 'X\(//\)[^/]' \| \
54593 X"$as_dir" : 'X\(//\)$' \| \
54594 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54595 echo X"$as_dir" |
54596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54597 s//\1/
54598 q
54599 }
54600 /^X\(\/\/\)[^/].*/{
54601 s//\1/
54602 q
54603 }
54604 /^X\(\/\/\)$/{
54605 s//\1/
54606 q
54607 }
54608 /^X\(\/\).*/{
54609 s//\1/
54610 q
54611 }
54612 s/.*/./; q'`
54613 test -d "$as_dir" && break
54614 done
54615 test -z "$as_dirs" || eval "mkdir $as_dirs"
54616 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54617 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54618 { (exit 1); exit 1; }; }; }
54619 ac_builddir=.
54620
54621 case "$ac_dir" in
54622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54623 *)
54624 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54625 # A ".." for each directory in $ac_dir_suffix.
54626 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54627 case $ac_top_builddir_sub in
54628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54630 esac ;;
54631 esac
54632 ac_abs_top_builddir=$ac_pwd
54633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54634 # for backward compatibility:
54635 ac_top_builddir=$ac_top_build_prefix
54636
54637 case $srcdir in
54638 .) # We are building in place.
54639 ac_srcdir=.
54640 ac_top_srcdir=$ac_top_builddir_sub
54641 ac_abs_top_srcdir=$ac_pwd ;;
54642 [\\/]* | ?:[\\/]* ) # Absolute name.
54643 ac_srcdir=$srcdir$ac_dir_suffix;
54644 ac_top_srcdir=$srcdir
54645 ac_abs_top_srcdir=$srcdir ;;
54646 *) # Relative name.
54647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54648 ac_top_srcdir=$ac_top_build_prefix$srcdir
54649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54650 esac
54651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54652
54653
54654 case $ac_mode in
54655 :F)
54656 #
54657 # CONFIG_FILE
54658 #
54659
54660 case $INSTALL in
54661 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54662 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54663 esac
54664 _ACEOF
54665
54666 cat >>$CONFIG_STATUS <<\_ACEOF
54667 # If the template does not know about datarootdir, expand it.
54668 # FIXME: This hack should be removed a few years after 2.60.
54669 ac_datarootdir_hack=; ac_datarootdir_seen=
54670
54671 case `sed -n '/datarootdir/ {
54672 p
54673 q
54674 }
54675 /@datadir@/p
54676 /@docdir@/p
54677 /@infodir@/p
54678 /@localedir@/p
54679 /@mandir@/p
54680 ' $ac_file_inputs` in
54681 *datarootdir*) ac_datarootdir_seen=yes;;
54682 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54683 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54684 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54685 _ACEOF
54686 cat >>$CONFIG_STATUS <<_ACEOF
54687 ac_datarootdir_hack='
54688 s&@datadir@&$datadir&g
54689 s&@docdir@&$docdir&g
54690 s&@infodir@&$infodir&g
54691 s&@localedir@&$localedir&g
54692 s&@mandir@&$mandir&g
54693 s&\\\${datarootdir}&$datarootdir&g' ;;
54694 esac
54695 _ACEOF
54696
54697 # Neutralize VPATH when `$srcdir' = `.'.
54698 # Shell code in configure.ac might set extrasub.
54699 # FIXME: do we really want to maintain this feature?
54700 cat >>$CONFIG_STATUS <<_ACEOF
54701 sed "$ac_vpsub
54702 $extrasub
54703 _ACEOF
54704 cat >>$CONFIG_STATUS <<\_ACEOF
54705 :t
54706 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54707 s&@configure_input@&$configure_input&;t t
54708 s&@top_builddir@&$ac_top_builddir_sub&;t t
54709 s&@srcdir@&$ac_srcdir&;t t
54710 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54711 s&@top_srcdir@&$ac_top_srcdir&;t t
54712 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54713 s&@builddir@&$ac_builddir&;t t
54714 s&@abs_builddir@&$ac_abs_builddir&;t t
54715 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54716 s&@INSTALL@&$ac_INSTALL&;t t
54717 $ac_datarootdir_hack
54718 " $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
54719
54720 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54721 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54722 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54723 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54724 which seems to be undefined. Please make sure it is defined." >&5
54725 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54726 which seems to be undefined. Please make sure it is defined." >&2;}
54727
54728 rm -f "$tmp/stdin"
54729 case $ac_file in
54730 -) cat "$tmp/out"; rm -f "$tmp/out";;
54731 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54732 esac
54733 ;;
54734 :H)
54735 #
54736 # CONFIG_HEADER
54737 #
54738 _ACEOF
54739
54740 # Transform confdefs.h into a sed script `conftest.defines', that
54741 # substitutes the proper values into config.h.in to produce config.h.
54742 rm -f conftest.defines conftest.tail
54743 # First, append a space to every undef/define line, to ease matching.
54744 echo 's/$/ /' >conftest.defines
54745 # Then, protect against being on the right side of a sed subst, or in
54746 # an unquoted here document, in config.status. If some macros were
54747 # called several times there might be several #defines for the same
54748 # symbol, which is useless. But do not sort them, since the last
54749 # AC_DEFINE must be honored.
54750 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54751 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54752 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54753 # PARAMS is the parameter list in the macro definition--in most cases, it's
54754 # just an empty string.
54755 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54756 ac_dB='\\)[ (].*,\\1define\\2'
54757 ac_dC=' '
54758 ac_dD=' ,'
54759
54760 uniq confdefs.h |
54761 sed -n '
54762 t rset
54763 :rset
54764 s/^[ ]*#[ ]*define[ ][ ]*//
54765 t ok
54766 d
54767 :ok
54768 s/[\\&,]/\\&/g
54769 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54770 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54771 ' >>conftest.defines
54772
54773 # Remove the space that was appended to ease matching.
54774 # Then replace #undef with comments. This is necessary, for
54775 # example, in the case of _POSIX_SOURCE, which is predefined and required
54776 # on some systems where configure will not decide to define it.
54777 # (The regexp can be short, since the line contains either #define or #undef.)
54778 echo 's/ $//
54779 s,^[ #]*u.*,/* & */,' >>conftest.defines
54780
54781 # Break up conftest.defines:
54782 ac_max_sed_lines=50
54783
54784 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54785 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54786 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54787 # et cetera.
54788 ac_in='$ac_file_inputs'
54789 ac_out='"$tmp/out1"'
54790 ac_nxt='"$tmp/out2"'
54791
54792 while :
54793 do
54794 # Write a here document:
54795 cat >>$CONFIG_STATUS <<_ACEOF
54796 # First, check the format of the line:
54797 cat >"\$tmp/defines.sed" <<\\CEOF
54798 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54799 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54800 b
54801 :def
54802 _ACEOF
54803 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54804 echo 'CEOF
54805 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54806 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54807 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54808 grep . conftest.tail >/dev/null || break
54809 rm -f conftest.defines
54810 mv conftest.tail conftest.defines
54811 done
54812 rm -f conftest.defines conftest.tail
54813
54814 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54815 cat >>$CONFIG_STATUS <<\_ACEOF
54816 if test x"$ac_file" != x-; then
54817 echo "/* $configure_input */" >"$tmp/config.h"
54818 cat "$ac_result" >>"$tmp/config.h"
54819 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54820 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54821 echo "$as_me: $ac_file is unchanged" >&6;}
54822 else
54823 rm -f $ac_file
54824 mv "$tmp/config.h" $ac_file
54825 fi
54826 else
54827 echo "/* $configure_input */"
54828 cat "$ac_result"
54829 fi
54830 rm -f "$tmp/out12"
54831 ;;
54832
54833 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54834 echo "$as_me: executing $ac_file commands" >&6;}
54835 ;;
54836 esac
54837
54838
54839 case $ac_file$ac_mode in
54840 "rcdefs.h":C)
54841 mkdir -p $outdir &&
54842 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54843 ;;
54844 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54845 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54846 "wx-config":C) rm -f wx-config
54847 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54848 ;;
54849
54850 esac
54851 done # for ac_tag
54852
54853
54854 { (exit 0); exit 0; }
54855 _ACEOF
54856 chmod +x $CONFIG_STATUS
54857 ac_clean_files=$ac_clean_files_save
54858
54859
54860 # configure is writing to config.log, and then calls config.status.
54861 # config.status does its own redirection, appending to config.log.
54862 # Unfortunately, on DOS this fails, as config.log is still kept open
54863 # by configure, so config.status won't be able to write to it; its
54864 # output is simply discarded. So we exec the FD to /dev/null,
54865 # effectively closing config.log, so it can be properly (re)opened and
54866 # appended to by config.status. When coming back to configure, we
54867 # need to make the FD available again.
54868 if test "$no_create" != yes; then
54869 ac_cs_success=:
54870 ac_config_status_args=
54871 test "$silent" = yes &&
54872 ac_config_status_args="$ac_config_status_args --quiet"
54873 exec 5>/dev/null
54874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54875 exec 5>>config.log
54876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54877 # would make configure fail if this is the last instruction.
54878 $ac_cs_success || { (exit 1); exit 1; }
54879 fi
54880
54881 #
54882 # CONFIG_SUBDIRS section.
54883 #
54884 if test "$no_recursion" != yes; then
54885
54886 # Remove --cache-file and --srcdir arguments so they do not pile up.
54887 ac_sub_configure_args=
54888 ac_prev=
54889 eval "set x $ac_configure_args"
54890 shift
54891 for ac_arg
54892 do
54893 if test -n "$ac_prev"; then
54894 ac_prev=
54895 continue
54896 fi
54897 case $ac_arg in
54898 -cache-file | --cache-file | --cache-fil | --cache-fi \
54899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54900 ac_prev=cache_file ;;
54901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54903 | --c=*)
54904 ;;
54905 --config-cache | -C)
54906 ;;
54907 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54908 ac_prev=srcdir ;;
54909 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54910 ;;
54911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54912 ac_prev=prefix ;;
54913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54914 ;;
54915 *)
54916 case $ac_arg in
54917 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54918 esac
54919 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54920 esac
54921 done
54922
54923 # Always prepend --prefix to ensure using the same prefix
54924 # in subdir configurations.
54925 ac_arg="--prefix=$prefix"
54926 case $ac_arg in
54927 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54928 esac
54929 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54930
54931 # Pass --silent
54932 if test "$silent" = yes; then
54933 ac_sub_configure_args="--silent $ac_sub_configure_args"
54934 fi
54935
54936 ac_popdir=`pwd`
54937 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54938
54939 # Do not complain, so a configure script can configure whichever
54940 # parts of a large source tree are present.
54941 test -d "$srcdir/$ac_dir" || continue
54942
54943 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54944 echo "$as_me:$LINENO: $ac_msg" >&5
54945 echo "$ac_msg" >&6
54946 { as_dir="$ac_dir"
54947 case $as_dir in #(
54948 -*) as_dir=./$as_dir;;
54949 esac
54950 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54951 as_dirs=
54952 while :; do
54953 case $as_dir in #(
54954 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54955 *) as_qdir=$as_dir;;
54956 esac
54957 as_dirs="'$as_qdir' $as_dirs"
54958 as_dir=`$as_dirname -- "$as_dir" ||
54959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54960 X"$as_dir" : 'X\(//\)[^/]' \| \
54961 X"$as_dir" : 'X\(//\)$' \| \
54962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54963 echo X"$as_dir" |
54964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54965 s//\1/
54966 q
54967 }
54968 /^X\(\/\/\)[^/].*/{
54969 s//\1/
54970 q
54971 }
54972 /^X\(\/\/\)$/{
54973 s//\1/
54974 q
54975 }
54976 /^X\(\/\).*/{
54977 s//\1/
54978 q
54979 }
54980 s/.*/./; q'`
54981 test -d "$as_dir" && break
54982 done
54983 test -z "$as_dirs" || eval "mkdir $as_dirs"
54984 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54985 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54986 { (exit 1); exit 1; }; }; }
54987 ac_builddir=.
54988
54989 case "$ac_dir" in
54990 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54991 *)
54992 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54993 # A ".." for each directory in $ac_dir_suffix.
54994 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54995 case $ac_top_builddir_sub in
54996 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54997 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54998 esac ;;
54999 esac
55000 ac_abs_top_builddir=$ac_pwd
55001 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55002 # for backward compatibility:
55003 ac_top_builddir=$ac_top_build_prefix
55004
55005 case $srcdir in
55006 .) # We are building in place.
55007 ac_srcdir=.
55008 ac_top_srcdir=$ac_top_builddir_sub
55009 ac_abs_top_srcdir=$ac_pwd ;;
55010 [\\/]* | ?:[\\/]* ) # Absolute name.
55011 ac_srcdir=$srcdir$ac_dir_suffix;
55012 ac_top_srcdir=$srcdir
55013 ac_abs_top_srcdir=$srcdir ;;
55014 *) # Relative name.
55015 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55016 ac_top_srcdir=$ac_top_build_prefix$srcdir
55017 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55018 esac
55019 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55020
55021
55022 cd "$ac_dir"
55023
55024 # Check for guested configure; otherwise get Cygnus style configure.
55025 if test -f "$ac_srcdir/configure.gnu"; then
55026 ac_sub_configure=$ac_srcdir/configure.gnu
55027 elif test -f "$ac_srcdir/configure"; then
55028 ac_sub_configure=$ac_srcdir/configure
55029 elif test -f "$ac_srcdir/configure.in"; then
55030 # This should be Cygnus configure.
55031 ac_sub_configure=$ac_aux_dir/configure
55032 else
55033 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55034 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55035 ac_sub_configure=
55036 fi
55037
55038 # The recursion is here.
55039 if test -n "$ac_sub_configure"; then
55040 # Make the cache file name correct relative to the subdirectory.
55041 case $cache_file in
55042 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55043 *) # Relative name.
55044 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55045 esac
55046
55047 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55048 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55049 # The eval makes quoting arguments work.
55050 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55051 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55052 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55053 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55054 { (exit 1); exit 1; }; }
55055 fi
55056
55057 cd "$ac_popdir"
55058 done
55059 fi
55060
55061
55062 echo
55063 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55064 echo ""
55065 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55066 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55067
55068 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55069 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55070 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55071 if test "$wxUSE_UNICODE" = "yes"; then
55072 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55073 echo " (using UTF-8)"
55074 else
55075 echo " (using wchar_t)"
55076 fi
55077 else
55078 echo
55079 fi
55080
55081 echo " What level of wxWidgets compatibility should be enabled?"
55082 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55083 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55084
55085 echo " Which libraries should wxWidgets use?"
55086 echo " jpeg ${wxUSE_LIBJPEG-none}"
55087 echo " png ${wxUSE_LIBPNG-none}"
55088 echo " regex ${wxUSE_REGEX}"
55089 echo " tiff ${wxUSE_LIBTIFF-none}"
55090 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55091 echo " xpm ${wxUSE_LIBXPM-none}"
55092 fi
55093 echo " zlib ${wxUSE_ZLIB}"
55094 echo " odbc ${wxUSE_ODBC}"
55095 echo " expat ${wxUSE_EXPAT}"
55096 echo " libmspack ${wxUSE_LIBMSPACK}"
55097 echo " sdl ${wxUSE_LIBSDL}"
55098
55099 echo ""
55100