]> git.saurik.com Git - wxWidgets.git/blob - configure
disable warning about possible misaligned access given by HP aCC as we can't do anyth...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 56751 2008-11-12 15:58: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 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 OBJCXXFLAGS
810 GCC_PCH
811 ICC_PCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 --target=TARGET configure for building compilers for TARGET [HOST]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x-locale support (requires wxLocale)
1698 --enable-config use wxConfig (and derived) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP (requires wxProtocol
1701 --enable-http use wxHTTP (requires wxProtocol
1702 --enable-fileproto use wxFileProto class (requires wxProtocol
1703 --enable-sockets use socket/network classes
1704 --enable-ipv6 enable IPv6 support in wxSocket
1705 --enable-ole use OLE classes (Win32 only)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication (wxSocket etc.)
1708 --enable-baseevtloop use event loop in console programs too
1709 --enable-epollloop use wxEpollDispatcher class (Linux only)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding/decoding functions
1714 --enable-backtrace use wxStackWalker class for getting backtraces
1715 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class for DLL loading
1721 --enable-dynamicloader use (new) wxDynamicLibrary class
1722 --enable-exceptions build exception-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support in wxProtocol
1751 --enable-protocol-ftp FTP support in wxProtocol
1752 --enable-protocol-file FILE support in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig (Win32 only)
1755 --enable-regkey use wxRegKey class (Win32 only)
1756 --enable-docview use document view architecture
1757 --enable-help use help subsystem
1758 --enable-mshtmlhelp use MS HTML Help (win32)
1759 --enable-html use wxHTML sub-library
1760 --enable-htmlhelp use wxHTML-based help
1761 --enable-xrc use XRC resources sub-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl (Mac)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context 2D drawing API
1776 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-button use wxButton class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-dirpicker use wxDirPickerCtrl class
1800 --enable-display use wxDisplay class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filepicker use wxFilePickerCtrl class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-dataviewctrl use wxDataViewCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-radiobox use wxRadioBox class
1818 --enable-radiobtn use wxRadioButton class
1819 --enable-sash use wxSashWindow class
1820 --enable-scrollbar use wxScrollBar class and scrollable windows
1821 --enable-searchctrl use wxSearchCtrl class
1822 --enable-slider use wxSlider class
1823 --enable-spinbtn use wxSpinButton class
1824 --enable-spinctrl use wxSpinCtrl class
1825 --enable-splitter use wxSplitterWindow class
1826 --enable-statbmp use wxStaticBitmap class
1827 --enable-statbox use wxStaticBox class
1828 --enable-statline use wxStaticLine class
1829 --enable-stattext use wxStaticText class
1830 --enable-statusbar use wxStatusBar class
1831 --enable-tabdialog use wxTabControl class
1832 --enable-taskbaricon use wxTaskBarIcon class
1833 --enable-textctrl use wxTextCtrl class
1834 --enable-togglebtn use wxToggleButton class
1835 --enable-toolbar use wxToolBar class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-treebook use wxTreebook class
1838 --enable-toolbook use wxToolbook class
1839 --enable-treectrl use wxTreeCtrl class
1840 --enable-tipwindow use wxTipWindow class
1841 --enable-popupwin use wxPopUpWindow class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile (Win32 only)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images (GIF file format)
1871 --enable-pcx use pcx images (PCX file format)
1872 --enable-tga use tga images (TGA file format)
1873 --enable-iff use iff images (IFF file format)
1874 --enable-pnm use pnm images (PNM file format)
1875 --enable-xpm use xpm images (XPM file format)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects (Win32 only)
1878 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1879 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1880 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1881 --enable-wxdib use wxDIB class (Win32 only)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support for large files
1884 --disable-gtktest do not try to compile and run a test GTK+ program
1885 --disable-gtktest Do not try to compile and run a test GTK program
1886 --disable-sdltest Do not try to compile and run a test SDL program
1887 --enable-omf use OMF object format (OS/2)
1888 --disable-dependency-tracking
1889 don't use dependency tracking even if the compiler
1890 can
1891 --disable-precomp-headers
1892 don't use precompiled headers even if compiler can
1893
1894 Optional Packages:
1895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1897 --without-subdirs don't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1912 --with-x11 use X11
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1939
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1948 CPP C preprocessor
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1952 DIRECTFB_CFLAGS
1953 C compiler flags for DIRECTFB, overriding pkg-config
1954 DIRECTFB_LIBS
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1957 PANGOX_CFLAGS
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1960 PANGOFT2_CFLAGS
1961 C compiler flags for PANGOFT2, overriding pkg-config
1962 PANGOFT2_LIBS
1963 linker flags for PANGOFT2, overriding pkg-config
1964 PANGOXFT_CFLAGS
1965 C compiler flags for PANGOXFT, overriding pkg-config
1966 PANGOXFT_LIBS
1967 linker flags for PANGOXFT, overriding pkg-config
1968 GTKPRINT_CFLAGS
1969 C compiler flags for GTKPRINT, overriding pkg-config
1970 GTKPRINT_LIBS
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 GNOMEVFS_CFLAGS
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1978 GNOMEVFS_LIBS
1979 linker flags for GNOMEVFS, overriding pkg-config
1980 HILDON_CFLAGS
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1983 CAIRO_CFLAGS
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1988
1989 Use these variables to override the choices made by `configure' or to help
1990 it to find libraries and programs with nonstandard names/locations.
1991
1992 Report bugs to <wx-dev@lists.wxwidgets.org>.
1993 _ACEOF
1994 ac_status=$?
1995 fi
1996
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2000 test -d "$ac_dir" || continue
2001 ac_builddir=.
2002
2003 case "$ac_dir" in
2004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2005 *)
2006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2012 esac ;;
2013 esac
2014 ac_abs_top_builddir=$ac_pwd
2015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir=$ac_top_build_prefix
2018
2019 case $srcdir in
2020 .) # We are building in place.
2021 ac_srcdir=.
2022 ac_top_srcdir=$ac_top_builddir_sub
2023 ac_abs_top_srcdir=$ac_pwd ;;
2024 [\\/]* | ?:[\\/]* ) # Absolute name.
2025 ac_srcdir=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir=$srcdir
2027 ac_abs_top_srcdir=$srcdir ;;
2028 *) # Relative name.
2029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2032 esac
2033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2034
2035 cd "$ac_dir" || { ac_status=$?; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2038 echo &&
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2043 else
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2045 fi || ac_status=$?
2046 cd "$ac_pwd" || { ac_status=$?; break; }
2047 done
2048 fi
2049
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2052 cat <<\_ACEOF
2053 wxWidgets configure 2.9.0
2054 generated by GNU Autoconf 2.61
2055
2056 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2058 This configure script is free software; the Free Software Foundation
2059 gives unlimited permission to copy, distribute and modify it.
2060 _ACEOF
2061 exit
2062 fi
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2143 2)
2144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 ac_configure_args="$ac_configure_args '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2166 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2182 _ASBOX
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2219 _ASBOX
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 cat <<\_ASBOX
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_files
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247 fi
2248
2249 if test -s confdefs.h; then
2250 cat <<\_ASBOX
2251 ## ----------- ##
2252 ## confdefs.h. ##
2253 ## ----------- ##
2254 _ASBOX
2255 echo
2256 cat confdefs.h
2257 echo
2258 fi
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2262 } >&5
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2265 exit $exit_status
2266 ' 0
2267 for ac_signal in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2269 done
2270 ac_signal=0
2271
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest* confdefs.h
2274
2275 # Predefined preprocessor variables.
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 _ACEOF
2280
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x "$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE; then
2307 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2308 else
2309 set x "$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2311 fi
2312 shift
2313 for ac_site_file
2314 do
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2319 . "$ac_site_file"
2320 fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2329 case $cache_file in
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2332 esac
2333 fi
2334 else
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2337 >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted=:
2367 fi;;
2368 esac
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2371 case $ac_new_val in
2372 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg=$ac_var=$ac_new_val ;;
2374 esac
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2378 esac
2379 fi
2380 done
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421
2422
2423 ac_aux_dir=
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2428 break
2429 elif test -f "$ac_dir/install.sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2432 break
2433 elif test -f "$ac_dir/shtool"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2436 break
2437 fi
2438 done
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2459
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 ac_build_alias=$build_alias
2466 test "x$ac_build_alias" = x &&
2467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x &&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 build=$ac_cv_build
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_build
2489 shift
2490 build_cpu=$1
2491 build_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 build_os=$*
2496 IFS=$ac_save_IFS
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2507 else
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 host=$ac_cv_host
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_host
2526 shift
2527 host_cpu=$1
2528 host_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 host_os=$*
2533 IFS=$ac_save_IFS
2534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 { echo "$as_me:$LINENO: checking target system type" >&5
2538 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2539 if test "${ac_cv_target+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 if test "x$target_alias" = x; then
2543 ac_cv_target=$ac_cv_host
2544 else
2545 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2548 { (exit 1); exit 1; }; }
2549 fi
2550
2551 fi
2552 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2553 echo "${ECHO_T}$ac_cv_target" >&6; }
2554 case $ac_cv_target in
2555 *-*-*) ;;
2556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2557 echo "$as_me: error: invalid value of canonical target" >&2;}
2558 { (exit 1); exit 1; }; };;
2559 esac
2560 target=$ac_cv_target
2561 ac_save_IFS=$IFS; IFS='-'
2562 set x $ac_cv_target
2563 shift
2564 target_cpu=$1
2565 target_vendor=$2
2566 shift; shift
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2569 target_os=$*
2570 IFS=$ac_save_IFS
2571 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2572
2573
2574 # The aliases save the names the user supplied, while $host etc.
2575 # will get canonicalized.
2576 test -n "$target_alias" &&
2577 test "$program_prefix$program_suffix$program_transform_name" = \
2578 NONENONEs,x,x, &&
2579 program_prefix=${target_alias}-
2580
2581
2582
2583 wx_major_version_number=2
2584 wx_minor_version_number=9
2585 wx_release_number=0
2586 wx_subrelease_number=0
2587
2588 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2589 WX_VERSION=$WX_RELEASE.$wx_release_number
2590 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2591
2592 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2593
2594
2595 wx_top_builddir="`pwd`"
2596
2597
2598
2599
2600 USE_UNIX=1
2601 USE_OS2=0
2602 USE_WIN32=0
2603 USE_DOS=0
2604 USE_BEOS=0
2605 USE_MAC=0
2606
2607 USE_AIX=
2608 USE_BSD= USE_DARWIN= USE_FREEBSD=
2609 USE_GNU= USE_HPUX=
2610 USE_LINUX=
2611 USE_NETBSD=
2612 USE_OPENBSD=
2613 USE_OSF= USE_SGI=
2614 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2615 USE_ULTRIX=
2616 USE_UNIXWARE=
2617
2618 USE_ALPHA=
2619
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2621
2622 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2623
2624 DEFAULT_wxUSE_COCOA=0
2625 DEFAULT_wxUSE_GTK=0
2626 DEFAULT_wxUSE_OSX_CARBON=0
2627 DEFAULT_wxUSE_OSX_COCOA=0
2628 DEFAULT_wxUSE_MGL=0
2629 DEFAULT_wxUSE_MICROWIN=0
2630 DEFAULT_wxUSE_MOTIF=0
2631 DEFAULT_wxUSE_MSW=0
2632 DEFAULT_wxUSE_PM=0
2633 DEFAULT_wxUSE_X11=0
2634 DEFAULT_wxUSE_DFB=0
2635
2636 DEFAULT_DEFAULT_wxUSE_COCOA=0
2637 DEFAULT_DEFAULT_wxUSE_GTK=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_MGL=0
2641 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2642 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2643 DEFAULT_DEFAULT_wxUSE_MSW=0
2644 DEFAULT_DEFAULT_wxUSE_PM=0
2645 DEFAULT_DEFAULT_wxUSE_X11=0
2646 DEFAULT_DEFAULT_wxUSE_DFB=0
2647
2648 PROGRAM_EXT=
2649 SAMPLES_RPATH_FLAG=
2650 SAMPLES_RPATH_POSTLINK=
2651
2652 DEFAULT_STD_FLAG=yes
2653
2654 case "${host}" in
2655 *-hp-hpux* )
2656 USE_HPUX=1
2657 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2658 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __HPUX__ 1
2661 _ACEOF
2662
2663
2664 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2665 ;;
2666 *-*-linux* )
2667 USE_LINUX=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __LINUX__ 1
2670 _ACEOF
2671
2672 TMP=`uname -m`
2673 if test "x$TMP" = "xalpha"; then
2674 USE_ALPHA=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __ALPHA__ 1
2677 _ACEOF
2678
2679 fi
2680 DEFAULT_DEFAULT_wxUSE_GTK=1
2681 ;;
2682 *-*-gnu* | *-*-k*bsd*-gnu )
2683 USE_GNU=1
2684 TMP=`uname -m`
2685 if test "x$TMP" = "xalpha"; then
2686 USE_ALPHA=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __ALPHA__ 1
2689 _ACEOF
2690
2691 fi
2692 DEFAULT_DEFAULT_wxUSE_GTK=1
2693 ;;
2694 *-*-irix5* | *-*-irix6* )
2695 USE_SGI=1
2696 USE_SVR4=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SGI__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SVR4__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-solaris2* )
2708 USE_SUN=1
2709 USE_SOLARIS=1
2710 USE_SVR4=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __SUN__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __SOLARIS__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __SVR4__ 1
2721 _ACEOF
2722
2723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2725 ;;
2726 *-*-sunos4* )
2727 USE_SUN=1
2728 USE_SUNOS=1
2729 USE_BSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SUN__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SUNOS__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 ;;
2744 *-*-freebsd*)
2745 USE_BSD=1
2746 USE_FREEBSD=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __FREEBSD__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 ;;
2757 *-*-openbsd*|*-*-mirbsd*)
2758 USE_BSD=1
2759 USE_OPENBSD=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OPENBSD__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __BSD__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_GTK=1
2769 ;;
2770 *-*-netbsd*)
2771 USE_BSD=1
2772 USE_NETBSD=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __NETBSD__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __BSD__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2782 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2783
2784 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2785 ;;
2786 *-*-osf* )
2787 USE_ALPHA=1
2788 USE_OSF=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __ALPHA__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __OSF__ 1
2795 _ACEOF
2796
2797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2798 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2799 ;;
2800 *-*-dgux5* )
2801 USE_ALPHA=1
2802 USE_SVR4=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __ALPHA__ 1
2805 _ACEOF
2806
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __SVR4__ 1
2809 _ACEOF
2810
2811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2812 ;;
2813 *-*-sysv5* )
2814 USE_SYSV=1
2815 USE_SVR4=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __SYSV__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SVR4__ 1
2822 _ACEOF
2823
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2825 ;;
2826 *-*-aix* )
2827 USE_AIX=1
2828 USE_SYSV=1
2829 USE_SVR4=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __AIX__ 1
2832 _ACEOF
2833
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __SYSV__ 1
2836 _ACEOF
2837
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __SVR4__ 1
2840 _ACEOF
2841
2842 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2843 ;;
2844
2845 *-*-*UnixWare*)
2846 USE_SYSV=1
2847 USE_SVR4=1
2848 USE_UNIXWARE=1
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __UNIXWARE__ 1
2851 _ACEOF
2852
2853 ;;
2854
2855 *-*-cygwin* | *-*-mingw32* )
2856 PROGRAM_EXT=".exe"
2857 DEFAULT_DEFAULT_wxUSE_MSW=1
2858 ;;
2859
2860 *-pc-msdosdjgpp )
2861 USE_UNIX=0
2862 USE_DOS=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __DOS__ 1
2865 _ACEOF
2866
2867 PROGRAM_EXT=".exe"
2868 DEFAULT_DEFAULT_wxUSE_MGL=1
2869 ;;
2870
2871 *-pc-os2_emx | *-pc-os2-emx )
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __EMX__ 1
2874 _ACEOF
2875
2876 USE_OS2=1
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __OS2__ 1
2879 _ACEOF
2880
2881 PROGRAM_EXT=".exe"
2882 DEFAULT_DEFAULT_wxUSE_PM=1
2883 CXX=gcc
2884 LDFLAGS="$LDFLAGS -Zcrtdll"
2885 ac_executable_extensions=".exe"
2886 export ac_executable_extensions
2887 ac_save_IFS="$IFS"
2888 IFS='\\'
2889 ac_TEMP_PATH=
2890 for ac_dir in $PATH; do
2891 IFS=$ac_save_IFS
2892 if test -z "$ac_TEMP_PATH"; then
2893 ac_TEMP_PATH="$ac_dir"
2894 else
2895 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2896 fi
2897 done
2898 export PATH="$ac_TEMP_PATH"
2899 unset ac_TEMP_PATH
2900 DEFAULT_STD_FLAG=no
2901 ;;
2902
2903 *-*-darwin* )
2904 USE_BSD=1
2905 USE_DARWIN=1
2906 cat >>confdefs.h <<\_ACEOF
2907 #define __BSD__ 1
2908 _ACEOF
2909
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __DARWIN__ 1
2912 _ACEOF
2913
2914 cat >>confdefs.h <<\_ACEOF
2915 #define TARGET_CARBON 1
2916 _ACEOF
2917
2918 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2919 DEFAULT_STD_FLAG=no
2920 ;;
2921 powerpc-apple-macos* )
2922 USE_UNIX=0
2923 ac_cv_c_bigendian=yes
2924 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2925 DEFAULT_STD_FLAG=no
2926 ;;
2927
2928 *-*-beos* )
2929 USE_BEOS=1
2930 cat >>confdefs.h <<\_ACEOF
2931 #define __BEOS__ 1
2932 _ACEOF
2933
2934 ;;
2935
2936 *)
2937 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2938 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2939 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2940 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2941
2942 DEFAULT_DEFAULT_wxUSE_X11=1
2943 DEFAULT_wxUSE_SHARED=no
2944 esac
2945
2946
2947
2948 DEFAULT_wxUSE_ALL_FEATURES=yes
2949
2950 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2951 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2952
2953 DEFAULT_wxUSE_DMALLOC=no
2954 DEFAULT_wxUSE_LIBGNOMEVFS=no
2955 DEFAULT_wxUSE_LIBHILDON=no
2956 DEFAULT_wxUSE_LIBMSPACK=no
2957 DEFAULT_wxUSE_LIBSDL=no
2958 DEFAULT_wxUSE_OPENGL=no
2959
2960 DEFAULT_wxUSE_ACCESSIBILITY=no
2961 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2962 DEFAULT_wxUSE_IPV6=no
2963 DEFAULT_wxUSE_MEDIACTRL=no
2964 DEFAULT_wxUSE_TAB_DIALOG=no
2965 DEFAULT_wxUSE_GSTREAMER8=no
2966
2967 DEFAULT_wxUSE_UNICODE_UTF8=auto
2968 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2969
2970 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2971
2972 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2973
2974 DEFAULT_wxUSE_GTK2=yes
2975
2976 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2977
2978
2979
2980
2981
2982 enablestring=disable
2983 defaultval=
2984 if test -z "$defaultval"; then
2985 if test x"$enablestring" = xdisable; then
2986 defaultval=yes
2987 else
2988 defaultval=no
2989 fi
2990 fi
2991
2992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2993 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2994 # Check whether --enable-gui was given.
2995 if test "${enable_gui+set}" = set; then
2996 enableval=$enable_gui;
2997 if test "$enableval" = yes; then
2998 wx_cv_use_gui='wxUSE_GUI=yes'
2999 else
3000 wx_cv_use_gui='wxUSE_GUI=no'
3001 fi
3002
3003 else
3004
3005 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3006
3007 fi
3008
3009
3010 eval "$wx_cv_use_gui"
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
3047 else
3048
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3050
3051 fi
3052
3053
3054 eval "$wx_cv_use_monolithic"
3055
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_MONOLITHIC = yes; then
3058 result=no
3059 else
3060 result=yes
3061 fi
3062 else
3063 result=$wxUSE_MONOLITHIC
3064 fi
3065
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3068
3069
3070 enablestring=
3071 defaultval=
3072 if test -z "$defaultval"; then
3073 if test x"$enablestring" = xdisable; then
3074 defaultval=yes
3075 else
3076 defaultval=no
3077 fi
3078 fi
3079
3080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3081 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3082 # Check whether --enable-plugins was given.
3083 if test "${enable_plugins+set}" = set; then
3084 enableval=$enable_plugins;
3085 if test "$enableval" = yes; then
3086 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3087 else
3088 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3089 fi
3090
3091 else
3092
3093 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3094
3095 fi
3096
3097
3098 eval "$wx_cv_use_plugins"
3099
3100 if test x"$enablestring" = xdisable; then
3101 if test $wxUSE_PLUGINS = yes; then
3102 result=no
3103 else
3104 result=yes
3105 fi
3106 else
3107 result=$wxUSE_PLUGINS
3108 fi
3109
3110 { echo "$as_me:$LINENO: result: $result" >&5
3111 echo "${ECHO_T}$result" >&6; }
3112
3113
3114 withstring=without
3115 defaultval=$wxUSE_ALL_FEATURES
3116 if test -z "$defaultval"; then
3117 if test x"$withstring" = xwithout; then
3118 defaultval=yes
3119 else
3120 defaultval=no
3121 fi
3122 fi
3123 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3124 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3125
3126 # Check whether --with-subdirs was given.
3127 if test "${with_subdirs+set}" = set; then
3128 withval=$with_subdirs;
3129 if test "$withval" = yes; then
3130 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3131 else
3132 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3133 fi
3134
3135 else
3136
3137 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3138
3139 fi
3140
3141
3142 eval "$wx_cv_use_subdirs"
3143
3144 if test x"$withstring" = xwithout; then
3145 if test $wxWITH_SUBDIRS = yes; then
3146 result=no
3147 else
3148 result=yes
3149 fi
3150 else
3151 result=$wxWITH_SUBDIRS
3152 fi
3153
3154 { echo "$as_me:$LINENO: result: $result" >&5
3155 echo "${ECHO_T}$result" >&6; }
3156
3157
3158 # Check whether --with-flavour was given.
3159 if test "${with_flavour+set}" = set; then
3160 withval=$with_flavour; WX_FLAVOUR="$withval"
3161 fi
3162
3163
3164 enablestring=
3165 defaultval=
3166 if test -z "$defaultval"; then
3167 if test x"$enablestring" = xdisable; then
3168 defaultval=yes
3169 else
3170 defaultval=no
3171 fi
3172 fi
3173
3174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3175 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3176 # Check whether --enable-official_build was given.
3177 if test "${enable_official_build+set}" = set; then
3178 enableval=$enable_official_build;
3179 if test "$enableval" = yes; then
3180 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3181 else
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3183 fi
3184
3185 else
3186
3187 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3188
3189 fi
3190
3191
3192 eval "$wx_cv_use_official_build"
3193
3194 if test x"$enablestring" = xdisable; then
3195 if test $wxUSE_OFFICIAL_BUILD = yes; then
3196 result=no
3197 else
3198 result=yes
3199 fi
3200 else
3201 result=$wxUSE_OFFICIAL_BUILD
3202 fi
3203
3204 { echo "$as_me:$LINENO: result: $result" >&5
3205 echo "${ECHO_T}$result" >&6; }
3206
3207 # Check whether --enable-vendor was given.
3208 if test "${enable_vendor+set}" = set; then
3209 enableval=$enable_vendor; VENDOR="$enableval"
3210 fi
3211
3212 if test "x$VENDOR" = "x"; then
3213 VENDOR="custom"
3214 fi
3215
3216
3217 enablestring=disable
3218 defaultval=
3219 if test -z "$defaultval"; then
3220 if test x"$enablestring" = xdisable; then
3221 defaultval=yes
3222 else
3223 defaultval=no
3224 fi
3225 fi
3226
3227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3229 # Check whether --enable-all-features was given.
3230 if test "${enable_all_features+set}" = set; then
3231 enableval=$enable_all_features;
3232 if test "$enableval" = yes; then
3233 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3234 else
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3236 fi
3237
3238 else
3239
3240 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3241
3242 fi
3243
3244
3245 eval "$wx_cv_use_all_features"
3246
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_ALL_FEATURES = yes; then
3249 result=no
3250 else
3251 result=yes
3252 fi
3253 else
3254 result=$wxUSE_ALL_FEATURES
3255 fi
3256
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3259
3260
3261
3262 if test "$wxUSE_GUI" = "yes"; then
3263
3264
3265 enablestring=
3266 defaultval=
3267 if test -z "$defaultval"; then
3268 if test x"$enablestring" = xdisable; then
3269 defaultval=yes
3270 else
3271 defaultval=no
3272 fi
3273 fi
3274
3275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3276 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3277 # Check whether --enable-universal was given.
3278 if test "${enable_universal+set}" = set; then
3279 enableval=$enable_universal;
3280 if test "$enableval" = yes; then
3281 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3282 else
3283 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3284 fi
3285
3286 else
3287
3288 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3289
3290 fi
3291
3292
3293 eval "$wx_cv_use_universal"
3294
3295 if test x"$enablestring" = xdisable; then
3296 if test $wxUSE_UNIVERSAL = yes; then
3297 result=no
3298 else
3299 result=yes
3300 fi
3301 else
3302 result=$wxUSE_UNIVERSAL
3303 fi
3304
3305 { echo "$as_me:$LINENO: result: $result" >&5
3306 echo "${ECHO_T}$result" >&6; }
3307
3308 if test "$wxUSE_UNIVERSAL" = "yes"; then
3309
3310 # Check whether --with-themes was given.
3311 if test "${with_themes+set}" = set; then
3312 withval=$with_themes; wxUNIV_THEMES="$withval"
3313 fi
3314
3315 fi
3316
3317
3318 # Check whether --with-gtk was given.
3319 if test "${with_gtk+set}" = set; then
3320 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-motif was given.
3325 if test "${with_motif+set}" = set; then
3326 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-osx_carbon was given.
3331 if test "${with_osx_carbon+set}" = set; then
3332 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-osx_cocoa was given.
3337 if test "${with_osx_cocoa+set}" = set; then
3338 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-mac was given.
3343 if test "${with_mac+set}" = set; then
3344 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-cocoa was given.
3349 if test "${with_cocoa+set}" = set; then
3350 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-wine was given.
3355 if test "${with_wine+set}" = set; then
3356 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3357 fi
3358
3359
3360 # Check whether --with-msw was given.
3361 if test "${with_msw+set}" = set; then
3362 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-pm was given.
3367 if test "${with_pm+set}" = set; then
3368 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-mgl was given.
3373 if test "${with_mgl+set}" = set; then
3374 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-directfb was given.
3379 if test "${with_directfb+set}" = set; then
3380 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-microwin was given.
3385 if test "${with_microwin+set}" = set; then
3386 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-x11 was given.
3391 if test "${with_x11+set}" = set; then
3392 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 enablestring=
3397 defaultval=
3398 if test -z "$defaultval"; then
3399 if test x"$enablestring" = xdisable; then
3400 defaultval=yes
3401 else
3402 defaultval=no
3403 fi
3404 fi
3405
3406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3407 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3408 # Check whether --enable-nanox was given.
3409 if test "${enable_nanox+set}" = set; then
3410 enableval=$enable_nanox;
3411 if test "$enableval" = yes; then
3412 wx_cv_use_nanox='wxUSE_NANOX=yes'
3413 else
3414 wx_cv_use_nanox='wxUSE_NANOX=no'
3415 fi
3416
3417 else
3418
3419 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3420
3421 fi
3422
3423
3424 eval "$wx_cv_use_nanox"
3425
3426 if test x"$enablestring" = xdisable; then
3427 if test $wxUSE_NANOX = yes; then
3428 result=no
3429 else
3430 result=yes
3431 fi
3432 else
3433 result=$wxUSE_NANOX
3434 fi
3435
3436 { echo "$as_me:$LINENO: result: $result" >&5
3437 echo "${ECHO_T}$result" >&6; }
3438
3439
3440 # Check whether --enable-gtk2 was given.
3441 if test "${enable_gtk2+set}" = set; then
3442 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3443 fi
3444
3445
3446 enablestring=
3447 defaultval=
3448 if test -z "$defaultval"; then
3449 if test x"$enablestring" = xdisable; then
3450 defaultval=yes
3451 else
3452 defaultval=no
3453 fi
3454 fi
3455
3456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3457 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3458 # Check whether --enable-gpe was given.
3459 if test "${enable_gpe+set}" = set; then
3460 enableval=$enable_gpe;
3461 if test "$enableval" = yes; then
3462 wx_cv_use_gpe='wxUSE_GPE=yes'
3463 else
3464 wx_cv_use_gpe='wxUSE_GPE=no'
3465 fi
3466
3467 else
3468
3469 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3470
3471 fi
3472
3473
3474 eval "$wx_cv_use_gpe"
3475
3476 if test x"$enablestring" = xdisable; then
3477 if test $wxUSE_GPE = yes; then
3478 result=no
3479 else
3480 result=yes
3481 fi
3482 else
3483 result=$wxUSE_GPE
3484 fi
3485
3486 { echo "$as_me:$LINENO: result: $result" >&5
3487 echo "${ECHO_T}$result" >&6; }
3488
3489
3490
3491 { echo "$as_me:$LINENO: checking for toolkit" >&5
3492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3493
3494
3495
3496 # In Wine, we need to default to MSW, not GTK or MOTIF
3497 if test "$wxUSE_WINE" = "yes"; then
3498 DEFAULT_DEFAULT_wxUSE_GTK=0
3499 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3500 DEFAULT_DEFAULT_wxUSE_MSW=1
3501 wxUSE_SHARED=no
3502 CC=${CC:-winegcc}
3503 CXX=${CXX:-wineg++}
3504 fi
3505
3506
3507 if test "$wxUSE_GUI" = "yes"; then
3508
3509 if test "$USE_BEOS" = 1; then
3510 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3511 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3512 { (exit 1); exit 1; }; }
3513 fi
3514
3515 if test "$TOOLKIT_GIVEN" = 1; then
3516 for toolkit in $ALL_TOOLKITS; do
3517 var=wxUSE_$toolkit
3518 eval "value=\$${var}"
3519 if test "x$value" = "xno"; then
3520 eval "$var=0"
3521 elif test "x$value" != "x"; then
3522 eval "$var=1"
3523 fi
3524
3525 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3526 eval "wx${toolkit}_VERSION=$value"
3527 fi
3528 done
3529 else
3530 for toolkit in $ALL_TOOLKITS; do
3531 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3532 eval "wxUSE_$toolkit=\$${var}"
3533 done
3534 fi
3535
3536 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3537 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3538 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3539
3540 case "${host}" in
3541 *-pc-os2_emx | *-pc-os2-emx )
3542 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3543 esac
3544
3545 case "$NUM_TOOLKITS" in
3546 1)
3547 ;;
3548 0)
3549 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3550 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3551 { (exit 1); exit 1; }; }
3552 ;;
3553 *)
3554 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3555 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3556 { (exit 1); exit 1; }; }
3557 esac
3558
3559 # to be removed when --disable-gtk2 isn't needed
3560 if test "x$wxUSE_GTK2" = "xyes"; then
3561 wxGTK_VERSION=2
3562 elif test "x$wxUSE_GTK2" = "xno"; then
3563 wxGTK_VERSION=1
3564 fi
3565
3566 for toolkit in $ALL_TOOLKITS; do
3567 var=wxUSE_$toolkit
3568 eval "value=\$${var}"
3569 if test "$value" = 1; then
3570 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3571 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3572 echo "${ECHO_T}$toolkit_echo" >&6; }
3573 fi
3574 done
3575 else
3576 if test "x$host_alias" != "x"; then
3577 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3578 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3579 else
3580 { echo "$as_me:$LINENO: result: base only" >&5
3581 echo "${ECHO_T}base only" >&6; }
3582 fi
3583 fi
3584
3585 wxUSE_MAC=0
3586 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3587 wxUSE_MAC=1
3588 fi
3589
3590
3591
3592 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3593 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3594
3595 # Check whether --with-libpng was given.
3596 if test "${with_libpng+set}" = set; then
3597 withval=$with_libpng;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612 else
3613
3614 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3615
3616 fi
3617
3618
3619 eval "$wx_cv_use_libpng"
3620
3621 if test "$wxUSE_LIBPNG" = yes; then
3622 { echo "$as_me:$LINENO: result: yes" >&5
3623 echo "${ECHO_T}yes" >&6; }
3624 elif test "$wxUSE_LIBPNG" = no; then
3625 { echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6; }
3627 elif test "$wxUSE_LIBPNG" = sys; then
3628 { echo "$as_me:$LINENO: result: system version" >&5
3629 echo "${ECHO_T}system version" >&6; }
3630 elif test "$wxUSE_LIBPNG" = builtin; then
3631 { echo "$as_me:$LINENO: result: builtin version" >&5
3632 echo "${ECHO_T}builtin version" >&6; }
3633 else
3634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3636 { (exit 1); exit 1; }; }
3637 fi
3638
3639
3640 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3641 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3642
3643 # Check whether --with-libjpeg was given.
3644 if test "${with_libjpeg+set}" = set; then
3645 withval=$with_libjpeg;
3646 if test "$withval" = yes; then
3647 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3648 elif test "$withval" = no; then
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3650 elif test "$withval" = sys; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3652 elif test "$withval" = builtin; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3654 else
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3658 fi
3659
3660 else
3661
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3663
3664 fi
3665
3666
3667 eval "$wx_cv_use_libjpeg"
3668
3669 if test "$wxUSE_LIBJPEG" = yes; then
3670 { echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6; }
3672 elif test "$wxUSE_LIBJPEG" = no; then
3673 { echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6; }
3675 elif test "$wxUSE_LIBJPEG" = sys; then
3676 { echo "$as_me:$LINENO: result: system version" >&5
3677 echo "${ECHO_T}system version" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = builtin; then
3679 { echo "$as_me:$LINENO: result: builtin version" >&5
3680 echo "${ECHO_T}builtin version" >&6; }
3681 else
3682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3683 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3684 { (exit 1); exit 1; }; }
3685 fi
3686
3687
3688 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3689 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3690
3691 # Check whether --with-libtiff was given.
3692 if test "${with_libtiff+set}" = set; then
3693 withval=$with_libtiff;
3694 if test "$withval" = yes; then
3695 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3696 elif test "$withval" = no; then
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3698 elif test "$withval" = sys; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3700 elif test "$withval" = builtin; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3702 else
3703 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3704 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3705 { (exit 1); exit 1; }; }
3706 fi
3707
3708 else
3709
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3711
3712 fi
3713
3714
3715 eval "$wx_cv_use_libtiff"
3716
3717 if test "$wxUSE_LIBTIFF" = yes; then
3718 { echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6; }
3720 elif test "$wxUSE_LIBTIFF" = no; then
3721 { echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = sys; then
3724 { echo "$as_me:$LINENO: result: system version" >&5
3725 echo "${ECHO_T}system version" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = builtin; then
3727 { echo "$as_me:$LINENO: result: builtin version" >&5
3728 echo "${ECHO_T}builtin version" >&6; }
3729 else
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3733 fi
3734
3735
3736 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3737 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3738
3739 # Check whether --with-libxpm was given.
3740 if test "${with_libxpm+set}" = set; then
3741 withval=$with_libxpm;
3742 if test "$withval" = yes; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3744 elif test "$withval" = no; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3746 elif test "$withval" = sys; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3748 elif test "$withval" = builtin; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756 else
3757
3758 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3759
3760 fi
3761
3762
3763 eval "$wx_cv_use_libxpm"
3764
3765 if test "$wxUSE_LIBXPM" = yes; then
3766 { echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6; }
3768 elif test "$wxUSE_LIBXPM" = no; then
3769 { echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6; }
3771 elif test "$wxUSE_LIBXPM" = sys; then
3772 { echo "$as_me:$LINENO: result: system version" >&5
3773 echo "${ECHO_T}system version" >&6; }
3774 elif test "$wxUSE_LIBXPM" = builtin; then
3775 { echo "$as_me:$LINENO: result: builtin version" >&5
3776 echo "${ECHO_T}builtin version" >&6; }
3777 else
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3781 fi
3782
3783
3784 withstring=
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3788 defaultval=yes
3789 else
3790 defaultval=no
3791 fi
3792 fi
3793 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3794 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3795
3796 # Check whether --with-libiconv was given.
3797 if test "${with_libiconv+set}" = set; then
3798 withval=$with_libiconv;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3801 else
3802 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3803 fi
3804
3805 else
3806
3807 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3808
3809 fi
3810
3811
3812 eval "$wx_cv_use_libiconv"
3813
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBICONV = yes; then
3816 result=no
3817 else
3818 result=yes
3819 fi
3820 else
3821 result=$wxUSE_LIBICONV
3822 fi
3823
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3826
3827
3828 withstring=
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3839
3840 # Check whether --with-libmspack was given.
3841 if test "${with_libmspack+set}" = set; then
3842 withval=$with_libmspack;
3843 if test "$withval" = yes; then
3844 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3845 else
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3847 fi
3848
3849 else
3850
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3852
3853 fi
3854
3855
3856 eval "$wx_cv_use_libmspack"
3857
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_LIBMSPACK = yes; then
3860 result=no
3861 else
3862 result=yes
3863 fi
3864 else
3865 result=$wxUSE_LIBMSPACK
3866 fi
3867
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3870
3871
3872 withstring=without
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3876 defaultval=yes
3877 else
3878 defaultval=no
3879 fi
3880 fi
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3883
3884 # Check whether --with-gtkprint was given.
3885 if test "${with_gtkprint+set}" = set; then
3886 withval=$with_gtkprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3889 else
3890 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3891 fi
3892
3893 else
3894
3895 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3896
3897 fi
3898
3899
3900 eval "$wx_cv_use_gtkprint"
3901
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_GTKPRINT = yes; then
3904 result=no
3905 else
3906 result=yes
3907 fi
3908 else
3909 result=$wxUSE_GTKPRINT
3910 fi
3911
3912 { echo "$as_me:$LINENO: result: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3914
3915
3916 withstring=without
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3920 defaultval=yes
3921 else
3922 defaultval=no
3923 fi
3924 fi
3925 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3926 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3927
3928 # Check whether --with-gnomeprint was given.
3929 if test "${with_gnomeprint+set}" = set; then
3930 withval=$with_gnomeprint;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3933 else
3934 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3935 fi
3936
3937 else
3938
3939 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3940
3941 fi
3942
3943
3944 eval "$wx_cv_use_gnomeprint"
3945
3946 if test x"$withstring" = xwithout; then
3947 if test $wxUSE_LIBGNOMEPRINT = yes; then
3948 result=no
3949 else
3950 result=yes
3951 fi
3952 else
3953 result=$wxUSE_LIBGNOMEPRINT
3954 fi
3955
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3958
3959
3960 withstring=
3961 defaultval=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x"$withstring" = xwithout; then
3964 defaultval=yes
3965 else
3966 defaultval=no
3967 fi
3968 fi
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3971
3972 # Check whether --with-gnomevfs was given.
3973 if test "${with_gnomevfs+set}" = set; then
3974 withval=$with_gnomevfs;
3975 if test "$withval" = yes; then
3976 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3977 else
3978 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3979 fi
3980
3981 else
3982
3983 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3984
3985 fi
3986
3987
3988 eval "$wx_cv_use_gnomevfs"
3989
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBGNOMEVFS = yes; then
3992 result=no
3993 else
3994 result=yes
3995 fi
3996 else
3997 result=$wxUSE_LIBGNOMEVFS
3998 fi
3999
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4015
4016 # Check whether --with-hildon was given.
4017 if test "${with_hildon+set}" = set; then
4018 withval=$with_hildon;
4019 if test "$withval" = yes; then
4020 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4021 else
4022 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_hildon"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_LIBHILDON = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_LIBHILDON
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 withstring=
4049 defaultval=$wxUSE_ALL_FEATURES
4050 if test -z "$defaultval"; then
4051 if test x"$withstring" = xwithout; then
4052 defaultval=yes
4053 else
4054 defaultval=no
4055 fi
4056 fi
4057 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4058 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4059
4060 # Check whether --with-opengl was given.
4061 if test "${with_opengl+set}" = set; then
4062 withval=$with_opengl;
4063 if test "$withval" = yes; then
4064 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4065 else
4066 wx_cv_use_opengl='wxUSE_OPENGL=no'
4067 fi
4068
4069 else
4070
4071 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4072
4073 fi
4074
4075
4076 eval "$wx_cv_use_opengl"
4077
4078 if test x"$withstring" = xwithout; then
4079 if test $wxUSE_OPENGL = yes; then
4080 result=no
4081 else
4082 result=yes
4083 fi
4084 else
4085 result=$wxUSE_OPENGL
4086 fi
4087
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4090
4091
4092 fi
4093
4094
4095 withstring=
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4099 defaultval=yes
4100 else
4101 defaultval=no
4102 fi
4103 fi
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4106
4107 # Check whether --with-dmalloc was given.
4108 if test "${with_dmalloc+set}" = set; then
4109 withval=$with_dmalloc;
4110 if test "$withval" = yes; then
4111 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4112 else
4113 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4114 fi
4115
4116 else
4117
4118 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4119
4120 fi
4121
4122
4123 eval "$wx_cv_use_dmalloc"
4124
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_DMALLOC = yes; then
4127 result=no
4128 else
4129 result=yes
4130 fi
4131 else
4132 result=$wxUSE_DMALLOC
4133 fi
4134
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4137
4138
4139 withstring=
4140 defaultval=$wxUSE_ALL_FEATURES
4141 if test -z "$defaultval"; then
4142 if test x"$withstring" = xwithout; then
4143 defaultval=yes
4144 else
4145 defaultval=no
4146 fi
4147 fi
4148 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4149 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4150
4151 # Check whether --with-sdl was given.
4152 if test "${with_sdl+set}" = set; then
4153 withval=$with_sdl;
4154 if test "$withval" = yes; then
4155 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4156 else
4157 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4158 fi
4159
4160 else
4161
4162 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_sdl"
4168
4169 if test x"$withstring" = xwithout; then
4170 if test $wxUSE_LIBSDL = yes; then
4171 result=no
4172 else
4173 result=yes
4174 fi
4175 else
4176 result=$wxUSE_LIBSDL
4177 fi
4178
4179 { echo "$as_me:$LINENO: result: $result" >&5
4180 echo "${ECHO_T}$result" >&6; }
4181
4182
4183 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4184 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4185
4186 # Check whether --with-regex was given.
4187 if test "${with_regex+set}" = set; then
4188 withval=$with_regex;
4189 if test "$withval" = yes; then
4190 wx_cv_use_regex='wxUSE_REGEX=yes'
4191 elif test "$withval" = no; then
4192 wx_cv_use_regex='wxUSE_REGEX=no'
4193 elif test "$withval" = sys; then
4194 wx_cv_use_regex='wxUSE_REGEX=sys'
4195 elif test "$withval" = builtin; then
4196 wx_cv_use_regex='wxUSE_REGEX=builtin'
4197 else
4198 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4199 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4200 { (exit 1); exit 1; }; }
4201 fi
4202
4203 else
4204
4205 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4206
4207 fi
4208
4209
4210 eval "$wx_cv_use_regex"
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
4251 else
4252
4253 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4254
4255 fi
4256
4257
4258 eval "$wx_cv_use_zlib"
4259
4260 if test "$wxUSE_ZLIB" = yes; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 elif test "$wxUSE_ZLIB" = no; then
4264 { echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6; }
4266 elif test "$wxUSE_ZLIB" = sys; then
4267 { echo "$as_me:$LINENO: result: system version" >&5
4268 echo "${ECHO_T}system version" >&6; }
4269 elif test "$wxUSE_ZLIB" = builtin; then
4270 { echo "$as_me:$LINENO: result: builtin version" >&5
4271 echo "${ECHO_T}builtin version" >&6; }
4272 else
4273 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4274 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4275 { (exit 1); exit 1; }; }
4276 fi
4277
4278
4279 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4280 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4281
4282 # Check whether --with-expat was given.
4283 if test "${with_expat+set}" = set; then
4284 withval=$with_expat;
4285 if test "$withval" = yes; then
4286 wx_cv_use_expat='wxUSE_EXPAT=yes'
4287 elif test "$withval" = no; then
4288 wx_cv_use_expat='wxUSE_EXPAT=no'
4289 elif test "$withval" = sys; then
4290 wx_cv_use_expat='wxUSE_EXPAT=sys'
4291 elif test "$withval" = builtin; then
4292 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4293 else
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4297 fi
4298
4299 else
4300
4301 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4302
4303 fi
4304
4305
4306 eval "$wx_cv_use_expat"
4307
4308 if test "$wxUSE_EXPAT" = yes; then
4309 { echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6; }
4311 elif test "$wxUSE_EXPAT" = no; then
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4314 elif test "$wxUSE_EXPAT" = sys; then
4315 { echo "$as_me:$LINENO: result: system version" >&5
4316 echo "${ECHO_T}system version" >&6; }
4317 elif test "$wxUSE_EXPAT" = builtin; then
4318 { echo "$as_me:$LINENO: result: builtin version" >&5
4319 echo "${ECHO_T}builtin version" >&6; }
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326
4327 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4328 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4329
4330 # Check whether --with-macosx-sdk was given.
4331 if test "${with_macosx_sdk+set}" = set; then
4332 withval=$with_macosx_sdk;
4333 wxUSE_MACOSX_SDK=$withval
4334 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4335
4336 fi
4337
4338 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4339 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4340
4341 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4342 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4343
4344 # Check whether --with-macosx-version-min was given.
4345 if test "${with_macosx_version_min+set}" = set; then
4346 withval=$with_macosx_version_min;
4347 wxUSE_MACOSX_VERSION_MIN=$withval
4348 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4349
4350 fi
4351
4352 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4353 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4354
4355
4356
4357 enablestring=disable
4358 defaultval=
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4361 defaultval=yes
4362 else
4363 defaultval=no
4364 fi
4365 fi
4366
4367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4369 # Check whether --enable-shared was given.
4370 if test "${enable_shared+set}" = set; then
4371 enableval=$enable_shared;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_shared='wxUSE_SHARED=yes'
4374 else
4375 wx_cv_use_shared='wxUSE_SHARED=no'
4376 fi
4377
4378 else
4379
4380 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4381
4382 fi
4383
4384
4385 eval "$wx_cv_use_shared"
4386
4387 if test x"$enablestring" = xdisable; then
4388 if test $wxUSE_SHARED = yes; then
4389 result=no
4390 else
4391 result=yes
4392 fi
4393 else
4394 result=$wxUSE_SHARED
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4399
4400
4401 enablestring=
4402 defaultval=
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4405 defaultval=yes
4406 else
4407 defaultval=no
4408 fi
4409 fi
4410
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4413 # Check whether --enable-debug was given.
4414 if test "${enable_debug+set}" = set; then
4415 enableval=$enable_debug;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_debug='wxUSE_DEBUG=yes'
4418 else
4419 wx_cv_use_debug='wxUSE_DEBUG=no'
4420 fi
4421
4422 else
4423
4424 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_debug"
4430
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_DEBUG = yes; then
4433 result=no
4434 else
4435 result=yes
4436 fi
4437 else
4438 result=$wxUSE_DEBUG
4439 fi
4440
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4443
4444
4445 enablestring=
4446 defaultval=
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4449 defaultval=yes
4450 else
4451 defaultval=no
4452 fi
4453 fi
4454
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4457 # Check whether --enable-stl was given.
4458 if test "${enable_stl+set}" = set; then
4459 enableval=$enable_stl;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_stl='wxUSE_STL=yes'
4462 else
4463 wx_cv_use_stl='wxUSE_STL=no'
4464 fi
4465
4466 else
4467
4468 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4469
4470 fi
4471
4472
4473 eval "$wx_cv_use_stl"
4474
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STL = yes; then
4477 result=no
4478 else
4479 result=yes
4480 fi
4481 else
4482 result=$wxUSE_STL
4483 fi
4484
4485 { echo "$as_me:$LINENO: result: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4487
4488
4489 enablestring=
4490 defaultval=
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4493 defaultval=yes
4494 else
4495 defaultval=no
4496 fi
4497 fi
4498
4499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4501 # Check whether --enable-std_iostreams was given.
4502 if test "${enable_std_iostreams+set}" = set; then
4503 enableval=$enable_std_iostreams;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4506 else
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4508 fi
4509
4510 else
4511
4512 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4513
4514 fi
4515
4516
4517 eval "$wx_cv_use_std_iostreams"
4518
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_STD_IOSTREAM = yes; then
4521 result=no
4522 else
4523 result=yes
4524 fi
4525 else
4526 result=$wxUSE_STD_IOSTREAM
4527 fi
4528
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4531
4532
4533 enablestring=
4534 defaultval=
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4537 defaultval=yes
4538 else
4539 defaultval=no
4540 fi
4541 fi
4542
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4545 # Check whether --enable-std_string was given.
4546 if test "${enable_std_string+set}" = set; then
4547 enableval=$enable_std_string;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4550 else
4551 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4552 fi
4553
4554 else
4555
4556 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4557
4558 fi
4559
4560
4561 eval "$wx_cv_use_std_string"
4562
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_STD_STRING = yes; then
4565 result=no
4566 else
4567 result=yes
4568 fi
4569 else
4570 result=$wxUSE_STD_STRING
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4575
4576
4577 enablestring=disable
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4589 # Check whether --enable-unicode was given.
4590 if test "${enable_unicode+set}" = set; then
4591 enableval=$enable_unicode;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4594 else
4595 wx_cv_use_unicode='wxUSE_UNICODE=no'
4596 fi
4597
4598 else
4599
4600 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4601
4602 fi
4603
4604
4605 eval "$wx_cv_use_unicode"
4606
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE = yes; then
4609 result=no
4610 else
4611 result=yes
4612 fi
4613 else
4614 result=$wxUSE_UNICODE
4615 fi
4616
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4619
4620
4621 enablestring=
4622 defaultval=
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4625 defaultval=yes
4626 else
4627 defaultval=no
4628 fi
4629 fi
4630
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4633 # Check whether --enable-mslu was given.
4634 if test "${enable_mslu+set}" = set; then
4635 enableval=$enable_mslu;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4638 else
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4640 fi
4641
4642 else
4643
4644 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4645
4646 fi
4647
4648
4649 eval "$wx_cv_use_mslu"
4650
4651 if test x"$enablestring" = xdisable; then
4652 if test $wxUSE_UNICODE_MSLU = yes; then
4653 result=no
4654 else
4655 result=yes
4656 fi
4657 else
4658 result=$wxUSE_UNICODE_MSLU
4659 fi
4660
4661 { echo "$as_me:$LINENO: result: $result" >&5
4662 echo "${ECHO_T}$result" >&6; }
4663
4664
4665 enablestring=
4666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4667 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4668 # Check whether --enable-utf8 was given.
4669 if test "${enable_utf8+set}" = set; then
4670 enableval=$enable_utf8;
4671 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4672
4673 else
4674
4675 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_utf8"
4681
4682 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4683 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4684
4685
4686 enablestring=
4687 defaultval=
4688 if test -z "$defaultval"; then
4689 if test x"$enablestring" = xdisable; then
4690 defaultval=yes
4691 else
4692 defaultval=no
4693 fi
4694 fi
4695
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4698 # Check whether --enable-utf8only was given.
4699 if test "${enable_utf8only+set}" = set; then
4700 enableval=$enable_utf8only;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4703 else
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4705 fi
4706
4707 else
4708
4709 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4710
4711 fi
4712
4713
4714 eval "$wx_cv_use_utf8only"
4715
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4718 result=no
4719 else
4720 result=yes
4721 fi
4722 else
4723 result=$wxUSE_UNICODE_UTF8_LOCALE
4724 fi
4725
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4728
4729
4730 enablestring=
4731 defaultval=
4732 if test -z "$defaultval"; then
4733 if test x"$enablestring" = xdisable; then
4734 defaultval=yes
4735 else
4736 defaultval=no
4737 fi
4738 fi
4739
4740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4742 # Check whether --enable-extended_rtti was given.
4743 if test "${enable_extended_rtti+set}" = set; then
4744 enableval=$enable_extended_rtti;
4745 if test "$enableval" = yes; then
4746 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4747 else
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4749 fi
4750
4751 else
4752
4753 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4754
4755 fi
4756
4757
4758 eval "$wx_cv_use_extended_rtti"
4759
4760 if test x"$enablestring" = xdisable; then
4761 if test $wxUSE_EXTENDED_RTTI = yes; then
4762 result=no
4763 else
4764 result=yes
4765 fi
4766 else
4767 result=$wxUSE_EXTENDED_RTTI
4768 fi
4769
4770 { echo "$as_me:$LINENO: result: $result" >&5
4771 echo "${ECHO_T}$result" >&6; }
4772
4773 if test "$USE_OS2" = 1; then
4774 DEFAULT_wxUSE_OMF=no
4775
4776 enablestring=
4777 defaultval=
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4780 defaultval=yes
4781 else
4782 defaultval=no
4783 fi
4784 fi
4785
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4788 # Check whether --enable-omf was given.
4789 if test "${enable_omf+set}" = set; then
4790 enableval=$enable_omf;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_omf='wxUSE_OMF=yes'
4793 else
4794 wx_cv_use_omf='wxUSE_OMF=no'
4795 fi
4796
4797 else
4798
4799 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4800
4801 fi
4802
4803
4804 eval "$wx_cv_use_omf"
4805
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_OMF = yes; then
4808 result=no
4809 else
4810 result=yes
4811 fi
4812 else
4813 result=$wxUSE_OMF
4814 fi
4815
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4818
4819 fi
4820
4821 if test "$wxUSE_DEBUG" = "yes"; then
4822 DEFAULT_wxUSE_DEBUG_FLAG=yes
4823 DEFAULT_wxUSE_DEBUG_INFO=yes
4824 BUILD=debug
4825 elif test "$wxUSE_DEBUG" = "no"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=no
4827 DEFAULT_wxUSE_DEBUG_INFO=no
4828 BUILD=release
4829 fi
4830
4831
4832 enablestring=
4833 defaultval=
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4836 defaultval=yes
4837 else
4838 defaultval=no
4839 fi
4840 fi
4841
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_flag was given.
4845 if test "${enable_debug_flag+set}" = set; then
4846 enableval=$enable_debug_flag;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4849 else
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4851 fi
4852
4853 else
4854
4855 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4856
4857 fi
4858
4859
4860 eval "$wx_cv_use_debug_flag"
4861
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_FLAG = yes; then
4864 result=no
4865 else
4866 result=yes
4867 fi
4868 else
4869 result=$wxUSE_DEBUG_FLAG
4870 fi
4871
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4874
4875
4876 enablestring=
4877 defaultval=
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4880 defaultval=yes
4881 else
4882 defaultval=no
4883 fi
4884 fi
4885
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4888 # Check whether --enable-debug_info was given.
4889 if test "${enable_debug_info+set}" = set; then
4890 enableval=$enable_debug_info;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4893 else
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4895 fi
4896
4897 else
4898
4899 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4900
4901 fi
4902
4903
4904 eval "$wx_cv_use_debug_info"
4905
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_DEBUG_INFO = yes; then
4908 result=no
4909 else
4910 result=yes
4911 fi
4912 else
4913 result=$wxUSE_DEBUG_INFO
4914 fi
4915
4916 { echo "$as_me:$LINENO: result: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4918
4919
4920 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4921 wxUSE_DEBUG=yes
4922 BUILD=debug
4923 fi
4924
4925 if test "$wxUSE_DEBUG" = "yes"; then
4926 DEFAULT_wxUSE_OPTIMISE=no
4927 fi
4928
4929
4930 enablestring=disable
4931 defaultval=
4932 if test -z "$defaultval"; then
4933 if test x"$enablestring" = xdisable; then
4934 defaultval=yes
4935 else
4936 defaultval=no
4937 fi
4938 fi
4939
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4942 # Check whether --enable-optimise was given.
4943 if test "${enable_optimise+set}" = set; then
4944 enableval=$enable_optimise;
4945 if test "$enableval" = yes; then
4946 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4947 else
4948 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4949 fi
4950
4951 else
4952
4953 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4954
4955 fi
4956
4957
4958 eval "$wx_cv_use_optimise"
4959
4960 if test x"$enablestring" = xdisable; then
4961 if test $wxUSE_OPTIMISE = yes; then
4962 result=no
4963 else
4964 result=yes
4965 fi
4966 else
4967 result=$wxUSE_OPTIMISE
4968 fi
4969
4970 { echo "$as_me:$LINENO: result: $result" >&5
4971 echo "${ECHO_T}$result" >&6; }
4972
4973
4974
4975 enablestring=
4976 defaultval=
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4979 defaultval=yes
4980 else
4981 defaultval=no
4982 fi
4983 fi
4984
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4987 # Check whether --enable-debug_gdb was given.
4988 if test "${enable_debug_gdb+set}" = set; then
4989 enableval=$enable_debug_gdb;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4992 else
4993 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4994 fi
4995
4996 else
4997
4998 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4999
5000 fi
5001
5002
5003 eval "$wx_cv_use_debug_gdb"
5004
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_DEBUG_GDB = yes; then
5007 result=no
5008 else
5009 result=yes
5010 fi
5011 else
5012 result=$wxUSE_DEBUG_GDB
5013 fi
5014
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5017
5018
5019 enablestring=
5020 defaultval=
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5023 defaultval=yes
5024 else
5025 defaultval=no
5026 fi
5027 fi
5028
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5031 # Check whether --enable-debug_cntxt was given.
5032 if test "${enable_debug_cntxt+set}" = set; then
5033 enableval=$enable_debug_cntxt;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5036 else
5037 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5038 fi
5039
5040 else
5041
5042 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5043
5044 fi
5045
5046
5047 eval "$wx_cv_use_debug_cntxt"
5048
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_DEBUG_CONTEXT = yes; then
5051 result=no
5052 else
5053 result=yes
5054 fi
5055 else
5056 result=$wxUSE_DEBUG_CONTEXT
5057 fi
5058
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5061
5062
5063 enablestring=
5064 defaultval=
5065 if test -z "$defaultval"; then
5066 if test x"$enablestring" = xdisable; then
5067 defaultval=yes
5068 else
5069 defaultval=no
5070 fi
5071 fi
5072
5073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5074 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5075 # Check whether --enable-mem_tracing was given.
5076 if test "${enable_mem_tracing+set}" = set; then
5077 enableval=$enable_mem_tracing;
5078 if test "$enableval" = yes; then
5079 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5080 else
5081 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5082 fi
5083
5084 else
5085
5086 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5087
5088 fi
5089
5090
5091 eval "$wx_cv_use_mem_tracing"
5092
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_MEM_TRACING = yes; then
5095 result=no
5096 else
5097 result=yes
5098 fi
5099 else
5100 result=$wxUSE_MEM_TRACING
5101 fi
5102
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5105
5106
5107 enablestring=
5108 defaultval=
5109 if test -z "$defaultval"; then
5110 if test x"$enablestring" = xdisable; then
5111 defaultval=yes
5112 else
5113 defaultval=no
5114 fi
5115 fi
5116
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5119 # Check whether --enable-profile was given.
5120 if test "${enable_profile+set}" = set; then
5121 enableval=$enable_profile;
5122 if test "$enableval" = yes; then
5123 wx_cv_use_profile='wxUSE_PROFILE=yes'
5124 else
5125 wx_cv_use_profile='wxUSE_PROFILE=no'
5126 fi
5127
5128 else
5129
5130 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5131
5132 fi
5133
5134
5135 eval "$wx_cv_use_profile"
5136
5137 if test x"$enablestring" = xdisable; then
5138 if test $wxUSE_PROFILE = yes; then
5139 result=no
5140 else
5141 result=yes
5142 fi
5143 else
5144 result=$wxUSE_PROFILE
5145 fi
5146
5147 { echo "$as_me:$LINENO: result: $result" >&5
5148 echo "${ECHO_T}$result" >&6; }
5149
5150
5151 enablestring=
5152 defaultval=
5153 if test -z "$defaultval"; then
5154 if test x"$enablestring" = xdisable; then
5155 defaultval=yes
5156 else
5157 defaultval=no
5158 fi
5159 fi
5160
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5163 # Check whether --enable-no_rtti was given.
5164 if test "${enable_no_rtti+set}" = set; then
5165 enableval=$enable_no_rtti;
5166 if test "$enableval" = yes; then
5167 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5168 else
5169 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5170 fi
5171
5172 else
5173
5174 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5175
5176 fi
5177
5178
5179 eval "$wx_cv_use_no_rtti"
5180
5181 if test x"$enablestring" = xdisable; then
5182 if test $wxUSE_NO_RTTI = yes; then
5183 result=no
5184 else
5185 result=yes
5186 fi
5187 else
5188 result=$wxUSE_NO_RTTI
5189 fi
5190
5191 { echo "$as_me:$LINENO: result: $result" >&5
5192 echo "${ECHO_T}$result" >&6; }
5193
5194
5195 enablestring=
5196 defaultval=
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5199 defaultval=yes
5200 else
5201 defaultval=no
5202 fi
5203 fi
5204
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5207 # Check whether --enable-no_exceptions was given.
5208 if test "${enable_no_exceptions+set}" = set; then
5209 enableval=$enable_no_exceptions;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5212 else
5213 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5214 fi
5215
5216 else
5217
5218 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5219
5220 fi
5221
5222
5223 eval "$wx_cv_use_no_exceptions"
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_NO_EXCEPTIONS = yes; then
5227 result=no
5228 else
5229 result=yes
5230 fi
5231 else
5232 result=$wxUSE_NO_EXCEPTIONS
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5251 # Check whether --enable-permissive was given.
5252 if test "${enable_permissive+set}" = set; then
5253 enableval=$enable_permissive;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5256 else
5257 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5258 fi
5259
5260 else
5261
5262 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_permissive"
5268
5269 if test x"$enablestring" = xdisable; then
5270 if test $wxUSE_PERMISSIVE = yes; then
5271 result=no
5272 else
5273 result=yes
5274 fi
5275 else
5276 result=$wxUSE_PERMISSIVE
5277 fi
5278
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5281
5282
5283 enablestring=
5284 defaultval=
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5287 defaultval=yes
5288 else
5289 defaultval=no
5290 fi
5291 fi
5292
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5295 # Check whether --enable-no_deps was given.
5296 if test "${enable_no_deps+set}" = set; then
5297 enableval=$enable_no_deps;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5300 else
5301 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5302 fi
5303
5304 else
5305
5306 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5307
5308 fi
5309
5310
5311 eval "$wx_cv_use_no_deps"
5312
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_NO_DEPS = yes; then
5315 result=no
5316 else
5317 result=yes
5318 fi
5319 else
5320 result=$wxUSE_NO_DEPS
5321 fi
5322
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5325
5326
5327 enablestring=disable
5328 defaultval=
5329 if test -z "$defaultval"; then
5330 if test x"$enablestring" = xdisable; then
5331 defaultval=yes
5332 else
5333 defaultval=no
5334 fi
5335 fi
5336
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5339 # Check whether --enable-vararg_macros was given.
5340 if test "${enable_vararg_macros+set}" = set; then
5341 enableval=$enable_vararg_macros;
5342 if test "$enableval" = yes; then
5343 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5344 else
5345 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5346 fi
5347
5348 else
5349
5350 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5351
5352 fi
5353
5354
5355 eval "$wx_cv_use_vararg_macros"
5356
5357 if test x"$enablestring" = xdisable; then
5358 if test $wxUSE_VARARG_MACROS = yes; then
5359 result=no
5360 else
5361 result=yes
5362 fi
5363 else
5364 result=$wxUSE_VARARG_MACROS
5365 fi
5366
5367 { echo "$as_me:$LINENO: result: $result" >&5
5368 echo "${ECHO_T}$result" >&6; }
5369
5370
5371 enablestring=
5372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5373 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5374 # Check whether --enable-universal_binary was given.
5375 if test "${enable_universal_binary+set}" = set; then
5376 enableval=$enable_universal_binary;
5377 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5378
5379 else
5380
5381 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_universal_binary"
5387
5388 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5389 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5390
5391
5392
5393 enablestring=
5394 defaultval=
5395 if test -z "$defaultval"; then
5396 if test x"$enablestring" = xdisable; then
5397 defaultval=yes
5398 else
5399 defaultval=no
5400 fi
5401 fi
5402
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5405 # Check whether --enable-compat26 was given.
5406 if test "${enable_compat26+set}" = set; then
5407 enableval=$enable_compat26;
5408 if test "$enableval" = yes; then
5409 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5410 else
5411 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5412 fi
5413
5414 else
5415
5416 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5417
5418 fi
5419
5420
5421 eval "$wx_cv_use_compat26"
5422
5423 if test x"$enablestring" = xdisable; then
5424 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5425 result=no
5426 else
5427 result=yes
5428 fi
5429 else
5430 result=$WXWIN_COMPATIBILITY_2_6
5431 fi
5432
5433 { echo "$as_me:$LINENO: result: $result" >&5
5434 echo "${ECHO_T}$result" >&6; }
5435
5436
5437 enablestring=disable
5438 defaultval=
5439 if test -z "$defaultval"; then
5440 if test x"$enablestring" = xdisable; then
5441 defaultval=yes
5442 else
5443 defaultval=no
5444 fi
5445 fi
5446
5447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5448 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5449 # Check whether --enable-compat28 was given.
5450 if test "${enable_compat28+set}" = set; then
5451 enableval=$enable_compat28;
5452 if test "$enableval" = yes; then
5453 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5454 else
5455 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5456 fi
5457
5458 else
5459
5460 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5461
5462 fi
5463
5464
5465 eval "$wx_cv_use_compat28"
5466
5467 if test x"$enablestring" = xdisable; then
5468 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5469 result=no
5470 else
5471 result=yes
5472 fi
5473 else
5474 result=$WXWIN_COMPATIBILITY_2_8
5475 fi
5476
5477 { echo "$as_me:$LINENO: result: $result" >&5
5478 echo "${ECHO_T}$result" >&6; }
5479
5480
5481
5482 enablestring=disable
5483 defaultval=
5484 if test -z "$defaultval"; then
5485 if test x"$enablestring" = xdisable; then
5486 defaultval=yes
5487 else
5488 defaultval=no
5489 fi
5490 fi
5491
5492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5494 # Check whether --enable-rpath was given.
5495 if test "${enable_rpath+set}" = set; then
5496 enableval=$enable_rpath;
5497 if test "$enableval" = yes; then
5498 wx_cv_use_rpath='wxUSE_RPATH=yes'
5499 else
5500 wx_cv_use_rpath='wxUSE_RPATH=no'
5501 fi
5502
5503 else
5504
5505 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5506
5507 fi
5508
5509
5510 eval "$wx_cv_use_rpath"
5511
5512 if test x"$enablestring" = xdisable; then
5513 if test $wxUSE_RPATH = yes; then
5514 result=no
5515 else
5516 result=yes
5517 fi
5518 else
5519 result=$wxUSE_RPATH
5520 fi
5521
5522 { echo "$as_me:$LINENO: result: $result" >&5
5523 echo "${ECHO_T}$result" >&6; }
5524
5525
5526
5527 enablestring=
5528 defaultval=
5529 if test -z "$defaultval"; then
5530 if test x"$enablestring" = xdisable; then
5531 defaultval=yes
5532 else
5533 defaultval=no
5534 fi
5535 fi
5536
5537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5539 # Check whether --enable-objc_uniquifying was given.
5540 if test "${enable_objc_uniquifying+set}" = set; then
5541 enableval=$enable_objc_uniquifying;
5542 if test "$enableval" = yes; then
5543 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5544 else
5545 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5546 fi
5547
5548 else
5549
5550 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5551
5552 fi
5553
5554
5555 eval "$wx_cv_use_objc_uniquifying"
5556
5557 if test x"$enablestring" = xdisable; then
5558 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5559 result=no
5560 else
5561 result=yes
5562 fi
5563 else
5564 result=$wxUSE_OBJC_UNIQUIFYING
5565 fi
5566
5567 { echo "$as_me:$LINENO: result: $result" >&5
5568 echo "${ECHO_T}$result" >&6; }
5569
5570
5571
5572 enablestring=disable
5573 defaultval=
5574 if test -z "$defaultval"; then
5575 if test x"$enablestring" = xdisable; then
5576 defaultval=yes
5577 else
5578 defaultval=no
5579 fi
5580 fi
5581
5582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5584 # Check whether --enable-visibility was given.
5585 if test "${enable_visibility+set}" = set; then
5586 enableval=$enable_visibility;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5589 else
5590 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5591 fi
5592
5593 else
5594
5595 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5596
5597 fi
5598
5599
5600 eval "$wx_cv_use_visibility"
5601
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_VISIBILITY = yes; then
5604 result=no
5605 else
5606 result=yes
5607 fi
5608 else
5609 result=$wxUSE_VISIBILITY
5610 fi
5611
5612 { echo "$as_me:$LINENO: result: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5614
5615
5616
5617
5618 enablestring=
5619 defaultval=$wxUSE_ALL_FEATURES
5620 if test -z "$defaultval"; then
5621 if test x"$enablestring" = xdisable; then
5622 defaultval=yes
5623 else
5624 defaultval=no
5625 fi
5626 fi
5627
5628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5630 # Check whether --enable-intl was given.
5631 if test "${enable_intl+set}" = set; then
5632 enableval=$enable_intl;
5633 if test "$enableval" = yes; then
5634 wx_cv_use_intl='wxUSE_INTL=yes'
5635 else
5636 wx_cv_use_intl='wxUSE_INTL=no'
5637 fi
5638
5639 else
5640
5641 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5642
5643 fi
5644
5645
5646 eval "$wx_cv_use_intl"
5647
5648 if test x"$enablestring" = xdisable; then
5649 if test $wxUSE_INTL = yes; then
5650 result=no
5651 else
5652 result=yes
5653 fi
5654 else
5655 result=$wxUSE_INTL
5656 fi
5657
5658 { echo "$as_me:$LINENO: result: $result" >&5
5659 echo "${ECHO_T}$result" >&6; }
5660
5661
5662 enablestring=
5663 defaultval=$wxUSE_ALL_FEATURES
5664 if test -z "$defaultval"; then
5665 if test x"$enablestring" = xdisable; then
5666 defaultval=yes
5667 else
5668 defaultval=no
5669 fi
5670 fi
5671
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5674 # Check whether --enable-xlocale was given.
5675 if test "${enable_xlocale+set}" = set; then
5676 enableval=$enable_xlocale;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5679 else
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5681 fi
5682
5683 else
5684
5685 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5686
5687 fi
5688
5689
5690 eval "$wx_cv_use_xlocale"
5691
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_XLOCALE = yes; then
5694 result=no
5695 else
5696 result=yes
5697 fi
5698 else
5699 result=$wxUSE_XLOCALE
5700 fi
5701
5702 { echo "$as_me:$LINENO: result: $result" >&5
5703 echo "${ECHO_T}$result" >&6; }
5704
5705
5706 enablestring=
5707 defaultval=$wxUSE_ALL_FEATURES
5708 if test -z "$defaultval"; then
5709 if test x"$enablestring" = xdisable; then
5710 defaultval=yes
5711 else
5712 defaultval=no
5713 fi
5714 fi
5715
5716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5718 # Check whether --enable-config was given.
5719 if test "${enable_config+set}" = set; then
5720 enableval=$enable_config;
5721 if test "$enableval" = yes; then
5722 wx_cv_use_config='wxUSE_CONFIG=yes'
5723 else
5724 wx_cv_use_config='wxUSE_CONFIG=no'
5725 fi
5726
5727 else
5728
5729 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5730
5731 fi
5732
5733
5734 eval "$wx_cv_use_config"
5735
5736 if test x"$enablestring" = xdisable; then
5737 if test $wxUSE_CONFIG = yes; then
5738 result=no
5739 else
5740 result=yes
5741 fi
5742 else
5743 result=$wxUSE_CONFIG
5744 fi
5745
5746 { echo "$as_me:$LINENO: result: $result" >&5
5747 echo "${ECHO_T}$result" >&6; }
5748
5749
5750
5751 enablestring=
5752 defaultval=$wxUSE_ALL_FEATURES
5753 if test -z "$defaultval"; then
5754 if test x"$enablestring" = xdisable; then
5755 defaultval=yes
5756 else
5757 defaultval=no
5758 fi
5759 fi
5760
5761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5763 # Check whether --enable-protocols was given.
5764 if test "${enable_protocols+set}" = set; then
5765 enableval=$enable_protocols;
5766 if test "$enableval" = yes; then
5767 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5768 else
5769 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5770 fi
5771
5772 else
5773
5774 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5775
5776 fi
5777
5778
5779 eval "$wx_cv_use_protocols"
5780
5781 if test x"$enablestring" = xdisable; then
5782 if test $wxUSE_PROTOCOL = yes; then
5783 result=no
5784 else
5785 result=yes
5786 fi
5787 else
5788 result=$wxUSE_PROTOCOL
5789 fi
5790
5791 { echo "$as_me:$LINENO: result: $result" >&5
5792 echo "${ECHO_T}$result" >&6; }
5793
5794
5795 enablestring=
5796 defaultval=$wxUSE_ALL_FEATURES
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5799 defaultval=yes
5800 else
5801 defaultval=no
5802 fi
5803 fi
5804
5805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5807 # Check whether --enable-ftp was given.
5808 if test "${enable_ftp+set}" = set; then
5809 enableval=$enable_ftp;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5812 else
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5814 fi
5815
5816 else
5817
5818 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5819
5820 fi
5821
5822
5823 eval "$wx_cv_use_ftp"
5824
5825 if test x"$enablestring" = xdisable; then
5826 if test $wxUSE_PROTOCOL_FTP = yes; then
5827 result=no
5828 else
5829 result=yes
5830 fi
5831 else
5832 result=$wxUSE_PROTOCOL_FTP
5833 fi
5834
5835 { echo "$as_me:$LINENO: result: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5837
5838
5839 enablestring=
5840 defaultval=$wxUSE_ALL_FEATURES
5841 if test -z "$defaultval"; then
5842 if test x"$enablestring" = xdisable; then
5843 defaultval=yes
5844 else
5845 defaultval=no
5846 fi
5847 fi
5848
5849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5851 # Check whether --enable-http was given.
5852 if test "${enable_http+set}" = set; then
5853 enableval=$enable_http;
5854 if test "$enableval" = yes; then
5855 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5856 else
5857 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5858 fi
5859
5860 else
5861
5862 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5863
5864 fi
5865
5866
5867 eval "$wx_cv_use_http"
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $wxUSE_PROTOCOL_HTTP = yes; then
5871 result=no
5872 else
5873 result=yes
5874 fi
5875 else
5876 result=$wxUSE_PROTOCOL_HTTP
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883 enablestring=
5884 defaultval=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5887 defaultval=yes
5888 else
5889 defaultval=no
5890 fi
5891 fi
5892
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5895 # Check whether --enable-fileproto was given.
5896 if test "${enable_fileproto+set}" = set; then
5897 enableval=$enable_fileproto;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5900 else
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5902 fi
5903
5904 else
5905
5906 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5907
5908 fi
5909
5910
5911 eval "$wx_cv_use_fileproto"
5912
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_PROTOCOL_FILE = yes; then
5915 result=no
5916 else
5917 result=yes
5918 fi
5919 else
5920 result=$wxUSE_PROTOCOL_FILE
5921 fi
5922
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5925
5926
5927 enablestring=
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5939 # Check whether --enable-sockets was given.
5940 if test "${enable_sockets+set}" = set; then
5941 enableval=$enable_sockets;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5944 else
5945 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5946 fi
5947
5948 else
5949
5950 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5951
5952 fi
5953
5954
5955 eval "$wx_cv_use_sockets"
5956
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_SOCKETS = yes; then
5959 result=no
5960 else
5961 result=yes
5962 fi
5963 else
5964 result=$wxUSE_SOCKETS
5965 fi
5966
5967 { echo "$as_me:$LINENO: result: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5969
5970
5971 enablestring=
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5975 defaultval=yes
5976 else
5977 defaultval=no
5978 fi
5979 fi
5980
5981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5982 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5983 # Check whether --enable-ipv6 was given.
5984 if test "${enable_ipv6+set}" = set; then
5985 enableval=$enable_ipv6;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5988 else
5989 wx_cv_use_ipv6='wxUSE_IPV6=no'
5990 fi
5991
5992 else
5993
5994 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5995
5996 fi
5997
5998
5999 eval "$wx_cv_use_ipv6"
6000
6001 if test x"$enablestring" = xdisable; then
6002 if test $wxUSE_IPV6 = yes; then
6003 result=no
6004 else
6005 result=yes
6006 fi
6007 else
6008 result=$wxUSE_IPV6
6009 fi
6010
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6013
6014
6015 enablestring=
6016 defaultval=$wxUSE_ALL_FEATURES
6017 if test -z "$defaultval"; then
6018 if test x"$enablestring" = xdisable; then
6019 defaultval=yes
6020 else
6021 defaultval=no
6022 fi
6023 fi
6024
6025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6026 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6027 # Check whether --enable-ole was given.
6028 if test "${enable_ole+set}" = set; then
6029 enableval=$enable_ole;
6030 if test "$enableval" = yes; then
6031 wx_cv_use_ole='wxUSE_OLE=yes'
6032 else
6033 wx_cv_use_ole='wxUSE_OLE=no'
6034 fi
6035
6036 else
6037
6038 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6039
6040 fi
6041
6042
6043 eval "$wx_cv_use_ole"
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_OLE = yes; then
6047 result=no
6048 else
6049 result=yes
6050 fi
6051 else
6052 result=$wxUSE_OLE
6053 fi
6054
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6057
6058
6059 enablestring=
6060 defaultval=$wxUSE_ALL_FEATURES
6061 if test -z "$defaultval"; then
6062 if test x"$enablestring" = xdisable; then
6063 defaultval=yes
6064 else
6065 defaultval=no
6066 fi
6067 fi
6068
6069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6070 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6071 # Check whether --enable-dataobj was given.
6072 if test "${enable_dataobj+set}" = set; then
6073 enableval=$enable_dataobj;
6074 if test "$enableval" = yes; then
6075 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6076 else
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6078 fi
6079
6080 else
6081
6082 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6083
6084 fi
6085
6086
6087 eval "$wx_cv_use_dataobj"
6088
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_DATAOBJ = yes; then
6091 result=no
6092 else
6093 result=yes
6094 fi
6095 else
6096 result=$wxUSE_DATAOBJ
6097 fi
6098
6099 { echo "$as_me:$LINENO: result: $result" >&5
6100 echo "${ECHO_T}$result" >&6; }
6101
6102
6103
6104 enablestring=
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6108 defaultval=yes
6109 else
6110 defaultval=no
6111 fi
6112 fi
6113
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6116 # Check whether --enable-ipc was given.
6117 if test "${enable_ipc+set}" = set; then
6118 enableval=$enable_ipc;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_ipc='wxUSE_IPC=yes'
6121 else
6122 wx_cv_use_ipc='wxUSE_IPC=no'
6123 fi
6124
6125 else
6126
6127 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6128
6129 fi
6130
6131
6132 eval "$wx_cv_use_ipc"
6133
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_IPC = yes; then
6136 result=no
6137 else
6138 result=yes
6139 fi
6140 else
6141 result=$wxUSE_IPC
6142 fi
6143
6144 { echo "$as_me:$LINENO: result: $result" >&5
6145 echo "${ECHO_T}$result" >&6; }
6146
6147
6148
6149 enablestring=
6150 defaultval=$wxUSE_ALL_FEATURES
6151 if test -z "$defaultval"; then
6152 if test x"$enablestring" = xdisable; then
6153 defaultval=yes
6154 else
6155 defaultval=no
6156 fi
6157 fi
6158
6159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6161 # Check whether --enable-baseevtloop was given.
6162 if test "${enable_baseevtloop+set}" = set; then
6163 enableval=$enable_baseevtloop;
6164 if test "$enableval" = yes; then
6165 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6166 else
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6168 fi
6169
6170 else
6171
6172 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6173
6174 fi
6175
6176
6177 eval "$wx_cv_use_baseevtloop"
6178
6179 if test x"$enablestring" = xdisable; then
6180 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6181 result=no
6182 else
6183 result=yes
6184 fi
6185 else
6186 result=$wxUSE_CONSOLE_EVENTLOOP
6187 fi
6188
6189 { echo "$as_me:$LINENO: result: $result" >&5
6190 echo "${ECHO_T}$result" >&6; }
6191
6192
6193 enablestring=
6194 defaultval=$wxUSE_ALL_FEATURES
6195 if test -z "$defaultval"; then
6196 if test x"$enablestring" = xdisable; then
6197 defaultval=yes
6198 else
6199 defaultval=no
6200 fi
6201 fi
6202
6203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6204 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6205 # Check whether --enable-epollloop was given.
6206 if test "${enable_epollloop+set}" = set; then
6207 enableval=$enable_epollloop;
6208 if test "$enableval" = yes; then
6209 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6210 else
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6212 fi
6213
6214 else
6215
6216 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6217
6218 fi
6219
6220
6221 eval "$wx_cv_use_epollloop"
6222
6223 if test x"$enablestring" = xdisable; then
6224 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6225 result=no
6226 else
6227 result=yes
6228 fi
6229 else
6230 result=$wxUSE_EPOLL_DISPATCHER
6231 fi
6232
6233 { echo "$as_me:$LINENO: result: $result" >&5
6234 echo "${ECHO_T}$result" >&6; }
6235
6236
6237 enablestring=
6238 defaultval=$wxUSE_ALL_FEATURES
6239 if test -z "$defaultval"; then
6240 if test x"$enablestring" = xdisable; then
6241 defaultval=yes
6242 else
6243 defaultval=no
6244 fi
6245 fi
6246
6247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6249 # Check whether --enable-selectloop was given.
6250 if test "${enable_selectloop+set}" = set; then
6251 enableval=$enable_selectloop;
6252 if test "$enableval" = yes; then
6253 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6254 else
6255 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6256 fi
6257
6258 else
6259
6260 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6261
6262 fi
6263
6264
6265 eval "$wx_cv_use_selectloop"
6266
6267 if test x"$enablestring" = xdisable; then
6268 if test $wxUSE_SELECT_DISPATCHER = yes; then
6269 result=no
6270 else
6271 result=yes
6272 fi
6273 else
6274 result=$wxUSE_SELECT_DISPATCHER
6275 fi
6276
6277 { echo "$as_me:$LINENO: result: $result" >&5
6278 echo "${ECHO_T}$result" >&6; }
6279
6280
6281
6282 enablestring=
6283 defaultval=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x"$enablestring" = xdisable; then
6286 defaultval=yes
6287 else
6288 defaultval=no
6289 fi
6290 fi
6291
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6294 # Check whether --enable-apple_ieee was given.
6295 if test "${enable_apple_ieee+set}" = set; then
6296 enableval=$enable_apple_ieee;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6299 else
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6301 fi
6302
6303 else
6304
6305 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6306
6307 fi
6308
6309
6310 eval "$wx_cv_use_apple_ieee"
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_APPLE_IEEE = yes; then
6314 result=no
6315 else
6316 result=yes
6317 fi
6318 else
6319 result=$wxUSE_APPLE_IEEE
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}-arcstream" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6338 # Check whether --enable-arcstream was given.
6339 if test "${enable_arcstream+set}" = set; then
6340 enableval=$enable_arcstream;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6343 else
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6345 fi
6346
6347 else
6348
6349 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6350
6351 fi
6352
6353
6354 eval "$wx_cv_use_arcstream"
6355
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6358 result=no
6359 else
6360 result=yes
6361 fi
6362 else
6363 result=$wxUSE_ARCHIVE_STREAMS
6364 fi
6365
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6368
6369
6370 enablestring=
6371 defaultval=$wxUSE_ALL_FEATURES
6372 if test -z "$defaultval"; then
6373 if test x"$enablestring" = xdisable; then
6374 defaultval=yes
6375 else
6376 defaultval=no
6377 fi
6378 fi
6379
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6382 # Check whether --enable-base64 was given.
6383 if test "${enable_base64+set}" = set; then
6384 enableval=$enable_base64;
6385 if test "$enableval" = yes; then
6386 wx_cv_use_base64='wxUSE_BASE64=yes'
6387 else
6388 wx_cv_use_base64='wxUSE_BASE64=no'
6389 fi
6390
6391 else
6392
6393 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6394
6395 fi
6396
6397
6398 eval "$wx_cv_use_base64"
6399
6400 if test x"$enablestring" = xdisable; then
6401 if test $wxUSE_BASE64 = yes; then
6402 result=no
6403 else
6404 result=yes
6405 fi
6406 else
6407 result=$wxUSE_BASE64
6408 fi
6409
6410 { echo "$as_me:$LINENO: result: $result" >&5
6411 echo "${ECHO_T}$result" >&6; }
6412
6413
6414 enablestring=
6415 defaultval=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6418 defaultval=yes
6419 else
6420 defaultval=no
6421 fi
6422 fi
6423
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6426 # Check whether --enable-backtrace was given.
6427 if test "${enable_backtrace+set}" = set; then
6428 enableval=$enable_backtrace;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6431 else
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6433 fi
6434
6435 else
6436
6437 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6438
6439 fi
6440
6441
6442 eval "$wx_cv_use_backtrace"
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_STACKWALKER = yes; then
6446 result=no
6447 else
6448 result=yes
6449 fi
6450 else
6451 result=$wxUSE_STACKWALKER
6452 fi
6453
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6470 # Check whether --enable-catch_segvs was given.
6471 if test "${enable_catch_segvs+set}" = set; then
6472 enableval=$enable_catch_segvs;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6475 else
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6477 fi
6478
6479 else
6480
6481 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_catch_segvs"
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_ON_FATAL_EXCEPTION
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6514 # Check whether --enable-cmdline was given.
6515 if test "${enable_cmdline+set}" = set; then
6516 enableval=$enable_cmdline;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6519 else
6520 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6521 fi
6522
6523 else
6524
6525 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6526
6527 fi
6528
6529
6530 eval "$wx_cv_use_cmdline"
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_CMDLINE_PARSER = yes; then
6534 result=no
6535 else
6536 result=yes
6537 fi
6538 else
6539 result=$wxUSE_CMDLINE_PARSER
6540 fi
6541
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6544
6545
6546 enablestring=
6547 defaultval=$wxUSE_ALL_FEATURES
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6550 defaultval=yes
6551 else
6552 defaultval=no
6553 fi
6554 fi
6555
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6558 # Check whether --enable-datetime was given.
6559 if test "${enable_datetime+set}" = set; then
6560 enableval=$enable_datetime;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6563 else
6564 wx_cv_use_datetime='wxUSE_DATETIME=no'
6565 fi
6566
6567 else
6568
6569 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6570
6571 fi
6572
6573
6574 eval "$wx_cv_use_datetime"
6575
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_DATETIME = yes; then
6578 result=no
6579 else
6580 result=yes
6581 fi
6582 else
6583 result=$wxUSE_DATETIME
6584 fi
6585
6586 { echo "$as_me:$LINENO: result: $result" >&5
6587 echo "${ECHO_T}$result" >&6; }
6588
6589
6590 enablestring=
6591 defaultval=$wxUSE_ALL_FEATURES
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6594 defaultval=yes
6595 else
6596 defaultval=no
6597 fi
6598 fi
6599
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6602 # Check whether --enable-debugreport was given.
6603 if test "${enable_debugreport+set}" = set; then
6604 enableval=$enable_debugreport;
6605 if test "$enableval" = yes; then
6606 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6607 else
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6609 fi
6610
6611 else
6612
6613 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6614
6615 fi
6616
6617
6618 eval "$wx_cv_use_debugreport"
6619
6620 if test x"$enablestring" = xdisable; then
6621 if test $wxUSE_DEBUGREPORT = yes; then
6622 result=no
6623 else
6624 result=yes
6625 fi
6626 else
6627 result=$wxUSE_DEBUGREPORT
6628 fi
6629
6630 { echo "$as_me:$LINENO: result: $result" >&5
6631 echo "${ECHO_T}$result" >&6; }
6632
6633
6634 enablestring=
6635 defaultval=$wxUSE_ALL_FEATURES
6636 if test -z "$defaultval"; then
6637 if test x"$enablestring" = xdisable; then
6638 defaultval=yes
6639 else
6640 defaultval=no
6641 fi
6642 fi
6643
6644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6646 # Check whether --enable-dialupman was given.
6647 if test "${enable_dialupman+set}" = set; then
6648 enableval=$enable_dialupman;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6651 else
6652 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6653 fi
6654
6655 else
6656
6657 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_dialupman"
6663
6664 if test x"$enablestring" = xdisable; then
6665 if test $wxUSE_DIALUP_MANAGER = yes; then
6666 result=no
6667 else
6668 result=yes
6669 fi
6670 else
6671 result=$wxUSE_DIALUP_MANAGER
6672 fi
6673
6674 { echo "$as_me:$LINENO: result: $result" >&5
6675 echo "${ECHO_T}$result" >&6; }
6676
6677
6678 enablestring=
6679 defaultval=$wxUSE_ALL_FEATURES
6680 if test -z "$defaultval"; then
6681 if test x"$enablestring" = xdisable; then
6682 defaultval=yes
6683 else
6684 defaultval=no
6685 fi
6686 fi
6687
6688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6690 # Check whether --enable-dynlib was given.
6691 if test "${enable_dynlib+set}" = set; then
6692 enableval=$enable_dynlib;
6693 if test "$enableval" = yes; then
6694 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6695 else
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6697 fi
6698
6699 else
6700
6701 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6702
6703 fi
6704
6705
6706 eval "$wx_cv_use_dynlib"
6707
6708 if test x"$enablestring" = xdisable; then
6709 if test $wxUSE_DYNLIB_CLASS = yes; then
6710 result=no
6711 else
6712 result=yes
6713 fi
6714 else
6715 result=$wxUSE_DYNLIB_CLASS
6716 fi
6717
6718 { echo "$as_me:$LINENO: result: $result" >&5
6719 echo "${ECHO_T}$result" >&6; }
6720
6721
6722 enablestring=
6723 defaultval=$wxUSE_ALL_FEATURES
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6726 defaultval=yes
6727 else
6728 defaultval=no
6729 fi
6730 fi
6731
6732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6734 # Check whether --enable-dynamicloader was given.
6735 if test "${enable_dynamicloader+set}" = set; then
6736 enableval=$enable_dynamicloader;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6739 else
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6741 fi
6742
6743 else
6744
6745 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6746
6747 fi
6748
6749
6750 eval "$wx_cv_use_dynamicloader"
6751
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_DYNAMIC_LOADER = yes; then
6754 result=no
6755 else
6756 result=yes
6757 fi
6758 else
6759 result=$wxUSE_DYNAMIC_LOADER
6760 fi
6761
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6764
6765
6766 enablestring=
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6770 defaultval=yes
6771 else
6772 defaultval=no
6773 fi
6774 fi
6775
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6778 # Check whether --enable-exceptions was given.
6779 if test "${enable_exceptions+set}" = set; then
6780 enableval=$enable_exceptions;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6783 else
6784 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6785 fi
6786
6787 else
6788
6789 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6790
6791 fi
6792
6793
6794 eval "$wx_cv_use_exceptions"
6795
6796 if test x"$enablestring" = xdisable; then
6797 if test $wxUSE_EXCEPTIONS = yes; then
6798 result=no
6799 else
6800 result=yes
6801 fi
6802 else
6803 result=$wxUSE_EXCEPTIONS
6804 fi
6805
6806 { echo "$as_me:$LINENO: result: $result" >&5
6807 echo "${ECHO_T}$result" >&6; }
6808
6809
6810 enablestring=
6811 defaultval=$wxUSE_ALL_FEATURES
6812 if test -z "$defaultval"; then
6813 if test x"$enablestring" = xdisable; then
6814 defaultval=yes
6815 else
6816 defaultval=no
6817 fi
6818 fi
6819
6820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6821 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6822 # Check whether --enable-ffile was given.
6823 if test "${enable_ffile+set}" = set; then
6824 enableval=$enable_ffile;
6825 if test "$enableval" = yes; then
6826 wx_cv_use_ffile='wxUSE_FFILE=yes'
6827 else
6828 wx_cv_use_ffile='wxUSE_FFILE=no'
6829 fi
6830
6831 else
6832
6833 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6834
6835 fi
6836
6837
6838 eval "$wx_cv_use_ffile"
6839
6840 if test x"$enablestring" = xdisable; then
6841 if test $wxUSE_FFILE = yes; then
6842 result=no
6843 else
6844 result=yes
6845 fi
6846 else
6847 result=$wxUSE_FFILE
6848 fi
6849
6850 { echo "$as_me:$LINENO: result: $result" >&5
6851 echo "${ECHO_T}$result" >&6; }
6852
6853
6854 enablestring=
6855 defaultval=$wxUSE_ALL_FEATURES
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6858 defaultval=yes
6859 else
6860 defaultval=no
6861 fi
6862 fi
6863
6864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6866 # Check whether --enable-file was given.
6867 if test "${enable_file+set}" = set; then
6868 enableval=$enable_file;
6869 if test "$enableval" = yes; then
6870 wx_cv_use_file='wxUSE_FILE=yes'
6871 else
6872 wx_cv_use_file='wxUSE_FILE=no'
6873 fi
6874
6875 else
6876
6877 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6878
6879 fi
6880
6881
6882 eval "$wx_cv_use_file"
6883
6884 if test x"$enablestring" = xdisable; then
6885 if test $wxUSE_FILE = yes; then
6886 result=no
6887 else
6888 result=yes
6889 fi
6890 else
6891 result=$wxUSE_FILE
6892 fi
6893
6894 { echo "$as_me:$LINENO: result: $result" >&5
6895 echo "${ECHO_T}$result" >&6; }
6896
6897
6898 enablestring=
6899 defaultval=$wxUSE_ALL_FEATURES
6900 if test -z "$defaultval"; then
6901 if test x"$enablestring" = xdisable; then
6902 defaultval=yes
6903 else
6904 defaultval=no
6905 fi
6906 fi
6907
6908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6910 # Check whether --enable-filesystem was given.
6911 if test "${enable_filesystem+set}" = set; then
6912 enableval=$enable_filesystem;
6913 if test "$enableval" = yes; then
6914 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6915 else
6916 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6917 fi
6918
6919 else
6920
6921 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6922
6923 fi
6924
6925
6926 eval "$wx_cv_use_filesystem"
6927
6928 if test x"$enablestring" = xdisable; then
6929 if test $wxUSE_FILESYSTEM = yes; then
6930 result=no
6931 else
6932 result=yes
6933 fi
6934 else
6935 result=$wxUSE_FILESYSTEM
6936 fi
6937
6938 { echo "$as_me:$LINENO: result: $result" >&5
6939 echo "${ECHO_T}$result" >&6; }
6940
6941
6942 enablestring=
6943 defaultval=$wxUSE_ALL_FEATURES
6944 if test -z "$defaultval"; then
6945 if test x"$enablestring" = xdisable; then
6946 defaultval=yes
6947 else
6948 defaultval=no
6949 fi
6950 fi
6951
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6954 # Check whether --enable-fontenum was given.
6955 if test "${enable_fontenum+set}" = set; then
6956 enableval=$enable_fontenum;
6957 if test "$enableval" = yes; then
6958 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6959 else
6960 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6961 fi
6962
6963 else
6964
6965 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6966
6967 fi
6968
6969
6970 eval "$wx_cv_use_fontenum"
6971
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_FONTENUM = yes; then
6974 result=no
6975 else
6976 result=yes
6977 fi
6978 else
6979 result=$wxUSE_FONTENUM
6980 fi
6981
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6984
6985
6986 enablestring=
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6990 defaultval=yes
6991 else
6992 defaultval=no
6993 fi
6994 fi
6995
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6998 # Check whether --enable-fontmap was given.
6999 if test "${enable_fontmap+set}" = set; then
7000 enableval=$enable_fontmap;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7003 else
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7005 fi
7006
7007 else
7008
7009 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7010
7011 fi
7012
7013
7014 eval "$wx_cv_use_fontmap"
7015
7016 if test x"$enablestring" = xdisable; then
7017 if test $wxUSE_FONTMAP = yes; then
7018 result=no
7019 else
7020 result=yes
7021 fi
7022 else
7023 result=$wxUSE_FONTMAP
7024 fi
7025
7026 { echo "$as_me:$LINENO: result: $result" >&5
7027 echo "${ECHO_T}$result" >&6; }
7028
7029
7030 enablestring=
7031 defaultval=$wxUSE_ALL_FEATURES
7032 if test -z "$defaultval"; then
7033 if test x"$enablestring" = xdisable; then
7034 defaultval=yes
7035 else
7036 defaultval=no
7037 fi
7038 fi
7039
7040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7042 # Check whether --enable-fs_archive was given.
7043 if test "${enable_fs_archive+set}" = set; then
7044 enableval=$enable_fs_archive;
7045 if test "$enableval" = yes; then
7046 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7047 else
7048 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7049 fi
7050
7051 else
7052
7053 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7054
7055 fi
7056
7057
7058 eval "$wx_cv_use_fs_archive"
7059
7060 if test x"$enablestring" = xdisable; then
7061 if test $wxUSE_FS_ARCHIVE = yes; then
7062 result=no
7063 else
7064 result=yes
7065 fi
7066 else
7067 result=$wxUSE_FS_ARCHIVE
7068 fi
7069
7070 { echo "$as_me:$LINENO: result: $result" >&5
7071 echo "${ECHO_T}$result" >&6; }
7072
7073
7074 enablestring=
7075 defaultval=$wxUSE_ALL_FEATURES
7076 if test -z "$defaultval"; then
7077 if test x"$enablestring" = xdisable; then
7078 defaultval=yes
7079 else
7080 defaultval=no
7081 fi
7082 fi
7083
7084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7086 # Check whether --enable-fs_inet was given.
7087 if test "${enable_fs_inet+set}" = set; then
7088 enableval=$enable_fs_inet;
7089 if test "$enableval" = yes; then
7090 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7091 else
7092 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7093 fi
7094
7095 else
7096
7097 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_fs_inet"
7103
7104 if test x"$enablestring" = xdisable; then
7105 if test $wxUSE_FS_INET = yes; then
7106 result=no
7107 else
7108 result=yes
7109 fi
7110 else
7111 result=$wxUSE_FS_INET
7112 fi
7113
7114 { echo "$as_me:$LINENO: result: $result" >&5
7115 echo "${ECHO_T}$result" >&6; }
7116
7117
7118 enablestring=
7119 defaultval=$wxUSE_ALL_FEATURES
7120 if test -z "$defaultval"; then
7121 if test x"$enablestring" = xdisable; then
7122 defaultval=yes
7123 else
7124 defaultval=no
7125 fi
7126 fi
7127
7128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7130 # Check whether --enable-fs_zip was given.
7131 if test "${enable_fs_zip+set}" = set; then
7132 enableval=$enable_fs_zip;
7133 if test "$enableval" = yes; then
7134 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7135 else
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7137 fi
7138
7139 else
7140
7141 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7142
7143 fi
7144
7145
7146 eval "$wx_cv_use_fs_zip"
7147
7148 if test x"$enablestring" = xdisable; then
7149 if test $wxUSE_FS_ZIP = yes; then
7150 result=no
7151 else
7152 result=yes
7153 fi
7154 else
7155 result=$wxUSE_FS_ZIP
7156 fi
7157
7158 { echo "$as_me:$LINENO: result: $result" >&5
7159 echo "${ECHO_T}$result" >&6; }
7160
7161
7162 enablestring=
7163 defaultval=$wxUSE_ALL_FEATURES
7164 if test -z "$defaultval"; then
7165 if test x"$enablestring" = xdisable; then
7166 defaultval=yes
7167 else
7168 defaultval=no
7169 fi
7170 fi
7171
7172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7173 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7174 # Check whether --enable-geometry was given.
7175 if test "${enable_geometry+set}" = set; then
7176 enableval=$enable_geometry;
7177 if test "$enableval" = yes; then
7178 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7179 else
7180 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7181 fi
7182
7183 else
7184
7185 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7186
7187 fi
7188
7189
7190 eval "$wx_cv_use_geometry"
7191
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_GEOMETRY = yes; then
7194 result=no
7195 else
7196 result=yes
7197 fi
7198 else
7199 result=$wxUSE_GEOMETRY
7200 fi
7201
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7204
7205
7206 enablestring=
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7210 defaultval=yes
7211 else
7212 defaultval=no
7213 fi
7214 fi
7215
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7218 # Check whether --enable-log was given.
7219 if test "${enable_log+set}" = set; then
7220 enableval=$enable_log;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_log='wxUSE_LOG=yes'
7223 else
7224 wx_cv_use_log='wxUSE_LOG=no'
7225 fi
7226
7227 else
7228
7229 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7230
7231 fi
7232
7233
7234 eval "$wx_cv_use_log"
7235
7236 if test x"$enablestring" = xdisable; then
7237 if test $wxUSE_LOG = yes; then
7238 result=no
7239 else
7240 result=yes
7241 fi
7242 else
7243 result=$wxUSE_LOG
7244 fi
7245
7246 { echo "$as_me:$LINENO: result: $result" >&5
7247 echo "${ECHO_T}$result" >&6; }
7248
7249
7250 enablestring=
7251 defaultval=$wxUSE_ALL_FEATURES
7252 if test -z "$defaultval"; then
7253 if test x"$enablestring" = xdisable; then
7254 defaultval=yes
7255 else
7256 defaultval=no
7257 fi
7258 fi
7259
7260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7262 # Check whether --enable-longlong was given.
7263 if test "${enable_longlong+set}" = set; then
7264 enableval=$enable_longlong;
7265 if test "$enableval" = yes; then
7266 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7267 else
7268 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7269 fi
7270
7271 else
7272
7273 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7274
7275 fi
7276
7277
7278 eval "$wx_cv_use_longlong"
7279
7280 if test x"$enablestring" = xdisable; then
7281 if test $wxUSE_LONGLONG = yes; then
7282 result=no
7283 else
7284 result=yes
7285 fi
7286 else
7287 result=$wxUSE_LONGLONG
7288 fi
7289
7290 { echo "$as_me:$LINENO: result: $result" >&5
7291 echo "${ECHO_T}$result" >&6; }
7292
7293
7294 enablestring=
7295 defaultval=$wxUSE_ALL_FEATURES
7296 if test -z "$defaultval"; then
7297 if test x"$enablestring" = xdisable; then
7298 defaultval=yes
7299 else
7300 defaultval=no
7301 fi
7302 fi
7303
7304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7306 # Check whether --enable-mimetype was given.
7307 if test "${enable_mimetype+set}" = set; then
7308 enableval=$enable_mimetype;
7309 if test "$enableval" = yes; then
7310 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7311 else
7312 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7313 fi
7314
7315 else
7316
7317 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7318
7319 fi
7320
7321
7322 eval "$wx_cv_use_mimetype"
7323
7324 if test x"$enablestring" = xdisable; then
7325 if test $wxUSE_MIMETYPE = yes; then
7326 result=no
7327 else
7328 result=yes
7329 fi
7330 else
7331 result=$wxUSE_MIMETYPE
7332 fi
7333
7334 { echo "$as_me:$LINENO: result: $result" >&5
7335 echo "${ECHO_T}$result" >&6; }
7336
7337
7338 enablestring=
7339 defaultval=$wxUSE_ALL_FEATURES
7340 if test -z "$defaultval"; then
7341 if test x"$enablestring" = xdisable; then
7342 defaultval=yes
7343 else
7344 defaultval=no
7345 fi
7346 fi
7347
7348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7350 # Check whether --enable-printfposparam was given.
7351 if test "${enable_printfposparam+set}" = set; then
7352 enableval=$enable_printfposparam;
7353 if test "$enableval" = yes; then
7354 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7355 else
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7357 fi
7358
7359 else
7360
7361 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7362
7363 fi
7364
7365
7366 eval "$wx_cv_use_printfposparam"
7367
7368 if test x"$enablestring" = xdisable; then
7369 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7370 result=no
7371 else
7372 result=yes
7373 fi
7374 else
7375 result=$wxUSE_PRINTF_POS_PARAMS
7376 fi
7377
7378 { echo "$as_me:$LINENO: result: $result" >&5
7379 echo "${ECHO_T}$result" >&6; }
7380
7381
7382 enablestring=
7383 defaultval=$wxUSE_ALL_FEATURES
7384 if test -z "$defaultval"; then
7385 if test x"$enablestring" = xdisable; then
7386 defaultval=yes
7387 else
7388 defaultval=no
7389 fi
7390 fi
7391
7392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7394 # Check whether --enable-snglinst was given.
7395 if test "${enable_snglinst+set}" = set; then
7396 enableval=$enable_snglinst;
7397 if test "$enableval" = yes; then
7398 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7399 else
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7401 fi
7402
7403 else
7404
7405 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7406
7407 fi
7408
7409
7410 eval "$wx_cv_use_snglinst"
7411
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_SNGLINST_CHECKER = yes; then
7414 result=no
7415 else
7416 result=yes
7417 fi
7418 else
7419 result=$wxUSE_SNGLINST_CHECKER
7420 fi
7421
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7424
7425
7426 enablestring=
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7430 defaultval=yes
7431 else
7432 defaultval=no
7433 fi
7434 fi
7435
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7438 # Check whether --enable-sound was given.
7439 if test "${enable_sound+set}" = set; then
7440 enableval=$enable_sound;
7441 if test "$enableval" = yes; then
7442 wx_cv_use_sound='wxUSE_SOUND=yes'
7443 else
7444 wx_cv_use_sound='wxUSE_SOUND=no'
7445 fi
7446
7447 else
7448
7449 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7450
7451 fi
7452
7453
7454 eval "$wx_cv_use_sound"
7455
7456 if test x"$enablestring" = xdisable; then
7457 if test $wxUSE_SOUND = yes; then
7458 result=no
7459 else
7460 result=yes
7461 fi
7462 else
7463 result=$wxUSE_SOUND
7464 fi
7465
7466 { echo "$as_me:$LINENO: result: $result" >&5
7467 echo "${ECHO_T}$result" >&6; }
7468
7469
7470 enablestring=
7471 defaultval=$wxUSE_ALL_FEATURES
7472 if test -z "$defaultval"; then
7473 if test x"$enablestring" = xdisable; then
7474 defaultval=yes
7475 else
7476 defaultval=no
7477 fi
7478 fi
7479
7480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7481 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7482 # Check whether --enable-stdpaths was given.
7483 if test "${enable_stdpaths+set}" = set; then
7484 enableval=$enable_stdpaths;
7485 if test "$enableval" = yes; then
7486 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7487 else
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7489 fi
7490
7491 else
7492
7493 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7494
7495 fi
7496
7497
7498 eval "$wx_cv_use_stdpaths"
7499
7500 if test x"$enablestring" = xdisable; then
7501 if test $wxUSE_STDPATHS = yes; then
7502 result=no
7503 else
7504 result=yes
7505 fi
7506 else
7507 result=$wxUSE_STDPATHS
7508 fi
7509
7510 { echo "$as_me:$LINENO: result: $result" >&5
7511 echo "${ECHO_T}$result" >&6; }
7512
7513
7514 enablestring=
7515 defaultval=$wxUSE_ALL_FEATURES
7516 if test -z "$defaultval"; then
7517 if test x"$enablestring" = xdisable; then
7518 defaultval=yes
7519 else
7520 defaultval=no
7521 fi
7522 fi
7523
7524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7526 # Check whether --enable-stopwatch was given.
7527 if test "${enable_stopwatch+set}" = set; then
7528 enableval=$enable_stopwatch;
7529 if test "$enableval" = yes; then
7530 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7531 else
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7533 fi
7534
7535 else
7536
7537 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7538
7539 fi
7540
7541
7542 eval "$wx_cv_use_stopwatch"
7543
7544 if test x"$enablestring" = xdisable; then
7545 if test $wxUSE_STOPWATCH = yes; then
7546 result=no
7547 else
7548 result=yes
7549 fi
7550 else
7551 result=$wxUSE_STOPWATCH
7552 fi
7553
7554 { echo "$as_me:$LINENO: result: $result" >&5
7555 echo "${ECHO_T}$result" >&6; }
7556
7557
7558 enablestring=
7559 defaultval=$wxUSE_ALL_FEATURES
7560 if test -z "$defaultval"; then
7561 if test x"$enablestring" = xdisable; then
7562 defaultval=yes
7563 else
7564 defaultval=no
7565 fi
7566 fi
7567
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7570 # Check whether --enable-streams was given.
7571 if test "${enable_streams+set}" = set; then
7572 enableval=$enable_streams;
7573 if test "$enableval" = yes; then
7574 wx_cv_use_streams='wxUSE_STREAMS=yes'
7575 else
7576 wx_cv_use_streams='wxUSE_STREAMS=no'
7577 fi
7578
7579 else
7580
7581 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7582
7583 fi
7584
7585
7586 eval "$wx_cv_use_streams"
7587
7588 if test x"$enablestring" = xdisable; then
7589 if test $wxUSE_STREAMS = yes; then
7590 result=no
7591 else
7592 result=yes
7593 fi
7594 else
7595 result=$wxUSE_STREAMS
7596 fi
7597
7598 { echo "$as_me:$LINENO: result: $result" >&5
7599 echo "${ECHO_T}$result" >&6; }
7600
7601
7602 enablestring=
7603 defaultval=$wxUSE_ALL_FEATURES
7604 if test -z "$defaultval"; then
7605 if test x"$enablestring" = xdisable; then
7606 defaultval=yes
7607 else
7608 defaultval=no
7609 fi
7610 fi
7611
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7614 # Check whether --enable-system_options was given.
7615 if test "${enable_system_options+set}" = set; then
7616 enableval=$enable_system_options;
7617 if test "$enableval" = yes; then
7618 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7619 else
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7621 fi
7622
7623 else
7624
7625 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7626
7627 fi
7628
7629
7630 eval "$wx_cv_use_system_options"
7631
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7634 result=no
7635 else
7636 result=yes
7637 fi
7638 else
7639 result=$wxUSE_SYSTEM_OPTIONS
7640 fi
7641
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7644
7645
7646 enablestring=
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7650 defaultval=yes
7651 else
7652 defaultval=no
7653 fi
7654 fi
7655
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7658 # Check whether --enable-tarstream was given.
7659 if test "${enable_tarstream+set}" = set; then
7660 enableval=$enable_tarstream;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7663 else
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7665 fi
7666
7667 else
7668
7669 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7670
7671 fi
7672
7673
7674 eval "$wx_cv_use_tarstream"
7675
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_TARSTREAM = yes; then
7678 result=no
7679 else
7680 result=yes
7681 fi
7682 else
7683 result=$wxUSE_TARSTREAM
7684 fi
7685
7686 { echo "$as_me:$LINENO: result: $result" >&5
7687 echo "${ECHO_T}$result" >&6; }
7688
7689
7690 enablestring=
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7694 defaultval=yes
7695 else
7696 defaultval=no
7697 fi
7698 fi
7699
7700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7702 # Check whether --enable-textbuf was given.
7703 if test "${enable_textbuf+set}" = set; then
7704 enableval=$enable_textbuf;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7707 else
7708 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7709 fi
7710
7711 else
7712
7713 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_textbuf"
7719
7720 if test x"$enablestring" = xdisable; then
7721 if test $wxUSE_TEXTBUFFER = yes; then
7722 result=no
7723 else
7724 result=yes
7725 fi
7726 else
7727 result=$wxUSE_TEXTBUFFER
7728 fi
7729
7730 { echo "$as_me:$LINENO: result: $result" >&5
7731 echo "${ECHO_T}$result" >&6; }
7732
7733
7734 enablestring=
7735 defaultval=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x"$enablestring" = xdisable; then
7738 defaultval=yes
7739 else
7740 defaultval=no
7741 fi
7742 fi
7743
7744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7746 # Check whether --enable-textfile was given.
7747 if test "${enable_textfile+set}" = set; then
7748 enableval=$enable_textfile;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7751 else
7752 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7753 fi
7754
7755 else
7756
7757 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7758
7759 fi
7760
7761
7762 eval "$wx_cv_use_textfile"
7763
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_TEXTFILE = yes; then
7766 result=no
7767 else
7768 result=yes
7769 fi
7770 else
7771 result=$wxUSE_TEXTFILE
7772 fi
7773
7774 { echo "$as_me:$LINENO: result: $result" >&5
7775 echo "${ECHO_T}$result" >&6; }
7776
7777
7778 enablestring=
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7782 defaultval=yes
7783 else
7784 defaultval=no
7785 fi
7786 fi
7787
7788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7790 # Check whether --enable-timer was given.
7791 if test "${enable_timer+set}" = set; then
7792 enableval=$enable_timer;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_timer='wxUSE_TIMER=yes'
7795 else
7796 wx_cv_use_timer='wxUSE_TIMER=no'
7797 fi
7798
7799 else
7800
7801 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7802
7803 fi
7804
7805
7806 eval "$wx_cv_use_timer"
7807
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_TIMER = yes; then
7810 result=no
7811 else
7812 result=yes
7813 fi
7814 else
7815 result=$wxUSE_TIMER
7816 fi
7817
7818 { echo "$as_me:$LINENO: result: $result" >&5
7819 echo "${ECHO_T}$result" >&6; }
7820
7821
7822 enablestring=
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7826 defaultval=yes
7827 else
7828 defaultval=no
7829 fi
7830 fi
7831
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7834 # Check whether --enable-variant was given.
7835 if test "${enable_variant+set}" = set; then
7836 enableval=$enable_variant;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_variant='wxUSE_VARIANT=yes'
7839 else
7840 wx_cv_use_variant='wxUSE_VARIANT=no'
7841 fi
7842
7843 else
7844
7845 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7846
7847 fi
7848
7849
7850 eval "$wx_cv_use_variant"
7851
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_VARIANT = yes; then
7854 result=no
7855 else
7856 result=yes
7857 fi
7858 else
7859 result=$wxUSE_VARIANT
7860 fi
7861
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7864
7865
7866 enablestring=
7867 defaultval=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x"$enablestring" = xdisable; then
7870 defaultval=yes
7871 else
7872 defaultval=no
7873 fi
7874 fi
7875
7876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7878 # Check whether --enable-zipstream was given.
7879 if test "${enable_zipstream+set}" = set; then
7880 enableval=$enable_zipstream;
7881 if test "$enableval" = yes; then
7882 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7883 else
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7885 fi
7886
7887 else
7888
7889 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7890
7891 fi
7892
7893
7894 eval "$wx_cv_use_zipstream"
7895
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_ZIPSTREAM = yes; then
7898 result=no
7899 else
7900 result=yes
7901 fi
7902 else
7903 result=$wxUSE_ZIPSTREAM
7904 fi
7905
7906 { echo "$as_me:$LINENO: result: $result" >&5
7907 echo "${ECHO_T}$result" >&6; }
7908
7909
7910
7911 enablestring=
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7915 defaultval=yes
7916 else
7917 defaultval=no
7918 fi
7919 fi
7920
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7923 # Check whether --enable-url was given.
7924 if test "${enable_url+set}" = set; then
7925 enableval=$enable_url;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_url='wxUSE_URL=yes'
7928 else
7929 wx_cv_use_url='wxUSE_URL=no'
7930 fi
7931
7932 else
7933
7934 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7935
7936 fi
7937
7938
7939 eval "$wx_cv_use_url"
7940
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_URL = yes; then
7943 result=no
7944 else
7945 result=yes
7946 fi
7947 else
7948 result=$wxUSE_URL
7949 fi
7950
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7953
7954
7955 enablestring=
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7959 defaultval=yes
7960 else
7961 defaultval=no
7962 fi
7963 fi
7964
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7967 # Check whether --enable-protocol was given.
7968 if test "${enable_protocol+set}" = set; then
7969 enableval=$enable_protocol;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7972 else
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7974 fi
7975
7976 else
7977
7978 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7979
7980 fi
7981
7982
7983 eval "$wx_cv_use_protocol"
7984
7985 if test x"$enablestring" = xdisable; then
7986 if test $wxUSE_PROTOCOL = yes; then
7987 result=no
7988 else
7989 result=yes
7990 fi
7991 else
7992 result=$wxUSE_PROTOCOL
7993 fi
7994
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
7997
7998
7999 enablestring=
8000 defaultval=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x"$enablestring" = xdisable; then
8003 defaultval=yes
8004 else
8005 defaultval=no
8006 fi
8007 fi
8008
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8011 # Check whether --enable-protocol_http was given.
8012 if test "${enable_protocol_http+set}" = set; then
8013 enableval=$enable_protocol_http;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8016 else
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8018 fi
8019
8020 else
8021
8022 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8023
8024 fi
8025
8026
8027 eval "$wx_cv_use_protocol_http"
8028
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_PROTOCOL_HTTP = yes; then
8031 result=no
8032 else
8033 result=yes
8034 fi
8035 else
8036 result=$wxUSE_PROTOCOL_HTTP
8037 fi
8038
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8041
8042
8043 enablestring=
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8047 defaultval=yes
8048 else
8049 defaultval=no
8050 fi
8051 fi
8052
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8055 # Check whether --enable-protocol_ftp was given.
8056 if test "${enable_protocol_ftp+set}" = set; then
8057 enableval=$enable_protocol_ftp;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8060 else
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8062 fi
8063
8064 else
8065
8066 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8067
8068 fi
8069
8070
8071 eval "$wx_cv_use_protocol_ftp"
8072
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_PROTOCOL_FTP = yes; then
8075 result=no
8076 else
8077 result=yes
8078 fi
8079 else
8080 result=$wxUSE_PROTOCOL_FTP
8081 fi
8082
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8085
8086
8087 enablestring=
8088 defaultval=$wxUSE_ALL_FEATURES
8089 if test -z "$defaultval"; then
8090 if test x"$enablestring" = xdisable; then
8091 defaultval=yes
8092 else
8093 defaultval=no
8094 fi
8095 fi
8096
8097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8099 # Check whether --enable-protocol_file was given.
8100 if test "${enable_protocol_file+set}" = set; then
8101 enableval=$enable_protocol_file;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8104 else
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8106 fi
8107
8108 else
8109
8110 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8111
8112 fi
8113
8114
8115 eval "$wx_cv_use_protocol_file"
8116
8117 if test x"$enablestring" = xdisable; then
8118 if test $wxUSE_PROTOCOL_FILE = yes; then
8119 result=no
8120 else
8121 result=yes
8122 fi
8123 else
8124 result=$wxUSE_PROTOCOL_FILE
8125 fi
8126
8127 { echo "$as_me:$LINENO: result: $result" >&5
8128 echo "${ECHO_T}$result" >&6; }
8129
8130
8131
8132 enablestring=
8133 defaultval=$wxUSE_ALL_FEATURES
8134 if test -z "$defaultval"; then
8135 if test x"$enablestring" = xdisable; then
8136 defaultval=yes
8137 else
8138 defaultval=no
8139 fi
8140 fi
8141
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8144 # Check whether --enable-threads was given.
8145 if test "${enable_threads+set}" = set; then
8146 enableval=$enable_threads;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_threads='wxUSE_THREADS=yes'
8149 else
8150 wx_cv_use_threads='wxUSE_THREADS=no'
8151 fi
8152
8153 else
8154
8155 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8156
8157 fi
8158
8159
8160 eval "$wx_cv_use_threads"
8161
8162 if test x"$enablestring" = xdisable; then
8163 if test $wxUSE_THREADS = yes; then
8164 result=no
8165 else
8166 result=yes
8167 fi
8168 else
8169 result=$wxUSE_THREADS
8170 fi
8171
8172 { echo "$as_me:$LINENO: result: $result" >&5
8173 echo "${ECHO_T}$result" >&6; }
8174
8175
8176
8177 enablestring=
8178 defaultval=
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8189 # Check whether --enable-iniconf was given.
8190 if test "${enable_iniconf+set}" = set; then
8191 enableval=$enable_iniconf;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8194 else
8195 wx_cv_use_iniconf='wxUSE_INICONF=no'
8196 fi
8197
8198 else
8199
8200 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_iniconf"
8206
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_INICONF = yes; then
8209 result=no
8210 else
8211 result=yes
8212 fi
8213 else
8214 result=$wxUSE_INICONF
8215 fi
8216
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8219
8220
8221 enablestring=
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8225 defaultval=yes
8226 else
8227 defaultval=no
8228 fi
8229 fi
8230
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8233 # Check whether --enable-regkey was given.
8234 if test "${enable_regkey+set}" = set; then
8235 enableval=$enable_regkey;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8238 else
8239 wx_cv_use_regkey='wxUSE_REGKEY=no'
8240 fi
8241
8242 else
8243
8244 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8245
8246 fi
8247
8248
8249 eval "$wx_cv_use_regkey"
8250
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_REGKEY = yes; then
8253 result=no
8254 else
8255 result=yes
8256 fi
8257 else
8258 result=$wxUSE_REGKEY
8259 fi
8260
8261 { echo "$as_me:$LINENO: result: $result" >&5
8262 echo "${ECHO_T}$result" >&6; }
8263
8264
8265 if test "$wxUSE_GUI" = "yes"; then
8266
8267
8268
8269 enablestring=
8270 defaultval=$wxUSE_ALL_FEATURES
8271 if test -z "$defaultval"; then
8272 if test x"$enablestring" = xdisable; then
8273 defaultval=yes
8274 else
8275 defaultval=no
8276 fi
8277 fi
8278
8279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8281 # Check whether --enable-docview was given.
8282 if test "${enable_docview+set}" = set; then
8283 enableval=$enable_docview;
8284 if test "$enableval" = yes; then
8285 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8286 else
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8288 fi
8289
8290 else
8291
8292 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8293
8294 fi
8295
8296
8297 eval "$wx_cv_use_docview"
8298
8299 if test x"$enablestring" = xdisable; then
8300 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8301 result=no
8302 else
8303 result=yes
8304 fi
8305 else
8306 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8307 fi
8308
8309 { echo "$as_me:$LINENO: result: $result" >&5
8310 echo "${ECHO_T}$result" >&6; }
8311
8312
8313 enablestring=
8314 defaultval=$wxUSE_ALL_FEATURES
8315 if test -z "$defaultval"; then
8316 if test x"$enablestring" = xdisable; then
8317 defaultval=yes
8318 else
8319 defaultval=no
8320 fi
8321 fi
8322
8323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8325 # Check whether --enable-help was given.
8326 if test "${enable_help+set}" = set; then
8327 enableval=$enable_help;
8328 if test "$enableval" = yes; then
8329 wx_cv_use_help='wxUSE_HELP=yes'
8330 else
8331 wx_cv_use_help='wxUSE_HELP=no'
8332 fi
8333
8334 else
8335
8336 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8337
8338 fi
8339
8340
8341 eval "$wx_cv_use_help"
8342
8343 if test x"$enablestring" = xdisable; then
8344 if test $wxUSE_HELP = yes; then
8345 result=no
8346 else
8347 result=yes
8348 fi
8349 else
8350 result=$wxUSE_HELP
8351 fi
8352
8353 { echo "$as_me:$LINENO: result: $result" >&5
8354 echo "${ECHO_T}$result" >&6; }
8355
8356
8357 enablestring=
8358 defaultval=$wxUSE_ALL_FEATURES
8359 if test -z "$defaultval"; then
8360 if test x"$enablestring" = xdisable; then
8361 defaultval=yes
8362 else
8363 defaultval=no
8364 fi
8365 fi
8366
8367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8369 # Check whether --enable-mshtmlhelp was given.
8370 if test "${enable_mshtmlhelp+set}" = set; then
8371 enableval=$enable_mshtmlhelp;
8372 if test "$enableval" = yes; then
8373 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8374 else
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8376 fi
8377
8378 else
8379
8380 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8381
8382 fi
8383
8384
8385 eval "$wx_cv_use_mshtmlhelp"
8386
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_MS_HTML_HELP = yes; then
8389 result=no
8390 else
8391 result=yes
8392 fi
8393 else
8394 result=$wxUSE_MS_HTML_HELP
8395 fi
8396
8397 { echo "$as_me:$LINENO: result: $result" >&5
8398 echo "${ECHO_T}$result" >&6; }
8399
8400
8401 enablestring=
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8405 defaultval=yes
8406 else
8407 defaultval=no
8408 fi
8409 fi
8410
8411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8413 # Check whether --enable-html was given.
8414 if test "${enable_html+set}" = set; then
8415 enableval=$enable_html;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_html='wxUSE_HTML=yes'
8418 else
8419 wx_cv_use_html='wxUSE_HTML=no'
8420 fi
8421
8422 else
8423
8424 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8425
8426 fi
8427
8428
8429 eval "$wx_cv_use_html"
8430
8431 if test x"$enablestring" = xdisable; then
8432 if test $wxUSE_HTML = yes; then
8433 result=no
8434 else
8435 result=yes
8436 fi
8437 else
8438 result=$wxUSE_HTML
8439 fi
8440
8441 { echo "$as_me:$LINENO: result: $result" >&5
8442 echo "${ECHO_T}$result" >&6; }
8443
8444
8445 enablestring=
8446 defaultval=$wxUSE_ALL_FEATURES
8447 if test -z "$defaultval"; then
8448 if test x"$enablestring" = xdisable; then
8449 defaultval=yes
8450 else
8451 defaultval=no
8452 fi
8453 fi
8454
8455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8457 # Check whether --enable-htmlhelp was given.
8458 if test "${enable_htmlhelp+set}" = set; then
8459 enableval=$enable_htmlhelp;
8460 if test "$enableval" = yes; then
8461 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8462 else
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8464 fi
8465
8466 else
8467
8468 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8469
8470 fi
8471
8472
8473 eval "$wx_cv_use_htmlhelp"
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_WXHTML_HELP = yes; then
8477 result=no
8478 else
8479 result=yes
8480 fi
8481 else
8482 result=$wxUSE_WXHTML_HELP
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}-xrc" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8501 # Check whether --enable-xrc was given.
8502 if test "${enable_xrc+set}" = set; then
8503 enableval=$enable_xrc;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_xrc='wxUSE_XRC=yes'
8506 else
8507 wx_cv_use_xrc='wxUSE_XRC=no'
8508 fi
8509
8510 else
8511
8512 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8513
8514 fi
8515
8516
8517 eval "$wx_cv_use_xrc"
8518
8519 if test x"$enablestring" = xdisable; then
8520 if test $wxUSE_XRC = yes; then
8521 result=no
8522 else
8523 result=yes
8524 fi
8525 else
8526 result=$wxUSE_XRC
8527 fi
8528
8529 { echo "$as_me:$LINENO: result: $result" >&5
8530 echo "${ECHO_T}$result" >&6; }
8531
8532
8533 enablestring=
8534 defaultval=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8537 defaultval=yes
8538 else
8539 defaultval=no
8540 fi
8541 fi
8542
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8545 # Check whether --enable-aui was given.
8546 if test "${enable_aui+set}" = set; then
8547 enableval=$enable_aui;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_aui='wxUSE_AUI=yes'
8550 else
8551 wx_cv_use_aui='wxUSE_AUI=no'
8552 fi
8553
8554 else
8555
8556 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_aui"
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_AUI = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_AUI
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8589 # Check whether --enable-propgrid was given.
8590 if test "${enable_propgrid+set}" = set; then
8591 enableval=$enable_propgrid;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8594 else
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8596 fi
8597
8598 else
8599
8600 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8601
8602 fi
8603
8604
8605 eval "$wx_cv_use_propgrid"
8606
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_PROPGRID = yes; then
8609 result=no
8610 else
8611 result=yes
8612 fi
8613 else
8614 result=$wxUSE_PROPGRID
8615 fi
8616
8617 { echo "$as_me:$LINENO: result: $result" >&5
8618 echo "${ECHO_T}$result" >&6; }
8619
8620
8621 enablestring=
8622 defaultval=$wxUSE_ALL_FEATURES
8623 if test -z "$defaultval"; then
8624 if test x"$enablestring" = xdisable; then
8625 defaultval=yes
8626 else
8627 defaultval=no
8628 fi
8629 fi
8630
8631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8633 # Check whether --enable-stc was given.
8634 if test "${enable_stc+set}" = set; then
8635 enableval=$enable_stc;
8636 if test "$enableval" = yes; then
8637 wx_cv_use_stc='wxUSE_STC=yes'
8638 else
8639 wx_cv_use_stc='wxUSE_STC=no'
8640 fi
8641
8642 else
8643
8644 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8645
8646 fi
8647
8648
8649 eval "$wx_cv_use_stc"
8650
8651 if test x"$enablestring" = xdisable; then
8652 if test $wxUSE_STC = yes; then
8653 result=no
8654 else
8655 result=yes
8656 fi
8657 else
8658 result=$wxUSE_STC
8659 fi
8660
8661 { echo "$as_me:$LINENO: result: $result" >&5
8662 echo "${ECHO_T}$result" >&6; }
8663
8664
8665 enablestring=
8666 defaultval=$wxUSE_ALL_FEATURES
8667 if test -z "$defaultval"; then
8668 if test x"$enablestring" = xdisable; then
8669 defaultval=yes
8670 else
8671 defaultval=no
8672 fi
8673 fi
8674
8675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8677 # Check whether --enable-constraints was given.
8678 if test "${enable_constraints+set}" = set; then
8679 enableval=$enable_constraints;
8680 if test "$enableval" = yes; then
8681 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8682 else
8683 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8684 fi
8685
8686 else
8687
8688 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8689
8690 fi
8691
8692
8693 eval "$wx_cv_use_constraints"
8694
8695 if test x"$enablestring" = xdisable; then
8696 if test $wxUSE_CONSTRAINTS = yes; then
8697 result=no
8698 else
8699 result=yes
8700 fi
8701 else
8702 result=$wxUSE_CONSTRAINTS
8703 fi
8704
8705 { echo "$as_me:$LINENO: result: $result" >&5
8706 echo "${ECHO_T}$result" >&6; }
8707
8708
8709 enablestring=
8710 defaultval=$wxUSE_ALL_FEATURES
8711 if test -z "$defaultval"; then
8712 if test x"$enablestring" = xdisable; then
8713 defaultval=yes
8714 else
8715 defaultval=no
8716 fi
8717 fi
8718
8719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8721 # Check whether --enable-loggui was given.
8722 if test "${enable_loggui+set}" = set; then
8723 enableval=$enable_loggui;
8724 if test "$enableval" = yes; then
8725 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8726 else
8727 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8728 fi
8729
8730 else
8731
8732 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_loggui"
8738
8739 if test x"$enablestring" = xdisable; then
8740 if test $wxUSE_LOGGUI = yes; then
8741 result=no
8742 else
8743 result=yes
8744 fi
8745 else
8746 result=$wxUSE_LOGGUI
8747 fi
8748
8749 { echo "$as_me:$LINENO: result: $result" >&5
8750 echo "${ECHO_T}$result" >&6; }
8751
8752
8753 enablestring=
8754 defaultval=$wxUSE_ALL_FEATURES
8755 if test -z "$defaultval"; then
8756 if test x"$enablestring" = xdisable; then
8757 defaultval=yes
8758 else
8759 defaultval=no
8760 fi
8761 fi
8762
8763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8764 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8765 # Check whether --enable-logwin was given.
8766 if test "${enable_logwin+set}" = set; then
8767 enableval=$enable_logwin;
8768 if test "$enableval" = yes; then
8769 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8770 else
8771 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8772 fi
8773
8774 else
8775
8776 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8777
8778 fi
8779
8780
8781 eval "$wx_cv_use_logwin"
8782
8783 if test x"$enablestring" = xdisable; then
8784 if test $wxUSE_LOGWINDOW = yes; then
8785 result=no
8786 else
8787 result=yes
8788 fi
8789 else
8790 result=$wxUSE_LOGWINDOW
8791 fi
8792
8793 { echo "$as_me:$LINENO: result: $result" >&5
8794 echo "${ECHO_T}$result" >&6; }
8795
8796
8797 enablestring=
8798 defaultval=$wxUSE_ALL_FEATURES
8799 if test -z "$defaultval"; then
8800 if test x"$enablestring" = xdisable; then
8801 defaultval=yes
8802 else
8803 defaultval=no
8804 fi
8805 fi
8806
8807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8808 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8809 # Check whether --enable-logdialog was given.
8810 if test "${enable_logdialog+set}" = set; then
8811 enableval=$enable_logdialog;
8812 if test "$enableval" = yes; then
8813 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8814 else
8815 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8816 fi
8817
8818 else
8819
8820 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8821
8822 fi
8823
8824
8825 eval "$wx_cv_use_logdialog"
8826
8827 if test x"$enablestring" = xdisable; then
8828 if test $wxUSE_LOGDIALOG = yes; then
8829 result=no
8830 else
8831 result=yes
8832 fi
8833 else
8834 result=$wxUSE_LOGDIALOG
8835 fi
8836
8837 { echo "$as_me:$LINENO: result: $result" >&5
8838 echo "${ECHO_T}$result" >&6; }
8839
8840
8841 enablestring=
8842 defaultval=$wxUSE_ALL_FEATURES
8843 if test -z "$defaultval"; then
8844 if test x"$enablestring" = xdisable; then
8845 defaultval=yes
8846 else
8847 defaultval=no
8848 fi
8849 fi
8850
8851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8853 # Check whether --enable-mdi was given.
8854 if test "${enable_mdi+set}" = set; then
8855 enableval=$enable_mdi;
8856 if test "$enableval" = yes; then
8857 wx_cv_use_mdi='wxUSE_MDI=yes'
8858 else
8859 wx_cv_use_mdi='wxUSE_MDI=no'
8860 fi
8861
8862 else
8863
8864 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8865
8866 fi
8867
8868
8869 eval "$wx_cv_use_mdi"
8870
8871 if test x"$enablestring" = xdisable; then
8872 if test $wxUSE_MDI = yes; then
8873 result=no
8874 else
8875 result=yes
8876 fi
8877 else
8878 result=$wxUSE_MDI
8879 fi
8880
8881 { echo "$as_me:$LINENO: result: $result" >&5
8882 echo "${ECHO_T}$result" >&6; }
8883
8884
8885 enablestring=
8886 defaultval=$wxUSE_ALL_FEATURES
8887 if test -z "$defaultval"; then
8888 if test x"$enablestring" = xdisable; then
8889 defaultval=yes
8890 else
8891 defaultval=no
8892 fi
8893 fi
8894
8895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8897 # Check whether --enable-mdidoc was given.
8898 if test "${enable_mdidoc+set}" = set; then
8899 enableval=$enable_mdidoc;
8900 if test "$enableval" = yes; then
8901 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8902 else
8903 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8904 fi
8905
8906 else
8907
8908 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8909
8910 fi
8911
8912
8913 eval "$wx_cv_use_mdidoc"
8914
8915 if test x"$enablestring" = xdisable; then
8916 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8917 result=no
8918 else
8919 result=yes
8920 fi
8921 else
8922 result=$wxUSE_MDI_ARCHITECTURE
8923 fi
8924
8925 { echo "$as_me:$LINENO: result: $result" >&5
8926 echo "${ECHO_T}$result" >&6; }
8927
8928
8929 enablestring=
8930 defaultval=$wxUSE_ALL_FEATURES
8931 if test -z "$defaultval"; then
8932 if test x"$enablestring" = xdisable; then
8933 defaultval=yes
8934 else
8935 defaultval=no
8936 fi
8937 fi
8938
8939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8941 # Check whether --enable-mediactrl was given.
8942 if test "${enable_mediactrl+set}" = set; then
8943 enableval=$enable_mediactrl;
8944 if test "$enableval" = yes; then
8945 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8946 else
8947 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8948 fi
8949
8950 else
8951
8952 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8953
8954 fi
8955
8956
8957 eval "$wx_cv_use_mediactrl"
8958
8959 if test x"$enablestring" = xdisable; then
8960 if test $wxUSE_MEDIACTRL = yes; then
8961 result=no
8962 else
8963 result=yes
8964 fi
8965 else
8966 result=$wxUSE_MEDIACTRL
8967 fi
8968
8969 { echo "$as_me:$LINENO: result: $result" >&5
8970 echo "${ECHO_T}$result" >&6; }
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8985 # Check whether --enable-gstreamer8 was given.
8986 if test "${enable_gstreamer8+set}" = set; then
8987 enableval=$enable_gstreamer8;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8990 else
8991 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8992 fi
8993
8994 else
8995
8996 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8997
8998 fi
8999
9000
9001 eval "$wx_cv_use_gstreamer8"
9002
9003 if test x"$enablestring" = xdisable; then
9004 if test $wxUSE_GSTREAMER8 = yes; then
9005 result=no
9006 else
9007 result=yes
9008 fi
9009 else
9010 result=$wxUSE_GSTREAMER8
9011 fi
9012
9013 { echo "$as_me:$LINENO: result: $result" >&5
9014 echo "${ECHO_T}$result" >&6; }
9015
9016
9017 enablestring=
9018 defaultval=$wxUSE_ALL_FEATURES
9019 if test -z "$defaultval"; then
9020 if test x"$enablestring" = xdisable; then
9021 defaultval=yes
9022 else
9023 defaultval=no
9024 fi
9025 fi
9026
9027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9029 # Check whether --enable-webkit was given.
9030 if test "${enable_webkit+set}" = set; then
9031 enableval=$enable_webkit;
9032 if test "$enableval" = yes; then
9033 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9034 else
9035 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9036 fi
9037
9038 else
9039
9040 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9041
9042 fi
9043
9044
9045 eval "$wx_cv_use_webkit"
9046
9047 if test x"$enablestring" = xdisable; then
9048 if test $wxUSE_WEBKIT = yes; then
9049 result=no
9050 else
9051 result=yes
9052 fi
9053 else
9054 result=$wxUSE_WEBKIT
9055 fi
9056
9057 { echo "$as_me:$LINENO: result: $result" >&5
9058 echo "${ECHO_T}$result" >&6; }
9059
9060
9061 enablestring=
9062 defaultval=$wxUSE_ALL_FEATURES
9063 if test -z "$defaultval"; then
9064 if test x"$enablestring" = xdisable; then
9065 defaultval=yes
9066 else
9067 defaultval=no
9068 fi
9069 fi
9070
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9073 # Check whether --enable-richtext was given.
9074 if test "${enable_richtext+set}" = set; then
9075 enableval=$enable_richtext;
9076 if test "$enableval" = yes; then
9077 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9078 else
9079 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9080 fi
9081
9082 else
9083
9084 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9085
9086 fi
9087
9088
9089 eval "$wx_cv_use_richtext"
9090
9091 if test x"$enablestring" = xdisable; then
9092 if test $wxUSE_RICHTEXT = yes; then
9093 result=no
9094 else
9095 result=yes
9096 fi
9097 else
9098 result=$wxUSE_RICHTEXT
9099 fi
9100
9101 { echo "$as_me:$LINENO: result: $result" >&5
9102 echo "${ECHO_T}$result" >&6; }
9103
9104
9105 enablestring=
9106 defaultval=$wxUSE_ALL_FEATURES
9107 if test -z "$defaultval"; then
9108 if test x"$enablestring" = xdisable; then
9109 defaultval=yes
9110 else
9111 defaultval=no
9112 fi
9113 fi
9114
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9117 # Check whether --enable-graphics_ctx was given.
9118 if test "${enable_graphics_ctx+set}" = set; then
9119 enableval=$enable_graphics_ctx;
9120 if test "$enableval" = yes; then
9121 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9122 else
9123 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9124 fi
9125
9126 else
9127
9128 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9129
9130 fi
9131
9132
9133 eval "$wx_cv_use_graphics_ctx"
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9137 result=no
9138 else
9139 result=yes
9140 fi
9141 else
9142 result=$wxUSE_GRAPHICS_CONTEXT
9143 fi
9144
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9161 # Check whether --enable-postscript was given.
9162 if test "${enable_postscript+set}" = set; then
9163 enableval=$enable_postscript;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9166 else
9167 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9168 fi
9169
9170 else
9171
9172 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9173
9174 fi
9175
9176
9177 eval "$wx_cv_use_postscript"
9178
9179 if test x"$enablestring" = xdisable; then
9180 if test $wxUSE_POSTSCRIPT = yes; then
9181 result=no
9182 else
9183 result=yes
9184 fi
9185 else
9186 result=$wxUSE_POSTSCRIPT
9187 fi
9188
9189 { echo "$as_me:$LINENO: result: $result" >&5
9190 echo "${ECHO_T}$result" >&6; }
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9205 # Check whether --enable-printarch was given.
9206 if test "${enable_printarch+set}" = set; then
9207 enableval=$enable_printarch;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9210 else
9211 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9212 fi
9213
9214 else
9215
9216 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_printarch"
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_PRINTING_ARCHITECTURE
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9249 # Check whether --enable-svg was given.
9250 if test "${enable_svg+set}" = set; then
9251 enableval=$enable_svg;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_svg='wxUSE_SVG=yes'
9254 else
9255 wx_cv_use_svg='wxUSE_SVG=no'
9256 fi
9257
9258 else
9259
9260 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9261
9262 fi
9263
9264
9265 eval "$wx_cv_use_svg"
9266
9267 if test x"$enablestring" = xdisable; then
9268 if test $wxUSE_SVG = yes; then
9269 result=no
9270 else
9271 result=yes
9272 fi
9273 else
9274 result=$wxUSE_SVG
9275 fi
9276
9277 { echo "$as_me:$LINENO: result: $result" >&5
9278 echo "${ECHO_T}$result" >&6; }
9279
9280
9281
9282
9283 enablestring=
9284 defaultval=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x"$enablestring" = xdisable; then
9287 defaultval=yes
9288 else
9289 defaultval=no
9290 fi
9291 fi
9292
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9295 # Check whether --enable-clipboard was given.
9296 if test "${enable_clipboard+set}" = set; then
9297 enableval=$enable_clipboard;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9300 else
9301 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9302 fi
9303
9304 else
9305
9306 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9307
9308 fi
9309
9310
9311 eval "$wx_cv_use_clipboard"
9312
9313 if test x"$enablestring" = xdisable; then
9314 if test $wxUSE_CLIPBOARD = yes; then
9315 result=no
9316 else
9317 result=yes
9318 fi
9319 else
9320 result=$wxUSE_CLIPBOARD
9321 fi
9322
9323 { echo "$as_me:$LINENO: result: $result" >&5
9324 echo "${ECHO_T}$result" >&6; }
9325
9326
9327 enablestring=
9328 defaultval=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x"$enablestring" = xdisable; then
9331 defaultval=yes
9332 else
9333 defaultval=no
9334 fi
9335 fi
9336
9337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9338 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9339 # Check whether --enable-dnd was given.
9340 if test "${enable_dnd+set}" = set; then
9341 enableval=$enable_dnd;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9344 else
9345 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9346 fi
9347
9348 else
9349
9350 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9351
9352 fi
9353
9354
9355 eval "$wx_cv_use_dnd"
9356
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_DRAG_AND_DROP = yes; then
9359 result=no
9360 else
9361 result=yes
9362 fi
9363 else
9364 result=$wxUSE_DRAG_AND_DROP
9365 fi
9366
9367 { echo "$as_me:$LINENO: result: $result" >&5
9368 echo "${ECHO_T}$result" >&6; }
9369
9370
9371 enablestring=
9372 defaultval=$wxUSE_ALL_FEATURES
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9375 defaultval=yes
9376 else
9377 defaultval=no
9378 fi
9379 fi
9380
9381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9382 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9383 # Check whether --enable-metafile was given.
9384 if test "${enable_metafile+set}" = set; then
9385 enableval=$enable_metafile;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9388 else
9389 wx_cv_use_metafile='wxUSE_METAFILE=no'
9390 fi
9391
9392 else
9393
9394 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9395
9396 fi
9397
9398
9399 eval "$wx_cv_use_metafile"
9400
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_METAFILE = yes; then
9403 result=no
9404 else
9405 result=yes
9406 fi
9407 else
9408 result=$wxUSE_METAFILE
9409 fi
9410
9411 { echo "$as_me:$LINENO: result: $result" >&5
9412 echo "${ECHO_T}$result" >&6; }
9413
9414
9415
9416 DEFAULT_wxUSE_CONTROLS=none
9417
9418 enablestring=disable
9419 defaultval=
9420 if test -z "$defaultval"; then
9421 if test x"$enablestring" = xdisable; then
9422 defaultval=yes
9423 else
9424 defaultval=no
9425 fi
9426 fi
9427
9428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9430 # Check whether --enable-controls was given.
9431 if test "${enable_controls+set}" = set; then
9432 enableval=$enable_controls;
9433 if test "$enableval" = yes; then
9434 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9435 else
9436 wx_cv_use_controls='wxUSE_CONTROLS=no'
9437 fi
9438
9439 else
9440
9441 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9442
9443 fi
9444
9445
9446 eval "$wx_cv_use_controls"
9447
9448 if test x"$enablestring" = xdisable; then
9449 if test $wxUSE_CONTROLS = yes; then
9450 result=no
9451 else
9452 result=yes
9453 fi
9454 else
9455 result=$wxUSE_CONTROLS
9456 fi
9457
9458 { echo "$as_me:$LINENO: result: $result" >&5
9459 echo "${ECHO_T}$result" >&6; }
9460
9461
9462 if test "$wxUSE_CONTROLS" = "yes"; then
9463 DEFAULT_wxUSE_ACCEL=yes
9464 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9465 DEFAULT_wxUSE_BMPBUTTON=yes
9466 DEFAULT_wxUSE_BUTTON=yes
9467 DEFAULT_wxUSE_CALCTRL=yes
9468 DEFAULT_wxUSE_CARET=yes
9469 DEFAULT_wxUSE_COMBOBOX=yes
9470 DEFAULT_wxUSE_CHECKBOX=yes
9471 DEFAULT_wxUSE_CHECKLISTBOX=yes
9472 DEFAULT_wxUSE_CHOICE=yes
9473 DEFAULT_wxUSE_CHOICEBOOK=yes
9474 DEFAULT_wxUSE_COLLPANE=yes
9475 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9476 DEFAULT_wxUSE_COMBOBOX=yes
9477 DEFAULT_wxUSE_DATEPICKCTRL=yes
9478 DEFAULT_wxUSE_DISPLAY=yes
9479 DEFAULT_wxUSE_DETECT_SM=yes
9480 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9481 DEFAULT_wxUSE_FILECTRL=yes
9482 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9483 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9484 DEFAULT_wxUSE_GAUGE=yes
9485 DEFAULT_wxUSE_GRID=yes
9486 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9487 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9488 DEFAULT_wxUSE_IMAGLIST=yes
9489 DEFAULT_wxUSE_LISTBOOK=yes
9490 DEFAULT_wxUSE_LISTBOX=yes
9491 DEFAULT_wxUSE_LISTCTRL=yes
9492 DEFAULT_wxUSE_NOTEBOOK=yes
9493 DEFAULT_wxUSE_RADIOBOX=yes
9494 DEFAULT_wxUSE_RADIOBTN=yes
9495 DEFAULT_wxUSE_SASH=yes
9496 DEFAULT_wxUSE_SCROLLBAR=yes
9497 DEFAULT_wxUSE_SEARCHCTRL=yes
9498 DEFAULT_wxUSE_SLIDER=yes
9499 DEFAULT_wxUSE_SPINBTN=yes
9500 DEFAULT_wxUSE_SPINCTRL=yes
9501 DEFAULT_wxUSE_SPLITTER=yes
9502 DEFAULT_wxUSE_STATBMP=yes
9503 DEFAULT_wxUSE_STATBOX=yes
9504 DEFAULT_wxUSE_STATLINE=yes
9505 DEFAULT_wxUSE_STATUSBAR=yes
9506 DEFAULT_wxUSE_TAB_DIALOG=yes
9507 DEFAULT_wxUSE_TOGGLEBTN=yes
9508 DEFAULT_wxUSE_TOOLBAR=yes
9509 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9510 DEFAULT_wxUSE_TOOLTIPS=yes
9511 DEFAULT_wxUSE_TREEBOOK=yes
9512 DEFAULT_wxUSE_TOOLBOOK=yes
9513 DEFAULT_wxUSE_TREECTRL=yes
9514 DEFAULT_wxUSE_POPUPWIN=yes
9515 DEFAULT_wxUSE_TIPWINDOW=yes
9516 elif test "$wxUSE_CONTROLS" = "no"; then
9517 DEFAULT_wxUSE_ACCEL=no
9518 DEFAULT_wxUSE_ANIMATIONCTRL=no
9519 DEFAULT_wxUSE_BMPBUTTON=no
9520 DEFAULT_wxUSE_BUTTON=no
9521 DEFAULT_wxUSE_CALCTRL=no
9522 DEFAULT_wxUSE_CARET=no
9523 DEFAULT_wxUSE_COLLPANE=no
9524 DEFAULT_wxUSE_COMBOBOX=no
9525 DEFAULT_wxUSE_CHECKBOX=no
9526 DEFAULT_wxUSE_CHECKLISTBOX=no
9527 DEFAULT_wxUSE_CHOICE=no
9528 DEFAULT_wxUSE_CHOICEBOOK=no
9529 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9530 DEFAULT_wxUSE_COMBOBOX=no
9531 DEFAULT_wxUSE_DATEPICKCTRL=no
9532 DEFAULT_wxUSE_DISPLAY=no
9533 DEFAULT_wxUSE_DETECT_SM=no
9534 DEFAULT_wxUSE_DIRPICKERCTRL=no
9535 DEFAULT_wxUSE_FILECTRL=no
9536 DEFAULT_wxUSE_FILEPICKERCTRL=no
9537 DEFAULT_wxUSE_FONTPICKERCTRL=no
9538 DEFAULT_wxUSE_GAUGE=no
9539 DEFAULT_wxUSE_GRID=no
9540 DEFAULT_wxUSE_HYPERLINKCTRL=no
9541 DEFAULT_wxUSE_DATAVIEWCTRL=no
9542 DEFAULT_wxUSE_IMAGLIST=no
9543 DEFAULT_wxUSE_LISTBOOK=no
9544 DEFAULT_wxUSE_LISTBOX=no
9545 DEFAULT_wxUSE_LISTCTRL=no
9546 DEFAULT_wxUSE_NOTEBOOK=no
9547 DEFAULT_wxUSE_RADIOBOX=no
9548 DEFAULT_wxUSE_RADIOBTN=no
9549 DEFAULT_wxUSE_SASH=no
9550 DEFAULT_wxUSE_SCROLLBAR=no
9551 DEFAULT_wxUSE_SEARCHCTRL=no
9552 DEFAULT_wxUSE_SLIDER=no
9553 DEFAULT_wxUSE_SPINBTN=no
9554 DEFAULT_wxUSE_SPINCTRL=no
9555 DEFAULT_wxUSE_SPLITTER=no
9556 DEFAULT_wxUSE_STATBMP=no
9557 DEFAULT_wxUSE_STATBOX=no
9558 DEFAULT_wxUSE_STATLINE=no
9559 DEFAULT_wxUSE_STATUSBAR=no
9560 DEFAULT_wxUSE_TAB_DIALOG=no
9561 DEFAULT_wxUSE_TOGGLEBTN=no
9562 DEFAULT_wxUSE_TOOLBAR=no
9563 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9564 DEFAULT_wxUSE_TOOLTIPS=no
9565 DEFAULT_wxUSE_TREEBOOK=no
9566 DEFAULT_wxUSE_TOOLBOOK=no
9567 DEFAULT_wxUSE_TREECTRL=no
9568 DEFAULT_wxUSE_POPUPWIN=no
9569 DEFAULT_wxUSE_TIPWINDOW=no
9570 fi
9571
9572
9573 enablestring=
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9577 defaultval=yes
9578 else
9579 defaultval=no
9580 fi
9581 fi
9582
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9585 # Check whether --enable-accel was given.
9586 if test "${enable_accel+set}" = set; then
9587 enableval=$enable_accel;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_accel='wxUSE_ACCEL=yes'
9590 else
9591 wx_cv_use_accel='wxUSE_ACCEL=no'
9592 fi
9593
9594 else
9595
9596 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9597
9598 fi
9599
9600
9601 eval "$wx_cv_use_accel"
9602
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ACCEL = yes; then
9605 result=no
9606 else
9607 result=yes
9608 fi
9609 else
9610 result=$wxUSE_ACCEL
9611 fi
9612
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9615
9616
9617 enablestring=
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9621 defaultval=yes
9622 else
9623 defaultval=no
9624 fi
9625 fi
9626
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9629 # Check whether --enable-animatectrl was given.
9630 if test "${enable_animatectrl+set}" = set; then
9631 enableval=$enable_animatectrl;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9634 else
9635 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9636 fi
9637
9638 else
9639
9640 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9641
9642 fi
9643
9644
9645 eval "$wx_cv_use_animatectrl"
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_ANIMATIONCTRL = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_ANIMATIONCTRL
9655 fi
9656
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9673 # Check whether --enable-button was given.
9674 if test "${enable_button+set}" = set; then
9675 enableval=$enable_button;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_button='wxUSE_BUTTON=yes'
9678 else
9679 wx_cv_use_button='wxUSE_BUTTON=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_button"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BUTTON = yes; then
9693 result=no
9694 else
9695 result=yes
9696 fi
9697 else
9698 result=$wxUSE_BUTTON
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9717 # Check whether --enable-bmpbutton was given.
9718 if test "${enable_bmpbutton+set}" = set; then
9719 enableval=$enable_bmpbutton;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9722 else
9723 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_bmpbutton"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BMPBUTTON = yes; then
9737 result=no
9738 else
9739 result=yes
9740 fi
9741 else
9742 result=$wxUSE_BMPBUTTON
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9761 # Check whether --enable-bmpcombobox was given.
9762 if test "${enable_bmpcombobox+set}" = set; then
9763 enableval=$enable_bmpcombobox;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9766 else
9767 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_bmpcombobox"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9781 result=no
9782 else
9783 result=yes
9784 fi
9785 else
9786 result=$wxUSE_BITMAPCOMBOBOX
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9805 # Check whether --enable-calendar was given.
9806 if test "${enable_calendar+set}" = set; then
9807 enableval=$enable_calendar;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9810 else
9811 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_calendar"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_CALCTRL = yes; then
9825 result=no
9826 else
9827 result=yes
9828 fi
9829 else
9830 result=$wxUSE_CALCTRL
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9849 # Check whether --enable-caret was given.
9850 if test "${enable_caret+set}" = set; then
9851 enableval=$enable_caret;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_caret='wxUSE_CARET=yes'
9854 else
9855 wx_cv_use_caret='wxUSE_CARET=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_caret"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CARET = yes; then
9869 result=no
9870 else
9871 result=yes
9872 fi
9873 else
9874 result=$wxUSE_CARET
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9893 # Check whether --enable-checkbox was given.
9894 if test "${enable_checkbox+set}" = set; then
9895 enableval=$enable_checkbox;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9898 else
9899 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_checkbox"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKBOX = yes; then
9913 result=no
9914 else
9915 result=yes
9916 fi
9917 else
9918 result=$wxUSE_CHECKBOX
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9937 # Check whether --enable-checklst was given.
9938 if test "${enable_checklst+set}" = set; then
9939 enableval=$enable_checklst;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9942 else
9943 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_checklst"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CHECKLST = yes; then
9957 result=no
9958 else
9959 result=yes
9960 fi
9961 else
9962 result=$wxUSE_CHECKLST
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9981 # Check whether --enable-choice was given.
9982 if test "${enable_choice+set}" = set; then
9983 enableval=$enable_choice;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choice='wxUSE_CHOICE=yes'
9986 else
9987 wx_cv_use_choice='wxUSE_CHOICE=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_choice"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICE = yes; then
10001 result=no
10002 else
10003 result=yes
10004 fi
10005 else
10006 result=$wxUSE_CHOICE
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10025 # Check whether --enable-choicebook was given.
10026 if test "${enable_choicebook+set}" = set; then
10027 enableval=$enable_choicebook;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10030 else
10031 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_choicebook"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_CHOICEBOOK = yes; then
10045 result=no
10046 else
10047 result=yes
10048 fi
10049 else
10050 result=$wxUSE_CHOICEBOOK
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10069 # Check whether --enable-collpane was given.
10070 if test "${enable_collpane+set}" = set; then
10071 enableval=$enable_collpane;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10074 else
10075 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_collpane"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_COLLPANE = yes; then
10089 result=no
10090 else
10091 result=yes
10092 fi
10093 else
10094 result=$wxUSE_COLLPANE
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10113 # Check whether --enable-colourpicker was given.
10114 if test "${enable_colourpicker+set}" = set; then
10115 enableval=$enable_colourpicker;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10118 else
10119 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_colourpicker"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COLOURPICKERCTRL = yes; then
10133 result=no
10134 else
10135 result=yes
10136 fi
10137 else
10138 result=$wxUSE_COLOURPICKERCTRL
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10157 # Check whether --enable-combobox was given.
10158 if test "${enable_combobox+set}" = set; then
10159 enableval=$enable_combobox;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10162 else
10163 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_combobox"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOBOX = yes; then
10177 result=no
10178 else
10179 result=yes
10180 fi
10181 else
10182 result=$wxUSE_COMBOBOX
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10201 # Check whether --enable-comboctrl was given.
10202 if test "${enable_comboctrl+set}" = set; then
10203 enableval=$enable_comboctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10206 else
10207 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_comboctrl"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COMBOCTRL = yes; then
10221 result=no
10222 else
10223 result=yes
10224 fi
10225 else
10226 result=$wxUSE_COMBOCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10250 else
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_datepick"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = yes; then
10265 result=no
10266 else
10267 result=yes
10268 fi
10269 else
10270 result=$wxUSE_DATEPICKCTRL
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10289 # Check whether --enable-dirpicker was given.
10290 if test "${enable_dirpicker+set}" = set; then
10291 enableval=$enable_dirpicker;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10294 else
10295 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_dirpicker"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DIRPICKERCTRL = yes; then
10309 result=no
10310 else
10311 result=yes
10312 fi
10313 else
10314 result=$wxUSE_DIRPICKERCTRL
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10333 # Check whether --enable-display was given.
10334 if test "${enable_display+set}" = set; then
10335 enableval=$enable_display;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_display='wxUSE_DISPLAY=yes'
10338 else
10339 wx_cv_use_display='wxUSE_DISPLAY=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_display"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DISPLAY = yes; then
10353 result=no
10354 else
10355 result=yes
10356 fi
10357 else
10358 result=$wxUSE_DISPLAY
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10377 # Check whether --enable-detect_sm was given.
10378 if test "${enable_detect_sm+set}" = set; then
10379 enableval=$enable_detect_sm;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10382 else
10383 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_detect_sm"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DETECT_SM = yes; then
10397 result=no
10398 else
10399 result=yes
10400 fi
10401 else
10402 result=$wxUSE_DETECT_SM
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10426 else
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_editablebox"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = yes; then
10441 result=no
10442 else
10443 result=yes
10444 fi
10445 else
10446 result=$wxUSE_EDITABLELISTBOX
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10465 # Check whether --enable-filepicker was given.
10466 if test "${enable_filepicker+set}" = set; then
10467 enableval=$enable_filepicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10470 else
10471 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_filepicker"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_FILEPICKERCTRL = yes; then
10485 result=no
10486 else
10487 result=yes
10488 fi
10489 else
10490 result=$wxUSE_FILEPICKERCTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10509 # Check whether --enable-filectrl was given.
10510 if test "${enable_filectrl+set}" = set; then
10511 enableval=$enable_filectrl;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10514 else
10515 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_filectrl"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILECTRL = yes; then
10529 result=no
10530 else
10531 result=yes
10532 fi
10533 else
10534 result=$wxUSE_FILECTRL
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10558 else
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_fontpicker"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = yes; then
10573 result=no
10574 else
10575 result=yes
10576 fi
10577 else
10578 result=$wxUSE_FONTPICKERCTRL
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10602 else
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_gauge"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_GAUGE = yes; then
10617 result=no
10618 else
10619 result=yes
10620 fi
10621 else
10622 result=$wxUSE_GAUGE
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid='wxUSE_GRID=yes'
10646 else
10647 wx_cv_use_grid='wxUSE_GRID=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_grid"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = yes; then
10661 result=no
10662 else
10663 result=yes
10664 fi
10665 else
10666 result=$wxUSE_GRID
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-dataviewctrl was given.
10686 if test "${enable_dataviewctrl+set}" = set; then
10687 enableval=$enable_dataviewctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10690 else
10691 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_dataviewctrl"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_DATAVIEWCTRL = yes; then
10705 result=no
10706 else
10707 result=yes
10708 fi
10709 else
10710 result=$wxUSE_DATAVIEWCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10734 else
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_hyperlink"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_HYPERLINKCTRL = yes; then
10749 result=no
10750 else
10751 result=yes
10752 fi
10753 else
10754 result=$wxUSE_HYPERLINKCTRL
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10778 else
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_imaglist"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = yes; then
10793 result=no
10794 else
10795 result=yes
10796 fi
10797 else
10798 result=$wxUSE_IMAGLIST
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10822 else
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_listbook"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = yes; then
10837 result=no
10838 else
10839 result=yes
10840 fi
10841 else
10842 result=$wxUSE_LISTBOOK
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10866 else
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_listbox"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_LISTBOX = yes; then
10881 result=no
10882 else
10883 result=yes
10884 fi
10885 else
10886 result=$wxUSE_LISTBOX
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10910 else
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_listctrl"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = yes; then
10925 result=no
10926 else
10927 result=yes
10928 fi
10929 else
10930 result=$wxUSE_LISTCTRL
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10954 else
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_notebook"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = yes; then
10969 result=no
10970 else
10971 result=yes
10972 fi
10973 else
10974 result=$wxUSE_NOTEBOOK
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10998 else
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_notifmsg"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11013 result=no
11014 else
11015 result=yes
11016 fi
11017 else
11018 result=$wxUSE_NOTIFICATION_MESSAGE
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11042 else
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_odcombobox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = yes; then
11057 result=no
11058 else
11059 result=yes
11060 fi
11061 else
11062 result=$wxUSE_ODCOMBOBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11081 # Check whether --enable-radiobox was given.
11082 if test "${enable_radiobox+set}" = set; then
11083 enableval=$enable_radiobox;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11086 else
11087 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_radiobox"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_RADIOBOX = yes; then
11101 result=no
11102 else
11103 result=yes
11104 fi
11105 else
11106 result=$wxUSE_RADIOBOX
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11125 # Check whether --enable-radiobtn was given.
11126 if test "${enable_radiobtn+set}" = set; then
11127 enableval=$enable_radiobtn;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11130 else
11131 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_radiobtn"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_RADIOBTN = yes; then
11145 result=no
11146 else
11147 result=yes
11148 fi
11149 else
11150 result=$wxUSE_RADIOBTN
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11169 # Check whether --enable-sash was given.
11170 if test "${enable_sash+set}" = set; then
11171 enableval=$enable_sash;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_sash='wxUSE_SASH=yes'
11174 else
11175 wx_cv_use_sash='wxUSE_SASH=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_sash"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_SASH = yes; then
11189 result=no
11190 else
11191 result=yes
11192 fi
11193 else
11194 result=$wxUSE_SASH
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}-scrollbar" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11213 # Check whether --enable-scrollbar was given.
11214 if test "${enable_scrollbar+set}" = set; then
11215 enableval=$enable_scrollbar;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11218 else
11219 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_scrollbar"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_SCROLLBAR = yes; then
11233 result=no
11234 else
11235 result=yes
11236 fi
11237 else
11238 result=$wxUSE_SCROLLBAR
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11257 # Check whether --enable-searchctrl was given.
11258 if test "${enable_searchctrl+set}" = set; then
11259 enableval=$enable_searchctrl;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11262 else
11263 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_searchctrl"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_SEARCHCTRL = yes; then
11277 result=no
11278 else
11279 result=yes
11280 fi
11281 else
11282 result=$wxUSE_SEARCHCTRL
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11301 # Check whether --enable-slider was given.
11302 if test "${enable_slider+set}" = set; then
11303 enableval=$enable_slider;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_slider='wxUSE_SLIDER=yes'
11306 else
11307 wx_cv_use_slider='wxUSE_SLIDER=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_slider"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SLIDER = yes; then
11321 result=no
11322 else
11323 result=yes
11324 fi
11325 else
11326 result=$wxUSE_SLIDER
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11345 # Check whether --enable-spinbtn was given.
11346 if test "${enable_spinbtn+set}" = set; then
11347 enableval=$enable_spinbtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11350 else
11351 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_spinbtn"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SPINBTN = yes; then
11365 result=no
11366 else
11367 result=yes
11368 fi
11369 else
11370 result=$wxUSE_SPINBTN
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11389 # Check whether --enable-spinctrl was given.
11390 if test "${enable_spinctrl+set}" = set; then
11391 enableval=$enable_spinctrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11394 else
11395 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_spinctrl"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_SPINCTRL = yes; then
11409 result=no
11410 else
11411 result=yes
11412 fi
11413 else
11414 result=$wxUSE_SPINCTRL
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11433 # Check whether --enable-splitter was given.
11434 if test "${enable_splitter+set}" = set; then
11435 enableval=$enable_splitter;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11438 else
11439 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_splitter"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPLITTER = yes; then
11453 result=no
11454 else
11455 result=yes
11456 fi
11457 else
11458 result=$wxUSE_SPLITTER
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11477 # Check whether --enable-statbmp was given.
11478 if test "${enable_statbmp+set}" = set; then
11479 enableval=$enable_statbmp;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11482 else
11483 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_statbmp"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_STATBMP = yes; then
11497 result=no
11498 else
11499 result=yes
11500 fi
11501 else
11502 result=$wxUSE_STATBMP
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11521 # Check whether --enable-statbox was given.
11522 if test "${enable_statbox+set}" = set; then
11523 enableval=$enable_statbox;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11526 else
11527 wx_cv_use_statbox='wxUSE_STATBOX=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_statbox"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_STATBOX = yes; then
11541 result=no
11542 else
11543 result=yes
11544 fi
11545 else
11546 result=$wxUSE_STATBOX
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11565 # Check whether --enable-statline was given.
11566 if test "${enable_statline+set}" = set; then
11567 enableval=$enable_statline;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statline='wxUSE_STATLINE=yes'
11570 else
11571 wx_cv_use_statline='wxUSE_STATLINE=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_statline"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATLINE = yes; then
11585 result=no
11586 else
11587 result=yes
11588 fi
11589 else
11590 result=$wxUSE_STATLINE
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11609 # Check whether --enable-stattext was given.
11610 if test "${enable_stattext+set}" = set; then
11611 enableval=$enable_stattext;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11614 else
11615 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_stattext"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATTEXT = yes; then
11629 result=no
11630 else
11631 result=yes
11632 fi
11633 else
11634 result=$wxUSE_STATTEXT
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11653 # Check whether --enable-statusbar was given.
11654 if test "${enable_statusbar+set}" = set; then
11655 enableval=$enable_statusbar;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11658 else
11659 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_statusbar"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_STATUSBAR = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_STATUSBAR
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11697 # Check whether --enable-tabdialog was given.
11698 if test "${enable_tabdialog+set}" = set; then
11699 enableval=$enable_tabdialog;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11702 else
11703 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_tabdialog"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_TAB_DIALOG = yes; then
11717 result=no
11718 else
11719 result=yes
11720 fi
11721 else
11722 result=$wxUSE_TAB_DIALOG
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11741 # Check whether --enable-taskbaricon was given.
11742 if test "${enable_taskbaricon+set}" = set; then
11743 enableval=$enable_taskbaricon;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11746 else
11747 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_taskbaricon"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_TASKBARICON = yes; then
11761 result=no
11762 else
11763 result=yes
11764 fi
11765 else
11766 result=$wxUSE_TASKBARICON
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11785 # Check whether --enable-textctrl was given.
11786 if test "${enable_textctrl+set}" = set; then
11787 enableval=$enable_textctrl;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11790 else
11791 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_textctrl"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_TEXTCTRL = yes; then
11805 result=no
11806 else
11807 result=yes
11808 fi
11809 else
11810 result=$wxUSE_TEXTCTRL
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11829 # Check whether --enable-togglebtn was given.
11830 if test "${enable_togglebtn+set}" = set; then
11831 enableval=$enable_togglebtn;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11834 else
11835 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_togglebtn"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOGGLEBTN = yes; then
11849 result=no
11850 else
11851 result=yes
11852 fi
11853 else
11854 result=$wxUSE_TOGGLEBTN
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11873 # Check whether --enable-toolbar was given.
11874 if test "${enable_toolbar+set}" = set; then
11875 enableval=$enable_toolbar;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11878 else
11879 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_toolbar"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TOOLBAR = yes; then
11893 result=no
11894 else
11895 result=yes
11896 fi
11897 else
11898 result=$wxUSE_TOOLBAR
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11917 # Check whether --enable-tbarnative was given.
11918 if test "${enable_tbarnative+set}" = set; then
11919 enableval=$enable_tbarnative;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11922 else
11923 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_tbarnative"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11937 result=no
11938 else
11939 result=yes
11940 fi
11941 else
11942 result=$wxUSE_TOOLBAR_NATIVE
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11961 # Check whether --enable-treebook was given.
11962 if test "${enable_treebook+set}" = set; then
11963 enableval=$enable_treebook;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11966 else
11967 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_treebook"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TREEBOOK = yes; then
11981 result=no
11982 else
11983 result=yes
11984 fi
11985 else
11986 result=$wxUSE_TREEBOOK
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbook was given.
12006 if test "${enable_toolbook+set}" = set; then
12007 enableval=$enable_toolbook;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12010 else
12011 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_toolbook"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBOOK = yes; then
12025 result=no
12026 else
12027 result=yes
12028 fi
12029 else
12030 result=$wxUSE_TOOLBOOK
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12049 # Check whether --enable-treectrl was given.
12050 if test "${enable_treectrl+set}" = set; then
12051 enableval=$enable_treectrl;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12054 else
12055 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_treectrl"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TREECTRL = yes; then
12069 result=no
12070 else
12071 result=yes
12072 fi
12073 else
12074 result=$wxUSE_TREECTRL
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12093 # Check whether --enable-tipwindow was given.
12094 if test "${enable_tipwindow+set}" = set; then
12095 enableval=$enable_tipwindow;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12098 else
12099 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_tipwindow"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TIPWINDOW = yes; then
12113 result=no
12114 else
12115 result=yes
12116 fi
12117 else
12118 result=$wxUSE_TIPWINDOW
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12137 # Check whether --enable-popupwin was given.
12138 if test "${enable_popupwin+set}" = set; then
12139 enableval=$enable_popupwin;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12142 else
12143 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_popupwin"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_POPUPWIN = yes; then
12157 result=no
12158 else
12159 result=yes
12160 fi
12161 else
12162 result=$wxUSE_POPUPWIN
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12188 else
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12190 fi
12191
12192 else
12193
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_commondlg"
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_COMMONDLGS = yes; then
12203 result=no
12204 else
12205 result=yes
12206 fi
12207 else
12208 result=$wxUSE_COMMONDLGS
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12232 else
12233 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12234 fi
12235
12236 else
12237
12238 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_aboutdlg"
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = yes; then
12247 result=no
12248 else
12249 result=yes
12250 fi
12251 else
12252 result=$wxUSE_ABOUTDLG
12253 fi
12254
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12276 else
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12278 fi
12279
12280 else
12281
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12283
12284 fi
12285
12286
12287 eval "$wx_cv_use_choicedlg"
12288
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = yes; then
12291 result=no
12292 else
12293 result=yes
12294 fi
12295 else
12296 result=$wxUSE_CHOICEDLG
12297 fi
12298
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12301
12302
12303 enablestring=
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12307 defaultval=yes
12308 else
12309 defaultval=no
12310 fi
12311 fi
12312
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12320 else
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12322 fi
12323
12324 else
12325
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12327
12328 fi
12329
12330
12331 eval "$wx_cv_use_coldlg"
12332
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_COLOURDLG = yes; then
12335 result=no
12336 else
12337 result=yes
12338 fi
12339 else
12340 result=$wxUSE_COLOURDLG
12341 fi
12342
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12364 else
12365 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_filedlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = yes; then
12379 result=no
12380 else
12381 result=yes
12382 fi
12383 else
12384 result=$wxUSE_FILEDLG
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12408 else
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_finddlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = yes; then
12423 result=no
12424 else
12425 result=yes
12426 fi
12427 else
12428 result=$wxUSE_FINDREPLDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12452 else
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_fontdlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_FONTDLG = yes; then
12467 result=no
12468 else
12469 result=yes
12470 fi
12471 else
12472 result=$wxUSE_FONTDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12496 else
12497 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_dirdlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = yes; then
12511 result=no
12512 else
12513 result=yes
12514 fi
12515 else
12516 result=$wxUSE_DIRDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12540 else
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_msgdlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = yes; then
12555 result=no
12556 else
12557 result=yes
12558 fi
12559 else
12560 result=$wxUSE_MSGDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12584 else
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_numberdlg"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_NUMBERDLG = yes; then
12599 result=no
12600 else
12601 result=yes
12602 fi
12603 else
12604 result=$wxUSE_NUMBERDLG
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash='wxUSE_SPLASH=yes'
12628 else
12629 wx_cv_use_splash='wxUSE_SPLASH=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_splash"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = yes; then
12643 result=no
12644 else
12645 result=yes
12646 fi
12647 else
12648 result=$wxUSE_SPLASH
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12672 else
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_textdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = yes; then
12687 result=no
12688 else
12689 result=yes
12690 fi
12691 else
12692 result=$wxUSE_TEXTDLG
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12716 else
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_tipdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STARTUP_TIPS = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_STARTUP_TIPS
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12760 else
12761 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_progressdlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = yes; then
12775 result=no
12776 else
12777 result=yes
12778 fi
12779 else
12780 result=$wxUSE_PROGRESSDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12804 else
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_wizarddlg"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = yes; then
12819 result=no
12820 else
12821 result=yes
12822 fi
12823 else
12824 result=$wxUSE_WIZARDDLG
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831
12832
12833 enablestring=
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12837 defaultval=yes
12838 else
12839 defaultval=no
12840 fi
12841 fi
12842
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12850 else
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12852 fi
12853
12854 else
12855
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12857
12858 fi
12859
12860
12861 eval "$wx_cv_use_menus"
12862
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_MENUS = yes; then
12865 result=no
12866 else
12867 result=yes
12868 fi
12869 else
12870 result=$wxUSE_MENUS
12871 fi
12872
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12875
12876
12877 enablestring=
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12881 defaultval=yes
12882 else
12883 defaultval=no
12884 fi
12885 fi
12886
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12894 else
12895 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12896 fi
12897
12898 else
12899
12900 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12901
12902 fi
12903
12904
12905 eval "$wx_cv_use_miniframe"
12906
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = yes; then
12909 result=no
12910 else
12911 result=yes
12912 fi
12913 else
12914 result=$wxUSE_MINIFRAME
12915 fi
12916
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12919
12920
12921 enablestring=
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12925 defaultval=yes
12926 else
12927 defaultval=no
12928 fi
12929 fi
12930
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12938 else
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12940 fi
12941
12942 else
12943
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12945
12946 fi
12947
12948
12949 eval "$wx_cv_use_tooltips"
12950
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = yes; then
12953 result=no
12954 else
12955 result=yes
12956 fi
12957 else
12958 result=$wxUSE_TOOLTIPS
12959 fi
12960
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12963
12964
12965 enablestring=
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12969 defaultval=yes
12970 else
12971 defaultval=no
12972 fi
12973 fi
12974
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12982 else
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12984 fi
12985
12986 else
12987
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12989
12990 fi
12991
12992
12993 eval "$wx_cv_use_splines"
12994
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPLINES = yes; then
12997 result=no
12998 else
12999 result=yes
13000 fi
13001 else
13002 result=$wxUSE_SPLINES
13003 fi
13004
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13026 else
13027 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_mousewheel"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = yes; then
13041 result=no
13042 else
13043 result=yes
13044 fi
13045 else
13046 result=$wxUSE_MOUSEWHEEL
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13070 else
13071 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_validators"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = yes; then
13085 result=no
13086 else
13087 result=yes
13088 fi
13089 else
13090 result=$wxUSE_VALIDATORS
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13114 else
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_busyinfo"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_BUSYINFO = yes; then
13129 result=no
13130 else
13131 result=yes
13132 fi
13133 else
13134 result=$wxUSE_BUSYINFO
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13158 else
13159 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_joystick"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = yes; then
13173 result=no
13174 else
13175 result=yes
13176 fi
13177 else
13178 result=$wxUSE_JOYSTICK
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13202 else
13203 wx_cv_use_metafile='wxUSE_METAFILE=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_metafile"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = yes; then
13217 result=no
13218 else
13219 result=yes
13220 fi
13221 else
13222 result=$wxUSE_METAFILE
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13246 else
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_dragimage"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_DRAGIMAGE = yes; then
13261 result=no
13262 else
13263 result=yes
13264 fi
13265 else
13266 result=$wxUSE_DRAGIMAGE
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13290 else
13291 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_accessibility"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = yes; then
13305 result=no
13306 else
13307 result=yes
13308 fi
13309 else
13310 result=$wxUSE_ACCESSIBILITY
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317
13318
13319 enablestring=
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13323 defaultval=yes
13324 else
13325 defaultval=no
13326 fi
13327 fi
13328
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE=yes'
13336 else
13337 wx_cv_use_palette='wxUSE_PALETTE=no'
13338 fi
13339
13340 else
13341
13342 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_palette"
13348
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = yes; then
13351 result=no
13352 else
13353 result=yes
13354 fi
13355 else
13356 result=$wxUSE_PALETTE
13357 fi
13358
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13361
13362
13363 enablestring=
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13367 defaultval=yes
13368 else
13369 defaultval=no
13370 fi
13371 fi
13372
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13380 else
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13382 fi
13383
13384 else
13385
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13387
13388 fi
13389
13390
13391 eval "$wx_cv_use_image"
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_IMAGE = yes; then
13395 result=no
13396 else
13397 result=yes
13398 fi
13399 else
13400 result=$wxUSE_IMAGE
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif='wxUSE_GIF=yes'
13424 else
13425 wx_cv_use_gif='wxUSE_GIF=no'
13426 fi
13427
13428 else
13429
13430 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_gif"
13436
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = yes; then
13439 result=no
13440 else
13441 result=yes
13442 fi
13443 else
13444 result=$wxUSE_GIF
13445 fi
13446
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13449
13450
13451 enablestring=
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13455 defaultval=yes
13456 else
13457 defaultval=no
13458 fi
13459 fi
13460
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX=yes'
13468 else
13469 wx_cv_use_pcx='wxUSE_PCX=no'
13470 fi
13471
13472 else
13473
13474 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13475
13476 fi
13477
13478
13479 eval "$wx_cv_use_pcx"
13480
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = yes; then
13483 result=no
13484 else
13485 result=yes
13486 fi
13487 else
13488 result=$wxUSE_PCX
13489 fi
13490
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13512 else
13513 wx_cv_use_tga='wxUSE_TGA=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_tga"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_TGA = yes; then
13527 result=no
13528 else
13529 result=yes
13530 fi
13531 else
13532 result=$wxUSE_TGA
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff='wxUSE_IFF=yes'
13556 else
13557 wx_cv_use_iff='wxUSE_IFF=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_iff"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_IFF
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM=yes'
13600 else
13601 wx_cv_use_pnm='wxUSE_PNM=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_pnm"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = yes; then
13615 result=no
13616 else
13617 result=yes
13618 fi
13619 else
13620 result=$wxUSE_PNM
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13644 else
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_xpm"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_XPM = yes; then
13659 result=no
13660 else
13661 result=yes
13662 fi
13663 else
13664 result=$wxUSE_XPM
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13688 else
13689 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_ico_cur"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = yes; then
13703 result=no
13704 else
13705 result=yes
13706 fi
13707 else
13708 result=$wxUSE_ICO_CUR
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715
13716
13717 enablestring=
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13721 defaultval=yes
13722 else
13723 defaultval=no
13724 fi
13725 fi
13726
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13734 else
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13736 fi
13737
13738 else
13739
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13741
13742 fi
13743
13744
13745 eval "$wx_cv_use_dccache"
13746
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = yes; then
13749 result=no
13750 else
13751 result=yes
13752 fi
13753 else
13754 result=$wxUSE_DC_CACHEING
13755 fi
13756
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13759
13760
13761 enablestring=
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13765 defaultval=yes
13766 else
13767 defaultval=no
13768 fi
13769 fi
13770
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13778 else
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13780 fi
13781
13782 else
13783
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_ps_in_msw"
13790
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13793 result=no
13794 else
13795 result=yes
13796 fi
13797 else
13798 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13799 fi
13800
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13822 else
13823 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13824 fi
13825
13826 else
13827
13828 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13829
13830 fi
13831
13832
13833 eval "$wx_cv_use_ownerdrawn"
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_OWNER_DRAWN
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}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13866 else
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13868 fi
13869
13870 else
13871
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13873
13874 fi
13875
13876
13877 eval "$wx_cv_use_uxtheme"
13878
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = yes; then
13881 result=no
13882 else
13883 result=yes
13884 fi
13885 else
13886 result=$wxUSE_UXTHEME
13887 fi
13888
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13891
13892
13893 enablestring=
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13897 defaultval=yes
13898 else
13899 defaultval=no
13900 fi
13901 fi
13902
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13910 else
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13912 fi
13913
13914 else
13915
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13917
13918 fi
13919
13920
13921 eval "$wx_cv_use_wxdib"
13922
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DIB = yes; then
13925 result=no
13926 else
13927 result=yes
13928 fi
13929 else
13930 result=$wxUSE_DIB
13931 fi
13932
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13935
13936
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13939 fi
13940
13941
13942 enablestring=
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13946 defaultval=yes
13947 else
13948 defaultval=no
13949 fi
13950 fi
13951
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13959 else
13960 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13961 fi
13962
13963 else
13964
13965 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13966
13967 fi
13968
13969
13970 eval "$wx_cv_use_autoidman"
13971
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13974 result=no
13975 else
13976 result=yes
13977 fi
13978 else
13979 result=$wxUSE_AUTOID_MANAGEMENT
13980 fi
13981
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13984
13985
13986 fi
13987
13988
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option --config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13995 #
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13998 #
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14002
14003 _ACEOF
14004
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14010 (
14011 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val=\$$ac_var
14013 case $ac_val in #(
14014 *${as_nl}*)
14015 case $ac_var in #(
14016 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14018 esac
14019 case $ac_var in #(
14020 _ | IFS | as_nl) ;; #(
14021 *) $as_unset $ac_var ;;
14022 esac ;;
14023 esac
14024 done
14025
14026 (set) 2>&1 |
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space=\ *)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14031 sed -n \
14032 "s/'/'\\\\''/g;
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14034 ;; #(
14035 *)
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14038 ;;
14039 esac |
14040 sort
14041 ) |
14042 sed '
14043 /^ac_cv_env_/b end
14044 t clear
14045 :clear
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14047 t end
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14049 :end' >>confcache
14050 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache >$cache_file
14056 else
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14059 fi
14060 fi
14061 rm -f confcache
14062
14063 CFLAGS=${CFLAGS:=}
14064
14065
14066
14067 ac_ext=c
14068 ac_cpp='$CPP $CPPFLAGS'
14069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC="$CC" # Let the user override the test.
14082 else
14083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14084 for as_dir in $PATH
14085 do
14086 IFS=$as_save_IFS
14087 test -z "$as_dir" && as_dir=.
14088 for ac_exec_ext in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 break 2
14093 fi
14094 done
14095 done
14096 IFS=$as_save_IFS
14097
14098 fi
14099 fi
14100 CC=$ac_cv_prog_CC
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14104 else
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14107 fi
14108
14109
14110 fi
14111 if test -z "$ac_cv_prog_CC"; then
14112 ac_ct_CC=$CC
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc; ac_word=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 else
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14122 else
14123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14124 for as_dir in $PATH
14125 do
14126 IFS=$as_save_IFS
14127 test -z "$as_dir" && as_dir=.
14128 for ac_exec_ext in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14132 break 2
14133 fi
14134 done
14135 done
14136 IFS=$as_save_IFS
14137
14138 fi
14139 fi
14140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14144 else
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14147 fi
14148
14149 if test "x$ac_ct_CC" = x; then
14150 CC=""
14151 else
14152 case $cross_compiling:$ac_tool_warned in
14153 yes:)
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned=yes ;;
14161 esac
14162 CC=$ac_ct_CC
14163 fi
14164 else
14165 CC="$ac_cv_prog_CC"
14166 fi
14167
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy ${ac_tool_prefix}cc; ac_word=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 else
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC="$CC" # Let the user override the test.
14179 else
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14182 do
14183 IFS=$as_save_IFS
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 break 2
14190 fi
14191 done
14192 done
14193 IFS=$as_save_IFS
14194
14195 fi
14196 fi
14197 CC=$ac_cv_prog_CC
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14201 else
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14204 fi
14205
14206
14207 fi
14208 fi
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc; ac_word=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC="$CC" # Let the user override the test.
14219 else
14220 ac_prog_rejected=no
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224 IFS=$as_save_IFS
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected=yes
14230 continue
14231 fi
14232 ac_cv_prog_CC="cc"
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 break 2
14235 fi
14236 done
14237 done
14238 IFS=$as_save_IFS
14239
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy $ac_cv_prog_CC
14243 shift
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14248 shift
14249 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14250 fi
14251 fi
14252 fi
14253 fi
14254 CC=$ac_cv_prog_CC
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14258 else
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14261 fi
14262
14263
14264 fi
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog in cl.exe
14268 do
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC="$CC" # Let the user override the test.
14278 else
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14281 do
14282 IFS=$as_save_IFS
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 break 2
14289 fi
14290 done
14291 done
14292 IFS=$as_save_IFS
14293
14294 fi
14295 fi
14296 CC=$ac_cv_prog_CC
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14300 else
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14303 fi
14304
14305
14306 test -n "$CC" && break
14307 done
14308 fi
14309 if test -z "$CC"; then
14310 ac_ct_CC=$CC
14311 for ac_prog in cl.exe
14312 do
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy $ac_prog; ac_word=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 else
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14322 else
14323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324 for as_dir in $PATH
14325 do
14326 IFS=$as_save_IFS
14327 test -z "$as_dir" && as_dir=.
14328 for ac_exec_ext in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14332 break 2
14333 fi
14334 done
14335 done
14336 IFS=$as_save_IFS
14337
14338 fi
14339 fi
14340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14344 else
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14347 fi
14348
14349
14350 test -n "$ac_ct_CC" && break
14351 done
14352
14353 if test "x$ac_ct_CC" = x; then
14354 CC=""
14355 else
14356 case $cross_compiling:$ac_tool_warned in
14357 yes:)
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned=yes ;;
14365 esac
14366 CC=$ac_ct_CC
14367 fi
14368 fi
14369
14370 fi
14371
14372
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14378
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler=`set X $ac_compile; echo $2`
14382 { (ac_try="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14386 esac
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14406 esac
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14412
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419
14420 int
14421 main ()
14422 {
14423
14424 ;
14425 return 0;
14426 }
14427 _ACEOF
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14432 # of exeext.
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14436 #
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14441 #
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14445 ac_rmfiles=
14446 for ac_file in $ac_files
14447 do
14448 case $ac_file in
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14451 esac
14452 done
14453 rm -f $ac_rmfiles
14454
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14469 # Autoconf.
14470 for ac_file in $ac_files ''
14471 do
14472 test -f "$ac_file" || continue
14473 case $ac_file in
14474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14475 ;;
14476 [ab].out )
14477 # We found the default executable, but exeext='' is most
14478 # certainly right.
14479 break;;
14480 *.* )
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14482 then :; else
14483 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14484 fi
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14490 break;;
14491 * )
14492 break;;
14493 esac
14494 done
14495 test "$ac_cv_exeext" = no && ac_cv_exeext=
14496
14497 else
14498 ac_file=''
14499 fi
14500
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14512 fi
14513
14514 ac_exeext=$ac_cv_exeext
14515
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14533 cross_compiling=no
14534 else
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14537 else
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot run C compiled programs.
14542 If you meant to cross compile, use \`--host'.
14543 See \`config.log' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14545 fi
14546 fi
14547 fi
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14550
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14559
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14566 esac
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe'), while it won't with
14575 # `rm'.
14576 for ac_file in conftest.exe conftest conftest.*; do
14577 test -f "$ac_file" || continue
14578 case $ac_file in
14579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14580 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14581 break;;
14582 * ) break;;
14583 esac
14584 done
14585 else
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14591 fi
14592
14593 rm -f conftest$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14596
14597 rm -f conftest.$ac_ext
14598 EXEEXT=$ac_cv_exeext
14599 ac_exeext=$EXEEXT
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 else
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611
14612 int
14613 main ()
14614 {
14615
14616 ;
14617 return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625 esac
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14633 case $ac_file in
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14636 break;;
14637 esac
14638 done
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14642
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details." >&2;}
14647 { (exit 1); exit 1; }; }
14648 fi
14649
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14651 fi
14652 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14655 ac_objext=$OBJEXT
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 else
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667
14668 int
14669 main ()
14670 {
14671 #ifndef __GNUC__
14672 choke me
14673 #endif
14674
14675 ;
14676 return 0;
14677 }
14678 _ACEOF
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14684 esac
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14697 else
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14700
14701 ac_compiler_gnu=no
14702 fi
14703
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14706
14707 fi
14708 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14714 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 else
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14720 ac_cv_prog_cc_g=no
14721 CFLAGS="-g"
14722 cat >conftest.$ac_ext <<_ACEOF
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728
14729 int
14730 main ()
14731 {
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compile") 2>conftest.er1
14745 ac_status=$?
14746 grep -v '^ *+' conftest.er1 >conftest.err
14747 rm -f conftest.er1
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14755 else
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14758
14759 CFLAGS=""
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766
14767 int
14768 main ()
14769 {
14770
14771 ;
14772 return 0;
14773 }
14774 _ACEOF
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14780 esac
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14792 :
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14798 CFLAGS="-g"
14799 cat >conftest.$ac_ext <<_ACEOF
14800 /* confdefs.h. */
14801 _ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805
14806 int
14807 main ()
14808 {
14809
14810 ;
14811 return 0;
14812 }
14813 _ACEOF
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14819 esac
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14822 ac_status=$?
14823 grep -v '^ *+' conftest.er1 >conftest.err
14824 rm -f conftest.er1
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836
14837 fi
14838
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14840 fi
14841
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 fi
14844
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14847 fi
14848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14854 CFLAGS="-g -O2"
14855 else
14856 CFLAGS="-g"
14857 fi
14858 else
14859 if test "$GCC" = yes; then
14860 CFLAGS="-O2"
14861 else
14862 CFLAGS=
14863 fi
14864 fi
14865 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14866 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 ac_cv_prog_cc_c89=no
14871 ac_save_CC=$CC
14872 cat >conftest.$ac_ext <<_ACEOF
14873 /* confdefs.h. */
14874 _ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14879 #include <stdio.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14886 char **p;
14887 int i;
14888 {
14889 return p[i];
14890 }
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14892 {
14893 char *s;
14894 va_list v;
14895 va_start (v,p);
14896 s = g (p, va_arg (v,int));
14897 va_end (v);
14898 return s;
14899 }
14900
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14909
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14912 #define FOO(x) 'x'
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14914
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14919 int argc;
14920 char **argv;
14921 int
14922 main ()
14923 {
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14931 do
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14938 esac
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14941 ac_status=$?
14942 grep -v '^ *+' conftest.er1 >conftest.err
14943 rm -f conftest.er1
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14954
14955
14956 fi
14957
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x$ac_cv_prog_cc_c89" != "xno" && break
14960 done
14961 rm -f conftest.$ac_ext
14962 CC=$ac_save_CC
14963
14964 fi
14965 # AC_CACHE_VAL
14966 case "x$ac_cv_prog_cc_c89" in
14967 x)
14968 { echo "$as_me:$LINENO: result: none needed" >&5
14969 echo "${ECHO_T}none needed" >&6; } ;;
14970 xno)
14971 { echo "$as_me:$LINENO: result: unsupported" >&5
14972 echo "${ECHO_T}unsupported" >&6; } ;;
14973 *)
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14977 esac
14978
14979
14980 ac_ext=c
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14985
14986
14987
14988
14989 ac_ext=c
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 cat >conftest.$ac_ext <<_ACEOF
15001 /* confdefs.h. */
15002 _ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006
15007 int
15008 main ()
15009 {
15010
15011 #ifndef __INTEL_COMPILER
15012 choke me
15013 #endif
15014
15015 ;
15016 return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15040
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15042
15043 fi
15044
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046
15047
15048 fi
15049 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15052 :; INTELCC=yes
15053 else
15054 :;
15055 fi
15056 ac_ext=c
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15061
15062
15063
15064
15065 if test "x$GCC" != "xyes"; then
15066 if test "xCC" = "xC"; then
15067 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15068 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15069 if test "${bakefile_cv_c_exto+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 cat >conftest.$ac_ext <<_ACEOF
15073 /* confdefs.h. */
15074 _ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078
15079 int
15080 main ()
15081 {
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext conftest.$ac_ext.o
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; then
15093 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15094 case $ac_file in
15095 conftest.$ac_ext.o)
15096 bakefile_cv_c_exto="-ext o"
15097 ;;
15098 *)
15099 ;;
15100 esac
15101 done
15102 else
15103 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15104 See \`config.log' for more details." >&5
15105 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15106 See \`config.log' for more details." >&2;}
15107 { (exit 1); exit 1; }; }
15108
15109 fi
15110
15111 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15112
15113 fi
15114 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15115 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15116 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15117 if test "c" = "c"; then
15118 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15119 fi
15120 if test "c" = "cxx"; then
15121 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15122 fi
15123 fi
15124
15125 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15126 unset ac_cv_prog_cc_g
15127 ac_test_CFLAGS=${CFLAGS+set}
15128 ac_save_CFLAGS=$CFLAGS
15129 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15130 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15131 if test "${ac_cv_prog_cc_g+set}" = set; then
15132 echo $ECHO_N "(cached) $ECHO_C" >&6
15133 else
15134 ac_save_c_werror_flag=$ac_c_werror_flag
15135 ac_c_werror_flag=yes
15136 ac_cv_prog_cc_g=no
15137 CFLAGS="-g"
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148
15149 ;
15150 return 0;
15151 }
15152 _ACEOF
15153 rm -f conftest.$ac_objext
15154 if { (ac_try="$ac_compile"
15155 case "(($ac_try" in
15156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15157 *) ac_try_echo=$ac_try;;
15158 esac
15159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15160 (eval "$ac_compile") 2>conftest.er1
15161 ac_status=$?
15162 grep -v '^ *+' conftest.er1 >conftest.err
15163 rm -f conftest.er1
15164 cat conftest.err >&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } && {
15167 test -z "$ac_c_werror_flag" ||
15168 test ! -s conftest.err
15169 } && test -s conftest.$ac_objext; then
15170 ac_cv_prog_cc_g=yes
15171 else
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15174
15175 CFLAGS=""
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h. */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182
15183 int
15184 main ()
15185 {
15186
15187 ;
15188 return 0;
15189 }
15190 _ACEOF
15191 rm -f conftest.$ac_objext
15192 if { (ac_try="$ac_compile"
15193 case "(($ac_try" in
15194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15195 *) ac_try_echo=$ac_try;;
15196 esac
15197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15198 (eval "$ac_compile") 2>conftest.er1
15199 ac_status=$?
15200 grep -v '^ *+' conftest.er1 >conftest.err
15201 rm -f conftest.er1
15202 cat conftest.err >&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && {
15205 test -z "$ac_c_werror_flag" ||
15206 test ! -s conftest.err
15207 } && test -s conftest.$ac_objext; then
15208 :
15209 else
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.$ac_ext >&5
15212
15213 ac_c_werror_flag=$ac_save_c_werror_flag
15214 CFLAGS="-g"
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 int
15223 main ()
15224 {
15225
15226 ;
15227 return 0;
15228 }
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (ac_try="$ac_compile"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compile") 2>conftest.er1
15238 ac_status=$?
15239 grep -v '^ *+' conftest.er1 >conftest.err
15240 rm -f conftest.er1
15241 cat conftest.err >&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); } && {
15244 test -z "$ac_c_werror_flag" ||
15245 test ! -s conftest.err
15246 } && test -s conftest.$ac_objext; then
15247 ac_cv_prog_cc_g=yes
15248 else
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15251
15252
15253 fi
15254
15255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256 fi
15257
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259 fi
15260
15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15262 ac_c_werror_flag=$ac_save_c_werror_flag
15263 fi
15264 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15265 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15266 if test "$ac_test_CFLAGS" = set; then
15267 CFLAGS=$ac_save_CFLAGS
15268 elif test $ac_cv_prog_cc_g = yes; then
15269 if test "$GCC" = yes; then
15270 CFLAGS="-g -O2"
15271 else
15272 CFLAGS="-g"
15273 fi
15274 else
15275 if test "$GCC" = yes; then
15276 CFLAGS="-O2"
15277 else
15278 CFLAGS=
15279 fi
15280 fi
15281 fi
15282 fi
15283
15284 case `uname -s` in
15285 AIX*)
15286
15287
15288 ac_ext=c
15289 ac_cpp='$CPP $CPPFLAGS'
15290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15293
15294 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15295 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15296 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 else
15299 cat >conftest.$ac_ext <<_ACEOF
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305
15306 int
15307 main ()
15308 {
15309
15310 #ifndef __xlC__
15311 choke me
15312 #endif
15313
15314 ;
15315 return 0;
15316 }
15317 _ACEOF
15318 rm -f conftest.$ac_objext
15319 if { (ac_try="$ac_compile"
15320 case "(($ac_try" in
15321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15323 esac
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_compile") 2>conftest.er1
15326 ac_status=$?
15327 grep -v '^ *+' conftest.er1 >conftest.err
15328 rm -f conftest.er1
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } && {
15332 test -z "$ac_c_werror_flag" ||
15333 test ! -s conftest.err
15334 } && test -s conftest.$ac_objext; then
15335 bakefile_cv_c_compiler___xlC__=yes
15336 else
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.$ac_ext >&5
15339
15340 bakefile_cv_c_compiler___xlC__=no
15341
15342 fi
15343
15344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15345
15346
15347 fi
15348 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15349 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15350 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15351 :; XLCC=yes
15352 else
15353 :;
15354 fi
15355 ac_ext=c
15356 ac_cpp='$CPP $CPPFLAGS'
15357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15360
15361
15362
15363 ;;
15364
15365 Darwin)
15366
15367
15368 ac_ext=c
15369 ac_cpp='$CPP $CPPFLAGS'
15370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15373
15374 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15375 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15376 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15379 cat >conftest.$ac_ext <<_ACEOF
15380 /* confdefs.h. */
15381 _ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15385
15386 int
15387 main ()
15388 {
15389
15390 #ifndef __MWERKS__
15391 choke me
15392 #endif
15393
15394 ;
15395 return 0;
15396 }
15397 _ACEOF
15398 rm -f conftest.$ac_objext
15399 if { (ac_try="$ac_compile"
15400 case "(($ac_try" in
15401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15402 *) ac_try_echo=$ac_try;;
15403 esac
15404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15405 (eval "$ac_compile") 2>conftest.er1
15406 ac_status=$?
15407 grep -v '^ *+' conftest.er1 >conftest.err
15408 rm -f conftest.er1
15409 cat conftest.err >&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } && {
15412 test -z "$ac_c_werror_flag" ||
15413 test ! -s conftest.err
15414 } && test -s conftest.$ac_objext; then
15415 bakefile_cv_c_compiler___MWERKS__=yes
15416 else
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15419
15420 bakefile_cv_c_compiler___MWERKS__=no
15421
15422 fi
15423
15424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15425
15426
15427 fi
15428 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15429 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15430 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15431 :; MWCC=yes
15432 else
15433 :;
15434 fi
15435 ac_ext=c
15436 ac_cpp='$CPP $CPPFLAGS'
15437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15440
15441
15442
15443
15444
15445 ac_ext=c
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 else
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462
15463 int
15464 main ()
15465 {
15466
15467 #ifndef __xlC__
15468 choke me
15469 #endif
15470
15471 ;
15472 return 0;
15473 }
15474 _ACEOF
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15480 esac
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 bakefile_cv_c_compiler___xlC__=no
15498
15499 fi
15500
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15502
15503
15504 fi
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15508 :; XLCC=yes
15509 else
15510 :;
15511 fi
15512 ac_ext=c
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517
15518
15519
15520 ;;
15521
15522 IRIX*)
15523
15524
15525 ac_ext=c
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530
15531 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542
15543 int
15544 main ()
15545 {
15546
15547 #ifndef _SGI_COMPILER_VERSION
15548 choke me
15549 #endif
15550
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15573 else
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15576
15577 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15578
15579 fi
15580
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582
15583
15584 fi
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15587 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15588 :; SGICC=yes
15589 else
15590 :;
15591 fi
15592 ac_ext=c
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597
15598
15599
15600 ;;
15601
15602 Linux*)
15603
15604
15605 ac_ext=c
15606 ac_cpp='$CPP $CPPFLAGS'
15607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610
15611 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15612 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15613 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 else
15616 cat >conftest.$ac_ext <<_ACEOF
15617 /* confdefs.h. */
15618 _ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622
15623 int
15624 main ()
15625 {
15626
15627 #ifndef __SUNPRO_C
15628 choke me
15629 #endif
15630
15631 ;
15632 return 0;
15633 }
15634 _ACEOF
15635 rm -f conftest.$ac_objext
15636 if { (ac_try="$ac_compile"
15637 case "(($ac_try" in
15638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15639 *) ac_try_echo=$ac_try;;
15640 esac
15641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15642 (eval "$ac_compile") 2>conftest.er1
15643 ac_status=$?
15644 grep -v '^ *+' conftest.er1 >conftest.err
15645 rm -f conftest.er1
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } && {
15649 test -z "$ac_c_werror_flag" ||
15650 test ! -s conftest.err
15651 } && test -s conftest.$ac_objext; then
15652 bakefile_cv_c_compiler___SUNPRO_C=yes
15653 else
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15656
15657 bakefile_cv_c_compiler___SUNPRO_C=no
15658
15659 fi
15660
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662
15663
15664 fi
15665 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15666 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15667 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15668 :; SUNCC=yes
15669 else
15670 :;
15671 fi
15672 ac_ext=c
15673 ac_cpp='$CPP $CPPFLAGS'
15674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15677
15678
15679
15680 ;;
15681
15682 HP-UX*)
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690
15691 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15692 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15693 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702
15703 int
15704 main ()
15705 {
15706
15707 #ifndef __HP_cc
15708 choke me
15709 #endif
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15732 bakefile_cv_c_compiler___HP_cc=yes
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15736
15737 bakefile_cv_c_compiler___HP_cc=no
15738
15739 fi
15740
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742
15743
15744 fi
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15746 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15747 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15748 :; HPCC=yes
15749 else
15750 :;
15751 fi
15752 ac_ext=c
15753 ac_cpp='$CPP $CPPFLAGS'
15754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15757
15758
15759
15760 ;;
15761
15762 OSF1)
15763
15764
15765 ac_ext=c
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770
15771 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782
15783 int
15784 main ()
15785 {
15786
15787 #ifndef __DECC
15788 choke me
15789 #endif
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15800 esac
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___DECC=yes
15813 else
15814 echo "$as_me: failed program was:" >&5
15815 sed 's/^/| /' conftest.$ac_ext >&5
15816
15817 bakefile_cv_c_compiler___DECC=no
15818
15819 fi
15820
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823
15824 fi
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15827 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15828 :; COMPAQCC=yes
15829 else
15830 :;
15831 fi
15832 ac_ext=c
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837
15838
15839
15840 ;;
15841
15842 SunOS)
15843
15844
15845 ac_ext=c
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850
15851 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15852 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15853 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856 cat >conftest.$ac_ext <<_ACEOF
15857 /* confdefs.h. */
15858 _ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862
15863 int
15864 main ()
15865 {
15866
15867 #ifndef __SUNPRO_C
15868 choke me
15869 #endif
15870
15871 ;
15872 return 0;
15873 }
15874 _ACEOF
15875 rm -f conftest.$ac_objext
15876 if { (ac_try="$ac_compile"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15880 esac
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_compile") 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest.$ac_objext; then
15892 bakefile_cv_c_compiler___SUNPRO_C=yes
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15896
15897 bakefile_cv_c_compiler___SUNPRO_C=no
15898
15899 fi
15900
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902
15903
15904 fi
15905 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15906 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15907 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15908 :; SUNCC=yes
15909 else
15910 :;
15911 fi
15912 ac_ext=c
15913 ac_cpp='$CPP $CPPFLAGS'
15914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15917
15918
15919
15920 ;;
15921 esac
15922 fi
15923
15924
15925
15926 ac_ext=c
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15932 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15933 # On Suns, sometimes $CPP names a directory.
15934 if test -n "$CPP" && test -d "$CPP"; then
15935 CPP=
15936 fi
15937 if test -z "$CPP"; then
15938 if test "${ac_cv_prog_CPP+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 else
15941 # Double quotes because CPP needs to be expanded
15942 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15943 do
15944 ac_preproc_ok=false
15945 for ac_c_preproc_warn_flag in '' yes
15946 do
15947 # Use a header file that comes with gcc, so configuring glibc
15948 # with a fresh cross-compiler works.
15949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15950 # <limits.h> exists even on freestanding compilers.
15951 # On the NeXT, cc -E runs the code through the compiler's parser,
15952 # not just through cpp. "Syntax error" is here to catch this case.
15953 cat >conftest.$ac_ext <<_ACEOF
15954 /* confdefs.h. */
15955 _ACEOF
15956 cat confdefs.h >>conftest.$ac_ext
15957 cat >>conftest.$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 #ifdef __STDC__
15960 # include <limits.h>
15961 #else
15962 # include <assert.h>
15963 #endif
15964 Syntax error
15965 _ACEOF
15966 if { (ac_try="$ac_cpp conftest.$ac_ext"
15967 case "(($ac_try" in
15968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15969 *) ac_try_echo=$ac_try;;
15970 esac
15971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15973 ac_status=$?
15974 grep -v '^ *+' conftest.er1 >conftest.err
15975 rm -f conftest.er1
15976 cat conftest.err >&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } >/dev/null && {
15979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15980 test ! -s conftest.err
15981 }; then
15982 :
15983 else
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15986
15987 # Broken: fails on valid input.
15988 continue
15989 fi
15990
15991 rm -f conftest.err conftest.$ac_ext
15992
15993 # OK, works on sane cases. Now check whether nonexistent headers
15994 # can be detected and how.
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 #include <ac_nonexistent.h>
16002 _ACEOF
16003 if { (ac_try="$ac_cpp conftest.$ac_ext"
16004 case "(($ac_try" in
16005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006 *) ac_try_echo=$ac_try;;
16007 esac
16008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16010 ac_status=$?
16011 grep -v '^ *+' conftest.er1 >conftest.err
16012 rm -f conftest.er1
16013 cat conftest.err >&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } >/dev/null && {
16016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16017 test ! -s conftest.err
16018 }; then
16019 # Broken: success on invalid input.
16020 continue
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16024
16025 # Passes both tests.
16026 ac_preproc_ok=:
16027 break
16028 fi
16029
16030 rm -f conftest.err conftest.$ac_ext
16031
16032 done
16033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16034 rm -f conftest.err conftest.$ac_ext
16035 if $ac_preproc_ok; then
16036 break
16037 fi
16038
16039 done
16040 ac_cv_prog_CPP=$CPP
16041
16042 fi
16043 CPP=$ac_cv_prog_CPP
16044 else
16045 ac_cv_prog_CPP=$CPP
16046 fi
16047 { echo "$as_me:$LINENO: result: $CPP" >&5
16048 echo "${ECHO_T}$CPP" >&6; }
16049 ac_preproc_ok=false
16050 for ac_c_preproc_warn_flag in '' yes
16051 do
16052 # Use a header file that comes with gcc, so configuring glibc
16053 # with a fresh cross-compiler works.
16054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16055 # <limits.h> exists even on freestanding compilers.
16056 # On the NeXT, cc -E runs the code through the compiler's parser,
16057 # not just through cpp. "Syntax error" is here to catch this case.
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #ifdef __STDC__
16065 # include <limits.h>
16066 #else
16067 # include <assert.h>
16068 #endif
16069 Syntax error
16070 _ACEOF
16071 if { (ac_try="$ac_cpp conftest.$ac_ext"
16072 case "(($ac_try" in
16073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16074 *) ac_try_echo=$ac_try;;
16075 esac
16076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } >/dev/null && {
16084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16085 test ! -s conftest.err
16086 }; then
16087 :
16088 else
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.$ac_ext >&5
16091
16092 # Broken: fails on valid input.
16093 continue
16094 fi
16095
16096 rm -f conftest.err conftest.$ac_ext
16097
16098 # OK, works on sane cases. Now check whether nonexistent headers
16099 # can be detected and how.
16100 cat >conftest.$ac_ext <<_ACEOF
16101 /* confdefs.h. */
16102 _ACEOF
16103 cat confdefs.h >>conftest.$ac_ext
16104 cat >>conftest.$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16106 #include <ac_nonexistent.h>
16107 _ACEOF
16108 if { (ac_try="$ac_cpp conftest.$ac_ext"
16109 case "(($ac_try" in
16110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16111 *) ac_try_echo=$ac_try;;
16112 esac
16113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16115 ac_status=$?
16116 grep -v '^ *+' conftest.er1 >conftest.err
16117 rm -f conftest.er1
16118 cat conftest.err >&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } >/dev/null && {
16121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16122 test ! -s conftest.err
16123 }; then
16124 # Broken: success on invalid input.
16125 continue
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 # Passes both tests.
16131 ac_preproc_ok=:
16132 break
16133 fi
16134
16135 rm -f conftest.err conftest.$ac_ext
16136
16137 done
16138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16139 rm -f conftest.err conftest.$ac_ext
16140 if $ac_preproc_ok; then
16141 :
16142 else
16143 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16144 See \`config.log' for more details." >&5
16145 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16146 See \`config.log' for more details." >&2;}
16147 { (exit 1); exit 1; }; }
16148 fi
16149
16150 ac_ext=c
16151 ac_cpp='$CPP $CPPFLAGS'
16152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16155
16156
16157 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16158 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16159 if test "${ac_cv_path_GREP+set}" = set; then
16160 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 else
16162 # Extract the first word of "grep ggrep" to use in msg output
16163 if test -z "$GREP"; then
16164 set dummy grep ggrep; ac_prog_name=$2
16165 if test "${ac_cv_path_GREP+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 ac_path_GREP_found=false
16169 # Loop through the user's path and test for each of PROGNAME-LIST
16170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16172 do
16173 IFS=$as_save_IFS
16174 test -z "$as_dir" && as_dir=.
16175 for ac_prog in grep ggrep; do
16176 for ac_exec_ext in '' $ac_executable_extensions; do
16177 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16178 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16179 # Check for GNU ac_path_GREP and select it if it is found.
16180 # Check for GNU $ac_path_GREP
16181 case `"$ac_path_GREP" --version 2>&1` in
16182 *GNU*)
16183 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16184 *)
16185 ac_count=0
16186 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16187 while :
16188 do
16189 cat "conftest.in" "conftest.in" >"conftest.tmp"
16190 mv "conftest.tmp" "conftest.in"
16191 cp "conftest.in" "conftest.nl"
16192 echo 'GREP' >> "conftest.nl"
16193 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16195 ac_count=`expr $ac_count + 1`
16196 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16197 # Best one so far, save it but keep looking for a better one
16198 ac_cv_path_GREP="$ac_path_GREP"
16199 ac_path_GREP_max=$ac_count
16200 fi
16201 # 10*(2^10) chars as input seems more than enough
16202 test $ac_count -gt 10 && break
16203 done
16204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16205 esac
16206
16207
16208 $ac_path_GREP_found && break 3
16209 done
16210 done
16211
16212 done
16213 IFS=$as_save_IFS
16214
16215
16216 fi
16217
16218 GREP="$ac_cv_path_GREP"
16219 if test -z "$GREP"; then
16220 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16221 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16222 { (exit 1); exit 1; }; }
16223 fi
16224
16225 else
16226 ac_cv_path_GREP=$GREP
16227 fi
16228
16229
16230 fi
16231 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16232 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16233 GREP="$ac_cv_path_GREP"
16234
16235
16236 { echo "$as_me:$LINENO: checking for egrep" >&5
16237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16238 if test "${ac_cv_path_EGREP+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16242 then ac_cv_path_EGREP="$GREP -E"
16243 else
16244 # Extract the first word of "egrep" to use in msg output
16245 if test -z "$EGREP"; then
16246 set dummy egrep; ac_prog_name=$2
16247 if test "${ac_cv_path_EGREP+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 else
16250 ac_path_EGREP_found=false
16251 # Loop through the user's path and test for each of PROGNAME-LIST
16252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16254 do
16255 IFS=$as_save_IFS
16256 test -z "$as_dir" && as_dir=.
16257 for ac_prog in egrep; do
16258 for ac_exec_ext in '' $ac_executable_extensions; do
16259 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16260 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16261 # Check for GNU ac_path_EGREP and select it if it is found.
16262 # Check for GNU $ac_path_EGREP
16263 case `"$ac_path_EGREP" --version 2>&1` in
16264 *GNU*)
16265 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16266 *)
16267 ac_count=0
16268 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16269 while :
16270 do
16271 cat "conftest.in" "conftest.in" >"conftest.tmp"
16272 mv "conftest.tmp" "conftest.in"
16273 cp "conftest.in" "conftest.nl"
16274 echo 'EGREP' >> "conftest.nl"
16275 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16277 ac_count=`expr $ac_count + 1`
16278 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16279 # Best one so far, save it but keep looking for a better one
16280 ac_cv_path_EGREP="$ac_path_EGREP"
16281 ac_path_EGREP_max=$ac_count
16282 fi
16283 # 10*(2^10) chars as input seems more than enough
16284 test $ac_count -gt 10 && break
16285 done
16286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16287 esac
16288
16289
16290 $ac_path_EGREP_found && break 3
16291 done
16292 done
16293
16294 done
16295 IFS=$as_save_IFS
16296
16297
16298 fi
16299
16300 EGREP="$ac_cv_path_EGREP"
16301 if test -z "$EGREP"; then
16302 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16303 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16304 { (exit 1); exit 1; }; }
16305 fi
16306
16307 else
16308 ac_cv_path_EGREP=$EGREP
16309 fi
16310
16311
16312 fi
16313 fi
16314 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16315 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16316 EGREP="$ac_cv_path_EGREP"
16317
16318
16319 if test $ac_cv_c_compiler_gnu = yes; then
16320 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16321 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16322 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 else
16325 ac_pattern="Autoconf.*'x'"
16326 cat >conftest.$ac_ext <<_ACEOF
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 #include <sgtty.h>
16333 Autoconf TIOCGETP
16334 _ACEOF
16335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16336 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16337 ac_cv_prog_gcc_traditional=yes
16338 else
16339 ac_cv_prog_gcc_traditional=no
16340 fi
16341 rm -f conftest*
16342
16343
16344 if test $ac_cv_prog_gcc_traditional = no; then
16345 cat >conftest.$ac_ext <<_ACEOF
16346 /* confdefs.h. */
16347 _ACEOF
16348 cat confdefs.h >>conftest.$ac_ext
16349 cat >>conftest.$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351 #include <termio.h>
16352 Autoconf TCGETA
16353 _ACEOF
16354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16355 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16356 ac_cv_prog_gcc_traditional=yes
16357 fi
16358 rm -f conftest*
16359
16360 fi
16361 fi
16362 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16363 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16364 if test $ac_cv_prog_gcc_traditional = yes; then
16365 CC="$CC -traditional"
16366 fi
16367 fi
16368
16369
16370 CXXFLAGS=${CXXFLAGS:=}
16371
16372
16373
16374 ac_ext=cpp
16375 ac_cpp='$CXXCPP $CPPFLAGS'
16376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16379 if test -z "$CXX"; then
16380 if test -n "$CCC"; then
16381 CXX=$CCC
16382 else
16383 if test -n "$ac_tool_prefix"; then
16384 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16385 do
16386 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16390 if test "${ac_cv_prog_CXX+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 if test -n "$CXX"; then
16394 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16395 else
16396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16397 for as_dir in $PATH
16398 do
16399 IFS=$as_save_IFS
16400 test -z "$as_dir" && as_dir=.
16401 for ac_exec_ext in '' $ac_executable_extensions; do
16402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16403 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 break 2
16406 fi
16407 done
16408 done
16409 IFS=$as_save_IFS
16410
16411 fi
16412 fi
16413 CXX=$ac_cv_prog_CXX
16414 if test -n "$CXX"; then
16415 { echo "$as_me:$LINENO: result: $CXX" >&5
16416 echo "${ECHO_T}$CXX" >&6; }
16417 else
16418 { echo "$as_me:$LINENO: result: no" >&5
16419 echo "${ECHO_T}no" >&6; }
16420 fi
16421
16422
16423 test -n "$CXX" && break
16424 done
16425 fi
16426 if test -z "$CXX"; then
16427 ac_ct_CXX=$CXX
16428 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16429 do
16430 # Extract the first word of "$ac_prog", so it can be a program name with args.
16431 set dummy $ac_prog; ac_word=$2
16432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16434 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 if test -n "$ac_ct_CXX"; then
16438 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16439 else
16440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16441 for as_dir in $PATH
16442 do
16443 IFS=$as_save_IFS
16444 test -z "$as_dir" && as_dir=.
16445 for ac_exec_ext in '' $ac_executable_extensions; do
16446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16447 ac_cv_prog_ac_ct_CXX="$ac_prog"
16448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16449 break 2
16450 fi
16451 done
16452 done
16453 IFS=$as_save_IFS
16454
16455 fi
16456 fi
16457 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16458 if test -n "$ac_ct_CXX"; then
16459 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16460 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16461 else
16462 { echo "$as_me:$LINENO: result: no" >&5
16463 echo "${ECHO_T}no" >&6; }
16464 fi
16465
16466
16467 test -n "$ac_ct_CXX" && break
16468 done
16469
16470 if test "x$ac_ct_CXX" = x; then
16471 CXX="g++"
16472 else
16473 case $cross_compiling:$ac_tool_warned in
16474 yes:)
16475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16476 whose name does not start with the host triplet. If you think this
16477 configuration is useful to you, please write to autoconf@gnu.org." >&5
16478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16479 whose name does not start with the host triplet. If you think this
16480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16481 ac_tool_warned=yes ;;
16482 esac
16483 CXX=$ac_ct_CXX
16484 fi
16485 fi
16486
16487 fi
16488 fi
16489 # Provide some information about the compiler.
16490 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16491 ac_compiler=`set X $ac_compile; echo $2`
16492 { (ac_try="$ac_compiler --version >&5"
16493 case "(($ac_try" in
16494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16495 *) ac_try_echo=$ac_try;;
16496 esac
16497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16498 (eval "$ac_compiler --version >&5") 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }
16502 { (ac_try="$ac_compiler -v >&5"
16503 case "(($ac_try" in
16504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16505 *) ac_try_echo=$ac_try;;
16506 esac
16507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16508 (eval "$ac_compiler -v >&5") 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }
16512 { (ac_try="$ac_compiler -V >&5"
16513 case "(($ac_try" in
16514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16515 *) ac_try_echo=$ac_try;;
16516 esac
16517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16518 (eval "$ac_compiler -V >&5") 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }
16522
16523 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16524 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16525 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 else
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534
16535 int
16536 main ()
16537 {
16538 #ifndef __GNUC__
16539 choke me
16540 #endif
16541
16542 ;
16543 return 0;
16544 }
16545 _ACEOF
16546 rm -f conftest.$ac_objext
16547 if { (ac_try="$ac_compile"
16548 case "(($ac_try" in
16549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16550 *) ac_try_echo=$ac_try;;
16551 esac
16552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16553 (eval "$ac_compile") 2>conftest.er1
16554 ac_status=$?
16555 grep -v '^ *+' conftest.er1 >conftest.err
16556 rm -f conftest.er1
16557 cat conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } && {
16560 test -z "$ac_cxx_werror_flag" ||
16561 test ! -s conftest.err
16562 } && test -s conftest.$ac_objext; then
16563 ac_compiler_gnu=yes
16564 else
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16567
16568 ac_compiler_gnu=no
16569 fi
16570
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16573
16574 fi
16575 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16576 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16577 GXX=`test $ac_compiler_gnu = yes && echo yes`
16578 ac_test_CXXFLAGS=${CXXFLAGS+set}
16579 ac_save_CXXFLAGS=$CXXFLAGS
16580 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16581 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16582 if test "${ac_cv_prog_cxx_g+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16584 else
16585 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16586 ac_cxx_werror_flag=yes
16587 ac_cv_prog_cxx_g=no
16588 CXXFLAGS="-g"
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595
16596 int
16597 main ()
16598 {
16599
16600 ;
16601 return 0;
16602 }
16603 _ACEOF
16604 rm -f conftest.$ac_objext
16605 if { (ac_try="$ac_compile"
16606 case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16609 esac
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_compile") 2>conftest.er1
16612 ac_status=$?
16613 grep -v '^ *+' conftest.er1 >conftest.err
16614 rm -f conftest.er1
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } && {
16618 test -z "$ac_cxx_werror_flag" ||
16619 test ! -s conftest.err
16620 } && test -s conftest.$ac_objext; then
16621 ac_cv_prog_cxx_g=yes
16622 else
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.$ac_ext >&5
16625
16626 CXXFLAGS=""
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633
16634 int
16635 main ()
16636 {
16637
16638 ;
16639 return 0;
16640 }
16641 _ACEOF
16642 rm -f conftest.$ac_objext
16643 if { (ac_try="$ac_compile"
16644 case "(($ac_try" in
16645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16646 *) ac_try_echo=$ac_try;;
16647 esac
16648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16649 (eval "$ac_compile") 2>conftest.er1
16650 ac_status=$?
16651 grep -v '^ *+' conftest.er1 >conftest.err
16652 rm -f conftest.er1
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } && {
16656 test -z "$ac_cxx_werror_flag" ||
16657 test ! -s conftest.err
16658 } && test -s conftest.$ac_objext; then
16659 :
16660 else
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.$ac_ext >&5
16663
16664 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16665 CXXFLAGS="-g"
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672
16673 int
16674 main ()
16675 {
16676
16677 ;
16678 return 0;
16679 }
16680 _ACEOF
16681 rm -f conftest.$ac_objext
16682 if { (ac_try="$ac_compile"
16683 case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16686 esac
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_compile") 2>conftest.er1
16689 ac_status=$?
16690 grep -v '^ *+' conftest.er1 >conftest.err
16691 rm -f conftest.er1
16692 cat conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_cxx_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest.$ac_objext; then
16698 ac_cv_prog_cxx_g=yes
16699 else
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.$ac_ext >&5
16702
16703
16704 fi
16705
16706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16707 fi
16708
16709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 fi
16711
16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16714 fi
16715 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16716 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16717 if test "$ac_test_CXXFLAGS" = set; then
16718 CXXFLAGS=$ac_save_CXXFLAGS
16719 elif test $ac_cv_prog_cxx_g = yes; then
16720 if test "$GXX" = yes; then
16721 CXXFLAGS="-g -O2"
16722 else
16723 CXXFLAGS="-g"
16724 fi
16725 else
16726 if test "$GXX" = yes; then
16727 CXXFLAGS="-O2"
16728 else
16729 CXXFLAGS=
16730 fi
16731 fi
16732 ac_ext=c
16733 ac_cpp='$CPP $CPPFLAGS'
16734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16737
16738
16739
16740
16741 ac_ext=cpp
16742 ac_cpp='$CXXCPP $CPPFLAGS'
16743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16746
16747 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16748 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16749 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 else
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758
16759 int
16760 main ()
16761 {
16762
16763 #ifndef __INTEL_COMPILER
16764 choke me
16765 #endif
16766
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (ac_try="$ac_compile"
16773 case "(($ac_try" in
16774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16776 esac
16777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16778 (eval "$ac_compile") 2>conftest.er1
16779 ac_status=$?
16780 grep -v '^ *+' conftest.er1 >conftest.err
16781 rm -f conftest.er1
16782 cat conftest.err >&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); } && {
16785 test -z "$ac_cxx_werror_flag" ||
16786 test ! -s conftest.err
16787 } && test -s conftest.$ac_objext; then
16788 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16789 else
16790 echo "$as_me: failed program was:" >&5
16791 sed 's/^/| /' conftest.$ac_ext >&5
16792
16793 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16794
16795 fi
16796
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16798
16799
16800 fi
16801 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16802 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16803 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16804 :; INTELCXX=yes
16805 else
16806 :;
16807 fi
16808 ac_ext=c
16809 ac_cpp='$CPP $CPPFLAGS'
16810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16813
16814
16815
16816
16817 if test "x$GCXX" != "xyes"; then
16818 if test "xCXX" = "xC"; then
16819 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16820 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16821 if test "${bakefile_cv_c_exto+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16823 else
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830
16831 int
16832 main ()
16833 {
16834
16835 ;
16836 return 0;
16837 }
16838 _ACEOF
16839 rm -f conftest.$ac_objext conftest.$ac_ext.o
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; then
16845 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16846 case $ac_file in
16847 conftest.$ac_ext.o)
16848 bakefile_cv_c_exto="-ext o"
16849 ;;
16850 *)
16851 ;;
16852 esac
16853 done
16854 else
16855 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16860
16861 fi
16862
16863 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16864
16865 fi
16866 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16867 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16868 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16869 if test "c" = "c"; then
16870 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16871 fi
16872 if test "c" = "cxx"; then
16873 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16874 fi
16875 fi
16876
16877 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16878 unset ac_cv_prog_cc_g
16879 ac_test_CFLAGS=${CFLAGS+set}
16880 ac_save_CFLAGS=$CFLAGS
16881 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16882 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16883 if test "${ac_cv_prog_cc_g+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 else
16886 ac_save_c_werror_flag=$ac_c_werror_flag
16887 ac_c_werror_flag=yes
16888 ac_cv_prog_cc_g=no
16889 CFLAGS="-g"
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896
16897 int
16898 main ()
16899 {
16900
16901 ;
16902 return 0;
16903 }
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (ac_try="$ac_compile"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_compile") 2>conftest.er1
16913 ac_status=$?
16914 grep -v '^ *+' conftest.er1 >conftest.err
16915 rm -f conftest.er1
16916 cat conftest.err >&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } && {
16919 test -z "$ac_c_werror_flag" ||
16920 test ! -s conftest.err
16921 } && test -s conftest.$ac_objext; then
16922 ac_cv_prog_cc_g=yes
16923 else
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16926
16927 CFLAGS=""
16928 cat >conftest.$ac_ext <<_ACEOF
16929 /* confdefs.h. */
16930 _ACEOF
16931 cat confdefs.h >>conftest.$ac_ext
16932 cat >>conftest.$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934
16935 int
16936 main ()
16937 {
16938
16939 ;
16940 return 0;
16941 }
16942 _ACEOF
16943 rm -f conftest.$ac_objext
16944 if { (ac_try="$ac_compile"
16945 case "(($ac_try" in
16946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16947 *) ac_try_echo=$ac_try;;
16948 esac
16949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16950 (eval "$ac_compile") 2>conftest.er1
16951 ac_status=$?
16952 grep -v '^ *+' conftest.er1 >conftest.err
16953 rm -f conftest.er1
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } && {
16957 test -z "$ac_c_werror_flag" ||
16958 test ! -s conftest.err
16959 } && test -s conftest.$ac_objext; then
16960 :
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 ac_c_werror_flag=$ac_save_c_werror_flag
16966 CFLAGS="-g"
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 rm -f conftest.$ac_objext
16983 if { (ac_try="$ac_compile"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16987 esac
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_compile") 2>conftest.er1
16990 ac_status=$?
16991 grep -v '^ *+' conftest.er1 >conftest.err
16992 rm -f conftest.er1
16993 cat conftest.err >&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_c_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest.$ac_objext; then
16999 ac_cv_prog_cc_g=yes
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004
17005 fi
17006
17007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17008 fi
17009
17010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17011 fi
17012
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17014 ac_c_werror_flag=$ac_save_c_werror_flag
17015 fi
17016 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17017 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17018 if test "$ac_test_CFLAGS" = set; then
17019 CFLAGS=$ac_save_CFLAGS
17020 elif test $ac_cv_prog_cc_g = yes; then
17021 if test "$GCC" = yes; then
17022 CFLAGS="-g -O2"
17023 else
17024 CFLAGS="-g"
17025 fi
17026 else
17027 if test "$GCC" = yes; then
17028 CFLAGS="-O2"
17029 else
17030 CFLAGS=
17031 fi
17032 fi
17033 fi
17034 fi
17035
17036 case `uname -s` in
17037 AIX*)
17038
17039
17040 ac_ext=cpp
17041 ac_cpp='$CXXCPP $CPPFLAGS'
17042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17045
17046 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17047 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17048 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17050 else
17051 cat >conftest.$ac_ext <<_ACEOF
17052 /* confdefs.h. */
17053 _ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057
17058 int
17059 main ()
17060 {
17061
17062 #ifndef __xlC__
17063 choke me
17064 #endif
17065
17066 ;
17067 return 0;
17068 }
17069 _ACEOF
17070 rm -f conftest.$ac_objext
17071 if { (ac_try="$ac_compile"
17072 case "(($ac_try" in
17073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17074 *) ac_try_echo=$ac_try;;
17075 esac
17076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17077 (eval "$ac_compile") 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } && {
17084 test -z "$ac_cxx_werror_flag" ||
17085 test ! -s conftest.err
17086 } && test -s conftest.$ac_objext; then
17087 bakefile_cv_cxx_compiler___xlC__=yes
17088 else
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.$ac_ext >&5
17091
17092 bakefile_cv_cxx_compiler___xlC__=no
17093
17094 fi
17095
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17097
17098
17099 fi
17100 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17101 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17102 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17103 :; XLCXX=yes
17104 else
17105 :;
17106 fi
17107 ac_ext=c
17108 ac_cpp='$CPP $CPPFLAGS'
17109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17112
17113
17114
17115 ;;
17116
17117 Darwin)
17118
17119
17120 ac_ext=cpp
17121 ac_cpp='$CXXCPP $CPPFLAGS'
17122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17125
17126 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17127 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17128 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 cat >conftest.$ac_ext <<_ACEOF
17132 /* confdefs.h. */
17133 _ACEOF
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137
17138 int
17139 main ()
17140 {
17141
17142 #ifndef __MWERKS__
17143 choke me
17144 #endif
17145
17146 ;
17147 return 0;
17148 }
17149 _ACEOF
17150 rm -f conftest.$ac_objext
17151 if { (ac_try="$ac_compile"
17152 case "(($ac_try" in
17153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17154 *) ac_try_echo=$ac_try;;
17155 esac
17156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17157 (eval "$ac_compile") 2>conftest.er1
17158 ac_status=$?
17159 grep -v '^ *+' conftest.er1 >conftest.err
17160 rm -f conftest.er1
17161 cat conftest.err >&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } && {
17164 test -z "$ac_cxx_werror_flag" ||
17165 test ! -s conftest.err
17166 } && test -s conftest.$ac_objext; then
17167 bakefile_cv_cxx_compiler___MWERKS__=yes
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17171
17172 bakefile_cv_cxx_compiler___MWERKS__=no
17173
17174 fi
17175
17176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17177
17178
17179 fi
17180 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17181 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17182 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17183 :; MWCXX=yes
17184 else
17185 :;
17186 fi
17187 ac_ext=c
17188 ac_cpp='$CPP $CPPFLAGS'
17189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17192
17193
17194
17195
17196
17197 ac_ext=cpp
17198 ac_cpp='$CXXCPP $CPPFLAGS'
17199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17202
17203 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17204 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17205 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214
17215 int
17216 main ()
17217 {
17218
17219 #ifndef __xlC__
17220 choke me
17221 #endif
17222
17223 ;
17224 return 0;
17225 }
17226 _ACEOF
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17232 esac
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_cxx_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 bakefile_cv_cxx_compiler___xlC__=yes
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 bakefile_cv_cxx_compiler___xlC__=no
17250
17251 fi
17252
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254
17255
17256 fi
17257 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17258 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17259 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17260 :; XLCXX=yes
17261 else
17262 :;
17263 fi
17264 ac_ext=c
17265 ac_cpp='$CPP $CPPFLAGS'
17266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17269
17270
17271
17272 ;;
17273
17274 IRIX*)
17275
17276
17277 ac_ext=cpp
17278 ac_cpp='$CXXCPP $CPPFLAGS'
17279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282
17283 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17284 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17285 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 else
17288 cat >conftest.$ac_ext <<_ACEOF
17289 /* confdefs.h. */
17290 _ACEOF
17291 cat confdefs.h >>conftest.$ac_ext
17292 cat >>conftest.$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294
17295 int
17296 main ()
17297 {
17298
17299 #ifndef _SGI_COMPILER_VERSION
17300 choke me
17301 #endif
17302
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (ac_try="$ac_compile"
17309 case "(($ac_try" in
17310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17311 *) ac_try_echo=$ac_try;;
17312 esac
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_compile") 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } && {
17321 test -z "$ac_cxx_werror_flag" ||
17322 test ! -s conftest.err
17323 } && test -s conftest.$ac_objext; then
17324 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17325 else
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17328
17329 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17330
17331 fi
17332
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334
17335
17336 fi
17337 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17338 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17339 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17340 :; SGICXX=yes
17341 else
17342 :;
17343 fi
17344 ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17349
17350
17351
17352 ;;
17353
17354 Linux*)
17355
17356
17357 ac_ext=cpp
17358 ac_cpp='$CXXCPP $CPPFLAGS'
17359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17362
17363 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17364 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17365 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374
17375 int
17376 main ()
17377 {
17378
17379 #ifndef __SUNPRO_CC
17380 choke me
17381 #endif
17382
17383 ;
17384 return 0;
17385 }
17386 _ACEOF
17387 rm -f conftest.$ac_objext
17388 if { (ac_try="$ac_compile"
17389 case "(($ac_try" in
17390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17391 *) ac_try_echo=$ac_try;;
17392 esac
17393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17394 (eval "$ac_compile") 2>conftest.er1
17395 ac_status=$?
17396 grep -v '^ *+' conftest.er1 >conftest.err
17397 rm -f conftest.er1
17398 cat conftest.err >&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } && {
17401 test -z "$ac_cxx_werror_flag" ||
17402 test ! -s conftest.err
17403 } && test -s conftest.$ac_objext; then
17404 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17405 else
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17408
17409 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17410
17411 fi
17412
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414
17415
17416 fi
17417 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17418 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17419 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17420 :; SUNCXX=yes
17421 else
17422 :;
17423 fi
17424 ac_ext=c
17425 ac_cpp='$CPP $CPPFLAGS'
17426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17429
17430
17431
17432 ;;
17433
17434 HP-UX*)
17435
17436
17437 ac_ext=cpp
17438 ac_cpp='$CXXCPP $CPPFLAGS'
17439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17442
17443 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17444 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17445 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 else
17448 cat >conftest.$ac_ext <<_ACEOF
17449 /* confdefs.h. */
17450 _ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454
17455 int
17456 main ()
17457 {
17458
17459 #ifndef __HP_aCC
17460 choke me
17461 #endif
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 rm -f conftest.$ac_objext
17468 if { (ac_try="$ac_compile"
17469 case "(($ac_try" in
17470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17471 *) ac_try_echo=$ac_try;;
17472 esac
17473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17474 (eval "$ac_compile") 2>conftest.er1
17475 ac_status=$?
17476 grep -v '^ *+' conftest.er1 >conftest.err
17477 rm -f conftest.er1
17478 cat conftest.err >&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } && {
17481 test -z "$ac_cxx_werror_flag" ||
17482 test ! -s conftest.err
17483 } && test -s conftest.$ac_objext; then
17484 bakefile_cv_cxx_compiler___HP_aCC=yes
17485 else
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.$ac_ext >&5
17488
17489 bakefile_cv_cxx_compiler___HP_aCC=no
17490
17491 fi
17492
17493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494
17495
17496 fi
17497 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17498 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17499 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17500 :; HPCXX=yes
17501 else
17502 :;
17503 fi
17504 ac_ext=c
17505 ac_cpp='$CPP $CPPFLAGS'
17506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17509
17510
17511
17512 ;;
17513
17514 OSF1)
17515
17516
17517 ac_ext=cpp
17518 ac_cpp='$CXXCPP $CPPFLAGS'
17519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522
17523 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17524 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17525 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 else
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534
17535 int
17536 main ()
17537 {
17538
17539 #ifndef __DECCXX
17540 choke me
17541 #endif
17542
17543 ;
17544 return 0;
17545 }
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_cxx_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 bakefile_cv_cxx_compiler___DECCXX=yes
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 bakefile_cv_cxx_compiler___DECCXX=no
17570
17571 fi
17572
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575
17576 fi
17577 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17578 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17579 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17580 :; COMPAQCXX=yes
17581 else
17582 :;
17583 fi
17584 ac_ext=c
17585 ac_cpp='$CPP $CPPFLAGS'
17586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589
17590
17591
17592 ;;
17593
17594 SunOS)
17595
17596
17597 ac_ext=cpp
17598 ac_cpp='$CXXCPP $CPPFLAGS'
17599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17602
17603 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 cat >conftest.$ac_ext <<_ACEOF
17609 /* confdefs.h. */
17610 _ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17614
17615 int
17616 main ()
17617 {
17618
17619 #ifndef __SUNPRO_CC
17620 choke me
17621 #endif
17622
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17648
17649 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17650
17651 fi
17652
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654
17655
17656 fi
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17660 :; SUNCXX=yes
17661 else
17662 :;
17663 fi
17664 ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670
17671
17672 ;;
17673 esac
17674 fi
17675
17676
17677
17678 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17679 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17680 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17681 { (exit 1); exit 1; }; }
17682 fi
17683
17684 if test "x$SUNCXX" != xyes; then
17685 if test -n "$ac_tool_prefix"; then
17686 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17687 set dummy ${ac_tool_prefix}ar; ac_word=$2
17688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17690 if test "${ac_cv_prog_AR+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 if test -n "$AR"; then
17694 ac_cv_prog_AR="$AR" # Let the user override the test.
17695 else
17696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17697 for as_dir in $PATH
17698 do
17699 IFS=$as_save_IFS
17700 test -z "$as_dir" && as_dir=.
17701 for ac_exec_ext in '' $ac_executable_extensions; do
17702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17703 ac_cv_prog_AR="${ac_tool_prefix}ar"
17704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17705 break 2
17706 fi
17707 done
17708 done
17709 IFS=$as_save_IFS
17710
17711 fi
17712 fi
17713 AR=$ac_cv_prog_AR
17714 if test -n "$AR"; then
17715 { echo "$as_me:$LINENO: result: $AR" >&5
17716 echo "${ECHO_T}$AR" >&6; }
17717 else
17718 { echo "$as_me:$LINENO: result: no" >&5
17719 echo "${ECHO_T}no" >&6; }
17720 fi
17721
17722
17723 fi
17724 if test -z "$ac_cv_prog_AR"; then
17725 ac_ct_AR=$AR
17726 # Extract the first word of "ar", so it can be a program name with args.
17727 set dummy ar; ac_word=$2
17728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17730 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17731 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 else
17733 if test -n "$ac_ct_AR"; then
17734 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17735 else
17736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17737 for as_dir in $PATH
17738 do
17739 IFS=$as_save_IFS
17740 test -z "$as_dir" && as_dir=.
17741 for ac_exec_ext in '' $ac_executable_extensions; do
17742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17743 ac_cv_prog_ac_ct_AR="ar"
17744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17745 break 2
17746 fi
17747 done
17748 done
17749 IFS=$as_save_IFS
17750
17751 fi
17752 fi
17753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17754 if test -n "$ac_ct_AR"; then
17755 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17756 echo "${ECHO_T}$ac_ct_AR" >&6; }
17757 else
17758 { echo "$as_me:$LINENO: result: no" >&5
17759 echo "${ECHO_T}no" >&6; }
17760 fi
17761
17762 if test "x$ac_ct_AR" = x; then
17763 AR=""
17764 else
17765 case $cross_compiling:$ac_tool_warned in
17766 yes:)
17767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17768 whose name does not start with the host triplet. If you think this
17769 configuration is useful to you, please write to autoconf@gnu.org." >&5
17770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17771 whose name does not start with the host triplet. If you think this
17772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17773 ac_tool_warned=yes ;;
17774 esac
17775 AR=$ac_ct_AR
17776 fi
17777 else
17778 AR="$ac_cv_prog_AR"
17779 fi
17780
17781 if test "x$AR" = "x" ; then
17782 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17783 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17784 { (exit 1); exit 1; }; }
17785 fi
17786 fi
17787
17788 retest_macosx_linking=no
17789
17790 #if test "$wxUSE_MAC" = 1; then
17791 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17792 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17793 # Implicitly turn on the new --with-macosx-sdk using the default
17794 # SDK which provides the behavior this option has always had.
17795 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17796 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17797 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17798 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17799 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17800 wxUSE_MACOSX_SDK=yes
17801 fi
17802 else
17803 # Complain to user if he specified an argument to --enable-universal_binary
17804 # and also 1) specified --with-macosx-sdk using the default (yes) or
17805 # 2) specified --with-macosx-sdk using a path or 3) specified
17806 # --without-macosx-sdk (no).
17807 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17808 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17809 See \`config.log' for more details." >&5
17810 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17811 See \`config.log' for more details." >&2;}
17812 { (exit 1); exit 1; }; }
17813 else
17814 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17815 # special-case the empty string because the below test simply
17816 # converts "no" to the empty string anyway.
17817 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17818 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17819 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17820 fi
17821 fi
17822 OSX_UNIV_OPTS="-arch ppc -arch i386"
17823 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17824 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17825 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17826 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17827 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17828 retest_macosx_linking=yes
17829
17830 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17831 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17832 bk_use_pch=no
17833 fi
17834 #fi
17835
17836 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17837 wxUSE_MACOSX_SDK=
17838 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17839 # TODO: Search for most recent SDK and use it.
17840 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17841 fi
17842
17843
17844 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17845 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17846 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17847 if ! test -d "$wxUSE_MACOSX_SDK"; then
17848 { { echo "$as_me:$LINENO: error: not found
17849 See \`config.log' for more details." >&5
17850 echo "$as_me: error: not found
17851 See \`config.log' for more details." >&2;}
17852 { (exit 1); exit 1; }; }
17853 else
17854 { echo "$as_me:$LINENO: result: exists" >&5
17855 echo "${ECHO_T}exists" >&6; }
17856 fi
17857 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17858 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17859 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17860 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17861 retest_macosx_linking=yes
17862 fi
17863
17864 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17865 wxUSE_MACOSX_VERSION_MIN=
17866 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17867 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17868 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17869 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17870
17871 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
17872
17873 # If that failed, try again with the new key
17874 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17875
17876 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
17877
17878 fi
17879
17880 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17881 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17882 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17883 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17884 else
17885 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17886 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17887 wxUSE_MACOSX_VERSION_MIN=
17888 fi
17889 else
17890 wxUSE_MACOSX_VERSION_MIN=
17891 fi
17892 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17893 if test "$wxUSE_MAC" = 1; then
17894 # otherwise configure stops on leopard for universal_binary
17895 wxUSE_MACOSX_VERSION_MIN=10.4
17896 fi
17897 fi
17898
17899 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17900 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17901 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17902 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17903 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17904 retest_macosx_linking=yes
17905 fi
17906
17907 if test "x$retest_macosx_linking" = "xyes"; then
17908 ac_ext=c
17909 ac_cpp='$CPP $CPPFLAGS'
17910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17913
17914 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17915 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17916 cat >conftest.$ac_ext <<_ACEOF
17917 /* confdefs.h. */
17918 _ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922
17923 int
17924 main ()
17925 {
17926
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext conftest$ac_exeext
17932 if { (ac_try="$ac_link"
17933 case "(($ac_try" in
17934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17936 esac
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_link") 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } && {
17945 test -z "$ac_c_werror_flag" ||
17946 test ! -s conftest.err
17947 } && test -s conftest$ac_exeext &&
17948 $as_test_x conftest$ac_exeext; then
17949 { echo "$as_me:$LINENO: result: yes" >&5
17950 echo "${ECHO_T}yes" >&6; }
17951 else
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17954
17955 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17956 See \`config.log' for more details." >&5
17957 echo "$as_me: error: no. Try a different SDK
17958 See \`config.log' for more details." >&2;}
17959 { (exit 1); exit 1; }; }; exit 1
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17963 conftest$ac_exeext conftest.$ac_ext
17964 ac_ext=c
17965 ac_cpp='$CPP $CPPFLAGS'
17966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17969
17970
17971 ac_ext=cpp
17972 ac_cpp='$CXXCPP $CPPFLAGS'
17973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17976
17977 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17978 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 rm -f conftest.$ac_objext conftest$ac_exeext
17995 if { (ac_try="$ac_link"
17996 case "(($ac_try" in
17997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17998 *) ac_try_echo=$ac_try;;
17999 esac
18000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18001 (eval "$ac_link") 2>conftest.er1
18002 ac_status=$?
18003 grep -v '^ *+' conftest.er1 >conftest.err
18004 rm -f conftest.er1
18005 cat conftest.err >&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } && {
18008 test -z "$ac_cxx_werror_flag" ||
18009 test ! -s conftest.err
18010 } && test -s conftest$ac_exeext &&
18011 $as_test_x conftest$ac_exeext; then
18012 { echo "$as_me:$LINENO: result: yes" >&5
18013 echo "${ECHO_T}yes" >&6; }
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18019 See \`config.log' for more details." >&5
18020 echo "$as_me: error: no. Try a different SDK
18021 See \`config.log' for more details." >&2;}
18022 { (exit 1); exit 1; }; }; exit 1
18023 fi
18024
18025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18026 conftest$ac_exeext conftest.$ac_ext
18027 ac_ext=c
18028 ac_cpp='$CPP $CPPFLAGS'
18029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18032
18033 fi
18034
18035
18036 case "${host}" in
18037
18038 *-*-darwin* )
18039 INSTALL_PROGRAM="cp -fp"
18040 INSTALL_DATA="cp -fp"
18041 ;;
18042 *)
18043 ;;
18044 esac
18045
18046
18047 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18048 CXXFLAGS="-qunique $CXXFLAGS"
18049 fi
18050
18051 case "${host}" in
18052 powerpc-*-darwin* )
18053 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18054 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18055 cat >conftest.$ac_ext <<_ACEOF
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061
18062 int
18063 main ()
18064 {
18065 #ifndef __POWERPC__
18066 choke me for lack of PowerPC
18067 #endif
18068
18069 ;
18070 return 0;
18071 }
18072 _ACEOF
18073 rm -f conftest.$ac_objext
18074 if { (ac_try="$ac_compile"
18075 case "(($ac_try" in
18076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18077 *) ac_try_echo=$ac_try;;
18078 esac
18079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18080 (eval "$ac_compile") 2>conftest.er1
18081 ac_status=$?
18082 grep -v '^ *+' conftest.er1 >conftest.err
18083 rm -f conftest.er1
18084 cat conftest.err >&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); } && {
18087 test -z "$ac_c_werror_flag" ||
18088 test ! -s conftest.err
18089 } && test -s conftest.$ac_objext; then
18090 { echo "$as_me:$LINENO: result: yes" >&5
18091 echo "${ECHO_T}yes" >&6; }
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18095
18096 { echo "$as_me:$LINENO: result: no" >&5
18097 echo "${ECHO_T}no" >&6; }
18098 cat >>confdefs.h <<\_ACEOF
18099 #define __POWERPC__ 1
18100 _ACEOF
18101
18102
18103 fi
18104
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 ;;
18107 esac
18108
18109 case "${host}" in
18110 *-*-darwin* )
18111 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18112 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18113 cat >conftest.$ac_ext <<_ACEOF
18114 /* confdefs.h. */
18115 _ACEOF
18116 cat confdefs.h >>conftest.$ac_ext
18117 cat >>conftest.$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 #include <CoreFoundation/CFBase.h>
18120
18121 int
18122 main ()
18123 {
18124
18125 ;
18126 return 0;
18127 }
18128 _ACEOF
18129 rm -f conftest.$ac_objext
18130 if { (ac_try="$ac_compile"
18131 case "(($ac_try" in
18132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18133 *) ac_try_echo=$ac_try;;
18134 esac
18135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18136 (eval "$ac_compile") 2>conftest.er1
18137 ac_status=$?
18138 grep -v '^ *+' conftest.er1 >conftest.err
18139 rm -f conftest.er1
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && {
18143 test -z "$ac_c_werror_flag" ||
18144 test ! -s conftest.err
18145 } && test -s conftest.$ac_objext; then
18146 { echo "$as_me:$LINENO: result: yes" >&5
18147 echo "${ECHO_T}yes" >&6; }
18148 else
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18151
18152 { echo "$as_me:$LINENO: result: no" >&5
18153 echo "${ECHO_T}no" >&6; }
18154 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18155 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18156 cat >conftest.$ac_ext <<_ACEOF
18157 /* confdefs.h. */
18158 _ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 #define __CF_USE_FRAMEWORK_INCLUDES__
18163 #include <CoreFoundation/CFBase.h>
18164
18165 int
18166 main ()
18167 {
18168
18169 ;
18170 return 0;
18171 }
18172 _ACEOF
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18178 esac
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18181 ac_status=$?
18182 grep -v '^ *+' conftest.er1 >conftest.err
18183 rm -f conftest.er1
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 { echo "$as_me:$LINENO: result: yes" >&5
18191 echo "${ECHO_T}yes" >&6; }
18192 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18193 else
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.$ac_ext >&5
18196
18197 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18198 See \`config.log' for more details." >&5
18199 echo "$as_me: error: no. CoreFoundation not available.
18200 See \`config.log' for more details." >&2;}
18201 { (exit 1); exit 1; }; }
18202
18203 fi
18204
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206
18207
18208 fi
18209
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 ;;
18212 esac
18213
18214 wants_win32=0
18215 doesnt_want_win32=0
18216 case "${host}" in
18217 *-*-cygwin*)
18218 if test "$wxUSE_MSW" = 1 ; then
18219 wants_win32=1
18220 else
18221 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18222 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18223 if test "${wx_cv_nocygwin+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233
18234 int
18235 main ()
18236 {
18237
18238 #ifdef __MINGW32__
18239 choke me
18240 #endif
18241
18242 ;
18243 return 0;
18244 }
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18251 esac
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18254 ac_status=$?
18255 grep -v '^ *+' conftest.er1 >conftest.err
18256 rm -f conftest.er1
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_c_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest.$ac_objext; then
18263 wx_cv_nocygwin=no
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 wx_cv_nocygwin=yes
18269
18270 fi
18271
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18273
18274
18275 fi
18276 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18277 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18278
18279 if test "$wx_cv_nocygwin" = "yes"; then
18280 wants_win32=1
18281 else
18282 doesnt_want_win32=1
18283 fi
18284 fi
18285 if test "$wants_win32" = 1 ; then
18286 BAKEFILE_FORCE_PLATFORM=win32
18287 fi
18288 ;;
18289 *-*-mingw*)
18290 wants_win32=1
18291 ;;
18292 esac
18293
18294 if test "$wxUSE_WINE" = "yes"; then
18295 wants_win32=1
18296 LDFLAGS_GUI="-mwindows"
18297 fi
18298
18299 if test "$wants_win32" = 1 ; then
18300 USE_UNIX=0
18301 USE_WIN32=1
18302 cat >>confdefs.h <<\_ACEOF
18303 #define __WIN32__ 1
18304 _ACEOF
18305
18306 cat >>confdefs.h <<\_ACEOF
18307 #define __WIN95__ 1
18308 _ACEOF
18309
18310 cat >>confdefs.h <<\_ACEOF
18311 #define __WINDOWS__ 1
18312 _ACEOF
18313
18314 cat >>confdefs.h <<\_ACEOF
18315 #define __GNUWIN32__ 1
18316 _ACEOF
18317
18318 cat >>confdefs.h <<\_ACEOF
18319 #define STRICT 1
18320 _ACEOF
18321
18322 fi
18323 if test "$doesnt_want_win32" = 1 ; then
18324 USE_UNIX=1
18325 USE_WIN32=0
18326 fi
18327
18328 if test "$USE_UNIX" = 1 ; then
18329 wxUSE_UNIX=yes
18330 cat >>confdefs.h <<\_ACEOF
18331 #define __UNIX__ 1
18332 _ACEOF
18333
18334 fi
18335
18336 case "${host}" in
18337 *-pc-os2_emx | *-pc-os2-emx )
18338 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18339 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18340 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18341 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 else
18344 ac_check_lib_save_LIBS=$LIBS
18345 LIBS="-lcExt $LIBS"
18346 cat >conftest.$ac_ext <<_ACEOF
18347 /* confdefs.h. */
18348 _ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352
18353 /* Override any GCC internal prototype to avoid an error.
18354 Use char because int might match the return type of a GCC
18355 builtin and then its argument prototype would still apply. */
18356 #ifdef __cplusplus
18357 extern "C"
18358 #endif
18359 char drand48 ();
18360 int
18361 main ()
18362 {
18363 return drand48 ();
18364 ;
18365 return 0;
18366 }
18367 _ACEOF
18368 rm -f conftest.$ac_objext conftest$ac_exeext
18369 if { (ac_try="$ac_link"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373 esac
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_link") 2>conftest.er1
18376 ac_status=$?
18377 grep -v '^ *+' conftest.er1 >conftest.err
18378 rm -f conftest.er1
18379 cat conftest.err >&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && {
18382 test -z "$ac_c_werror_flag" ||
18383 test ! -s conftest.err
18384 } && test -s conftest$ac_exeext &&
18385 $as_test_x conftest$ac_exeext; then
18386 ac_cv_lib_cExt_drand48=yes
18387 else
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18390
18391 ac_cv_lib_cExt_drand48=no
18392 fi
18393
18394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18395 conftest$ac_exeext conftest.$ac_ext
18396 LIBS=$ac_check_lib_save_LIBS
18397 fi
18398 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18399 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18400 if test $ac_cv_lib_cExt_drand48 = yes; then
18401 LIBS="$LIBS -lcExt"
18402 fi
18403
18404 else
18405 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18406 fi
18407 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18408 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18409 if test "${wx_cv_gccversion+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18412
18413 if test "$cross_compiling" = yes; then
18414 wx_cv_gccversion="EMX2"
18415
18416 else
18417 cat >conftest.$ac_ext <<_ACEOF
18418 /* confdefs.h. */
18419 _ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423
18424 #include <stdio.h>
18425
18426 int main()
18427 {
18428 FILE *f=fopen("conftestval", "w");
18429 if (!f) exit(1);
18430 fprintf(f,
18431 #if (__GNUC__ < 3)
18432 "EMX2"
18433 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18434 "EMX3"
18435 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18436 "Innotek5"
18437 #else
18438 "Innotek6"
18439 #endif
18440 );
18441 exit(0);
18442 }
18443
18444 _ACEOF
18445 rm -f conftest$ac_exeext
18446 if { (ac_try="$ac_link"
18447 case "(($ac_try" in
18448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18450 esac
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_link") 2>&5
18453 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18456 { (case "(($ac_try" in
18457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18458 *) ac_try_echo=$ac_try;;
18459 esac
18460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18461 (eval "$ac_try") 2>&5
18462 ac_status=$?
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; }; then
18465 wx_cv_gccversion=`cat conftestval`
18466 else
18467 echo "$as_me: program exited with status $ac_status" >&5
18468 echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18470
18471 ( exit $ac_status )
18472 wx_cv_gccversion="EMX2"
18473 fi
18474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18475 fi
18476
18477
18478
18479 fi
18480 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18481 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18482 if test "$wx_cv_gccversion" = "EMX2"; then
18483 LIBS="$LIBS -lstdcpp"
18484 LDFLAGS="$LDFLAGS -Zsysv-signals"
18485 else
18486 if test "$wx_cv_gccversion" = "EMX3"; then
18487 LIBS="$LIBS -lstdcxx -lgcc"
18488 LDFLAGS="$LDFLAGS -Zsysv-signals"
18489 else
18490 LIBS="$LIBS -lstdc++"
18491 fi
18492 fi
18493 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18494 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18495 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18496 wxUSE_OMF=yes
18497 enable_omf=yes
18498 fi
18499 ;;
18500 *)
18501
18502 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18503 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18504 if test "${ac_cv_string_strcasecmp+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514
18515 #include <string.h>
18516
18517 int
18518 main ()
18519 {
18520
18521 strcasecmp("foo", "bar");
18522
18523 ;
18524 return 0;
18525 }
18526 _ACEOF
18527 rm -f conftest.$ac_objext conftest$ac_exeext
18528 if { (ac_try="$ac_link"
18529 case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18532 esac
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_link") 2>conftest.er1
18535 ac_status=$?
18536 grep -v '^ *+' conftest.er1 >conftest.err
18537 rm -f conftest.er1
18538 cat conftest.err >&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } && {
18541 test -z "$ac_c_werror_flag" ||
18542 test ! -s conftest.err
18543 } && test -s conftest$ac_exeext &&
18544 $as_test_x conftest$ac_exeext; then
18545 ac_cv_string_strcasecmp=yes
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 ac_cv_string_strcasecmp=no
18551
18552 fi
18553
18554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18555 conftest$ac_exeext conftest.$ac_ext
18556
18557 fi
18558 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18559 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18560
18561 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define HAVE_STRCASECMP_IN_STRING_H 1
18564 _ACEOF
18565
18566 else
18567 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18568 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18569 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 else
18572
18573 cat >conftest.$ac_ext <<_ACEOF
18574 /* confdefs.h. */
18575 _ACEOF
18576 cat confdefs.h >>conftest.$ac_ext
18577 cat >>conftest.$ac_ext <<_ACEOF
18578 /* end confdefs.h. */
18579
18580 #include <strings.h>
18581
18582 int
18583 main ()
18584 {
18585
18586 strcasecmp("foo", "bar");
18587
18588 ;
18589 return 0;
18590 }
18591 _ACEOF
18592 rm -f conftest.$ac_objext conftest$ac_exeext
18593 if { (ac_try="$ac_link"
18594 case "(($ac_try" in
18595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18596 *) ac_try_echo=$ac_try;;
18597 esac
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_link") 2>conftest.er1
18600 ac_status=$?
18601 grep -v '^ *+' conftest.er1 >conftest.err
18602 rm -f conftest.er1
18603 cat conftest.err >&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); } && {
18606 test -z "$ac_c_werror_flag" ||
18607 test ! -s conftest.err
18608 } && test -s conftest$ac_exeext &&
18609 $as_test_x conftest$ac_exeext; then
18610 ac_cv_strings_strcasecmp=yes
18611 else
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18614
18615 ac_cv_strings_strcasecmp=no
18616
18617 fi
18618
18619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18620 conftest$ac_exeext conftest.$ac_ext
18621
18622 fi
18623 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18624 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18625
18626 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18627 cat >>confdefs.h <<\_ACEOF
18628 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18629 _ACEOF
18630
18631 else
18632 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18633 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18634 { (exit 1); exit 1; }; }
18635 fi
18636 fi
18637
18638 ;;
18639 esac
18640
18641
18642 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18643 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18644 if test "${ac_cv_header_stdc+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <stdlib.h>
18654 #include <stdarg.h>
18655 #include <string.h>
18656 #include <float.h>
18657
18658 int
18659 main ()
18660 {
18661
18662 ;
18663 return 0;
18664 }
18665 _ACEOF
18666 rm -f conftest.$ac_objext
18667 if { (ac_try="$ac_compile"
18668 case "(($ac_try" in
18669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18670 *) ac_try_echo=$ac_try;;
18671 esac
18672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18673 (eval "$ac_compile") 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err
18682 } && test -s conftest.$ac_objext; then
18683 ac_cv_header_stdc=yes
18684 else
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18687
18688 ac_cv_header_stdc=no
18689 fi
18690
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692
18693 if test $ac_cv_header_stdc = yes; then
18694 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 #include <string.h>
18702
18703 _ACEOF
18704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18705 $EGREP "memchr" >/dev/null 2>&1; then
18706 :
18707 else
18708 ac_cv_header_stdc=no
18709 fi
18710 rm -f conftest*
18711
18712 fi
18713
18714 if test $ac_cv_header_stdc = yes; then
18715 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 #include <stdlib.h>
18723
18724 _ACEOF
18725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18726 $EGREP "free" >/dev/null 2>&1; then
18727 :
18728 else
18729 ac_cv_header_stdc=no
18730 fi
18731 rm -f conftest*
18732
18733 fi
18734
18735 if test $ac_cv_header_stdc = yes; then
18736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18737 if test "$cross_compiling" = yes; then
18738 :
18739 else
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 #include <ctype.h>
18747 #include <stdlib.h>
18748 #if ((' ' & 0x0FF) == 0x020)
18749 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18750 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18751 #else
18752 # define ISLOWER(c) \
18753 (('a' <= (c) && (c) <= 'i') \
18754 || ('j' <= (c) && (c) <= 'r') \
18755 || ('s' <= (c) && (c) <= 'z'))
18756 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18757 #endif
18758
18759 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18760 int
18761 main ()
18762 {
18763 int i;
18764 for (i = 0; i < 256; i++)
18765 if (XOR (islower (i), ISLOWER (i))
18766 || toupper (i) != TOUPPER (i))
18767 return 2;
18768 return 0;
18769 }
18770 _ACEOF
18771 rm -f conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18776 esac
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>&5
18779 ac_status=$?
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18782 { (case "(($ac_try" in
18783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18784 *) ac_try_echo=$ac_try;;
18785 esac
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_try") 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 :
18792 else
18793 echo "$as_me: program exited with status $ac_status" >&5
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18796
18797 ( exit $ac_status )
18798 ac_cv_header_stdc=no
18799 fi
18800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18801 fi
18802
18803
18804 fi
18805 fi
18806 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18807 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18808 if test $ac_cv_header_stdc = yes; then
18809
18810 cat >>confdefs.h <<\_ACEOF
18811 #define STDC_HEADERS 1
18812 _ACEOF
18813
18814 fi
18815
18816 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18827 inttypes.h stdint.h unistd.h
18828 do
18829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h. */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18842
18843 #include <$ac_header>
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850 esac
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_c_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 eval "$as_ac_Header=yes"
18863 else
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18866
18867 eval "$as_ac_Header=no"
18868 fi
18869
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 fi
18872 ac_res=`eval echo '${'$as_ac_Header'}'`
18873 { echo "$as_me:$LINENO: result: $ac_res" >&5
18874 echo "${ECHO_T}$ac_res" >&6; }
18875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18876 cat >>confdefs.h <<_ACEOF
18877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18878 _ACEOF
18879
18880 fi
18881
18882 done
18883
18884
18885
18886
18887 for ac_header in langinfo.h wchar.h
18888 do
18889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 else
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18902
18903 #include <$ac_header>
18904 _ACEOF
18905 rm -f conftest.$ac_objext
18906 if { (ac_try="$ac_compile"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18910 esac
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_compile") 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest.$ac_objext; then
18922 eval "$as_ac_Header=yes"
18923 else
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18926
18927 eval "$as_ac_Header=no"
18928 fi
18929
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 fi
18932 ac_res=`eval echo '${'$as_ac_Header'}'`
18933 { echo "$as_me:$LINENO: result: $ac_res" >&5
18934 echo "${ECHO_T}$ac_res" >&6; }
18935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18936 cat >>confdefs.h <<_ACEOF
18937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18938 _ACEOF
18939
18940 fi
18941
18942 done
18943
18944
18945 if test "$ac_cv_header_wchar_h" != "yes"; then
18946
18947 for ac_header in wcstr.h
18948 do
18949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18954 else
18955 cat >conftest.$ac_ext <<_ACEOF
18956 /* confdefs.h. */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 $ac_includes_default
18962
18963 #include <$ac_header>
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (ac_try="$ac_compile"
18967 case "(($ac_try" in
18968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 *) ac_try_echo=$ac_try;;
18970 esac
18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 (eval "$ac_compile") 2>conftest.er1
18973 ac_status=$?
18974 grep -v '^ *+' conftest.er1 >conftest.err
18975 rm -f conftest.er1
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } && {
18979 test -z "$ac_c_werror_flag" ||
18980 test ! -s conftest.err
18981 } && test -s conftest.$ac_objext; then
18982 eval "$as_ac_Header=yes"
18983 else
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18986
18987 eval "$as_ac_Header=no"
18988 fi
18989
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991 fi
18992 ac_res=`eval echo '${'$as_ac_Header'}'`
18993 { echo "$as_me:$LINENO: result: $ac_res" >&5
18994 echo "${ECHO_T}$ac_res" >&6; }
18995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18996 cat >>confdefs.h <<_ACEOF
18997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18998 _ACEOF
18999
19000 fi
19001
19002 done
19003
19004 fi
19005
19006 case "${host}" in
19007 *-pc-os2_emx | *-pc-os2-emx )
19008 if test $ac_cv_header_langinfo_h = "yes" \
19009 -a \( "$wx_cv_gccversion" = "EMX2" \
19010 -o "$wx_cv_gccversion" = "EMX3" \
19011 -o "$wx_cv_gccversion" = "Innotek5" \); then
19012 LIBS="$LIBS -lintl"
19013 fi
19014 ;;
19015 esac
19016
19017 if test "$USE_UNIX" = 1 ; then
19018
19019 for ac_header in sys/select.h
19020 do
19021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19025 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 else
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h. */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034
19035 #include <$ac_header>
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19042 esac
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19045 ac_status=$?
19046 grep -v '^ *+' conftest.er1 >conftest.err
19047 rm -f conftest.er1
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 eval "$as_ac_Header=yes"
19055 else
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19058
19059 eval "$as_ac_Header=no"
19060 fi
19061
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 fi
19064 ac_res=`eval echo '${'$as_ac_Header'}'`
19065 { echo "$as_me:$LINENO: result: $ac_res" >&5
19066 echo "${ECHO_T}$ac_res" >&6; }
19067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19068 cat >>confdefs.h <<_ACEOF
19069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19070 _ACEOF
19071
19072 fi
19073
19074 done
19075
19076 fi
19077
19078
19079 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19080 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19081 if test "${ac_cv_c_const+set}" = set; then
19082 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 else
19084 cat >conftest.$ac_ext <<_ACEOF
19085 /* confdefs.h. */
19086 _ACEOF
19087 cat confdefs.h >>conftest.$ac_ext
19088 cat >>conftest.$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090
19091 int
19092 main ()
19093 {
19094 /* FIXME: Include the comments suggested by Paul. */
19095 #ifndef __cplusplus
19096 /* Ultrix mips cc rejects this. */
19097 typedef int charset[2];
19098 const charset cs;
19099 /* SunOS 4.1.1 cc rejects this. */
19100 char const *const *pcpcc;
19101 char **ppc;
19102 /* NEC SVR4.0.2 mips cc rejects this. */
19103 struct point {int x, y;};
19104 static struct point const zero = {0,0};
19105 /* AIX XL C 1.02.0.0 rejects this.
19106 It does not let you subtract one const X* pointer from another in
19107 an arm of an if-expression whose if-part is not a constant
19108 expression */
19109 const char *g = "string";
19110 pcpcc = &g + (g ? g-g : 0);
19111 /* HPUX 7.0 cc rejects these. */
19112 ++pcpcc;
19113 ppc = (char**) pcpcc;
19114 pcpcc = (char const *const *) ppc;
19115 { /* SCO 3.2v4 cc rejects this. */
19116 char *t;
19117 char const *s = 0 ? (char *) 0 : (char const *) 0;
19118
19119 *t++ = 0;
19120 if (s) return 0;
19121 }
19122 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19123 int x[] = {25, 17};
19124 const int *foo = &x[0];
19125 ++foo;
19126 }
19127 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19128 typedef const int *iptr;
19129 iptr p = 0;
19130 ++p;
19131 }
19132 { /* AIX XL C 1.02.0.0 rejects this saying
19133 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19134 struct s { int j; const int *ap[3]; };
19135 struct s *b; b->j = 5;
19136 }
19137 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19138 const int foo = 10;
19139 if (!foo) return 0;
19140 }
19141 return !cs[0] && !zero.x;
19142 #endif
19143
19144 ;
19145 return 0;
19146 }
19147 _ACEOF
19148 rm -f conftest.$ac_objext
19149 if { (ac_try="$ac_compile"
19150 case "(($ac_try" in
19151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19152 *) ac_try_echo=$ac_try;;
19153 esac
19154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19155 (eval "$ac_compile") 2>conftest.er1
19156 ac_status=$?
19157 grep -v '^ *+' conftest.er1 >conftest.err
19158 rm -f conftest.er1
19159 cat conftest.err >&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } && {
19162 test -z "$ac_c_werror_flag" ||
19163 test ! -s conftest.err
19164 } && test -s conftest.$ac_objext; then
19165 ac_cv_c_const=yes
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19169
19170 ac_cv_c_const=no
19171 fi
19172
19173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 fi
19175 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19176 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19177 if test $ac_cv_c_const = no; then
19178
19179 cat >>confdefs.h <<\_ACEOF
19180 #define const
19181 _ACEOF
19182
19183 fi
19184
19185 { echo "$as_me:$LINENO: checking for inline" >&5
19186 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19187 if test "${ac_cv_c_inline+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190 ac_cv_c_inline=no
19191 for ac_kw in inline __inline__ __inline; do
19192 cat >conftest.$ac_ext <<_ACEOF
19193 /* confdefs.h. */
19194 _ACEOF
19195 cat confdefs.h >>conftest.$ac_ext
19196 cat >>conftest.$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19198 #ifndef __cplusplus
19199 typedef int foo_t;
19200 static $ac_kw foo_t static_foo () {return 0; }
19201 $ac_kw foo_t foo () {return 0; }
19202 #endif
19203
19204 _ACEOF
19205 rm -f conftest.$ac_objext
19206 if { (ac_try="$ac_compile"
19207 case "(($ac_try" in
19208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19209 *) ac_try_echo=$ac_try;;
19210 esac
19211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19212 (eval "$ac_compile") 2>conftest.er1
19213 ac_status=$?
19214 grep -v '^ *+' conftest.er1 >conftest.err
19215 rm -f conftest.er1
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); } && {
19219 test -z "$ac_c_werror_flag" ||
19220 test ! -s conftest.err
19221 } && test -s conftest.$ac_objext; then
19222 ac_cv_c_inline=$ac_kw
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227
19228 fi
19229
19230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19231 test "$ac_cv_c_inline" != no && break
19232 done
19233
19234 fi
19235 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19236 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19237
19238
19239 case $ac_cv_c_inline in
19240 inline | yes) ;;
19241 *)
19242 case $ac_cv_c_inline in
19243 no) ac_val=;;
19244 *) ac_val=$ac_cv_c_inline;;
19245 esac
19246 cat >>confdefs.h <<_ACEOF
19247 #ifndef __cplusplus
19248 #define inline $ac_val
19249 #endif
19250 _ACEOF
19251 ;;
19252 esac
19253
19254
19255 { echo "$as_me:$LINENO: checking for short" >&5
19256 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19257 if test "${ac_cv_type_short+set}" = set; then
19258 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 else
19260 cat >conftest.$ac_ext <<_ACEOF
19261 /* confdefs.h. */
19262 _ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 $ac_includes_default
19267 typedef short ac__type_new_;
19268 int
19269 main ()
19270 {
19271 if ((ac__type_new_ *) 0)
19272 return 0;
19273 if (sizeof (ac__type_new_))
19274 return 0;
19275 ;
19276 return 0;
19277 }
19278 _ACEOF
19279 rm -f conftest.$ac_objext
19280 if { (ac_try="$ac_compile"
19281 case "(($ac_try" in
19282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19284 esac
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_compile") 2>conftest.er1
19287 ac_status=$?
19288 grep -v '^ *+' conftest.er1 >conftest.err
19289 rm -f conftest.er1
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && {
19293 test -z "$ac_c_werror_flag" ||
19294 test ! -s conftest.err
19295 } && test -s conftest.$ac_objext; then
19296 ac_cv_type_short=yes
19297 else
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19300
19301 ac_cv_type_short=no
19302 fi
19303
19304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19305 fi
19306 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19307 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19308
19309 # The cast to long int works around a bug in the HP C Compiler
19310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19312 # This bug is HP SR number 8606223364.
19313 { echo "$as_me:$LINENO: checking size of short" >&5
19314 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19315 if test "${ac_cv_sizeof_short+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 else
19318 if test "$cross_compiling" = yes; then
19319 # Depending upon the size, compute the lo and hi bounds.
19320 cat >conftest.$ac_ext <<_ACEOF
19321 /* confdefs.h. */
19322 _ACEOF
19323 cat confdefs.h >>conftest.$ac_ext
19324 cat >>conftest.$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19326 $ac_includes_default
19327 typedef short ac__type_sizeof_;
19328 int
19329 main ()
19330 {
19331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19332 test_array [0] = 0
19333
19334 ;
19335 return 0;
19336 }
19337 _ACEOF
19338 rm -f conftest.$ac_objext
19339 if { (ac_try="$ac_compile"
19340 case "(($ac_try" in
19341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19342 *) ac_try_echo=$ac_try;;
19343 esac
19344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19345 (eval "$ac_compile") 2>conftest.er1
19346 ac_status=$?
19347 grep -v '^ *+' conftest.er1 >conftest.err
19348 rm -f conftest.er1
19349 cat conftest.err >&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } && {
19352 test -z "$ac_c_werror_flag" ||
19353 test ! -s conftest.err
19354 } && test -s conftest.$ac_objext; then
19355 ac_lo=0 ac_mid=0
19356 while :; do
19357 cat >conftest.$ac_ext <<_ACEOF
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 $ac_includes_default
19364 typedef short ac__type_sizeof_;
19365 int
19366 main ()
19367 {
19368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19369 test_array [0] = 0
19370
19371 ;
19372 return 0;
19373 }
19374 _ACEOF
19375 rm -f conftest.$ac_objext
19376 if { (ac_try="$ac_compile"
19377 case "(($ac_try" in
19378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19379 *) ac_try_echo=$ac_try;;
19380 esac
19381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19382 (eval "$ac_compile") 2>conftest.er1
19383 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } && {
19389 test -z "$ac_c_werror_flag" ||
19390 test ! -s conftest.err
19391 } && test -s conftest.$ac_objext; then
19392 ac_hi=$ac_mid; break
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19396
19397 ac_lo=`expr $ac_mid + 1`
19398 if test $ac_lo -le $ac_mid; then
19399 ac_lo= ac_hi=
19400 break
19401 fi
19402 ac_mid=`expr 2 '*' $ac_mid + 1`
19403 fi
19404
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 done
19407 else
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 $ac_includes_default
19418 typedef short ac__type_sizeof_;
19419 int
19420 main ()
19421 {
19422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19423 test_array [0] = 0
19424
19425 ;
19426 return 0;
19427 }
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434 esac
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19446 ac_hi=-1 ac_mid=-1
19447 while :; do
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef short ac__type_sizeof_;
19456 int
19457 main ()
19458 {
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19460 test_array [0] = 0
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.$ac_objext; then
19483 ac_lo=$ac_mid; break
19484 else
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 ac_hi=`expr '(' $ac_mid ')' - 1`
19489 if test $ac_mid -le $ac_hi; then
19490 ac_lo= ac_hi=
19491 break
19492 fi
19493 ac_mid=`expr 2 '*' $ac_mid`
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 done
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19501
19502 ac_lo= ac_hi=
19503 fi
19504
19505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19506 fi
19507
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 # Binary search between lo and hi bounds.
19510 while test "x$ac_lo" != "x$ac_hi"; do
19511 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 typedef short ac__type_sizeof_;
19520 int
19521 main ()
19522 {
19523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19524 test_array [0] = 0
19525
19526 ;
19527 return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext
19531 if { (ac_try="$ac_compile"
19532 case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19535 esac
19536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19537 (eval "$ac_compile") 2>conftest.er1
19538 ac_status=$?
19539 grep -v '^ *+' conftest.er1 >conftest.err
19540 rm -f conftest.er1
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } && {
19544 test -z "$ac_c_werror_flag" ||
19545 test ! -s conftest.err
19546 } && test -s conftest.$ac_objext; then
19547 ac_hi=$ac_mid
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19551
19552 ac_lo=`expr '(' $ac_mid ')' + 1`
19553 fi
19554
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 done
19557 case $ac_lo in
19558 ?*) ac_cv_sizeof_short=$ac_lo;;
19559 '') if test "$ac_cv_type_short" = yes; then
19560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19561 See \`config.log' for more details." >&5
19562 echo "$as_me: error: cannot compute sizeof (short)
19563 See \`config.log' for more details." >&2;}
19564 { (exit 77); exit 77; }; }
19565 else
19566 ac_cv_sizeof_short=0
19567 fi ;;
19568 esac
19569 else
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 typedef short ac__type_sizeof_;
19578 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19579 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19580 #include <stdio.h>
19581 #include <stdlib.h>
19582 int
19583 main ()
19584 {
19585
19586 FILE *f = fopen ("conftest.val", "w");
19587 if (! f)
19588 return 1;
19589 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19590 {
19591 long int i = longval ();
19592 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19593 return 1;
19594 fprintf (f, "%ld\n", i);
19595 }
19596 else
19597 {
19598 unsigned long int i = ulongval ();
19599 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19600 return 1;
19601 fprintf (f, "%lu\n", i);
19602 }
19603 return ferror (f) || fclose (f) != 0;
19604
19605 ;
19606 return 0;
19607 }
19608 _ACEOF
19609 rm -f conftest$ac_exeext
19610 if { (ac_try="$ac_link"
19611 case "(($ac_try" in
19612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19613 *) ac_try_echo=$ac_try;;
19614 esac
19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19616 (eval "$ac_link") 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19620 { (case "(($ac_try" in
19621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19623 esac
19624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_try") 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_cv_sizeof_short=`cat conftest.val`
19630 else
19631 echo "$as_me: program exited with status $ac_status" >&5
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 ( exit $ac_status )
19636 if test "$ac_cv_type_short" = yes; then
19637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19638 See \`config.log' for more details." >&5
19639 echo "$as_me: error: cannot compute sizeof (short)
19640 See \`config.log' for more details." >&2;}
19641 { (exit 77); exit 77; }; }
19642 else
19643 ac_cv_sizeof_short=0
19644 fi
19645 fi
19646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19647 fi
19648 rm -f conftest.val
19649 fi
19650 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19651 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19652
19653
19654
19655 cat >>confdefs.h <<_ACEOF
19656 #define SIZEOF_SHORT $ac_cv_sizeof_short
19657 _ACEOF
19658
19659
19660 { echo "$as_me:$LINENO: checking for void *" >&5
19661 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19662 if test "${ac_cv_type_void_p+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665 cat >conftest.$ac_ext <<_ACEOF
19666 /* confdefs.h. */
19667 _ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 typedef void * ac__type_new_;
19673 int
19674 main ()
19675 {
19676 if ((ac__type_new_ *) 0)
19677 return 0;
19678 if (sizeof (ac__type_new_))
19679 return 0;
19680 ;
19681 return 0;
19682 }
19683 _ACEOF
19684 rm -f conftest.$ac_objext
19685 if { (ac_try="$ac_compile"
19686 case "(($ac_try" in
19687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19688 *) ac_try_echo=$ac_try;;
19689 esac
19690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19691 (eval "$ac_compile") 2>conftest.er1
19692 ac_status=$?
19693 grep -v '^ *+' conftest.er1 >conftest.err
19694 rm -f conftest.er1
19695 cat conftest.err >&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && {
19698 test -z "$ac_c_werror_flag" ||
19699 test ! -s conftest.err
19700 } && test -s conftest.$ac_objext; then
19701 ac_cv_type_void_p=yes
19702 else
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19705
19706 ac_cv_type_void_p=no
19707 fi
19708
19709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19710 fi
19711 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19712 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19713
19714 # The cast to long int works around a bug in the HP C Compiler
19715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19717 # This bug is HP SR number 8606223364.
19718 { echo "$as_me:$LINENO: checking size of void *" >&5
19719 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19720 if test "${ac_cv_sizeof_void_p+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 else
19723 if test "$cross_compiling" = yes; then
19724 # Depending upon the size, compute the lo and hi bounds.
19725 cat >conftest.$ac_ext <<_ACEOF
19726 /* confdefs.h. */
19727 _ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 $ac_includes_default
19732 typedef void * ac__type_sizeof_;
19733 int
19734 main ()
19735 {
19736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19737 test_array [0] = 0
19738
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19748 esac
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_lo=0 ac_mid=0
19761 while :; do
19762 cat >conftest.$ac_ext <<_ACEOF
19763 /* confdefs.h. */
19764 _ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 $ac_includes_default
19769 typedef void * ac__type_sizeof_;
19770 int
19771 main ()
19772 {
19773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19774 test_array [0] = 0
19775
19776 ;
19777 return 0;
19778 }
19779 _ACEOF
19780 rm -f conftest.$ac_objext
19781 if { (ac_try="$ac_compile"
19782 case "(($ac_try" in
19783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19784 *) ac_try_echo=$ac_try;;
19785 esac
19786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19787 (eval "$ac_compile") 2>conftest.er1
19788 ac_status=$?
19789 grep -v '^ *+' conftest.er1 >conftest.err
19790 rm -f conftest.er1
19791 cat conftest.err >&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } && {
19794 test -z "$ac_c_werror_flag" ||
19795 test ! -s conftest.err
19796 } && test -s conftest.$ac_objext; then
19797 ac_hi=$ac_mid; break
19798 else
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19801
19802 ac_lo=`expr $ac_mid + 1`
19803 if test $ac_lo -le $ac_mid; then
19804 ac_lo= ac_hi=
19805 break
19806 fi
19807 ac_mid=`expr 2 '*' $ac_mid + 1`
19808 fi
19809
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 done
19812 else
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 typedef void * ac__type_sizeof_;
19824 int
19825 main ()
19826 {
19827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19828 test_array [0] = 0
19829
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (ac_try="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_hi=-1 ac_mid=-1
19852 while :; do
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 typedef void * ac__type_sizeof_;
19861 int
19862 main ()
19863 {
19864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19865 test_array [0] = 0
19866
19867 ;
19868 return 0;
19869 }
19870 _ACEOF
19871 rm -f conftest.$ac_objext
19872 if { (ac_try="$ac_compile"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19876 esac
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_compile") 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && {
19885 test -z "$ac_c_werror_flag" ||
19886 test ! -s conftest.err
19887 } && test -s conftest.$ac_objext; then
19888 ac_lo=$ac_mid; break
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_hi=`expr '(' $ac_mid ')' - 1`
19894 if test $ac_mid -le $ac_hi; then
19895 ac_lo= ac_hi=
19896 break
19897 fi
19898 ac_mid=`expr 2 '*' $ac_mid`
19899 fi
19900
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 done
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19906
19907 ac_lo= ac_hi=
19908 fi
19909
19910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 fi
19912
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 # Binary search between lo and hi bounds.
19915 while test "x$ac_lo" != "x$ac_hi"; do
19916 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19917 cat >conftest.$ac_ext <<_ACEOF
19918 /* confdefs.h. */
19919 _ACEOF
19920 cat confdefs.h >>conftest.$ac_ext
19921 cat >>conftest.$ac_ext <<_ACEOF
19922 /* end confdefs.h. */
19923 $ac_includes_default
19924 typedef void * ac__type_sizeof_;
19925 int
19926 main ()
19927 {
19928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19929 test_array [0] = 0
19930
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 ac_hi=$ac_mid
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ac_lo=`expr '(' $ac_mid ')' + 1`
19958 fi
19959
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 done
19962 case $ac_lo in
19963 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19964 '') if test "$ac_cv_type_void_p" = yes; then
19965 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19966 See \`config.log' for more details." >&5
19967 echo "$as_me: error: cannot compute sizeof (void *)
19968 See \`config.log' for more details." >&2;}
19969 { (exit 77); exit 77; }; }
19970 else
19971 ac_cv_sizeof_void_p=0
19972 fi ;;
19973 esac
19974 else
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 typedef void * ac__type_sizeof_;
19983 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19984 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19985 #include <stdio.h>
19986 #include <stdlib.h>
19987 int
19988 main ()
19989 {
19990
19991 FILE *f = fopen ("conftest.val", "w");
19992 if (! f)
19993 return 1;
19994 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19995 {
19996 long int i = longval ();
19997 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19998 return 1;
19999 fprintf (f, "%ld\n", i);
20000 }
20001 else
20002 {
20003 unsigned long int i = ulongval ();
20004 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20005 return 1;
20006 fprintf (f, "%lu\n", i);
20007 }
20008 return ferror (f) || fclose (f) != 0;
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 rm -f conftest$ac_exeext
20015 if { (ac_try="$ac_link"
20016 case "(($ac_try" in
20017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20019 esac
20020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_link") 2>&5
20022 ac_status=$?
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20025 { (case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_try") 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_cv_sizeof_void_p=`cat conftest.val`
20035 else
20036 echo "$as_me: program exited with status $ac_status" >&5
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20039
20040 ( exit $ac_status )
20041 if test "$ac_cv_type_void_p" = yes; then
20042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20043 See \`config.log' for more details." >&5
20044 echo "$as_me: error: cannot compute sizeof (void *)
20045 See \`config.log' for more details." >&2;}
20046 { (exit 77); exit 77; }; }
20047 else
20048 ac_cv_sizeof_void_p=0
20049 fi
20050 fi
20051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20052 fi
20053 rm -f conftest.val
20054 fi
20055 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20056 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20057
20058
20059
20060 cat >>confdefs.h <<_ACEOF
20061 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20062 _ACEOF
20063
20064
20065 { echo "$as_me:$LINENO: checking for int" >&5
20066 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20067 if test "${ac_cv_type_int+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20069 else
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 typedef int ac__type_new_;
20078 int
20079 main ()
20080 {
20081 if ((ac__type_new_ *) 0)
20082 return 0;
20083 if (sizeof (ac__type_new_))
20084 return 0;
20085 ;
20086 return 0;
20087 }
20088 _ACEOF
20089 rm -f conftest.$ac_objext
20090 if { (ac_try="$ac_compile"
20091 case "(($ac_try" in
20092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20093 *) ac_try_echo=$ac_try;;
20094 esac
20095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20096 (eval "$ac_compile") 2>conftest.er1
20097 ac_status=$?
20098 grep -v '^ *+' conftest.er1 >conftest.err
20099 rm -f conftest.er1
20100 cat conftest.err >&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } && {
20103 test -z "$ac_c_werror_flag" ||
20104 test ! -s conftest.err
20105 } && test -s conftest.$ac_objext; then
20106 ac_cv_type_int=yes
20107 else
20108 echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.$ac_ext >&5
20110
20111 ac_cv_type_int=no
20112 fi
20113
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 fi
20116 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20117 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20118
20119 # The cast to long int works around a bug in the HP C Compiler
20120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20122 # This bug is HP SR number 8606223364.
20123 { echo "$as_me:$LINENO: checking size of int" >&5
20124 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20125 if test "${ac_cv_sizeof_int+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 if test "$cross_compiling" = yes; then
20129 # Depending upon the size, compute the lo and hi bounds.
20130 cat >conftest.$ac_ext <<_ACEOF
20131 /* confdefs.h. */
20132 _ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 $ac_includes_default
20137 typedef int ac__type_sizeof_;
20138 int
20139 main ()
20140 {
20141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20142 test_array [0] = 0
20143
20144 ;
20145 return 0;
20146 }
20147 _ACEOF
20148 rm -f conftest.$ac_objext
20149 if { (ac_try="$ac_compile"
20150 case "(($ac_try" in
20151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20152 *) ac_try_echo=$ac_try;;
20153 esac
20154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20155 (eval "$ac_compile") 2>conftest.er1
20156 ac_status=$?
20157 grep -v '^ *+' conftest.er1 >conftest.err
20158 rm -f conftest.er1
20159 cat conftest.err >&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } && {
20162 test -z "$ac_c_werror_flag" ||
20163 test ! -s conftest.err
20164 } && test -s conftest.$ac_objext; then
20165 ac_lo=0 ac_mid=0
20166 while :; do
20167 cat >conftest.$ac_ext <<_ACEOF
20168 /* confdefs.h. */
20169 _ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 $ac_includes_default
20174 typedef int ac__type_sizeof_;
20175 int
20176 main ()
20177 {
20178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20179 test_array [0] = 0
20180
20181 ;
20182 return 0;
20183 }
20184 _ACEOF
20185 rm -f conftest.$ac_objext
20186 if { (ac_try="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20190 esac
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20193 ac_status=$?
20194 grep -v '^ *+' conftest.er1 >conftest.err
20195 rm -f conftest.er1
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_c_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 ac_hi=$ac_mid; break
20203 else
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20206
20207 ac_lo=`expr $ac_mid + 1`
20208 if test $ac_lo -le $ac_mid; then
20209 ac_lo= ac_hi=
20210 break
20211 fi
20212 ac_mid=`expr 2 '*' $ac_mid + 1`
20213 fi
20214
20215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20216 done
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20220
20221 cat >conftest.$ac_ext <<_ACEOF
20222 /* confdefs.h. */
20223 _ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20228 typedef int ac__type_sizeof_;
20229 int
20230 main ()
20231 {
20232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20233 test_array [0] = 0
20234
20235 ;
20236 return 0;
20237 }
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (ac_try="$ac_compile"
20241 case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20244 esac
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_compile") 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } && {
20253 test -z "$ac_c_werror_flag" ||
20254 test ! -s conftest.err
20255 } && test -s conftest.$ac_objext; then
20256 ac_hi=-1 ac_mid=-1
20257 while :; do
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 typedef int ac__type_sizeof_;
20266 int
20267 main ()
20268 {
20269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20270 test_array [0] = 0
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (ac_try="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_lo=$ac_mid; break
20294 else
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20297
20298 ac_hi=`expr '(' $ac_mid ')' - 1`
20299 if test $ac_mid -le $ac_hi; then
20300 ac_lo= ac_hi=
20301 break
20302 fi
20303 ac_mid=`expr 2 '*' $ac_mid`
20304 fi
20305
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 done
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20311
20312 ac_lo= ac_hi=
20313 fi
20314
20315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20316 fi
20317
20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 # Binary search between lo and hi bounds.
20320 while test "x$ac_lo" != "x$ac_hi"; do
20321 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20322 cat >conftest.$ac_ext <<_ACEOF
20323 /* confdefs.h. */
20324 _ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 typedef int ac__type_sizeof_;
20330 int
20331 main ()
20332 {
20333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20334 test_array [0] = 0
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (ac_try="$ac_compile"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_compile") 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && {
20354 test -z "$ac_c_werror_flag" ||
20355 test ! -s conftest.err
20356 } && test -s conftest.$ac_objext; then
20357 ac_hi=$ac_mid
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_lo=`expr '(' $ac_mid ')' + 1`
20363 fi
20364
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 done
20367 case $ac_lo in
20368 ?*) ac_cv_sizeof_int=$ac_lo;;
20369 '') if test "$ac_cv_type_int" = yes; then
20370 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20371 See \`config.log' for more details." >&5
20372 echo "$as_me: error: cannot compute sizeof (int)
20373 See \`config.log' for more details." >&2;}
20374 { (exit 77); exit 77; }; }
20375 else
20376 ac_cv_sizeof_int=0
20377 fi ;;
20378 esac
20379 else
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 $ac_includes_default
20387 typedef int ac__type_sizeof_;
20388 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20389 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20390 #include <stdio.h>
20391 #include <stdlib.h>
20392 int
20393 main ()
20394 {
20395
20396 FILE *f = fopen ("conftest.val", "w");
20397 if (! f)
20398 return 1;
20399 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20400 {
20401 long int i = longval ();
20402 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20403 return 1;
20404 fprintf (f, "%ld\n", i);
20405 }
20406 else
20407 {
20408 unsigned long int i = ulongval ();
20409 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20410 return 1;
20411 fprintf (f, "%lu\n", i);
20412 }
20413 return ferror (f) || fclose (f) != 0;
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 rm -f conftest$ac_exeext
20420 if { (ac_try="$ac_link"
20421 case "(($ac_try" in
20422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20423 *) ac_try_echo=$ac_try;;
20424 esac
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_link") 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20430 { (case "(($ac_try" in
20431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432 *) ac_try_echo=$ac_try;;
20433 esac
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_try") 2>&5
20436 ac_status=$?
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 ac_cv_sizeof_int=`cat conftest.val`
20440 else
20441 echo "$as_me: program exited with status $ac_status" >&5
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20444
20445 ( exit $ac_status )
20446 if test "$ac_cv_type_int" = yes; then
20447 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20448 See \`config.log' for more details." >&5
20449 echo "$as_me: error: cannot compute sizeof (int)
20450 See \`config.log' for more details." >&2;}
20451 { (exit 77); exit 77; }; }
20452 else
20453 ac_cv_sizeof_int=0
20454 fi
20455 fi
20456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20457 fi
20458 rm -f conftest.val
20459 fi
20460 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20461 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20462
20463
20464
20465 cat >>confdefs.h <<_ACEOF
20466 #define SIZEOF_INT $ac_cv_sizeof_int
20467 _ACEOF
20468
20469
20470 { echo "$as_me:$LINENO: checking for long" >&5
20471 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20472 if test "${ac_cv_type_long+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 else
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $ac_includes_default
20482 typedef long ac__type_new_;
20483 int
20484 main ()
20485 {
20486 if ((ac__type_new_ *) 0)
20487 return 0;
20488 if (sizeof (ac__type_new_))
20489 return 0;
20490 ;
20491 return 0;
20492 }
20493 _ACEOF
20494 rm -f conftest.$ac_objext
20495 if { (ac_try="$ac_compile"
20496 case "(($ac_try" in
20497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20498 *) ac_try_echo=$ac_try;;
20499 esac
20500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20501 (eval "$ac_compile") 2>conftest.er1
20502 ac_status=$?
20503 grep -v '^ *+' conftest.er1 >conftest.err
20504 rm -f conftest.er1
20505 cat conftest.err >&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } && {
20508 test -z "$ac_c_werror_flag" ||
20509 test ! -s conftest.err
20510 } && test -s conftest.$ac_objext; then
20511 ac_cv_type_long=yes
20512 else
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20515
20516 ac_cv_type_long=no
20517 fi
20518
20519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20520 fi
20521 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20522 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20523
20524 # The cast to long int works around a bug in the HP C Compiler
20525 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20526 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20527 # This bug is HP SR number 8606223364.
20528 { echo "$as_me:$LINENO: checking size of long" >&5
20529 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20530 if test "${ac_cv_sizeof_long+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20532 else
20533 if test "$cross_compiling" = yes; then
20534 # Depending upon the size, compute the lo and hi bounds.
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h. */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20542 typedef long ac__type_sizeof_;
20543 int
20544 main ()
20545 {
20546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20547 test_array [0] = 0
20548
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (ac_try="$ac_compile"
20555 case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20558 esac
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20561 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1
20564 cat conftest.err >&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.$ac_objext; then
20570 ac_lo=0 ac_mid=0
20571 while :; do
20572 cat >conftest.$ac_ext <<_ACEOF
20573 /* confdefs.h. */
20574 _ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 typedef long ac__type_sizeof_;
20580 int
20581 main ()
20582 {
20583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20584 test_array [0] = 0
20585
20586 ;
20587 return 0;
20588 }
20589 _ACEOF
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20598 ac_status=$?
20599 grep -v '^ *+' conftest.er1 >conftest.err
20600 rm -f conftest.er1
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && {
20604 test -z "$ac_c_werror_flag" ||
20605 test ! -s conftest.err
20606 } && test -s conftest.$ac_objext; then
20607 ac_hi=$ac_mid; break
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 ac_lo=`expr $ac_mid + 1`
20613 if test $ac_lo -le $ac_mid; then
20614 ac_lo= ac_hi=
20615 break
20616 fi
20617 ac_mid=`expr 2 '*' $ac_mid + 1`
20618 fi
20619
20620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20621 done
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 cat >conftest.$ac_ext <<_ACEOF
20627 /* confdefs.h. */
20628 _ACEOF
20629 cat confdefs.h >>conftest.$ac_ext
20630 cat >>conftest.$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 $ac_includes_default
20633 typedef long ac__type_sizeof_;
20634 int
20635 main ()
20636 {
20637 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20638 test_array [0] = 0
20639
20640 ;
20641 return 0;
20642 }
20643 _ACEOF
20644 rm -f conftest.$ac_objext
20645 if { (ac_try="$ac_compile"
20646 case "(($ac_try" in
20647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20648 *) ac_try_echo=$ac_try;;
20649 esac
20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20651 (eval "$ac_compile") 2>conftest.er1
20652 ac_status=$?
20653 grep -v '^ *+' conftest.er1 >conftest.err
20654 rm -f conftest.er1
20655 cat conftest.err >&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } && {
20658 test -z "$ac_c_werror_flag" ||
20659 test ! -s conftest.err
20660 } && test -s conftest.$ac_objext; then
20661 ac_hi=-1 ac_mid=-1
20662 while :; do
20663 cat >conftest.$ac_ext <<_ACEOF
20664 /* confdefs.h. */
20665 _ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 $ac_includes_default
20670 typedef long ac__type_sizeof_;
20671 int
20672 main ()
20673 {
20674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20675 test_array [0] = 0
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 rm -f conftest.$ac_objext
20682 if { (ac_try="$ac_compile"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20686 esac
20687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_compile") 2>conftest.er1
20689 ac_status=$?
20690 grep -v '^ *+' conftest.er1 >conftest.err
20691 rm -f conftest.er1
20692 cat conftest.err >&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } && {
20695 test -z "$ac_c_werror_flag" ||
20696 test ! -s conftest.err
20697 } && test -s conftest.$ac_objext; then
20698 ac_lo=$ac_mid; break
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703 ac_hi=`expr '(' $ac_mid ')' - 1`
20704 if test $ac_mid -le $ac_hi; then
20705 ac_lo= ac_hi=
20706 break
20707 fi
20708 ac_mid=`expr 2 '*' $ac_mid`
20709 fi
20710
20711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20712 done
20713 else
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20716
20717 ac_lo= ac_hi=
20718 fi
20719
20720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20721 fi
20722
20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20724 # Binary search between lo and hi bounds.
20725 while test "x$ac_lo" != "x$ac_hi"; do
20726 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h. */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 $ac_includes_default
20734 typedef long ac__type_sizeof_;
20735 int
20736 main ()
20737 {
20738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20739 test_array [0] = 0
20740
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 rm -f conftest.$ac_objext
20746 if { (ac_try="$ac_compile"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20750 esac
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20753 ac_status=$?
20754 grep -v '^ *+' conftest.er1 >conftest.err
20755 rm -f conftest.er1
20756 cat conftest.err >&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } && {
20759 test -z "$ac_c_werror_flag" ||
20760 test ! -s conftest.err
20761 } && test -s conftest.$ac_objext; then
20762 ac_hi=$ac_mid
20763 else
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ac_lo=`expr '(' $ac_mid ')' + 1`
20768 fi
20769
20770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771 done
20772 case $ac_lo in
20773 ?*) ac_cv_sizeof_long=$ac_lo;;
20774 '') if test "$ac_cv_type_long" = yes; then
20775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20776 See \`config.log' for more details." >&5
20777 echo "$as_me: error: cannot compute sizeof (long)
20778 See \`config.log' for more details." >&2;}
20779 { (exit 77); exit 77; }; }
20780 else
20781 ac_cv_sizeof_long=0
20782 fi ;;
20783 esac
20784 else
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h. */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 $ac_includes_default
20792 typedef long ac__type_sizeof_;
20793 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20794 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20795 #include <stdio.h>
20796 #include <stdlib.h>
20797 int
20798 main ()
20799 {
20800
20801 FILE *f = fopen ("conftest.val", "w");
20802 if (! f)
20803 return 1;
20804 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20805 {
20806 long int i = longval ();
20807 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20808 return 1;
20809 fprintf (f, "%ld\n", i);
20810 }
20811 else
20812 {
20813 unsigned long int i = ulongval ();
20814 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20815 return 1;
20816 fprintf (f, "%lu\n", i);
20817 }
20818 return ferror (f) || fclose (f) != 0;
20819
20820 ;
20821 return 0;
20822 }
20823 _ACEOF
20824 rm -f conftest$ac_exeext
20825 if { (ac_try="$ac_link"
20826 case "(($ac_try" in
20827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828 *) ac_try_echo=$ac_try;;
20829 esac
20830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 (eval "$ac_link") 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20835 { (case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_try") 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20844 ac_cv_sizeof_long=`cat conftest.val`
20845 else
20846 echo "$as_me: program exited with status $ac_status" >&5
20847 echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20849
20850 ( exit $ac_status )
20851 if test "$ac_cv_type_long" = yes; then
20852 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20853 See \`config.log' for more details." >&5
20854 echo "$as_me: error: cannot compute sizeof (long)
20855 See \`config.log' for more details." >&2;}
20856 { (exit 77); exit 77; }; }
20857 else
20858 ac_cv_sizeof_long=0
20859 fi
20860 fi
20861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20862 fi
20863 rm -f conftest.val
20864 fi
20865 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20866 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20867
20868
20869
20870 cat >>confdefs.h <<_ACEOF
20871 #define SIZEOF_LONG $ac_cv_sizeof_long
20872 _ACEOF
20873
20874
20875 { echo "$as_me:$LINENO: checking for size_t" >&5
20876 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20877 if test "${ac_cv_type_size_t+set}" = set; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 else
20880 cat >conftest.$ac_ext <<_ACEOF
20881 /* confdefs.h. */
20882 _ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef size_t ac__type_new_;
20888 int
20889 main ()
20890 {
20891 if ((ac__type_new_ *) 0)
20892 return 0;
20893 if (sizeof (ac__type_new_))
20894 return 0;
20895 ;
20896 return 0;
20897 }
20898 _ACEOF
20899 rm -f conftest.$ac_objext
20900 if { (ac_try="$ac_compile"
20901 case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20904 esac
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_compile") 2>conftest.er1
20907 ac_status=$?
20908 grep -v '^ *+' conftest.er1 >conftest.err
20909 rm -f conftest.er1
20910 cat conftest.err >&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } && {
20913 test -z "$ac_c_werror_flag" ||
20914 test ! -s conftest.err
20915 } && test -s conftest.$ac_objext; then
20916 ac_cv_type_size_t=yes
20917 else
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.$ac_ext >&5
20920
20921 ac_cv_type_size_t=no
20922 fi
20923
20924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20925 fi
20926 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20927 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20928
20929 # The cast to long int works around a bug in the HP C Compiler
20930 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20931 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20932 # This bug is HP SR number 8606223364.
20933 { echo "$as_me:$LINENO: checking size of size_t" >&5
20934 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20935 if test "${ac_cv_sizeof_size_t+set}" = set; then
20936 echo $ECHO_N "(cached) $ECHO_C" >&6
20937 else
20938 if test "$cross_compiling" = yes; then
20939 # Depending upon the size, compute the lo and hi bounds.
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 $ac_includes_default
20947 typedef size_t ac__type_sizeof_;
20948 int
20949 main ()
20950 {
20951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20952 test_array [0] = 0
20953
20954 ;
20955 return 0;
20956 }
20957 _ACEOF
20958 rm -f conftest.$ac_objext
20959 if { (ac_try="$ac_compile"
20960 case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20963 esac
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_compile") 2>conftest.er1
20966 ac_status=$?
20967 grep -v '^ *+' conftest.er1 >conftest.err
20968 rm -f conftest.er1
20969 cat conftest.err >&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } && {
20972 test -z "$ac_c_werror_flag" ||
20973 test ! -s conftest.err
20974 } && test -s conftest.$ac_objext; then
20975 ac_lo=0 ac_mid=0
20976 while :; do
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 typedef size_t ac__type_sizeof_;
20985 int
20986 main ()
20987 {
20988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20989 test_array [0] = 0
20990
20991 ;
20992 return 0;
20993 }
20994 _ACEOF
20995 rm -f conftest.$ac_objext
20996 if { (ac_try="$ac_compile"
20997 case "(($ac_try" in
20998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20999 *) ac_try_echo=$ac_try;;
21000 esac
21001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21002 (eval "$ac_compile") 2>conftest.er1
21003 ac_status=$?
21004 grep -v '^ *+' conftest.er1 >conftest.err
21005 rm -f conftest.er1
21006 cat conftest.err >&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } && {
21009 test -z "$ac_c_werror_flag" ||
21010 test ! -s conftest.err
21011 } && test -s conftest.$ac_objext; then
21012 ac_hi=$ac_mid; break
21013 else
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21016
21017 ac_lo=`expr $ac_mid + 1`
21018 if test $ac_lo -le $ac_mid; then
21019 ac_lo= ac_hi=
21020 break
21021 fi
21022 ac_mid=`expr 2 '*' $ac_mid + 1`
21023 fi
21024
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 done
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21030
21031 cat >conftest.$ac_ext <<_ACEOF
21032 /* confdefs.h. */
21033 _ACEOF
21034 cat confdefs.h >>conftest.$ac_ext
21035 cat >>conftest.$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037 $ac_includes_default
21038 typedef size_t ac__type_sizeof_;
21039 int
21040 main ()
21041 {
21042 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21043 test_array [0] = 0
21044
21045 ;
21046 return 0;
21047 }
21048 _ACEOF
21049 rm -f conftest.$ac_objext
21050 if { (ac_try="$ac_compile"
21051 case "(($ac_try" in
21052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21053 *) ac_try_echo=$ac_try;;
21054 esac
21055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21056 (eval "$ac_compile") 2>conftest.er1
21057 ac_status=$?
21058 grep -v '^ *+' conftest.er1 >conftest.err
21059 rm -f conftest.er1
21060 cat conftest.err >&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } && {
21063 test -z "$ac_c_werror_flag" ||
21064 test ! -s conftest.err
21065 } && test -s conftest.$ac_objext; then
21066 ac_hi=-1 ac_mid=-1
21067 while :; do
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 typedef size_t ac__type_sizeof_;
21076 int
21077 main ()
21078 {
21079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21080 test_array [0] = 0
21081
21082 ;
21083 return 0;
21084 }
21085 _ACEOF
21086 rm -f conftest.$ac_objext
21087 if { (ac_try="$ac_compile"
21088 case "(($ac_try" in
21089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21090 *) ac_try_echo=$ac_try;;
21091 esac
21092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21093 (eval "$ac_compile") 2>conftest.er1
21094 ac_status=$?
21095 grep -v '^ *+' conftest.er1 >conftest.err
21096 rm -f conftest.er1
21097 cat conftest.err >&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } && {
21100 test -z "$ac_c_werror_flag" ||
21101 test ! -s conftest.err
21102 } && test -s conftest.$ac_objext; then
21103 ac_lo=$ac_mid; break
21104 else
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 ac_hi=`expr '(' $ac_mid ')' - 1`
21109 if test $ac_mid -le $ac_hi; then
21110 ac_lo= ac_hi=
21111 break
21112 fi
21113 ac_mid=`expr 2 '*' $ac_mid`
21114 fi
21115
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117 done
21118 else
21119 echo "$as_me: failed program was:" >&5
21120 sed 's/^/| /' conftest.$ac_ext >&5
21121
21122 ac_lo= ac_hi=
21123 fi
21124
21125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 fi
21127
21128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21129 # Binary search between lo and hi bounds.
21130 while test "x$ac_lo" != "x$ac_hi"; do
21131 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21139 typedef size_t ac__type_sizeof_;
21140 int
21141 main ()
21142 {
21143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21144 test_array [0] = 0
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest.$ac_objext
21151 if { (ac_try="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21167 ac_hi=$ac_mid
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_lo=`expr '(' $ac_mid ')' + 1`
21173 fi
21174
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 done
21177 case $ac_lo in
21178 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21179 '') if test "$ac_cv_type_size_t" = yes; then
21180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21181 See \`config.log' for more details." >&5
21182 echo "$as_me: error: cannot compute sizeof (size_t)
21183 See \`config.log' for more details." >&2;}
21184 { (exit 77); exit 77; }; }
21185 else
21186 ac_cv_sizeof_size_t=0
21187 fi ;;
21188 esac
21189 else
21190 cat >conftest.$ac_ext <<_ACEOF
21191 /* confdefs.h. */
21192 _ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 $ac_includes_default
21197 typedef size_t ac__type_sizeof_;
21198 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21199 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21200 #include <stdio.h>
21201 #include <stdlib.h>
21202 int
21203 main ()
21204 {
21205
21206 FILE *f = fopen ("conftest.val", "w");
21207 if (! f)
21208 return 1;
21209 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21210 {
21211 long int i = longval ();
21212 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21213 return 1;
21214 fprintf (f, "%ld\n", i);
21215 }
21216 else
21217 {
21218 unsigned long int i = ulongval ();
21219 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21220 return 1;
21221 fprintf (f, "%lu\n", i);
21222 }
21223 return ferror (f) || fclose (f) != 0;
21224
21225 ;
21226 return 0;
21227 }
21228 _ACEOF
21229 rm -f conftest$ac_exeext
21230 if { (ac_try="$ac_link"
21231 case "(($ac_try" in
21232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21233 *) ac_try_echo=$ac_try;;
21234 esac
21235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21236 (eval "$ac_link") 2>&5
21237 ac_status=$?
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21240 { (case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21243 esac
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_try") 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_sizeof_size_t=`cat conftest.val`
21250 else
21251 echo "$as_me: program exited with status $ac_status" >&5
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 ( exit $ac_status )
21256 if test "$ac_cv_type_size_t" = yes; then
21257 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21258 See \`config.log' for more details." >&5
21259 echo "$as_me: error: cannot compute sizeof (size_t)
21260 See \`config.log' for more details." >&2;}
21261 { (exit 77); exit 77; }; }
21262 else
21263 ac_cv_sizeof_size_t=0
21264 fi
21265 fi
21266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21267 fi
21268 rm -f conftest.val
21269 fi
21270 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21271 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21272
21273
21274
21275 cat >>confdefs.h <<_ACEOF
21276 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21277 _ACEOF
21278
21279
21280
21281 case "${host}" in
21282 arm-*-linux* )
21283 { echo "$as_me:$LINENO: checking for long long" >&5
21284 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21285 if test "${ac_cv_type_long_long+set}" = set; then
21286 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 else
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long long ac__type_new_;
21296 int
21297 main ()
21298 {
21299 if ((ac__type_new_ *) 0)
21300 return 0;
21301 if (sizeof (ac__type_new_))
21302 return 0;
21303 ;
21304 return 0;
21305 }
21306 _ACEOF
21307 rm -f conftest.$ac_objext
21308 if { (ac_try="$ac_compile"
21309 case "(($ac_try" in
21310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21311 *) ac_try_echo=$ac_try;;
21312 esac
21313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21314 (eval "$ac_compile") 2>conftest.er1
21315 ac_status=$?
21316 grep -v '^ *+' conftest.er1 >conftest.err
21317 rm -f conftest.er1
21318 cat conftest.err >&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } && {
21321 test -z "$ac_c_werror_flag" ||
21322 test ! -s conftest.err
21323 } && test -s conftest.$ac_objext; then
21324 ac_cv_type_long_long=yes
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21328
21329 ac_cv_type_long_long=no
21330 fi
21331
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333 fi
21334 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21335 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21336
21337 # The cast to long int works around a bug in the HP C Compiler
21338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21339 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21340 # This bug is HP SR number 8606223364.
21341 { echo "$as_me:$LINENO: checking size of long long" >&5
21342 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21343 if test "${ac_cv_sizeof_long_long+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 else
21346 if test "$cross_compiling" = yes; then
21347 # Depending upon the size, compute the lo and hi bounds.
21348 cat >conftest.$ac_ext <<_ACEOF
21349 /* confdefs.h. */
21350 _ACEOF
21351 cat confdefs.h >>conftest.$ac_ext
21352 cat >>conftest.$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354 $ac_includes_default
21355 typedef long long ac__type_sizeof_;
21356 int
21357 main ()
21358 {
21359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21360 test_array [0] = 0
21361
21362 ;
21363 return 0;
21364 }
21365 _ACEOF
21366 rm -f conftest.$ac_objext
21367 if { (ac_try="$ac_compile"
21368 case "(($ac_try" in
21369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21370 *) ac_try_echo=$ac_try;;
21371 esac
21372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21373 (eval "$ac_compile") 2>conftest.er1
21374 ac_status=$?
21375 grep -v '^ *+' conftest.er1 >conftest.err
21376 rm -f conftest.er1
21377 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } && {
21380 test -z "$ac_c_werror_flag" ||
21381 test ! -s conftest.err
21382 } && test -s conftest.$ac_objext; then
21383 ac_lo=0 ac_mid=0
21384 while :; do
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 $ac_includes_default
21392 typedef long long ac__type_sizeof_;
21393 int
21394 main ()
21395 {
21396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21397 test_array [0] = 0
21398
21399 ;
21400 return 0;
21401 }
21402 _ACEOF
21403 rm -f conftest.$ac_objext
21404 if { (ac_try="$ac_compile"
21405 case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21408 esac
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_compile") 2>conftest.er1
21411 ac_status=$?
21412 grep -v '^ *+' conftest.er1 >conftest.err
21413 rm -f conftest.er1
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } && {
21417 test -z "$ac_c_werror_flag" ||
21418 test ! -s conftest.err
21419 } && test -s conftest.$ac_objext; then
21420 ac_hi=$ac_mid; break
21421 else
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ac_lo=`expr $ac_mid + 1`
21426 if test $ac_lo -le $ac_mid; then
21427 ac_lo= ac_hi=
21428 break
21429 fi
21430 ac_mid=`expr 2 '*' $ac_mid + 1`
21431 fi
21432
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 done
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21438
21439 cat >conftest.$ac_ext <<_ACEOF
21440 /* confdefs.h. */
21441 _ACEOF
21442 cat confdefs.h >>conftest.$ac_ext
21443 cat >>conftest.$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 $ac_includes_default
21446 typedef long long ac__type_sizeof_;
21447 int
21448 main ()
21449 {
21450 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21451 test_array [0] = 0
21452
21453 ;
21454 return 0;
21455 }
21456 _ACEOF
21457 rm -f conftest.$ac_objext
21458 if { (ac_try="$ac_compile"
21459 case "(($ac_try" in
21460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21461 *) ac_try_echo=$ac_try;;
21462 esac
21463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21464 (eval "$ac_compile") 2>conftest.er1
21465 ac_status=$?
21466 grep -v '^ *+' conftest.er1 >conftest.err
21467 rm -f conftest.er1
21468 cat conftest.err >&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } && {
21471 test -z "$ac_c_werror_flag" ||
21472 test ! -s conftest.err
21473 } && test -s conftest.$ac_objext; then
21474 ac_hi=-1 ac_mid=-1
21475 while :; do
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 typedef long long ac__type_sizeof_;
21484 int
21485 main ()
21486 {
21487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21488 test_array [0] = 0
21489
21490 ;
21491 return 0;
21492 }
21493 _ACEOF
21494 rm -f conftest.$ac_objext
21495 if { (ac_try="$ac_compile"
21496 case "(($ac_try" in
21497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21498 *) ac_try_echo=$ac_try;;
21499 esac
21500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21501 (eval "$ac_compile") 2>conftest.er1
21502 ac_status=$?
21503 grep -v '^ *+' conftest.er1 >conftest.err
21504 rm -f conftest.er1
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } && {
21508 test -z "$ac_c_werror_flag" ||
21509 test ! -s conftest.err
21510 } && test -s conftest.$ac_objext; then
21511 ac_lo=$ac_mid; break
21512 else
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21515
21516 ac_hi=`expr '(' $ac_mid ')' - 1`
21517 if test $ac_mid -le $ac_hi; then
21518 ac_lo= ac_hi=
21519 break
21520 fi
21521 ac_mid=`expr 2 '*' $ac_mid`
21522 fi
21523
21524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21525 done
21526 else
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21529
21530 ac_lo= ac_hi=
21531 fi
21532
21533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21534 fi
21535
21536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537 # Binary search between lo and hi bounds.
21538 while test "x$ac_lo" != "x$ac_hi"; do
21539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 typedef long long ac__type_sizeof_;
21548 int
21549 main ()
21550 {
21551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21552 test_array [0] = 0
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (ac_try="$ac_compile"
21560 case "(($ac_try" in
21561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562 *) ac_try_echo=$ac_try;;
21563 esac
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_compile") 2>conftest.er1
21566 ac_status=$?
21567 grep -v '^ *+' conftest.er1 >conftest.err
21568 rm -f conftest.er1
21569 cat conftest.err >&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && {
21572 test -z "$ac_c_werror_flag" ||
21573 test ! -s conftest.err
21574 } && test -s conftest.$ac_objext; then
21575 ac_hi=$ac_mid
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 ac_lo=`expr '(' $ac_mid ')' + 1`
21581 fi
21582
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 done
21585 case $ac_lo in
21586 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21587 '') if test "$ac_cv_type_long_long" = yes; then
21588 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21589 See \`config.log' for more details." >&5
21590 echo "$as_me: error: cannot compute sizeof (long long)
21591 See \`config.log' for more details." >&2;}
21592 { (exit 77); exit 77; }; }
21593 else
21594 ac_cv_sizeof_long_long=0
21595 fi ;;
21596 esac
21597 else
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21606 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21607 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21608 #include <stdio.h>
21609 #include <stdlib.h>
21610 int
21611 main ()
21612 {
21613
21614 FILE *f = fopen ("conftest.val", "w");
21615 if (! f)
21616 return 1;
21617 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21618 {
21619 long int i = longval ();
21620 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21621 return 1;
21622 fprintf (f, "%ld\n", i);
21623 }
21624 else
21625 {
21626 unsigned long int i = ulongval ();
21627 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 return 1;
21629 fprintf (f, "%lu\n", i);
21630 }
21631 return ferror (f) || fclose (f) != 0;
21632
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest$ac_exeext
21638 if { (ac_try="$ac_link"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641 *) ac_try_echo=$ac_try;;
21642 esac
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_link") 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21648 { (case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21651 esac
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_try") 2>&5
21654 ac_status=$?
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21657 ac_cv_sizeof_long_long=`cat conftest.val`
21658 else
21659 echo "$as_me: program exited with status $ac_status" >&5
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21662
21663 ( exit $ac_status )
21664 if test "$ac_cv_type_long_long" = yes; then
21665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21666 See \`config.log' for more details." >&5
21667 echo "$as_me: error: cannot compute sizeof (long long)
21668 See \`config.log' for more details." >&2;}
21669 { (exit 77); exit 77; }; }
21670 else
21671 ac_cv_sizeof_long_long=0
21672 fi
21673 fi
21674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21675 fi
21676 rm -f conftest.val
21677 fi
21678 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21679 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21680
21681
21682
21683 cat >>confdefs.h <<_ACEOF
21684 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21685 _ACEOF
21686
21687
21688 ;;
21689 *-hp-hpux* )
21690 { echo "$as_me:$LINENO: checking for long long" >&5
21691 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21692 if test "${ac_cv_type_long_long+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 else
21695 cat >conftest.$ac_ext <<_ACEOF
21696 /* confdefs.h. */
21697 _ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long long ac__type_new_;
21703 int
21704 main ()
21705 {
21706 if ((ac__type_new_ *) 0)
21707 return 0;
21708 if (sizeof (ac__type_new_))
21709 return 0;
21710 ;
21711 return 0;
21712 }
21713 _ACEOF
21714 rm -f conftest.$ac_objext
21715 if { (ac_try="$ac_compile"
21716 case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21719 esac
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_compile") 2>conftest.er1
21722 ac_status=$?
21723 grep -v '^ *+' conftest.er1 >conftest.err
21724 rm -f conftest.er1
21725 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err
21730 } && test -s conftest.$ac_objext; then
21731 ac_cv_type_long_long=yes
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21735
21736 ac_cv_type_long_long=no
21737 fi
21738
21739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21740 fi
21741 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21742 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21743
21744 # The cast to long int works around a bug in the HP C Compiler
21745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21747 # This bug is HP SR number 8606223364.
21748 { echo "$as_me:$LINENO: checking size of long long" >&5
21749 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21750 if test "${ac_cv_sizeof_long_long+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 else
21753 if test "$cross_compiling" = yes; then
21754 # Depending upon the size, compute the lo and hi bounds.
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long long ac__type_sizeof_;
21763 int
21764 main ()
21765 {
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21767 test_array [0] = 0
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778 esac
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21781 ac_status=$?
21782 grep -v '^ *+' conftest.er1 >conftest.err
21783 rm -f conftest.er1
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.$ac_objext; then
21790 ac_lo=0 ac_mid=0
21791 while :; do
21792 cat >conftest.$ac_ext <<_ACEOF
21793 /* confdefs.h. */
21794 _ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 $ac_includes_default
21799 typedef long long ac__type_sizeof_;
21800 int
21801 main ()
21802 {
21803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21804 test_array [0] = 0
21805
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 rm -f conftest.$ac_objext
21811 if { (ac_try="$ac_compile"
21812 case "(($ac_try" in
21813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21814 *) ac_try_echo=$ac_try;;
21815 esac
21816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817 (eval "$ac_compile") 2>conftest.er1
21818 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } && {
21824 test -z "$ac_c_werror_flag" ||
21825 test ! -s conftest.err
21826 } && test -s conftest.$ac_objext; then
21827 ac_hi=$ac_mid; break
21828 else
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21831
21832 ac_lo=`expr $ac_mid + 1`
21833 if test $ac_lo -le $ac_mid; then
21834 ac_lo= ac_hi=
21835 break
21836 fi
21837 ac_mid=`expr 2 '*' $ac_mid + 1`
21838 fi
21839
21840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21841 done
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21845
21846 cat >conftest.$ac_ext <<_ACEOF
21847 /* confdefs.h. */
21848 _ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 $ac_includes_default
21853 typedef long long ac__type_sizeof_;
21854 int
21855 main ()
21856 {
21857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21858 test_array [0] = 0
21859
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21881 ac_hi=-1 ac_mid=-1
21882 while :; do
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef long long ac__type_sizeof_;
21891 int
21892 main ()
21893 {
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21895 test_array [0] = 0
21896
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext
21902 if { (ac_try="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21906 esac
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21909 ac_status=$?
21910 grep -v '^ *+' conftest.er1 >conftest.err
21911 rm -f conftest.er1
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21918 ac_lo=$ac_mid; break
21919 else
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21922
21923 ac_hi=`expr '(' $ac_mid ')' - 1`
21924 if test $ac_mid -le $ac_hi; then
21925 ac_lo= ac_hi=
21926 break
21927 fi
21928 ac_mid=`expr 2 '*' $ac_mid`
21929 fi
21930
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 done
21933 else
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21936
21937 ac_lo= ac_hi=
21938 fi
21939
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21941 fi
21942
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 # Binary search between lo and hi bounds.
21945 while test "x$ac_lo" != "x$ac_hi"; do
21946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 typedef long long ac__type_sizeof_;
21955 int
21956 main ()
21957 {
21958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21959 test_array [0] = 0
21960
21961 ;
21962 return 0;
21963 }
21964 _ACEOF
21965 rm -f conftest.$ac_objext
21966 if { (ac_try="$ac_compile"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21970 esac
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_compile") 2>conftest.er1
21973 ac_status=$?
21974 grep -v '^ *+' conftest.er1 >conftest.err
21975 rm -f conftest.er1
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest.$ac_objext; then
21982 ac_hi=$ac_mid
21983 else
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21986
21987 ac_lo=`expr '(' $ac_mid ')' + 1`
21988 fi
21989
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 done
21992 case $ac_lo in
21993 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21994 '') if test "$ac_cv_type_long_long" = yes; then
21995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21996 See \`config.log' for more details." >&5
21997 echo "$as_me: error: cannot compute sizeof (long long)
21998 See \`config.log' for more details." >&2;}
21999 { (exit 77); exit 77; }; }
22000 else
22001 ac_cv_sizeof_long_long=0
22002 fi ;;
22003 esac
22004 else
22005 cat >conftest.$ac_ext <<_ACEOF
22006 /* confdefs.h. */
22007 _ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 $ac_includes_default
22012 typedef long long ac__type_sizeof_;
22013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22015 #include <stdio.h>
22016 #include <stdlib.h>
22017 int
22018 main ()
22019 {
22020
22021 FILE *f = fopen ("conftest.val", "w");
22022 if (! f)
22023 return 1;
22024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22025 {
22026 long int i = longval ();
22027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22028 return 1;
22029 fprintf (f, "%ld\n", i);
22030 }
22031 else
22032 {
22033 unsigned long int i = ulongval ();
22034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22035 return 1;
22036 fprintf (f, "%lu\n", i);
22037 }
22038 return ferror (f) || fclose (f) != 0;
22039
22040 ;
22041 return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest$ac_exeext
22045 if { (ac_try="$ac_link"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_link") 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22055 { (case "(($ac_try" in
22056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22057 *) ac_try_echo=$ac_try;;
22058 esac
22059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22060 (eval "$ac_try") 2>&5
22061 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 ac_cv_sizeof_long_long=`cat conftest.val`
22065 else
22066 echo "$as_me: program exited with status $ac_status" >&5
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 ( exit $ac_status )
22071 if test "$ac_cv_type_long_long" = yes; then
22072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22073 See \`config.log' for more details." >&5
22074 echo "$as_me: error: cannot compute sizeof (long long)
22075 See \`config.log' for more details." >&2;}
22076 { (exit 77); exit 77; }; }
22077 else
22078 ac_cv_sizeof_long_long=0
22079 fi
22080 fi
22081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22082 fi
22083 rm -f conftest.val
22084 fi
22085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22086 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22087
22088
22089
22090 cat >>confdefs.h <<_ACEOF
22091 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22092 _ACEOF
22093
22094
22095 if test "$ac_cv_sizeof_long_long" != 0; then
22096 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22097 fi
22098 ;;
22099 * )
22100 { echo "$as_me:$LINENO: checking for long long" >&5
22101 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22102 if test "${ac_cv_type_long_long+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 else
22105 cat >conftest.$ac_ext <<_ACEOF
22106 /* confdefs.h. */
22107 _ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 typedef long long ac__type_new_;
22113 int
22114 main ()
22115 {
22116 if ((ac__type_new_ *) 0)
22117 return 0;
22118 if (sizeof (ac__type_new_))
22119 return 0;
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22132 ac_status=$?
22133 grep -v '^ *+' conftest.er1 >conftest.err
22134 rm -f conftest.er1
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22141 ac_cv_type_long_long=yes
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_cv_type_long_long=no
22147 fi
22148
22149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22150 fi
22151 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22152 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22153
22154 # The cast to long int works around a bug in the HP C Compiler
22155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22157 # This bug is HP SR number 8606223364.
22158 { echo "$as_me:$LINENO: checking size of long long" >&5
22159 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22160 if test "${ac_cv_sizeof_long_long+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 if test "$cross_compiling" = yes; then
22164 # Depending upon the size, compute the lo and hi bounds.
22165 cat >conftest.$ac_ext <<_ACEOF
22166 /* confdefs.h. */
22167 _ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 $ac_includes_default
22172 typedef long long ac__type_sizeof_;
22173 int
22174 main ()
22175 {
22176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22177 test_array [0] = 0
22178
22179 ;
22180 return 0;
22181 }
22182 _ACEOF
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.$ac_objext; then
22200 ac_lo=0 ac_mid=0
22201 while :; do
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long long ac__type_sizeof_;
22210 int
22211 main ()
22212 {
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22214 test_array [0] = 0
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (ac_try="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22237 ac_hi=$ac_mid; break
22238 else
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 ac_lo=`expr $ac_mid + 1`
22243 if test $ac_lo -le $ac_mid; then
22244 ac_lo= ac_hi=
22245 break
22246 fi
22247 ac_mid=`expr 2 '*' $ac_mid + 1`
22248 fi
22249
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 done
22252 else
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22255
22256 cat >conftest.$ac_ext <<_ACEOF
22257 /* confdefs.h. */
22258 _ACEOF
22259 cat confdefs.h >>conftest.$ac_ext
22260 cat >>conftest.$ac_ext <<_ACEOF
22261 /* end confdefs.h. */
22262 $ac_includes_default
22263 typedef long long ac__type_sizeof_;
22264 int
22265 main ()
22266 {
22267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22268 test_array [0] = 0
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (ac_try="$ac_compile"
22276 case "(($ac_try" in
22277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22279 esac
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_compile") 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } && {
22288 test -z "$ac_c_werror_flag" ||
22289 test ! -s conftest.err
22290 } && test -s conftest.$ac_objext; then
22291 ac_hi=-1 ac_mid=-1
22292 while :; do
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef long long ac__type_sizeof_;
22301 int
22302 main ()
22303 {
22304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22305 test_array [0] = 0
22306
22307 ;
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext
22312 if { (ac_try="$ac_compile"
22313 case "(($ac_try" in
22314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22316 esac
22317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_compile") 2>conftest.er1
22319 ac_status=$?
22320 grep -v '^ *+' conftest.er1 >conftest.err
22321 rm -f conftest.er1
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && {
22325 test -z "$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22327 } && test -s conftest.$ac_objext; then
22328 ac_lo=$ac_mid; break
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ac_hi=`expr '(' $ac_mid ')' - 1`
22334 if test $ac_mid -le $ac_hi; then
22335 ac_lo= ac_hi=
22336 break
22337 fi
22338 ac_mid=`expr 2 '*' $ac_mid`
22339 fi
22340
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342 done
22343 else
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22346
22347 ac_lo= ac_hi=
22348 fi
22349
22350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22351 fi
22352
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 # Binary search between lo and hi bounds.
22355 while test "x$ac_lo" != "x$ac_hi"; do
22356 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22357 cat >conftest.$ac_ext <<_ACEOF
22358 /* confdefs.h. */
22359 _ACEOF
22360 cat confdefs.h >>conftest.$ac_ext
22361 cat >>conftest.$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 $ac_includes_default
22364 typedef long long ac__type_sizeof_;
22365 int
22366 main ()
22367 {
22368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22369 test_array [0] = 0
22370
22371 ;
22372 return 0;
22373 }
22374 _ACEOF
22375 rm -f conftest.$ac_objext
22376 if { (ac_try="$ac_compile"
22377 case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22380 esac
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_compile") 2>conftest.er1
22383 ac_status=$?
22384 grep -v '^ *+' conftest.er1 >conftest.err
22385 rm -f conftest.er1
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && {
22389 test -z "$ac_c_werror_flag" ||
22390 test ! -s conftest.err
22391 } && test -s conftest.$ac_objext; then
22392 ac_hi=$ac_mid
22393 else
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.$ac_ext >&5
22396
22397 ac_lo=`expr '(' $ac_mid ')' + 1`
22398 fi
22399
22400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22401 done
22402 case $ac_lo in
22403 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22404 '') if test "$ac_cv_type_long_long" = yes; then
22405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22406 See \`config.log' for more details." >&5
22407 echo "$as_me: error: cannot compute sizeof (long long)
22408 See \`config.log' for more details." >&2;}
22409 { (exit 77); exit 77; }; }
22410 else
22411 ac_cv_sizeof_long_long=0
22412 fi ;;
22413 esac
22414 else
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22423 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22424 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22425 #include <stdio.h>
22426 #include <stdlib.h>
22427 int
22428 main ()
22429 {
22430
22431 FILE *f = fopen ("conftest.val", "w");
22432 if (! f)
22433 return 1;
22434 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22435 {
22436 long int i = longval ();
22437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22438 return 1;
22439 fprintf (f, "%ld\n", i);
22440 }
22441 else
22442 {
22443 unsigned long int i = ulongval ();
22444 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22445 return 1;
22446 fprintf (f, "%lu\n", i);
22447 }
22448 return ferror (f) || fclose (f) != 0;
22449
22450 ;
22451 return 0;
22452 }
22453 _ACEOF
22454 rm -f conftest$ac_exeext
22455 if { (ac_try="$ac_link"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_link") 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22465 { (case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_try") 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_sizeof_long_long=`cat conftest.val`
22475 else
22476 echo "$as_me: program exited with status $ac_status" >&5
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ( exit $ac_status )
22481 if test "$ac_cv_type_long_long" = yes; then
22482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: cannot compute sizeof (long long)
22485 See \`config.log' for more details." >&2;}
22486 { (exit 77); exit 77; }; }
22487 else
22488 ac_cv_sizeof_long_long=0
22489 fi
22490 fi
22491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22492 fi
22493 rm -f conftest.val
22494 fi
22495 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22496 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22497
22498
22499
22500 cat >>confdefs.h <<_ACEOF
22501 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22502 _ACEOF
22503
22504
22505 esac
22506
22507 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22508 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22509 if test "${ac_cv_type_wchar_t+set}" = set; then
22510 echo $ECHO_N "(cached) $ECHO_C" >&6
22511 else
22512 cat >conftest.$ac_ext <<_ACEOF
22513 /* confdefs.h. */
22514 _ACEOF
22515 cat confdefs.h >>conftest.$ac_ext
22516 cat >>conftest.$ac_ext <<_ACEOF
22517 /* end confdefs.h. */
22518
22519 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22520 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22521 # error "fake wchar_t"
22522 #endif
22523 #ifdef HAVE_WCHAR_H
22524 # ifdef __CYGWIN__
22525 # include <stddef.h>
22526 # endif
22527 # include <wchar.h>
22528 #endif
22529 #ifdef HAVE_STDLIB_H
22530 # include <stdlib.h>
22531 #endif
22532 #include <stdio.h>
22533
22534
22535
22536 typedef wchar_t ac__type_new_;
22537 int
22538 main ()
22539 {
22540 if ((ac__type_new_ *) 0)
22541 return 0;
22542 if (sizeof (ac__type_new_))
22543 return 0;
22544 ;
22545 return 0;
22546 }
22547 _ACEOF
22548 rm -f conftest.$ac_objext
22549 if { (ac_try="$ac_compile"
22550 case "(($ac_try" in
22551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22552 *) ac_try_echo=$ac_try;;
22553 esac
22554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22555 (eval "$ac_compile") 2>conftest.er1
22556 ac_status=$?
22557 grep -v '^ *+' conftest.er1 >conftest.err
22558 rm -f conftest.er1
22559 cat conftest.err >&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } && {
22562 test -z "$ac_c_werror_flag" ||
22563 test ! -s conftest.err
22564 } && test -s conftest.$ac_objext; then
22565 ac_cv_type_wchar_t=yes
22566 else
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.$ac_ext >&5
22569
22570 ac_cv_type_wchar_t=no
22571 fi
22572
22573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 fi
22575 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22576 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22577
22578 # The cast to long int works around a bug in the HP C Compiler
22579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22581 # This bug is HP SR number 8606223364.
22582 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22583 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22584 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22585 echo $ECHO_N "(cached) $ECHO_C" >&6
22586 else
22587 if test "$cross_compiling" = yes; then
22588 # Depending upon the size, compute the lo and hi bounds.
22589 cat >conftest.$ac_ext <<_ACEOF
22590 /* confdefs.h. */
22591 _ACEOF
22592 cat confdefs.h >>conftest.$ac_ext
22593 cat >>conftest.$ac_ext <<_ACEOF
22594 /* end confdefs.h. */
22595
22596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22598 # error "fake wchar_t"
22599 #endif
22600 #ifdef HAVE_WCHAR_H
22601 # ifdef __CYGWIN__
22602 # include <stddef.h>
22603 # endif
22604 # include <wchar.h>
22605 #endif
22606 #ifdef HAVE_STDLIB_H
22607 # include <stdlib.h>
22608 #endif
22609 #include <stdio.h>
22610
22611
22612
22613 typedef wchar_t ac__type_sizeof_;
22614 int
22615 main ()
22616 {
22617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22618 test_array [0] = 0
22619
22620 ;
22621 return 0;
22622 }
22623 _ACEOF
22624 rm -f conftest.$ac_objext
22625 if { (ac_try="$ac_compile"
22626 case "(($ac_try" in
22627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22628 *) ac_try_echo=$ac_try;;
22629 esac
22630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22631 (eval "$ac_compile") 2>conftest.er1
22632 ac_status=$?
22633 grep -v '^ *+' conftest.er1 >conftest.err
22634 rm -f conftest.er1
22635 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && {
22638 test -z "$ac_c_werror_flag" ||
22639 test ! -s conftest.err
22640 } && test -s conftest.$ac_objext; then
22641 ac_lo=0 ac_mid=0
22642 while :; do
22643 cat >conftest.$ac_ext <<_ACEOF
22644 /* confdefs.h. */
22645 _ACEOF
22646 cat confdefs.h >>conftest.$ac_ext
22647 cat >>conftest.$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22649
22650 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22651 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22652 # error "fake wchar_t"
22653 #endif
22654 #ifdef HAVE_WCHAR_H
22655 # ifdef __CYGWIN__
22656 # include <stddef.h>
22657 # endif
22658 # include <wchar.h>
22659 #endif
22660 #ifdef HAVE_STDLIB_H
22661 # include <stdlib.h>
22662 #endif
22663 #include <stdio.h>
22664
22665
22666
22667 typedef wchar_t ac__type_sizeof_;
22668 int
22669 main ()
22670 {
22671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22672 test_array [0] = 0
22673
22674 ;
22675 return 0;
22676 }
22677 _ACEOF
22678 rm -f conftest.$ac_objext
22679 if { (ac_try="$ac_compile"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22683 esac
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22686 ac_status=$?
22687 grep -v '^ *+' conftest.er1 >conftest.err
22688 rm -f conftest.er1
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_c_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.$ac_objext; then
22695 ac_hi=$ac_mid; break
22696 else
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22699
22700 ac_lo=`expr $ac_mid + 1`
22701 if test $ac_lo -le $ac_mid; then
22702 ac_lo= ac_hi=
22703 break
22704 fi
22705 ac_mid=`expr 2 '*' $ac_mid + 1`
22706 fi
22707
22708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22709 done
22710 else
22711 echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.$ac_ext >&5
22713
22714 cat >conftest.$ac_ext <<_ACEOF
22715 /* confdefs.h. */
22716 _ACEOF
22717 cat confdefs.h >>conftest.$ac_ext
22718 cat >>conftest.$ac_ext <<_ACEOF
22719 /* end confdefs.h. */
22720
22721 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22722 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22723 # error "fake wchar_t"
22724 #endif
22725 #ifdef HAVE_WCHAR_H
22726 # ifdef __CYGWIN__
22727 # include <stddef.h>
22728 # endif
22729 # include <wchar.h>
22730 #endif
22731 #ifdef HAVE_STDLIB_H
22732 # include <stdlib.h>
22733 #endif
22734 #include <stdio.h>
22735
22736
22737
22738 typedef wchar_t ac__type_sizeof_;
22739 int
22740 main ()
22741 {
22742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22743 test_array [0] = 0
22744
22745 ;
22746 return 0;
22747 }
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (ac_try="$ac_compile"
22751 case "(($ac_try" in
22752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22753 *) ac_try_echo=$ac_try;;
22754 esac
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_compile") 2>conftest.er1
22757 ac_status=$?
22758 grep -v '^ *+' conftest.er1 >conftest.err
22759 rm -f conftest.er1
22760 cat conftest.err >&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); } && {
22763 test -z "$ac_c_werror_flag" ||
22764 test ! -s conftest.err
22765 } && test -s conftest.$ac_objext; then
22766 ac_hi=-1 ac_mid=-1
22767 while :; do
22768 cat >conftest.$ac_ext <<_ACEOF
22769 /* confdefs.h. */
22770 _ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774
22775 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22776 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22777 # error "fake wchar_t"
22778 #endif
22779 #ifdef HAVE_WCHAR_H
22780 # ifdef __CYGWIN__
22781 # include <stddef.h>
22782 # endif
22783 # include <wchar.h>
22784 #endif
22785 #ifdef HAVE_STDLIB_H
22786 # include <stdlib.h>
22787 #endif
22788 #include <stdio.h>
22789
22790
22791
22792 typedef wchar_t ac__type_sizeof_;
22793 int
22794 main ()
22795 {
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22797 test_array [0] = 0
22798
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext
22804 if { (ac_try="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22808 esac
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22820 ac_lo=$ac_mid; break
22821 else
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22824
22825 ac_hi=`expr '(' $ac_mid ')' - 1`
22826 if test $ac_mid -le $ac_hi; then
22827 ac_lo= ac_hi=
22828 break
22829 fi
22830 ac_mid=`expr 2 '*' $ac_mid`
22831 fi
22832
22833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22834 done
22835 else
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.$ac_ext >&5
22838
22839 ac_lo= ac_hi=
22840 fi
22841
22842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 # Binary search between lo and hi bounds.
22847 while test "x$ac_lo" != "x$ac_hi"; do
22848 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855
22856 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22857 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22858 # error "fake wchar_t"
22859 #endif
22860 #ifdef HAVE_WCHAR_H
22861 # ifdef __CYGWIN__
22862 # include <stddef.h>
22863 # endif
22864 # include <wchar.h>
22865 #endif
22866 #ifdef HAVE_STDLIB_H
22867 # include <stdlib.h>
22868 #endif
22869 #include <stdio.h>
22870
22871
22872
22873 typedef wchar_t ac__type_sizeof_;
22874 int
22875 main ()
22876 {
22877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22878 test_array [0] = 0
22879
22880 ;
22881 return 0;
22882 }
22883 _ACEOF
22884 rm -f conftest.$ac_objext
22885 if { (ac_try="$ac_compile"
22886 case "(($ac_try" in
22887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22888 *) ac_try_echo=$ac_try;;
22889 esac
22890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22891 (eval "$ac_compile") 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } && {
22898 test -z "$ac_c_werror_flag" ||
22899 test ! -s conftest.err
22900 } && test -s conftest.$ac_objext; then
22901 ac_hi=$ac_mid
22902 else
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.$ac_ext >&5
22905
22906 ac_lo=`expr '(' $ac_mid ')' + 1`
22907 fi
22908
22909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 done
22911 case $ac_lo in
22912 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22913 '') if test "$ac_cv_type_wchar_t" = yes; then
22914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22915 See \`config.log' for more details." >&5
22916 echo "$as_me: error: cannot compute sizeof (wchar_t)
22917 See \`config.log' for more details." >&2;}
22918 { (exit 77); exit 77; }; }
22919 else
22920 ac_cv_sizeof_wchar_t=0
22921 fi ;;
22922 esac
22923 else
22924 cat >conftest.$ac_ext <<_ACEOF
22925 /* confdefs.h. */
22926 _ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930
22931 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22932 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22933 # error "fake wchar_t"
22934 #endif
22935 #ifdef HAVE_WCHAR_H
22936 # ifdef __CYGWIN__
22937 # include <stddef.h>
22938 # endif
22939 # include <wchar.h>
22940 #endif
22941 #ifdef HAVE_STDLIB_H
22942 # include <stdlib.h>
22943 #endif
22944 #include <stdio.h>
22945
22946
22947
22948 typedef wchar_t ac__type_sizeof_;
22949 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22950 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22951 #include <stdio.h>
22952 #include <stdlib.h>
22953 int
22954 main ()
22955 {
22956
22957 FILE *f = fopen ("conftest.val", "w");
22958 if (! f)
22959 return 1;
22960 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22961 {
22962 long int i = longval ();
22963 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22964 return 1;
22965 fprintf (f, "%ld\n", i);
22966 }
22967 else
22968 {
22969 unsigned long int i = ulongval ();
22970 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22971 return 1;
22972 fprintf (f, "%lu\n", i);
22973 }
22974 return ferror (f) || fclose (f) != 0;
22975
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 rm -f conftest$ac_exeext
22981 if { (ac_try="$ac_link"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22985 esac
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_link") 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22991 { (case "(($ac_try" in
22992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22993 *) ac_try_echo=$ac_try;;
22994 esac
22995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22996 (eval "$ac_try") 2>&5
22997 ac_status=$?
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23000 ac_cv_sizeof_wchar_t=`cat conftest.val`
23001 else
23002 echo "$as_me: program exited with status $ac_status" >&5
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 ( exit $ac_status )
23007 if test "$ac_cv_type_wchar_t" = yes; then
23008 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23009 See \`config.log' for more details." >&5
23010 echo "$as_me: error: cannot compute sizeof (wchar_t)
23011 See \`config.log' for more details." >&2;}
23012 { (exit 77); exit 77; }; }
23013 else
23014 ac_cv_sizeof_wchar_t=0
23015 fi
23016 fi
23017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23018 fi
23019 rm -f conftest.val
23020 fi
23021 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23022 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23023
23024
23025
23026 cat >>confdefs.h <<_ACEOF
23027 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23028 _ACEOF
23029
23030
23031 if test "$ac_cv_sizeof_wchar_t" != 0; then
23032 wxUSE_WCHAR_T=yes
23033 else
23034 wxUSE_WCHAR_T=no
23035 fi
23036
23037 { echo "$as_me:$LINENO: checking for va_copy" >&5
23038 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23039 if test "${wx_cv_func_va_copy+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23041 else
23042
23043 ac_ext=cpp
23044 ac_cpp='$CXXCPP $CPPFLAGS'
23045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23048
23049 cat >conftest.$ac_ext <<_ACEOF
23050
23051 #include <stdarg.h>
23052 void foo(char *f, ...)
23053 {
23054 va_list ap1, ap2;
23055 va_start(ap1, f);
23056 va_copy(ap2, ap1);
23057 va_end(ap2);
23058 va_end(ap1);
23059 }
23060 int main()
23061 {
23062 foo("hi", 17);
23063 return 0;
23064 }
23065 _ACEOF
23066 rm -f conftest.$ac_objext conftest$ac_exeext
23067 if { (ac_try="$ac_link"
23068 case "(($ac_try" in
23069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23070 *) ac_try_echo=$ac_try;;
23071 esac
23072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23073 (eval "$ac_link") 2>conftest.er1
23074 ac_status=$?
23075 grep -v '^ *+' conftest.er1 >conftest.err
23076 rm -f conftest.er1
23077 cat conftest.err >&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } && {
23080 test -z "$ac_cxx_werror_flag" ||
23081 test ! -s conftest.err
23082 } && test -s conftest$ac_exeext &&
23083 $as_test_x conftest$ac_exeext; then
23084 wx_cv_func_va_copy=yes
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 wx_cv_func_va_copy=no
23090
23091 fi
23092
23093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23094 conftest$ac_exeext conftest.$ac_ext
23095 ac_ext=c
23096 ac_cpp='$CPP $CPPFLAGS'
23097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100
23101
23102
23103 fi
23104 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23105 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23106
23107 if test $wx_cv_func_va_copy = "yes"; then
23108 cat >>confdefs.h <<\_ACEOF
23109 #define HAVE_VA_COPY 1
23110 _ACEOF
23111
23112 else
23113 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23114 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23115 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 else
23118
23119 if test "$cross_compiling" = yes; then
23120 wx_cv_type_va_list_lvalue=yes
23121
23122 else
23123 cat >conftest.$ac_ext <<_ACEOF
23124
23125 #include <stdarg.h>
23126 int foo(char *f, ...)
23127 {
23128 va_list ap1, ap2;
23129 va_start(ap1, f);
23130 ap2 = ap1;
23131 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23132 return 1;
23133 va_end(ap2);
23134 va_end(ap1);
23135 return 0;
23136 }
23137 int main()
23138 {
23139 return foo("hi", 17);
23140 }
23141 _ACEOF
23142 rm -f conftest$ac_exeext
23143 if { (ac_try="$ac_link"
23144 case "(($ac_try" in
23145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23146 *) ac_try_echo=$ac_try;;
23147 esac
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_link") 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23153 { (case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_try") 2>&5
23159 ac_status=$?
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; }; then
23162 wx_cv_type_va_list_lvalue=yes
23163 else
23164 echo "$as_me: program exited with status $ac_status" >&5
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ( exit $ac_status )
23169 wx_cv_type_va_list_lvalue=no
23170 fi
23171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23172 fi
23173
23174
23175
23176
23177 fi
23178 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23179 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23180
23181 if test $wx_cv_type_va_list_lvalue != "yes"; then
23182 cat >>confdefs.h <<\_ACEOF
23183 #define VA_LIST_IS_ARRAY 1
23184 _ACEOF
23185
23186 fi
23187 fi
23188
23189 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23190
23191 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23192 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23193 if test "${wx_cv_have_variadic_macros+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 else
23196
23197 ac_ext=cpp
23198 ac_cpp='$CXXCPP $CPPFLAGS'
23199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23202
23203 cat >conftest.$ac_ext <<_ACEOF
23204 /* confdefs.h. */
23205 _ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23209
23210 #include <stdio.h>
23211 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23212
23213 int
23214 main ()
23215 {
23216
23217 test("%s %d %p", "test", 1, 0);
23218
23219
23220 ;
23221 return 0;
23222 }
23223 _ACEOF
23224 rm -f conftest.$ac_objext
23225 if { (ac_try="$ac_compile"
23226 case "(($ac_try" in
23227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23228 *) ac_try_echo=$ac_try;;
23229 esac
23230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23231 (eval "$ac_compile") 2>conftest.er1
23232 ac_status=$?
23233 grep -v '^ *+' conftest.er1 >conftest.err
23234 rm -f conftest.er1
23235 cat conftest.err >&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); } && {
23238 test -z "$ac_cxx_werror_flag" ||
23239 test ! -s conftest.err
23240 } && test -s conftest.$ac_objext; then
23241 wx_cv_have_variadic_macros=yes
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23245
23246 wx_cv_have_variadic_macros=no
23247
23248 fi
23249
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258
23259 fi
23260 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23261 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23262
23263 if test $wx_cv_have_variadic_macros = "yes"; then
23264 cat >>confdefs.h <<\_ACEOF
23265 #define HAVE_VARIADIC_MACROS 1
23266 _ACEOF
23267
23268 fi
23269
23270 fi
23271
23272 LARGEFILE_CPPFLAGS=
23273 # Check whether --enable-largefile was given.
23274 if test "${enable_largefile+set}" = set; then
23275 enableval=$enable_largefile;
23276 fi
23277
23278 if test "$enable_largefile" != no; then
23279 wx_largefile=no
23280
23281 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23282 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23283 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 else
23286
23287 cat >conftest.$ac_ext <<_ACEOF
23288 /* confdefs.h. */
23289 _ACEOF
23290 cat confdefs.h >>conftest.$ac_ext
23291 cat >>conftest.$ac_ext <<_ACEOF
23292 /* end confdefs.h. */
23293 #define _FILE_OFFSET_BITS 64
23294 #include <sys/types.h>
23295 int
23296 main ()
23297 {
23298 typedef struct {
23299 unsigned int field: sizeof(off_t) == 8;
23300 } wxlf;
23301
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext
23307 if { (ac_try="$ac_compile"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_compile") 2>conftest.er1
23314 ac_status=$?
23315 grep -v '^ *+' conftest.er1 >conftest.err
23316 rm -f conftest.er1
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } && {
23320 test -z "$ac_c_werror_flag" ||
23321 test ! -s conftest.err
23322 } && test -s conftest.$ac_objext; then
23323 ac_cv_sys_file_offset_bits=64
23324 else
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ac_cv_sys_file_offset_bits=no
23329 fi
23330
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332
23333
23334 fi
23335 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23336 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23337
23338 if test "$ac_cv_sys_file_offset_bits" != no; then
23339 wx_largefile=yes
23340 cat >>confdefs.h <<_ACEOF
23341 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23342 _ACEOF
23343
23344 fi
23345
23346 if test "x$wx_largefile" != "xyes"; then
23347
23348 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23349 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23350 if test "${ac_cv_sys_large_files+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23352 else
23353
23354 cat >conftest.$ac_ext <<_ACEOF
23355 /* confdefs.h. */
23356 _ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360 #define _LARGE_FILES 1
23361 #include <sys/types.h>
23362 int
23363 main ()
23364 {
23365 typedef struct {
23366 unsigned int field: sizeof(off_t) == 8;
23367 } wxlf;
23368
23369 ;
23370 return 0;
23371 }
23372 _ACEOF
23373 rm -f conftest.$ac_objext
23374 if { (ac_try="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23378 esac
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23390 ac_cv_sys_large_files=1
23391 else
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 ac_cv_sys_large_files=no
23396 fi
23397
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399
23400
23401 fi
23402 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23403 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23404
23405 if test "$ac_cv_sys_large_files" != no; then
23406 wx_largefile=yes
23407 cat >>confdefs.h <<_ACEOF
23408 #define _LARGE_FILES $ac_cv_sys_large_files
23409 _ACEOF
23410
23411 fi
23412
23413 fi
23414
23415 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23416 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23417 if test "x$wx_largefile" = "xyes"; then
23418 cat >>confdefs.h <<\_ACEOF
23419 #define HAVE_LARGEFILE_SUPPORT 1
23420 _ACEOF
23421
23422 fi
23423 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23424 echo "${ECHO_T}$wx_largefile" >&6; }
23425 fi
23426
23427 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23428 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23429 elif test "$ac_cv_sys_large_files" = 1; then
23430 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23431 fi
23432
23433 if test -n "$LARGEFILE_CPPFLAGS"; then
23434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23435
23436 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23437 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23438 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23439 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 else
23442
23443 ac_ext=cpp
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448
23449 cat >conftest.$ac_ext <<_ACEOF
23450 /* confdefs.h. */
23451 _ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455
23456 int
23457 main ()
23458 {
23459
23460 #ifndef __STDC_EXT__
23461 choke me
23462 #endif
23463
23464 ;
23465 return 0;
23466 }
23467 _ACEOF
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23473 esac
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_cxx_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 wx_cv_STDC_EXT_required=no
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 wx_cv_STDC_EXT_required=yes
23491
23492 fi
23493
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23495 ac_ext=c
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500
23501
23502
23503 fi
23504 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23505 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23506 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23507 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23508 fi
23509 fi
23510 fi
23511
23512 ac_ext=cpp
23513 ac_cpp='$CXXCPP $CPPFLAGS'
23514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517
23518 old_CPPFLAGS="$CPPFLAGS"
23519 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23520 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23521 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23522 if test "${ac_cv_sys_largefile_source+set}" = set; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 else
23525 while :; do
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 #include <sys/types.h> /* for off_t */
23533 #include <stdio.h>
23534 int
23535 main ()
23536 {
23537 int (*fp) (FILE *, off_t, int) = fseeko;
23538 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext conftest$ac_exeext
23544 if { (ac_try="$ac_link"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23548 esac
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_link") 2>conftest.er1
23551 ac_status=$?
23552 grep -v '^ *+' conftest.er1 >conftest.err
23553 rm -f conftest.er1
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } && {
23557 test -z "$ac_cxx_werror_flag" ||
23558 test ! -s conftest.err
23559 } && test -s conftest$ac_exeext &&
23560 $as_test_x conftest$ac_exeext; then
23561 ac_cv_sys_largefile_source=no; break
23562 else
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.$ac_ext >&5
23565
23566
23567 fi
23568
23569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23570 conftest$ac_exeext conftest.$ac_ext
23571 cat >conftest.$ac_ext <<_ACEOF
23572 /* confdefs.h. */
23573 _ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 #define _LARGEFILE_SOURCE 1
23578 #include <sys/types.h> /* for off_t */
23579 #include <stdio.h>
23580 int
23581 main ()
23582 {
23583 int (*fp) (FILE *, off_t, int) = fseeko;
23584 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23585 ;
23586 return 0;
23587 }
23588 _ACEOF
23589 rm -f conftest.$ac_objext conftest$ac_exeext
23590 if { (ac_try="$ac_link"
23591 case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23594 esac
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_link") 2>conftest.er1
23597 ac_status=$?
23598 grep -v '^ *+' conftest.er1 >conftest.err
23599 rm -f conftest.er1
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_cxx_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest$ac_exeext &&
23606 $as_test_x conftest$ac_exeext; then
23607 ac_cv_sys_largefile_source=1; break
23608 else
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612
23613 fi
23614
23615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23616 conftest$ac_exeext conftest.$ac_ext
23617 ac_cv_sys_largefile_source=unknown
23618 break
23619 done
23620 fi
23621 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23622 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23623 case $ac_cv_sys_largefile_source in #(
23624 no | unknown) ;;
23625 *)
23626 cat >>confdefs.h <<_ACEOF
23627 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23628 _ACEOF
23629 ;;
23630 esac
23631 rm -f conftest*
23632
23633 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23634 # in glibc 2.1.3, but that breaks too many other things.
23635 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23636 if test $ac_cv_sys_largefile_source != unknown; then
23637
23638 cat >>confdefs.h <<\_ACEOF
23639 #define HAVE_FSEEKO 1
23640 _ACEOF
23641
23642 fi
23643
23644 CPPFLAGS="$old_CPPFLAGS"
23645 ac_ext=c
23646 ac_cpp='$CPP $CPPFLAGS'
23647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23650
23651 if test "$ac_cv_sys_largefile_source" != no; then
23652 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23653 fi
23654
23655 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23656 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23657 if test "${ac_cv_c_bigendian+set}" = set; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 else
23660 ac_cv_c_bigendian=unknown
23661 # See if sys/param.h defines the BYTE_ORDER macro.
23662 cat >conftest.$ac_ext <<_ACEOF
23663 /* confdefs.h. */
23664 _ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 #include <sys/types.h>
23669 #include <sys/param.h>
23670 int
23671 main ()
23672 {
23673
23674 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23675 bogus endian macros
23676 #endif
23677 ;
23678 return 0;
23679 }
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23689 ac_status=$?
23690 grep -v '^ *+' conftest.er1 >conftest.err
23691 rm -f conftest.er1
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_c_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23698 # It does; now see whether it defined to BIG_ENDIAN or not.
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <sys/types.h>
23706 #include <sys/param.h>
23707 int
23708 main ()
23709 {
23710
23711 #if BYTE_ORDER != BIG_ENDIAN
23712 not big endian
23713 #endif
23714 ;
23715 return 0;
23716 }
23717 _ACEOF
23718 rm -f conftest.$ac_objext
23719 if { (ac_try="$ac_compile"
23720 case "(($ac_try" in
23721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23722 *) ac_try_echo=$ac_try;;
23723 esac
23724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23725 (eval "$ac_compile") 2>conftest.er1
23726 ac_status=$?
23727 grep -v '^ *+' conftest.er1 >conftest.err
23728 rm -f conftest.er1
23729 cat conftest.err >&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } && {
23732 test -z "$ac_c_werror_flag" ||
23733 test ! -s conftest.err
23734 } && test -s conftest.$ac_objext; then
23735 ac_cv_c_bigendian=yes
23736 else
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 ac_cv_c_bigendian=no
23741 fi
23742
23743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748
23749 fi
23750
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 if test $ac_cv_c_bigendian = unknown; then
23753 if test "$cross_compiling" = yes; then
23754 ac_cv_c_bigendian=unknown
23755 else
23756 cat >conftest.$ac_ext <<_ACEOF
23757 /* confdefs.h. */
23758 _ACEOF
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 main () {
23763 /* Are we little or big endian? From Harbison&Steele. */
23764 union
23765 {
23766 long l;
23767 char c[sizeof (long)];
23768 } u;
23769 u.l = 1;
23770 exit (u.c[sizeof (long) - 1] == 1);
23771 }
23772 _ACEOF
23773 rm -f conftest$ac_exeext
23774 if { (ac_try="$ac_link"
23775 case "(($ac_try" in
23776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23777 *) ac_try_echo=$ac_try;;
23778 esac
23779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23780 (eval "$ac_link") 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23784 { (case "(($ac_try" in
23785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23786 *) ac_try_echo=$ac_try;;
23787 esac
23788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23789 (eval "$ac_try") 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); }; }; then
23793 ac_cv_c_bigendian=no
23794 else
23795 echo "$as_me: program exited with status $ac_status" >&5
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23798
23799 ( exit $ac_status )
23800 ac_cv_c_bigendian=yes
23801 fi
23802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23803 fi
23804
23805
23806 fi
23807 fi
23808 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23809 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23810 if test $ac_cv_c_bigendian = unknown; then
23811 { 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
23812 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;}
23813 fi
23814 if test $ac_cv_c_bigendian = yes; then
23815 cat >>confdefs.h <<\_ACEOF
23816 #define WORDS_BIGENDIAN 1
23817 _ACEOF
23818
23819 fi
23820
23821
23822
23823
23824 ac_ext=cpp
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829
23830
23831
23832 for ac_header in iostream
23833 do
23834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 else
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
23847
23848 #include <$ac_header>
23849 _ACEOF
23850 rm -f conftest.$ac_objext
23851 if { (ac_try="$ac_compile"
23852 case "(($ac_try" in
23853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23854 *) ac_try_echo=$ac_try;;
23855 esac
23856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23857 (eval "$ac_compile") 2>conftest.er1
23858 ac_status=$?
23859 grep -v '^ *+' conftest.er1 >conftest.err
23860 rm -f conftest.er1
23861 cat conftest.err >&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } && {
23864 test -z "$ac_cxx_werror_flag" ||
23865 test ! -s conftest.err
23866 } && test -s conftest.$ac_objext; then
23867 eval "$as_ac_Header=yes"
23868 else
23869 echo "$as_me: failed program was:" >&5
23870 sed 's/^/| /' conftest.$ac_ext >&5
23871
23872 eval "$as_ac_Header=no"
23873 fi
23874
23875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876 fi
23877 ac_res=`eval echo '${'$as_ac_Header'}'`
23878 { echo "$as_me:$LINENO: result: $ac_res" >&5
23879 echo "${ECHO_T}$ac_res" >&6; }
23880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23881 cat >>confdefs.h <<_ACEOF
23882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23883 _ACEOF
23884
23885 fi
23886
23887 done
23888
23889
23890 if test "$ac_cv_header_iostream" = "yes" ; then
23891 :
23892 else
23893 cat >>confdefs.h <<\_ACEOF
23894 #define wxUSE_IOSTREAMH 1
23895 _ACEOF
23896
23897 fi
23898
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904
23905
23906
23907
23908 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23909 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23910 if test "${wx_cv_explicit+set}" = set; then
23911 echo $ECHO_N "(cached) $ECHO_C" >&6
23912 else
23913
23914
23915 ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23920
23921
23922 cat >conftest.$ac_ext <<_ACEOF
23923 /* confdefs.h. */
23924 _ACEOF
23925 cat confdefs.h >>conftest.$ac_ext
23926 cat >>conftest.$ac_ext <<_ACEOF
23927 /* end confdefs.h. */
23928
23929 class Foo { public: explicit Foo(int) {} };
23930
23931 int
23932 main ()
23933 {
23934
23935 return 0;
23936
23937 ;
23938 return 0;
23939 }
23940 _ACEOF
23941 rm -f conftest.$ac_objext
23942 if { (ac_try="$ac_compile"
23943 case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23946 esac
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_compile") 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } && {
23955 test -z "$ac_cxx_werror_flag" ||
23956 test ! -s conftest.err
23957 } && test -s conftest.$ac_objext; then
23958
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965
23966 class Foo { public: explicit Foo(int) {} };
23967 static void TakeFoo(const Foo& foo) { }
23968
23969 int
23970 main ()
23971 {
23972
23973 TakeFoo(17);
23974 return 0;
23975
23976 ;
23977 return 0;
23978 }
23979 _ACEOF
23980 rm -f conftest.$ac_objext
23981 if { (ac_try="$ac_compile"
23982 case "(($ac_try" in
23983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984 *) ac_try_echo=$ac_try;;
23985 esac
23986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23987 (eval "$ac_compile") 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } && {
23994 test -z "$ac_cxx_werror_flag" ||
23995 test ! -s conftest.err
23996 } && test -s conftest.$ac_objext; then
23997 wx_cv_explicit=no
23998 else
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.$ac_ext >&5
24001
24002 wx_cv_explicit=yes
24003
24004 fi
24005
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 wx_cv_explicit=no
24013
24014 fi
24015
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24017
24018 ac_ext=c
24019 ac_cpp='$CPP $CPPFLAGS'
24020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24023
24024
24025 fi
24026 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24027 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24028
24029 if test "$wx_cv_explicit" = "yes"; then
24030 cat >>confdefs.h <<\_ACEOF
24031 #define HAVE_EXPLICIT 1
24032 _ACEOF
24033
24034 fi
24035
24036
24037 if test "x$SUNCXX" = xyes; then
24038 CXXFLAGS="-features=tmplife $CXXFLAGS"
24039 fi
24040
24041 if test "x$SUNCC" = xyes; then
24042 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24043 fi
24044
24045 if test "x$SGICC" = "xyes"; then
24046 CFLAGS="-woff 3970 $CFLAGS"
24047 fi
24048 if test "x$SGICXX" = "xyes"; then
24049 CXXFLAGS="-woff 3970 $CXXFLAGS"
24050 fi
24051
24052 if test "x$HPCC" = "xyes"; then
24053 CFLAGS="+W 2011,2450 $CFLAGS"
24054 fi
24055 if test "x$HPCXX" = "xyes"; then
24056 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24057 fi
24058
24059 if test "x$COMPAQCXX" = "xyes"; then
24060 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24061 fi
24062
24063 ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24068
24069
24070 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24071 if test "$wxUSE_UNICODE" = "yes"; then
24072 std_string="std::wstring"
24073 char_type="wchar_t"
24074 else
24075 std_string="std::string"
24076 char_type="char"
24077 fi
24078
24079 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24080 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24081 if test "${wx_cv_class_stdstring+set}" = set; then
24082 echo $ECHO_N "(cached) $ECHO_C" >&6
24083 else
24084
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 #include <string>
24092 int
24093 main ()
24094 {
24095 $std_string foo;
24096 ;
24097 return 0;
24098 }
24099 _ACEOF
24100 rm -f conftest.$ac_objext
24101 if { (ac_try="$ac_compile"
24102 case "(($ac_try" in
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104 *) ac_try_echo=$ac_try;;
24105 esac
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24107 (eval "$ac_compile") 2>conftest.er1
24108 ac_status=$?
24109 grep -v '^ *+' conftest.er1 >conftest.err
24110 rm -f conftest.er1
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_cxx_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest.$ac_objext; then
24117 wx_cv_class_stdstring=yes
24118 else
24119 echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24121
24122 wx_cv_class_stdstring=no
24123
24124 fi
24125
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127
24128
24129 fi
24130 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24131 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24132
24133 if test "$wx_cv_class_stdstring" = yes; then
24134 if test "$wxUSE_UNICODE" = "yes"; then
24135 cat >>confdefs.h <<\_ACEOF
24136 #define HAVE_STD_WSTRING 1
24137 _ACEOF
24138
24139 fi
24140 else
24141 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24142 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24143 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24144 echo $ECHO_N "(cached) $ECHO_C" >&6
24145 else
24146
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153
24154 #ifdef HAVE_WCHAR_H
24155 # ifdef __CYGWIN__
24156 # include <stddef.h>
24157 # endif
24158 # include <wchar.h>
24159 #endif
24160 #ifdef HAVE_STDLIB_H
24161 # include <stdlib.h>
24162 #endif
24163 #include <stdio.h>
24164 #include <string>
24165
24166 int
24167 main ()
24168 {
24169 std::basic_string<$char_type> foo;
24170 const $char_type* dummy = foo.c_str();
24171 ;
24172 return 0;
24173 }
24174 _ACEOF
24175 rm -f conftest.$ac_objext
24176 if { (ac_try="$ac_compile"
24177 case "(($ac_try" in
24178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24179 *) ac_try_echo=$ac_try;;
24180 esac
24181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24182 (eval "$ac_compile") 2>conftest.er1
24183 ac_status=$?
24184 grep -v '^ *+' conftest.er1 >conftest.err
24185 rm -f conftest.er1
24186 cat conftest.err >&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } && {
24189 test -z "$ac_cxx_werror_flag" ||
24190 test ! -s conftest.err
24191 } && test -s conftest.$ac_objext; then
24192 wx_cv_class_stdbasicstring=yes
24193 else
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24196
24197 wx_cv_class_stdbasicstring=no
24198
24199 fi
24200
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202
24203
24204 fi
24205 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24206 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24207
24208 if test "$wx_cv_class_stdbasicstring" != yes; then
24209 if test "$wxUSE_STL" = "yes"; then
24210 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24211 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24212 { (exit 1); exit 1; }; }
24213 elif test "$wxUSE_STD_STRING" = "yes"; then
24214 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24215 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24216 { (exit 1); exit 1; }; }
24217 else
24218 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24219 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24220 wxUSE_STD_STRING=no
24221 fi
24222 fi
24223 fi
24224 fi
24225
24226 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24227 { echo "$as_me:$LINENO: checking for std::istream" >&5
24228 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24229 if test "${ac_cv_type_std__istream+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232 cat >conftest.$ac_ext <<_ACEOF
24233 /* confdefs.h. */
24234 _ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 #include <iostream>
24239
24240 typedef std::istream ac__type_new_;
24241 int
24242 main ()
24243 {
24244 if ((ac__type_new_ *) 0)
24245 return 0;
24246 if (sizeof (ac__type_new_))
24247 return 0;
24248 ;
24249 return 0;
24250 }
24251 _ACEOF
24252 rm -f conftest.$ac_objext
24253 if { (ac_try="$ac_compile"
24254 case "(($ac_try" in
24255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24256 *) ac_try_echo=$ac_try;;
24257 esac
24258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24259 (eval "$ac_compile") 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } && {
24266 test -z "$ac_cxx_werror_flag" ||
24267 test ! -s conftest.err
24268 } && test -s conftest.$ac_objext; then
24269 ac_cv_type_std__istream=yes
24270 else
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24273
24274 ac_cv_type_std__istream=no
24275 fi
24276
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278 fi
24279 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24280 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24281 if test $ac_cv_type_std__istream = yes; then
24282
24283 cat >>confdefs.h <<_ACEOF
24284 #define HAVE_STD__ISTREAM 1
24285 _ACEOF
24286
24287
24288 else
24289 wxUSE_STD_IOSTREAM=no
24290 fi
24291 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24292 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24293 if test "${ac_cv_type_std__ostream+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296 cat >conftest.$ac_ext <<_ACEOF
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 #include <iostream>
24303
24304 typedef std::ostream ac__type_new_;
24305 int
24306 main ()
24307 {
24308 if ((ac__type_new_ *) 0)
24309 return 0;
24310 if (sizeof (ac__type_new_))
24311 return 0;
24312 ;
24313 return 0;
24314 }
24315 _ACEOF
24316 rm -f conftest.$ac_objext
24317 if { (ac_try="$ac_compile"
24318 case "(($ac_try" in
24319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24320 *) ac_try_echo=$ac_try;;
24321 esac
24322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24323 (eval "$ac_compile") 2>conftest.er1
24324 ac_status=$?
24325 grep -v '^ *+' conftest.er1 >conftest.err
24326 rm -f conftest.er1
24327 cat conftest.err >&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } && {
24330 test -z "$ac_cxx_werror_flag" ||
24331 test ! -s conftest.err
24332 } && test -s conftest.$ac_objext; then
24333 ac_cv_type_std__ostream=yes
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 ac_cv_type_std__ostream=no
24339 fi
24340
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342 fi
24343 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24344 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24345 if test $ac_cv_type_std__ostream = yes; then
24346
24347 cat >>confdefs.h <<_ACEOF
24348 #define HAVE_STD__OSTREAM 1
24349 _ACEOF
24350
24351
24352 else
24353 wxUSE_STD_IOSTREAM=no
24354 fi
24355
24356
24357 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24358 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24359 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24360 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24361 { (exit 1); exit 1; }; }
24362 else
24363 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24364 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24365 fi
24366 fi
24367 fi
24368
24369 if test "$wxUSE_STL" = "yes"; then
24370 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24371 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24372 if test "${wx_cv_lib_stl+set}" = set; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 else
24375 cat >conftest.$ac_ext <<_ACEOF
24376 /* confdefs.h. */
24377 _ACEOF
24378 cat confdefs.h >>conftest.$ac_ext
24379 cat >>conftest.$ac_ext <<_ACEOF
24380 /* end confdefs.h. */
24381 #include <string>
24382 #include <functional>
24383 #include <algorithm>
24384 #include <vector>
24385 #include <list>
24386 int
24387 main ()
24388 {
24389 std::vector<int> moo;
24390 std::list<int> foo;
24391 std::vector<int>::iterator it =
24392 std::find_if(moo.begin(), moo.end(),
24393 std::bind2nd(std::less<int>(), 3));
24394 ;
24395 return 0;
24396 }
24397 _ACEOF
24398 rm -f conftest.$ac_objext
24399 if { (ac_try="$ac_compile"
24400 case "(($ac_try" in
24401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24402 *) ac_try_echo=$ac_try;;
24403 esac
24404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24405 (eval "$ac_compile") 2>conftest.er1
24406 ac_status=$?
24407 grep -v '^ *+' conftest.er1 >conftest.err
24408 rm -f conftest.er1
24409 cat conftest.err >&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); } && {
24412 test -z "$ac_cxx_werror_flag" ||
24413 test ! -s conftest.err
24414 } && test -s conftest.$ac_objext; then
24415 wx_cv_lib_stl=yes
24416 else
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.$ac_ext >&5
24419
24420 wx_cv_lib_stl=no
24421
24422 fi
24423
24424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24425
24426 fi
24427 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24428 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24429
24430 if test "$wx_cv_lib_stl" != yes; then
24431 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24432 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24433 { (exit 1); exit 1; }; }
24434 fi
24435
24436 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24437 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24438 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 else
24441 cat >conftest.$ac_ext <<_ACEOF
24442 /* confdefs.h. */
24443 _ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 #include <string>
24448 int
24449 main ()
24450 {
24451 std::string foo, bar;
24452 foo.compare(bar);
24453 foo.compare(1, 1, bar);
24454 foo.compare(1, 1, bar, 1, 1);
24455 foo.compare("");
24456 foo.compare(1, 1, "");
24457 foo.compare(1, 1, "", 2);
24458 ;
24459 return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext
24463 if { (ac_try="$ac_compile"
24464 case "(($ac_try" in
24465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24466 *) ac_try_echo=$ac_try;;
24467 esac
24468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24469 (eval "$ac_compile") 2>conftest.er1
24470 ac_status=$?
24471 grep -v '^ *+' conftest.er1 >conftest.err
24472 rm -f conftest.er1
24473 cat conftest.err >&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); } && {
24476 test -z "$ac_cxx_werror_flag" ||
24477 test ! -s conftest.err
24478 } && test -s conftest.$ac_objext; then
24479 wx_cv_func_stdstring_compare=yes
24480 else
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24483
24484 wx_cv_func_stdstring_compare=no
24485
24486 fi
24487
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489
24490 fi
24491 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24492 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24493
24494 if test "$wx_cv_func_stdstring_compare" = yes; then
24495 cat >>confdefs.h <<\_ACEOF
24496 #define HAVE_STD_STRING_COMPARE 1
24497 _ACEOF
24498
24499 fi
24500
24501 if test "$wx_cv_class_gnuhashmapset" = yes; then
24502 cat >>confdefs.h <<\_ACEOF
24503 #define HAVE_EXT_HASH_MAP 1
24504 _ACEOF
24505
24506 cat >>confdefs.h <<\_ACEOF
24507 #define HAVE_GNU_CXX_HASH_MAP 1
24508 _ACEOF
24509
24510 fi
24511
24512 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24513 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24514 if test "${ac_cv_header_unordered_map+set}" = set; then
24515 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 else
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h. */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523
24524
24525
24526 #include <unordered_map>
24527 _ACEOF
24528 rm -f conftest.$ac_objext
24529 if { (ac_try="$ac_compile"
24530 case "(($ac_try" in
24531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24532 *) ac_try_echo=$ac_try;;
24533 esac
24534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24535 (eval "$ac_compile") 2>conftest.er1
24536 ac_status=$?
24537 grep -v '^ *+' conftest.er1 >conftest.err
24538 rm -f conftest.er1
24539 cat conftest.err >&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); } && {
24542 test -z "$ac_cxx_werror_flag" ||
24543 test ! -s conftest.err
24544 } && test -s conftest.$ac_objext; then
24545 ac_cv_header_unordered_map=yes
24546 else
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.$ac_ext >&5
24549
24550 ac_cv_header_unordered_map=no
24551 fi
24552
24553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24554 fi
24555 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24556 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24557 if test $ac_cv_header_unordered_map = yes; then
24558 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24559 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24560 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24561 echo $ECHO_N "(cached) $ECHO_C" >&6
24562 else
24563 cat >conftest.$ac_ext <<_ACEOF
24564 /* confdefs.h. */
24565 _ACEOF
24566 cat confdefs.h >>conftest.$ac_ext
24567 cat >>conftest.$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24569 #include <unordered_map>
24570 #include <unordered_set>
24571 int
24572 main ()
24573 {
24574 std::unordered_map<double*, char*> test1;
24575 std::unordered_set<char*> test2;
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 rm -f conftest.$ac_objext
24581 if { (ac_try="$ac_compile"
24582 case "(($ac_try" in
24583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24584 *) ac_try_echo=$ac_try;;
24585 esac
24586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24587 (eval "$ac_compile") 2>conftest.er1
24588 ac_status=$?
24589 grep -v '^ *+' conftest.er1 >conftest.err
24590 rm -f conftest.er1
24591 cat conftest.err >&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } && {
24594 test -z "$ac_cxx_werror_flag" ||
24595 test ! -s conftest.err
24596 } && test -s conftest.$ac_objext; then
24597 wx_cv_class_stdunorderedmapset=yes
24598 else
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.$ac_ext >&5
24601
24602 wx_cv_class_stdunorderedmapset=no
24603 fi
24604
24605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24606
24607
24608 fi
24609 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24610 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24611 fi
24612
24613
24614
24615 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24616 cat >>confdefs.h <<\_ACEOF
24617 #define HAVE_STD_UNORDERED_MAP 1
24618 _ACEOF
24619
24620 cat >>confdefs.h <<\_ACEOF
24621 #define HAVE_STD_UNORDERED_SET 1
24622 _ACEOF
24623
24624 else
24625 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24626 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24627 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24629 else
24630 cat >conftest.$ac_ext <<_ACEOF
24631 /* confdefs.h. */
24632 _ACEOF
24633 cat confdefs.h >>conftest.$ac_ext
24634 cat >>conftest.$ac_ext <<_ACEOF
24635 /* end confdefs.h. */
24636
24637
24638
24639 #include <tr1/unordered_map>
24640 _ACEOF
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24646 esac
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 ac_cv_header_tr1_unordered_map=yes
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 ac_cv_header_tr1_unordered_map=no
24664 fi
24665
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667 fi
24668 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24669 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24670 if test $ac_cv_header_tr1_unordered_map = yes; then
24671 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24672 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24673 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24674 echo $ECHO_N "(cached) $ECHO_C" >&6
24675 else
24676 cat >conftest.$ac_ext <<_ACEOF
24677 /* confdefs.h. */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24682 #include <tr1/unordered_map>
24683 #include <tr1/unordered_set>
24684 int
24685 main ()
24686 {
24687 std::tr1::unordered_map<double*, char*> test1;
24688 std::tr1::unordered_set<char*> test2;
24689 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24690 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24691 #endif
24692 ;
24693 return 0;
24694 }
24695 _ACEOF
24696 rm -f conftest.$ac_objext
24697 if { (ac_try="$ac_compile"
24698 case "(($ac_try" in
24699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24700 *) ac_try_echo=$ac_try;;
24701 esac
24702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24703 (eval "$ac_compile") 2>conftest.er1
24704 ac_status=$?
24705 grep -v '^ *+' conftest.er1 >conftest.err
24706 rm -f conftest.er1
24707 cat conftest.err >&5
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } && {
24710 test -z "$ac_cxx_werror_flag" ||
24711 test ! -s conftest.err
24712 } && test -s conftest.$ac_objext; then
24713 wx_cv_class_tr1unorderedmapset=yes
24714 else
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24717
24718 wx_cv_class_tr1unorderedmapset=no
24719 fi
24720
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722
24723
24724 fi
24725 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24726 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24727 fi
24728
24729
24730
24731 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define HAVE_TR1_UNORDERED_MAP 1
24734 _ACEOF
24735
24736 cat >>confdefs.h <<\_ACEOF
24737 #define HAVE_TR1_UNORDERED_SET 1
24738 _ACEOF
24739
24740 else
24741 { echo "$as_me:$LINENO: checking for hash_map" >&5
24742 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24743 if test "${ac_cv_header_hash_map+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24746 cat >conftest.$ac_ext <<_ACEOF
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752
24753
24754
24755 #include <hash_map>
24756 _ACEOF
24757 rm -f conftest.$ac_objext
24758 if { (ac_try="$ac_compile"
24759 case "(($ac_try" in
24760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24761 *) ac_try_echo=$ac_try;;
24762 esac
24763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24764 (eval "$ac_compile") 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } && {
24771 test -z "$ac_cxx_werror_flag" ||
24772 test ! -s conftest.err
24773 } && test -s conftest.$ac_objext; then
24774 ac_cv_header_hash_map=yes
24775 else
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.$ac_ext >&5
24778
24779 ac_cv_header_hash_map=no
24780 fi
24781
24782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 fi
24784 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24785 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24786 if test $ac_cv_header_hash_map = yes; then
24787 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24788 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24789 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792 cat >conftest.$ac_ext <<_ACEOF
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798 #include <hash_map>
24799 #include <hash_set>
24800 int
24801 main ()
24802 {
24803 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24804 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24805 ;
24806 return 0;
24807 }
24808 _ACEOF
24809 rm -f conftest.$ac_objext
24810 if { (ac_try="$ac_compile"
24811 case "(($ac_try" in
24812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24813 *) ac_try_echo=$ac_try;;
24814 esac
24815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24816 (eval "$ac_compile") 2>conftest.er1
24817 ac_status=$?
24818 grep -v '^ *+' conftest.er1 >conftest.err
24819 rm -f conftest.er1
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } && {
24823 test -z "$ac_cxx_werror_flag" ||
24824 test ! -s conftest.err
24825 } && test -s conftest.$ac_objext; then
24826 wx_cv_class_stdhashmapset=yes
24827 else
24828 echo "$as_me: failed program was:" >&5
24829 sed 's/^/| /' conftest.$ac_ext >&5
24830
24831 wx_cv_class_stdhashmapset=no
24832 fi
24833
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835
24836
24837 fi
24838 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24839 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24840 fi
24841
24842
24843
24844 if test "$wx_cv_class_stdhashmapset" = yes; then
24845 cat >>confdefs.h <<\_ACEOF
24846 #define HAVE_HASH_MAP 1
24847 _ACEOF
24848
24849 cat >>confdefs.h <<\_ACEOF
24850 #define HAVE_STD_HASH_MAP 1
24851 _ACEOF
24852
24853 fi
24854
24855 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24856 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24857 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 cat >conftest.$ac_ext <<_ACEOF
24861 /* confdefs.h. */
24862 _ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866
24867
24868
24869 #include <ext/hash_map>
24870 _ACEOF
24871 rm -f conftest.$ac_objext
24872 if { (ac_try="$ac_compile"
24873 case "(($ac_try" in
24874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24875 *) ac_try_echo=$ac_try;;
24876 esac
24877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24878 (eval "$ac_compile") 2>conftest.er1
24879 ac_status=$?
24880 grep -v '^ *+' conftest.er1 >conftest.err
24881 rm -f conftest.er1
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } && {
24885 test -z "$ac_cxx_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest.$ac_objext; then
24888 ac_cv_header_ext_hash_map=yes
24889 else
24890 echo "$as_me: failed program was:" >&5
24891 sed 's/^/| /' conftest.$ac_ext >&5
24892
24893 ac_cv_header_ext_hash_map=no
24894 fi
24895
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 fi
24898 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24899 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24900 if test $ac_cv_header_ext_hash_map = yes; then
24901 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24902 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24903 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 else
24906 cat >conftest.$ac_ext <<_ACEOF
24907 /* confdefs.h. */
24908 _ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912 #include <ext/hash_map>
24913 #include <ext/hash_set>
24914 int
24915 main ()
24916 {
24917 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24918 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24919 ;
24920 return 0;
24921 }
24922 _ACEOF
24923 rm -f conftest.$ac_objext
24924 if { (ac_try="$ac_compile"
24925 case "(($ac_try" in
24926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24927 *) ac_try_echo=$ac_try;;
24928 esac
24929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24930 (eval "$ac_compile") 2>conftest.er1
24931 ac_status=$?
24932 grep -v '^ *+' conftest.er1 >conftest.err
24933 rm -f conftest.er1
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } && {
24937 test -z "$ac_cxx_werror_flag" ||
24938 test ! -s conftest.err
24939 } && test -s conftest.$ac_objext; then
24940 wx_cv_class_gnuhashmapset=yes
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24944
24945 wx_cv_class_gnuhashmapset=no
24946 fi
24947
24948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24949
24950
24951 fi
24952 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24953 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24954 fi
24955
24956
24957
24958 fi
24959 fi
24960 fi
24961
24962
24963
24964 if test -n "$GCC"; then
24965 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24966 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24967 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970
24971 cat >conftest.$ac_ext <<_ACEOF
24972 /* confdefs.h. */
24973 _ACEOF
24974 cat confdefs.h >>conftest.$ac_ext
24975 cat >>conftest.$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977
24978 int
24979 main ()
24980 {
24981
24982 unsigned int value=0;
24983 /* wxAtomicInc doesn't use return value here */
24984 __sync_fetch_and_add(&value, 2);
24985 __sync_sub_and_fetch(&value, 1);
24986 /* but wxAtomicDec does, so mimic that: */
24987 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24988
24989 ;
24990 return 0;
24991 }
24992 _ACEOF
24993 rm -f conftest.$ac_objext conftest$ac_exeext
24994 if { (ac_try="$ac_link"
24995 case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24998 esac
24999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_link") 2>conftest.er1
25001 ac_status=$?
25002 grep -v '^ *+' conftest.er1 >conftest.err
25003 rm -f conftest.er1
25004 cat conftest.err >&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } && {
25007 test -z "$ac_cxx_werror_flag" ||
25008 test ! -s conftest.err
25009 } && test -s conftest$ac_exeext &&
25010 $as_test_x conftest$ac_exeext; then
25011 wx_cv_cc_gcc_atomic_builtins=yes
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016 wx_cv_cc_gcc_atomic_builtins=no
25017 fi
25018
25019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25020 conftest$ac_exeext conftest.$ac_ext
25021
25022 fi
25023
25024 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25025 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25026 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25027 cat >>confdefs.h <<\_ACEOF
25028 #define HAVE_GCC_ATOMIC_BUILTINS 1
25029 _ACEOF
25030
25031 fi
25032 fi
25033
25034
25035 ac_ext=c
25036 ac_cpp='$CPP $CPPFLAGS'
25037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040
25041
25042
25043 SEARCH_INCLUDE="\
25044 /usr/local/include \
25045 /usr/local/X11/include \
25046 /usr/local/include/X11 \
25047 /usr/local/X11R6/include \
25048 /usr/local/include/X11R6 \
25049 \
25050 /usr/Motif-2.1/include \
25051 /usr/Motif-1.2/include \
25052 /usr/include/Motif1.2 \
25053 \
25054 /usr/dt/include \
25055 /usr/openwin/include \
25056 \
25057 /usr/include/Xm \
25058 \
25059 /usr/X11R6/include \
25060 /usr/X11R6.4/include \
25061 \
25062 /usr/include/X11R6 \
25063 \
25064 /usr/X11/include \
25065 /usr/include/X11 \
25066 \
25067 /usr/XFree86/include/X11 \
25068 /usr/pkg/include \
25069 \
25070 /usr/local/X1R5/include \
25071 /usr/local/include/X11R5 \
25072 /usr/X11R5/include \
25073 /usr/include/X11R5 \
25074 \
25075 /usr/local/X11R4/include \
25076 /usr/local/include/X11R4 \
25077 /usr/X11R4/include \
25078 /usr/include/X11R4 \
25079 \
25080 /usr/openwin/share/include"
25081
25082 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25083 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25084
25085 case "${host}" in
25086 *-*-irix6* )
25087 if test "${wx_cv_std_libpath+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090
25091 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25092 for e in a so sl dylib dll.a; do
25093 libc="$d/libc.$e"
25094 if test -f $libc; then
25095 save_LIBS="$LIBS"
25096 LIBS="$libc"
25097 cat >conftest.$ac_ext <<_ACEOF
25098 int main() { return 0; }
25099 _ACEOF
25100 rm -f conftest.$ac_objext conftest$ac_exeext
25101 if { (ac_try="$ac_link"
25102 case "(($ac_try" in
25103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25104 *) ac_try_echo=$ac_try;;
25105 esac
25106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25107 (eval "$ac_link") 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } && {
25114 test -z "$ac_c_werror_flag" ||
25115 test ! -s conftest.err
25116 } && test -s conftest$ac_exeext &&
25117 $as_test_x conftest$ac_exeext; then
25118 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25122
25123
25124 fi
25125
25126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25127 conftest$ac_exeext conftest.$ac_ext
25128 LIBS="$save_LIBS"
25129 if test "x$wx_cv_std_libpath" != "x"; then
25130 break 2
25131 fi
25132 fi
25133 done
25134 done
25135 if test "x$wx_cv_std_libpath" = "x"; then
25136 wx_cv_std_libpath="lib"
25137 fi
25138
25139
25140 fi
25141
25142 ;;
25143
25144 *-*-solaris2* )
25145 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25146 wx_cv_std_libpath="lib/64"
25147 else
25148 wx_cv_std_libpath="lib"
25149 fi
25150 ;;
25151
25152 *-*-linux* )
25153 if test "$ac_cv_sizeof_void_p" = 8 -a \
25154 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25155 wx_cv_std_libpath="lib64"
25156 else
25157 wx_cv_std_libpath="lib"
25158 fi
25159 ;;
25160
25161 *)
25162 wx_cv_std_libpath="lib";
25163 ;;
25164 esac
25165
25166 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25167 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25168
25169 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25170
25171 if test "$build" != "$host" -a "$GCC" = yes; then
25172 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25173 cross_root=`dirname $cross_root`
25174 cross_root=`dirname $cross_root`
25175
25176 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25177 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25178 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25179
25180 if test -z "$PKG_CONFIG_PATH"; then
25181 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25182 export PKG_CONFIG_PATH
25183 fi
25184
25185 if test -z "$x_includes" -o "$x_includes" = NONE; then
25186
25187 ac_find_includes=
25188 for ac_dir in $SEARCH_INCLUDE /usr/include;
25189 do
25190 if test -f "$ac_dir/X11/Intrinsic.h"; then
25191 ac_find_includes=$ac_dir
25192 break
25193 fi
25194 done
25195
25196 x_includes=$ac_find_includes
25197 fi
25198 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25199
25200 ac_find_libraries=
25201 for ac_dir in $SEARCH_LIB;
25202 do
25203 for ac_extension in a so sl dylib dll.a; do
25204 if test -f "$ac_dir/libXt.$ac_extension"; then
25205 ac_find_libraries=$ac_dir
25206 break 2
25207 fi
25208 done
25209 done
25210
25211 x_libraries=$ac_find_libraries
25212 fi
25213 fi
25214 fi
25215
25216
25217 cat >confcache <<\_ACEOF
25218 # This file is a shell script that caches the results of configure
25219 # tests run on this system so they can be shared between configure
25220 # scripts and configure runs, see configure's option --config-cache.
25221 # It is not useful on other systems. If it contains results you don't
25222 # want to keep, you may remove or edit it.
25223 #
25224 # config.status only pays attention to the cache file if you give it
25225 # the --recheck option to rerun configure.
25226 #
25227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25229 # following values.
25230
25231 _ACEOF
25232
25233 # The following way of writing the cache mishandles newlines in values,
25234 # but we know of no workaround that is simple, portable, and efficient.
25235 # So, we kill variables containing newlines.
25236 # Ultrix sh set writes to stderr and can't be redirected directly,
25237 # and sets the high bit in the cache file unless we assign to the vars.
25238 (
25239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25240 eval ac_val=\$$ac_var
25241 case $ac_val in #(
25242 *${as_nl}*)
25243 case $ac_var in #(
25244 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25246 esac
25247 case $ac_var in #(
25248 _ | IFS | as_nl) ;; #(
25249 *) $as_unset $ac_var ;;
25250 esac ;;
25251 esac
25252 done
25253
25254 (set) 2>&1 |
25255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25256 *${as_nl}ac_space=\ *)
25257 # `set' does not quote correctly, so add quotes (double-quote
25258 # substitution turns \\\\ into \\, and sed turns \\ into \).
25259 sed -n \
25260 "s/'/'\\\\''/g;
25261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25262 ;; #(
25263 *)
25264 # `set' quotes correctly as required by POSIX, so do not add quotes.
25265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25266 ;;
25267 esac |
25268 sort
25269 ) |
25270 sed '
25271 /^ac_cv_env_/b end
25272 t clear
25273 :clear
25274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25275 t end
25276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25277 :end' >>confcache
25278 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25279 if test -w "$cache_file"; then
25280 test "x$cache_file" != "x/dev/null" &&
25281 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25282 echo "$as_me: updating cache $cache_file" >&6;}
25283 cat confcache >$cache_file
25284 else
25285 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25286 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25287 fi
25288 fi
25289 rm -f confcache
25290
25291 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25292 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25293 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25294 if test "${wx_cv_lib_glibc21+set}" = set; then
25295 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 else
25297
25298 cat >conftest.$ac_ext <<_ACEOF
25299 /* confdefs.h. */
25300 _ACEOF
25301 cat confdefs.h >>conftest.$ac_ext
25302 cat >>conftest.$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25304 #include <features.h>
25305 int
25306 main ()
25307 {
25308
25309 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25310 not glibc 2.1
25311 #endif
25312
25313 ;
25314 return 0;
25315 }
25316 _ACEOF
25317 rm -f conftest.$ac_objext
25318 if { (ac_try="$ac_compile"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25322 esac
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_compile") 2>conftest.er1
25325 ac_status=$?
25326 grep -v '^ *+' conftest.er1 >conftest.err
25327 rm -f conftest.er1
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_c_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest.$ac_objext; then
25334
25335 wx_cv_lib_glibc21=yes
25336
25337 else
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.$ac_ext >&5
25340
25341
25342 wx_cv_lib_glibc21=no
25343
25344
25345 fi
25346
25347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25348
25349 fi
25350 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25351 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25352 if test "$wx_cv_lib_glibc21" = "yes"; then
25353 cat >>confdefs.h <<\_ACEOF
25354 #define wxHAVE_GLIBC2 1
25355 _ACEOF
25356
25357 fi
25358 fi
25359
25360 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25361 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25362 cat >>confdefs.h <<\_ACEOF
25363 #define _GNU_SOURCE 1
25364 _ACEOF
25365
25366 fi
25367 fi
25368
25369 have_cos=0
25370 have_floor=0
25371
25372 for ac_func in cos
25373 do
25374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25380 cat >conftest.$ac_ext <<_ACEOF
25381 /* confdefs.h. */
25382 _ACEOF
25383 cat confdefs.h >>conftest.$ac_ext
25384 cat >>conftest.$ac_ext <<_ACEOF
25385 /* end confdefs.h. */
25386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25388 #define $ac_func innocuous_$ac_func
25389
25390 /* System header to define __stub macros and hopefully few prototypes,
25391 which can conflict with char $ac_func (); below.
25392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25393 <limits.h> exists even on freestanding compilers. */
25394
25395 #ifdef __STDC__
25396 # include <limits.h>
25397 #else
25398 # include <assert.h>
25399 #endif
25400
25401 #undef $ac_func
25402
25403 /* Override any GCC internal prototype to avoid an error.
25404 Use char because int might match the return type of a GCC
25405 builtin and then its argument prototype would still apply. */
25406 #ifdef __cplusplus
25407 extern "C"
25408 #endif
25409 char $ac_func ();
25410 /* The GNU C library defines this for functions which it implements
25411 to always fail with ENOSYS. Some functions are actually named
25412 something starting with __ and the normal name is an alias. */
25413 #if defined __stub_$ac_func || defined __stub___$ac_func
25414 choke me
25415 #endif
25416
25417 int
25418 main ()
25419 {
25420 return $ac_func ();
25421 ;
25422 return 0;
25423 }
25424 _ACEOF
25425 rm -f conftest.$ac_objext conftest$ac_exeext
25426 if { (ac_try="$ac_link"
25427 case "(($ac_try" in
25428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25429 *) ac_try_echo=$ac_try;;
25430 esac
25431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25432 (eval "$ac_link") 2>conftest.er1
25433 ac_status=$?
25434 grep -v '^ *+' conftest.er1 >conftest.err
25435 rm -f conftest.er1
25436 cat conftest.err >&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); } && {
25439 test -z "$ac_c_werror_flag" ||
25440 test ! -s conftest.err
25441 } && test -s conftest$ac_exeext &&
25442 $as_test_x conftest$ac_exeext; then
25443 eval "$as_ac_var=yes"
25444 else
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.$ac_ext >&5
25447
25448 eval "$as_ac_var=no"
25449 fi
25450
25451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25452 conftest$ac_exeext conftest.$ac_ext
25453 fi
25454 ac_res=`eval echo '${'$as_ac_var'}'`
25455 { echo "$as_me:$LINENO: result: $ac_res" >&5
25456 echo "${ECHO_T}$ac_res" >&6; }
25457 if test `eval echo '${'$as_ac_var'}'` = yes; then
25458 cat >>confdefs.h <<_ACEOF
25459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25460 _ACEOF
25461 have_cos=1
25462 fi
25463 done
25464
25465
25466 for ac_func in floor
25467 do
25468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25471 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 else
25474 cat >conftest.$ac_ext <<_ACEOF
25475 /* confdefs.h. */
25476 _ACEOF
25477 cat confdefs.h >>conftest.$ac_ext
25478 cat >>conftest.$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25482 #define $ac_func innocuous_$ac_func
25483
25484 /* System header to define __stub macros and hopefully few prototypes,
25485 which can conflict with char $ac_func (); below.
25486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25487 <limits.h> exists even on freestanding compilers. */
25488
25489 #ifdef __STDC__
25490 # include <limits.h>
25491 #else
25492 # include <assert.h>
25493 #endif
25494
25495 #undef $ac_func
25496
25497 /* Override any GCC internal prototype to avoid an error.
25498 Use char because int might match the return type of a GCC
25499 builtin and then its argument prototype would still apply. */
25500 #ifdef __cplusplus
25501 extern "C"
25502 #endif
25503 char $ac_func ();
25504 /* The GNU C library defines this for functions which it implements
25505 to always fail with ENOSYS. Some functions are actually named
25506 something starting with __ and the normal name is an alias. */
25507 #if defined __stub_$ac_func || defined __stub___$ac_func
25508 choke me
25509 #endif
25510
25511 int
25512 main ()
25513 {
25514 return $ac_func ();
25515 ;
25516 return 0;
25517 }
25518 _ACEOF
25519 rm -f conftest.$ac_objext conftest$ac_exeext
25520 if { (ac_try="$ac_link"
25521 case "(($ac_try" in
25522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25523 *) ac_try_echo=$ac_try;;
25524 esac
25525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25526 (eval "$ac_link") 2>conftest.er1
25527 ac_status=$?
25528 grep -v '^ *+' conftest.er1 >conftest.err
25529 rm -f conftest.er1
25530 cat conftest.err >&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && {
25533 test -z "$ac_c_werror_flag" ||
25534 test ! -s conftest.err
25535 } && test -s conftest$ac_exeext &&
25536 $as_test_x conftest$ac_exeext; then
25537 eval "$as_ac_var=yes"
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 eval "$as_ac_var=no"
25543 fi
25544
25545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25546 conftest$ac_exeext conftest.$ac_ext
25547 fi
25548 ac_res=`eval echo '${'$as_ac_var'}'`
25549 { echo "$as_me:$LINENO: result: $ac_res" >&5
25550 echo "${ECHO_T}$ac_res" >&6; }
25551 if test `eval echo '${'$as_ac_var'}'` = yes; then
25552 cat >>confdefs.h <<_ACEOF
25553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25554 _ACEOF
25555 have_floor=1
25556 fi
25557 done
25558
25559 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25560 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25561 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25562 { echo "$as_me:$LINENO: result: yes" >&5
25563 echo "${ECHO_T}yes" >&6; }
25564 else
25565 { echo "$as_me:$LINENO: result: no" >&5
25566 echo "${ECHO_T}no" >&6; }
25567 LIBS="$LIBS -lm"
25568 # use different functions to avoid configure caching
25569 have_sin=0
25570 have_ceil=0
25571
25572 for ac_func in sin
25573 do
25574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 else
25580 cat >conftest.$ac_ext <<_ACEOF
25581 /* confdefs.h. */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25588 #define $ac_func innocuous_$ac_func
25589
25590 /* System header to define __stub macros and hopefully few prototypes,
25591 which can conflict with char $ac_func (); below.
25592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25593 <limits.h> exists even on freestanding compilers. */
25594
25595 #ifdef __STDC__
25596 # include <limits.h>
25597 #else
25598 # include <assert.h>
25599 #endif
25600
25601 #undef $ac_func
25602
25603 /* Override any GCC internal prototype to avoid an error.
25604 Use char because int might match the return type of a GCC
25605 builtin and then its argument prototype would still apply. */
25606 #ifdef __cplusplus
25607 extern "C"
25608 #endif
25609 char $ac_func ();
25610 /* The GNU C library defines this for functions which it implements
25611 to always fail with ENOSYS. Some functions are actually named
25612 something starting with __ and the normal name is an alias. */
25613 #if defined __stub_$ac_func || defined __stub___$ac_func
25614 choke me
25615 #endif
25616
25617 int
25618 main ()
25619 {
25620 return $ac_func ();
25621 ;
25622 return 0;
25623 }
25624 _ACEOF
25625 rm -f conftest.$ac_objext conftest$ac_exeext
25626 if { (ac_try="$ac_link"
25627 case "(($ac_try" in
25628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25629 *) ac_try_echo=$ac_try;;
25630 esac
25631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25632 (eval "$ac_link") 2>conftest.er1
25633 ac_status=$?
25634 grep -v '^ *+' conftest.er1 >conftest.err
25635 rm -f conftest.er1
25636 cat conftest.err >&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } && {
25639 test -z "$ac_c_werror_flag" ||
25640 test ! -s conftest.err
25641 } && test -s conftest$ac_exeext &&
25642 $as_test_x conftest$ac_exeext; then
25643 eval "$as_ac_var=yes"
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25647
25648 eval "$as_ac_var=no"
25649 fi
25650
25651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25652 conftest$ac_exeext conftest.$ac_ext
25653 fi
25654 ac_res=`eval echo '${'$as_ac_var'}'`
25655 { echo "$as_me:$LINENO: result: $ac_res" >&5
25656 echo "${ECHO_T}$ac_res" >&6; }
25657 if test `eval echo '${'$as_ac_var'}'` = yes; then
25658 cat >>confdefs.h <<_ACEOF
25659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25660 _ACEOF
25661 have_sin=1
25662 fi
25663 done
25664
25665
25666 for ac_func in ceil
25667 do
25668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25671 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 else
25674 cat >conftest.$ac_ext <<_ACEOF
25675 /* confdefs.h. */
25676 _ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25682 #define $ac_func innocuous_$ac_func
25683
25684 /* System header to define __stub macros and hopefully few prototypes,
25685 which can conflict with char $ac_func (); below.
25686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25687 <limits.h> exists even on freestanding compilers. */
25688
25689 #ifdef __STDC__
25690 # include <limits.h>
25691 #else
25692 # include <assert.h>
25693 #endif
25694
25695 #undef $ac_func
25696
25697 /* Override any GCC internal prototype to avoid an error.
25698 Use char because int might match the return type of a GCC
25699 builtin and then its argument prototype would still apply. */
25700 #ifdef __cplusplus
25701 extern "C"
25702 #endif
25703 char $ac_func ();
25704 /* The GNU C library defines this for functions which it implements
25705 to always fail with ENOSYS. Some functions are actually named
25706 something starting with __ and the normal name is an alias. */
25707 #if defined __stub_$ac_func || defined __stub___$ac_func
25708 choke me
25709 #endif
25710
25711 int
25712 main ()
25713 {
25714 return $ac_func ();
25715 ;
25716 return 0;
25717 }
25718 _ACEOF
25719 rm -f conftest.$ac_objext conftest$ac_exeext
25720 if { (ac_try="$ac_link"
25721 case "(($ac_try" in
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25724 esac
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_link") 2>conftest.er1
25727 ac_status=$?
25728 grep -v '^ *+' conftest.er1 >conftest.err
25729 rm -f conftest.er1
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_c_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest$ac_exeext &&
25736 $as_test_x conftest$ac_exeext; then
25737 eval "$as_ac_var=yes"
25738 else
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.$ac_ext >&5
25741
25742 eval "$as_ac_var=no"
25743 fi
25744
25745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25746 conftest$ac_exeext conftest.$ac_ext
25747 fi
25748 ac_res=`eval echo '${'$as_ac_var'}'`
25749 { echo "$as_me:$LINENO: result: $ac_res" >&5
25750 echo "${ECHO_T}$ac_res" >&6; }
25751 if test `eval echo '${'$as_ac_var'}'` = yes; then
25752 cat >>confdefs.h <<_ACEOF
25753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25754 _ACEOF
25755 have_ceil=1
25756 fi
25757 done
25758
25759 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25760 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25761 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25762 { echo "$as_me:$LINENO: result: yes" >&5
25763 echo "${ECHO_T}yes" >&6; }
25764 else
25765 { echo "$as_me:$LINENO: result: no" >&5
25766 echo "${ECHO_T}no" >&6; }
25767 # not sure we should warn the user, crash, etc.
25768 fi
25769 fi
25770
25771 ac_ext=cpp
25772 ac_cpp='$CXXCPP $CPPFLAGS'
25773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25776
25777 if test "wxUSE_UNICODE" = "yes"; then
25778
25779 for wx_func in wcstoull
25780 do
25781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25783 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786
25787 cat >conftest.$ac_ext <<_ACEOF
25788
25789 /* confdefs.h. */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794
25795
25796 $ac_includes_default
25797
25798 int
25799 main ()
25800 {
25801
25802 #ifndef $wx_func
25803 &$wx_func;
25804 #endif
25805
25806
25807 ;
25808 return 0;
25809 }
25810
25811 _ACEOF
25812 rm -f conftest.$ac_objext conftest$ac_exeext
25813 if { (ac_try="$ac_link"
25814 case "(($ac_try" in
25815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25816 *) ac_try_echo=$ac_try;;
25817 esac
25818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25819 (eval "$ac_link") 2>conftest.er1
25820 ac_status=$?
25821 grep -v '^ *+' conftest.er1 >conftest.err
25822 rm -f conftest.er1
25823 cat conftest.err >&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } && {
25826 test -z "$ac_cxx_werror_flag" ||
25827 test ! -s conftest.err
25828 } && test -s conftest$ac_exeext &&
25829 $as_test_x conftest$ac_exeext; then
25830 eval wx_cv_func_$wx_func=yes
25831 else
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25834
25835 eval wx_cv_func_$wx_func=no
25836 fi
25837
25838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25839 conftest$ac_exeext conftest.$ac_ext
25840
25841 fi
25842 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25843 { echo "$as_me:$LINENO: result: $ac_res" >&5
25844 echo "${ECHO_T}$ac_res" >&6; }
25845
25846 if eval test \$wx_cv_func_$wx_func = yes
25847 then
25848 cat >>confdefs.h <<_ACEOF
25849 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25850 _ACEOF
25851
25852
25853 else
25854 :
25855
25856 fi
25857 done
25858
25859 else
25860
25861 for wx_func in strtoull
25862 do
25863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25865 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25867 else
25868
25869 cat >conftest.$ac_ext <<_ACEOF
25870
25871 /* confdefs.h. */
25872 _ACEOF
25873 cat confdefs.h >>conftest.$ac_ext
25874 cat >>conftest.$ac_ext <<_ACEOF
25875 /* end confdefs.h. */
25876
25877
25878 $ac_includes_default
25879
25880 int
25881 main ()
25882 {
25883
25884 #ifndef $wx_func
25885 &$wx_func;
25886 #endif
25887
25888
25889 ;
25890 return 0;
25891 }
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_cxx_werror_flag" ||
25909 test ! -s conftest.err
25910 } && test -s conftest$ac_exeext &&
25911 $as_test_x conftest$ac_exeext; then
25912 eval wx_cv_func_$wx_func=yes
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25916
25917 eval wx_cv_func_$wx_func=no
25918 fi
25919
25920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25921 conftest$ac_exeext conftest.$ac_ext
25922
25923 fi
25924 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25925 { echo "$as_me:$LINENO: result: $ac_res" >&5
25926 echo "${ECHO_T}$ac_res" >&6; }
25927
25928 if eval test \$wx_cv_func_$wx_func = yes
25929 then
25930 cat >>confdefs.h <<_ACEOF
25931 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25932 _ACEOF
25933
25934
25935 else
25936 :
25937
25938 fi
25939 done
25940
25941 fi
25942 ac_ext=c
25943 ac_cpp='$CPP $CPPFLAGS'
25944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25947
25948
25949
25950
25951 if test "$wxUSE_REGEX" != "no"; then
25952 cat >>confdefs.h <<\_ACEOF
25953 #define wxUSE_REGEX 1
25954 _ACEOF
25955
25956
25957 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25958 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25959 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25960 wxUSE_REGEX=builtin
25961 fi
25962
25963 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25964 { echo "$as_me:$LINENO: checking for regex.h" >&5
25965 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25966 if test "${ac_cv_header_regex_h+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975
25976
25977 #include <regex.h>
25978 _ACEOF
25979 rm -f conftest.$ac_objext
25980 if { (ac_try="$ac_compile"
25981 case "(($ac_try" in
25982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25983 *) ac_try_echo=$ac_try;;
25984 esac
25985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25986 (eval "$ac_compile") 2>conftest.er1
25987 ac_status=$?
25988 grep -v '^ *+' conftest.er1 >conftest.err
25989 rm -f conftest.er1
25990 cat conftest.err >&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } && {
25993 test -z "$ac_c_werror_flag" ||
25994 test ! -s conftest.err
25995 } && test -s conftest.$ac_objext; then
25996 ac_cv_header_regex_h=yes
25997 else
25998 echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.$ac_ext >&5
26000
26001 ac_cv_header_regex_h=no
26002 fi
26003
26004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26005 fi
26006 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26007 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26008 if test $ac_cv_header_regex_h = yes; then
26009
26010
26011 for ac_func in regcomp re_search
26012 do
26013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26014 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26016 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 else
26019 cat >conftest.$ac_ext <<_ACEOF
26020 /* confdefs.h. */
26021 _ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26027 #define $ac_func innocuous_$ac_func
26028
26029 /* System header to define __stub macros and hopefully few prototypes,
26030 which can conflict with char $ac_func (); below.
26031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26032 <limits.h> exists even on freestanding compilers. */
26033
26034 #ifdef __STDC__
26035 # include <limits.h>
26036 #else
26037 # include <assert.h>
26038 #endif
26039
26040 #undef $ac_func
26041
26042 /* Override any GCC internal prototype to avoid an error.
26043 Use char because int might match the return type of a GCC
26044 builtin and then its argument prototype would still apply. */
26045 #ifdef __cplusplus
26046 extern "C"
26047 #endif
26048 char $ac_func ();
26049 /* The GNU C library defines this for functions which it implements
26050 to always fail with ENOSYS. Some functions are actually named
26051 something starting with __ and the normal name is an alias. */
26052 #if defined __stub_$ac_func || defined __stub___$ac_func
26053 choke me
26054 #endif
26055
26056 int
26057 main ()
26058 {
26059 return $ac_func ();
26060 ;
26061 return 0;
26062 }
26063 _ACEOF
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (ac_try="$ac_link"
26066 case "(($ac_try" in
26067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26068 *) ac_try_echo=$ac_try;;
26069 esac
26070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26071 (eval "$ac_link") 2>conftest.er1
26072 ac_status=$?
26073 grep -v '^ *+' conftest.er1 >conftest.err
26074 rm -f conftest.er1
26075 cat conftest.err >&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); } && {
26078 test -z "$ac_c_werror_flag" ||
26079 test ! -s conftest.err
26080 } && test -s conftest$ac_exeext &&
26081 $as_test_x conftest$ac_exeext; then
26082 eval "$as_ac_var=yes"
26083 else
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.$ac_ext >&5
26086
26087 eval "$as_ac_var=no"
26088 fi
26089
26090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26091 conftest$ac_exeext conftest.$ac_ext
26092 fi
26093 ac_res=`eval echo '${'$as_ac_var'}'`
26094 { echo "$as_me:$LINENO: result: $ac_res" >&5
26095 echo "${ECHO_T}$ac_res" >&6; }
26096 if test `eval echo '${'$as_ac_var'}'` = yes; then
26097 cat >>confdefs.h <<_ACEOF
26098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26099 _ACEOF
26100
26101 fi
26102 done
26103
26104 fi
26105
26106
26107
26108 if test "x$ac_cv_func_regcomp" != "xyes"; then
26109 if test "$wxUSE_REGEX" = "sys" ; then
26110 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26111 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26112 { (exit 1); exit 1; }; }
26113 else
26114 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26115 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26116 wxUSE_REGEX=builtin
26117 fi
26118 else
26119 wxUSE_REGEX=sys
26120 cat >>confdefs.h <<\_ACEOF
26121 #define WX_NO_REGEX_ADVANCED 1
26122 _ACEOF
26123
26124 fi
26125 fi
26126 fi
26127
26128
26129 ZLIB_LINK=
26130 if test "$wxUSE_ZLIB" != "no" ; then
26131 cat >>confdefs.h <<\_ACEOF
26132 #define wxUSE_ZLIB 1
26133 _ACEOF
26134
26135
26136 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26137 if test "$USE_DARWIN" = 1; then
26138 system_zlib_h_ok="yes"
26139 else
26140 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26141 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26142 if test "${ac_cv_header_zlib_h+set}" = set; then
26143 echo $ECHO_N "(cached) $ECHO_C" >&6
26144 else
26145 if test "$cross_compiling" = yes; then
26146 unset ac_cv_header_zlib_h
26147
26148 else
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155
26156 #include <zlib.h>
26157 #include <stdio.h>
26158
26159 int main()
26160 {
26161 FILE *f=fopen("conftestval", "w");
26162 if (!f) exit(1);
26163 fprintf(f, "%s",
26164 ZLIB_VERSION[0] == '1' &&
26165 (ZLIB_VERSION[2] > '1' ||
26166 (ZLIB_VERSION[2] == '1' &&
26167 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26168 exit(0);
26169 }
26170
26171 _ACEOF
26172 rm -f conftest$ac_exeext
26173 if { (ac_try="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26177 esac
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26183 { (case "(($ac_try" in
26184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26185 *) ac_try_echo=$ac_try;;
26186 esac
26187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26188 (eval "$ac_try") 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_header_zlib_h=`cat conftestval`
26193 else
26194 echo "$as_me: program exited with status $ac_status" >&5
26195 echo "$as_me: failed program was:" >&5
26196 sed 's/^/| /' conftest.$ac_ext >&5
26197
26198 ( exit $ac_status )
26199 ac_cv_header_zlib_h=no
26200 fi
26201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26202 fi
26203
26204
26205
26206 fi
26207 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26208 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26209 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26210 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26211 if test "${ac_cv_header_zlib_h+set}" = set; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26214 cat >conftest.$ac_ext <<_ACEOF
26215 /* confdefs.h. */
26216 _ACEOF
26217 cat confdefs.h >>conftest.$ac_ext
26218 cat >>conftest.$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26220
26221
26222 #include <zlib.h>
26223 _ACEOF
26224 rm -f conftest.$ac_objext
26225 if { (ac_try="$ac_compile"
26226 case "(($ac_try" in
26227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26228 *) ac_try_echo=$ac_try;;
26229 esac
26230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26231 (eval "$ac_compile") 2>conftest.er1
26232 ac_status=$?
26233 grep -v '^ *+' conftest.er1 >conftest.err
26234 rm -f conftest.er1
26235 cat conftest.err >&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } && {
26238 test -z "$ac_c_werror_flag" ||
26239 test ! -s conftest.err
26240 } && test -s conftest.$ac_objext; then
26241 ac_cv_header_zlib_h=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26245
26246 ac_cv_header_zlib_h=no
26247 fi
26248
26249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26250 fi
26251 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26252 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26253
26254
26255
26256 system_zlib_h_ok=$ac_cv_header_zlib_h
26257 fi
26258
26259 if test "$system_zlib_h_ok" = "yes"; then
26260 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26261 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26262 if test "${ac_cv_lib_z_deflate+set}" = set; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 else
26265 ac_check_lib_save_LIBS=$LIBS
26266 LIBS="-lz $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
26275 Use char because int might match the return type of a GCC
26276 builtin and then its argument prototype would still apply. */
26277 #ifdef __cplusplus
26278 extern "C"
26279 #endif
26280 char deflate ();
26281 int
26282 main ()
26283 {
26284 return deflate ();
26285 ;
26286 return 0;
26287 }
26288 _ACEOF
26289 rm -f conftest.$ac_objext conftest$ac_exeext
26290 if { (ac_try="$ac_link"
26291 case "(($ac_try" in
26292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26293 *) ac_try_echo=$ac_try;;
26294 esac
26295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26296 (eval "$ac_link") 2>conftest.er1
26297 ac_status=$?
26298 grep -v '^ *+' conftest.er1 >conftest.err
26299 rm -f conftest.er1
26300 cat conftest.err >&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } && {
26303 test -z "$ac_c_werror_flag" ||
26304 test ! -s conftest.err
26305 } && test -s conftest$ac_exeext &&
26306 $as_test_x conftest$ac_exeext; then
26307 ac_cv_lib_z_deflate=yes
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26311
26312 ac_cv_lib_z_deflate=no
26313 fi
26314
26315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26316 conftest$ac_exeext conftest.$ac_ext
26317 LIBS=$ac_check_lib_save_LIBS
26318 fi
26319 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26320 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26321 if test $ac_cv_lib_z_deflate = yes; then
26322 ZLIB_LINK=" -lz"
26323 fi
26324
26325 fi
26326
26327 if test "x$ZLIB_LINK" = "x" ; then
26328 if test "$wxUSE_ZLIB" = "sys" ; then
26329 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26330 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26331 { (exit 1); exit 1; }; }
26332 else
26333 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26334 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26335 wxUSE_ZLIB=builtin
26336 fi
26337 else
26338 wxUSE_ZLIB=sys
26339 fi
26340 fi
26341 fi
26342
26343
26344 PNG_LINK=
26345 if test "$wxUSE_LIBPNG" != "no" ; then
26346 cat >>confdefs.h <<\_ACEOF
26347 #define wxUSE_LIBPNG 1
26348 _ACEOF
26349
26350
26351 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26352 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26353 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26354 wxUSE_LIBPNG=sys
26355 fi
26356
26357 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26358 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26359 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26360 wxUSE_LIBPNG=builtin
26361 fi
26362
26363 if test "$wxUSE_MGL" != 1 ; then
26364 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26365 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26366 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26367 if test "${ac_cv_header_png_h+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 if test "$cross_compiling" = yes; then
26371 unset ac_cv_header_png_h
26372
26373 else
26374 cat >conftest.$ac_ext <<_ACEOF
26375 /* confdefs.h. */
26376 _ACEOF
26377 cat confdefs.h >>conftest.$ac_ext
26378 cat >>conftest.$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26380
26381 #include <png.h>
26382 #include <stdio.h>
26383
26384 int main()
26385 {
26386 FILE *f=fopen("conftestval", "w");
26387 if (!f) exit(1);
26388 fprintf(f, "%s",
26389 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26390 exit(0);
26391 }
26392
26393 _ACEOF
26394 rm -f conftest$ac_exeext
26395 if { (ac_try="$ac_link"
26396 case "(($ac_try" in
26397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26398 *) ac_try_echo=$ac_try;;
26399 esac
26400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26401 (eval "$ac_link") 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26405 { (case "(($ac_try" in
26406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26407 *) ac_try_echo=$ac_try;;
26408 esac
26409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26410 (eval "$ac_try") 2>&5
26411 ac_status=$?
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; }; then
26414 ac_cv_header_png_h=`cat conftestval`
26415 else
26416 echo "$as_me: program exited with status $ac_status" >&5
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26419
26420 ( exit $ac_status )
26421 ac_cv_header_png_h=no
26422 fi
26423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26424 fi
26425
26426
26427
26428 fi
26429 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26430 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26431 { echo "$as_me:$LINENO: checking for png.h" >&5
26432 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26433 if test "${ac_cv_header_png_h+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26435 else
26436 cat >conftest.$ac_ext <<_ACEOF
26437 /* confdefs.h. */
26438 _ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442
26443
26444 #include <png.h>
26445 _ACEOF
26446 rm -f conftest.$ac_objext
26447 if { (ac_try="$ac_compile"
26448 case "(($ac_try" in
26449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26450 *) ac_try_echo=$ac_try;;
26451 esac
26452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26453 (eval "$ac_compile") 2>conftest.er1
26454 ac_status=$?
26455 grep -v '^ *+' conftest.er1 >conftest.err
26456 rm -f conftest.er1
26457 cat conftest.err >&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); } && {
26460 test -z "$ac_c_werror_flag" ||
26461 test ! -s conftest.err
26462 } && test -s conftest.$ac_objext; then
26463 ac_cv_header_png_h=yes
26464 else
26465 echo "$as_me: failed program was:" >&5
26466 sed 's/^/| /' conftest.$ac_ext >&5
26467
26468 ac_cv_header_png_h=no
26469 fi
26470
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 fi
26473 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26474 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26475
26476
26477
26478 if test "$ac_cv_header_png_h" = "yes"; then
26479 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26480 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26481 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 else
26484 ac_check_lib_save_LIBS=$LIBS
26485 LIBS="-lpng -lz -lm $LIBS"
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492
26493 /* Override any GCC internal prototype to avoid an error.
26494 Use char because int might match the return type of a GCC
26495 builtin and then its argument prototype would still apply. */
26496 #ifdef __cplusplus
26497 extern "C"
26498 #endif
26499 char png_check_sig ();
26500 int
26501 main ()
26502 {
26503 return png_check_sig ();
26504 ;
26505 return 0;
26506 }
26507 _ACEOF
26508 rm -f conftest.$ac_objext conftest$ac_exeext
26509 if { (ac_try="$ac_link"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26513 esac
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_link") 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_c_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest$ac_exeext &&
26525 $as_test_x conftest$ac_exeext; then
26526 ac_cv_lib_png_png_check_sig=yes
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26530
26531 ac_cv_lib_png_png_check_sig=no
26532 fi
26533
26534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26535 conftest$ac_exeext conftest.$ac_ext
26536 LIBS=$ac_check_lib_save_LIBS
26537 fi
26538 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26539 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26540 if test $ac_cv_lib_png_png_check_sig = yes; then
26541 PNG_LINK=" -lpng -lz"
26542 fi
26543
26544 fi
26545
26546 if test "x$PNG_LINK" = "x" ; then
26547 if test "$wxUSE_LIBPNG" = "sys" ; then
26548 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26549 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26550 { (exit 1); exit 1; }; }
26551 else
26552 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26553 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26554 wxUSE_LIBPNG=builtin
26555 fi
26556 else
26557 wxUSE_LIBPNG=sys
26558 fi
26559 fi
26560 fi
26561 fi
26562
26563
26564 JPEG_LINK=
26565 if test "$wxUSE_LIBJPEG" != "no" ; then
26566 cat >>confdefs.h <<\_ACEOF
26567 #define wxUSE_LIBJPEG 1
26568 _ACEOF
26569
26570
26571 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26572 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26573 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26574 wxUSE_LIBJPEG=sys
26575 fi
26576
26577 if test "$wxUSE_MGL" != 1 ; then
26578 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26579 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26580 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26581 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26582 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 else
26584 cat >conftest.$ac_ext <<_ACEOF
26585 /* confdefs.h. */
26586 _ACEOF
26587 cat confdefs.h >>conftest.$ac_ext
26588 cat >>conftest.$ac_ext <<_ACEOF
26589 /* end confdefs.h. */
26590
26591 #undef HAVE_STDLIB_H
26592 #include <stdio.h>
26593 #include <jpeglib.h>
26594
26595 int
26596 main ()
26597 {
26598
26599
26600 ;
26601 return 0;
26602 }
26603 _ACEOF
26604 rm -f conftest.$ac_objext
26605 if { (ac_try="$ac_compile"
26606 case "(($ac_try" in
26607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26608 *) ac_try_echo=$ac_try;;
26609 esac
26610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26611 (eval "$ac_compile") 2>conftest.er1
26612 ac_status=$?
26613 grep -v '^ *+' conftest.er1 >conftest.err
26614 rm -f conftest.er1
26615 cat conftest.err >&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && {
26618 test -z "$ac_c_werror_flag" ||
26619 test ! -s conftest.err
26620 } && test -s conftest.$ac_objext; then
26621 ac_cv_header_jpeglib_h=yes
26622 else
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 ac_cv_header_jpeglib_h=no
26627
26628 fi
26629
26630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26631
26632 fi
26633
26634 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26635 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26636
26637 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26638 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26639 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26640 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 else
26643 ac_check_lib_save_LIBS=$LIBS
26644 LIBS="-ljpeg $LIBS"
26645 cat >conftest.$ac_ext <<_ACEOF
26646 /* confdefs.h. */
26647 _ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26651
26652 /* Override any GCC internal prototype to avoid an error.
26653 Use char because int might match the return type of a GCC
26654 builtin and then its argument prototype would still apply. */
26655 #ifdef __cplusplus
26656 extern "C"
26657 #endif
26658 char jpeg_read_header ();
26659 int
26660 main ()
26661 {
26662 return jpeg_read_header ();
26663 ;
26664 return 0;
26665 }
26666 _ACEOF
26667 rm -f conftest.$ac_objext conftest$ac_exeext
26668 if { (ac_try="$ac_link"
26669 case "(($ac_try" in
26670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26671 *) ac_try_echo=$ac_try;;
26672 esac
26673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26674 (eval "$ac_link") 2>conftest.er1
26675 ac_status=$?
26676 grep -v '^ *+' conftest.er1 >conftest.err
26677 rm -f conftest.er1
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } && {
26681 test -z "$ac_c_werror_flag" ||
26682 test ! -s conftest.err
26683 } && test -s conftest$ac_exeext &&
26684 $as_test_x conftest$ac_exeext; then
26685 ac_cv_lib_jpeg_jpeg_read_header=yes
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 ac_cv_lib_jpeg_jpeg_read_header=no
26691 fi
26692
26693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26694 conftest$ac_exeext conftest.$ac_ext
26695 LIBS=$ac_check_lib_save_LIBS
26696 fi
26697 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26698 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26699 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26700 JPEG_LINK=" -ljpeg"
26701 fi
26702
26703 fi
26704
26705 if test "x$JPEG_LINK" = "x" ; then
26706 if test "$wxUSE_LIBJPEG" = "sys" ; then
26707 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26708 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26709 { (exit 1); exit 1; }; }
26710 else
26711 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26712 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26713 wxUSE_LIBJPEG=builtin
26714 fi
26715 else
26716 wxUSE_LIBJPEG=sys
26717
26718 if test "$wxUSE_MSW" = 1; then
26719 { echo "$as_me:$LINENO: checking for boolean" >&5
26720 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26721 if test "${ac_cv_type_boolean+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 else
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 #include <windows.h>
26731
26732 typedef boolean ac__type_new_;
26733 int
26734 main ()
26735 {
26736 if ((ac__type_new_ *) 0)
26737 return 0;
26738 if (sizeof (ac__type_new_))
26739 return 0;
26740 ;
26741 return 0;
26742 }
26743 _ACEOF
26744 rm -f conftest.$ac_objext
26745 if { (ac_try="$ac_compile"
26746 case "(($ac_try" in
26747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26748 *) ac_try_echo=$ac_try;;
26749 esac
26750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26751 (eval "$ac_compile") 2>conftest.er1
26752 ac_status=$?
26753 grep -v '^ *+' conftest.er1 >conftest.err
26754 rm -f conftest.er1
26755 cat conftest.err >&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); } && {
26758 test -z "$ac_c_werror_flag" ||
26759 test ! -s conftest.err
26760 } && test -s conftest.$ac_objext; then
26761 ac_cv_type_boolean=yes
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766 ac_cv_type_boolean=no
26767 fi
26768
26769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26770 fi
26771 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26772 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26773 if test $ac_cv_type_boolean = yes; then
26774
26775 cat >>confdefs.h <<_ACEOF
26776 #define HAVE_BOOLEAN 1
26777 _ACEOF
26778
26779
26780 { echo "$as_me:$LINENO: checking for boolean" >&5
26781 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26782 if test "${ac_cv_type_boolean+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 else
26785 cat >conftest.$ac_ext <<_ACEOF
26786 /* confdefs.h. */
26787 _ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26791
26792 #undef HAVE_BOOLEAN
26793 #include <stdio.h>
26794 #include <jpeglib.h>
26795
26796
26797 typedef boolean ac__type_new_;
26798 int
26799 main ()
26800 {
26801 if ((ac__type_new_ *) 0)
26802 return 0;
26803 if (sizeof (ac__type_new_))
26804 return 0;
26805 ;
26806 return 0;
26807 }
26808 _ACEOF
26809 rm -f conftest.$ac_objext
26810 if { (ac_try="$ac_compile"
26811 case "(($ac_try" in
26812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26813 *) ac_try_echo=$ac_try;;
26814 esac
26815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26816 (eval "$ac_compile") 2>conftest.er1
26817 ac_status=$?
26818 grep -v '^ *+' conftest.er1 >conftest.err
26819 rm -f conftest.er1
26820 cat conftest.err >&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } && {
26823 test -z "$ac_c_werror_flag" ||
26824 test ! -s conftest.err
26825 } && test -s conftest.$ac_objext; then
26826 ac_cv_type_boolean=yes
26827 else
26828 echo "$as_me: failed program was:" >&5
26829 sed 's/^/| /' conftest.$ac_ext >&5
26830
26831 ac_cv_type_boolean=no
26832 fi
26833
26834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 fi
26836 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26837 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26838
26839 # The cast to long int works around a bug in the HP C Compiler
26840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26842 # This bug is HP SR number 8606223364.
26843 { echo "$as_me:$LINENO: checking size of boolean" >&5
26844 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26845 if test "${ac_cv_sizeof_boolean+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26848 if test "$cross_compiling" = yes; then
26849 # Depending upon the size, compute the lo and hi bounds.
26850 cat >conftest.$ac_ext <<_ACEOF
26851 /* confdefs.h. */
26852 _ACEOF
26853 cat confdefs.h >>conftest.$ac_ext
26854 cat >>conftest.$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856
26857 #undef HAVE_BOOLEAN
26858 #include <stdio.h>
26859 #include <jpeglib.h>
26860
26861
26862 typedef boolean ac__type_sizeof_;
26863 int
26864 main ()
26865 {
26866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26867 test_array [0] = 0
26868
26869 ;
26870 return 0;
26871 }
26872 _ACEOF
26873 rm -f conftest.$ac_objext
26874 if { (ac_try="$ac_compile"
26875 case "(($ac_try" in
26876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26877 *) ac_try_echo=$ac_try;;
26878 esac
26879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26880 (eval "$ac_compile") 2>conftest.er1
26881 ac_status=$?
26882 grep -v '^ *+' conftest.er1 >conftest.err
26883 rm -f conftest.er1
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } && {
26887 test -z "$ac_c_werror_flag" ||
26888 test ! -s conftest.err
26889 } && test -s conftest.$ac_objext; then
26890 ac_lo=0 ac_mid=0
26891 while :; do
26892 cat >conftest.$ac_ext <<_ACEOF
26893 /* confdefs.h. */
26894 _ACEOF
26895 cat confdefs.h >>conftest.$ac_ext
26896 cat >>conftest.$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898
26899 #undef HAVE_BOOLEAN
26900 #include <stdio.h>
26901 #include <jpeglib.h>
26902
26903
26904 typedef boolean ac__type_sizeof_;
26905 int
26906 main ()
26907 {
26908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26909 test_array [0] = 0
26910
26911 ;
26912 return 0;
26913 }
26914 _ACEOF
26915 rm -f conftest.$ac_objext
26916 if { (ac_try="$ac_compile"
26917 case "(($ac_try" in
26918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26919 *) ac_try_echo=$ac_try;;
26920 esac
26921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26922 (eval "$ac_compile") 2>conftest.er1
26923 ac_status=$?
26924 grep -v '^ *+' conftest.er1 >conftest.err
26925 rm -f conftest.er1
26926 cat conftest.err >&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } && {
26929 test -z "$ac_c_werror_flag" ||
26930 test ! -s conftest.err
26931 } && test -s conftest.$ac_objext; then
26932 ac_hi=$ac_mid; break
26933 else
26934 echo "$as_me: failed program was:" >&5
26935 sed 's/^/| /' conftest.$ac_ext >&5
26936
26937 ac_lo=`expr $ac_mid + 1`
26938 if test $ac_lo -le $ac_mid; then
26939 ac_lo= ac_hi=
26940 break
26941 fi
26942 ac_mid=`expr 2 '*' $ac_mid + 1`
26943 fi
26944
26945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26946 done
26947 else
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.$ac_ext >&5
26950
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957
26958 #undef HAVE_BOOLEAN
26959 #include <stdio.h>
26960 #include <jpeglib.h>
26961
26962
26963 typedef boolean ac__type_sizeof_;
26964 int
26965 main ()
26966 {
26967 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26968 test_array [0] = 0
26969
26970 ;
26971 return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest.$ac_objext
26975 if { (ac_try="$ac_compile"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26978 *) ac_try_echo=$ac_try;;
26979 esac
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_compile") 2>conftest.er1
26982 ac_status=$?
26983 grep -v '^ *+' conftest.er1 >conftest.err
26984 rm -f conftest.er1
26985 cat conftest.err >&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } && {
26988 test -z "$ac_c_werror_flag" ||
26989 test ! -s conftest.err
26990 } && test -s conftest.$ac_objext; then
26991 ac_hi=-1 ac_mid=-1
26992 while :; do
26993 cat >conftest.$ac_ext <<_ACEOF
26994 /* confdefs.h. */
26995 _ACEOF
26996 cat confdefs.h >>conftest.$ac_ext
26997 cat >>conftest.$ac_ext <<_ACEOF
26998 /* end confdefs.h. */
26999
27000 #undef HAVE_BOOLEAN
27001 #include <stdio.h>
27002 #include <jpeglib.h>
27003
27004
27005 typedef boolean ac__type_sizeof_;
27006 int
27007 main ()
27008 {
27009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27010 test_array [0] = 0
27011
27012 ;
27013 return 0;
27014 }
27015 _ACEOF
27016 rm -f conftest.$ac_objext
27017 if { (ac_try="$ac_compile"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27021 esac
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_compile") 2>conftest.er1
27024 ac_status=$?
27025 grep -v '^ *+' conftest.er1 >conftest.err
27026 rm -f conftest.er1
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_c_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest.$ac_objext; then
27033 ac_lo=$ac_mid; break
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_hi=`expr '(' $ac_mid ')' - 1`
27039 if test $ac_mid -le $ac_hi; then
27040 ac_lo= ac_hi=
27041 break
27042 fi
27043 ac_mid=`expr 2 '*' $ac_mid`
27044 fi
27045
27046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27047 done
27048 else
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.$ac_ext >&5
27051
27052 ac_lo= ac_hi=
27053 fi
27054
27055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27056 fi
27057
27058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27059 # Binary search between lo and hi bounds.
27060 while test "x$ac_lo" != "x$ac_hi"; do
27061 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27062 cat >conftest.$ac_ext <<_ACEOF
27063 /* confdefs.h. */
27064 _ACEOF
27065 cat confdefs.h >>conftest.$ac_ext
27066 cat >>conftest.$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27068
27069 #undef HAVE_BOOLEAN
27070 #include <stdio.h>
27071 #include <jpeglib.h>
27072
27073
27074 typedef boolean ac__type_sizeof_;
27075 int
27076 main ()
27077 {
27078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27079 test_array [0] = 0
27080
27081 ;
27082 return 0;
27083 }
27084 _ACEOF
27085 rm -f conftest.$ac_objext
27086 if { (ac_try="$ac_compile"
27087 case "(($ac_try" in
27088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27089 *) ac_try_echo=$ac_try;;
27090 esac
27091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27092 (eval "$ac_compile") 2>conftest.er1
27093 ac_status=$?
27094 grep -v '^ *+' conftest.er1 >conftest.err
27095 rm -f conftest.er1
27096 cat conftest.err >&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } && {
27099 test -z "$ac_c_werror_flag" ||
27100 test ! -s conftest.err
27101 } && test -s conftest.$ac_objext; then
27102 ac_hi=$ac_mid
27103 else
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27106
27107 ac_lo=`expr '(' $ac_mid ')' + 1`
27108 fi
27109
27110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111 done
27112 case $ac_lo in
27113 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27114 '') if test "$ac_cv_type_boolean" = yes; then
27115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27116 See \`config.log' for more details." >&5
27117 echo "$as_me: error: cannot compute sizeof (boolean)
27118 See \`config.log' for more details." >&2;}
27119 { (exit 77); exit 77; }; }
27120 else
27121 ac_cv_sizeof_boolean=0
27122 fi ;;
27123 esac
27124 else
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131
27132 #undef HAVE_BOOLEAN
27133 #include <stdio.h>
27134 #include <jpeglib.h>
27135
27136
27137 typedef boolean ac__type_sizeof_;
27138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27140 #include <stdio.h>
27141 #include <stdlib.h>
27142 int
27143 main ()
27144 {
27145
27146 FILE *f = fopen ("conftest.val", "w");
27147 if (! f)
27148 return 1;
27149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27150 {
27151 long int i = longval ();
27152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27153 return 1;
27154 fprintf (f, "%ld\n", i);
27155 }
27156 else
27157 {
27158 unsigned long int i = ulongval ();
27159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27160 return 1;
27161 fprintf (f, "%lu\n", i);
27162 }
27163 return ferror (f) || fclose (f) != 0;
27164
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest$ac_exeext
27170 if { (ac_try="$ac_link"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27174 esac
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_link") 2>&5
27177 ac_status=$?
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27180 { (case "(($ac_try" in
27181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27182 *) ac_try_echo=$ac_try;;
27183 esac
27184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27185 (eval "$ac_try") 2>&5
27186 ac_status=$?
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); }; }; then
27189 ac_cv_sizeof_boolean=`cat conftest.val`
27190 else
27191 echo "$as_me: program exited with status $ac_status" >&5
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27194
27195 ( exit $ac_status )
27196 if test "$ac_cv_type_boolean" = yes; then
27197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27198 See \`config.log' for more details." >&5
27199 echo "$as_me: error: cannot compute sizeof (boolean)
27200 See \`config.log' for more details." >&2;}
27201 { (exit 77); exit 77; }; }
27202 else
27203 ac_cv_sizeof_boolean=0
27204 fi
27205 fi
27206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27207 fi
27208 rm -f conftest.val
27209 fi
27210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27211 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27212
27213
27214
27215 cat >>confdefs.h <<_ACEOF
27216 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27217 _ACEOF
27218
27219
27220 cat >>confdefs.h <<_ACEOF
27221 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27222 _ACEOF
27223
27224
27225 fi
27226
27227 fi
27228 fi
27229 fi
27230 fi
27231 fi
27232
27233
27234 TIFF_LINK=
27235 TIFF_PREREQ_LINKS=-lm
27236 if test "$wxUSE_LIBTIFF" != "no" ; then
27237 cat >>confdefs.h <<\_ACEOF
27238 #define wxUSE_LIBTIFF 1
27239 _ACEOF
27240
27241
27242 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27243 if test "$wxUSE_LIBJPEG" = "sys"; then
27244 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27245 fi
27246 if test "$wxUSE_ZLIB" = "sys"; then
27247 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27248 fi
27249 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27250 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27251 if test "${ac_cv_header_tiffio_h+set}" = set; then
27252 echo $ECHO_N "(cached) $ECHO_C" >&6
27253 else
27254 cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h. */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260
27261
27262
27263 #include <tiffio.h>
27264 _ACEOF
27265 rm -f conftest.$ac_objext
27266 if { (ac_try="$ac_compile"
27267 case "(($ac_try" in
27268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27269 *) ac_try_echo=$ac_try;;
27270 esac
27271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27272 (eval "$ac_compile") 2>conftest.er1
27273 ac_status=$?
27274 grep -v '^ *+' conftest.er1 >conftest.err
27275 rm -f conftest.er1
27276 cat conftest.err >&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); } && {
27279 test -z "$ac_c_werror_flag" ||
27280 test ! -s conftest.err
27281 } && test -s conftest.$ac_objext; then
27282 ac_cv_header_tiffio_h=yes
27283 else
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.$ac_ext >&5
27286
27287 ac_cv_header_tiffio_h=no
27288 fi
27289
27290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291 fi
27292 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27293 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27294 if test $ac_cv_header_tiffio_h = yes; then
27295
27296 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27297 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27298 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 else
27301 ac_check_lib_save_LIBS=$LIBS
27302 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27303 cat >conftest.$ac_ext <<_ACEOF
27304 /* confdefs.h. */
27305 _ACEOF
27306 cat confdefs.h >>conftest.$ac_ext
27307 cat >>conftest.$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27309
27310 /* Override any GCC internal prototype to avoid an error.
27311 Use char because int might match the return type of a GCC
27312 builtin and then its argument prototype would still apply. */
27313 #ifdef __cplusplus
27314 extern "C"
27315 #endif
27316 char TIFFError ();
27317 int
27318 main ()
27319 {
27320 return TIFFError ();
27321 ;
27322 return 0;
27323 }
27324 _ACEOF
27325 rm -f conftest.$ac_objext conftest$ac_exeext
27326 if { (ac_try="$ac_link"
27327 case "(($ac_try" in
27328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27329 *) ac_try_echo=$ac_try;;
27330 esac
27331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27332 (eval "$ac_link") 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } && {
27339 test -z "$ac_c_werror_flag" ||
27340 test ! -s conftest.err
27341 } && test -s conftest$ac_exeext &&
27342 $as_test_x conftest$ac_exeext; then
27343 ac_cv_lib_tiff_TIFFError=yes
27344 else
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27347
27348 ac_cv_lib_tiff_TIFFError=no
27349 fi
27350
27351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27352 conftest$ac_exeext conftest.$ac_ext
27353 LIBS=$ac_check_lib_save_LIBS
27354 fi
27355 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27356 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27357 if test $ac_cv_lib_tiff_TIFFError = yes; then
27358 TIFF_LINK=" -ltiff"
27359 fi
27360
27361
27362 fi
27363
27364
27365
27366 if test "x$TIFF_LINK" = "x" ; then
27367 if test "$wxUSE_LIBTIFF" = "sys" ; then
27368 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27369 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27370 { (exit 1); exit 1; }; }
27371 else
27372 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27373 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27374 wxUSE_LIBTIFF=builtin
27375 fi
27376 else
27377 wxUSE_LIBTIFF=sys
27378 fi
27379 fi
27380 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27381 if test "$wxUSE_LIBJPEG" = "no"; then
27382 ac_configure_args="$ac_configure_args --disable-jpeg"
27383 fi
27384 subdirs="$subdirs src/tiff"
27385
27386 fi
27387 fi
27388
27389
27390 if test "$wxUSE_WCHAR_T" != "yes"; then
27391 if test "$wxUSE_EXPAT" != "no"; then
27392 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27393 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27394 wxUSE_EXPAT=no
27395 fi
27396 if test "$wxUSE_XML" != "no"; then
27397 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27398 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27399 wxUSE_XML=no
27400 fi
27401 fi
27402
27403 if test "$wxUSE_EXPAT" != "no"; then
27404 wxUSE_XML=yes
27405 cat >>confdefs.h <<\_ACEOF
27406 #define wxUSE_EXPAT 1
27407 _ACEOF
27408
27409 cat >>confdefs.h <<\_ACEOF
27410 #define wxUSE_XML 1
27411 _ACEOF
27412
27413
27414 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27415 { echo "$as_me:$LINENO: checking for expat.h" >&5
27416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27417 if test "${ac_cv_header_expat_h+set}" = set; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 else
27420 cat >conftest.$ac_ext <<_ACEOF
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426
27427
27428 #include <expat.h>
27429 _ACEOF
27430 rm -f conftest.$ac_objext
27431 if { (ac_try="$ac_compile"
27432 case "(($ac_try" in
27433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27434 *) ac_try_echo=$ac_try;;
27435 esac
27436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27437 (eval "$ac_compile") 2>conftest.er1
27438 ac_status=$?
27439 grep -v '^ *+' conftest.er1 >conftest.err
27440 rm -f conftest.er1
27441 cat conftest.err >&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } && {
27444 test -z "$ac_c_werror_flag" ||
27445 test ! -s conftest.err
27446 } && test -s conftest.$ac_objext; then
27447 ac_cv_header_expat_h=yes
27448 else
27449 echo "$as_me: failed program was:" >&5
27450 sed 's/^/| /' conftest.$ac_ext >&5
27451
27452 ac_cv_header_expat_h=no
27453 fi
27454
27455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456 fi
27457 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27458 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27459 if test $ac_cv_header_expat_h = yes; then
27460 found_expat_h=1
27461 fi
27462
27463
27464 if test "x$found_expat_h" = "x1"; then
27465 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27466 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27467 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27470
27471 ac_ext=cpp
27472 ac_cpp='$CXXCPP $CPPFLAGS'
27473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27476
27477 cat >conftest.$ac_ext <<_ACEOF
27478 /* confdefs.h. */
27479 _ACEOF
27480 cat confdefs.h >>conftest.$ac_ext
27481 cat >>conftest.$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27483 #include <expat.h>
27484 int
27485 main ()
27486 {
27487
27488 ;
27489 return 0;
27490 }
27491 _ACEOF
27492 rm -f conftest.$ac_objext
27493 if { (ac_try="$ac_compile"
27494 case "(($ac_try" in
27495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27496 *) ac_try_echo=$ac_try;;
27497 esac
27498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27499 (eval "$ac_compile") 2>conftest.er1
27500 ac_status=$?
27501 grep -v '^ *+' conftest.er1 >conftest.err
27502 rm -f conftest.er1
27503 cat conftest.err >&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && {
27506 test -z "$ac_cxx_werror_flag" ||
27507 test ! -s conftest.err
27508 } && test -s conftest.$ac_objext; then
27509 wx_cv_expat_is_not_broken=yes
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 wx_cv_expat_is_not_broken=no
27515
27516 fi
27517
27518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27519 ac_ext=c
27520 ac_cpp='$CPP $CPPFLAGS'
27521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524
27525
27526
27527 fi
27528 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27529 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27530 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27531 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27532 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27533 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27534 echo $ECHO_N "(cached) $ECHO_C" >&6
27535 else
27536 ac_check_lib_save_LIBS=$LIBS
27537 LIBS="-lexpat $LIBS"
27538 cat >conftest.$ac_ext <<_ACEOF
27539 /* confdefs.h. */
27540 _ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27544
27545 /* Override any GCC internal prototype to avoid an error.
27546 Use char because int might match the return type of a GCC
27547 builtin and then its argument prototype would still apply. */
27548 #ifdef __cplusplus
27549 extern "C"
27550 #endif
27551 char XML_ParserCreate ();
27552 int
27553 main ()
27554 {
27555 return XML_ParserCreate ();
27556 ;
27557 return 0;
27558 }
27559 _ACEOF
27560 rm -f conftest.$ac_objext conftest$ac_exeext
27561 if { (ac_try="$ac_link"
27562 case "(($ac_try" in
27563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27564 *) ac_try_echo=$ac_try;;
27565 esac
27566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27567 (eval "$ac_link") 2>conftest.er1
27568 ac_status=$?
27569 grep -v '^ *+' conftest.er1 >conftest.err
27570 rm -f conftest.er1
27571 cat conftest.err >&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); } && {
27574 test -z "$ac_c_werror_flag" ||
27575 test ! -s conftest.err
27576 } && test -s conftest$ac_exeext &&
27577 $as_test_x conftest$ac_exeext; then
27578 ac_cv_lib_expat_XML_ParserCreate=yes
27579 else
27580 echo "$as_me: failed program was:" >&5
27581 sed 's/^/| /' conftest.$ac_ext >&5
27582
27583 ac_cv_lib_expat_XML_ParserCreate=no
27584 fi
27585
27586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27587 conftest$ac_exeext conftest.$ac_ext
27588 LIBS=$ac_check_lib_save_LIBS
27589 fi
27590 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27591 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27592 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27593 EXPAT_LINK=" -lexpat"
27594 fi
27595
27596 fi
27597 fi
27598 if test "x$EXPAT_LINK" = "x" ; then
27599 if test "$wxUSE_EXPAT" = "sys" ; then
27600 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27601 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27602 { (exit 1); exit 1; }; }
27603 else
27604 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27605 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27606 wxUSE_EXPAT=builtin
27607 fi
27608 else
27609 wxUSE_EXPAT=sys
27610 fi
27611 fi
27612 if test "$wxUSE_EXPAT" = "builtin" ; then
27613 subdirs="$subdirs src/expat"
27614
27615 fi
27616 fi
27617
27618
27619
27620 if test "$wxUSE_LIBMSPACK" != "no"; then
27621 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27622 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27623 if test "${ac_cv_header_mspack_h+set}" = set; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 else
27626 cat >conftest.$ac_ext <<_ACEOF
27627 /* confdefs.h. */
27628 _ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632
27633
27634 #include <mspack.h>
27635 _ACEOF
27636 rm -f conftest.$ac_objext
27637 if { (ac_try="$ac_compile"
27638 case "(($ac_try" in
27639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27640 *) ac_try_echo=$ac_try;;
27641 esac
27642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_compile") 2>conftest.er1
27644 ac_status=$?
27645 grep -v '^ *+' conftest.er1 >conftest.err
27646 rm -f conftest.er1
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } && {
27650 test -z "$ac_c_werror_flag" ||
27651 test ! -s conftest.err
27652 } && test -s conftest.$ac_objext; then
27653 ac_cv_header_mspack_h=yes
27654 else
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27657
27658 ac_cv_header_mspack_h=no
27659 fi
27660
27661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27662 fi
27663 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27665 if test $ac_cv_header_mspack_h = yes; then
27666 found_mspack_h=1
27667 fi
27668
27669
27670 if test "x$found_mspack_h" = "x1"; then
27671 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27672 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27673 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27675 else
27676 ac_check_lib_save_LIBS=$LIBS
27677 LIBS="-lmspack $LIBS"
27678 cat >conftest.$ac_ext <<_ACEOF
27679 /* confdefs.h. */
27680 _ACEOF
27681 cat confdefs.h >>conftest.$ac_ext
27682 cat >>conftest.$ac_ext <<_ACEOF
27683 /* end confdefs.h. */
27684
27685 /* Override any GCC internal prototype to avoid an error.
27686 Use char because int might match the return type of a GCC
27687 builtin and then its argument prototype would still apply. */
27688 #ifdef __cplusplus
27689 extern "C"
27690 #endif
27691 char mspack_create_chm_decompressor ();
27692 int
27693 main ()
27694 {
27695 return mspack_create_chm_decompressor ();
27696 ;
27697 return 0;
27698 }
27699 _ACEOF
27700 rm -f conftest.$ac_objext conftest$ac_exeext
27701 if { (ac_try="$ac_link"
27702 case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27705 esac
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_link") 2>conftest.er1
27708 ac_status=$?
27709 grep -v '^ *+' conftest.er1 >conftest.err
27710 rm -f conftest.er1
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } && {
27714 test -z "$ac_c_werror_flag" ||
27715 test ! -s conftest.err
27716 } && test -s conftest$ac_exeext &&
27717 $as_test_x conftest$ac_exeext; then
27718 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27719 else
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.$ac_ext >&5
27722
27723 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27724 fi
27725
27726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27727 conftest$ac_exeext conftest.$ac_ext
27728 LIBS=$ac_check_lib_save_LIBS
27729 fi
27730 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27731 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27732 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27733 MSPACK_LINK=" -lmspack"
27734 fi
27735
27736 fi
27737 if test "x$MSPACK_LINK" = "x" ; then
27738 wxUSE_LIBMSPACK=no
27739 fi
27740 fi
27741
27742 if test "$wxUSE_LIBMSPACK" != "no"; then
27743 cat >>confdefs.h <<\_ACEOF
27744 #define wxUSE_LIBMSPACK 1
27745 _ACEOF
27746
27747 fi
27748
27749
27750
27751 AFMINSTALL=
27752 WIN32INSTALL=
27753
27754 TOOLKIT=
27755 TOOLKIT_INCLUDE=
27756 WIDGET_SET=
27757
27758 if test "$USE_WIN32" = 1 ; then
27759
27760 for ac_header in w32api.h
27761 do
27762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774
27775
27776 #include <$ac_header>
27777 _ACEOF
27778 rm -f conftest.$ac_objext
27779 if { (ac_try="$ac_compile"
27780 case "(($ac_try" in
27781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27783 esac
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_compile") 2>conftest.er1
27786 ac_status=$?
27787 grep -v '^ *+' conftest.er1 >conftest.err
27788 rm -f conftest.er1
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } && {
27792 test -z "$ac_c_werror_flag" ||
27793 test ! -s conftest.err
27794 } && test -s conftest.$ac_objext; then
27795 eval "$as_ac_Header=yes"
27796 else
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27799
27800 eval "$as_ac_Header=no"
27801 fi
27802
27803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27804 fi
27805 ac_res=`eval echo '${'$as_ac_Header'}'`
27806 { echo "$as_me:$LINENO: result: $ac_res" >&5
27807 echo "${ECHO_T}$ac_res" >&6; }
27808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27809 cat >>confdefs.h <<_ACEOF
27810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27811 _ACEOF
27812
27813 fi
27814
27815 done
27816
27817 { echo "$as_me:$LINENO: checking for windows.h" >&5
27818 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27819 if test "${ac_cv_header_windows_h+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822 cat >conftest.$ac_ext <<_ACEOF
27823 /* confdefs.h. */
27824 _ACEOF
27825 cat confdefs.h >>conftest.$ac_ext
27826 cat >>conftest.$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27828
27829
27830 #include <windows.h>
27831 _ACEOF
27832 rm -f conftest.$ac_objext
27833 if { (ac_try="$ac_compile"
27834 case "(($ac_try" in
27835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27836 *) ac_try_echo=$ac_try;;
27837 esac
27838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27839 (eval "$ac_compile") 2>conftest.er1
27840 ac_status=$?
27841 grep -v '^ *+' conftest.er1 >conftest.err
27842 rm -f conftest.er1
27843 cat conftest.err >&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); } && {
27846 test -z "$ac_c_werror_flag" ||
27847 test ! -s conftest.err
27848 } && test -s conftest.$ac_objext; then
27849 ac_cv_header_windows_h=yes
27850 else
27851 echo "$as_me: failed program was:" >&5
27852 sed 's/^/| /' conftest.$ac_ext >&5
27853
27854 ac_cv_header_windows_h=no
27855 fi
27856
27857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27858 fi
27859 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27860 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27861 if test $ac_cv_header_windows_h = yes; then
27862 :
27863 else
27864
27865 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27866 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27867 { (exit 1); exit 1; }; }
27868
27869 fi
27870
27871
27872
27873 case "${host}" in
27874 x86_64-*-mingw32* )
27875 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27876 ;;
27877 * )
27878 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27879 ;;
27880 esac
27881 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27882 LIBS="$LIBS -loleacc"
27883 fi
27884
27885 case "${host}" in
27886 *-*-cygwin* )
27887 LIBS="$LIBS -lkernel32 -luser32"
27888 esac
27889
27890 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27891 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27892
27893 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27894
27895 WIN32INSTALL=win32install
27896
27897 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27898 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27899 if test "${ac_cv_header_pbt_h+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 else
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909
27910 #include <pbt.h>
27911 _ACEOF
27912 rm -f conftest.$ac_objext
27913 if { (ac_try="$ac_compile"
27914 case "(($ac_try" in
27915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27916 *) ac_try_echo=$ac_try;;
27917 esac
27918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919 (eval "$ac_compile") 2>conftest.er1
27920 ac_status=$?
27921 grep -v '^ *+' conftest.er1 >conftest.err
27922 rm -f conftest.er1
27923 cat conftest.err >&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } && {
27926 test -z "$ac_c_werror_flag" ||
27927 test ! -s conftest.err
27928 } && test -s conftest.$ac_objext; then
27929 ac_cv_header_pbt_h=yes
27930 else
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.$ac_ext >&5
27933
27934 ac_cv_header_pbt_h=no
27935 fi
27936
27937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27938 fi
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27941 if test $ac_cv_header_pbt_h = yes; then
27942 :
27943 else
27944 cat >>confdefs.h <<\_ACEOF
27945 #define NEED_PBT_H 1
27946 _ACEOF
27947
27948 fi
27949
27950
27951 fi
27952
27953 if test "$wxUSE_GUI" = "yes"; then
27954 USE_GUI=1
27955
27956 GUI_TK_LIBRARY=
27957
27958 WXGTK12=
27959 WXGTK127=
27960 WXGTK2=
27961 WXGPE=
27962
27963 if test "$wxUSE_COCOA" = 1 ; then
27964 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27965 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27966 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27967 wxUSE_PRINTING_ARCHITECTURE=no
27968 fi
27969 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27970 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27971 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27972 wxUSE_DRAG_AND_DROP=no
27973 fi
27974 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27975 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27976 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27977 wxUSE_DRAGIMAGE=no
27978 fi
27979 fi
27980
27981 if test "$wxUSE_MSW" = 1 ; then
27982 TOOLKIT=MSW
27983 GUIDIST=MSW_DIST
27984
27985 case "${host}" in
27986 *-*-mingw32* )
27987 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27988 esac
27989 fi
27990
27991 if test "$wxUSE_GTK" = 1; then
27992 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27993 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27994
27995 gtk_version_cached=1
27996 if test "${wx_cv_lib_gtk+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999
28000 gtk_version_cached=0
28001 { echo "$as_me:$LINENO: result: " >&5
28002 echo "${ECHO_T}" >&6; }
28003
28004 GTK_MODULES=
28005 if test "$wxUSE_THREADS" = "yes"; then
28006 GTK_MODULES=gthread
28007 fi
28008
28009 wx_cv_lib_gtk=
28010 if test "x$wxGTK_VERSION" != "x1"
28011 then
28012 case "${host}" in
28013 *-*-solaris2* )
28014 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28015 enable_gtktest=no
28016 fi
28017 esac
28018
28019 # Check whether --enable-gtktest was given.
28020 if test "${enable_gtktest+set}" = set; then
28021 enableval=$enable_gtktest;
28022 else
28023 enable_gtktest=yes
28024 fi
28025
28026
28027 pkg_config_args=gtk+-2.0
28028 for module in . $GTK_MODULES
28029 do
28030 case "$module" in
28031 gthread)
28032 pkg_config_args="$pkg_config_args gthread-2.0"
28033 ;;
28034 esac
28035 done
28036
28037 no_gtk=""
28038
28039 # Extract the first word of "pkg-config", so it can be a program name with args.
28040 set dummy pkg-config; ac_word=$2
28041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28043 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 else
28046 case $PKG_CONFIG in
28047 [\\/]* | ?:[\\/]*)
28048 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28049 ;;
28050 *)
28051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28052 for as_dir in $PATH
28053 do
28054 IFS=$as_save_IFS
28055 test -z "$as_dir" && as_dir=.
28056 for ac_exec_ext in '' $ac_executable_extensions; do
28057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28058 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28060 break 2
28061 fi
28062 done
28063 done
28064 IFS=$as_save_IFS
28065
28066 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28067 ;;
28068 esac
28069 fi
28070 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28071 if test -n "$PKG_CONFIG"; then
28072 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28073 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28074 else
28075 { echo "$as_me:$LINENO: result: no" >&5
28076 echo "${ECHO_T}no" >&6; }
28077 fi
28078
28079
28080
28081 if test x$PKG_CONFIG != xno ; then
28082 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28083 :
28084 else
28085 echo "*** pkg-config too old; version 0.7 or better required."
28086 no_gtk=yes
28087 PKG_CONFIG=no
28088 fi
28089 else
28090 no_gtk=yes
28091 fi
28092
28093 min_gtk_version=2.4.0
28094 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28095 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28096
28097 if test x$PKG_CONFIG != xno ; then
28098 ## don't try to run the test against uninstalled libtool libs
28099 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28100 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28101 enable_gtktest=no
28102 fi
28103
28104 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28105 :
28106 else
28107 no_gtk=yes
28108 fi
28109 fi
28110
28111 if test x"$no_gtk" = x ; then
28112 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28113 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28114 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28116 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28118 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28120 if test "x$enable_gtktest" = "xyes" ; then
28121 ac_save_CFLAGS="$CFLAGS"
28122 ac_save_LIBS="$LIBS"
28123 CFLAGS="$CFLAGS $GTK_CFLAGS"
28124 LIBS="$GTK_LIBS $LIBS"
28125 rm -f conf.gtktest
28126 if test "$cross_compiling" = yes; then
28127 echo $ac_n "cross compiling; assumed OK... $ac_c"
28128 else
28129 cat >conftest.$ac_ext <<_ACEOF
28130 /* confdefs.h. */
28131 _ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h. */
28135
28136 #include <gtk/gtk.h>
28137 #include <stdio.h>
28138 #include <stdlib.h>
28139
28140 int
28141 main ()
28142 {
28143 int major, minor, micro;
28144 char *tmp_version;
28145
28146 system ("touch conf.gtktest");
28147
28148 /* HP/UX 9 (%@#!) writes to sscanf strings */
28149 tmp_version = g_strdup("$min_gtk_version");
28150 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28151 printf("%s, bad version string\n", "$min_gtk_version");
28152 exit(1);
28153 }
28154
28155 if ((gtk_major_version != $gtk_config_major_version) ||
28156 (gtk_minor_version != $gtk_config_minor_version) ||
28157 (gtk_micro_version != $gtk_config_micro_version))
28158 {
28159 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28160 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28161 gtk_major_version, gtk_minor_version, gtk_micro_version);
28162 printf ("*** was found! If pkg-config was correct, then it is best\n");
28163 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28164 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28165 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28166 printf("*** required on your system.\n");
28167 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28168 printf("*** to point to the correct configuration files\n");
28169 }
28170 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28171 (gtk_minor_version != GTK_MINOR_VERSION) ||
28172 (gtk_micro_version != GTK_MICRO_VERSION))
28173 {
28174 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28175 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28176 printf("*** library (version %d.%d.%d)\n",
28177 gtk_major_version, gtk_minor_version, gtk_micro_version);
28178 }
28179 else
28180 {
28181 if ((gtk_major_version > major) ||
28182 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28183 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28184 {
28185 return 0;
28186 }
28187 else
28188 {
28189 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28190 gtk_major_version, gtk_minor_version, gtk_micro_version);
28191 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28192 major, minor, micro);
28193 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28194 printf("***\n");
28195 printf("*** If you have already installed a sufficiently new version, this error\n");
28196 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28197 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28198 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28199 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28200 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28201 printf("*** so that the correct libraries are found at run-time))\n");
28202 }
28203 }
28204 return 1;
28205 }
28206
28207 _ACEOF
28208 rm -f conftest$ac_exeext
28209 if { (ac_try="$ac_link"
28210 case "(($ac_try" in
28211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28212 *) ac_try_echo=$ac_try;;
28213 esac
28214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28215 (eval "$ac_link") 2>&5
28216 ac_status=$?
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28219 { (case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28222 esac
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_try") 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 :
28229 else
28230 echo "$as_me: program exited with status $ac_status" >&5
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28233
28234 ( exit $ac_status )
28235 no_gtk=yes
28236 fi
28237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28238 fi
28239
28240
28241 CFLAGS="$ac_save_CFLAGS"
28242 LIBS="$ac_save_LIBS"
28243 fi
28244 fi
28245 if test "x$no_gtk" = x ; then
28246 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28247 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28248 wx_cv_lib_gtk=2.0
28249 else
28250 { echo "$as_me:$LINENO: result: no" >&5
28251 echo "${ECHO_T}no" >&6; }
28252 if test "$PKG_CONFIG" = "no" ; then
28253 echo "*** A new enough version of pkg-config was not found."
28254 echo "*** See http://pkgconfig.sourceforge.net"
28255 else
28256 if test -f conf.gtktest ; then
28257 :
28258 else
28259 echo "*** Could not run GTK+ test program, checking why..."
28260 ac_save_CFLAGS="$CFLAGS"
28261 ac_save_LIBS="$LIBS"
28262 CFLAGS="$CFLAGS $GTK_CFLAGS"
28263 LIBS="$LIBS $GTK_LIBS"
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270
28271 #include <gtk/gtk.h>
28272 #include <stdio.h>
28273
28274 int
28275 main ()
28276 {
28277 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28278 ;
28279 return 0;
28280 }
28281 _ACEOF
28282 rm -f conftest.$ac_objext conftest$ac_exeext
28283 if { (ac_try="$ac_link"
28284 case "(($ac_try" in
28285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28286 *) ac_try_echo=$ac_try;;
28287 esac
28288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28289 (eval "$ac_link") 2>conftest.er1
28290 ac_status=$?
28291 grep -v '^ *+' conftest.er1 >conftest.err
28292 rm -f conftest.er1
28293 cat conftest.err >&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); } && {
28296 test -z "$ac_c_werror_flag" ||
28297 test ! -s conftest.err
28298 } && test -s conftest$ac_exeext &&
28299 $as_test_x conftest$ac_exeext; then
28300 echo "*** The test program compiled, but did not run. This usually means"
28301 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28302 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28305 echo "*** is required on your system"
28306 echo "***"
28307 echo "*** If you have an old version installed, it is best to remove it, although"
28308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28309 else
28310 echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.$ac_ext >&5
28312
28313 echo "*** The test program failed to compile or link. See the file config.log for the"
28314 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28315 fi
28316
28317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28318 conftest$ac_exeext conftest.$ac_ext
28319 CFLAGS="$ac_save_CFLAGS"
28320 LIBS="$ac_save_LIBS"
28321 fi
28322 fi
28323 GTK_CFLAGS=""
28324 GTK_LIBS=""
28325 :
28326 fi
28327
28328
28329 rm -f conf.gtktest
28330
28331
28332 case "${host}" in
28333 *-*-solaris2* )
28334 if test "$wxUSE_SHARED" != "yes"; then
28335 GTK_LIBS="$GTK_LIBS -lX11"
28336 fi
28337 esac
28338 fi
28339
28340 if test -z "$wx_cv_lib_gtk"; then
28341 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28342
28343 # Check whether --with-gtk-prefix was given.
28344 if test "${with_gtk_prefix+set}" = set; then
28345 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28346 else
28347 gtk_config_prefix=""
28348 fi
28349
28350
28351 # Check whether --with-gtk-exec-prefix was given.
28352 if test "${with_gtk_exec_prefix+set}" = set; then
28353 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28354 else
28355 gtk_config_exec_prefix=""
28356 fi
28357
28358 # Check whether --enable-gtktest was given.
28359 if test "${enable_gtktest+set}" = set; then
28360 enableval=$enable_gtktest;
28361 else
28362 enable_gtktest=yes
28363 fi
28364
28365
28366 for module in . $GTK_MODULES
28367 do
28368 case "$module" in
28369 gthread)
28370 gtk_config_args="$gtk_config_args gthread"
28371 ;;
28372 esac
28373 done
28374
28375 if test x$gtk_config_exec_prefix != x ; then
28376 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28377 if test x${GTK_CONFIG+set} != xset ; then
28378 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28379 fi
28380 fi
28381 if test x$gtk_config_prefix != x ; then
28382 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28383 if test x${GTK_CONFIG+set} != xset ; then
28384 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28385 fi
28386 fi
28387
28388 # Extract the first word of "gtk-config", so it can be a program name with args.
28389 set dummy gtk-config; ac_word=$2
28390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28392 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 else
28395 case $GTK_CONFIG in
28396 [\\/]* | ?:[\\/]*)
28397 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28398 ;;
28399 *)
28400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28401 for as_dir in $PATH
28402 do
28403 IFS=$as_save_IFS
28404 test -z "$as_dir" && as_dir=.
28405 for ac_exec_ext in '' $ac_executable_extensions; do
28406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28407 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28409 break 2
28410 fi
28411 done
28412 done
28413 IFS=$as_save_IFS
28414
28415 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28416 ;;
28417 esac
28418 fi
28419 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28420 if test -n "$GTK_CONFIG"; then
28421 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28422 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28423 else
28424 { echo "$as_me:$LINENO: result: no" >&5
28425 echo "${ECHO_T}no" >&6; }
28426 fi
28427
28428
28429 min_gtk_version=1.2.7
28430 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28431 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28432 no_gtk=""
28433 if test "$GTK_CONFIG" = "no" ; then
28434 no_gtk=yes
28435 else
28436 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28437 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28438 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28440 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28442 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28444 if test "x$enable_gtktest" = "xyes" ; then
28445 ac_save_CFLAGS="$CFLAGS"
28446 ac_save_LIBS="$LIBS"
28447 CFLAGS="$CFLAGS $GTK_CFLAGS"
28448 LIBS="$GTK_LIBS $LIBS"
28449 rm -f conf.gtktest
28450 if test "$cross_compiling" = yes; then
28451 echo $ac_n "cross compiling; assumed OK... $ac_c"
28452 else
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459
28460 #include <gtk/gtk.h>
28461 #include <stdio.h>
28462 #include <stdlib.h>
28463
28464 int
28465 main ()
28466 {
28467 int major, minor, micro;
28468 char *tmp_version;
28469
28470 system ("touch conf.gtktest");
28471
28472 /* HP/UX 9 (%@#!) writes to sscanf strings */
28473 tmp_version = g_strdup("$min_gtk_version");
28474 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28475 printf("%s, bad version string\n", "$min_gtk_version");
28476 exit(1);
28477 }
28478
28479 if ((gtk_major_version != $gtk_config_major_version) ||
28480 (gtk_minor_version != $gtk_config_minor_version) ||
28481 (gtk_micro_version != $gtk_config_micro_version))
28482 {
28483 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28484 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28485 gtk_major_version, gtk_minor_version, gtk_micro_version);
28486 printf ("*** was found! If gtk-config was correct, then it is best\n");
28487 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28488 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28489 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28490 printf("*** required on your system.\n");
28491 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28492 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28493 printf("*** before re-running configure\n");
28494 }
28495 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28497 (gtk_minor_version != GTK_MINOR_VERSION) ||
28498 (gtk_micro_version != GTK_MICRO_VERSION))
28499 {
28500 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28502 printf("*** library (version %d.%d.%d)\n",
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28504 }
28505 #endif /* defined (GTK_MAJOR_VERSION) ... */
28506 else
28507 {
28508 if ((gtk_major_version > major) ||
28509 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28510 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28511 {
28512 return 0;
28513 }
28514 else
28515 {
28516 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28517 gtk_major_version, gtk_minor_version, gtk_micro_version);
28518 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28519 major, minor, micro);
28520 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28521 printf("***\n");
28522 printf("*** If you have already installed a sufficiently new version, this error\n");
28523 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28524 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28525 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28526 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28527 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28528 printf("*** so that the correct libraries are found at run-time))\n");
28529 }
28530 }
28531 return 1;
28532 }
28533
28534 _ACEOF
28535 rm -f conftest$ac_exeext
28536 if { (ac_try="$ac_link"
28537 case "(($ac_try" in
28538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28539 *) ac_try_echo=$ac_try;;
28540 esac
28541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28542 (eval "$ac_link") 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28546 { (case "(($ac_try" in
28547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28548 *) ac_try_echo=$ac_try;;
28549 esac
28550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28551 (eval "$ac_try") 2>&5
28552 ac_status=$?
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; }; then
28555 :
28556 else
28557 echo "$as_me: program exited with status $ac_status" >&5
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.$ac_ext >&5
28560
28561 ( exit $ac_status )
28562 no_gtk=yes
28563 fi
28564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28565 fi
28566
28567
28568 CFLAGS="$ac_save_CFLAGS"
28569 LIBS="$ac_save_LIBS"
28570 fi
28571 fi
28572 if test "x$no_gtk" = x ; then
28573 { echo "$as_me:$LINENO: result: yes" >&5
28574 echo "${ECHO_T}yes" >&6; }
28575 wx_cv_lib_gtk=1.2.7
28576 else
28577 { echo "$as_me:$LINENO: result: no" >&5
28578 echo "${ECHO_T}no" >&6; }
28579 if test "$GTK_CONFIG" = "no" ; then
28580 echo "*** The gtk-config script installed by GTK could not be found"
28581 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28582 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28583 echo "*** full path to gtk-config."
28584 else
28585 if test -f conf.gtktest ; then
28586 :
28587 else
28588 echo "*** Could not run GTK test program, checking why..."
28589 CFLAGS="$CFLAGS $GTK_CFLAGS"
28590 LIBS="$LIBS $GTK_LIBS"
28591 cat >conftest.$ac_ext <<_ACEOF
28592 /* confdefs.h. */
28593 _ACEOF
28594 cat confdefs.h >>conftest.$ac_ext
28595 cat >>conftest.$ac_ext <<_ACEOF
28596 /* end confdefs.h. */
28597
28598 #include <gtk/gtk.h>
28599 #include <stdio.h>
28600
28601 int
28602 main ()
28603 {
28604 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28605 ;
28606 return 0;
28607 }
28608 _ACEOF
28609 rm -f conftest.$ac_objext conftest$ac_exeext
28610 if { (ac_try="$ac_link"
28611 case "(($ac_try" in
28612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28613 *) ac_try_echo=$ac_try;;
28614 esac
28615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28616 (eval "$ac_link") 2>conftest.er1
28617 ac_status=$?
28618 grep -v '^ *+' conftest.er1 >conftest.err
28619 rm -f conftest.er1
28620 cat conftest.err >&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } && {
28623 test -z "$ac_c_werror_flag" ||
28624 test ! -s conftest.err
28625 } && test -s conftest$ac_exeext &&
28626 $as_test_x conftest$ac_exeext; then
28627 echo "*** The test program compiled, but did not run. This usually means"
28628 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28629 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28630 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28631 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28632 echo "*** is required on your system"
28633 echo "***"
28634 echo "*** If you have an old version installed, it is best to remove it, although"
28635 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28636 echo "***"
28637 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28638 echo "*** came with the system with the command"
28639 echo "***"
28640 echo "*** rpm --erase --nodeps gtk gtk-devel"
28641 else
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28644
28645 echo "*** The test program failed to compile or link. See the file config.log for the"
28646 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28647 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28648 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28649 fi
28650
28651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28652 conftest$ac_exeext conftest.$ac_ext
28653 CFLAGS="$ac_save_CFLAGS"
28654 LIBS="$ac_save_LIBS"
28655 fi
28656 fi
28657 GTK_CFLAGS=""
28658 GTK_LIBS=""
28659 :
28660 fi
28661
28662
28663 rm -f conf.gtktest
28664
28665
28666 if test -z "$wx_cv_lib_gtk"; then
28667
28668 # Check whether --with-gtk-prefix was given.
28669 if test "${with_gtk_prefix+set}" = set; then
28670 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28671 else
28672 gtk_config_prefix=""
28673 fi
28674
28675
28676 # Check whether --with-gtk-exec-prefix was given.
28677 if test "${with_gtk_exec_prefix+set}" = set; then
28678 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28679 else
28680 gtk_config_exec_prefix=""
28681 fi
28682
28683 # Check whether --enable-gtktest was given.
28684 if test "${enable_gtktest+set}" = set; then
28685 enableval=$enable_gtktest;
28686 else
28687 enable_gtktest=yes
28688 fi
28689
28690
28691 for module in . $GTK_MODULES
28692 do
28693 case "$module" in
28694 gthread)
28695 gtk_config_args="$gtk_config_args gthread"
28696 ;;
28697 esac
28698 done
28699
28700 if test x$gtk_config_exec_prefix != x ; then
28701 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28702 if test x${GTK_CONFIG+set} != xset ; then
28703 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28704 fi
28705 fi
28706 if test x$gtk_config_prefix != x ; then
28707 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28708 if test x${GTK_CONFIG+set} != xset ; then
28709 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28710 fi
28711 fi
28712
28713 # Extract the first word of "gtk-config", so it can be a program name with args.
28714 set dummy gtk-config; ac_word=$2
28715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28717 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 else
28720 case $GTK_CONFIG in
28721 [\\/]* | ?:[\\/]*)
28722 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28723 ;;
28724 *)
28725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28726 for as_dir in $PATH
28727 do
28728 IFS=$as_save_IFS
28729 test -z "$as_dir" && as_dir=.
28730 for ac_exec_ext in '' $ac_executable_extensions; do
28731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28732 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28734 break 2
28735 fi
28736 done
28737 done
28738 IFS=$as_save_IFS
28739
28740 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28741 ;;
28742 esac
28743 fi
28744 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28745 if test -n "$GTK_CONFIG"; then
28746 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28747 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28748 else
28749 { echo "$as_me:$LINENO: result: no" >&5
28750 echo "${ECHO_T}no" >&6; }
28751 fi
28752
28753
28754 min_gtk_version=1.2.3
28755 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28756 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28757 no_gtk=""
28758 if test "$GTK_CONFIG" = "no" ; then
28759 no_gtk=yes
28760 else
28761 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28762 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28763 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28765 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28767 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28769 if test "x$enable_gtktest" = "xyes" ; then
28770 ac_save_CFLAGS="$CFLAGS"
28771 ac_save_LIBS="$LIBS"
28772 CFLAGS="$CFLAGS $GTK_CFLAGS"
28773 LIBS="$GTK_LIBS $LIBS"
28774 rm -f conf.gtktest
28775 if test "$cross_compiling" = yes; then
28776 echo $ac_n "cross compiling; assumed OK... $ac_c"
28777 else
28778 cat >conftest.$ac_ext <<_ACEOF
28779 /* confdefs.h. */
28780 _ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28784
28785 #include <gtk/gtk.h>
28786 #include <stdio.h>
28787 #include <stdlib.h>
28788
28789 int
28790 main ()
28791 {
28792 int major, minor, micro;
28793 char *tmp_version;
28794
28795 system ("touch conf.gtktest");
28796
28797 /* HP/UX 9 (%@#!) writes to sscanf strings */
28798 tmp_version = g_strdup("$min_gtk_version");
28799 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28800 printf("%s, bad version string\n", "$min_gtk_version");
28801 exit(1);
28802 }
28803
28804 if ((gtk_major_version != $gtk_config_major_version) ||
28805 (gtk_minor_version != $gtk_config_minor_version) ||
28806 (gtk_micro_version != $gtk_config_micro_version))
28807 {
28808 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28809 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28810 gtk_major_version, gtk_minor_version, gtk_micro_version);
28811 printf ("*** was found! If gtk-config was correct, then it is best\n");
28812 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28813 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28814 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28815 printf("*** required on your system.\n");
28816 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28817 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28818 printf("*** before re-running configure\n");
28819 }
28820 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28821 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28822 (gtk_minor_version != GTK_MINOR_VERSION) ||
28823 (gtk_micro_version != GTK_MICRO_VERSION))
28824 {
28825 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28826 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28827 printf("*** library (version %d.%d.%d)\n",
28828 gtk_major_version, gtk_minor_version, gtk_micro_version);
28829 }
28830 #endif /* defined (GTK_MAJOR_VERSION) ... */
28831 else
28832 {
28833 if ((gtk_major_version > major) ||
28834 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28835 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28836 {
28837 return 0;
28838 }
28839 else
28840 {
28841 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28842 gtk_major_version, gtk_minor_version, gtk_micro_version);
28843 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28844 major, minor, micro);
28845 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28846 printf("***\n");
28847 printf("*** If you have already installed a sufficiently new version, this error\n");
28848 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28849 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28850 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28851 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28852 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28853 printf("*** so that the correct libraries are found at run-time))\n");
28854 }
28855 }
28856 return 1;
28857 }
28858
28859 _ACEOF
28860 rm -f conftest$ac_exeext
28861 if { (ac_try="$ac_link"
28862 case "(($ac_try" in
28863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28864 *) ac_try_echo=$ac_try;;
28865 esac
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_link") 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28871 { (case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28874 esac
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_try") 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 :
28881 else
28882 echo "$as_me: program exited with status $ac_status" >&5
28883 echo "$as_me: failed program was:" >&5
28884 sed 's/^/| /' conftest.$ac_ext >&5
28885
28886 ( exit $ac_status )
28887 no_gtk=yes
28888 fi
28889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28890 fi
28891
28892
28893 CFLAGS="$ac_save_CFLAGS"
28894 LIBS="$ac_save_LIBS"
28895 fi
28896 fi
28897 if test "x$no_gtk" = x ; then
28898 { echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6; }
28900 wx_cv_lib_gtk=1.2.3
28901 else
28902 { echo "$as_me:$LINENO: result: no" >&5
28903 echo "${ECHO_T}no" >&6; }
28904 if test "$GTK_CONFIG" = "no" ; then
28905 echo "*** The gtk-config script installed by GTK could not be found"
28906 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28907 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28908 echo "*** full path to gtk-config."
28909 else
28910 if test -f conf.gtktest ; then
28911 :
28912 else
28913 echo "*** Could not run GTK test program, checking why..."
28914 CFLAGS="$CFLAGS $GTK_CFLAGS"
28915 LIBS="$LIBS $GTK_LIBS"
28916 cat >conftest.$ac_ext <<_ACEOF
28917 /* confdefs.h. */
28918 _ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28922
28923 #include <gtk/gtk.h>
28924 #include <stdio.h>
28925
28926 int
28927 main ()
28928 {
28929 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28930 ;
28931 return 0;
28932 }
28933 _ACEOF
28934 rm -f conftest.$ac_objext conftest$ac_exeext
28935 if { (ac_try="$ac_link"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28939 esac
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_link") 2>conftest.er1
28942 ac_status=$?
28943 grep -v '^ *+' conftest.er1 >conftest.err
28944 rm -f conftest.er1
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest$ac_exeext &&
28951 $as_test_x conftest$ac_exeext; then
28952 echo "*** The test program compiled, but did not run. This usually means"
28953 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28954 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28955 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28956 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28957 echo "*** is required on your system"
28958 echo "***"
28959 echo "*** If you have an old version installed, it is best to remove it, although"
28960 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28961 echo "***"
28962 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28963 echo "*** came with the system with the command"
28964 echo "***"
28965 echo "*** rpm --erase --nodeps gtk gtk-devel"
28966 else
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 echo "*** The test program failed to compile or link. See the file config.log for the"
28971 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28972 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28973 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28974 fi
28975
28976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28977 conftest$ac_exeext conftest.$ac_ext
28978 CFLAGS="$ac_save_CFLAGS"
28979 LIBS="$ac_save_LIBS"
28980 fi
28981 fi
28982 GTK_CFLAGS=""
28983 GTK_LIBS=""
28984 :
28985 fi
28986
28987
28988 rm -f conf.gtktest
28989
28990 fi
28991 fi
28992 fi
28993
28994 if test -z "$wx_cv_lib_gtk"; then
28995 wx_cv_lib_gtk=none
28996 else
28997 wx_cv_cflags_gtk=$GTK_CFLAGS
28998 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28999 fi
29000
29001
29002 fi
29003
29004
29005 if test "$gtk_version_cached" = 1; then
29006 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29007 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29008 fi
29009
29010 case "$wx_cv_lib_gtk" in
29011 2.0) WXGTK2=1
29012 TOOLKIT_VERSION=2
29013 ;;
29014 1.2.7) WXGTK127=1
29015 WXGTK12=1
29016 ;;
29017 1.2.3) WXGTK12=1
29018 ;;
29019 *) { { echo "$as_me:$LINENO: error:
29020 The development files for GTK+ were not found. For GTK+ 2, please
29021 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29022 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29023 and that the version is 1.2.3 or above. Also check that the
29024 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29025 --libs' are in the LD_LIBRARY_PATH or equivalent.
29026 " >&5
29027 echo "$as_me: error:
29028 The development files for GTK+ were not found. For GTK+ 2, please
29029 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29030 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29031 and that the version is 1.2.3 or above. Also check that the
29032 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29033 --libs' are in the LD_LIBRARY_PATH or equivalent.
29034 " >&2;}
29035 { (exit 1); exit 1; }; }
29036 ;;
29037 esac
29038
29039 if test "$WXGTK2" = 1; then
29040 save_CFLAGS="$CFLAGS"
29041 save_LIBS="$LIBS"
29042 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29043 LIBS="$LIBS $wx_cv_libs_gtk"
29044
29045 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29046 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29047 cat >conftest.$ac_ext <<_ACEOF
29048 /* confdefs.h. */
29049 _ACEOF
29050 cat confdefs.h >>conftest.$ac_ext
29051 cat >>conftest.$ac_ext <<_ACEOF
29052 /* end confdefs.h. */
29053
29054 #include <gtk/gtk.h>
29055
29056 int
29057 main ()
29058 {
29059
29060 #if !GTK_CHECK_VERSION(2,10,0)
29061 Not GTK+ 2.10
29062 #endif
29063
29064 ;
29065 return 0;
29066 }
29067 _ACEOF
29068 rm -f conftest.$ac_objext
29069 if { (ac_try="$ac_compile"
29070 case "(($ac_try" in
29071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29072 *) ac_try_echo=$ac_try;;
29073 esac
29074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29075 (eval "$ac_compile") 2>conftest.er1
29076 ac_status=$?
29077 grep -v '^ *+' conftest.er1 >conftest.err
29078 rm -f conftest.er1
29079 cat conftest.err >&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } && {
29082 test -z "$ac_c_werror_flag" ||
29083 test ! -s conftest.err
29084 } && test -s conftest.$ac_objext; then
29085
29086 cat >>confdefs.h <<\_ACEOF
29087 #define __WXGTK210__ 1
29088 _ACEOF
29089
29090 cat >>confdefs.h <<\_ACEOF
29091 #define __WXGTK26__ 1
29092 _ACEOF
29093
29094 { echo "$as_me:$LINENO: result: yes" >&5
29095 echo "${ECHO_T}yes" >&6; }
29096 ac_wxgtk210=1
29097
29098 else
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102
29103 { echo "$as_me:$LINENO: result: no" >&5
29104 echo "${ECHO_T}no" >&6; }
29105 ac_wxgtk210=0
29106
29107 fi
29108
29109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29110
29111 if test "$ac_wxgtk210" = 0; then
29112 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29113 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29114 cat >conftest.$ac_ext <<_ACEOF
29115 /* confdefs.h. */
29116 _ACEOF
29117 cat confdefs.h >>conftest.$ac_ext
29118 cat >>conftest.$ac_ext <<_ACEOF
29119 /* end confdefs.h. */
29120
29121 #include <gtk/gtk.h>
29122
29123 int
29124 main ()
29125 {
29126
29127 #if !GTK_CHECK_VERSION(2,6,0)
29128 Not GTK+ 2.6
29129 #endif
29130
29131 ;
29132 return 0;
29133 }
29134 _ACEOF
29135 rm -f conftest.$ac_objext
29136 if { (ac_try="$ac_compile"
29137 case "(($ac_try" in
29138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29139 *) ac_try_echo=$ac_try;;
29140 esac
29141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29142 (eval "$ac_compile") 2>conftest.er1
29143 ac_status=$?
29144 grep -v '^ *+' conftest.er1 >conftest.err
29145 rm -f conftest.er1
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } && {
29149 test -z "$ac_c_werror_flag" ||
29150 test ! -s conftest.err
29151 } && test -s conftest.$ac_objext; then
29152
29153 cat >>confdefs.h <<\_ACEOF
29154 #define __WXGTK26__ 1
29155 _ACEOF
29156
29157 { echo "$as_me:$LINENO: result: yes" >&5
29158 echo "${ECHO_T}yes" >&6; }
29159 ac_wxgtk26=1
29160
29161 else
29162 echo "$as_me: failed program was:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29164
29165
29166 { echo "$as_me:$LINENO: result: no" >&5
29167 echo "${ECHO_T}no" >&6; }
29168 ac_wxgtk26=0
29169
29170 fi
29171
29172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29173 fi
29174
29175 CFLAGS="$save_CFLAGS"
29176 LIBS="$save_LIBS"
29177 else
29178 if test "$wxUSE_UNICODE" = "yes"; then
29179 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29180 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29181 wxUSE_UNICODE=no
29182 fi
29183
29184 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29185 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29186 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 else
29189 ac_check_lib_save_LIBS=$LIBS
29190 LIBS="-lgdk $LIBS"
29191 cat >conftest.$ac_ext <<_ACEOF
29192 /* confdefs.h. */
29193 _ACEOF
29194 cat confdefs.h >>conftest.$ac_ext
29195 cat >>conftest.$ac_ext <<_ACEOF
29196 /* end confdefs.h. */
29197
29198 /* Override any GCC internal prototype to avoid an error.
29199 Use char because int might match the return type of a GCC
29200 builtin and then its argument prototype would still apply. */
29201 #ifdef __cplusplus
29202 extern "C"
29203 #endif
29204 char gdk_im_open ();
29205 int
29206 main ()
29207 {
29208 return gdk_im_open ();
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext conftest$ac_exeext
29214 if { (ac_try="$ac_link"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29218 esac
29219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_link") 2>conftest.er1
29221 ac_status=$?
29222 grep -v '^ *+' conftest.er1 >conftest.err
29223 rm -f conftest.er1
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_c_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest$ac_exeext &&
29230 $as_test_x conftest$ac_exeext; then
29231 ac_cv_lib_gdk_gdk_im_open=yes
29232 else
29233 echo "$as_me: failed program was:" >&5
29234 sed 's/^/| /' conftest.$ac_ext >&5
29235
29236 ac_cv_lib_gdk_gdk_im_open=no
29237 fi
29238
29239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29240 conftest$ac_exeext conftest.$ac_ext
29241 LIBS=$ac_check_lib_save_LIBS
29242 fi
29243 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29244 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29245 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29246 cat >>confdefs.h <<\_ACEOF
29247 #define HAVE_XIM 1
29248 _ACEOF
29249
29250 fi
29251
29252
29253 if test "$USE_DARWIN" != 1; then
29254
29255 for ac_func in poll
29256 do
29257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 else
29263 cat >conftest.$ac_ext <<_ACEOF
29264 /* confdefs.h. */
29265 _ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29271 #define $ac_func innocuous_$ac_func
29272
29273 /* System header to define __stub macros and hopefully few prototypes,
29274 which can conflict with char $ac_func (); below.
29275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29276 <limits.h> exists even on freestanding compilers. */
29277
29278 #ifdef __STDC__
29279 # include <limits.h>
29280 #else
29281 # include <assert.h>
29282 #endif
29283
29284 #undef $ac_func
29285
29286 /* Override any GCC internal prototype to avoid an error.
29287 Use char because int might match the return type of a GCC
29288 builtin and then its argument prototype would still apply. */
29289 #ifdef __cplusplus
29290 extern "C"
29291 #endif
29292 char $ac_func ();
29293 /* The GNU C library defines this for functions which it implements
29294 to always fail with ENOSYS. Some functions are actually named
29295 something starting with __ and the normal name is an alias. */
29296 #if defined __stub_$ac_func || defined __stub___$ac_func
29297 choke me
29298 #endif
29299
29300 int
29301 main ()
29302 {
29303 return $ac_func ();
29304 ;
29305 return 0;
29306 }
29307 _ACEOF
29308 rm -f conftest.$ac_objext conftest$ac_exeext
29309 if { (ac_try="$ac_link"
29310 case "(($ac_try" in
29311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29312 *) ac_try_echo=$ac_try;;
29313 esac
29314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29315 (eval "$ac_link") 2>conftest.er1
29316 ac_status=$?
29317 grep -v '^ *+' conftest.er1 >conftest.err
29318 rm -f conftest.er1
29319 cat conftest.err >&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } && {
29322 test -z "$ac_c_werror_flag" ||
29323 test ! -s conftest.err
29324 } && test -s conftest$ac_exeext &&
29325 $as_test_x conftest$ac_exeext; then
29326 eval "$as_ac_var=yes"
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331 eval "$as_ac_var=no"
29332 fi
29333
29334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29335 conftest$ac_exeext conftest.$ac_ext
29336 fi
29337 ac_res=`eval echo '${'$as_ac_var'}'`
29338 { echo "$as_me:$LINENO: result: $ac_res" >&5
29339 echo "${ECHO_T}$ac_res" >&6; }
29340 if test `eval echo '${'$as_ac_var'}'` = yes; then
29341 cat >>confdefs.h <<_ACEOF
29342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29343 _ACEOF
29344
29345 fi
29346 done
29347
29348 fi
29349 fi
29350
29351 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29352 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29353
29354 AFMINSTALL=afminstall
29355 TOOLKIT=GTK
29356 GUIDIST=GTK_DIST
29357
29358 if test "$wxUSE_GPE" = "yes"; then
29359 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29360 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29361
29362 ac_find_libraries=
29363 for ac_dir in $SEARCH_LIB;
29364 do
29365 for ac_extension in a so sl dylib dll.a; do
29366 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29367 ac_find_libraries=$ac_dir
29368 break 2
29369 fi
29370 done
29371 done
29372
29373 if test "$ac_find_libraries" != "" ; then
29374
29375 if test "$ac_find_libraries" = "default location"; then
29376 ac_path_to_link=""
29377 else
29378 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29379 result=$?
29380 if test $result = 0; then
29381 ac_path_to_link=""
29382 else
29383 ac_path_to_link=" -L$ac_find_libraries"
29384 fi
29385 fi
29386
29387 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29388 WXGPE=1
29389 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29390 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29391 else
29392 { echo "$as_me:$LINENO: result: not found" >&5
29393 echo "${ECHO_T}not found" >&6; }
29394 fi
29395
29396 fi
29397 fi
29398
29399 if test "$wxUSE_MGL" = 1; then
29400 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29401 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29402 if test "x$MGL_ROOT" = x ; then
29403 { echo "$as_me:$LINENO: result: not found" >&5
29404 echo "${ECHO_T}not found" >&6; }
29405 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29406 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29407 { (exit 1); exit 1; }; }
29408 else
29409 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29410 echo "${ECHO_T}$MGL_ROOT" >&6; }
29411 fi
29412
29413 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29414 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29415 case "${host}" in
29416 *-*-linux* )
29417 if test "x$wxUSE_SHARED" = xyes ; then
29418 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29419 else
29420 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29421 fi
29422 ;;
29423 *-pc-msdosdjgpp )
29424 mgl_os_candidates="dos32/dj2"
29425 ;;
29426 *)
29427 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29428 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29429 { (exit 1); exit 1; }; }
29430 esac
29431
29432 mgl_lib_type=""
29433 mgl_os=""
29434
29435 for mgl_os_i in $mgl_os_candidates ; do
29436 if test "x$mgl_os" = x ; then
29437 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29438 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29439 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29440 mgl_lib_type=debug
29441 mgl_os=$mgl_os_i
29442 fi
29443 fi
29444 if test "x$mgl_lib_type" = x ; then
29445 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29446 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29447 mgl_lib_type=release
29448 mgl_os=$mgl_os_i
29449 fi
29450 fi
29451 fi
29452 done
29453
29454 if test "x$mgl_os" = x ; then
29455 { echo "$as_me:$LINENO: result: not found" >&5
29456 echo "${ECHO_T}not found" >&6; }
29457 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29458 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29459 { (exit 1); exit 1; }; }
29460 fi
29461 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29462 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29463
29464 wxUSE_UNIVERSAL="yes"
29465
29466 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29467 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29468
29469 AFMINSTALL=afminstall
29470 TOOLKIT=MGL
29471 GUIDIST=MGL_DIST
29472 fi
29473
29474 if test "$wxUSE_DFB" = 1; then
29475
29476
29477 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29478 if test -n "$ac_tool_prefix"; then
29479 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29480 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29483 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 else
29486 case $PKG_CONFIG in
29487 [\\/]* | ?:[\\/]*)
29488 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29489 ;;
29490 *)
29491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29492 for as_dir in $PATH
29493 do
29494 IFS=$as_save_IFS
29495 test -z "$as_dir" && as_dir=.
29496 for ac_exec_ext in '' $ac_executable_extensions; do
29497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29498 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29500 break 2
29501 fi
29502 done
29503 done
29504 IFS=$as_save_IFS
29505
29506 ;;
29507 esac
29508 fi
29509 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29510 if test -n "$PKG_CONFIG"; then
29511 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29512 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29513 else
29514 { echo "$as_me:$LINENO: result: no" >&5
29515 echo "${ECHO_T}no" >&6; }
29516 fi
29517
29518
29519 fi
29520 if test -z "$ac_cv_path_PKG_CONFIG"; then
29521 ac_pt_PKG_CONFIG=$PKG_CONFIG
29522 # Extract the first word of "pkg-config", so it can be a program name with args.
29523 set dummy pkg-config; ac_word=$2
29524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29526 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 case $ac_pt_PKG_CONFIG in
29530 [\\/]* | ?:[\\/]*)
29531 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29532 ;;
29533 *)
29534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29535 for as_dir in $PATH
29536 do
29537 IFS=$as_save_IFS
29538 test -z "$as_dir" && as_dir=.
29539 for ac_exec_ext in '' $ac_executable_extensions; do
29540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29541 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29543 break 2
29544 fi
29545 done
29546 done
29547 IFS=$as_save_IFS
29548
29549 ;;
29550 esac
29551 fi
29552 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29553 if test -n "$ac_pt_PKG_CONFIG"; then
29554 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29555 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29556 else
29557 { echo "$as_me:$LINENO: result: no" >&5
29558 echo "${ECHO_T}no" >&6; }
29559 fi
29560
29561 if test "x$ac_pt_PKG_CONFIG" = x; then
29562 PKG_CONFIG=""
29563 else
29564 case $cross_compiling:$ac_tool_warned in
29565 yes:)
29566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29567 whose name does not start with the host triplet. If you think this
29568 configuration is useful to you, please write to autoconf@gnu.org." >&5
29569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29570 whose name does not start with the host triplet. If you think this
29571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29572 ac_tool_warned=yes ;;
29573 esac
29574 PKG_CONFIG=$ac_pt_PKG_CONFIG
29575 fi
29576 else
29577 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29578 fi
29579
29580 fi
29581 if test -n "$PKG_CONFIG"; then
29582 _pkg_min_version=0.9.0
29583 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29584 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29585 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29586 { echo "$as_me:$LINENO: result: yes" >&5
29587 echo "${ECHO_T}yes" >&6; }
29588 else
29589 { echo "$as_me:$LINENO: result: no" >&5
29590 echo "${ECHO_T}no" >&6; }
29591 PKG_CONFIG=""
29592 fi
29593
29594 fi
29595
29596
29597 pkg_failed=no
29598 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29599 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29600
29601 if test -n "$PKG_CONFIG"; then
29602 if test -n "$DIRECTFB_CFLAGS"; then
29603 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29604 else
29605 if test -n "$PKG_CONFIG" && \
29606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29607 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29608 ac_status=$?
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); }; then
29611 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29612 else
29613 pkg_failed=yes
29614 fi
29615 fi
29616 else
29617 pkg_failed=untried
29618 fi
29619 if test -n "$PKG_CONFIG"; then
29620 if test -n "$DIRECTFB_LIBS"; then
29621 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29622 else
29623 if test -n "$PKG_CONFIG" && \
29624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; then
29629 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29630 else
29631 pkg_failed=yes
29632 fi
29633 fi
29634 else
29635 pkg_failed=untried
29636 fi
29637
29638
29639
29640 if test $pkg_failed = yes; then
29641
29642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29643 _pkg_short_errors_supported=yes
29644 else
29645 _pkg_short_errors_supported=no
29646 fi
29647 if test $_pkg_short_errors_supported = yes; then
29648 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29649 else
29650 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29651 fi
29652 # Put the nasty error message in config.log where it belongs
29653 echo "$DIRECTFB_PKG_ERRORS" >&5
29654
29655
29656 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29657 echo "$as_me: error: DirectFB not found." >&2;}
29658 { (exit 1); exit 1; }; }
29659
29660
29661 elif test $pkg_failed = untried; then
29662
29663 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29664 echo "$as_me: error: DirectFB not found." >&2;}
29665 { (exit 1); exit 1; }; }
29666
29667
29668 else
29669 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29670 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29671 { echo "$as_me:$LINENO: result: yes" >&5
29672 echo "${ECHO_T}yes" >&6; }
29673
29674 wxUSE_UNIVERSAL="yes"
29675 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29676 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29677 TOOLKIT=DFB
29678 GUIDIST=DFB_DIST
29679
29680 fi
29681 fi
29682
29683 if test "$wxUSE_MICROWIN" = 1; then
29684 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29685 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29686 if test "x$MICROWINDOWS" = x ; then
29687 { echo "$as_me:$LINENO: result: not found" >&5
29688 echo "${ECHO_T}not found" >&6; }
29689 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29690 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29691 { (exit 1); exit 1; }; }
29692 else
29693 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29694 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29695 fi
29696
29697 if test -f $MICROWINDOWS/lib/libmwin.a; then
29698 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29699 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29700 else
29701 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29702 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29703 { (exit 1); exit 1; }; }
29704 fi
29705
29706 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29707 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29708
29709 wxUSE_UNIVERSAL="yes"
29710
29711 AFMINSTALL=afminstall
29712 TOOLKIT=MICROWIN
29713 GUIDIST=MICROWIN_DIST
29714
29715 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29716 fi
29717
29718 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29719 { echo "$as_me:$LINENO: checking for X" >&5
29720 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29721
29722
29723 # Check whether --with-x was given.
29724 if test "${with_x+set}" = set; then
29725 withval=$with_x;
29726 fi
29727
29728 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29729 if test "x$with_x" = xno; then
29730 # The user explicitly disabled X.
29731 have_x=disabled
29732 else
29733 case $x_includes,$x_libraries in #(
29734 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29735 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29736 { (exit 1); exit 1; }; };; #(
29737 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 else
29740 # One or both of the vars are not set, and there is no cached value.
29741 ac_x_includes=no ac_x_libraries=no
29742 rm -f -r conftest.dir
29743 if mkdir conftest.dir; then
29744 cd conftest.dir
29745 cat >Imakefile <<'_ACEOF'
29746 incroot:
29747 @echo incroot='${INCROOT}'
29748 usrlibdir:
29749 @echo usrlibdir='${USRLIBDIR}'
29750 libdir:
29751 @echo libdir='${LIBDIR}'
29752 _ACEOF
29753 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29754 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29755 for ac_var in incroot usrlibdir libdir; do
29756 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29757 done
29758 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29759 for ac_extension in a so sl; do
29760 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29761 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29762 ac_im_usrlibdir=$ac_im_libdir; break
29763 fi
29764 done
29765 # Screen out bogus values from the imake configuration. They are
29766 # bogus both because they are the default anyway, and because
29767 # using them would break gcc on systems where it needs fixed includes.
29768 case $ac_im_incroot in
29769 /usr/include) ac_x_includes= ;;
29770 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29771 esac
29772 case $ac_im_usrlibdir in
29773 /usr/lib | /lib) ;;
29774 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29775 esac
29776 fi
29777 cd ..
29778 rm -f -r conftest.dir
29779 fi
29780
29781 # Standard set of common directories for X headers.
29782 # Check X11 before X11Rn because it is often a symlink to the current release.
29783 ac_x_header_dirs='
29784 /usr/X11/include
29785 /usr/X11R6/include
29786 /usr/X11R5/include
29787 /usr/X11R4/include
29788
29789 /usr/include/X11
29790 /usr/include/X11R6
29791 /usr/include/X11R5
29792 /usr/include/X11R4
29793
29794 /usr/local/X11/include
29795 /usr/local/X11R6/include
29796 /usr/local/X11R5/include
29797 /usr/local/X11R4/include
29798
29799 /usr/local/include/X11
29800 /usr/local/include/X11R6
29801 /usr/local/include/X11R5
29802 /usr/local/include/X11R4
29803
29804 /usr/X386/include
29805 /usr/x386/include
29806 /usr/XFree86/include/X11
29807
29808 /usr/include
29809 /usr/local/include
29810 /usr/unsupported/include
29811 /usr/athena/include
29812 /usr/local/x11r5/include
29813 /usr/lpp/Xamples/include
29814
29815 /usr/openwin/include
29816 /usr/openwin/share/include'
29817
29818 if test "$ac_x_includes" = no; then
29819 # Guess where to find include files, by looking for Xlib.h.
29820 # First, try using that file with no special directory specified.
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 <X11/Xlib.h>
29828 _ACEOF
29829 if { (ac_try="$ac_cpp conftest.$ac_ext"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29833 esac
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29836 ac_status=$?
29837 grep -v '^ *+' conftest.er1 >conftest.err
29838 rm -f conftest.er1
29839 cat conftest.err >&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); } >/dev/null && {
29842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29843 test ! -s conftest.err
29844 }; then
29845 # We can compile using X headers with no special include directory.
29846 ac_x_includes=
29847 else
29848 echo "$as_me: failed program was:" >&5
29849 sed 's/^/| /' conftest.$ac_ext >&5
29850
29851 for ac_dir in $ac_x_header_dirs; do
29852 if test -r "$ac_dir/X11/Xlib.h"; then
29853 ac_x_includes=$ac_dir
29854 break
29855 fi
29856 done
29857 fi
29858
29859 rm -f conftest.err conftest.$ac_ext
29860 fi # $ac_x_includes = no
29861
29862 if test "$ac_x_libraries" = no; then
29863 # Check for the libraries.
29864 # See if we find them without any special options.
29865 # Don't add to $LIBS permanently.
29866 ac_save_LIBS=$LIBS
29867 LIBS="-lX11 $LIBS"
29868 cat >conftest.$ac_ext <<_ACEOF
29869 /* confdefs.h. */
29870 _ACEOF
29871 cat confdefs.h >>conftest.$ac_ext
29872 cat >>conftest.$ac_ext <<_ACEOF
29873 /* end confdefs.h. */
29874 #include <X11/Xlib.h>
29875 int
29876 main ()
29877 {
29878 XrmInitialize ()
29879 ;
29880 return 0;
29881 }
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (ac_try="$ac_link"
29885 case "(($ac_try" in
29886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29887 *) ac_try_echo=$ac_try;;
29888 esac
29889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29890 (eval "$ac_link") 2>conftest.er1
29891 ac_status=$?
29892 grep -v '^ *+' conftest.er1 >conftest.err
29893 rm -f conftest.er1
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } && {
29897 test -z "$ac_c_werror_flag" ||
29898 test ! -s conftest.err
29899 } && test -s conftest$ac_exeext &&
29900 $as_test_x conftest$ac_exeext; then
29901 LIBS=$ac_save_LIBS
29902 # We can link X programs with no special library path.
29903 ac_x_libraries=
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 LIBS=$ac_save_LIBS
29909 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29910 do
29911 # Don't even attempt the hair of trying to link an X program!
29912 for ac_extension in a so sl; do
29913 if test -r "$ac_dir/libX11.$ac_extension"; then
29914 ac_x_libraries=$ac_dir
29915 break 2
29916 fi
29917 done
29918 done
29919 fi
29920
29921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29922 conftest$ac_exeext conftest.$ac_ext
29923 fi # $ac_x_libraries = no
29924
29925 case $ac_x_includes,$ac_x_libraries in #(
29926 no,* | *,no | *\'*)
29927 # Didn't find X, or a directory has "'" in its name.
29928 ac_cv_have_x="have_x=no";; #(
29929 *)
29930 # Record where we found X for the cache.
29931 ac_cv_have_x="have_x=yes\
29932 ac_x_includes='$ac_x_includes'\
29933 ac_x_libraries='$ac_x_libraries'"
29934 esac
29935 fi
29936 ;; #(
29937 *) have_x=yes;;
29938 esac
29939 eval "$ac_cv_have_x"
29940 fi # $with_x != no
29941
29942 if test "$have_x" != yes; then
29943 { echo "$as_me:$LINENO: result: $have_x" >&5
29944 echo "${ECHO_T}$have_x" >&6; }
29945 no_x=yes
29946 else
29947 # If each of the values was on the command line, it overrides each guess.
29948 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29949 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29950 # Update the cache value to reflect the command line values.
29951 ac_cv_have_x="have_x=yes\
29952 ac_x_includes='$x_includes'\
29953 ac_x_libraries='$x_libraries'"
29954 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29955 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29956 fi
29957
29958 if test "$no_x" = yes; then
29959 # Not all programs may use this symbol, but it does not hurt to define it.
29960
29961 cat >>confdefs.h <<\_ACEOF
29962 #define X_DISPLAY_MISSING 1
29963 _ACEOF
29964
29965 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29966 else
29967 if test -n "$x_includes"; then
29968 X_CFLAGS="$X_CFLAGS -I$x_includes"
29969 fi
29970
29971 # It would also be nice to do this for all -L options, not just this one.
29972 if test -n "$x_libraries"; then
29973 X_LIBS="$X_LIBS -L$x_libraries"
29974 # For Solaris; some versions of Sun CC require a space after -R and
29975 # others require no space. Words are not sufficient . . . .
29976 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29977 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29978 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29979 ac_xsave_c_werror_flag=$ac_c_werror_flag
29980 ac_c_werror_flag=yes
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987
29988 int
29989 main ()
29990 {
29991
29992 ;
29993 return 0;
29994 }
29995 _ACEOF
29996 rm -f conftest.$ac_objext conftest$ac_exeext
29997 if { (ac_try="$ac_link"
29998 case "(($ac_try" in
29999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30000 *) ac_try_echo=$ac_try;;
30001 esac
30002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30003 (eval "$ac_link") 2>conftest.er1
30004 ac_status=$?
30005 grep -v '^ *+' conftest.er1 >conftest.err
30006 rm -f conftest.er1
30007 cat conftest.err >&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } && {
30010 test -z "$ac_c_werror_flag" ||
30011 test ! -s conftest.err
30012 } && test -s conftest$ac_exeext &&
30013 $as_test_x conftest$ac_exeext; then
30014 { echo "$as_me:$LINENO: result: no" >&5
30015 echo "${ECHO_T}no" >&6; }
30016 X_LIBS="$X_LIBS -R$x_libraries"
30017 else
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30020
30021 LIBS="$ac_xsave_LIBS -R $x_libraries"
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 int
30030 main ()
30031 {
30032
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (ac_try="$ac_link"
30039 case "(($ac_try" in
30040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30041 *) ac_try_echo=$ac_try;;
30042 esac
30043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_link") 2>conftest.er1
30045 ac_status=$?
30046 grep -v '^ *+' conftest.er1 >conftest.err
30047 rm -f conftest.er1
30048 cat conftest.err >&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && {
30051 test -z "$ac_c_werror_flag" ||
30052 test ! -s conftest.err
30053 } && test -s conftest$ac_exeext &&
30054 $as_test_x conftest$ac_exeext; then
30055 { echo "$as_me:$LINENO: result: yes" >&5
30056 echo "${ECHO_T}yes" >&6; }
30057 X_LIBS="$X_LIBS -R $x_libraries"
30058 else
30059 echo "$as_me: failed program was:" >&5
30060 sed 's/^/| /' conftest.$ac_ext >&5
30061
30062 { echo "$as_me:$LINENO: result: neither works" >&5
30063 echo "${ECHO_T}neither works" >&6; }
30064 fi
30065
30066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30067 conftest$ac_exeext conftest.$ac_ext
30068 fi
30069
30070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30071 conftest$ac_exeext conftest.$ac_ext
30072 ac_c_werror_flag=$ac_xsave_c_werror_flag
30073 LIBS=$ac_xsave_LIBS
30074 fi
30075
30076 # Check for system-dependent libraries X programs must link with.
30077 # Do this before checking for the system-independent R6 libraries
30078 # (-lICE), since we may need -lsocket or whatever for X linking.
30079
30080 if test "$ISC" = yes; then
30081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30082 else
30083 # Martyn Johnson says this is needed for Ultrix, if the X
30084 # libraries were built with DECnet support. And Karl Berry says
30085 # the Alpha needs dnet_stub (dnet does not exist).
30086 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30087 cat >conftest.$ac_ext <<_ACEOF
30088 /* confdefs.h. */
30089 _ACEOF
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093
30094 /* Override any GCC internal prototype to avoid an error.
30095 Use char because int might match the return type of a GCC
30096 builtin and then its argument prototype would still apply. */
30097 #ifdef __cplusplus
30098 extern "C"
30099 #endif
30100 char XOpenDisplay ();
30101 int
30102 main ()
30103 {
30104 return XOpenDisplay ();
30105 ;
30106 return 0;
30107 }
30108 _ACEOF
30109 rm -f conftest.$ac_objext conftest$ac_exeext
30110 if { (ac_try="$ac_link"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30114 esac
30115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_link") 2>conftest.er1
30117 ac_status=$?
30118 grep -v '^ *+' conftest.er1 >conftest.err
30119 rm -f conftest.er1
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } && {
30123 test -z "$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30125 } && test -s conftest$ac_exeext &&
30126 $as_test_x conftest$ac_exeext; then
30127 :
30128 else
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30131
30132 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30133 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30134 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 else
30137 ac_check_lib_save_LIBS=$LIBS
30138 LIBS="-ldnet $LIBS"
30139 cat >conftest.$ac_ext <<_ACEOF
30140 /* confdefs.h. */
30141 _ACEOF
30142 cat confdefs.h >>conftest.$ac_ext
30143 cat >>conftest.$ac_ext <<_ACEOF
30144 /* end confdefs.h. */
30145
30146 /* Override any GCC internal prototype to avoid an error.
30147 Use char because int might match the return type of a GCC
30148 builtin and then its argument prototype would still apply. */
30149 #ifdef __cplusplus
30150 extern "C"
30151 #endif
30152 char dnet_ntoa ();
30153 int
30154 main ()
30155 {
30156 return dnet_ntoa ();
30157 ;
30158 return 0;
30159 }
30160 _ACEOF
30161 rm -f conftest.$ac_objext conftest$ac_exeext
30162 if { (ac_try="$ac_link"
30163 case "(($ac_try" in
30164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30165 *) ac_try_echo=$ac_try;;
30166 esac
30167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30168 (eval "$ac_link") 2>conftest.er1
30169 ac_status=$?
30170 grep -v '^ *+' conftest.er1 >conftest.err
30171 rm -f conftest.er1
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } && {
30175 test -z "$ac_c_werror_flag" ||
30176 test ! -s conftest.err
30177 } && test -s conftest$ac_exeext &&
30178 $as_test_x conftest$ac_exeext; then
30179 ac_cv_lib_dnet_dnet_ntoa=yes
30180 else
30181 echo "$as_me: failed program was:" >&5
30182 sed 's/^/| /' conftest.$ac_ext >&5
30183
30184 ac_cv_lib_dnet_dnet_ntoa=no
30185 fi
30186
30187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30188 conftest$ac_exeext conftest.$ac_ext
30189 LIBS=$ac_check_lib_save_LIBS
30190 fi
30191 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30192 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30193 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30194 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30195 fi
30196
30197 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30198 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30199 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30200 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 else
30203 ac_check_lib_save_LIBS=$LIBS
30204 LIBS="-ldnet_stub $LIBS"
30205 cat >conftest.$ac_ext <<_ACEOF
30206 /* confdefs.h. */
30207 _ACEOF
30208 cat confdefs.h >>conftest.$ac_ext
30209 cat >>conftest.$ac_ext <<_ACEOF
30210 /* end confdefs.h. */
30211
30212 /* Override any GCC internal prototype to avoid an error.
30213 Use char because int might match the return type of a GCC
30214 builtin and then its argument prototype would still apply. */
30215 #ifdef __cplusplus
30216 extern "C"
30217 #endif
30218 char dnet_ntoa ();
30219 int
30220 main ()
30221 {
30222 return dnet_ntoa ();
30223 ;
30224 return 0;
30225 }
30226 _ACEOF
30227 rm -f conftest.$ac_objext conftest$ac_exeext
30228 if { (ac_try="$ac_link"
30229 case "(($ac_try" in
30230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30231 *) ac_try_echo=$ac_try;;
30232 esac
30233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30234 (eval "$ac_link") 2>conftest.er1
30235 ac_status=$?
30236 grep -v '^ *+' conftest.er1 >conftest.err
30237 rm -f conftest.er1
30238 cat conftest.err >&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } && {
30241 test -z "$ac_c_werror_flag" ||
30242 test ! -s conftest.err
30243 } && test -s conftest$ac_exeext &&
30244 $as_test_x conftest$ac_exeext; then
30245 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 ac_cv_lib_dnet_stub_dnet_ntoa=no
30251 fi
30252
30253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30254 conftest$ac_exeext conftest.$ac_ext
30255 LIBS=$ac_check_lib_save_LIBS
30256 fi
30257 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30258 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30259 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30260 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30261 fi
30262
30263 fi
30264 fi
30265
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30268 LIBS="$ac_xsave_LIBS"
30269
30270 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30271 # to get the SysV transport functions.
30272 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30273 # needs -lnsl.
30274 # The nsl library prevents programs from opening the X display
30275 # on Irix 5.2, according to T.E. Dickey.
30276 # The functions gethostbyname, getservbyname, and inet_addr are
30277 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30278 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30279 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30280 if test "${ac_cv_func_gethostbyname+set}" = set; then
30281 echo $ECHO_N "(cached) $ECHO_C" >&6
30282 else
30283 cat >conftest.$ac_ext <<_ACEOF
30284 /* confdefs.h. */
30285 _ACEOF
30286 cat confdefs.h >>conftest.$ac_ext
30287 cat >>conftest.$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30289 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30291 #define gethostbyname innocuous_gethostbyname
30292
30293 /* System header to define __stub macros and hopefully few prototypes,
30294 which can conflict with char gethostbyname (); below.
30295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30296 <limits.h> exists even on freestanding compilers. */
30297
30298 #ifdef __STDC__
30299 # include <limits.h>
30300 #else
30301 # include <assert.h>
30302 #endif
30303
30304 #undef gethostbyname
30305
30306 /* Override any GCC internal prototype to avoid an error.
30307 Use char because int might match the return type of a GCC
30308 builtin and then its argument prototype would still apply. */
30309 #ifdef __cplusplus
30310 extern "C"
30311 #endif
30312 char gethostbyname ();
30313 /* The GNU C library defines this for functions which it implements
30314 to always fail with ENOSYS. Some functions are actually named
30315 something starting with __ and the normal name is an alias. */
30316 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30317 choke me
30318 #endif
30319
30320 int
30321 main ()
30322 {
30323 return gethostbyname ();
30324 ;
30325 return 0;
30326 }
30327 _ACEOF
30328 rm -f conftest.$ac_objext conftest$ac_exeext
30329 if { (ac_try="$ac_link"
30330 case "(($ac_try" in
30331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30332 *) ac_try_echo=$ac_try;;
30333 esac
30334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30335 (eval "$ac_link") 2>conftest.er1
30336 ac_status=$?
30337 grep -v '^ *+' conftest.er1 >conftest.err
30338 rm -f conftest.er1
30339 cat conftest.err >&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); } && {
30342 test -z "$ac_c_werror_flag" ||
30343 test ! -s conftest.err
30344 } && test -s conftest$ac_exeext &&
30345 $as_test_x conftest$ac_exeext; then
30346 ac_cv_func_gethostbyname=yes
30347 else
30348 echo "$as_me: failed program was:" >&5
30349 sed 's/^/| /' conftest.$ac_ext >&5
30350
30351 ac_cv_func_gethostbyname=no
30352 fi
30353
30354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30355 conftest$ac_exeext conftest.$ac_ext
30356 fi
30357 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30358 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30359
30360 if test $ac_cv_func_gethostbyname = no; then
30361 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30362 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30363 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 else
30366 ac_check_lib_save_LIBS=$LIBS
30367 LIBS="-lnsl $LIBS"
30368 cat >conftest.$ac_ext <<_ACEOF
30369 /* confdefs.h. */
30370 _ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h. */
30374
30375 /* Override any GCC internal prototype to avoid an error.
30376 Use char because int might match the return type of a GCC
30377 builtin and then its argument prototype would still apply. */
30378 #ifdef __cplusplus
30379 extern "C"
30380 #endif
30381 char gethostbyname ();
30382 int
30383 main ()
30384 {
30385 return gethostbyname ();
30386 ;
30387 return 0;
30388 }
30389 _ACEOF
30390 rm -f conftest.$ac_objext conftest$ac_exeext
30391 if { (ac_try="$ac_link"
30392 case "(($ac_try" in
30393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30394 *) ac_try_echo=$ac_try;;
30395 esac
30396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30397 (eval "$ac_link") 2>conftest.er1
30398 ac_status=$?
30399 grep -v '^ *+' conftest.er1 >conftest.err
30400 rm -f conftest.er1
30401 cat conftest.err >&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } && {
30404 test -z "$ac_c_werror_flag" ||
30405 test ! -s conftest.err
30406 } && test -s conftest$ac_exeext &&
30407 $as_test_x conftest$ac_exeext; then
30408 ac_cv_lib_nsl_gethostbyname=yes
30409 else
30410 echo "$as_me: failed program was:" >&5
30411 sed 's/^/| /' conftest.$ac_ext >&5
30412
30413 ac_cv_lib_nsl_gethostbyname=no
30414 fi
30415
30416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30417 conftest$ac_exeext conftest.$ac_ext
30418 LIBS=$ac_check_lib_save_LIBS
30419 fi
30420 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30421 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30422 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30424 fi
30425
30426 if test $ac_cv_lib_nsl_gethostbyname = no; then
30427 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30428 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30429 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 ac_check_lib_save_LIBS=$LIBS
30433 LIBS="-lbsd $LIBS"
30434 cat >conftest.$ac_ext <<_ACEOF
30435 /* confdefs.h. */
30436 _ACEOF
30437 cat confdefs.h >>conftest.$ac_ext
30438 cat >>conftest.$ac_ext <<_ACEOF
30439 /* end confdefs.h. */
30440
30441 /* Override any GCC internal prototype to avoid an error.
30442 Use char because int might match the return type of a GCC
30443 builtin and then its argument prototype would still apply. */
30444 #ifdef __cplusplus
30445 extern "C"
30446 #endif
30447 char gethostbyname ();
30448 int
30449 main ()
30450 {
30451 return gethostbyname ();
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 rm -f conftest.$ac_objext conftest$ac_exeext
30457 if { (ac_try="$ac_link"
30458 case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30461 esac
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_link") 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && {
30470 test -z "$ac_c_werror_flag" ||
30471 test ! -s conftest.err
30472 } && test -s conftest$ac_exeext &&
30473 $as_test_x conftest$ac_exeext; then
30474 ac_cv_lib_bsd_gethostbyname=yes
30475 else
30476 echo "$as_me: failed program was:" >&5
30477 sed 's/^/| /' conftest.$ac_ext >&5
30478
30479 ac_cv_lib_bsd_gethostbyname=no
30480 fi
30481
30482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30485 fi
30486 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30487 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30488 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30490 fi
30491
30492 fi
30493 fi
30494
30495 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30496 # socket/setsockopt and other routines are undefined under SCO ODT
30497 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30498 # on later versions), says Simon Leinen: it contains gethostby*
30499 # variants that don't use the name server (or something). -lsocket
30500 # must be given before -lnsl if both are needed. We assume that
30501 # if connect needs -lnsl, so does gethostbyname.
30502 { echo "$as_me:$LINENO: checking for connect" >&5
30503 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30504 if test "${ac_cv_func_connect+set}" = set; then
30505 echo $ECHO_N "(cached) $ECHO_C" >&6
30506 else
30507 cat >conftest.$ac_ext <<_ACEOF
30508 /* confdefs.h. */
30509 _ACEOF
30510 cat confdefs.h >>conftest.$ac_ext
30511 cat >>conftest.$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30513 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30515 #define connect innocuous_connect
30516
30517 /* System header to define __stub macros and hopefully few prototypes,
30518 which can conflict with char connect (); below.
30519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30520 <limits.h> exists even on freestanding compilers. */
30521
30522 #ifdef __STDC__
30523 # include <limits.h>
30524 #else
30525 # include <assert.h>
30526 #endif
30527
30528 #undef connect
30529
30530 /* Override any GCC internal prototype to avoid an error.
30531 Use char because int might match the return type of a GCC
30532 builtin and then its argument prototype would still apply. */
30533 #ifdef __cplusplus
30534 extern "C"
30535 #endif
30536 char connect ();
30537 /* The GNU C library defines this for functions which it implements
30538 to always fail with ENOSYS. Some functions are actually named
30539 something starting with __ and the normal name is an alias. */
30540 #if defined __stub_connect || defined __stub___connect
30541 choke me
30542 #endif
30543
30544 int
30545 main ()
30546 {
30547 return connect ();
30548 ;
30549 return 0;
30550 }
30551 _ACEOF
30552 rm -f conftest.$ac_objext conftest$ac_exeext
30553 if { (ac_try="$ac_link"
30554 case "(($ac_try" in
30555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30556 *) ac_try_echo=$ac_try;;
30557 esac
30558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30559 (eval "$ac_link") 2>conftest.er1
30560 ac_status=$?
30561 grep -v '^ *+' conftest.er1 >conftest.err
30562 rm -f conftest.er1
30563 cat conftest.err >&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } && {
30566 test -z "$ac_c_werror_flag" ||
30567 test ! -s conftest.err
30568 } && test -s conftest$ac_exeext &&
30569 $as_test_x conftest$ac_exeext; then
30570 ac_cv_func_connect=yes
30571 else
30572 echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.$ac_ext >&5
30574
30575 ac_cv_func_connect=no
30576 fi
30577
30578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30579 conftest$ac_exeext conftest.$ac_ext
30580 fi
30581 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30582 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30583
30584 if test $ac_cv_func_connect = no; then
30585 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30586 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30587 if test "${ac_cv_lib_socket_connect+set}" = set; then
30588 echo $ECHO_N "(cached) $ECHO_C" >&6
30589 else
30590 ac_check_lib_save_LIBS=$LIBS
30591 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30592 cat >conftest.$ac_ext <<_ACEOF
30593 /* confdefs.h. */
30594 _ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598
30599 /* Override any GCC internal prototype to avoid an error.
30600 Use char because int might match the return type of a GCC
30601 builtin and then its argument prototype would still apply. */
30602 #ifdef __cplusplus
30603 extern "C"
30604 #endif
30605 char connect ();
30606 int
30607 main ()
30608 {
30609 return connect ();
30610 ;
30611 return 0;
30612 }
30613 _ACEOF
30614 rm -f conftest.$ac_objext conftest$ac_exeext
30615 if { (ac_try="$ac_link"
30616 case "(($ac_try" in
30617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30618 *) ac_try_echo=$ac_try;;
30619 esac
30620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30621 (eval "$ac_link") 2>conftest.er1
30622 ac_status=$?
30623 grep -v '^ *+' conftest.er1 >conftest.err
30624 rm -f conftest.er1
30625 cat conftest.err >&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } && {
30628 test -z "$ac_c_werror_flag" ||
30629 test ! -s conftest.err
30630 } && test -s conftest$ac_exeext &&
30631 $as_test_x conftest$ac_exeext; then
30632 ac_cv_lib_socket_connect=yes
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637 ac_cv_lib_socket_connect=no
30638 fi
30639
30640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30641 conftest$ac_exeext conftest.$ac_ext
30642 LIBS=$ac_check_lib_save_LIBS
30643 fi
30644 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30645 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30646 if test $ac_cv_lib_socket_connect = yes; then
30647 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30648 fi
30649
30650 fi
30651
30652 # Guillermo Gomez says -lposix is necessary on A/UX.
30653 { echo "$as_me:$LINENO: checking for remove" >&5
30654 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30655 if test "${ac_cv_func_remove+set}" = set; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30657 else
30658 cat >conftest.$ac_ext <<_ACEOF
30659 /* confdefs.h. */
30660 _ACEOF
30661 cat confdefs.h >>conftest.$ac_ext
30662 cat >>conftest.$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30666 #define remove innocuous_remove
30667
30668 /* System header to define __stub macros and hopefully few prototypes,
30669 which can conflict with char remove (); below.
30670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30671 <limits.h> exists even on freestanding compilers. */
30672
30673 #ifdef __STDC__
30674 # include <limits.h>
30675 #else
30676 # include <assert.h>
30677 #endif
30678
30679 #undef remove
30680
30681 /* Override any GCC internal prototype to avoid an error.
30682 Use char because int might match the return type of a GCC
30683 builtin and then its argument prototype would still apply. */
30684 #ifdef __cplusplus
30685 extern "C"
30686 #endif
30687 char remove ();
30688 /* The GNU C library defines this for functions which it implements
30689 to always fail with ENOSYS. Some functions are actually named
30690 something starting with __ and the normal name is an alias. */
30691 #if defined __stub_remove || defined __stub___remove
30692 choke me
30693 #endif
30694
30695 int
30696 main ()
30697 {
30698 return remove ();
30699 ;
30700 return 0;
30701 }
30702 _ACEOF
30703 rm -f conftest.$ac_objext conftest$ac_exeext
30704 if { (ac_try="$ac_link"
30705 case "(($ac_try" in
30706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30707 *) ac_try_echo=$ac_try;;
30708 esac
30709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30710 (eval "$ac_link") 2>conftest.er1
30711 ac_status=$?
30712 grep -v '^ *+' conftest.er1 >conftest.err
30713 rm -f conftest.er1
30714 cat conftest.err >&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } && {
30717 test -z "$ac_c_werror_flag" ||
30718 test ! -s conftest.err
30719 } && test -s conftest$ac_exeext &&
30720 $as_test_x conftest$ac_exeext; then
30721 ac_cv_func_remove=yes
30722 else
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.$ac_ext >&5
30725
30726 ac_cv_func_remove=no
30727 fi
30728
30729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30730 conftest$ac_exeext conftest.$ac_ext
30731 fi
30732 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30733 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30734
30735 if test $ac_cv_func_remove = no; then
30736 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30737 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30738 if test "${ac_cv_lib_posix_remove+set}" = set; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30740 else
30741 ac_check_lib_save_LIBS=$LIBS
30742 LIBS="-lposix $LIBS"
30743 cat >conftest.$ac_ext <<_ACEOF
30744 /* confdefs.h. */
30745 _ACEOF
30746 cat confdefs.h >>conftest.$ac_ext
30747 cat >>conftest.$ac_ext <<_ACEOF
30748 /* end confdefs.h. */
30749
30750 /* Override any GCC internal prototype to avoid an error.
30751 Use char because int might match the return type of a GCC
30752 builtin and then its argument prototype would still apply. */
30753 #ifdef __cplusplus
30754 extern "C"
30755 #endif
30756 char remove ();
30757 int
30758 main ()
30759 {
30760 return remove ();
30761 ;
30762 return 0;
30763 }
30764 _ACEOF
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (ac_try="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30770 esac
30771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30773 ac_status=$?
30774 grep -v '^ *+' conftest.er1 >conftest.err
30775 rm -f conftest.er1
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30783 ac_cv_lib_posix_remove=yes
30784 else
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30787
30788 ac_cv_lib_posix_remove=no
30789 fi
30790
30791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30792 conftest$ac_exeext conftest.$ac_ext
30793 LIBS=$ac_check_lib_save_LIBS
30794 fi
30795 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30796 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30797 if test $ac_cv_lib_posix_remove = yes; then
30798 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30799 fi
30800
30801 fi
30802
30803 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30804 { echo "$as_me:$LINENO: checking for shmat" >&5
30805 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30806 if test "${ac_cv_func_shmat+set}" = set; then
30807 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 else
30809 cat >conftest.$ac_ext <<_ACEOF
30810 /* confdefs.h. */
30811 _ACEOF
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30817 #define shmat innocuous_shmat
30818
30819 /* System header to define __stub macros and hopefully few prototypes,
30820 which can conflict with char shmat (); below.
30821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30822 <limits.h> exists even on freestanding compilers. */
30823
30824 #ifdef __STDC__
30825 # include <limits.h>
30826 #else
30827 # include <assert.h>
30828 #endif
30829
30830 #undef shmat
30831
30832 /* Override any GCC internal prototype to avoid an error.
30833 Use char because int might match the return type of a GCC
30834 builtin and then its argument prototype would still apply. */
30835 #ifdef __cplusplus
30836 extern "C"
30837 #endif
30838 char shmat ();
30839 /* The GNU C library defines this for functions which it implements
30840 to always fail with ENOSYS. Some functions are actually named
30841 something starting with __ and the normal name is an alias. */
30842 #if defined __stub_shmat || defined __stub___shmat
30843 choke me
30844 #endif
30845
30846 int
30847 main ()
30848 {
30849 return shmat ();
30850 ;
30851 return 0;
30852 }
30853 _ACEOF
30854 rm -f conftest.$ac_objext conftest$ac_exeext
30855 if { (ac_try="$ac_link"
30856 case "(($ac_try" in
30857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30858 *) ac_try_echo=$ac_try;;
30859 esac
30860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30861 (eval "$ac_link") 2>conftest.er1
30862 ac_status=$?
30863 grep -v '^ *+' conftest.er1 >conftest.err
30864 rm -f conftest.er1
30865 cat conftest.err >&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } && {
30868 test -z "$ac_c_werror_flag" ||
30869 test ! -s conftest.err
30870 } && test -s conftest$ac_exeext &&
30871 $as_test_x conftest$ac_exeext; then
30872 ac_cv_func_shmat=yes
30873 else
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.$ac_ext >&5
30876
30877 ac_cv_func_shmat=no
30878 fi
30879
30880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30881 conftest$ac_exeext conftest.$ac_ext
30882 fi
30883 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30884 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30885
30886 if test $ac_cv_func_shmat = no; then
30887 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30888 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30889 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30890 echo $ECHO_N "(cached) $ECHO_C" >&6
30891 else
30892 ac_check_lib_save_LIBS=$LIBS
30893 LIBS="-lipc $LIBS"
30894 cat >conftest.$ac_ext <<_ACEOF
30895 /* confdefs.h. */
30896 _ACEOF
30897 cat confdefs.h >>conftest.$ac_ext
30898 cat >>conftest.$ac_ext <<_ACEOF
30899 /* end confdefs.h. */
30900
30901 /* Override any GCC internal prototype to avoid an error.
30902 Use char because int might match the return type of a GCC
30903 builtin and then its argument prototype would still apply. */
30904 #ifdef __cplusplus
30905 extern "C"
30906 #endif
30907 char shmat ();
30908 int
30909 main ()
30910 {
30911 return shmat ();
30912 ;
30913 return 0;
30914 }
30915 _ACEOF
30916 rm -f conftest.$ac_objext conftest$ac_exeext
30917 if { (ac_try="$ac_link"
30918 case "(($ac_try" in
30919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30920 *) ac_try_echo=$ac_try;;
30921 esac
30922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30923 (eval "$ac_link") 2>conftest.er1
30924 ac_status=$?
30925 grep -v '^ *+' conftest.er1 >conftest.err
30926 rm -f conftest.er1
30927 cat conftest.err >&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); } && {
30930 test -z "$ac_c_werror_flag" ||
30931 test ! -s conftest.err
30932 } && test -s conftest$ac_exeext &&
30933 $as_test_x conftest$ac_exeext; then
30934 ac_cv_lib_ipc_shmat=yes
30935 else
30936 echo "$as_me: failed program was:" >&5
30937 sed 's/^/| /' conftest.$ac_ext >&5
30938
30939 ac_cv_lib_ipc_shmat=no
30940 fi
30941
30942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30943 conftest$ac_exeext conftest.$ac_ext
30944 LIBS=$ac_check_lib_save_LIBS
30945 fi
30946 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30947 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30948 if test $ac_cv_lib_ipc_shmat = yes; then
30949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30950 fi
30951
30952 fi
30953 fi
30954
30955 # Check for libraries that X11R6 Xt/Xaw programs need.
30956 ac_save_LDFLAGS=$LDFLAGS
30957 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30958 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30959 # check for ICE first), but we must link in the order -lSM -lICE or
30960 # we get undefined symbols. So assume we have SM if we have ICE.
30961 # These have to be linked with before -lX11, unlike the other
30962 # libraries we check for below, so use a different variable.
30963 # John Interrante, Karl Berry
30964 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30965 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30966 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30968 else
30969 ac_check_lib_save_LIBS=$LIBS
30970 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30971 cat >conftest.$ac_ext <<_ACEOF
30972 /* confdefs.h. */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977
30978 /* Override any GCC internal prototype to avoid an error.
30979 Use char because int might match the return type of a GCC
30980 builtin and then its argument prototype would still apply. */
30981 #ifdef __cplusplus
30982 extern "C"
30983 #endif
30984 char IceConnectionNumber ();
30985 int
30986 main ()
30987 {
30988 return IceConnectionNumber ();
30989 ;
30990 return 0;
30991 }
30992 _ACEOF
30993 rm -f conftest.$ac_objext conftest$ac_exeext
30994 if { (ac_try="$ac_link"
30995 case "(($ac_try" in
30996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30997 *) ac_try_echo=$ac_try;;
30998 esac
30999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31000 (eval "$ac_link") 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } && {
31007 test -z "$ac_c_werror_flag" ||
31008 test ! -s conftest.err
31009 } && test -s conftest$ac_exeext &&
31010 $as_test_x conftest$ac_exeext; then
31011 ac_cv_lib_ICE_IceConnectionNumber=yes
31012 else
31013 echo "$as_me: failed program was:" >&5
31014 sed 's/^/| /' conftest.$ac_ext >&5
31015
31016 ac_cv_lib_ICE_IceConnectionNumber=no
31017 fi
31018
31019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31020 conftest$ac_exeext conftest.$ac_ext
31021 LIBS=$ac_check_lib_save_LIBS
31022 fi
31023 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31024 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31025 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31026 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31027 fi
31028
31029 LDFLAGS=$ac_save_LDFLAGS
31030
31031 fi
31032
31033
31034 if test "$no_x" = "yes"; then
31035 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31036 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31037 { (exit 1); exit 1; }; }
31038 fi
31039
31040 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31041 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31042 AFMINSTALL=afminstall
31043 COMPILED_X_PROGRAM=0
31044
31045 fi
31046
31047 if test "$wxUSE_X11" = 1; then
31048 if test "$wxUSE_NANOX" = "yes"; then
31049 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31050 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31051 if test "x$MICROWIN" = x ; then
31052 { echo "$as_me:$LINENO: result: not found" >&5
31053 echo "${ECHO_T}not found" >&6; }
31054 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31055 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31056 { (exit 1); exit 1; }; }
31057 else
31058 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31059 echo "${ECHO_T}$MICROWIN" >&6; }
31060 cat >>confdefs.h <<\_ACEOF
31061 #define wxUSE_NANOX 1
31062 _ACEOF
31063
31064 fi
31065 fi
31066
31067 if test "$wxUSE_UNICODE" = "yes"; then
31068
31069
31070 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31071 if test -n "$ac_tool_prefix"; then
31072 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31073 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31076 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 else
31079 case $PKG_CONFIG in
31080 [\\/]* | ?:[\\/]*)
31081 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31082 ;;
31083 *)
31084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31085 for as_dir in $PATH
31086 do
31087 IFS=$as_save_IFS
31088 test -z "$as_dir" && as_dir=.
31089 for ac_exec_ext in '' $ac_executable_extensions; do
31090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31091 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31093 break 2
31094 fi
31095 done
31096 done
31097 IFS=$as_save_IFS
31098
31099 ;;
31100 esac
31101 fi
31102 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31103 if test -n "$PKG_CONFIG"; then
31104 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31105 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31106 else
31107 { echo "$as_me:$LINENO: result: no" >&5
31108 echo "${ECHO_T}no" >&6; }
31109 fi
31110
31111
31112 fi
31113 if test -z "$ac_cv_path_PKG_CONFIG"; then
31114 ac_pt_PKG_CONFIG=$PKG_CONFIG
31115 # Extract the first word of "pkg-config", so it can be a program name with args.
31116 set dummy pkg-config; ac_word=$2
31117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31119 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122 case $ac_pt_PKG_CONFIG in
31123 [\\/]* | ?:[\\/]*)
31124 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31125 ;;
31126 *)
31127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31128 for as_dir in $PATH
31129 do
31130 IFS=$as_save_IFS
31131 test -z "$as_dir" && as_dir=.
31132 for ac_exec_ext in '' $ac_executable_extensions; do
31133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31134 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31136 break 2
31137 fi
31138 done
31139 done
31140 IFS=$as_save_IFS
31141
31142 ;;
31143 esac
31144 fi
31145 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31146 if test -n "$ac_pt_PKG_CONFIG"; then
31147 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31148 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31149 else
31150 { echo "$as_me:$LINENO: result: no" >&5
31151 echo "${ECHO_T}no" >&6; }
31152 fi
31153
31154 if test "x$ac_pt_PKG_CONFIG" = x; then
31155 PKG_CONFIG=""
31156 else
31157 case $cross_compiling:$ac_tool_warned in
31158 yes:)
31159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31160 whose name does not start with the host triplet. If you think this
31161 configuration is useful to you, please write to autoconf@gnu.org." >&5
31162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31163 whose name does not start with the host triplet. If you think this
31164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31165 ac_tool_warned=yes ;;
31166 esac
31167 PKG_CONFIG=$ac_pt_PKG_CONFIG
31168 fi
31169 else
31170 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31171 fi
31172
31173 fi
31174 if test -n "$PKG_CONFIG"; then
31175 _pkg_min_version=0.9.0
31176 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31177 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31178 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31179 { echo "$as_me:$LINENO: result: yes" >&5
31180 echo "${ECHO_T}yes" >&6; }
31181 else
31182 { echo "$as_me:$LINENO: result: no" >&5
31183 echo "${ECHO_T}no" >&6; }
31184 PKG_CONFIG=""
31185 fi
31186
31187 fi
31188
31189
31190 pkg_failed=no
31191 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31192 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31193
31194 if test -n "$PKG_CONFIG"; then
31195 if test -n "$PANGOX_CFLAGS"; then
31196 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31197 else
31198 if test -n "$PKG_CONFIG" && \
31199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31200 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31201 ac_status=$?
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); }; then
31204 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31205 else
31206 pkg_failed=yes
31207 fi
31208 fi
31209 else
31210 pkg_failed=untried
31211 fi
31212 if test -n "$PKG_CONFIG"; then
31213 if test -n "$PANGOX_LIBS"; then
31214 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31215 else
31216 if test -n "$PKG_CONFIG" && \
31217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31218 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31219 ac_status=$?
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; then
31222 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31223 else
31224 pkg_failed=yes
31225 fi
31226 fi
31227 else
31228 pkg_failed=untried
31229 fi
31230
31231
31232
31233 if test $pkg_failed = yes; then
31234
31235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31236 _pkg_short_errors_supported=yes
31237 else
31238 _pkg_short_errors_supported=no
31239 fi
31240 if test $_pkg_short_errors_supported = yes; then
31241 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31242 else
31243 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31244 fi
31245 # Put the nasty error message in config.log where it belongs
31246 echo "$PANGOX_PKG_ERRORS" >&5
31247
31248
31249 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31250 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31251 { (exit 1); exit 1; }; }
31252
31253
31254 elif test $pkg_failed = untried; then
31255
31256 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31257 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31258 { (exit 1); exit 1; }; }
31259
31260
31261 else
31262 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31263 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31264 { echo "$as_me:$LINENO: result: yes" >&5
31265 echo "${ECHO_T}yes" >&6; }
31266
31267 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31268 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31269 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31270
31271 fi
31272
31273 pkg_failed=no
31274 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31275 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31276
31277 if test -n "$PKG_CONFIG"; then
31278 if test -n "$PANGOFT2_CFLAGS"; then
31279 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31280 else
31281 if test -n "$PKG_CONFIG" && \
31282 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31283 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31284 ac_status=$?
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; then
31287 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31288 else
31289 pkg_failed=yes
31290 fi
31291 fi
31292 else
31293 pkg_failed=untried
31294 fi
31295 if test -n "$PKG_CONFIG"; then
31296 if test -n "$PANGOFT2_LIBS"; then
31297 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31298 else
31299 if test -n "$PKG_CONFIG" && \
31300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31301 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; then
31305 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31306 else
31307 pkg_failed=yes
31308 fi
31309 fi
31310 else
31311 pkg_failed=untried
31312 fi
31313
31314
31315
31316 if test $pkg_failed = yes; then
31317
31318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31319 _pkg_short_errors_supported=yes
31320 else
31321 _pkg_short_errors_supported=no
31322 fi
31323 if test $_pkg_short_errors_supported = yes; then
31324 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31325 else
31326 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31327 fi
31328 # Put the nasty error message in config.log where it belongs
31329 echo "$PANGOFT2_PKG_ERRORS" >&5
31330
31331
31332 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31333 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31334 wxUSE_PRINTING_ARCHITECTURE="no"
31335
31336
31337 elif test $pkg_failed = untried; then
31338
31339 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31340 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31341 wxUSE_PRINTING_ARCHITECTURE="no"
31342
31343
31344 else
31345 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31346 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31347 { echo "$as_me:$LINENO: result: yes" >&5
31348 echo "${ECHO_T}yes" >&6; }
31349
31350 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31351 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31352 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31353
31354 fi
31355
31356 pkg_failed=no
31357 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31358 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31359
31360 if test -n "$PKG_CONFIG"; then
31361 if test -n "$PANGOXFT_CFLAGS"; then
31362 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31363 else
31364 if test -n "$PKG_CONFIG" && \
31365 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31366 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; then
31370 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31371 else
31372 pkg_failed=yes
31373 fi
31374 fi
31375 else
31376 pkg_failed=untried
31377 fi
31378 if test -n "$PKG_CONFIG"; then
31379 if test -n "$PANGOXFT_LIBS"; then
31380 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31381 else
31382 if test -n "$PKG_CONFIG" && \
31383 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31384 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; then
31388 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31389 else
31390 pkg_failed=yes
31391 fi
31392 fi
31393 else
31394 pkg_failed=untried
31395 fi
31396
31397
31398
31399 if test $pkg_failed = yes; then
31400
31401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31402 _pkg_short_errors_supported=yes
31403 else
31404 _pkg_short_errors_supported=no
31405 fi
31406 if test $_pkg_short_errors_supported = yes; then
31407 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31408 else
31409 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31410 fi
31411 # Put the nasty error message in config.log where it belongs
31412 echo "$PANGOXFT_PKG_ERRORS" >&5
31413
31414
31415 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31416 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31417
31418
31419 elif test $pkg_failed = untried; then
31420
31421 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31422 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31423
31424
31425 else
31426 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31427 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31428 { echo "$as_me:$LINENO: result: yes" >&5
31429 echo "${ECHO_T}yes" >&6; }
31430
31431 cat >>confdefs.h <<\_ACEOF
31432 #define HAVE_PANGO_XFT 1
31433 _ACEOF
31434
31435 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31436 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31438
31439 fi
31440 save_LIBS="$LIBS"
31441 LIBS="$LIBS $PANGOX_LIBS"
31442
31443 for ac_func in pango_font_family_is_monospace
31444 do
31445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31450 else
31451 cat >conftest.$ac_ext <<_ACEOF
31452 /* confdefs.h. */
31453 _ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31459 #define $ac_func innocuous_$ac_func
31460
31461 /* System header to define __stub macros and hopefully few prototypes,
31462 which can conflict with char $ac_func (); below.
31463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31464 <limits.h> exists even on freestanding compilers. */
31465
31466 #ifdef __STDC__
31467 # include <limits.h>
31468 #else
31469 # include <assert.h>
31470 #endif
31471
31472 #undef $ac_func
31473
31474 /* Override any GCC internal prototype to avoid an error.
31475 Use char because int might match the return type of a GCC
31476 builtin and then its argument prototype would still apply. */
31477 #ifdef __cplusplus
31478 extern "C"
31479 #endif
31480 char $ac_func ();
31481 /* The GNU C library defines this for functions which it implements
31482 to always fail with ENOSYS. Some functions are actually named
31483 something starting with __ and the normal name is an alias. */
31484 #if defined __stub_$ac_func || defined __stub___$ac_func
31485 choke me
31486 #endif
31487
31488 int
31489 main ()
31490 {
31491 return $ac_func ();
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 rm -f conftest.$ac_objext conftest$ac_exeext
31497 if { (ac_try="$ac_link"
31498 case "(($ac_try" in
31499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31500 *) ac_try_echo=$ac_try;;
31501 esac
31502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31503 (eval "$ac_link") 2>conftest.er1
31504 ac_status=$?
31505 grep -v '^ *+' conftest.er1 >conftest.err
31506 rm -f conftest.er1
31507 cat conftest.err >&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); } && {
31510 test -z "$ac_c_werror_flag" ||
31511 test ! -s conftest.err
31512 } && test -s conftest$ac_exeext &&
31513 $as_test_x conftest$ac_exeext; then
31514 eval "$as_ac_var=yes"
31515 else
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31518
31519 eval "$as_ac_var=no"
31520 fi
31521
31522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31523 conftest$ac_exeext conftest.$ac_ext
31524 fi
31525 ac_res=`eval echo '${'$as_ac_var'}'`
31526 { echo "$as_me:$LINENO: result: $ac_res" >&5
31527 echo "${ECHO_T}$ac_res" >&6; }
31528 if test `eval echo '${'$as_ac_var'}'` = yes; then
31529 cat >>confdefs.h <<_ACEOF
31530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31531 _ACEOF
31532
31533 fi
31534 done
31535
31536 LIBS="$save_LIBS"
31537 fi
31538
31539 wxUSE_UNIVERSAL="yes"
31540
31541 if test "$wxUSE_NANOX" = "yes"; then
31542 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31543 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"
31544 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31545 else
31546 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31547 fi
31548
31549 TOOLKIT=X11
31550 GUIDIST=X11_DIST
31551 fi
31552
31553 if test "$wxUSE_MOTIF" = 1; then
31554 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31555 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31556
31557 ac_find_includes=
31558 for ac_dir in $SEARCH_INCLUDE /usr/include;
31559 do
31560 if test -f "$ac_dir/Xm/Xm.h"; then
31561 ac_find_includes=$ac_dir
31562 break
31563 fi
31564 done
31565
31566 if test "$ac_find_includes" != "" ; then
31567 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31568 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31569
31570 if test "x$ac_find_includes" = "x/usr/include"; then
31571 ac_path_to_include=""
31572 else
31573 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31574 result=$?
31575 if test $result = 0; then
31576 ac_path_to_include=""
31577 else
31578 ac_path_to_include=" -I$ac_find_includes"
31579 fi
31580 fi
31581
31582 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31583 else
31584 save_CFLAGS=$CFLAGS
31585 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31586
31587 cat >conftest.$ac_ext <<_ACEOF
31588 /* confdefs.h. */
31589 _ACEOF
31590 cat confdefs.h >>conftest.$ac_ext
31591 cat >>conftest.$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31593
31594 #include <Xm/Xm.h>
31595
31596 int
31597 main ()
31598 {
31599
31600 int version;
31601 version = xmUseVersion;
31602
31603 ;
31604 return 0;
31605 }
31606 _ACEOF
31607 rm -f conftest.$ac_objext
31608 if { (ac_try="$ac_compile"
31609 case "(($ac_try" in
31610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31611 *) ac_try_echo=$ac_try;;
31612 esac
31613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31614 (eval "$ac_compile") 2>conftest.er1
31615 ac_status=$?
31616 grep -v '^ *+' conftest.er1 >conftest.err
31617 rm -f conftest.er1
31618 cat conftest.err >&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } && {
31621 test -z "$ac_c_werror_flag" ||
31622 test ! -s conftest.err
31623 } && test -s conftest.$ac_objext; then
31624
31625 { echo "$as_me:$LINENO: result: found in default search path" >&5
31626 echo "${ECHO_T}found in default search path" >&6; }
31627 COMPILED_X_PROGRAM=1
31628
31629 else
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.$ac_ext >&5
31632
31633
31634 { echo "$as_me:$LINENO: result: no" >&5
31635 echo "${ECHO_T}no" >&6; }
31636 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31637 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31638 { (exit 1); exit 1; }; }
31639
31640
31641 fi
31642
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644
31645 CFLAGS=$save_CFLAGS
31646 fi
31647
31648
31649 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31650 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31651
31652 ac_find_libraries=
31653 for ac_dir in $SEARCH_LIB;
31654 do
31655 for ac_extension in a so sl dylib dll.a; do
31656 if test -f "$ac_dir/libXm.$ac_extension"; then
31657 ac_find_libraries=$ac_dir
31658 break 2
31659 fi
31660 done
31661 done
31662
31663
31664 if test "x$ac_find_libraries" != "x" ; then
31665 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31666 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31667
31668
31669 if test "$ac_find_libraries" = "default location"; then
31670 ac_path_to_link=""
31671 else
31672 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31673 result=$?
31674 if test $result = 0; then
31675 ac_path_to_link=""
31676 else
31677 ac_path_to_link=" -L$ac_find_libraries"
31678 fi
31679 fi
31680
31681 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31682 else
31683 save_CFLAGS=$CFLAGS
31684 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31685 save_LIBS="$LIBS"
31686 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31687
31688 cat >conftest.$ac_ext <<_ACEOF
31689 /* confdefs.h. */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h. */
31694
31695 #include <Xm/Xm.h>
31696
31697 int
31698 main ()
31699 {
31700
31701 int version;
31702 version = xmUseVersion;
31703
31704 ;
31705 return 0;
31706 }
31707 _ACEOF
31708 rm -f conftest.$ac_objext conftest$ac_exeext
31709 if { (ac_try="$ac_link"
31710 case "(($ac_try" in
31711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31712 *) ac_try_echo=$ac_try;;
31713 esac
31714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31715 (eval "$ac_link") 2>conftest.er1
31716 ac_status=$?
31717 grep -v '^ *+' conftest.er1 >conftest.err
31718 rm -f conftest.er1
31719 cat conftest.err >&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } && {
31722 test -z "$ac_c_werror_flag" ||
31723 test ! -s conftest.err
31724 } && test -s conftest$ac_exeext &&
31725 $as_test_x conftest$ac_exeext; then
31726
31727 { echo "$as_me:$LINENO: result: found in default search path" >&5
31728 echo "${ECHO_T}found in default search path" >&6; }
31729 COMPILED_X_PROGRAM=1
31730
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31734
31735
31736 { echo "$as_me:$LINENO: result: no" >&5
31737 echo "${ECHO_T}no" >&6; }
31738 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31739 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31740 { (exit 1); exit 1; }; }
31741
31742
31743 fi
31744
31745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31746 conftest$ac_exeext conftest.$ac_ext
31747
31748 CFLAGS=$save_CFLAGS
31749 LIBS="$save_LIBS"
31750 fi
31751
31752 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31753 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31754 libp_link=""
31755 libsm_ice_link=""
31756 libs_found=0
31757 for libp in "" " -lXp"; do
31758 if test "$libs_found" = 0; then
31759 for libsm_ice in "" " -lSM -lICE"; do
31760 if test "$libs_found" = 0; then
31761 save_LIBS="$LIBS"
31762 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31763 save_CFLAGS=$CFLAGS
31764 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31765
31766 cat >conftest.$ac_ext <<_ACEOF
31767 /* confdefs.h. */
31768 _ACEOF
31769 cat confdefs.h >>conftest.$ac_ext
31770 cat >>conftest.$ac_ext <<_ACEOF
31771 /* end confdefs.h. */
31772
31773 #include <Xm/Xm.h>
31774 #include <Xm/List.h>
31775
31776 int
31777 main ()
31778 {
31779
31780 XmString string = NULL;
31781 Widget w = NULL;
31782 int position = 0;
31783 XmListAddItem(w, string, position);
31784
31785 ;
31786 return 0;
31787 }
31788 _ACEOF
31789 rm -f conftest.$ac_objext conftest$ac_exeext
31790 if { (ac_try="$ac_link"
31791 case "(($ac_try" in
31792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31793 *) ac_try_echo=$ac_try;;
31794 esac
31795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31796 (eval "$ac_link") 2>conftest.er1
31797 ac_status=$?
31798 grep -v '^ *+' conftest.er1 >conftest.err
31799 rm -f conftest.er1
31800 cat conftest.err >&5
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); } && {
31803 test -z "$ac_c_werror_flag" ||
31804 test ! -s conftest.err
31805 } && test -s conftest$ac_exeext &&
31806 $as_test_x conftest$ac_exeext; then
31807
31808 libp_link="$libp"
31809 libsm_ice_link="$libsm_ice"
31810 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31811 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31812 libs_found=1
31813
31814 else
31815 echo "$as_me: failed program was:" >&5
31816 sed 's/^/| /' conftest.$ac_ext >&5
31817
31818
31819
31820 fi
31821
31822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31823 conftest$ac_exeext conftest.$ac_ext
31824
31825 LIBS="$save_LIBS"
31826 CFLAGS=$save_CFLAGS
31827 fi
31828 done
31829 fi
31830 done
31831
31832 if test "$libs_found" = 0; then
31833 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31834 echo "${ECHO_T}can't find the right libraries" >&6; }
31835 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31836 echo "$as_me: error: can't link a simple motif program" >&2;}
31837 { (exit 1); exit 1; }; }
31838 fi
31839
31840 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31841 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31842 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31843 echo $ECHO_N "(cached) $ECHO_C" >&6
31844 else
31845 ac_check_lib_save_LIBS=$LIBS
31846 LIBS="-lSgm $LIBS"
31847 cat >conftest.$ac_ext <<_ACEOF
31848 /* confdefs.h. */
31849 _ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853
31854 /* Override any GCC internal prototype to avoid an error.
31855 Use char because int might match the return type of a GCC
31856 builtin and then its argument prototype would still apply. */
31857 #ifdef __cplusplus
31858 extern "C"
31859 #endif
31860 char SgCreateList ();
31861 int
31862 main ()
31863 {
31864 return SgCreateList ();
31865 ;
31866 return 0;
31867 }
31868 _ACEOF
31869 rm -f conftest.$ac_objext conftest$ac_exeext
31870 if { (ac_try="$ac_link"
31871 case "(($ac_try" in
31872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31873 *) ac_try_echo=$ac_try;;
31874 esac
31875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31876 (eval "$ac_link") 2>conftest.er1
31877 ac_status=$?
31878 grep -v '^ *+' conftest.er1 >conftest.err
31879 rm -f conftest.er1
31880 cat conftest.err >&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } && {
31883 test -z "$ac_c_werror_flag" ||
31884 test ! -s conftest.err
31885 } && test -s conftest$ac_exeext &&
31886 $as_test_x conftest$ac_exeext; then
31887 ac_cv_lib_Sgm_SgCreateList=yes
31888 else
31889 echo "$as_me: failed program was:" >&5
31890 sed 's/^/| /' conftest.$ac_ext >&5
31891
31892 ac_cv_lib_Sgm_SgCreateList=no
31893 fi
31894
31895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31896 conftest$ac_exeext conftest.$ac_ext
31897 LIBS=$ac_check_lib_save_LIBS
31898 fi
31899 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31900 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31901 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31902 libsgm_link=" -lSgm"
31903 fi
31904
31905
31906 save_CFLAGS=$CFLAGS
31907 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31908
31909 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31910 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31911 if test "${wx_cv_lib_motif2+set}" = set; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31913 else
31914 cat >conftest.$ac_ext <<_ACEOF
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921 #include <Xm/Xm.h>
31922
31923 int
31924 main ()
31925 {
31926
31927 #if XmVersion < 2000
31928 Not Motif 2
31929 #endif
31930
31931 ;
31932 return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext
31936 if { (ac_try="$ac_compile"
31937 case "(($ac_try" in
31938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939 *) ac_try_echo=$ac_try;;
31940 esac
31941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31942 (eval "$ac_compile") 2>conftest.er1
31943 ac_status=$?
31944 grep -v '^ *+' conftest.er1 >conftest.err
31945 rm -f conftest.er1
31946 cat conftest.err >&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } && {
31949 test -z "$ac_c_werror_flag" ||
31950 test ! -s conftest.err
31951 } && test -s conftest.$ac_objext; then
31952 wx_cv_lib_motif2="yes"
31953 else
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.$ac_ext >&5
31956
31957 wx_cv_lib_motif2="no"
31958 fi
31959
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 fi
31962 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31963 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31964 if test "$wx_cv_lib_motif2" = "yes"; then
31965 cat >>confdefs.h <<\_ACEOF
31966 #define __WXMOTIF20__ 1
31967 _ACEOF
31968
31969 else
31970 cat >>confdefs.h <<\_ACEOF
31971 #define __WXMOTIF20__ 0
31972 _ACEOF
31973
31974 fi
31975
31976 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31977 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31978 if test "${wx_cv_lib_lesstif+set}" = set; then
31979 echo $ECHO_N "(cached) $ECHO_C" >&6
31980 else
31981 cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h. */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987
31988 #include <Xm/Xm.h>
31989
31990 int
31991 main ()
31992 {
31993
31994 #if !defined(LesstifVersion) || LesstifVersion <= 0
31995 Not Lesstif
31996 #endif
31997
31998 ;
31999 return 0;
32000 }
32001 _ACEOF
32002 rm -f conftest.$ac_objext
32003 if { (ac_try="$ac_compile"
32004 case "(($ac_try" in
32005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32006 *) ac_try_echo=$ac_try;;
32007 esac
32008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32009 (eval "$ac_compile") 2>conftest.er1
32010 ac_status=$?
32011 grep -v '^ *+' conftest.er1 >conftest.err
32012 rm -f conftest.er1
32013 cat conftest.err >&5
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); } && {
32016 test -z "$ac_c_werror_flag" ||
32017 test ! -s conftest.err
32018 } && test -s conftest.$ac_objext; then
32019 wx_cv_lib_lesstif="yes"
32020 else
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.$ac_ext >&5
32023
32024 wx_cv_lib_lesstif="no"
32025 fi
32026
32027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32028
32029 fi
32030 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32031 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32032 if test "$wx_cv_lib_lesstif" = "yes"; then
32033 cat >>confdefs.h <<\_ACEOF
32034 #define __WXLESSTIF__ 1
32035 _ACEOF
32036
32037 else
32038 cat >>confdefs.h <<\_ACEOF
32039 #define __WXLESSTIF__ 0
32040 _ACEOF
32041
32042 fi
32043
32044 CFLAGS=$save_CFLAGS
32045
32046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32047 TOOLKIT=MOTIF
32048 GUIDIST=MOTIF_DIST
32049 fi
32050
32051 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32052 if test "$wxUSE_LIBXPM" = "sys"; then
32053 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32054 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32055
32056 ac_find_libraries=
32057 for ac_dir in $SEARCH_LIB;
32058 do
32059 for ac_extension in a so sl dylib dll.a; do
32060 if test -f "$ac_dir/libXpm.$ac_extension"; then
32061 ac_find_libraries=$ac_dir
32062 break 2
32063 fi
32064 done
32065 done
32066
32067 if test "$ac_find_libraries" != "" ; then
32068
32069 if test "$ac_find_libraries" = "default location"; then
32070 ac_path_to_link=""
32071 else
32072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32073 result=$?
32074 if test $result = 0; then
32075 ac_path_to_link=""
32076 else
32077 ac_path_to_link=" -L$ac_find_libraries"
32078 fi
32079 fi
32080
32081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32082 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32083 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32084
32085 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32086 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32087 if test "${wx_cv_x11_xpm_h+set}" = set; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 else
32090
32091 save_CFLAGS=$CFLAGS
32092 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32093
32094 cat >conftest.$ac_ext <<_ACEOF
32095 /* confdefs.h. */
32096 _ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h. */
32100
32101 #include <X11/xpm.h>
32102
32103 int
32104 main ()
32105 {
32106
32107 int version;
32108 version = XpmLibraryVersion();
32109
32110 ;
32111 return 0;
32112 }
32113 _ACEOF
32114 rm -f conftest.$ac_objext
32115 if { (ac_try="$ac_compile"
32116 case "(($ac_try" in
32117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32118 *) ac_try_echo=$ac_try;;
32119 esac
32120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32121 (eval "$ac_compile") 2>conftest.er1
32122 ac_status=$?
32123 grep -v '^ *+' conftest.er1 >conftest.err
32124 rm -f conftest.er1
32125 cat conftest.err >&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } && {
32128 test -z "$ac_c_werror_flag" ||
32129 test ! -s conftest.err
32130 } && test -s conftest.$ac_objext; then
32131 wx_cv_x11_xpm_h=yes
32132 else
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32135
32136 wx_cv_x11_xpm_h=no
32137
32138 fi
32139
32140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32141
32142 CFLAGS=$save_CFLAGS
32143
32144
32145 fi
32146 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32147 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32148
32149 if test $wx_cv_x11_xpm_h = "yes"; then
32150 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32151 cat >>confdefs.h <<\_ACEOF
32152 #define wxHAVE_LIB_XPM 1
32153 _ACEOF
32154
32155 else
32156 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32157 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32158 fi
32159 fi
32160
32161 fi
32162
32163 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32164 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32165 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168 ac_check_lib_save_LIBS=$LIBS
32169 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176
32177 /* Override any GCC internal prototype to avoid an error.
32178 Use char because int might match the return type of a GCC
32179 builtin and then its argument prototype would still apply. */
32180 #ifdef __cplusplus
32181 extern "C"
32182 #endif
32183 char XShapeQueryExtension ();
32184 int
32185 main ()
32186 {
32187 return XShapeQueryExtension ();
32188 ;
32189 return 0;
32190 }
32191 _ACEOF
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (ac_try="$ac_link"
32194 case "(($ac_try" in
32195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32196 *) ac_try_echo=$ac_try;;
32197 esac
32198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32199 (eval "$ac_link") 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } && {
32206 test -z "$ac_c_werror_flag" ||
32207 test ! -s conftest.err
32208 } && test -s conftest$ac_exeext &&
32209 $as_test_x conftest$ac_exeext; then
32210 ac_cv_lib_Xext_XShapeQueryExtension=yes
32211 else
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32214
32215 ac_cv_lib_Xext_XShapeQueryExtension=no
32216 fi
32217
32218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32219 conftest$ac_exeext conftest.$ac_ext
32220 LIBS=$ac_check_lib_save_LIBS
32221 fi
32222 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32223 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32224 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32225
32226 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32227 wxHAVE_XEXT_LIB=1
32228
32229 fi
32230
32231
32232 if test "$wxHAVE_XEXT_LIB" = 1; then
32233 save_CFLAGS="$CFLAGS"
32234 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32235
32236 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32237 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32238 cat >conftest.$ac_ext <<_ACEOF
32239 /* confdefs.h. */
32240 _ACEOF
32241 cat confdefs.h >>conftest.$ac_ext
32242 cat >>conftest.$ac_ext <<_ACEOF
32243 /* end confdefs.h. */
32244
32245 #include <X11/Xlib.h>
32246 #include <X11/extensions/shape.h>
32247
32248 int
32249 main ()
32250 {
32251
32252 int dummy1, dummy2;
32253 XShapeQueryExtension((Display*)NULL,
32254 (int*)NULL, (int*)NULL);
32255
32256 ;
32257 return 0;
32258 }
32259 _ACEOF
32260 rm -f conftest.$ac_objext
32261 if { (ac_try="$ac_compile"
32262 case "(($ac_try" in
32263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32264 *) ac_try_echo=$ac_try;;
32265 esac
32266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32267 (eval "$ac_compile") 2>conftest.er1
32268 ac_status=$?
32269 grep -v '^ *+' conftest.er1 >conftest.err
32270 rm -f conftest.er1
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } && {
32274 test -z "$ac_c_werror_flag" ||
32275 test ! -s conftest.err
32276 } && test -s conftest.$ac_objext; then
32277
32278 cat >>confdefs.h <<\_ACEOF
32279 #define HAVE_XSHAPE 1
32280 _ACEOF
32281
32282 { echo "$as_me:$LINENO: result: found" >&5
32283 echo "${ECHO_T}found" >&6; }
32284
32285 else
32286 echo "$as_me: failed program was:" >&5
32287 sed 's/^/| /' conftest.$ac_ext >&5
32288
32289
32290 { echo "$as_me:$LINENO: result: not found" >&5
32291 echo "${ECHO_T}not found" >&6; }
32292
32293 fi
32294
32295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32296 CFLAGS="$save_CFLAGS"
32297
32298 fi
32299 fi
32300
32301 if test "$wxUSE_OSX_CARBON" = 1; then
32302 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32303 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32304 if test "$GCC" = yes; then
32305 { echo "$as_me:$LINENO: result: gcc" >&5
32306 echo "${ECHO_T}gcc" >&6; }
32307 CPPFLAGS_PASCAL="-fpascal-strings"
32308 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32309 { echo "$as_me:$LINENO: result: xlc" >&5
32310 echo "${ECHO_T}xlc" >&6; }
32311 CPPFLAGS_PASCAL="-qmacpstr"
32312 else
32313 { echo "$as_me:$LINENO: result: none" >&5
32314 echo "${ECHO_T}none" >&6; }
32315 fi
32316
32317 if test "x$wxUSE_UNIX" = "xyes"; then
32318 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32319 else
32320 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32321 fi
32322
32323 TOOLKIT=OSX_CARBON
32324 GUIDIST=OSX_CARBON_DIST
32325 WXBASEPORT="_carbon"
32326 fi
32327
32328 if test "$wxUSE_OSX_COCOA" = 1; then
32329 TOOLKIT=OSX_COCOA
32330 GUIDIST=OSX_COCOA_DIST
32331 fi
32332
32333 if test "$wxUSE_COCOA" = 1; then
32334 TOOLKIT=COCOA
32335 GUIDIST=COCOA_DIST
32336 fi
32337
32338 if test "$wxUSE_PM" = 1; then
32339 TOOLKIT=PM
32340 GUIDIST=PM_DIST
32341 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32342 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32343 if test "${wx_cv_spbcdata+set}" = set; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32345 else
32346
32347 cat >conftest.$ac_ext <<_ACEOF
32348 /* confdefs.h. */
32349 _ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353
32354 #define INCL_PM
32355 #include <os2.h>
32356
32357 int
32358 main ()
32359 {
32360
32361 SPBCDATA test;
32362
32363 ;
32364 return 0;
32365 }
32366 _ACEOF
32367 rm -f conftest.$ac_objext
32368 if { (ac_try="$ac_compile"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32372 esac
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_compile") 2>conftest.er1
32375 ac_status=$?
32376 grep -v '^ *+' conftest.er1 >conftest.err
32377 rm -f conftest.er1
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest.$ac_objext; then
32384 wx_cv_spbcdata=yes
32385 else
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32388
32389 wx_cv_spbcdata=no
32390
32391 fi
32392
32393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32394
32395
32396 fi
32397 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32398 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32399
32400 if test $wx_cv_spbcdata = "yes"; then
32401 cat >>confdefs.h <<\_ACEOF
32402 #define HAVE_SPBCDATA 1
32403 _ACEOF
32404
32405 fi
32406 fi
32407
32408 if test "$TOOLKIT" = "PM" ; then
32409 TOOLKIT_DIR="os2"
32410 else
32411 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32412 fi
32413
32414 if test "$wxUSE_UNIVERSAL" = "yes"; then
32415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32416 WIDGET_SET=univ
32417 fi
32418
32419 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32420 DISTDIR="wx\$(TOOLKIT)"
32421 else
32422 USE_GUI=0
32423
32424 TOOLKIT_DIR="base"
32425
32426 if test "$USE_WIN32" = 1 ; then
32427 TOOLKIT="MSW"
32428 fi
32429
32430 GUIDIST="BASE_DIST"
32431 DISTDIR="wxBase"
32432 fi
32433
32434
32435
32436 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32437 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32438 wxUSE_UNICODE_UTF8=yes
32439 elif test "$USE_OS2" = 1 ; then
32440 wxUSE_UNICODE_UTF8=yes
32441 else
32442 wxUSE_UNICODE_UTF8=no
32443 fi
32444 fi
32445
32446
32447 if test "$wxUSE_GUI" = "yes"; then
32448 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32449
32450 for ac_header in X11/Xlib.h
32451 do
32452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32457 else
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h. */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464
32465
32466 #include <$ac_header>
32467 _ACEOF
32468 rm -f conftest.$ac_objext
32469 if { (ac_try="$ac_compile"
32470 case "(($ac_try" in
32471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32472 *) ac_try_echo=$ac_try;;
32473 esac
32474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32475 (eval "$ac_compile") 2>conftest.er1
32476 ac_status=$?
32477 grep -v '^ *+' conftest.er1 >conftest.err
32478 rm -f conftest.er1
32479 cat conftest.err >&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); } && {
32482 test -z "$ac_c_werror_flag" ||
32483 test ! -s conftest.err
32484 } && test -s conftest.$ac_objext; then
32485 eval "$as_ac_Header=yes"
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 eval "$as_ac_Header=no"
32491 fi
32492
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 fi
32495 ac_res=`eval echo '${'$as_ac_Header'}'`
32496 { echo "$as_me:$LINENO: result: $ac_res" >&5
32497 echo "${ECHO_T}$ac_res" >&6; }
32498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32499 cat >>confdefs.h <<_ACEOF
32500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32501 _ACEOF
32502
32503 fi
32504
32505 done
32506
32507
32508 for ac_header in X11/XKBlib.h
32509 do
32510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 #if HAVE_X11_XLIB_H
32524 #include <X11/Xlib.h>
32525 #endif
32526
32527
32528 #include <$ac_header>
32529 _ACEOF
32530 rm -f conftest.$ac_objext
32531 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32547 eval "$as_ac_Header=yes"
32548 else
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32551
32552 eval "$as_ac_Header=no"
32553 fi
32554
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556 fi
32557 ac_res=`eval echo '${'$as_ac_Header'}'`
32558 { echo "$as_me:$LINENO: result: $ac_res" >&5
32559 echo "${ECHO_T}$ac_res" >&6; }
32560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32561 cat >>confdefs.h <<_ACEOF
32562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32563 _ACEOF
32564
32565 fi
32566
32567 done
32568
32569 fi
32570 fi
32571
32572
32573
32574 if test "$wxUSE_DISPLAY" = "yes"; then
32575 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32576 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32577 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32578
32579 ac_find_libraries=
32580 for ac_dir in $SEARCH_LIB;
32581 do
32582 for ac_extension in a so sl dylib dll.a; do
32583 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32584 ac_find_libraries=$ac_dir
32585 break 2
32586 fi
32587 done
32588 done
32589
32590 if test "$ac_find_libraries" != "" ; then
32591
32592 if test "$ac_find_libraries" = "default location"; then
32593 ac_path_to_link=""
32594 else
32595 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32596 result=$?
32597 if test $result = 0; then
32598 ac_path_to_link=""
32599 else
32600 ac_path_to_link=" -L$ac_find_libraries"
32601 fi
32602 fi
32603
32604 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32605 LDFLAGS="$LDFLAGS $ac_path_to_link"
32606 fi
32607 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32608 { echo "$as_me:$LINENO: result: yes" >&5
32609 echo "${ECHO_T}yes" >&6; }
32610
32611 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32612 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32613
32614 ac_find_libraries=
32615 for ac_dir in $SEARCH_LIB;
32616 do
32617 for ac_extension in a so sl dylib dll.a; do
32618 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32619 ac_find_libraries=$ac_dir
32620 break 2
32621 fi
32622 done
32623 done
32624
32625 if test "$ac_find_libraries" != "" ; then
32626 { echo "$as_me:$LINENO: result: yes" >&5
32627 echo "${ECHO_T}yes" >&6; }
32628
32629 for ac_header in X11/extensions/xf86vmode.h
32630 do
32631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 else
32637 cat >conftest.$ac_ext <<_ACEOF
32638 /* confdefs.h. */
32639 _ACEOF
32640 cat confdefs.h >>conftest.$ac_ext
32641 cat >>conftest.$ac_ext <<_ACEOF
32642 /* end confdefs.h. */
32643
32644 #if HAVE_X11_XLIB_H
32645 #include <X11/Xlib.h>
32646 #endif
32647
32648
32649 #include <$ac_header>
32650 _ACEOF
32651 rm -f conftest.$ac_objext
32652 if { (ac_try="$ac_compile"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32656 esac
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_compile") 2>conftest.er1
32659 ac_status=$?
32660 grep -v '^ *+' conftest.er1 >conftest.err
32661 rm -f conftest.er1
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } && {
32665 test -z "$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32667 } && test -s conftest.$ac_objext; then
32668 eval "$as_ac_Header=yes"
32669 else
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32672
32673 eval "$as_ac_Header=no"
32674 fi
32675
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 fi
32678 ac_res=`eval echo '${'$as_ac_Header'}'`
32679 { echo "$as_me:$LINENO: result: $ac_res" >&5
32680 echo "${ECHO_T}$ac_res" >&6; }
32681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32682 cat >>confdefs.h <<_ACEOF
32683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32684 _ACEOF
32685
32686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32687
32688 fi
32689
32690 done
32691
32692 else
32693 { echo "$as_me:$LINENO: result: no" >&5
32694 echo "${ECHO_T}no" >&6; }
32695 fi
32696
32697 else
32698 { echo "$as_me:$LINENO: result: no" >&5
32699 echo "${ECHO_T}no" >&6; }
32700 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32701 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32702 wxUSE_DISPLAY="no"
32703 fi
32704 elif test "$wxUSE_MSW" = 1; then
32705 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32706 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32707 if test "${ac_cv_header_ddraw_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h. */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716 #include <windows.h>
32717
32718 #include <ddraw.h>
32719 _ACEOF
32720 rm -f conftest.$ac_objext
32721 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32737 ac_cv_header_ddraw_h=yes
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 ac_cv_header_ddraw_h=no
32743 fi
32744
32745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32746 fi
32747 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32748 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32749
32750
32751 fi
32752 fi
32753
32754 if test "$wxUSE_DETECT_SM" = "yes"; then
32755 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32756 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32757 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32758
32759 ac_find_libraries=
32760 for ac_dir in $SEARCH_LIB;
32761 do
32762 for ac_extension in a so sl dylib dll.a; do
32763 if test -f "$ac_dir/libSM.$ac_extension"; then
32764 ac_find_libraries=$ac_dir
32765 break 2
32766 fi
32767 done
32768 done
32769
32770 if test "$ac_find_libraries" != "" ; then
32771
32772 if test "$ac_find_libraries" = "default location"; then
32773 ac_path_to_link=""
32774 else
32775 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32776 result=$?
32777 if test $result = 0; then
32778 ac_path_to_link=""
32779 else
32780 ac_path_to_link=" -L$ac_find_libraries"
32781 fi
32782 fi
32783
32784 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32785 LDFLAGS="$LDFLAGS $ac_path_to_link"
32786 fi
32787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32788 { echo "$as_me:$LINENO: result: yes" >&5
32789 echo "${ECHO_T}yes" >&6; }
32790 else
32791 { echo "$as_me:$LINENO: result: no" >&5
32792 echo "${ECHO_T}no" >&6; }
32793 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32794 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32795 wxUSE_DETECT_SM="no"
32796 fi
32797 else
32798 wxUSE_DETECT_SM="no"
32799 fi
32800 fi
32801
32802
32803
32804 USE_OPENGL=0
32805 if test "$wxUSE_OPENGL" = "yes"; then
32806 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32807 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32808 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32809 wxUSE_OPENGL="no"
32810 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
32811 OPENGL_LIBS="-framework OpenGL -framework AGL"
32812 elif test "$wxUSE_MSW" = 1; then
32813 OPENGL_LIBS="-lopengl32 -lglu32"
32814 else
32815 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32816 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32817
32818 ac_find_includes=
32819 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32820 do
32821 if test -f "$ac_dir/GL/gl.h"; then
32822 ac_find_includes=$ac_dir
32823 break
32824 fi
32825 done
32826
32827 if test "$ac_find_includes" != "" ; then
32828 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32829 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32830
32831 if test "x$ac_find_includes" = "x/usr/include"; then
32832 ac_path_to_include=""
32833 else
32834 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32835 result=$?
32836 if test $result = 0; then
32837 ac_path_to_include=""
32838 else
32839 ac_path_to_include=" -I$ac_find_includes"
32840 fi
32841 fi
32842
32843 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32844 else
32845 { echo "$as_me:$LINENO: result: not found" >&5
32846 echo "${ECHO_T}not found" >&6; }
32847 fi
32848
32849 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32853 else
32854 cat >conftest.$ac_ext <<_ACEOF
32855 /* confdefs.h. */
32856 _ACEOF
32857 cat confdefs.h >>conftest.$ac_ext
32858 cat >>conftest.$ac_ext <<_ACEOF
32859 /* end confdefs.h. */
32860
32861
32862 #include <GL/gl.h>
32863 _ACEOF
32864 rm -f conftest.$ac_objext
32865 if { (ac_try="$ac_compile"
32866 case "(($ac_try" in
32867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32868 *) ac_try_echo=$ac_try;;
32869 esac
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_compile") 2>conftest.er1
32872 ac_status=$?
32873 grep -v '^ *+' conftest.er1 >conftest.err
32874 rm -f conftest.er1
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } && {
32878 test -z "$ac_c_werror_flag" ||
32879 test ! -s conftest.err
32880 } && test -s conftest.$ac_objext; then
32881 ac_cv_header_GL_gl_h=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32885
32886 ac_cv_header_GL_gl_h=no
32887 fi
32888
32889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32890 fi
32891 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32892 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32893 if test $ac_cv_header_GL_gl_h = yes; then
32894
32895 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32896 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32897 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32899 else
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906
32907
32908 #include <GL/glu.h>
32909 _ACEOF
32910 rm -f conftest.$ac_objext
32911 if { (ac_try="$ac_compile"
32912 case "(($ac_try" in
32913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32914 *) ac_try_echo=$ac_try;;
32915 esac
32916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32917 (eval "$ac_compile") 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } && {
32924 test -z "$ac_c_werror_flag" ||
32925 test ! -s conftest.err
32926 } && test -s conftest.$ac_objext; then
32927 ac_cv_header_GL_glu_h=yes
32928 else
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32931
32932 ac_cv_header_GL_glu_h=no
32933 fi
32934
32935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 fi
32937 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32938 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32939 if test $ac_cv_header_GL_glu_h = yes; then
32940
32941 found_gl=0
32942
32943 { echo "$as_me:$LINENO: checking for -lGL" >&5
32944 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32945
32946 ac_find_libraries=
32947 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32948 do
32949 for ac_extension in a so sl dylib dll.a; do
32950 if test -f "$ac_dir/libGL.$ac_extension"; then
32951 ac_find_libraries=$ac_dir
32952 break 2
32953 fi
32954 done
32955 done
32956
32957 if test "$ac_find_libraries" != "" ; then
32958 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32959 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32960
32961
32962 if test "$ac_find_libraries" = "default location"; then
32963 ac_path_to_link=""
32964 else
32965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32966 result=$?
32967 if test $result = 0; then
32968 ac_path_to_link=""
32969 else
32970 ac_path_to_link=" -L$ac_find_libraries"
32971 fi
32972 fi
32973
32974 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32975 LDFLAGS_GL="$ac_path_to_link"
32976 fi
32977
32978 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32979 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32980
32981 ac_find_libraries=
32982 for ac_dir in $SEARCH_LIB;
32983 do
32984 for ac_extension in a so sl dylib dll.a; do
32985 if test -f "$ac_dir/libGLU.$ac_extension"; then
32986 ac_find_libraries=$ac_dir
32987 break 2
32988 fi
32989 done
32990 done
32991
32992 if test "$ac_find_libraries" != "" ; then
32993
32994 if test "$ac_find_libraries" = "default location"; then
32995 ac_path_to_link=""
32996 else
32997 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32998 result=$?
32999 if test $result = 0; then
33000 ac_path_to_link=""
33001 else
33002 ac_path_to_link=" -L$ac_find_libraries"
33003 fi
33004 fi
33005
33006 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33007 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33008 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33009 fi
33010
33011 found_gl=1
33012 OPENGL_LIBS="-lGL -lGLU"
33013 { echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6; }
33015 else
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33018 fi
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 fi
33023
33024 if test "$found_gl" != 1; then
33025 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33026 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33027
33028 ac_find_libraries=
33029 for ac_dir in $SEARCH_LIB;
33030 do
33031 for ac_extension in a so sl dylib dll.a; do
33032 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33033 ac_find_libraries=$ac_dir
33034 break 2
33035 fi
33036 done
33037 done
33038
33039 if test "$ac_find_libraries" != "" ; then
33040
33041 if test "$ac_find_libraries" = "default location"; then
33042 ac_path_to_link=""
33043 else
33044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33045 result=$?
33046 if test $result = 0; then
33047 ac_path_to_link=""
33048 else
33049 ac_path_to_link=" -L$ac_find_libraries"
33050 fi
33051 fi
33052
33053 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33054 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33055 { echo "$as_me:$LINENO: result: yes" >&5
33056 echo "${ECHO_T}yes" >&6; }
33057 else
33058 { echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6; }
33060 fi
33061 fi
33062
33063 fi
33064
33065
33066
33067 fi
33068
33069
33070
33071 if test "x$OPENGL_LIBS" = "x"; then
33072 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33073 echo "$as_me: error: OpenGL libraries not available" >&2;}
33074 { (exit 1); exit 1; }; }
33075 fi
33076 fi
33077
33078 if test "$wxUSE_OPENGL" = "yes"; then
33079 USE_OPENGL=1
33080 cat >>confdefs.h <<\_ACEOF
33081 #define wxUSE_OPENGL 1
33082 _ACEOF
33083
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_GLCANVAS 1
33086 _ACEOF
33087
33088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33089 fi
33090 fi
33091
33092
33093 if test -n "$TOOLKIT" ; then
33094 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33095 fi
33096
33097
33098
33099 if test "$wxUSE_SHARED" = "yes"; then
33100 case "${host}" in
33101 *-pc-msdosdjgpp )
33102 wxUSE_SHARED=no
33103 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33104 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33105 ;;
33106 esac
33107 fi
33108
33109 if test "$wxUSE_SHARED" = "yes"; then
33110
33111
33112 case "${host}" in
33113 *-*-cygwin* | *-*-mingw* )
33114 wx_cv_version_script=no
33115 ;;
33116
33117 *)
33118 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33119 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33120 if test "${wx_cv_version_script+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 else
33123
33124 echo "VER_1 { *; };" >conftest.sym
33125 echo "int main() { return 0; }" >conftest.cpp
33126
33127 if { ac_try='
33128 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33129 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33131 (eval $ac_try) 2>&5
33132 ac_status=$?
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; } ; then
33135 if test -s conftest.stderr ; then
33136 wx_cv_version_script=no
33137 else
33138 wx_cv_version_script=yes
33139 fi
33140 else
33141 wx_cv_version_script=no
33142 fi
33143
33144 if test $wx_cv_version_script = yes
33145 then
33146 echo "struct B { virtual ~B() { } }; \
33147 struct D : public B { }; \
33148 void F() { D d; }" > conftest.cpp
33149
33150 if { ac_try='
33151 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33152 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154 (eval $ac_try) 2>&5
33155 ac_status=$?
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; } &&
33158 { ac_try='
33159 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33160 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; }
33166 then
33167 if { ac_try='
33168 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33169 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33172 ac_status=$?
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; }
33175 then
33176 wx_cv_version_script=yes
33177 else
33178 wx_cv_version_script=no
33179 fi
33180 fi
33181 fi
33182
33183 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33184 rm -f conftest1.output conftest2.output conftest3.output
33185
33186 fi
33187 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33188 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33189
33190 if test $wx_cv_version_script = yes ; then
33191 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33192 fi
33193 ;;
33194 esac
33195
33196
33197 if test "$wxUSE_VISIBILITY" != "no"; then
33198
33199
33200 if test -n "$GCC"; then
33201 CFLAGS_VISIBILITY="-fvisibility=hidden"
33202 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33203 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33204 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33205 if test "${wx_cv_cc_visibility+set}" = set; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33207 else
33208
33209 wx_save_CXXFLAGS="$CXXFLAGS"
33210 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33216
33217 cat >conftest.$ac_ext <<_ACEOF
33218 /* confdefs.h. */
33219 _ACEOF
33220 cat confdefs.h >>conftest.$ac_ext
33221 cat >>conftest.$ac_ext <<_ACEOF
33222 /* end confdefs.h. */
33223
33224 /* we need gcc >= 4.0, older versions with visibility support
33225 didn't have class visibility: */
33226 #if defined(__GNUC__) && __GNUC__ < 4
33227 error this gcc is too old;
33228 #endif
33229
33230 /* visibility only makes sense for ELF shared libs: */
33231 #if !defined(__ELF__) && !defined(__APPLE__)
33232 error this platform has no visibility;
33233 #endif
33234
33235 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33236 extern __attribute__((__visibility__("default"))) int exportedvar;
33237 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33238 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33239 class __attribute__((__visibility__("default"))) Foo {
33240 Foo() {}
33241 };
33242
33243 int
33244 main ()
33245 {
33246
33247 ;
33248 return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext
33252 if { (ac_try="$ac_compile"
33253 case "(($ac_try" in
33254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33255 *) ac_try_echo=$ac_try;;
33256 esac
33257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33258 (eval "$ac_compile") 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } && {
33265 test -z "$ac_cxx_werror_flag" ||
33266 test ! -s conftest.err
33267 } && test -s conftest.$ac_objext; then
33268 wx_cv_cc_visibility=yes
33269 else
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33272
33273 wx_cv_cc_visibility=no
33274 fi
33275
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33277 ac_ext=c
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33282
33283 CXXFLAGS="$wx_save_CXXFLAGS"
33284 fi
33285
33286 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33287 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33288 if test $wx_cv_cc_visibility = yes; then
33289 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33290 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33291 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33294
33295 wx_save_CXXFLAGS="$CXXFLAGS"
33296 wx_save_LDFLAGS="$LDFLAGS"
33297 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33298 LDFLAGS="$LDFLAGS -shared -fPIC"
33299 ac_ext=cpp
33300 ac_cpp='$CXXCPP $CPPFLAGS'
33301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33304
33305 cat >conftest.$ac_ext <<_ACEOF
33306 /* confdefs.h. */
33307 _ACEOF
33308 cat confdefs.h >>conftest.$ac_ext
33309 cat >>conftest.$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311
33312 #include <string>
33313
33314 int
33315 main ()
33316 {
33317
33318 std::string s("hello");
33319 return s.length();
33320
33321 ;
33322 return 0;
33323 }
33324 _ACEOF
33325 rm -f conftest.$ac_objext conftest$ac_exeext
33326 if { (ac_try="$ac_link"
33327 case "(($ac_try" in
33328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33329 *) ac_try_echo=$ac_try;;
33330 esac
33331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33332 (eval "$ac_link") 2>conftest.er1
33333 ac_status=$?
33334 grep -v '^ *+' conftest.er1 >conftest.err
33335 rm -f conftest.er1
33336 cat conftest.err >&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); } && {
33339 test -z "$ac_cxx_werror_flag" ||
33340 test ! -s conftest.err
33341 } && test -s conftest$ac_exeext &&
33342 $as_test_x conftest$ac_exeext; then
33343 wx_cv_cc_broken_libstdcxx_visibility=no
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 wx_cv_cc_broken_libstdcxx_visibility=yes
33349 fi
33350
33351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33352 conftest$ac_exeext conftest.$ac_ext
33353 ac_ext=c
33354 ac_cpp='$CPP $CPPFLAGS'
33355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33358
33359 CXXFLAGS="$wx_save_CXXFLAGS"
33360 LDFLAGS="$wx_save_LDFLAGS"
33361 fi
33362
33363 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33364 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33365
33366 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33367 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33368 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33369 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33370 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 else
33372
33373 ac_ext=cpp
33374 ac_cpp='$CXXCPP $CPPFLAGS'
33375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33378
33379 cat >conftest.$ac_ext <<_ACEOF
33380 /* confdefs.h. */
33381 _ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385
33386 #pragma GCC visibility push(default)
33387 #include <string>
33388 #pragma GCC visibility pop
33389
33390 int
33391 main ()
33392 {
33393
33394 std::string s("hello");
33395 return s.length();
33396
33397 ;
33398 return 0;
33399 }
33400 _ACEOF
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (ac_try="$ac_link"
33403 case "(($ac_try" in
33404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33405 *) ac_try_echo=$ac_try;;
33406 esac
33407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33408 (eval "$ac_link") 2>conftest.er1
33409 ac_status=$?
33410 grep -v '^ *+' conftest.er1 >conftest.err
33411 rm -f conftest.er1
33412 cat conftest.err >&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); } && {
33415 test -z "$ac_cxx_werror_flag" ||
33416 test ! -s conftest.err
33417 } && test -s conftest$ac_exeext &&
33418 $as_test_x conftest$ac_exeext; then
33419 wx_cv_cc_visibility_workaround=no
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 wx_cv_cc_visibility_workaround=yes
33425 fi
33426
33427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33428 conftest$ac_exeext conftest.$ac_ext
33429 ac_ext=c
33430 ac_cpp='$CPP $CPPFLAGS'
33431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434
33435
33436 fi
33437
33438 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33439 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33440
33441 if test $wx_cv_cc_visibility_workaround = no; then
33442 wx_cv_cc_visibility=no
33443 fi
33444 fi
33445 fi
33446
33447 if test $wx_cv_cc_visibility = yes; then
33448 cat >>confdefs.h <<\_ACEOF
33449 #define HAVE_VISIBILITY 1
33450 _ACEOF
33451
33452 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33453 cat >>confdefs.h <<\_ACEOF
33454 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33455 _ACEOF
33456
33457 fi
33458 else
33459 CFLAGS_VISIBILITY=""
33460 CXXFLAGS_VISIBILITY=""
33461 fi
33462
33463
33464 fi
33465
33466 fi
33467
33468 if test "x$SUNCXX" = xyes; then
33469 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33470 WXCONFIG_RPATH="-R\$libdir"
33471 else
33472 case "${host}" in
33473 *-*-linux* | *-*-gnu* )
33474 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33475 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33476 ;;
33477
33478 *-*-solaris2* )
33479
33480 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33481
33482 saveLdflags="$LDFLAGS"
33483 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33484 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33485 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33486 cat >conftest.$ac_ext <<_ACEOF
33487 /* confdefs.h. */
33488 _ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33492
33493 int
33494 main ()
33495 {
33496
33497 ;
33498 return 0;
33499 }
33500 _ACEOF
33501 rm -f conftest.$ac_objext conftest$ac_exeext
33502 if { (ac_try="$ac_link"
33503 case "(($ac_try" in
33504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33505 *) ac_try_echo=$ac_try;;
33506 esac
33507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33508 (eval "$ac_link") 2>conftest.er1
33509 ac_status=$?
33510 grep -v '^ *+' conftest.er1 >conftest.err
33511 rm -f conftest.er1
33512 cat conftest.err >&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } && {
33515 test -z "$ac_c_werror_flag" ||
33516 test ! -s conftest.err
33517 } && test -s conftest$ac_exeext &&
33518 $as_test_x conftest$ac_exeext; then
33519
33520 { echo "$as_me:$LINENO: result: yes" >&5
33521 echo "${ECHO_T}yes" >&6; }
33522 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33523 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33524
33525 else
33526 echo "$as_me: failed program was:" >&5
33527 sed 's/^/| /' conftest.$ac_ext >&5
33528
33529
33530 { echo "$as_me:$LINENO: result: no" >&5
33531 echo "${ECHO_T}no" >&6; }
33532 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33533 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33534 LDFLAGS="$saveLdflags -Wl,-R,/"
33535 cat >conftest.$ac_ext <<_ACEOF
33536 /* confdefs.h. */
33537 _ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33541
33542 int
33543 main ()
33544 {
33545
33546 ;
33547 return 0;
33548 }
33549 _ACEOF
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (ac_try="$ac_link"
33552 case "(($ac_try" in
33553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33554 *) ac_try_echo=$ac_try;;
33555 esac
33556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33557 (eval "$ac_link") 2>conftest.er1
33558 ac_status=$?
33559 grep -v '^ *+' conftest.er1 >conftest.err
33560 rm -f conftest.er1
33561 cat conftest.err >&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); } && {
33564 test -z "$ac_c_werror_flag" ||
33565 test ! -s conftest.err
33566 } && test -s conftest$ac_exeext &&
33567 $as_test_x conftest$ac_exeext; then
33568
33569 { echo "$as_me:$LINENO: result: yes" >&5
33570 echo "${ECHO_T}yes" >&6; }
33571 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33572 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33573
33574 else
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33577
33578
33579 { echo "$as_me:$LINENO: result: no" >&5
33580 echo "${ECHO_T}no" >&6; }
33581
33582 fi
33583
33584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33585 conftest$ac_exeext conftest.$ac_ext
33586
33587 fi
33588
33589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33590 conftest$ac_exeext conftest.$ac_ext
33591 LDFLAGS="$saveLdflags"
33592 ;;
33593
33594 *-*-darwin* )
33595 install_name_tool=`which install_name_tool`
33596 if test "$install_name_tool" -a -x "$install_name_tool"; then
33597 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33598 cat <<EOF >change-install-names
33599 #!/bin/sh
33600 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33601 inst_cmd="install_name_tool "
33602 for i in \${libnames} ; do
33603 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33604 done
33605 \${inst_cmd} \${3}
33606 EOF
33607 chmod +x change-install-names
33608 fi
33609 ;;
33610
33611 *-*-cygwin* | *-*-mingw32* )
33612 ;;
33613
33614 *-*-hpux* )
33615 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33616 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33617 ;;
33618
33619 esac
33620 fi
33621
33622 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33623
33624 if test $wxUSE_RPATH = "no"; then
33625 SAMPLES_RPATH_FLAG=''
33626 SAMPLES_RPATH_POSTLINK=''
33627 WXCONFIG_RPATH=''
33628 fi
33629
33630 SHARED=1
33631
33632 else
33633
33634 config_linkage_component="-static"
33635 SHARED=0
33636
33637 fi
33638
33639
33640 UNICODE=0
33641 lib_unicode_suffix=
33642 WX_CHARTYPE="ansi"
33643 if test "$wxUSE_UNICODE" = "yes"; then
33644 lib_unicode_suffix=u
33645 WX_CHARTYPE="unicode"
33646 UNICODE=1
33647 fi
33648
33649 lib_debug_suffix=
33650 WX_DEBUGTYPE="release"
33651 DEBUG_FLAG=0
33652 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33653 lib_debug_suffix=d
33654 WX_DEBUGTYPE="debug"
33655 DEBUG_FLAG=1
33656 fi
33657
33658 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33659 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33660
33661 DEBUG_INFO=0
33662 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33663 DEBUG_INFO=1
33664 fi
33665
33666 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33667
33668 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33669
33670 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33671
33672 if test "$cross_compiling" = "yes"; then
33673 HOST_SUFFIX="-$host_alias"
33674 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33675 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33676 fi
33677
33678 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33679 if test "${TOOLKIT_DIR}" = "os2"; then
33680 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33681 else
33682 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33683 fi
33684
33685
33686
33687 if test "$wxUSE_COCOA" = 1; then
33688
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33694
33695 ac_ext=m
33696
33697 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33698 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33699 cat >conftest.$ac_ext <<_ACEOF
33700 /* confdefs.h. */
33701 _ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705 #include <AppKit/NSEvent.h>
33706 #include <CoreFoundation/CoreFoundation.h>
33707
33708 int
33709 main ()
33710 {
33711
33712 ;
33713 return 0;
33714 }
33715 _ACEOF
33716 rm -f conftest.$ac_objext
33717 if { (ac_try="$ac_compile"
33718 case "(($ac_try" in
33719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33720 *) ac_try_echo=$ac_try;;
33721 esac
33722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33723 (eval "$ac_compile") 2>conftest.er1
33724 ac_status=$?
33725 grep -v '^ *+' conftest.er1 >conftest.err
33726 rm -f conftest.er1
33727 cat conftest.err >&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } && {
33730 test -z "$ac_c_werror_flag" ||
33731 test ! -s conftest.err
33732 } && test -s conftest.$ac_objext; then
33733 { echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6; }
33735 else
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33738
33739 { echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6; }
33741 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33742 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #define __Point__ 1
33750 #include <AppKit/NSEvent.h>
33751 #include <CoreFoundation/CoreFoundation.h>
33752
33753 int
33754 main ()
33755 {
33756
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (ac_try="$ac_compile"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33766 esac
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_compile") 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest.$ac_objext; then
33778 { echo "$as_me:$LINENO: result: yes" >&5
33779 echo "${ECHO_T}yes" >&6; }
33780 cat >>confdefs.h <<\_ACEOF
33781 #define __Point__ 1
33782 _ACEOF
33783
33784
33785 else
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33788
33789 { { echo "$as_me:$LINENO: error: no
33790 See \`config.log' for more details." >&5
33791 echo "$as_me: error: no
33792 See \`config.log' for more details." >&2;}
33793 { (exit 1); exit 1; }; }
33794
33795 fi
33796
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33798
33799 fi
33800
33801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33802 ac_ext=c
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807
33808 fi
33809
33810
33811 { echo "$as_me:$LINENO: checking for mode_t" >&5
33812 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33813 if test "${ac_cv_type_mode_t+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816 cat >conftest.$ac_ext <<_ACEOF
33817 /* confdefs.h. */
33818 _ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33822 $ac_includes_default
33823 typedef mode_t ac__type_new_;
33824 int
33825 main ()
33826 {
33827 if ((ac__type_new_ *) 0)
33828 return 0;
33829 if (sizeof (ac__type_new_))
33830 return 0;
33831 ;
33832 return 0;
33833 }
33834 _ACEOF
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33840 esac
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.$ac_objext; then
33852 ac_cv_type_mode_t=yes
33853 else
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33856
33857 ac_cv_type_mode_t=no
33858 fi
33859
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33861 fi
33862 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33863 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33864 if test $ac_cv_type_mode_t = yes; then
33865 :
33866 else
33867
33868 cat >>confdefs.h <<_ACEOF
33869 #define mode_t int
33870 _ACEOF
33871
33872 fi
33873
33874 { echo "$as_me:$LINENO: checking for off_t" >&5
33875 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33876 if test "${ac_cv_type_off_t+set}" = set; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33878 else
33879 cat >conftest.$ac_ext <<_ACEOF
33880 /* confdefs.h. */
33881 _ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 $ac_includes_default
33886 typedef off_t ac__type_new_;
33887 int
33888 main ()
33889 {
33890 if ((ac__type_new_ *) 0)
33891 return 0;
33892 if (sizeof (ac__type_new_))
33893 return 0;
33894 ;
33895 return 0;
33896 }
33897 _ACEOF
33898 rm -f conftest.$ac_objext
33899 if { (ac_try="$ac_compile"
33900 case "(($ac_try" in
33901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33902 *) ac_try_echo=$ac_try;;
33903 esac
33904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33905 (eval "$ac_compile") 2>conftest.er1
33906 ac_status=$?
33907 grep -v '^ *+' conftest.er1 >conftest.err
33908 rm -f conftest.er1
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } && {
33912 test -z "$ac_c_werror_flag" ||
33913 test ! -s conftest.err
33914 } && test -s conftest.$ac_objext; then
33915 ac_cv_type_off_t=yes
33916 else
33917 echo "$as_me: failed program was:" >&5
33918 sed 's/^/| /' conftest.$ac_ext >&5
33919
33920 ac_cv_type_off_t=no
33921 fi
33922
33923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33924 fi
33925 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33926 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33927 if test $ac_cv_type_off_t = yes; then
33928 :
33929 else
33930
33931 cat >>confdefs.h <<_ACEOF
33932 #define off_t long int
33933 _ACEOF
33934
33935 fi
33936
33937 { echo "$as_me:$LINENO: checking for pid_t" >&5
33938 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33939 if test "${ac_cv_type_pid_t+set}" = set; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33941 else
33942 cat >conftest.$ac_ext <<_ACEOF
33943 /* confdefs.h. */
33944 _ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 $ac_includes_default
33949 typedef pid_t ac__type_new_;
33950 int
33951 main ()
33952 {
33953 if ((ac__type_new_ *) 0)
33954 return 0;
33955 if (sizeof (ac__type_new_))
33956 return 0;
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33966 esac
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33969 ac_status=$?
33970 grep -v '^ *+' conftest.er1 >conftest.err
33971 rm -f conftest.er1
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.$ac_objext; then
33978 ac_cv_type_pid_t=yes
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983 ac_cv_type_pid_t=no
33984 fi
33985
33986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33987 fi
33988 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33989 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33990 if test $ac_cv_type_pid_t = yes; then
33991 :
33992 else
33993
33994 cat >>confdefs.h <<_ACEOF
33995 #define pid_t int
33996 _ACEOF
33997
33998 fi
33999
34000 { echo "$as_me:$LINENO: checking for size_t" >&5
34001 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34002 if test "${ac_cv_type_size_t+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005 cat >conftest.$ac_ext <<_ACEOF
34006 /* confdefs.h. */
34007 _ACEOF
34008 cat confdefs.h >>conftest.$ac_ext
34009 cat >>conftest.$ac_ext <<_ACEOF
34010 /* end confdefs.h. */
34011 $ac_includes_default
34012 typedef size_t ac__type_new_;
34013 int
34014 main ()
34015 {
34016 if ((ac__type_new_ *) 0)
34017 return 0;
34018 if (sizeof (ac__type_new_))
34019 return 0;
34020 ;
34021 return 0;
34022 }
34023 _ACEOF
34024 rm -f conftest.$ac_objext
34025 if { (ac_try="$ac_compile"
34026 case "(($ac_try" in
34027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34028 *) ac_try_echo=$ac_try;;
34029 esac
34030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34031 (eval "$ac_compile") 2>conftest.er1
34032 ac_status=$?
34033 grep -v '^ *+' conftest.er1 >conftest.err
34034 rm -f conftest.er1
34035 cat conftest.err >&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); } && {
34038 test -z "$ac_c_werror_flag" ||
34039 test ! -s conftest.err
34040 } && test -s conftest.$ac_objext; then
34041 ac_cv_type_size_t=yes
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34045
34046 ac_cv_type_size_t=no
34047 fi
34048
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050 fi
34051 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34052 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34053 if test $ac_cv_type_size_t = yes; then
34054 :
34055 else
34056
34057 cat >>confdefs.h <<_ACEOF
34058 #define size_t unsigned int
34059 _ACEOF
34060
34061 fi
34062
34063
34064 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34065 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34066 if test "${ac_cv_type_ssize_t+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h. */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 $ac_includes_default
34076 typedef ssize_t ac__type_new_;
34077 int
34078 main ()
34079 {
34080 if ((ac__type_new_ *) 0)
34081 return 0;
34082 if (sizeof (ac__type_new_))
34083 return 0;
34084 ;
34085 return 0;
34086 }
34087 _ACEOF
34088 rm -f conftest.$ac_objext
34089 if { (ac_try="$ac_compile"
34090 case "(($ac_try" in
34091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34092 *) ac_try_echo=$ac_try;;
34093 esac
34094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34095 (eval "$ac_compile") 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } && {
34102 test -z "$ac_c_werror_flag" ||
34103 test ! -s conftest.err
34104 } && test -s conftest.$ac_objext; then
34105 ac_cv_type_ssize_t=yes
34106 else
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.$ac_ext >&5
34109
34110 ac_cv_type_ssize_t=no
34111 fi
34112
34113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34114 fi
34115 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34116 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34117 if test $ac_cv_type_ssize_t = yes; then
34118
34119 cat >>confdefs.h <<_ACEOF
34120 #define HAVE_SSIZE_T 1
34121 _ACEOF
34122
34123
34124 fi
34125
34126
34127 ac_ext=cpp
34128 ac_cpp='$CXXCPP $CPPFLAGS'
34129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34133 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34134 if test "${wx_cv_size_t_is_uint+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137
34138 cat >conftest.$ac_ext <<_ACEOF
34139 /* confdefs.h. */
34140 _ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 #include <stddef.h>
34145 int
34146 main ()
34147 {
34148
34149 return 0; }
34150
34151 struct Foo { void foo(size_t); void foo(unsigned int); };
34152
34153 int bar() {
34154
34155 ;
34156 return 0;
34157 }
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_cxx_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 wx_cv_size_t_is_uint=no
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34180
34181 wx_cv_size_t_is_uint=yes
34182
34183 fi
34184
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186
34187
34188 fi
34189 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34190 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34191
34192 if test "$wx_cv_size_t_is_uint" = "yes"; then
34193 cat >>confdefs.h <<\_ACEOF
34194 #define wxSIZE_T_IS_UINT 1
34195 _ACEOF
34196
34197 else
34198 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34199 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34200 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 cat >conftest.$ac_ext <<_ACEOF
34204 /* confdefs.h. */
34205 _ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 #include <stddef.h>
34210 int
34211 main ()
34212 {
34213
34214 return 0; }
34215
34216 struct Foo { void foo(size_t); void foo(unsigned long); };
34217
34218 int bar() {
34219
34220 ;
34221 return 0;
34222 }
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 *) ac_try_echo=$ac_try;;
34229 esac
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34232 ac_status=$?
34233 grep -v '^ *+' conftest.er1 >conftest.err
34234 rm -f conftest.er1
34235 cat conftest.err >&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_cxx_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.$ac_objext; then
34241 wx_cv_size_t_is_ulong=no
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 wx_cv_size_t_is_ulong=yes
34247
34248 fi
34249
34250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34251
34252 fi
34253 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34254 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34255
34256 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34257 cat >>confdefs.h <<\_ACEOF
34258 #define wxSIZE_T_IS_ULONG 1
34259 _ACEOF
34260
34261 fi
34262 fi
34263
34264 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34265 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34266 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 else
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 #include <wchar.h>
34276 int
34277 main ()
34278 {
34279
34280 return 0; }
34281
34282 struct Foo { void foo(wchar_t);
34283 void foo(unsigned short);
34284 void foo(unsigned int);
34285 void foo(unsigned long); };
34286
34287 int bar() {
34288
34289 ;
34290 return 0;
34291 }
34292 _ACEOF
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34298 esac
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_cxx_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_wchar_t_is_separate_type=yes
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34314
34315 wx_cv_wchar_t_is_separate_type=no
34316
34317 fi
34318
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320
34321 fi
34322 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34323 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34324
34325 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34326 cat >>confdefs.h <<\_ACEOF
34327 #define wxWCHAR_T_IS_REAL_TYPE 1
34328 _ACEOF
34329
34330 else
34331 cat >>confdefs.h <<\_ACEOF
34332 #define wxWCHAR_T_IS_REAL_TYPE 0
34333 _ACEOF
34334
34335 fi
34336
34337 ac_ext=c
34338 ac_cpp='$CPP $CPPFLAGS'
34339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342
34343
34344 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34345 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34346 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349
34350 cat >conftest.$ac_ext <<_ACEOF
34351 /* confdefs.h. */
34352 _ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34356 #include <pwd.h>
34357 int
34358 main ()
34359 {
34360
34361 char *p;
34362 struct passwd *pw;
34363 p = pw->pw_gecos;
34364
34365 ;
34366 return 0;
34367 }
34368 _ACEOF
34369 rm -f conftest.$ac_objext
34370 if { (ac_try="$ac_compile"
34371 case "(($ac_try" in
34372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34373 *) ac_try_echo=$ac_try;;
34374 esac
34375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34376 (eval "$ac_compile") 2>conftest.er1
34377 ac_status=$?
34378 grep -v '^ *+' conftest.er1 >conftest.err
34379 rm -f conftest.er1
34380 cat conftest.err >&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); } && {
34383 test -z "$ac_c_werror_flag" ||
34384 test ! -s conftest.err
34385 } && test -s conftest.$ac_objext; then
34386
34387 wx_cv_struct_pw_gecos=yes
34388
34389 else
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.$ac_ext >&5
34392
34393
34394 wx_cv_struct_pw_gecos=no
34395
34396
34397 fi
34398
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400
34401
34402 fi
34403 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34404 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34405
34406 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define HAVE_PW_GECOS 1
34409 _ACEOF
34410
34411 fi
34412
34413
34414 if test "$wxUSE_WCHAR_T" = "yes"; then
34415 cat >>confdefs.h <<\_ACEOF
34416 #define wxUSE_WCHAR_T 1
34417 _ACEOF
34418
34419
34420 WCSLEN_FOUND=0
34421 WCHAR_LINK=
34422
34423 for ac_func in wcslen
34424 do
34425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34439 #define $ac_func innocuous_$ac_func
34440
34441 /* System header to define __stub macros and hopefully few prototypes,
34442 which can conflict with char $ac_func (); below.
34443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34444 <limits.h> exists even on freestanding compilers. */
34445
34446 #ifdef __STDC__
34447 # include <limits.h>
34448 #else
34449 # include <assert.h>
34450 #endif
34451
34452 #undef $ac_func
34453
34454 /* Override any GCC internal prototype to avoid an error.
34455 Use char because int might match the return type of a GCC
34456 builtin and then its argument prototype would still apply. */
34457 #ifdef __cplusplus
34458 extern "C"
34459 #endif
34460 char $ac_func ();
34461 /* The GNU C library defines this for functions which it implements
34462 to always fail with ENOSYS. Some functions are actually named
34463 something starting with __ and the normal name is an alias. */
34464 #if defined __stub_$ac_func || defined __stub___$ac_func
34465 choke me
34466 #endif
34467
34468 int
34469 main ()
34470 {
34471 return $ac_func ();
34472 ;
34473 return 0;
34474 }
34475 _ACEOF
34476 rm -f conftest.$ac_objext conftest$ac_exeext
34477 if { (ac_try="$ac_link"
34478 case "(($ac_try" in
34479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34480 *) ac_try_echo=$ac_try;;
34481 esac
34482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34483 (eval "$ac_link") 2>conftest.er1
34484 ac_status=$?
34485 grep -v '^ *+' conftest.er1 >conftest.err
34486 rm -f conftest.er1
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } && {
34490 test -z "$ac_c_werror_flag" ||
34491 test ! -s conftest.err
34492 } && test -s conftest$ac_exeext &&
34493 $as_test_x conftest$ac_exeext; then
34494 eval "$as_ac_var=yes"
34495 else
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34498
34499 eval "$as_ac_var=no"
34500 fi
34501
34502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34503 conftest$ac_exeext conftest.$ac_ext
34504 fi
34505 ac_res=`eval echo '${'$as_ac_var'}'`
34506 { echo "$as_me:$LINENO: result: $ac_res" >&5
34507 echo "${ECHO_T}$ac_res" >&6; }
34508 if test `eval echo '${'$as_ac_var'}'` = yes; then
34509 cat >>confdefs.h <<_ACEOF
34510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34511 _ACEOF
34512 WCSLEN_FOUND=1
34513 fi
34514 done
34515
34516
34517 if test "$WCSLEN_FOUND" = 0; then
34518 if test "$TOOLKIT" = "MSW"; then
34519 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34520 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34521 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524 ac_check_lib_save_LIBS=$LIBS
34525 LIBS="-lmsvcrt $LIBS"
34526 cat >conftest.$ac_ext <<_ACEOF
34527 /* confdefs.h. */
34528 _ACEOF
34529 cat confdefs.h >>conftest.$ac_ext
34530 cat >>conftest.$ac_ext <<_ACEOF
34531 /* end confdefs.h. */
34532
34533 /* Override any GCC internal prototype to avoid an error.
34534 Use char because int might match the return type of a GCC
34535 builtin and then its argument prototype would still apply. */
34536 #ifdef __cplusplus
34537 extern "C"
34538 #endif
34539 char wcslen ();
34540 int
34541 main ()
34542 {
34543 return wcslen ();
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext conftest$ac_exeext
34549 if { (ac_try="$ac_link"
34550 case "(($ac_try" in
34551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34552 *) ac_try_echo=$ac_try;;
34553 esac
34554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34555 (eval "$ac_link") 2>conftest.er1
34556 ac_status=$?
34557 grep -v '^ *+' conftest.er1 >conftest.err
34558 rm -f conftest.er1
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } && {
34562 test -z "$ac_c_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest$ac_exeext &&
34565 $as_test_x conftest$ac_exeext; then
34566 ac_cv_lib_msvcrt_wcslen=yes
34567 else
34568 echo "$as_me: failed program was:" >&5
34569 sed 's/^/| /' conftest.$ac_ext >&5
34570
34571 ac_cv_lib_msvcrt_wcslen=no
34572 fi
34573
34574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34575 conftest$ac_exeext conftest.$ac_ext
34576 LIBS=$ac_check_lib_save_LIBS
34577 fi
34578 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34579 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34580 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34581 WCHAR_OK=1
34582 fi
34583
34584 else
34585 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34586 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34587 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590 ac_check_lib_save_LIBS=$LIBS
34591 LIBS="-lw $LIBS"
34592 cat >conftest.$ac_ext <<_ACEOF
34593 /* confdefs.h. */
34594 _ACEOF
34595 cat confdefs.h >>conftest.$ac_ext
34596 cat >>conftest.$ac_ext <<_ACEOF
34597 /* end confdefs.h. */
34598
34599 /* Override any GCC internal prototype to avoid an error.
34600 Use char because int might match the return type of a GCC
34601 builtin and then its argument prototype would still apply. */
34602 #ifdef __cplusplus
34603 extern "C"
34604 #endif
34605 char wcslen ();
34606 int
34607 main ()
34608 {
34609 return wcslen ();
34610 ;
34611 return 0;
34612 }
34613 _ACEOF
34614 rm -f conftest.$ac_objext conftest$ac_exeext
34615 if { (ac_try="$ac_link"
34616 case "(($ac_try" in
34617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34618 *) ac_try_echo=$ac_try;;
34619 esac
34620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34621 (eval "$ac_link") 2>conftest.er1
34622 ac_status=$?
34623 grep -v '^ *+' conftest.er1 >conftest.err
34624 rm -f conftest.er1
34625 cat conftest.err >&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } && {
34628 test -z "$ac_c_werror_flag" ||
34629 test ! -s conftest.err
34630 } && test -s conftest$ac_exeext &&
34631 $as_test_x conftest$ac_exeext; then
34632 ac_cv_lib_w_wcslen=yes
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 ac_cv_lib_w_wcslen=no
34638 fi
34639
34640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34641 conftest$ac_exeext conftest.$ac_ext
34642 LIBS=$ac_check_lib_save_LIBS
34643 fi
34644 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34645 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34646 if test $ac_cv_lib_w_wcslen = yes; then
34647
34648 WCHAR_LINK=" -lw"
34649 WCSLEN_FOUND=1
34650
34651 fi
34652
34653 fi
34654 fi
34655
34656 if test "$WCSLEN_FOUND" = 1; then
34657 cat >>confdefs.h <<\_ACEOF
34658 #define HAVE_WCSLEN 1
34659 _ACEOF
34660
34661 fi
34662
34663
34664 for ac_func in wcsdup
34665 do
34666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34680 #define $ac_func innocuous_$ac_func
34681
34682 /* System header to define __stub macros and hopefully few prototypes,
34683 which can conflict with char $ac_func (); below.
34684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34685 <limits.h> exists even on freestanding compilers. */
34686
34687 #ifdef __STDC__
34688 # include <limits.h>
34689 #else
34690 # include <assert.h>
34691 #endif
34692
34693 #undef $ac_func
34694
34695 /* Override any GCC internal prototype to avoid an error.
34696 Use char because int might match the return type of a GCC
34697 builtin and then its argument prototype would still apply. */
34698 #ifdef __cplusplus
34699 extern "C"
34700 #endif
34701 char $ac_func ();
34702 /* The GNU C library defines this for functions which it implements
34703 to always fail with ENOSYS. Some functions are actually named
34704 something starting with __ and the normal name is an alias. */
34705 #if defined __stub_$ac_func || defined __stub___$ac_func
34706 choke me
34707 #endif
34708
34709 int
34710 main ()
34711 {
34712 return $ac_func ();
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext conftest$ac_exeext
34718 if { (ac_try="$ac_link"
34719 case "(($ac_try" in
34720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34721 *) ac_try_echo=$ac_try;;
34722 esac
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_link") 2>conftest.er1
34725 ac_status=$?
34726 grep -v '^ *+' conftest.er1 >conftest.err
34727 rm -f conftest.er1
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } && {
34731 test -z "$ac_c_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest$ac_exeext &&
34734 $as_test_x conftest$ac_exeext; then
34735 eval "$as_ac_var=yes"
34736 else
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.$ac_ext >&5
34739
34740 eval "$as_ac_var=no"
34741 fi
34742
34743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34744 conftest$ac_exeext conftest.$ac_ext
34745 fi
34746 ac_res=`eval echo '${'$as_ac_var'}'`
34747 { echo "$as_me:$LINENO: result: $ac_res" >&5
34748 echo "${ECHO_T}$ac_res" >&6; }
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750 cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34752 _ACEOF
34753
34754 fi
34755 done
34756
34757
34758 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34759 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34760 fi
34761
34762 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34763 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34764 if test "${ac_cv_type_mbstate_t+set}" = set; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h. */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 #include <wchar.h>
34774
34775 typedef mbstate_t ac__type_new_;
34776 int
34777 main ()
34778 {
34779 if ((ac__type_new_ *) 0)
34780 return 0;
34781 if (sizeof (ac__type_new_))
34782 return 0;
34783 ;
34784 return 0;
34785 }
34786 _ACEOF
34787 rm -f conftest.$ac_objext
34788 if { (ac_try="$ac_compile"
34789 case "(($ac_try" in
34790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34791 *) ac_try_echo=$ac_try;;
34792 esac
34793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34794 (eval "$ac_compile") 2>conftest.er1
34795 ac_status=$?
34796 grep -v '^ *+' conftest.er1 >conftest.err
34797 rm -f conftest.er1
34798 cat conftest.err >&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } && {
34801 test -z "$ac_c_werror_flag" ||
34802 test ! -s conftest.err
34803 } && test -s conftest.$ac_objext; then
34804 ac_cv_type_mbstate_t=yes
34805 else
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34808
34809 ac_cv_type_mbstate_t=no
34810 fi
34811
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813 fi
34814 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34815 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34816 if test $ac_cv_type_mbstate_t = yes; then
34817
34818 cat >>confdefs.h <<_ACEOF
34819 #define HAVE_MBSTATE_T 1
34820 _ACEOF
34821
34822
34823 for ac_func in wcsrtombs
34824 do
34825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 else
34831 cat >conftest.$ac_ext <<_ACEOF
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34839 #define $ac_func innocuous_$ac_func
34840
34841 /* System header to define __stub macros and hopefully few prototypes,
34842 which can conflict with char $ac_func (); below.
34843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34844 <limits.h> exists even on freestanding compilers. */
34845
34846 #ifdef __STDC__
34847 # include <limits.h>
34848 #else
34849 # include <assert.h>
34850 #endif
34851
34852 #undef $ac_func
34853
34854 /* Override any GCC internal prototype to avoid an error.
34855 Use char because int might match the return type of a GCC
34856 builtin and then its argument prototype would still apply. */
34857 #ifdef __cplusplus
34858 extern "C"
34859 #endif
34860 char $ac_func ();
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined __stub_$ac_func || defined __stub___$ac_func
34865 choke me
34866 #endif
34867
34868 int
34869 main ()
34870 {
34871 return $ac_func ();
34872 ;
34873 return 0;
34874 }
34875 _ACEOF
34876 rm -f conftest.$ac_objext conftest$ac_exeext
34877 if { (ac_try="$ac_link"
34878 case "(($ac_try" in
34879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34880 *) ac_try_echo=$ac_try;;
34881 esac
34882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34883 (eval "$ac_link") 2>conftest.er1
34884 ac_status=$?
34885 grep -v '^ *+' conftest.er1 >conftest.err
34886 rm -f conftest.er1
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } && {
34890 test -z "$ac_c_werror_flag" ||
34891 test ! -s conftest.err
34892 } && test -s conftest$ac_exeext &&
34893 $as_test_x conftest$ac_exeext; then
34894 eval "$as_ac_var=yes"
34895 else
34896 echo "$as_me: failed program was:" >&5
34897 sed 's/^/| /' conftest.$ac_ext >&5
34898
34899 eval "$as_ac_var=no"
34900 fi
34901
34902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34903 conftest$ac_exeext conftest.$ac_ext
34904 fi
34905 ac_res=`eval echo '${'$as_ac_var'}'`
34906 { echo "$as_me:$LINENO: result: $ac_res" >&5
34907 echo "${ECHO_T}$ac_res" >&6; }
34908 if test `eval echo '${'$as_ac_var'}'` = yes; then
34909 cat >>confdefs.h <<_ACEOF
34910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34911 _ACEOF
34912
34913 fi
34914 done
34915
34916 fi
34917
34918 else
34919 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34920 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34921 fi
34922
34923
34924
34925
34926 for ac_func in snprintf vsnprintf vsscanf
34927 do
34928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34932 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 else
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34942 #define $ac_func innocuous_$ac_func
34943
34944 /* System header to define __stub macros and hopefully few prototypes,
34945 which can conflict with char $ac_func (); below.
34946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34947 <limits.h> exists even on freestanding compilers. */
34948
34949 #ifdef __STDC__
34950 # include <limits.h>
34951 #else
34952 # include <assert.h>
34953 #endif
34954
34955 #undef $ac_func
34956
34957 /* Override any GCC internal prototype to avoid an error.
34958 Use char because int might match the return type of a GCC
34959 builtin and then its argument prototype would still apply. */
34960 #ifdef __cplusplus
34961 extern "C"
34962 #endif
34963 char $ac_func ();
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined __stub_$ac_func || defined __stub___$ac_func
34968 choke me
34969 #endif
34970
34971 int
34972 main ()
34973 {
34974 return $ac_func ();
34975 ;
34976 return 0;
34977 }
34978 _ACEOF
34979 rm -f conftest.$ac_objext conftest$ac_exeext
34980 if { (ac_try="$ac_link"
34981 case "(($ac_try" in
34982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34983 *) ac_try_echo=$ac_try;;
34984 esac
34985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34986 (eval "$ac_link") 2>conftest.er1
34987 ac_status=$?
34988 grep -v '^ *+' conftest.er1 >conftest.err
34989 rm -f conftest.er1
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } && {
34993 test -z "$ac_c_werror_flag" ||
34994 test ! -s conftest.err
34995 } && test -s conftest$ac_exeext &&
34996 $as_test_x conftest$ac_exeext; then
34997 eval "$as_ac_var=yes"
34998 else
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.$ac_ext >&5
35001
35002 eval "$as_ac_var=no"
35003 fi
35004
35005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35006 conftest$ac_exeext conftest.$ac_ext
35007 fi
35008 ac_res=`eval echo '${'$as_ac_var'}'`
35009 { echo "$as_me:$LINENO: result: $ac_res" >&5
35010 echo "${ECHO_T}$ac_res" >&6; }
35011 if test `eval echo '${'$as_ac_var'}'` = yes; then
35012 cat >>confdefs.h <<_ACEOF
35013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35014 _ACEOF
35015
35016 fi
35017 done
35018
35019
35020 ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35025
35026 if test "$ac_cv_func_vsnprintf" = "yes"; then
35027 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35028 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35029 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032
35033 cat >conftest.$ac_ext <<_ACEOF
35034 /* confdefs.h. */
35035 _ACEOF
35036 cat confdefs.h >>conftest.$ac_ext
35037 cat >>conftest.$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35039
35040 #include <stdio.h>
35041 #include <stdarg.h>
35042 #ifdef __MSL__
35043 #if __MSL__ >= 0x6000
35044 namespace std {}
35045 using namespace std;
35046 #endif
35047 #endif
35048
35049 int
35050 main ()
35051 {
35052
35053 char *buf;
35054 va_list ap;
35055 vsnprintf(buf, 10u, "%s", ap);
35056
35057 ;
35058 return 0;
35059 }
35060 _ACEOF
35061 rm -f conftest.$ac_objext
35062 if { (ac_try="$ac_compile"
35063 case "(($ac_try" in
35064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35065 *) ac_try_echo=$ac_try;;
35066 esac
35067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35068 (eval "$ac_compile") 2>conftest.er1
35069 ac_status=$?
35070 grep -v '^ *+' conftest.er1 >conftest.err
35071 rm -f conftest.er1
35072 cat conftest.err >&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } && {
35075 test -z "$ac_cxx_werror_flag" ||
35076 test ! -s conftest.err
35077 } && test -s conftest.$ac_objext; then
35078 wx_cv_func_vsnprintf_decl=yes
35079 else
35080 echo "$as_me: failed program was:" >&5
35081 sed 's/^/| /' conftest.$ac_ext >&5
35082
35083 wx_cv_func_vsnprintf_decl=no
35084
35085 fi
35086
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088
35089
35090 fi
35091 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35092 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35093
35094 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35095 cat >>confdefs.h <<\_ACEOF
35096 #define HAVE_VSNPRINTF_DECL 1
35097 _ACEOF
35098
35099
35100 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35101 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35102 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105
35106 cat >conftest.$ac_ext <<_ACEOF
35107 /* confdefs.h. */
35108 _ACEOF
35109 cat confdefs.h >>conftest.$ac_ext
35110 cat >>conftest.$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35112
35113 #include <stdio.h>
35114 #include <stdarg.h>
35115 #ifdef __MSL__
35116 #if __MSL__ >= 0x6000
35117 namespace std {}
35118 using namespace std;
35119 #endif
35120 #endif
35121
35122 int
35123 main ()
35124 {
35125
35126 char *buf;
35127 va_list ap;
35128 const char *fmt = "%s";
35129 vsnprintf(buf, 10u, fmt, ap);
35130
35131 ;
35132 return 0;
35133 }
35134 _ACEOF
35135 rm -f conftest.$ac_objext
35136 if { (ac_try="$ac_compile"
35137 case "(($ac_try" in
35138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35139 *) ac_try_echo=$ac_try;;
35140 esac
35141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35142 (eval "$ac_compile") 2>conftest.er1
35143 ac_status=$?
35144 grep -v '^ *+' conftest.er1 >conftest.err
35145 rm -f conftest.er1
35146 cat conftest.err >&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } && {
35149 test -z "$ac_cxx_werror_flag" ||
35150 test ! -s conftest.err
35151 } && test -s conftest.$ac_objext; then
35152 wx_cv_func_broken_vsnprintf_decl=no
35153 else
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.$ac_ext >&5
35156
35157 wx_cv_func_broken_vsnprintf_decl=yes
35158
35159 fi
35160
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162
35163
35164 fi
35165 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35166 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35167
35168 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35171 _ACEOF
35172
35173 fi
35174 fi
35175 fi
35176
35177 if test "$ac_cv_func_snprintf" = "yes"; then
35178 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35179 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35180 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35183
35184 cat >conftest.$ac_ext <<_ACEOF
35185 /* confdefs.h. */
35186 _ACEOF
35187 cat confdefs.h >>conftest.$ac_ext
35188 cat >>conftest.$ac_ext <<_ACEOF
35189 /* end confdefs.h. */
35190
35191 #include <stdio.h>
35192 #include <stdarg.h>
35193 #ifdef __MSL__
35194 #if __MSL__ >= 0x6000
35195 namespace std {}
35196 using namespace std;
35197 #endif
35198 #endif
35199
35200 int
35201 main ()
35202 {
35203
35204 char *buf;
35205 snprintf(buf, 10u, "%s", "wx");
35206
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext
35212 if { (ac_try="$ac_compile"
35213 case "(($ac_try" in
35214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35216 esac
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_compile") 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_cxx_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest.$ac_objext; then
35228 wx_cv_func_snprintf_decl=yes
35229 else
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.$ac_ext >&5
35232
35233 wx_cv_func_snprintf_decl=no
35234
35235 fi
35236
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238
35239
35240 fi
35241 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35242 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35243
35244 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define HAVE_SNPRINTF_DECL 1
35247 _ACEOF
35248
35249 fi
35250
35251 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35252
35253 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35254 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35255 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258
35259 if test "$cross_compiling" = yes; then
35260
35261 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35262 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35263 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35264 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35265 wx_cv_func_snprintf_pos_params=no
35266
35267
35268 else
35269 cat >conftest.$ac_ext <<_ACEOF
35270 /* confdefs.h. */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35275
35276 #include <stdio.h>
35277
35278 int main (void)
35279 {
35280 char buffer[128];
35281 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35282 if (strcmp ("2 3 1", buffer) == 0)
35283 exit (0);
35284 exit (1);
35285 }
35286
35287 _ACEOF
35288 rm -f conftest$ac_exeext
35289 if { (ac_try="$ac_link"
35290 case "(($ac_try" in
35291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35292 *) ac_try_echo=$ac_try;;
35293 esac
35294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35295 (eval "$ac_link") 2>&5
35296 ac_status=$?
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35299 { (case "(($ac_try" in
35300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35301 *) ac_try_echo=$ac_try;;
35302 esac
35303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35304 (eval "$ac_try") 2>&5
35305 ac_status=$?
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; }; then
35308 wx_cv_func_snprintf_pos_params=no
35309 else
35310 echo "$as_me: program exited with status $ac_status" >&5
35311 echo "$as_me: failed program was:" >&5
35312 sed 's/^/| /' conftest.$ac_ext >&5
35313
35314 ( exit $ac_status )
35315 wx_cv_func_snprintf_pos_params=yes
35316 fi
35317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35318 fi
35319
35320
35321
35322
35323 fi
35324 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35325 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35326
35327 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35328 cat >>confdefs.h <<\_ACEOF
35329 #define HAVE_UNIX98_PRINTF 1
35330 _ACEOF
35331
35332 fi
35333 fi
35334 fi
35335
35336 if test "$ac_cv_func_vsscanf" = "yes"; then
35337 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35338 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35339 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342
35343 cat >conftest.$ac_ext <<_ACEOF
35344 /* confdefs.h. */
35345 _ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349
35350 #include <stdio.h>
35351 #include <stdarg.h>
35352 #ifdef __MSL__
35353 #if __MSL__ >= 0x6000
35354 namespace std {}
35355 using namespace std;
35356 #endif
35357 #endif
35358
35359 int
35360 main ()
35361 {
35362
35363 char *buf;
35364 va_list args;
35365 vsscanf(buf, "%s", args);
35366
35367 ;
35368 return 0;
35369 }
35370 _ACEOF
35371 rm -f conftest.$ac_objext
35372 if { (ac_try="$ac_compile"
35373 case "(($ac_try" in
35374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35375 *) ac_try_echo=$ac_try;;
35376 esac
35377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35378 (eval "$ac_compile") 2>conftest.er1
35379 ac_status=$?
35380 grep -v '^ *+' conftest.er1 >conftest.err
35381 rm -f conftest.er1
35382 cat conftest.err >&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); } && {
35385 test -z "$ac_cxx_werror_flag" ||
35386 test ! -s conftest.err
35387 } && test -s conftest.$ac_objext; then
35388 wx_cv_func_vsscanf_decl=yes
35389 else
35390 echo "$as_me: failed program was:" >&5
35391 sed 's/^/| /' conftest.$ac_ext >&5
35392
35393 wx_cv_func_vsscanf_decl=no
35394
35395 fi
35396
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398
35399
35400 fi
35401 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35402 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35403
35404 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35405 cat >>confdefs.h <<\_ACEOF
35406 #define HAVE_VSSCANF_DECL 1
35407 _ACEOF
35408
35409 fi
35410 fi
35411 ac_ext=c
35412 ac_cpp='$CPP $CPPFLAGS'
35413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35416
35417
35418 if test "$wxUSE_UNICODE" = yes; then
35419
35420 wchar_headers="#include <stdio.h>
35421 #include <wchar.h>"
35422 case "${host}" in
35423 *-*-solaris2* )
35424
35425 for ac_header in widec.h
35426 do
35427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35431 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 else
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439 $ac_includes_default
35440
35441 #include <$ac_header>
35442 _ACEOF
35443 rm -f conftest.$ac_objext
35444 if { (ac_try="$ac_compile"
35445 case "(($ac_try" in
35446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35447 *) ac_try_echo=$ac_try;;
35448 esac
35449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35450 (eval "$ac_compile") 2>conftest.er1
35451 ac_status=$?
35452 grep -v '^ *+' conftest.er1 >conftest.err
35453 rm -f conftest.er1
35454 cat conftest.err >&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); } && {
35457 test -z "$ac_c_werror_flag" ||
35458 test ! -s conftest.err
35459 } && test -s conftest.$ac_objext; then
35460 eval "$as_ac_Header=yes"
35461 else
35462 echo "$as_me: failed program was:" >&5
35463 sed 's/^/| /' conftest.$ac_ext >&5
35464
35465 eval "$as_ac_Header=no"
35466 fi
35467
35468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35469 fi
35470 ac_res=`eval echo '${'$as_ac_Header'}'`
35471 { echo "$as_me:$LINENO: result: $ac_res" >&5
35472 echo "${ECHO_T}$ac_res" >&6; }
35473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35474 cat >>confdefs.h <<_ACEOF
35475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35476 _ACEOF
35477
35478 fi
35479
35480 done
35481
35482 if test "$ac_cv_header_widec_h" = "yes"; then
35483 wchar_headers="$wchar_headers
35484 #include <widec.h>"
35485 fi
35486 esac
35487
35488
35489 for wx_func in putws fputws wprintf vswprintf vswscanf
35490 do
35491 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35492 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35493 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 else
35496
35497 cat >conftest.$ac_ext <<_ACEOF
35498
35499 /* confdefs.h. */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504
35505 $wchar_headers
35506 $ac_includes_default
35507
35508 int
35509 main ()
35510 {
35511
35512 #ifndef $wx_func
35513 &$wx_func;
35514 #endif
35515
35516
35517 ;
35518 return 0;
35519 }
35520
35521 _ACEOF
35522 rm -f conftest.$ac_objext conftest$ac_exeext
35523 if { (ac_try="$ac_link"
35524 case "(($ac_try" in
35525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35526 *) ac_try_echo=$ac_try;;
35527 esac
35528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35529 (eval "$ac_link") 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } && {
35536 test -z "$ac_c_werror_flag" ||
35537 test ! -s conftest.err
35538 } && test -s conftest$ac_exeext &&
35539 $as_test_x conftest$ac_exeext; then
35540 eval wx_cv_func_$wx_func=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 eval wx_cv_func_$wx_func=no
35546 fi
35547
35548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35549 conftest$ac_exeext conftest.$ac_ext
35550
35551 fi
35552 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35553 { echo "$as_me:$LINENO: result: $ac_res" >&5
35554 echo "${ECHO_T}$ac_res" >&6; }
35555
35556 if eval test \$wx_cv_func_$wx_func = yes
35557 then
35558 cat >>confdefs.h <<_ACEOF
35559 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35560 _ACEOF
35561
35562
35563 else
35564 :
35565
35566 fi
35567 done
35568
35569
35570 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35571 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h. */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578 #include <wchar.h>
35579 int
35580 main ()
35581 {
35582 &_vsnwprintf;
35583 ;
35584 return 0;
35585 }
35586 _ACEOF
35587 rm -f conftest.$ac_objext
35588 if { (ac_try="$ac_compile"
35589 case "(($ac_try" in
35590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35591 *) ac_try_echo=$ac_try;;
35592 esac
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_compile") 2>conftest.er1
35595 ac_status=$?
35596 grep -v '^ *+' conftest.er1 >conftest.err
35597 rm -f conftest.er1
35598 cat conftest.err >&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && {
35601 test -z "$ac_c_werror_flag" ||
35602 test ! -s conftest.err
35603 } && test -s conftest.$ac_objext; then
35604 { echo "$as_me:$LINENO: result: yes" >&5
35605 echo "${ECHO_T}yes" >&6; }
35606 cat >>confdefs.h <<\_ACEOF
35607 #define HAVE__VSNWPRINTF 1
35608 _ACEOF
35609
35610 else
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35613
35614 { echo "$as_me:$LINENO: result: no" >&5
35615 echo "${ECHO_T}no" >&6; }
35616 fi
35617
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35619 fi
35620
35621 if test "$wxUSE_FILE" = "yes"; then
35622
35623 for wx_func in fsync
35624 do
35625 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35626 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35627 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630
35631 cat >conftest.$ac_ext <<_ACEOF
35632
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638
35639
35640 $ac_includes_default
35641
35642 int
35643 main ()
35644 {
35645
35646 #ifndef $wx_func
35647 &$wx_func;
35648 #endif
35649
35650
35651 ;
35652 return 0;
35653 }
35654
35655 _ACEOF
35656 rm -f conftest.$ac_objext conftest$ac_exeext
35657 if { (ac_try="$ac_link"
35658 case "(($ac_try" in
35659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35660 *) ac_try_echo=$ac_try;;
35661 esac
35662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35663 (eval "$ac_link") 2>conftest.er1
35664 ac_status=$?
35665 grep -v '^ *+' conftest.er1 >conftest.err
35666 rm -f conftest.er1
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } && {
35670 test -z "$ac_c_werror_flag" ||
35671 test ! -s conftest.err
35672 } && test -s conftest$ac_exeext &&
35673 $as_test_x conftest$ac_exeext; then
35674 eval wx_cv_func_$wx_func=yes
35675 else
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35678
35679 eval wx_cv_func_$wx_func=no
35680 fi
35681
35682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35683 conftest$ac_exeext conftest.$ac_ext
35684
35685 fi
35686 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35687 { echo "$as_me:$LINENO: result: $ac_res" >&5
35688 echo "${ECHO_T}$ac_res" >&6; }
35689
35690 if eval test \$wx_cv_func_$wx_func = yes
35691 then
35692 cat >>confdefs.h <<_ACEOF
35693 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35694 _ACEOF
35695
35696
35697 else
35698 :
35699
35700 fi
35701 done
35702
35703 fi
35704
35705 ac_ext=cpp
35706 ac_cpp='$CXXCPP $CPPFLAGS'
35707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35710
35711
35712 for wx_func in round
35713 do
35714 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35715 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35716 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 else
35719
35720 cat >conftest.$ac_ext <<_ACEOF
35721
35722 /* confdefs.h. */
35723 _ACEOF
35724 cat confdefs.h >>conftest.$ac_ext
35725 cat >>conftest.$ac_ext <<_ACEOF
35726 /* end confdefs.h. */
35727
35728 #include <math.h>
35729 $ac_includes_default
35730
35731 int
35732 main ()
35733 {
35734
35735 #ifndef $wx_func
35736 &$wx_func;
35737 #endif
35738
35739
35740 ;
35741 return 0;
35742 }
35743
35744 _ACEOF
35745 rm -f conftest.$ac_objext conftest$ac_exeext
35746 if { (ac_try="$ac_link"
35747 case "(($ac_try" in
35748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35749 *) ac_try_echo=$ac_try;;
35750 esac
35751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35752 (eval "$ac_link") 2>conftest.er1
35753 ac_status=$?
35754 grep -v '^ *+' conftest.er1 >conftest.err
35755 rm -f conftest.er1
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } && {
35759 test -z "$ac_cxx_werror_flag" ||
35760 test ! -s conftest.err
35761 } && test -s conftest$ac_exeext &&
35762 $as_test_x conftest$ac_exeext; then
35763 eval wx_cv_func_$wx_func=yes
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 eval wx_cv_func_$wx_func=no
35769 fi
35770
35771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35772 conftest$ac_exeext conftest.$ac_ext
35773
35774 fi
35775 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35776 { echo "$as_me:$LINENO: result: $ac_res" >&5
35777 echo "${ECHO_T}$ac_res" >&6; }
35778
35779 if eval test \$wx_cv_func_$wx_func = yes
35780 then
35781 cat >>confdefs.h <<_ACEOF
35782 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35783 _ACEOF
35784
35785
35786 else
35787 :
35788
35789 fi
35790 done
35791
35792 ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 if test "$TOOLKIT" != "MSW"; then
35800
35801 if test "$wxUSE_LIBICONV" != "no" ; then
35802
35803
35804
35805 # Check whether --with-libiconv-prefix was given.
35806 if test "${with_libiconv_prefix+set}" = set; then
35807 withval=$with_libiconv_prefix;
35808 for dir in `echo "$withval" | tr : ' '`; do
35809 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35810 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35811 done
35812
35813 fi
35814
35815
35816 { echo "$as_me:$LINENO: checking for iconv" >&5
35817 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35818 if test "${am_cv_func_iconv+set}" = set; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 else
35821
35822 am_cv_func_iconv="no, consider installing GNU libiconv"
35823 am_cv_lib_iconv=no
35824 cat >conftest.$ac_ext <<_ACEOF
35825 /* confdefs.h. */
35826 _ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830 #include <stdlib.h>
35831 #include <iconv.h>
35832 int
35833 main ()
35834 {
35835 iconv_t cd = iconv_open("","");
35836 iconv(cd,NULL,NULL,NULL,NULL);
35837 iconv_close(cd);
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (ac_try="$ac_link"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_link") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest$ac_exeext &&
35859 $as_test_x conftest$ac_exeext; then
35860 am_cv_func_iconv=yes
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35869 conftest$ac_exeext conftest.$ac_ext
35870 if test "$am_cv_func_iconv" != yes; then
35871 am_save_LIBS="$LIBS"
35872 LIBS="$LIBS -liconv"
35873 cat >conftest.$ac_ext <<_ACEOF
35874 /* confdefs.h. */
35875 _ACEOF
35876 cat confdefs.h >>conftest.$ac_ext
35877 cat >>conftest.$ac_ext <<_ACEOF
35878 /* end confdefs.h. */
35879 #include <stdlib.h>
35880 #include <iconv.h>
35881 int
35882 main ()
35883 {
35884 iconv_t cd = iconv_open("","");
35885 iconv(cd,NULL,NULL,NULL,NULL);
35886 iconv_close(cd);
35887 ;
35888 return 0;
35889 }
35890 _ACEOF
35891 rm -f conftest.$ac_objext conftest$ac_exeext
35892 if { (ac_try="$ac_link"
35893 case "(($ac_try" in
35894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35895 *) ac_try_echo=$ac_try;;
35896 esac
35897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35898 (eval "$ac_link") 2>conftest.er1
35899 ac_status=$?
35900 grep -v '^ *+' conftest.er1 >conftest.err
35901 rm -f conftest.er1
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } && {
35905 test -z "$ac_c_werror_flag" ||
35906 test ! -s conftest.err
35907 } && test -s conftest$ac_exeext &&
35908 $as_test_x conftest$ac_exeext; then
35909 am_cv_lib_iconv=yes
35910 am_cv_func_iconv=yes
35911 else
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.$ac_ext >&5
35914
35915
35916 fi
35917
35918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35919 conftest$ac_exeext conftest.$ac_ext
35920 LIBS="$am_save_LIBS"
35921 fi
35922
35923 fi
35924 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35925 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35926 if test "$am_cv_func_iconv" = yes; then
35927
35928 cat >>confdefs.h <<\_ACEOF
35929 #define HAVE_ICONV 1
35930 _ACEOF
35931
35932 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35933 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35934 if test "${wx_cv_func_iconv_const+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 else
35937 cat >conftest.$ac_ext <<_ACEOF
35938 /* confdefs.h. */
35939 _ACEOF
35940 cat confdefs.h >>conftest.$ac_ext
35941 cat >>conftest.$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943
35944 #include <stdlib.h>
35945 #include <iconv.h>
35946 extern
35947 #ifdef __cplusplus
35948 "C"
35949 #endif
35950 #if defined(__STDC__) || defined(__cplusplus)
35951 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35952 #else
35953 size_t iconv();
35954 #endif
35955
35956 int
35957 main ()
35958 {
35959
35960 ;
35961 return 0;
35962 }
35963 _ACEOF
35964 rm -f conftest.$ac_objext
35965 if { (ac_try="$ac_compile"
35966 case "(($ac_try" in
35967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35968 *) ac_try_echo=$ac_try;;
35969 esac
35970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35971 (eval "$ac_compile") 2>conftest.er1
35972 ac_status=$?
35973 grep -v '^ *+' conftest.er1 >conftest.err
35974 rm -f conftest.er1
35975 cat conftest.err >&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } && {
35978 test -z "$ac_c_werror_flag" ||
35979 test ! -s conftest.err
35980 } && test -s conftest.$ac_objext; then
35981 wx_cv_func_iconv_const="no"
35982 else
35983 echo "$as_me: failed program was:" >&5
35984 sed 's/^/| /' conftest.$ac_ext >&5
35985
35986 wx_cv_func_iconv_const="yes"
35987
35988 fi
35989
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991
35992 fi
35993 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35994 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35995
35996 iconv_const=
35997 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35998 iconv_const="const"
35999 fi
36000
36001
36002 cat >>confdefs.h <<_ACEOF
36003 #define ICONV_CONST $iconv_const
36004 _ACEOF
36005
36006 fi
36007 LIBICONV=
36008 if test "$am_cv_lib_iconv" = yes; then
36009 LIBICONV="-liconv"
36010 fi
36011
36012
36013 LIBS="$LIBICONV $LIBS"
36014 fi
36015
36016 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36017
36018 for ac_func in sigaction
36019 do
36020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36025 else
36026 cat >conftest.$ac_ext <<_ACEOF
36027 /* confdefs.h. */
36028 _ACEOF
36029 cat confdefs.h >>conftest.$ac_ext
36030 cat >>conftest.$ac_ext <<_ACEOF
36031 /* end confdefs.h. */
36032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36034 #define $ac_func innocuous_$ac_func
36035
36036 /* System header to define __stub macros and hopefully few prototypes,
36037 which can conflict with char $ac_func (); below.
36038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36039 <limits.h> exists even on freestanding compilers. */
36040
36041 #ifdef __STDC__
36042 # include <limits.h>
36043 #else
36044 # include <assert.h>
36045 #endif
36046
36047 #undef $ac_func
36048
36049 /* Override any GCC internal prototype to avoid an error.
36050 Use char because int might match the return type of a GCC
36051 builtin and then its argument prototype would still apply. */
36052 #ifdef __cplusplus
36053 extern "C"
36054 #endif
36055 char $ac_func ();
36056 /* The GNU C library defines this for functions which it implements
36057 to always fail with ENOSYS. Some functions are actually named
36058 something starting with __ and the normal name is an alias. */
36059 #if defined __stub_$ac_func || defined __stub___$ac_func
36060 choke me
36061 #endif
36062
36063 int
36064 main ()
36065 {
36066 return $ac_func ();
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 rm -f conftest.$ac_objext conftest$ac_exeext
36072 if { (ac_try="$ac_link"
36073 case "(($ac_try" in
36074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36075 *) ac_try_echo=$ac_try;;
36076 esac
36077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36078 (eval "$ac_link") 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } && {
36085 test -z "$ac_c_werror_flag" ||
36086 test ! -s conftest.err
36087 } && test -s conftest$ac_exeext &&
36088 $as_test_x conftest$ac_exeext; then
36089 eval "$as_ac_var=yes"
36090 else
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.$ac_ext >&5
36093
36094 eval "$as_ac_var=no"
36095 fi
36096
36097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36098 conftest$ac_exeext conftest.$ac_ext
36099 fi
36100 ac_res=`eval echo '${'$as_ac_var'}'`
36101 { echo "$as_me:$LINENO: result: $ac_res" >&5
36102 echo "${ECHO_T}$ac_res" >&6; }
36103 if test `eval echo '${'$as_ac_var'}'` = yes; then
36104 cat >>confdefs.h <<_ACEOF
36105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36106 _ACEOF
36107
36108 fi
36109 done
36110
36111
36112 if test "$ac_cv_func_sigaction" = "no"; then
36113 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36114 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36115 wxUSE_ON_FATAL_EXCEPTION=no
36116 fi
36117
36118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36119 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36120 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36121 if test "${wx_cv_type_sa_handler+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36124
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 #include <signal.h>
36138 int
36139 main ()
36140 {
36141
36142 extern void testSigHandler(int);
36143
36144 struct sigaction sa;
36145 sa.sa_handler = testSigHandler;
36146
36147 ;
36148 return 0;
36149 }
36150 _ACEOF
36151 rm -f conftest.$ac_objext
36152 if { (ac_try="$ac_compile"
36153 case "(($ac_try" in
36154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36155 *) ac_try_echo=$ac_try;;
36156 esac
36157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36158 (eval "$ac_compile") 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } && {
36165 test -z "$ac_cxx_werror_flag" ||
36166 test ! -s conftest.err
36167 } && test -s conftest.$ac_objext; then
36168
36169 wx_cv_type_sa_handler=int
36170
36171 else
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.$ac_ext >&5
36174
36175
36176 wx_cv_type_sa_handler=void
36177
36178 fi
36179
36180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36181 ac_ext=c
36182 ac_cpp='$CPP $CPPFLAGS'
36183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186
36187
36188 fi
36189 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36190 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36191
36192 cat >>confdefs.h <<_ACEOF
36193 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36194 _ACEOF
36195
36196 fi
36197 fi
36198
36199 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36200 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36201 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36202 if test "${wx_cv_func_backtrace+set}" = set; then
36203 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 else
36205
36206 ac_ext=cpp
36207 ac_cpp='$CXXCPP $CPPFLAGS'
36208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211
36212 cat >conftest.$ac_ext <<_ACEOF
36213 /* confdefs.h. */
36214 _ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36218 #include <execinfo.h>
36219 int
36220 main ()
36221 {
36222
36223 void *trace[1];
36224 char **messages;
36225
36226 backtrace(trace, 1);
36227 messages = backtrace_symbols(trace, 1);
36228
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext
36234 if { (ac_try="$ac_compile"
36235 case "(($ac_try" in
36236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36237 *) ac_try_echo=$ac_try;;
36238 esac
36239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36240 (eval "$ac_compile") 2>conftest.er1
36241 ac_status=$?
36242 grep -v '^ *+' conftest.er1 >conftest.err
36243 rm -f conftest.er1
36244 cat conftest.err >&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } && {
36247 test -z "$ac_cxx_werror_flag" ||
36248 test ! -s conftest.err
36249 } && test -s conftest.$ac_objext; then
36250 wx_cv_func_backtrace=yes
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36254
36255 wx_cv_func_backtrace=no
36256
36257 fi
36258
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267
36268 fi
36269 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36270 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36271
36272
36273 if test "$wx_cv_func_backtrace" = "no"; then
36274 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36275 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36276 wxUSE_STACKWALKER=no
36277 else
36278 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36279 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36280 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283
36284 ac_ext=cpp
36285 ac_cpp='$CXXCPP $CPPFLAGS'
36286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36289
36290 cat >conftest.$ac_ext <<_ACEOF
36291 /* confdefs.h. */
36292 _ACEOF
36293 cat confdefs.h >>conftest.$ac_ext
36294 cat >>conftest.$ac_ext <<_ACEOF
36295 /* end confdefs.h. */
36296 #include <cxxabi.h>
36297 int
36298 main ()
36299 {
36300
36301 int rc;
36302 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36303
36304 ;
36305 return 0;
36306 }
36307 _ACEOF
36308 rm -f conftest.$ac_objext conftest$ac_exeext
36309 if { (ac_try="$ac_link"
36310 case "(($ac_try" in
36311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36312 *) ac_try_echo=$ac_try;;
36313 esac
36314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36315 (eval "$ac_link") 2>conftest.er1
36316 ac_status=$?
36317 grep -v '^ *+' conftest.er1 >conftest.err
36318 rm -f conftest.er1
36319 cat conftest.err >&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); } && {
36322 test -z "$ac_cxx_werror_flag" ||
36323 test ! -s conftest.err
36324 } && test -s conftest$ac_exeext &&
36325 $as_test_x conftest$ac_exeext; then
36326 wx_cv_func_cxa_demangle=yes
36327 else
36328 echo "$as_me: failed program was:" >&5
36329 sed 's/^/| /' conftest.$ac_ext >&5
36330
36331 wx_cv_func_cxa_demangle=no
36332
36333 fi
36334
36335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36336 conftest$ac_exeext conftest.$ac_ext
36337 ac_ext=c
36338 ac_cpp='$CPP $CPPFLAGS'
36339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36342
36343
36344
36345 fi
36346 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36347 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36348
36349 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36350 cat >>confdefs.h <<\_ACEOF
36351 #define HAVE_CXA_DEMANGLE 1
36352 _ACEOF
36353
36354 fi
36355 fi
36356 fi
36357
36358 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36359 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36360 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36361 wxUSE_STACKWALKER=no
36362 fi
36363
36364
36365
36366
36367 for ac_func in mkstemp mktemp
36368 do
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h. */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36384
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36389
36390 #ifdef __STDC__
36391 # include <limits.h>
36392 #else
36393 # include <assert.h>
36394 #endif
36395
36396 #undef $ac_func
36397
36398 /* Override any GCC internal prototype to avoid an error.
36399 Use char because int might match the return type of a GCC
36400 builtin and then its argument prototype would still apply. */
36401 #ifdef __cplusplus
36402 extern "C"
36403 #endif
36404 char $ac_func ();
36405 /* The GNU C library defines this for functions which it implements
36406 to always fail with ENOSYS. Some functions are actually named
36407 something starting with __ and the normal name is an alias. */
36408 #if defined __stub_$ac_func || defined __stub___$ac_func
36409 choke me
36410 #endif
36411
36412 int
36413 main ()
36414 {
36415 return $ac_func ();
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (ac_try="$ac_link"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36425 esac
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_link") 2>conftest.er1
36428 ac_status=$?
36429 grep -v '^ *+' conftest.er1 >conftest.err
36430 rm -f conftest.er1
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest$ac_exeext &&
36437 $as_test_x conftest$ac_exeext; then
36438 eval "$as_ac_var=yes"
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 eval "$as_ac_var=no"
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36447 conftest$ac_exeext conftest.$ac_ext
36448 fi
36449 ac_res=`eval echo '${'$as_ac_var'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_var'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36455 _ACEOF
36456 break
36457 fi
36458 done
36459
36460
36461 { echo "$as_me:$LINENO: checking for statfs" >&5
36462 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36463 if test "${wx_cv_func_statfs+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466 cat >conftest.$ac_ext <<_ACEOF
36467 /* confdefs.h. */
36468 _ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472
36473 #if defined(__BSD__)
36474 #include <sys/param.h>
36475 #include <sys/mount.h>
36476 #else
36477 #include <sys/vfs.h>
36478 #endif
36479
36480 int
36481 main ()
36482 {
36483
36484 long l;
36485 struct statfs fs;
36486 statfs("/", &fs);
36487 l = fs.f_bsize;
36488 l += fs.f_blocks;
36489 l += fs.f_bavail;
36490
36491 ;
36492 return 0;
36493 }
36494 _ACEOF
36495 rm -f conftest.$ac_objext
36496 if { (ac_try="$ac_compile"
36497 case "(($ac_try" in
36498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36499 *) ac_try_echo=$ac_try;;
36500 esac
36501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36502 (eval "$ac_compile") 2>conftest.er1
36503 ac_status=$?
36504 grep -v '^ *+' conftest.er1 >conftest.err
36505 rm -f conftest.er1
36506 cat conftest.err >&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } && {
36509 test -z "$ac_c_werror_flag" ||
36510 test ! -s conftest.err
36511 } && test -s conftest.$ac_objext; then
36512 wx_cv_func_statfs=yes
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517 wx_cv_func_statfs=no
36518
36519 fi
36520
36521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36522
36523 fi
36524 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36525 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36526
36527 if test "$wx_cv_func_statfs" = "yes"; then
36528 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36529 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36530 if test "${wx_cv_func_statfs_decl+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533 ac_ext=cpp
36534 ac_cpp='$CXXCPP $CPPFLAGS'
36535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36538
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545
36546 #if defined(__BSD__)
36547 #include <sys/param.h>
36548 #include <sys/mount.h>
36549 #else
36550 #include <sys/vfs.h>
36551 #endif
36552
36553 int
36554 main ()
36555 {
36556
36557 struct statfs fs;
36558 statfs("", &fs);
36559
36560 ;
36561 return 0;
36562 }
36563 _ACEOF
36564 rm -f conftest.$ac_objext
36565 if { (ac_try="$ac_compile"
36566 case "(($ac_try" in
36567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36568 *) ac_try_echo=$ac_try;;
36569 esac
36570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36571 (eval "$ac_compile") 2>conftest.er1
36572 ac_status=$?
36573 grep -v '^ *+' conftest.er1 >conftest.err
36574 rm -f conftest.er1
36575 cat conftest.err >&5
36576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36577 (exit $ac_status); } && {
36578 test -z "$ac_cxx_werror_flag" ||
36579 test ! -s conftest.err
36580 } && test -s conftest.$ac_objext; then
36581 wx_cv_func_statfs_decl=yes
36582 else
36583 echo "$as_me: failed program was:" >&5
36584 sed 's/^/| /' conftest.$ac_ext >&5
36585
36586 wx_cv_func_statfs_decl=no
36587
36588 fi
36589
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596
36597
36598 fi
36599 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36600 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36601
36602 if test "$wx_cv_func_statfs_decl" = "yes"; then
36603 cat >>confdefs.h <<\_ACEOF
36604 #define HAVE_STATFS_DECL 1
36605 _ACEOF
36606
36607 fi
36608
36609 wx_cv_type_statvfs_t="struct statfs"
36610 cat >>confdefs.h <<\_ACEOF
36611 #define HAVE_STATFS 1
36612 _ACEOF
36613
36614 else
36615 { echo "$as_me:$LINENO: checking for statvfs" >&5
36616 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36617 if test "${wx_cv_func_statvfs+set}" = set; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36619 else
36620 cat >conftest.$ac_ext <<_ACEOF
36621 /* confdefs.h. */
36622 _ACEOF
36623 cat confdefs.h >>conftest.$ac_ext
36624 cat >>conftest.$ac_ext <<_ACEOF
36625 /* end confdefs.h. */
36626
36627 #include <stddef.h>
36628 #include <sys/statvfs.h>
36629
36630 int
36631 main ()
36632 {
36633
36634 statvfs("/", NULL);
36635
36636 ;
36637 return 0;
36638 }
36639 _ACEOF
36640 rm -f conftest.$ac_objext
36641 if { (ac_try="$ac_compile"
36642 case "(($ac_try" in
36643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36644 *) ac_try_echo=$ac_try;;
36645 esac
36646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36647 (eval "$ac_compile") 2>conftest.er1
36648 ac_status=$?
36649 grep -v '^ *+' conftest.er1 >conftest.err
36650 rm -f conftest.er1
36651 cat conftest.err >&5
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); } && {
36654 test -z "$ac_c_werror_flag" ||
36655 test ! -s conftest.err
36656 } && test -s conftest.$ac_objext; then
36657 wx_cv_func_statvfs=yes
36658 else
36659 echo "$as_me: failed program was:" >&5
36660 sed 's/^/| /' conftest.$ac_ext >&5
36661
36662 wx_cv_func_statvfs=no
36663
36664 fi
36665
36666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36667
36668 fi
36669 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36670 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36671
36672 if test "$wx_cv_func_statvfs" = "yes"; then
36673 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36674 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36675 if test "${wx_cv_type_statvfs_t+set}" = set; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 else
36678 ac_ext=cpp
36679 ac_cpp='$CXXCPP $CPPFLAGS'
36680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36683
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690
36691 #include <sys/statvfs.h>
36692
36693 int
36694 main ()
36695 {
36696
36697 long l;
36698 statvfs_t fs;
36699 statvfs("/", &fs);
36700 l = fs.f_bsize;
36701 l += fs.f_blocks;
36702 l += fs.f_bavail;
36703
36704 ;
36705 return 0;
36706 }
36707 _ACEOF
36708 rm -f conftest.$ac_objext
36709 if { (ac_try="$ac_compile"
36710 case "(($ac_try" in
36711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36712 *) ac_try_echo=$ac_try;;
36713 esac
36714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36715 (eval "$ac_compile") 2>conftest.er1
36716 ac_status=$?
36717 grep -v '^ *+' conftest.er1 >conftest.err
36718 rm -f conftest.er1
36719 cat conftest.err >&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } && {
36722 test -z "$ac_cxx_werror_flag" ||
36723 test ! -s conftest.err
36724 } && test -s conftest.$ac_objext; then
36725 wx_cv_type_statvfs_t=statvfs_t
36726 else
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737
36738 #include <sys/statvfs.h>
36739
36740 int
36741 main ()
36742 {
36743
36744 long l;
36745 struct statvfs fs;
36746 statvfs("/", &fs);
36747 l = fs.f_bsize;
36748 l += fs.f_blocks;
36749 l += fs.f_bavail;
36750
36751 ;
36752 return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext
36756 if { (ac_try="$ac_compile"
36757 case "(($ac_try" in
36758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36759 *) ac_try_echo=$ac_try;;
36760 esac
36761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36762 (eval "$ac_compile") 2>conftest.er1
36763 ac_status=$?
36764 grep -v '^ *+' conftest.er1 >conftest.err
36765 rm -f conftest.er1
36766 cat conftest.err >&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } && {
36769 test -z "$ac_cxx_werror_flag" ||
36770 test ! -s conftest.err
36771 } && test -s conftest.$ac_objext; then
36772 wx_cv_type_statvfs_t="struct statvfs"
36773 else
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36776
36777 wx_cv_type_statvfs_t="unknown"
36778
36779 fi
36780
36781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36782
36783
36784 fi
36785
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 ac_ext=c
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792
36793
36794 fi
36795 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36796 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36797
36798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36799 cat >>confdefs.h <<\_ACEOF
36800 #define HAVE_STATVFS 1
36801 _ACEOF
36802
36803 fi
36804 else
36805 wx_cv_type_statvfs_t="unknown"
36806 fi
36807 fi
36808
36809 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36810 cat >>confdefs.h <<_ACEOF
36811 #define WX_STATFS_T $wx_cv_type_statvfs_t
36812 _ACEOF
36813
36814 else
36815 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36816 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36817 fi
36818
36819 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36820
36821
36822 for ac_func in fcntl flock
36823 do
36824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830 cat >conftest.$ac_ext <<_ACEOF
36831 /* confdefs.h. */
36832 _ACEOF
36833 cat confdefs.h >>conftest.$ac_ext
36834 cat >>conftest.$ac_ext <<_ACEOF
36835 /* end confdefs.h. */
36836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36838 #define $ac_func innocuous_$ac_func
36839
36840 /* System header to define __stub macros and hopefully few prototypes,
36841 which can conflict with char $ac_func (); below.
36842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36843 <limits.h> exists even on freestanding compilers. */
36844
36845 #ifdef __STDC__
36846 # include <limits.h>
36847 #else
36848 # include <assert.h>
36849 #endif
36850
36851 #undef $ac_func
36852
36853 /* Override any GCC internal prototype to avoid an error.
36854 Use char because int might match the return type of a GCC
36855 builtin and then its argument prototype would still apply. */
36856 #ifdef __cplusplus
36857 extern "C"
36858 #endif
36859 char $ac_func ();
36860 /* The GNU C library defines this for functions which it implements
36861 to always fail with ENOSYS. Some functions are actually named
36862 something starting with __ and the normal name is an alias. */
36863 #if defined __stub_$ac_func || defined __stub___$ac_func
36864 choke me
36865 #endif
36866
36867 int
36868 main ()
36869 {
36870 return $ac_func ();
36871 ;
36872 return 0;
36873 }
36874 _ACEOF
36875 rm -f conftest.$ac_objext conftest$ac_exeext
36876 if { (ac_try="$ac_link"
36877 case "(($ac_try" in
36878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36879 *) ac_try_echo=$ac_try;;
36880 esac
36881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36882 (eval "$ac_link") 2>conftest.er1
36883 ac_status=$?
36884 grep -v '^ *+' conftest.er1 >conftest.err
36885 rm -f conftest.er1
36886 cat conftest.err >&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } && {
36889 test -z "$ac_c_werror_flag" ||
36890 test ! -s conftest.err
36891 } && test -s conftest$ac_exeext &&
36892 $as_test_x conftest$ac_exeext; then
36893 eval "$as_ac_var=yes"
36894 else
36895 echo "$as_me: failed program was:" >&5
36896 sed 's/^/| /' conftest.$ac_ext >&5
36897
36898 eval "$as_ac_var=no"
36899 fi
36900
36901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36902 conftest$ac_exeext conftest.$ac_ext
36903 fi
36904 ac_res=`eval echo '${'$as_ac_var'}'`
36905 { echo "$as_me:$LINENO: result: $ac_res" >&5
36906 echo "${ECHO_T}$ac_res" >&6; }
36907 if test `eval echo '${'$as_ac_var'}'` = yes; then
36908 cat >>confdefs.h <<_ACEOF
36909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36910 _ACEOF
36911 break
36912 fi
36913 done
36914
36915
36916 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36917 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36918 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36919 wxUSE_SNGLINST_CHECKER=no
36920 fi
36921 fi
36922
36923
36924
36925 for ac_func in setenv putenv
36926 do
36927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36928 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36930 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36932 else
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36941 #define $ac_func innocuous_$ac_func
36942
36943 /* System header to define __stub macros and hopefully few prototypes,
36944 which can conflict with char $ac_func (); below.
36945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36946 <limits.h> exists even on freestanding compilers. */
36947
36948 #ifdef __STDC__
36949 # include <limits.h>
36950 #else
36951 # include <assert.h>
36952 #endif
36953
36954 #undef $ac_func
36955
36956 /* Override any GCC internal prototype to avoid an error.
36957 Use char because int might match the return type of a GCC
36958 builtin and then its argument prototype would still apply. */
36959 #ifdef __cplusplus
36960 extern "C"
36961 #endif
36962 char $ac_func ();
36963 /* The GNU C library defines this for functions which it implements
36964 to always fail with ENOSYS. Some functions are actually named
36965 something starting with __ and the normal name is an alias. */
36966 #if defined __stub_$ac_func || defined __stub___$ac_func
36967 choke me
36968 #endif
36969
36970 int
36971 main ()
36972 {
36973 return $ac_func ();
36974 ;
36975 return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext conftest$ac_exeext
36979 if { (ac_try="$ac_link"
36980 case "(($ac_try" in
36981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36982 *) ac_try_echo=$ac_try;;
36983 esac
36984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36985 (eval "$ac_link") 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } && {
36992 test -z "$ac_c_werror_flag" ||
36993 test ! -s conftest.err
36994 } && test -s conftest$ac_exeext &&
36995 $as_test_x conftest$ac_exeext; then
36996 eval "$as_ac_var=yes"
36997 else
36998 echo "$as_me: failed program was:" >&5
36999 sed 's/^/| /' conftest.$ac_ext >&5
37000
37001 eval "$as_ac_var=no"
37002 fi
37003
37004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37005 conftest$ac_exeext conftest.$ac_ext
37006 fi
37007 ac_res=`eval echo '${'$as_ac_var'}'`
37008 { echo "$as_me:$LINENO: result: $ac_res" >&5
37009 echo "${ECHO_T}$ac_res" >&6; }
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37013 _ACEOF
37014 break
37015 fi
37016 done
37017
37018 if test "$ac_cv_func_setenv" = "yes"; then
37019
37020 for ac_func in unsetenv
37021 do
37022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37037
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37042
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37048
37049 #undef $ac_func
37050
37051 /* Override any GCC internal prototype to avoid an error.
37052 Use char because int might match the return type of a GCC
37053 builtin and then its argument prototype would still apply. */
37054 #ifdef __cplusplus
37055 extern "C"
37056 #endif
37057 char $ac_func ();
37058 /* The GNU C library defines this for functions which it implements
37059 to always fail with ENOSYS. Some functions are actually named
37060 something starting with __ and the normal name is an alias. */
37061 #if defined __stub_$ac_func || defined __stub___$ac_func
37062 choke me
37063 #endif
37064
37065 int
37066 main ()
37067 {
37068 return $ac_func ();
37069 ;
37070 return 0;
37071 }
37072 _ACEOF
37073 rm -f conftest.$ac_objext conftest$ac_exeext
37074 if { (ac_try="$ac_link"
37075 case "(($ac_try" in
37076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37077 *) ac_try_echo=$ac_try;;
37078 esac
37079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37080 (eval "$ac_link") 2>conftest.er1
37081 ac_status=$?
37082 grep -v '^ *+' conftest.er1 >conftest.err
37083 rm -f conftest.er1
37084 cat conftest.err >&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); } && {
37087 test -z "$ac_c_werror_flag" ||
37088 test ! -s conftest.err
37089 } && test -s conftest$ac_exeext &&
37090 $as_test_x conftest$ac_exeext; then
37091 eval "$as_ac_var=yes"
37092 else
37093 echo "$as_me: failed program was:" >&5
37094 sed 's/^/| /' conftest.$ac_ext >&5
37095
37096 eval "$as_ac_var=no"
37097 fi
37098
37099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37100 conftest$ac_exeext conftest.$ac_ext
37101 fi
37102 ac_res=`eval echo '${'$as_ac_var'}'`
37103 { echo "$as_me:$LINENO: result: $ac_res" >&5
37104 echo "${ECHO_T}$ac_res" >&6; }
37105 if test `eval echo '${'$as_ac_var'}'` = yes; then
37106 cat >>confdefs.h <<_ACEOF
37107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37108 _ACEOF
37109
37110 fi
37111 done
37112
37113 fi
37114
37115 HAVE_SOME_SLEEP_FUNC=0
37116 if test "$USE_BEOS" = 1; then
37117 cat >>confdefs.h <<\_ACEOF
37118 #define HAVE_SLEEP 1
37119 _ACEOF
37120
37121 HAVE_SOME_SLEEP_FUNC=1
37122 fi
37123
37124 if test "$USE_DARWIN" = 1; then
37125 cat >>confdefs.h <<\_ACEOF
37126 #define HAVE_USLEEP 1
37127 _ACEOF
37128
37129 HAVE_SOME_SLEEP_FUNC=1
37130 fi
37131
37132 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37133 POSIX4_LINK=
37134
37135 for ac_func in nanosleep
37136 do
37137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37142 else
37143 cat >conftest.$ac_ext <<_ACEOF
37144 /* confdefs.h. */
37145 _ACEOF
37146 cat confdefs.h >>conftest.$ac_ext
37147 cat >>conftest.$ac_ext <<_ACEOF
37148 /* end confdefs.h. */
37149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37151 #define $ac_func innocuous_$ac_func
37152
37153 /* System header to define __stub macros and hopefully few prototypes,
37154 which can conflict with char $ac_func (); below.
37155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37156 <limits.h> exists even on freestanding compilers. */
37157
37158 #ifdef __STDC__
37159 # include <limits.h>
37160 #else
37161 # include <assert.h>
37162 #endif
37163
37164 #undef $ac_func
37165
37166 /* Override any GCC internal prototype to avoid an error.
37167 Use char because int might match the return type of a GCC
37168 builtin and then its argument prototype would still apply. */
37169 #ifdef __cplusplus
37170 extern "C"
37171 #endif
37172 char $ac_func ();
37173 /* The GNU C library defines this for functions which it implements
37174 to always fail with ENOSYS. Some functions are actually named
37175 something starting with __ and the normal name is an alias. */
37176 #if defined __stub_$ac_func || defined __stub___$ac_func
37177 choke me
37178 #endif
37179
37180 int
37181 main ()
37182 {
37183 return $ac_func ();
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
37203 test ! -s conftest.err
37204 } && test -s conftest$ac_exeext &&
37205 $as_test_x conftest$ac_exeext; then
37206 eval "$as_ac_var=yes"
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37210
37211 eval "$as_ac_var=no"
37212 fi
37213
37214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37215 conftest$ac_exeext conftest.$ac_ext
37216 fi
37217 ac_res=`eval echo '${'$as_ac_var'}'`
37218 { echo "$as_me:$LINENO: result: $ac_res" >&5
37219 echo "${ECHO_T}$ac_res" >&6; }
37220 if test `eval echo '${'$as_ac_var'}'` = yes; then
37221 cat >>confdefs.h <<_ACEOF
37222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37223 _ACEOF
37224 cat >>confdefs.h <<\_ACEOF
37225 #define HAVE_NANOSLEEP 1
37226 _ACEOF
37227
37228 else
37229
37230 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37231 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37232 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 else
37235 ac_check_lib_save_LIBS=$LIBS
37236 LIBS="-lposix4 $LIBS"
37237 cat >conftest.$ac_ext <<_ACEOF
37238 /* confdefs.h. */
37239 _ACEOF
37240 cat confdefs.h >>conftest.$ac_ext
37241 cat >>conftest.$ac_ext <<_ACEOF
37242 /* end confdefs.h. */
37243
37244 /* Override any GCC internal prototype to avoid an error.
37245 Use char because int might match the return type of a GCC
37246 builtin and then its argument prototype would still apply. */
37247 #ifdef __cplusplus
37248 extern "C"
37249 #endif
37250 char nanosleep ();
37251 int
37252 main ()
37253 {
37254 return nanosleep ();
37255 ;
37256 return 0;
37257 }
37258 _ACEOF
37259 rm -f conftest.$ac_objext conftest$ac_exeext
37260 if { (ac_try="$ac_link"
37261 case "(($ac_try" in
37262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37263 *) ac_try_echo=$ac_try;;
37264 esac
37265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37266 (eval "$ac_link") 2>conftest.er1
37267 ac_status=$?
37268 grep -v '^ *+' conftest.er1 >conftest.err
37269 rm -f conftest.er1
37270 cat conftest.err >&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } && {
37273 test -z "$ac_c_werror_flag" ||
37274 test ! -s conftest.err
37275 } && test -s conftest$ac_exeext &&
37276 $as_test_x conftest$ac_exeext; then
37277 ac_cv_lib_posix4_nanosleep=yes
37278 else
37279 echo "$as_me: failed program was:" >&5
37280 sed 's/^/| /' conftest.$ac_ext >&5
37281
37282 ac_cv_lib_posix4_nanosleep=no
37283 fi
37284
37285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37286 conftest$ac_exeext conftest.$ac_ext
37287 LIBS=$ac_check_lib_save_LIBS
37288 fi
37289 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37290 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37291 if test $ac_cv_lib_posix4_nanosleep = yes; then
37292
37293 cat >>confdefs.h <<\_ACEOF
37294 #define HAVE_NANOSLEEP 1
37295 _ACEOF
37296
37297 POSIX4_LINK=" -lposix4"
37298
37299 else
37300
37301
37302 for wx_func in usleep
37303 do
37304 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37305 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37306 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309
37310 cat >conftest.$ac_ext <<_ACEOF
37311
37312 /* confdefs.h. */
37313 _ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37317
37318
37319 $ac_includes_default
37320
37321 int
37322 main ()
37323 {
37324
37325 #ifndef $wx_func
37326 &$wx_func;
37327 #endif
37328
37329
37330 ;
37331 return 0;
37332 }
37333
37334 _ACEOF
37335 rm -f conftest.$ac_objext conftest$ac_exeext
37336 if { (ac_try="$ac_link"
37337 case "(($ac_try" in
37338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37339 *) ac_try_echo=$ac_try;;
37340 esac
37341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37342 (eval "$ac_link") 2>conftest.er1
37343 ac_status=$?
37344 grep -v '^ *+' conftest.er1 >conftest.err
37345 rm -f conftest.er1
37346 cat conftest.err >&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } && {
37349 test -z "$ac_c_werror_flag" ||
37350 test ! -s conftest.err
37351 } && test -s conftest$ac_exeext &&
37352 $as_test_x conftest$ac_exeext; then
37353 eval wx_cv_func_$wx_func=yes
37354 else
37355 echo "$as_me: failed program was:" >&5
37356 sed 's/^/| /' conftest.$ac_ext >&5
37357
37358 eval wx_cv_func_$wx_func=no
37359 fi
37360
37361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37362 conftest$ac_exeext conftest.$ac_ext
37363
37364 fi
37365 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37366 { echo "$as_me:$LINENO: result: $ac_res" >&5
37367 echo "${ECHO_T}$ac_res" >&6; }
37368
37369 if eval test \$wx_cv_func_$wx_func = yes
37370 then
37371 cat >>confdefs.h <<_ACEOF
37372 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37373 _ACEOF
37374
37375
37376 else
37377 :
37378 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37379 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37380
37381 fi
37382 done
37383
37384
37385
37386 fi
37387
37388
37389
37390 fi
37391 done
37392
37393 fi
37394
37395
37396 for wx_func in uname
37397 do
37398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37401 echo $ECHO_N "(cached) $ECHO_C" >&6
37402 else
37403
37404 cat >conftest.$ac_ext <<_ACEOF
37405
37406 /* confdefs.h. */
37407 _ACEOF
37408 cat confdefs.h >>conftest.$ac_ext
37409 cat >>conftest.$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411
37412 #include <sys/utsname.h>
37413 $ac_includes_default
37414
37415 int
37416 main ()
37417 {
37418
37419 #ifndef $wx_func
37420 &$wx_func;
37421 #endif
37422
37423
37424 ;
37425 return 0;
37426 }
37427
37428 _ACEOF
37429 rm -f conftest.$ac_objext conftest$ac_exeext
37430 if { (ac_try="$ac_link"
37431 case "(($ac_try" in
37432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37433 *) ac_try_echo=$ac_try;;
37434 esac
37435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37436 (eval "$ac_link") 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } && {
37443 test -z "$ac_c_werror_flag" ||
37444 test ! -s conftest.err
37445 } && test -s conftest$ac_exeext &&
37446 $as_test_x conftest$ac_exeext; then
37447 eval wx_cv_func_$wx_func=yes
37448 else
37449 echo "$as_me: failed program was:" >&5
37450 sed 's/^/| /' conftest.$ac_ext >&5
37451
37452 eval wx_cv_func_$wx_func=no
37453 fi
37454
37455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37456 conftest$ac_exeext conftest.$ac_ext
37457
37458 fi
37459 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37460 { echo "$as_me:$LINENO: result: $ac_res" >&5
37461 echo "${ECHO_T}$ac_res" >&6; }
37462
37463 if eval test \$wx_cv_func_$wx_func = yes
37464 then
37465 cat >>confdefs.h <<_ACEOF
37466 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37467 _ACEOF
37468
37469
37470 else
37471 :
37472
37473 fi
37474 done
37475
37476 if test "$wx_cv_func_uname" != yes; then
37477
37478 for wx_func in gethostname
37479 do
37480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37482 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 else
37485
37486 cat >conftest.$ac_ext <<_ACEOF
37487
37488 /* confdefs.h. */
37489 _ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37493
37494
37495 $ac_includes_default
37496
37497 int
37498 main ()
37499 {
37500
37501 #ifndef $wx_func
37502 &$wx_func;
37503 #endif
37504
37505
37506 ;
37507 return 0;
37508 }
37509
37510 _ACEOF
37511 rm -f conftest.$ac_objext conftest$ac_exeext
37512 if { (ac_try="$ac_link"
37513 case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37515 *) ac_try_echo=$ac_try;;
37516 esac
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_link") 2>conftest.er1
37519 ac_status=$?
37520 grep -v '^ *+' conftest.er1 >conftest.err
37521 rm -f conftest.er1
37522 cat conftest.err >&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } && {
37525 test -z "$ac_c_werror_flag" ||
37526 test ! -s conftest.err
37527 } && test -s conftest$ac_exeext &&
37528 $as_test_x conftest$ac_exeext; then
37529 eval wx_cv_func_$wx_func=yes
37530 else
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.$ac_ext >&5
37533
37534 eval wx_cv_func_$wx_func=no
37535 fi
37536
37537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37538 conftest$ac_exeext conftest.$ac_ext
37539
37540 fi
37541 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37544
37545 if eval test \$wx_cv_func_$wx_func = yes
37546 then
37547 cat >>confdefs.h <<_ACEOF
37548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37549 _ACEOF
37550
37551
37552 else
37553 :
37554
37555 fi
37556 done
37557
37558 fi
37559
37560
37561 for wx_func in strtok_r
37562 do
37563 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37564 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37565 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37566 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 else
37568
37569 cat >conftest.$ac_ext <<_ACEOF
37570
37571 /* confdefs.h. */
37572 _ACEOF
37573 cat confdefs.h >>conftest.$ac_ext
37574 cat >>conftest.$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37576
37577 #define _REENTRANT
37578 $ac_includes_default
37579
37580 int
37581 main ()
37582 {
37583
37584 #ifndef $wx_func
37585 &$wx_func;
37586 #endif
37587
37588
37589 ;
37590 return 0;
37591 }
37592
37593 _ACEOF
37594 rm -f conftest.$ac_objext conftest$ac_exeext
37595 if { (ac_try="$ac_link"
37596 case "(($ac_try" in
37597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37598 *) ac_try_echo=$ac_try;;
37599 esac
37600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37601 (eval "$ac_link") 2>conftest.er1
37602 ac_status=$?
37603 grep -v '^ *+' conftest.er1 >conftest.err
37604 rm -f conftest.er1
37605 cat conftest.err >&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); } && {
37608 test -z "$ac_c_werror_flag" ||
37609 test ! -s conftest.err
37610 } && test -s conftest$ac_exeext &&
37611 $as_test_x conftest$ac_exeext; then
37612 eval wx_cv_func_$wx_func=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 eval wx_cv_func_$wx_func=no
37618 fi
37619
37620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37621 conftest$ac_exeext conftest.$ac_ext
37622
37623 fi
37624 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37625 { echo "$as_me:$LINENO: result: $ac_res" >&5
37626 echo "${ECHO_T}$ac_res" >&6; }
37627
37628 if eval test \$wx_cv_func_$wx_func = yes
37629 then
37630 cat >>confdefs.h <<_ACEOF
37631 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37632 _ACEOF
37633
37634
37635 else
37636 :
37637
37638 fi
37639 done
37640
37641
37642 INET_LINK=
37643
37644 for ac_func in inet_addr
37645 do
37646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37661
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37666
37667 #ifdef __STDC__
37668 # include <limits.h>
37669 #else
37670 # include <assert.h>
37671 #endif
37672
37673 #undef $ac_func
37674
37675 /* Override any GCC internal prototype to avoid an error.
37676 Use char because int might match the return type of a GCC
37677 builtin and then its argument prototype would still apply. */
37678 #ifdef __cplusplus
37679 extern "C"
37680 #endif
37681 char $ac_func ();
37682 /* The GNU C library defines this for functions which it implements
37683 to always fail with ENOSYS. Some functions are actually named
37684 something starting with __ and the normal name is an alias. */
37685 #if defined __stub_$ac_func || defined __stub___$ac_func
37686 choke me
37687 #endif
37688
37689 int
37690 main ()
37691 {
37692 return $ac_func ();
37693 ;
37694 return 0;
37695 }
37696 _ACEOF
37697 rm -f conftest.$ac_objext conftest$ac_exeext
37698 if { (ac_try="$ac_link"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37702 esac
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_link") 2>conftest.er1
37705 ac_status=$?
37706 grep -v '^ *+' conftest.er1 >conftest.err
37707 rm -f conftest.er1
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest$ac_exeext &&
37714 $as_test_x conftest$ac_exeext; then
37715 eval "$as_ac_var=yes"
37716 else
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37719
37720 eval "$as_ac_var=no"
37721 fi
37722
37723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37724 conftest$ac_exeext conftest.$ac_ext
37725 fi
37726 ac_res=`eval echo '${'$as_ac_var'}'`
37727 { echo "$as_me:$LINENO: result: $ac_res" >&5
37728 echo "${ECHO_T}$ac_res" >&6; }
37729 if test `eval echo '${'$as_ac_var'}'` = yes; then
37730 cat >>confdefs.h <<_ACEOF
37731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37732 _ACEOF
37733 cat >>confdefs.h <<\_ACEOF
37734 #define HAVE_INET_ADDR 1
37735 _ACEOF
37736
37737 else
37738
37739 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37740 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37741 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744 ac_check_lib_save_LIBS=$LIBS
37745 LIBS="-lnsl $LIBS"
37746 cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h. */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37752
37753 /* Override any GCC internal prototype to avoid an error.
37754 Use char because int might match the return type of a GCC
37755 builtin and then its argument prototype would still apply. */
37756 #ifdef __cplusplus
37757 extern "C"
37758 #endif
37759 char inet_addr ();
37760 int
37761 main ()
37762 {
37763 return inet_addr ();
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (ac_try="$ac_link"
37770 case "(($ac_try" in
37771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37772 *) ac_try_echo=$ac_try;;
37773 esac
37774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37775 (eval "$ac_link") 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } && {
37782 test -z "$ac_c_werror_flag" ||
37783 test ! -s conftest.err
37784 } && test -s conftest$ac_exeext &&
37785 $as_test_x conftest$ac_exeext; then
37786 ac_cv_lib_nsl_inet_addr=yes
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 ac_cv_lib_nsl_inet_addr=no
37792 fi
37793
37794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37795 conftest$ac_exeext conftest.$ac_ext
37796 LIBS=$ac_check_lib_save_LIBS
37797 fi
37798 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37799 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37800 if test $ac_cv_lib_nsl_inet_addr = yes; then
37801 INET_LINK="nsl"
37802 else
37803
37804 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37805 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37806 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809 ac_check_lib_save_LIBS=$LIBS
37810 LIBS="-lresolv $LIBS"
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
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 inet_addr ();
37825 int
37826 main ()
37827 {
37828 return inet_addr ();
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (ac_try="$ac_link"
37835 case "(($ac_try" in
37836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37837 *) ac_try_echo=$ac_try;;
37838 esac
37839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37840 (eval "$ac_link") 2>conftest.er1
37841 ac_status=$?
37842 grep -v '^ *+' conftest.er1 >conftest.err
37843 rm -f conftest.er1
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } && {
37847 test -z "$ac_c_werror_flag" ||
37848 test ! -s conftest.err
37849 } && test -s conftest$ac_exeext &&
37850 $as_test_x conftest$ac_exeext; then
37851 ac_cv_lib_resolv_inet_addr=yes
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37855
37856 ac_cv_lib_resolv_inet_addr=no
37857 fi
37858
37859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37860 conftest$ac_exeext conftest.$ac_ext
37861 LIBS=$ac_check_lib_save_LIBS
37862 fi
37863 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37864 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37865 if test $ac_cv_lib_resolv_inet_addr = yes; then
37866 INET_LINK="resolv"
37867 else
37868
37869 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37870 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37871 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37872 echo $ECHO_N "(cached) $ECHO_C" >&6
37873 else
37874 ac_check_lib_save_LIBS=$LIBS
37875 LIBS="-lsocket $LIBS"
37876 cat >conftest.$ac_ext <<_ACEOF
37877 /* confdefs.h. */
37878 _ACEOF
37879 cat confdefs.h >>conftest.$ac_ext
37880 cat >>conftest.$ac_ext <<_ACEOF
37881 /* end confdefs.h. */
37882
37883 /* Override any GCC internal prototype to avoid an error.
37884 Use char because int might match the return type of a GCC
37885 builtin and then its argument prototype would still apply. */
37886 #ifdef __cplusplus
37887 extern "C"
37888 #endif
37889 char inet_addr ();
37890 int
37891 main ()
37892 {
37893 return inet_addr ();
37894 ;
37895 return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (ac_try="$ac_link"
37900 case "(($ac_try" in
37901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37902 *) ac_try_echo=$ac_try;;
37903 esac
37904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37905 (eval "$ac_link") 2>conftest.er1
37906 ac_status=$?
37907 grep -v '^ *+' conftest.er1 >conftest.err
37908 rm -f conftest.er1
37909 cat conftest.err >&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } && {
37912 test -z "$ac_c_werror_flag" ||
37913 test ! -s conftest.err
37914 } && test -s conftest$ac_exeext &&
37915 $as_test_x conftest$ac_exeext; then
37916 ac_cv_lib_socket_inet_addr=yes
37917 else
37918 echo "$as_me: failed program was:" >&5
37919 sed 's/^/| /' conftest.$ac_ext >&5
37920
37921 ac_cv_lib_socket_inet_addr=no
37922 fi
37923
37924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37925 conftest$ac_exeext conftest.$ac_ext
37926 LIBS=$ac_check_lib_save_LIBS
37927 fi
37928 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37929 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37930 if test $ac_cv_lib_socket_inet_addr = yes; then
37931 INET_LINK="socket"
37932
37933 fi
37934
37935
37936
37937 fi
37938
37939
37940
37941 fi
37942
37943
37944
37945 fi
37946 done
37947
37948
37949
37950 for ac_func in inet_aton
37951 do
37952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 else
37958 cat >conftest.$ac_ext <<_ACEOF
37959 /* confdefs.h. */
37960 _ACEOF
37961 cat confdefs.h >>conftest.$ac_ext
37962 cat >>conftest.$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37966 #define $ac_func innocuous_$ac_func
37967
37968 /* System header to define __stub macros and hopefully few prototypes,
37969 which can conflict with char $ac_func (); below.
37970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37971 <limits.h> exists even on freestanding compilers. */
37972
37973 #ifdef __STDC__
37974 # include <limits.h>
37975 #else
37976 # include <assert.h>
37977 #endif
37978
37979 #undef $ac_func
37980
37981 /* Override any GCC internal prototype to avoid an error.
37982 Use char because int might match the return type of a GCC
37983 builtin and then its argument prototype would still apply. */
37984 #ifdef __cplusplus
37985 extern "C"
37986 #endif
37987 char $ac_func ();
37988 /* The GNU C library defines this for functions which it implements
37989 to always fail with ENOSYS. Some functions are actually named
37990 something starting with __ and the normal name is an alias. */
37991 #if defined __stub_$ac_func || defined __stub___$ac_func
37992 choke me
37993 #endif
37994
37995 int
37996 main ()
37997 {
37998 return $ac_func ();
37999 ;
38000 return 0;
38001 }
38002 _ACEOF
38003 rm -f conftest.$ac_objext conftest$ac_exeext
38004 if { (ac_try="$ac_link"
38005 case "(($ac_try" in
38006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38007 *) ac_try_echo=$ac_try;;
38008 esac
38009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38010 (eval "$ac_link") 2>conftest.er1
38011 ac_status=$?
38012 grep -v '^ *+' conftest.er1 >conftest.err
38013 rm -f conftest.er1
38014 cat conftest.err >&5
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); } && {
38017 test -z "$ac_c_werror_flag" ||
38018 test ! -s conftest.err
38019 } && test -s conftest$ac_exeext &&
38020 $as_test_x conftest$ac_exeext; then
38021 eval "$as_ac_var=yes"
38022 else
38023 echo "$as_me: failed program was:" >&5
38024 sed 's/^/| /' conftest.$ac_ext >&5
38025
38026 eval "$as_ac_var=no"
38027 fi
38028
38029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38030 conftest$ac_exeext conftest.$ac_ext
38031 fi
38032 ac_res=`eval echo '${'$as_ac_var'}'`
38033 { echo "$as_me:$LINENO: result: $ac_res" >&5
38034 echo "${ECHO_T}$ac_res" >&6; }
38035 if test `eval echo '${'$as_ac_var'}'` = yes; then
38036 cat >>confdefs.h <<_ACEOF
38037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38038 _ACEOF
38039 cat >>confdefs.h <<\_ACEOF
38040 #define HAVE_INET_ATON 1
38041 _ACEOF
38042
38043 else
38044
38045 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38046 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38047 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38048 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 else
38051 ac_check_lib_save_LIBS=$LIBS
38052 LIBS="-l$INET_LINK $LIBS"
38053 cat >conftest.$ac_ext <<_ACEOF
38054 /* confdefs.h. */
38055 _ACEOF
38056 cat confdefs.h >>conftest.$ac_ext
38057 cat >>conftest.$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38059
38060 /* Override any GCC internal prototype to avoid an error.
38061 Use char because int might match the return type of a GCC
38062 builtin and then its argument prototype would still apply. */
38063 #ifdef __cplusplus
38064 extern "C"
38065 #endif
38066 char inet_aton ();
38067 int
38068 main ()
38069 {
38070 return inet_aton ();
38071 ;
38072 return 0;
38073 }
38074 _ACEOF
38075 rm -f conftest.$ac_objext conftest$ac_exeext
38076 if { (ac_try="$ac_link"
38077 case "(($ac_try" in
38078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38080 esac
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_link") 2>conftest.er1
38083 ac_status=$?
38084 grep -v '^ *+' conftest.er1 >conftest.err
38085 rm -f conftest.er1
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } && {
38089 test -z "$ac_c_werror_flag" ||
38090 test ! -s conftest.err
38091 } && test -s conftest$ac_exeext &&
38092 $as_test_x conftest$ac_exeext; then
38093 eval "$as_ac_Lib=yes"
38094 else
38095 echo "$as_me: failed program was:" >&5
38096 sed 's/^/| /' conftest.$ac_ext >&5
38097
38098 eval "$as_ac_Lib=no"
38099 fi
38100
38101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38102 conftest$ac_exeext conftest.$ac_ext
38103 LIBS=$ac_check_lib_save_LIBS
38104 fi
38105 ac_res=`eval echo '${'$as_ac_Lib'}'`
38106 { echo "$as_me:$LINENO: result: $ac_res" >&5
38107 echo "${ECHO_T}$ac_res" >&6; }
38108 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define HAVE_INET_ATON 1
38111 _ACEOF
38112
38113 fi
38114
38115
38116 fi
38117 done
38118
38119
38120 if test "x$INET_LINK" != "x"; then
38121 cat >>confdefs.h <<\_ACEOF
38122 #define HAVE_INET_ADDR 1
38123 _ACEOF
38124
38125 INET_LINK=" -l$INET_LINK"
38126 fi
38127
38128
38129 for wx_func in fdopen
38130 do
38131 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38132 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38133 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38134 echo $ECHO_N "(cached) $ECHO_C" >&6
38135 else
38136
38137 cat >conftest.$ac_ext <<_ACEOF
38138
38139 /* confdefs.h. */
38140 _ACEOF
38141 cat confdefs.h >>conftest.$ac_ext
38142 cat >>conftest.$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38144
38145
38146 $ac_includes_default
38147
38148 int
38149 main ()
38150 {
38151
38152 #ifndef $wx_func
38153 &$wx_func;
38154 #endif
38155
38156
38157 ;
38158 return 0;
38159 }
38160
38161 _ACEOF
38162 rm -f conftest.$ac_objext conftest$ac_exeext
38163 if { (ac_try="$ac_link"
38164 case "(($ac_try" in
38165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38166 *) ac_try_echo=$ac_try;;
38167 esac
38168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38169 (eval "$ac_link") 2>conftest.er1
38170 ac_status=$?
38171 grep -v '^ *+' conftest.er1 >conftest.err
38172 rm -f conftest.er1
38173 cat conftest.err >&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } && {
38176 test -z "$ac_c_werror_flag" ||
38177 test ! -s conftest.err
38178 } && test -s conftest$ac_exeext &&
38179 $as_test_x conftest$ac_exeext; then
38180 eval wx_cv_func_$wx_func=yes
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185 eval wx_cv_func_$wx_func=no
38186 fi
38187
38188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38189 conftest$ac_exeext conftest.$ac_ext
38190
38191 fi
38192 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38193 { echo "$as_me:$LINENO: result: $ac_res" >&5
38194 echo "${ECHO_T}$ac_res" >&6; }
38195
38196 if eval test \$wx_cv_func_$wx_func = yes
38197 then
38198 cat >>confdefs.h <<_ACEOF
38199 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38200 _ACEOF
38201
38202
38203 else
38204 :
38205
38206 fi
38207 done
38208
38209
38210 if test "$wxUSE_TARSTREAM" = "yes"; then
38211
38212 for wx_func in sysconf
38213 do
38214 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38215 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38216 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38217 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 else
38219
38220 cat >conftest.$ac_ext <<_ACEOF
38221
38222 /* confdefs.h. */
38223 _ACEOF
38224 cat confdefs.h >>conftest.$ac_ext
38225 cat >>conftest.$ac_ext <<_ACEOF
38226 /* end confdefs.h. */
38227
38228
38229 $ac_includes_default
38230
38231 int
38232 main ()
38233 {
38234
38235 #ifndef $wx_func
38236 &$wx_func;
38237 #endif
38238
38239
38240 ;
38241 return 0;
38242 }
38243
38244 _ACEOF
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38250 esac
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38253 ac_status=$?
38254 grep -v '^ *+' conftest.er1 >conftest.err
38255 rm -f conftest.er1
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 eval wx_cv_func_$wx_func=yes
38264 else
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38267
38268 eval wx_cv_func_$wx_func=no
38269 fi
38270
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273
38274 fi
38275 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38276 { echo "$as_me:$LINENO: result: $ac_res" >&5
38277 echo "${ECHO_T}$ac_res" >&6; }
38278
38279 if eval test \$wx_cv_func_$wx_func = yes
38280 then
38281 cat >>confdefs.h <<_ACEOF
38282 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38283 _ACEOF
38284
38285
38286 else
38287 :
38288
38289 fi
38290 done
38291
38292
38293
38294 for wx_func in getpwuid_r
38295 do
38296 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38298 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38299 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 else
38301
38302 cat >conftest.$ac_ext <<_ACEOF
38303
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310
38311 #define _REENTRANT
38312 #include <pwd.h>
38313
38314 $ac_includes_default
38315
38316 int
38317 main ()
38318 {
38319
38320 #ifndef $wx_func
38321 &$wx_func;
38322 #endif
38323
38324 struct passwd pw, *ppw;
38325 char buf[1024];
38326 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38327
38328
38329 ;
38330 return 0;
38331 }
38332
38333 _ACEOF
38334 rm -f conftest.$ac_objext conftest$ac_exeext
38335 if { (ac_try="$ac_link"
38336 case "(($ac_try" in
38337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38338 *) ac_try_echo=$ac_try;;
38339 esac
38340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38341 (eval "$ac_link") 2>conftest.er1
38342 ac_status=$?
38343 grep -v '^ *+' conftest.er1 >conftest.err
38344 rm -f conftest.er1
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } && {
38348 test -z "$ac_c_werror_flag" ||
38349 test ! -s conftest.err
38350 } && test -s conftest$ac_exeext &&
38351 $as_test_x conftest$ac_exeext; then
38352 eval wx_cv_func_$wx_func=yes
38353 else
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.$ac_ext >&5
38356
38357 eval wx_cv_func_$wx_func=no
38358 fi
38359
38360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38361 conftest$ac_exeext conftest.$ac_ext
38362
38363 fi
38364 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38365 { echo "$as_me:$LINENO: result: $ac_res" >&5
38366 echo "${ECHO_T}$ac_res" >&6; }
38367
38368 if eval test \$wx_cv_func_$wx_func = yes
38369 then
38370 cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38372 _ACEOF
38373
38374
38375 else
38376 :
38377
38378 fi
38379 done
38380
38381
38382
38383 for wx_func in getgrgid_r
38384 do
38385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390
38391 cat >conftest.$ac_ext <<_ACEOF
38392
38393 /* confdefs.h. */
38394 _ACEOF
38395 cat confdefs.h >>conftest.$ac_ext
38396 cat >>conftest.$ac_ext <<_ACEOF
38397 /* end confdefs.h. */
38398
38399
38400 #define _REENTRANT
38401 #include <grp.h>
38402
38403 $ac_includes_default
38404
38405 int
38406 main ()
38407 {
38408
38409 #ifndef $wx_func
38410 &$wx_func;
38411 #endif
38412
38413 struct group grp, *pgrp;
38414 char buf[1024];
38415 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38416
38417
38418 ;
38419 return 0;
38420 }
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 wx_cv_func_$wx_func=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446 eval wx_cv_func_$wx_func=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
38452 fi
38453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38454 { echo "$as_me:$LINENO: result: $ac_res" >&5
38455 echo "${ECHO_T}$ac_res" >&6; }
38456
38457 if eval test \$wx_cv_func_$wx_func = yes
38458 then
38459 cat >>confdefs.h <<_ACEOF
38460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38461 _ACEOF
38462
38463
38464 else
38465 :
38466
38467 fi
38468 done
38469
38470 fi
38471
38472 fi
38473
38474
38475
38476 cat >confcache <<\_ACEOF
38477 # This file is a shell script that caches the results of configure
38478 # tests run on this system so they can be shared between configure
38479 # scripts and configure runs, see configure's option --config-cache.
38480 # It is not useful on other systems. If it contains results you don't
38481 # want to keep, you may remove or edit it.
38482 #
38483 # config.status only pays attention to the cache file if you give it
38484 # the --recheck option to rerun configure.
38485 #
38486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38488 # following values.
38489
38490 _ACEOF
38491
38492 # The following way of writing the cache mishandles newlines in values,
38493 # but we know of no workaround that is simple, portable, and efficient.
38494 # So, we kill variables containing newlines.
38495 # Ultrix sh set writes to stderr and can't be redirected directly,
38496 # and sets the high bit in the cache file unless we assign to the vars.
38497 (
38498 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38499 eval ac_val=\$$ac_var
38500 case $ac_val in #(
38501 *${as_nl}*)
38502 case $ac_var in #(
38503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38505 esac
38506 case $ac_var in #(
38507 _ | IFS | as_nl) ;; #(
38508 *) $as_unset $ac_var ;;
38509 esac ;;
38510 esac
38511 done
38512
38513 (set) 2>&1 |
38514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38515 *${as_nl}ac_space=\ *)
38516 # `set' does not quote correctly, so add quotes (double-quote
38517 # substitution turns \\\\ into \\, and sed turns \\ into \).
38518 sed -n \
38519 "s/'/'\\\\''/g;
38520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38521 ;; #(
38522 *)
38523 # `set' quotes correctly as required by POSIX, so do not add quotes.
38524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38525 ;;
38526 esac |
38527 sort
38528 ) |
38529 sed '
38530 /^ac_cv_env_/b end
38531 t clear
38532 :clear
38533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38534 t end
38535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38536 :end' >>confcache
38537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38538 if test -w "$cache_file"; then
38539 test "x$cache_file" != "x/dev/null" &&
38540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38541 echo "$as_me: updating cache $cache_file" >&6;}
38542 cat confcache >$cache_file
38543 else
38544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38546 fi
38547 fi
38548 rm -f confcache
38549
38550
38551 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38552
38553
38554 THREADS_LINK=
38555 THREADS_CFLAGS=
38556
38557 if test "$wxUSE_THREADS" = "yes" ; then
38558 if test "$USE_BEOS" = 1; then
38559 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38560 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38561 wxUSE_THREADS="no"
38562 fi
38563 fi
38564
38565 if test "$wxUSE_THREADS" = "yes" ; then
38566
38567
38568 THREAD_OPTS="-pthread"
38569 if test "x$SUNCXX" = xyes; then
38570 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38571 fi
38572
38573 case "${host}" in
38574 *-*-solaris2* | *-*-sunos4* )
38575 if test "x$GCC" = "xyes"; then
38576 THREAD_OPTS="-pthreads $THREAD_OPTS"
38577 fi
38578 ;;
38579 *-*-freebsd*)
38580 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38581 ;;
38582 *-*-darwin* | *-*-cygwin* )
38583 THREAD_OPTS=""
38584 ;;
38585 *-*-aix*)
38586 THREAD_OPTS="pthreads"
38587 ;;
38588 *-hp-hpux* )
38589 if test "x$GCC" = "xyes"; then
38590 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38591 THREAD_OPTS=""
38592 else
38593 THREAD_OPTS="-mt"
38594 fi
38595 ;;
38596
38597 *-*-irix* )
38598 if test "x$GCC" = "xyes"; then
38599 THREAD_OPTS=""
38600 fi
38601 ;;
38602
38603 *-*-*UnixWare*)
38604 if test "x$GCC" != "xyes"; then
38605 THREAD_OPTS="-Ethread"
38606 fi
38607 ;;
38608 esac
38609
38610 THREAD_OPTS="$THREAD_OPTS pthread none"
38611
38612 THREADS_OK=no
38613 for flag in $THREAD_OPTS; do
38614 case $flag in
38615 none)
38616 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38617 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38618 ;;
38619
38620 -*)
38621 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38622 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38623 THREADS_CFLAGS="$flag"
38624 ;;
38625
38626 *)
38627 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38628 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38629 THREADS_LINK="-l$flag"
38630 ;;
38631 esac
38632
38633 save_LIBS="$LIBS"
38634 save_CFLAGS="$CFLAGS"
38635 LIBS="$THREADS_LINK $LIBS"
38636 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38637
38638 cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 #include <pthread.h>
38645 int
38646 main ()
38647 {
38648 pthread_create(0,0,0,0);
38649 ;
38650 return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38658 esac
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 THREADS_OK=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676
38677 fi
38678
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38681
38682 LIBS="$save_LIBS"
38683 CFLAGS="$save_CFLAGS"
38684
38685 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38686 echo "${ECHO_T}$THREADS_OK" >&6; }
38687 if test "x$THREADS_OK" = "xyes"; then
38688 break;
38689 fi
38690
38691 THREADS_LINK=""
38692 THREADS_CFLAGS=""
38693 done
38694
38695 if test "x$THREADS_OK" != "xyes"; then
38696 wxUSE_THREADS=no
38697 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38698 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38699 else
38700 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38701 LIBS="$THREADS_LINK $LIBS"
38702
38703 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38704 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38705 flag=no
38706 case "${host}" in
38707 *-aix*)
38708 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38709 flag="-D_THREAD_SAFE"
38710 ;;
38711 *-freebsd*)
38712 flag="-D_THREAD_SAFE"
38713 ;;
38714 *-hp-hpux* )
38715 flag="-D_REENTRANT"
38716 if test "x$GCC" != "xyes"; then
38717 flag="$flag -D_RWSTD_MULTI_THREAD"
38718 fi
38719 ;;
38720 *solaris* | alpha*-osf*)
38721 flag="-D_REENTRANT"
38722 ;;
38723 esac
38724 { echo "$as_me:$LINENO: result: ${flag}" >&5
38725 echo "${ECHO_T}${flag}" >&6; }
38726 if test "x$flag" != xno; then
38727 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38728 fi
38729
38730 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38731 fi
38732 fi
38733
38734 if test "$wxUSE_THREADS" = "yes" ; then
38735
38736 for ac_func in thr_setconcurrency
38737 do
38738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38742 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 else
38744 cat >conftest.$ac_ext <<_ACEOF
38745 /* confdefs.h. */
38746 _ACEOF
38747 cat confdefs.h >>conftest.$ac_ext
38748 cat >>conftest.$ac_ext <<_ACEOF
38749 /* end confdefs.h. */
38750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38752 #define $ac_func innocuous_$ac_func
38753
38754 /* System header to define __stub macros and hopefully few prototypes,
38755 which can conflict with char $ac_func (); below.
38756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38757 <limits.h> exists even on freestanding compilers. */
38758
38759 #ifdef __STDC__
38760 # include <limits.h>
38761 #else
38762 # include <assert.h>
38763 #endif
38764
38765 #undef $ac_func
38766
38767 /* Override any GCC internal prototype to avoid an error.
38768 Use char because int might match the return type of a GCC
38769 builtin and then its argument prototype would still apply. */
38770 #ifdef __cplusplus
38771 extern "C"
38772 #endif
38773 char $ac_func ();
38774 /* The GNU C library defines this for functions which it implements
38775 to always fail with ENOSYS. Some functions are actually named
38776 something starting with __ and the normal name is an alias. */
38777 #if defined __stub_$ac_func || defined __stub___$ac_func
38778 choke me
38779 #endif
38780
38781 int
38782 main ()
38783 {
38784 return $ac_func ();
38785 ;
38786 return 0;
38787 }
38788 _ACEOF
38789 rm -f conftest.$ac_objext conftest$ac_exeext
38790 if { (ac_try="$ac_link"
38791 case "(($ac_try" in
38792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38793 *) ac_try_echo=$ac_try;;
38794 esac
38795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38796 (eval "$ac_link") 2>conftest.er1
38797 ac_status=$?
38798 grep -v '^ *+' conftest.er1 >conftest.err
38799 rm -f conftest.er1
38800 cat conftest.err >&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); } && {
38803 test -z "$ac_c_werror_flag" ||
38804 test ! -s conftest.err
38805 } && test -s conftest$ac_exeext &&
38806 $as_test_x conftest$ac_exeext; then
38807 eval "$as_ac_var=yes"
38808 else
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38811
38812 eval "$as_ac_var=no"
38813 fi
38814
38815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38816 conftest$ac_exeext conftest.$ac_ext
38817 fi
38818 ac_res=`eval echo '${'$as_ac_var'}'`
38819 { echo "$as_me:$LINENO: result: $ac_res" >&5
38820 echo "${ECHO_T}$ac_res" >&6; }
38821 if test `eval echo '${'$as_ac_var'}'` = yes; then
38822 cat >>confdefs.h <<_ACEOF
38823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829
38830 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38831 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38832 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 else
38835
38836 ac_ext=cpp
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841
38842 cat >conftest.$ac_ext <<_ACEOF
38843 /* confdefs.h. */
38844 _ACEOF
38845 cat confdefs.h >>conftest.$ac_ext
38846 cat >>conftest.$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 #include <pthread.h>
38849 void ThreadCleanupFunc(void *p);
38850
38851 int
38852 main ()
38853 {
38854
38855 void *p;
38856 pthread_cleanup_push(ThreadCleanupFunc, p);
38857 pthread_cleanup_pop(0);
38858
38859 ;
38860 return 0;
38861 }
38862 _ACEOF
38863 rm -f conftest.$ac_objext
38864 if { (ac_try="$ac_compile"
38865 case "(($ac_try" in
38866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38867 *) ac_try_echo=$ac_try;;
38868 esac
38869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38870 (eval "$ac_compile") 2>conftest.er1
38871 ac_status=$?
38872 grep -v '^ *+' conftest.er1 >conftest.err
38873 rm -f conftest.er1
38874 cat conftest.err >&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); } && {
38877 test -z "$ac_cxx_werror_flag" ||
38878 test ! -s conftest.err
38879 } && test -s conftest.$ac_objext; then
38880
38881 wx_cv_func_pthread_cleanup=yes
38882
38883 else
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.$ac_ext >&5
38886
38887
38888 wx_cv_func_pthread_cleanup=no
38889
38890
38891 fi
38892
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900
38901 fi
38902 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38903 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38904 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38905 cat >>confdefs.h <<\_ACEOF
38906 #define wxHAVE_PTHREAD_CLEANUP 1
38907 _ACEOF
38908
38909 fi
38910
38911
38912 for ac_header in sched.h
38913 do
38914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 $ac_includes_default
38927
38928 #include <$ac_header>
38929 _ACEOF
38930 rm -f conftest.$ac_objext
38931 if { (ac_try="$ac_compile"
38932 case "(($ac_try" in
38933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38934 *) ac_try_echo=$ac_try;;
38935 esac
38936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38937 (eval "$ac_compile") 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } && {
38944 test -z "$ac_c_werror_flag" ||
38945 test ! -s conftest.err
38946 } && test -s conftest.$ac_objext; then
38947 eval "$as_ac_Header=yes"
38948 else
38949 echo "$as_me: failed program was:" >&5
38950 sed 's/^/| /' conftest.$ac_ext >&5
38951
38952 eval "$as_ac_Header=no"
38953 fi
38954
38955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38956 fi
38957 ac_res=`eval echo '${'$as_ac_Header'}'`
38958 { echo "$as_me:$LINENO: result: $ac_res" >&5
38959 echo "${ECHO_T}$ac_res" >&6; }
38960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38961 cat >>confdefs.h <<_ACEOF
38962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38963 _ACEOF
38964
38965 fi
38966
38967 done
38968
38969 if test "$ac_cv_header_sched_h" = "yes"; then
38970 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38971 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38972 if test "${ac_cv_func_sched_yield+set}" = set; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975 cat >conftest.$ac_ext <<_ACEOF
38976 /* confdefs.h. */
38977 _ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38983 #define sched_yield innocuous_sched_yield
38984
38985 /* System header to define __stub macros and hopefully few prototypes,
38986 which can conflict with char sched_yield (); below.
38987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38988 <limits.h> exists even on freestanding compilers. */
38989
38990 #ifdef __STDC__
38991 # include <limits.h>
38992 #else
38993 # include <assert.h>
38994 #endif
38995
38996 #undef sched_yield
38997
38998 /* Override any GCC internal prototype to avoid an error.
38999 Use char because int might match the return type of a GCC
39000 builtin and then its argument prototype would still apply. */
39001 #ifdef __cplusplus
39002 extern "C"
39003 #endif
39004 char sched_yield ();
39005 /* The GNU C library defines this for functions which it implements
39006 to always fail with ENOSYS. Some functions are actually named
39007 something starting with __ and the normal name is an alias. */
39008 #if defined __stub_sched_yield || defined __stub___sched_yield
39009 choke me
39010 #endif
39011
39012 int
39013 main ()
39014 {
39015 return sched_yield ();
39016 ;
39017 return 0;
39018 }
39019 _ACEOF
39020 rm -f conftest.$ac_objext conftest$ac_exeext
39021 if { (ac_try="$ac_link"
39022 case "(($ac_try" in
39023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39024 *) ac_try_echo=$ac_try;;
39025 esac
39026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39027 (eval "$ac_link") 2>conftest.er1
39028 ac_status=$?
39029 grep -v '^ *+' conftest.er1 >conftest.err
39030 rm -f conftest.er1
39031 cat conftest.err >&5
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); } && {
39034 test -z "$ac_c_werror_flag" ||
39035 test ! -s conftest.err
39036 } && test -s conftest$ac_exeext &&
39037 $as_test_x conftest$ac_exeext; then
39038 ac_cv_func_sched_yield=yes
39039 else
39040 echo "$as_me: failed program was:" >&5
39041 sed 's/^/| /' conftest.$ac_ext >&5
39042
39043 ac_cv_func_sched_yield=no
39044 fi
39045
39046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39047 conftest$ac_exeext conftest.$ac_ext
39048 fi
39049 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39050 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39051 if test $ac_cv_func_sched_yield = yes; then
39052 cat >>confdefs.h <<\_ACEOF
39053 #define HAVE_SCHED_YIELD 1
39054 _ACEOF
39055
39056 else
39057
39058 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39059 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39060 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 else
39063 ac_check_lib_save_LIBS=$LIBS
39064 LIBS="-lposix4 $LIBS"
39065 cat >conftest.$ac_ext <<_ACEOF
39066 /* confdefs.h. */
39067 _ACEOF
39068 cat confdefs.h >>conftest.$ac_ext
39069 cat >>conftest.$ac_ext <<_ACEOF
39070 /* end confdefs.h. */
39071
39072 /* Override any GCC internal prototype to avoid an error.
39073 Use char because int might match the return type of a GCC
39074 builtin and then its argument prototype would still apply. */
39075 #ifdef __cplusplus
39076 extern "C"
39077 #endif
39078 char sched_yield ();
39079 int
39080 main ()
39081 {
39082 return sched_yield ();
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39092 esac
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39095 ac_status=$?
39096 grep -v '^ *+' conftest.er1 >conftest.err
39097 rm -f conftest.er1
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest$ac_exeext &&
39104 $as_test_x conftest$ac_exeext; then
39105 ac_cv_lib_posix4_sched_yield=yes
39106 else
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39109
39110 ac_cv_lib_posix4_sched_yield=no
39111 fi
39112
39113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39114 conftest$ac_exeext conftest.$ac_ext
39115 LIBS=$ac_check_lib_save_LIBS
39116 fi
39117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39118 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39119 if test $ac_cv_lib_posix4_sched_yield = yes; then
39120 cat >>confdefs.h <<\_ACEOF
39121 #define HAVE_SCHED_YIELD 1
39122 _ACEOF
39123 POSIX4_LINK=" -lposix4"
39124 else
39125 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39126 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39127
39128 fi
39129
39130
39131
39132 fi
39133
39134 fi
39135
39136 HAVE_PRIOR_FUNCS=0
39137 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39138 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39139 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 else
39142 cat >conftest.$ac_ext <<_ACEOF
39143 /* confdefs.h. */
39144 _ACEOF
39145 cat confdefs.h >>conftest.$ac_ext
39146 cat >>conftest.$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39148 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39150 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39151
39152 /* System header to define __stub macros and hopefully few prototypes,
39153 which can conflict with char pthread_attr_getschedpolicy (); below.
39154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39155 <limits.h> exists even on freestanding compilers. */
39156
39157 #ifdef __STDC__
39158 # include <limits.h>
39159 #else
39160 # include <assert.h>
39161 #endif
39162
39163 #undef pthread_attr_getschedpolicy
39164
39165 /* Override any GCC internal prototype to avoid an error.
39166 Use char because int might match the return type of a GCC
39167 builtin and then its argument prototype would still apply. */
39168 #ifdef __cplusplus
39169 extern "C"
39170 #endif
39171 char pthread_attr_getschedpolicy ();
39172 /* The GNU C library defines this for functions which it implements
39173 to always fail with ENOSYS. Some functions are actually named
39174 something starting with __ and the normal name is an alias. */
39175 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39176 choke me
39177 #endif
39178
39179 int
39180 main ()
39181 {
39182 return pthread_attr_getschedpolicy ();
39183 ;
39184 return 0;
39185 }
39186 _ACEOF
39187 rm -f conftest.$ac_objext conftest$ac_exeext
39188 if { (ac_try="$ac_link"
39189 case "(($ac_try" in
39190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39192 esac
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_link") 2>conftest.er1
39195 ac_status=$?
39196 grep -v '^ *+' conftest.er1 >conftest.err
39197 rm -f conftest.er1
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_c_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest$ac_exeext &&
39204 $as_test_x conftest$ac_exeext; then
39205 ac_cv_func_pthread_attr_getschedpolicy=yes
39206 else
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39209
39210 ac_cv_func_pthread_attr_getschedpolicy=no
39211 fi
39212
39213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39214 conftest$ac_exeext conftest.$ac_ext
39215 fi
39216 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39217 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39218 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39219 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39220 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39221 if test "${ac_cv_func_pthread_attr_setschedparam+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 pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39233
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char pthread_attr_setschedparam (); 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 pthread_attr_setschedparam
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 pthread_attr_setschedparam ();
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_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39258 choke me
39259 #endif
39260
39261 int
39262 main ()
39263 {
39264 return pthread_attr_setschedparam ();
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 ac_cv_func_pthread_attr_setschedparam=yes
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 ac_cv_func_pthread_attr_setschedparam=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 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39299 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39300 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39301 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39302 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39303 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306 cat >conftest.$ac_ext <<_ACEOF
39307 /* confdefs.h. */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39314 #define sched_get_priority_max innocuous_sched_get_priority_max
39315
39316 /* System header to define __stub macros and hopefully few prototypes,
39317 which can conflict with char sched_get_priority_max (); below.
39318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39319 <limits.h> exists even on freestanding compilers. */
39320
39321 #ifdef __STDC__
39322 # include <limits.h>
39323 #else
39324 # include <assert.h>
39325 #endif
39326
39327 #undef sched_get_priority_max
39328
39329 /* Override any GCC internal prototype to avoid an error.
39330 Use char because int might match the return type of a GCC
39331 builtin and then its argument prototype would still apply. */
39332 #ifdef __cplusplus
39333 extern "C"
39334 #endif
39335 char sched_get_priority_max ();
39336 /* The GNU C library defines this for functions which it implements
39337 to always fail with ENOSYS. Some functions are actually named
39338 something starting with __ and the normal name is an alias. */
39339 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39340 choke me
39341 #endif
39342
39343 int
39344 main ()
39345 {
39346 return sched_get_priority_max ();
39347 ;
39348 return 0;
39349 }
39350 _ACEOF
39351 rm -f conftest.$ac_objext conftest$ac_exeext
39352 if { (ac_try="$ac_link"
39353 case "(($ac_try" in
39354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39355 *) ac_try_echo=$ac_try;;
39356 esac
39357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39358 (eval "$ac_link") 2>conftest.er1
39359 ac_status=$?
39360 grep -v '^ *+' conftest.er1 >conftest.err
39361 rm -f conftest.er1
39362 cat conftest.err >&5
39363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39364 (exit $ac_status); } && {
39365 test -z "$ac_c_werror_flag" ||
39366 test ! -s conftest.err
39367 } && test -s conftest$ac_exeext &&
39368 $as_test_x conftest$ac_exeext; then
39369 ac_cv_func_sched_get_priority_max=yes
39370 else
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.$ac_ext >&5
39373
39374 ac_cv_func_sched_get_priority_max=no
39375 fi
39376
39377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39378 conftest$ac_exeext conftest.$ac_ext
39379 fi
39380 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39381 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39382 if test $ac_cv_func_sched_get_priority_max = yes; then
39383 HAVE_PRIOR_FUNCS=1
39384 else
39385 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39386 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39387 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39388 echo $ECHO_N "(cached) $ECHO_C" >&6
39389 else
39390 ac_check_lib_save_LIBS=$LIBS
39391 LIBS="-lposix4 $LIBS"
39392 cat >conftest.$ac_ext <<_ACEOF
39393 /* confdefs.h. */
39394 _ACEOF
39395 cat confdefs.h >>conftest.$ac_ext
39396 cat >>conftest.$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398
39399 /* Override any GCC internal prototype to avoid an error.
39400 Use char because int might match the return type of a GCC
39401 builtin and then its argument prototype would still apply. */
39402 #ifdef __cplusplus
39403 extern "C"
39404 #endif
39405 char sched_get_priority_max ();
39406 int
39407 main ()
39408 {
39409 return sched_get_priority_max ();
39410 ;
39411 return 0;
39412 }
39413 _ACEOF
39414 rm -f conftest.$ac_objext conftest$ac_exeext
39415 if { (ac_try="$ac_link"
39416 case "(($ac_try" in
39417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39418 *) ac_try_echo=$ac_try;;
39419 esac
39420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39421 (eval "$ac_link") 2>conftest.er1
39422 ac_status=$?
39423 grep -v '^ *+' conftest.er1 >conftest.err
39424 rm -f conftest.er1
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } && {
39428 test -z "$ac_c_werror_flag" ||
39429 test ! -s conftest.err
39430 } && test -s conftest$ac_exeext &&
39431 $as_test_x conftest$ac_exeext; then
39432 ac_cv_lib_posix4_sched_get_priority_max=yes
39433 else
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39436
39437 ac_cv_lib_posix4_sched_get_priority_max=no
39438 fi
39439
39440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39441 conftest$ac_exeext conftest.$ac_ext
39442 LIBS=$ac_check_lib_save_LIBS
39443 fi
39444 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39445 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39446 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39447
39448 HAVE_PRIOR_FUNCS=1
39449 POSIX4_LINK=" -lposix4"
39450
39451 fi
39452
39453
39454 fi
39455
39456
39457 fi
39458
39459
39460 fi
39461
39462
39463 if test "$HAVE_PRIOR_FUNCS" = 1; then
39464 cat >>confdefs.h <<\_ACEOF
39465 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39466 _ACEOF
39467
39468 else
39469 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39470 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39471 fi
39472
39473 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39474 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39475 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39476 echo $ECHO_N "(cached) $ECHO_C" >&6
39477 else
39478 cat >conftest.$ac_ext <<_ACEOF
39479 /* confdefs.h. */
39480 _ACEOF
39481 cat confdefs.h >>conftest.$ac_ext
39482 cat >>conftest.$ac_ext <<_ACEOF
39483 /* end confdefs.h. */
39484 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39486 #define pthread_cancel innocuous_pthread_cancel
39487
39488 /* System header to define __stub macros and hopefully few prototypes,
39489 which can conflict with char pthread_cancel (); below.
39490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39491 <limits.h> exists even on freestanding compilers. */
39492
39493 #ifdef __STDC__
39494 # include <limits.h>
39495 #else
39496 # include <assert.h>
39497 #endif
39498
39499 #undef pthread_cancel
39500
39501 /* Override any GCC internal prototype to avoid an error.
39502 Use char because int might match the return type of a GCC
39503 builtin and then its argument prototype would still apply. */
39504 #ifdef __cplusplus
39505 extern "C"
39506 #endif
39507 char pthread_cancel ();
39508 /* The GNU C library defines this for functions which it implements
39509 to always fail with ENOSYS. Some functions are actually named
39510 something starting with __ and the normal name is an alias. */
39511 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39512 choke me
39513 #endif
39514
39515 int
39516 main ()
39517 {
39518 return pthread_cancel ();
39519 ;
39520 return 0;
39521 }
39522 _ACEOF
39523 rm -f conftest.$ac_objext conftest$ac_exeext
39524 if { (ac_try="$ac_link"
39525 case "(($ac_try" in
39526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39527 *) ac_try_echo=$ac_try;;
39528 esac
39529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39530 (eval "$ac_link") 2>conftest.er1
39531 ac_status=$?
39532 grep -v '^ *+' conftest.er1 >conftest.err
39533 rm -f conftest.er1
39534 cat conftest.err >&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } && {
39537 test -z "$ac_c_werror_flag" ||
39538 test ! -s conftest.err
39539 } && test -s conftest$ac_exeext &&
39540 $as_test_x conftest$ac_exeext; then
39541 ac_cv_func_pthread_cancel=yes
39542 else
39543 echo "$as_me: failed program was:" >&5
39544 sed 's/^/| /' conftest.$ac_ext >&5
39545
39546 ac_cv_func_pthread_cancel=no
39547 fi
39548
39549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39550 conftest$ac_exeext conftest.$ac_ext
39551 fi
39552 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39553 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39554 if test $ac_cv_func_pthread_cancel = yes; then
39555 cat >>confdefs.h <<\_ACEOF
39556 #define HAVE_PTHREAD_CANCEL 1
39557 _ACEOF
39558
39559 else
39560 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39561 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39562 fi
39563
39564
39565 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39566 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39567 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570 cat >conftest.$ac_ext <<_ACEOF
39571 /* confdefs.h. */
39572 _ACEOF
39573 cat confdefs.h >>conftest.$ac_ext
39574 cat >>conftest.$ac_ext <<_ACEOF
39575 /* end confdefs.h. */
39576 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39578 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39579
39580 /* System header to define __stub macros and hopefully few prototypes,
39581 which can conflict with char pthread_mutex_timedlock (); below.
39582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39583 <limits.h> exists even on freestanding compilers. */
39584
39585 #ifdef __STDC__
39586 # include <limits.h>
39587 #else
39588 # include <assert.h>
39589 #endif
39590
39591 #undef pthread_mutex_timedlock
39592
39593 /* Override any GCC internal prototype to avoid an error.
39594 Use char because int might match the return type of a GCC
39595 builtin and then its argument prototype would still apply. */
39596 #ifdef __cplusplus
39597 extern "C"
39598 #endif
39599 char pthread_mutex_timedlock ();
39600 /* The GNU C library defines this for functions which it implements
39601 to always fail with ENOSYS. Some functions are actually named
39602 something starting with __ and the normal name is an alias. */
39603 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39604 choke me
39605 #endif
39606
39607 int
39608 main ()
39609 {
39610 return pthread_mutex_timedlock ();
39611 ;
39612 return 0;
39613 }
39614 _ACEOF
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39619 *) ac_try_echo=$ac_try;;
39620 esac
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39623 ac_status=$?
39624 grep -v '^ *+' conftest.er1 >conftest.err
39625 rm -f conftest.er1
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest$ac_exeext &&
39632 $as_test_x conftest$ac_exeext; then
39633 ac_cv_func_pthread_mutex_timedlock=yes
39634 else
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39637
39638 ac_cv_func_pthread_mutex_timedlock=no
39639 fi
39640
39641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39642 conftest$ac_exeext conftest.$ac_ext
39643 fi
39644 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39645 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39646 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39647 cat >>confdefs.h <<\_ACEOF
39648 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39649 _ACEOF
39650
39651 else
39652 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39653 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39654 fi
39655
39656
39657 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39658 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39659 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 else
39662 cat >conftest.$ac_ext <<_ACEOF
39663 /* confdefs.h. */
39664 _ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39670 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39671
39672 /* System header to define __stub macros and hopefully few prototypes,
39673 which can conflict with char pthread_attr_setstacksize (); below.
39674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39675 <limits.h> exists even on freestanding compilers. */
39676
39677 #ifdef __STDC__
39678 # include <limits.h>
39679 #else
39680 # include <assert.h>
39681 #endif
39682
39683 #undef pthread_attr_setstacksize
39684
39685 /* Override any GCC internal prototype to avoid an error.
39686 Use char because int might match the return type of a GCC
39687 builtin and then its argument prototype would still apply. */
39688 #ifdef __cplusplus
39689 extern "C"
39690 #endif
39691 char pthread_attr_setstacksize ();
39692 /* The GNU C library defines this for functions which it implements
39693 to always fail with ENOSYS. Some functions are actually named
39694 something starting with __ and the normal name is an alias. */
39695 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39696 choke me
39697 #endif
39698
39699 int
39700 main ()
39701 {
39702 return pthread_attr_setstacksize ();
39703 ;
39704 return 0;
39705 }
39706 _ACEOF
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39711 *) ac_try_echo=$ac_try;;
39712 esac
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39715 ac_status=$?
39716 grep -v '^ *+' conftest.er1 >conftest.err
39717 rm -f conftest.er1
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest$ac_exeext &&
39724 $as_test_x conftest$ac_exeext; then
39725 ac_cv_func_pthread_attr_setstacksize=yes
39726 else
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.$ac_ext >&5
39729
39730 ac_cv_func_pthread_attr_setstacksize=no
39731 fi
39732
39733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39734 conftest$ac_exeext conftest.$ac_ext
39735 fi
39736 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39737 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39738 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39739 cat >>confdefs.h <<\_ACEOF
39740 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39741 _ACEOF
39742
39743 fi
39744
39745
39746
39747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39748 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39749 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39751 else
39752
39753 cat >conftest.$ac_ext <<_ACEOF
39754 /* confdefs.h. */
39755 _ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 #include <pthread.h>
39760 int
39761 main ()
39762 {
39763
39764 pthread_mutexattr_t attr;
39765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39766
39767 ;
39768 return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39776 esac
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39779 ac_status=$?
39780 grep -v '^ *+' conftest.er1 >conftest.err
39781 rm -f conftest.er1
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_c_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_type_pthread_mutexattr_t=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 wx_cv_type_pthread_mutexattr_t=no
39794
39795 fi
39796
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798
39799 fi
39800 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39801 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39802
39803 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define HAVE_PTHREAD_MUTEXATTR_T 1
39806 _ACEOF
39807
39808
39809 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39810 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39811 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39812 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 else
39814
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 #include <pthread.h>
39822 int
39823 main ()
39824 {
39825
39826 pthread_mutexattr_t attr;
39827 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39828
39829 ;
39830 return 0;
39831 }
39832 _ACEOF
39833 rm -f conftest.$ac_objext
39834 if { (ac_try="$ac_compile"
39835 case "(($ac_try" in
39836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39837 *) ac_try_echo=$ac_try;;
39838 esac
39839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39840 (eval "$ac_compile") 2>conftest.er1
39841 ac_status=$?
39842 grep -v '^ *+' conftest.er1 >conftest.err
39843 rm -f conftest.er1
39844 cat conftest.err >&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); } && {
39847 test -z "$ac_c_werror_flag" ||
39848 test ! -s conftest.err
39849 } && test -s conftest.$ac_objext; then
39850 wx_cv_func_pthread_mutexattr_settype_decl=yes
39851 else
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 wx_cv_func_pthread_mutexattr_settype_decl=no
39856
39857 fi
39858
39859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39860
39861 fi
39862 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39863 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39864 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39865 cat >>confdefs.h <<\_ACEOF
39866 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39867 _ACEOF
39868
39869 fi
39870 else
39871 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39872 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39873 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 else
39876
39877 cat >conftest.$ac_ext <<_ACEOF
39878 /* confdefs.h. */
39879 _ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 #include <pthread.h>
39884 int
39885 main ()
39886 {
39887
39888 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39889
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (ac_try="$ac_compile"
39896 case "(($ac_try" in
39897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39898 *) ac_try_echo=$ac_try;;
39899 esac
39900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39901 (eval "$ac_compile") 2>conftest.er1
39902 ac_status=$?
39903 grep -v '^ *+' conftest.er1 >conftest.err
39904 rm -f conftest.er1
39905 cat conftest.err >&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } && {
39908 test -z "$ac_c_werror_flag" ||
39909 test ! -s conftest.err
39910 } && test -s conftest.$ac_objext; then
39911
39912 wx_cv_type_pthread_rec_mutex_init=yes
39913
39914 else
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.$ac_ext >&5
39917
39918
39919 wx_cv_type_pthread_rec_mutex_init=no
39920
39921
39922 fi
39923
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925
39926 fi
39927 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39928 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39929 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39932 _ACEOF
39933
39934 else
39935 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39936 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39937 fi
39938 fi
39939
39940 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
39941 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
39942 if test "${wx_cv_cc___thread+set}" = set; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945
39946 cat >conftest.$ac_ext <<_ACEOF
39947 /* confdefs.h. */
39948 _ACEOF
39949 cat confdefs.h >>conftest.$ac_ext
39950 cat >>conftest.$ac_ext <<_ACEOF
39951 /* end confdefs.h. */
39952 #include <pthread.h>
39953 int
39954 main ()
39955 {
39956
39957 static __thread int n = 0;
39958 static __thread int *p = 0;
39959
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 rm -f conftest.$ac_objext
39965 if { (ac_try="$ac_compile"
39966 case "(($ac_try" in
39967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39968 *) ac_try_echo=$ac_try;;
39969 esac
39970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39971 (eval "$ac_compile") 2>conftest.er1
39972 ac_status=$?
39973 grep -v '^ *+' conftest.er1 >conftest.err
39974 rm -f conftest.er1
39975 cat conftest.err >&5
39976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977 (exit $ac_status); } && {
39978 test -z "$ac_c_werror_flag" ||
39979 test ! -s conftest.err
39980 } && test -s conftest.$ac_objext; then
39981 wx_cv_cc___thread=yes
39982 else
39983 echo "$as_me: failed program was:" >&5
39984 sed 's/^/| /' conftest.$ac_ext >&5
39985
39986 wx_cv_cc___thread=no
39987
39988 fi
39989
39990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39991
39992 fi
39993 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
39994 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
39995
39996 if test "$wx_cv_cc___thread" = "yes"; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define HAVE___THREAD_KEYWORD 1
39999 _ACEOF
40000
40001 fi
40002 fi
40003
40004 else
40005 if test "$wxUSE_THREADS" = "yes" ; then
40006 case "${host}" in
40007 x86_64-*-mingw32* )
40008 ;;
40009 *-*-mingw32* )
40010 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40011 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40012 if test "${wx_cv_cflags_mthread+set}" = set; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015
40016 CFLAGS_OLD="$CFLAGS"
40017 CFLAGS="-mthreads $CFLAGS"
40018 cat >conftest.$ac_ext <<_ACEOF
40019 /* confdefs.h. */
40020 _ACEOF
40021 cat confdefs.h >>conftest.$ac_ext
40022 cat >>conftest.$ac_ext <<_ACEOF
40023 /* end confdefs.h. */
40024
40025 int
40026 main ()
40027 {
40028
40029 ;
40030 return 0;
40031 }
40032 _ACEOF
40033 rm -f conftest.$ac_objext
40034 if { (ac_try="$ac_compile"
40035 case "(($ac_try" in
40036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40037 *) ac_try_echo=$ac_try;;
40038 esac
40039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40040 (eval "$ac_compile") 2>conftest.er1
40041 ac_status=$?
40042 grep -v '^ *+' conftest.er1 >conftest.err
40043 rm -f conftest.er1
40044 cat conftest.err >&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } && {
40047 test -z "$ac_c_werror_flag" ||
40048 test ! -s conftest.err
40049 } && test -s conftest.$ac_objext; then
40050 wx_cv_cflags_mthread=yes
40051 else
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40054
40055 wx_cv_cflags_mthread=no
40056
40057 fi
40058
40059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40060
40061
40062 fi
40063 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40064 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40065
40066 if test "$wx_cv_cflags_mthread" = "yes"; then
40067 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40068 LDFLAGS="$LDFLAGS -mthreads"
40069 else
40070 CFLAGS="$CFLAGS_OLD"
40071 fi
40072 ;;
40073 *-pc-os2*emx )
40074 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40075 LDFLAGS="$LDFLAGS -Zmt"
40076 ;;
40077 esac
40078 fi
40079 fi
40080
40081 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40082 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40083 if test "${ac_cv_func_localtime_r+set}" = set; then
40084 echo $ECHO_N "(cached) $ECHO_C" >&6
40085 else
40086 cat >conftest.$ac_ext <<_ACEOF
40087 /* confdefs.h. */
40088 _ACEOF
40089 cat confdefs.h >>conftest.$ac_ext
40090 cat >>conftest.$ac_ext <<_ACEOF
40091 /* end confdefs.h. */
40092 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40094 #define localtime_r innocuous_localtime_r
40095
40096 /* System header to define __stub macros and hopefully few prototypes,
40097 which can conflict with char localtime_r (); below.
40098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40099 <limits.h> exists even on freestanding compilers. */
40100
40101 #ifdef __STDC__
40102 # include <limits.h>
40103 #else
40104 # include <assert.h>
40105 #endif
40106
40107 #undef localtime_r
40108
40109 /* Override any GCC internal prototype to avoid an error.
40110 Use char because int might match the return type of a GCC
40111 builtin and then its argument prototype would still apply. */
40112 #ifdef __cplusplus
40113 extern "C"
40114 #endif
40115 char localtime_r ();
40116 /* The GNU C library defines this for functions which it implements
40117 to always fail with ENOSYS. Some functions are actually named
40118 something starting with __ and the normal name is an alias. */
40119 #if defined __stub_localtime_r || defined __stub___localtime_r
40120 choke me
40121 #endif
40122
40123 int
40124 main ()
40125 {
40126 return localtime_r ();
40127 ;
40128 return 0;
40129 }
40130 _ACEOF
40131 rm -f conftest.$ac_objext conftest$ac_exeext
40132 if { (ac_try="$ac_link"
40133 case "(($ac_try" in
40134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40135 *) ac_try_echo=$ac_try;;
40136 esac
40137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40138 (eval "$ac_link") 2>conftest.er1
40139 ac_status=$?
40140 grep -v '^ *+' conftest.er1 >conftest.err
40141 rm -f conftest.er1
40142 cat conftest.err >&5
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); } && {
40145 test -z "$ac_c_werror_flag" ||
40146 test ! -s conftest.err
40147 } && test -s conftest$ac_exeext &&
40148 $as_test_x conftest$ac_exeext; then
40149 ac_cv_func_localtime_r=yes
40150 else
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40153
40154 ac_cv_func_localtime_r=no
40155 fi
40156
40157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40158 conftest$ac_exeext conftest.$ac_ext
40159 fi
40160 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40161 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40162 if test $ac_cv_func_localtime_r = yes; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_LOCALTIME_R 1
40165 _ACEOF
40166
40167 fi
40168
40169 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40170 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40171 if test "${ac_cv_func_gmtime_r+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 else
40174 cat >conftest.$ac_ext <<_ACEOF
40175 /* confdefs.h. */
40176 _ACEOF
40177 cat confdefs.h >>conftest.$ac_ext
40178 cat >>conftest.$ac_ext <<_ACEOF
40179 /* end confdefs.h. */
40180 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40182 #define gmtime_r innocuous_gmtime_r
40183
40184 /* System header to define __stub macros and hopefully few prototypes,
40185 which can conflict with char gmtime_r (); below.
40186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40187 <limits.h> exists even on freestanding compilers. */
40188
40189 #ifdef __STDC__
40190 # include <limits.h>
40191 #else
40192 # include <assert.h>
40193 #endif
40194
40195 #undef gmtime_r
40196
40197 /* Override any GCC internal prototype to avoid an error.
40198 Use char because int might match the return type of a GCC
40199 builtin and then its argument prototype would still apply. */
40200 #ifdef __cplusplus
40201 extern "C"
40202 #endif
40203 char gmtime_r ();
40204 /* The GNU C library defines this for functions which it implements
40205 to always fail with ENOSYS. Some functions are actually named
40206 something starting with __ and the normal name is an alias. */
40207 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40208 choke me
40209 #endif
40210
40211 int
40212 main ()
40213 {
40214 return gmtime_r ();
40215 ;
40216 return 0;
40217 }
40218 _ACEOF
40219 rm -f conftest.$ac_objext conftest$ac_exeext
40220 if { (ac_try="$ac_link"
40221 case "(($ac_try" in
40222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40223 *) ac_try_echo=$ac_try;;
40224 esac
40225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40226 (eval "$ac_link") 2>conftest.er1
40227 ac_status=$?
40228 grep -v '^ *+' conftest.er1 >conftest.err
40229 rm -f conftest.er1
40230 cat conftest.err >&5
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); } && {
40233 test -z "$ac_c_werror_flag" ||
40234 test ! -s conftest.err
40235 } && test -s conftest$ac_exeext &&
40236 $as_test_x conftest$ac_exeext; then
40237 ac_cv_func_gmtime_r=yes
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242 ac_cv_func_gmtime_r=no
40243 fi
40244
40245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40246 conftest$ac_exeext conftest.$ac_ext
40247 fi
40248 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40249 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40250 if test $ac_cv_func_gmtime_r = yes; then
40251 cat >>confdefs.h <<\_ACEOF
40252 #define HAVE_GMTIME_R 1
40253 _ACEOF
40254
40255 fi
40256
40257
40258
40259
40260 ac_ext=c
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40265
40266 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40267 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40268
40269 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40270 echo $ECHO_N "(cached) $ECHO_C" >&6
40271 else
40272
40273
40274 ################################################################
40275
40276 ac_cv_func_which_gethostbyname_r=unknown
40277
40278 #
40279 # ONE ARGUMENT (sanity check)
40280 #
40281
40282 # This should fail, as there is no variant of gethostbyname_r() that takes
40283 # a single argument. If it actually compiles, then we can assume that
40284 # netdb.h is not declaring the function, and the compiler is thereby
40285 # assuming an implicit prototype. In which case, we're out of luck.
40286 #
40287 cat >conftest.$ac_ext <<_ACEOF
40288 /* confdefs.h. */
40289 _ACEOF
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40293 #include <netdb.h>
40294 int
40295 main ()
40296 {
40297
40298 char *name = "www.gnu.org";
40299 (void)gethostbyname_r(name) /* ; */
40300
40301 ;
40302 return 0;
40303 }
40304 _ACEOF
40305 rm -f conftest.$ac_objext
40306 if { (ac_try="$ac_compile"
40307 case "(($ac_try" in
40308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40309 *) ac_try_echo=$ac_try;;
40310 esac
40311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40312 (eval "$ac_compile") 2>conftest.er1
40313 ac_status=$?
40314 grep -v '^ *+' conftest.er1 >conftest.err
40315 rm -f conftest.er1
40316 cat conftest.err >&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); } && {
40319 test -z "$ac_c_werror_flag" ||
40320 test ! -s conftest.err
40321 } && test -s conftest.$ac_objext; then
40322 ac_cv_func_which_gethostbyname_r=no
40323 else
40324 echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.$ac_ext >&5
40326
40327
40328 fi
40329
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331
40332 #
40333 # SIX ARGUMENTS
40334 # (e.g. Linux)
40335 #
40336
40337 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40338
40339 cat >conftest.$ac_ext <<_ACEOF
40340 /* confdefs.h. */
40341 _ACEOF
40342 cat confdefs.h >>conftest.$ac_ext
40343 cat >>conftest.$ac_ext <<_ACEOF
40344 /* end confdefs.h. */
40345 #include <netdb.h>
40346 int
40347 main ()
40348 {
40349
40350 char *name = "www.gnu.org";
40351 struct hostent ret, *retp;
40352 char buf[1024];
40353 int buflen = 1024;
40354 int my_h_errno;
40355 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40356
40357 ;
40358 return 0;
40359 }
40360 _ACEOF
40361 rm -f conftest.$ac_objext
40362 if { (ac_try="$ac_compile"
40363 case "(($ac_try" in
40364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40365 *) ac_try_echo=$ac_try;;
40366 esac
40367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40368 (eval "$ac_compile") 2>conftest.er1
40369 ac_status=$?
40370 grep -v '^ *+' conftest.er1 >conftest.err
40371 rm -f conftest.er1
40372 cat conftest.err >&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); } && {
40375 test -z "$ac_c_werror_flag" ||
40376 test ! -s conftest.err
40377 } && test -s conftest.$ac_objext; then
40378 ac_cv_func_which_gethostbyname_r=six
40379 else
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.$ac_ext >&5
40382
40383
40384 fi
40385
40386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40387
40388 fi
40389
40390 #
40391 # FIVE ARGUMENTS
40392 # (e.g. Solaris)
40393 #
40394
40395 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40396
40397 cat >conftest.$ac_ext <<_ACEOF
40398 /* confdefs.h. */
40399 _ACEOF
40400 cat confdefs.h >>conftest.$ac_ext
40401 cat >>conftest.$ac_ext <<_ACEOF
40402 /* end confdefs.h. */
40403 #include <netdb.h>
40404 int
40405 main ()
40406 {
40407
40408 char *name = "www.gnu.org";
40409 struct hostent ret;
40410 char buf[1024];
40411 int buflen = 1024;
40412 int my_h_errno;
40413 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40414
40415 ;
40416 return 0;
40417 }
40418 _ACEOF
40419 rm -f conftest.$ac_objext
40420 if { (ac_try="$ac_compile"
40421 case "(($ac_try" in
40422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40423 *) ac_try_echo=$ac_try;;
40424 esac
40425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40426 (eval "$ac_compile") 2>conftest.er1
40427 ac_status=$?
40428 grep -v '^ *+' conftest.er1 >conftest.err
40429 rm -f conftest.er1
40430 cat conftest.err >&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); } && {
40433 test -z "$ac_c_werror_flag" ||
40434 test ! -s conftest.err
40435 } && test -s conftest.$ac_objext; then
40436 ac_cv_func_which_gethostbyname_r=five
40437 else
40438 echo "$as_me: failed program was:" >&5
40439 sed 's/^/| /' conftest.$ac_ext >&5
40440
40441
40442 fi
40443
40444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40445
40446 fi
40447
40448 #
40449 # THREE ARGUMENTS
40450 # (e.g. AIX, HP-UX, Tru64)
40451 #
40452
40453 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40454
40455 cat >conftest.$ac_ext <<_ACEOF
40456 /* confdefs.h. */
40457 _ACEOF
40458 cat confdefs.h >>conftest.$ac_ext
40459 cat >>conftest.$ac_ext <<_ACEOF
40460 /* end confdefs.h. */
40461 #include <netdb.h>
40462 int
40463 main ()
40464 {
40465
40466 char *name = "www.gnu.org";
40467 struct hostent ret;
40468 struct hostent_data data;
40469 (void)gethostbyname_r(name, &ret, &data) /* ; */
40470
40471 ;
40472 return 0;
40473 }
40474 _ACEOF
40475 rm -f conftest.$ac_objext
40476 if { (ac_try="$ac_compile"
40477 case "(($ac_try" in
40478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40479 *) ac_try_echo=$ac_try;;
40480 esac
40481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40482 (eval "$ac_compile") 2>conftest.er1
40483 ac_status=$?
40484 grep -v '^ *+' conftest.er1 >conftest.err
40485 rm -f conftest.er1
40486 cat conftest.err >&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } && {
40489 test -z "$ac_c_werror_flag" ||
40490 test ! -s conftest.err
40491 } && test -s conftest.$ac_objext; then
40492 ac_cv_func_which_gethostbyname_r=three
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40496
40497
40498 fi
40499
40500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40501
40502 fi
40503
40504 ################################################################
40505
40506
40507 fi
40508
40509 case "$ac_cv_func_which_gethostbyname_r" in
40510 three)
40511 { echo "$as_me:$LINENO: result: three" >&5
40512 echo "${ECHO_T}three" >&6; }
40513 cat >>confdefs.h <<\_ACEOF
40514 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40515 _ACEOF
40516
40517 ;;
40518
40519 five)
40520 { echo "$as_me:$LINENO: result: five" >&5
40521 echo "${ECHO_T}five" >&6; }
40522 cat >>confdefs.h <<\_ACEOF
40523 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40524 _ACEOF
40525
40526 ;;
40527
40528 six)
40529 { echo "$as_me:$LINENO: result: six" >&5
40530 echo "${ECHO_T}six" >&6; }
40531 cat >>confdefs.h <<\_ACEOF
40532 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40533 _ACEOF
40534
40535 ;;
40536
40537 no)
40538 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40539 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40540 ;;
40541
40542 unknown)
40543 { echo "$as_me:$LINENO: result: can't tell" >&5
40544 echo "${ECHO_T}can't tell" >&6; }
40545 ;;
40546
40547 *)
40548 { { echo "$as_me:$LINENO: error: internal error" >&5
40549 echo "$as_me: error: internal error" >&2;}
40550 { (exit 1); exit 1; }; }
40551 ;;
40552 esac
40553
40554 ac_ext=c
40555 ac_cpp='$CPP $CPPFLAGS'
40556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40559
40560
40561
40562 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40563 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40564 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40565 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40566 if test "${ac_cv_func_gethostbyname+set}" = set; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40569 cat >conftest.$ac_ext <<_ACEOF
40570 /* confdefs.h. */
40571 _ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40575 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40577 #define gethostbyname innocuous_gethostbyname
40578
40579 /* System header to define __stub macros and hopefully few prototypes,
40580 which can conflict with char gethostbyname (); below.
40581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40582 <limits.h> exists even on freestanding compilers. */
40583
40584 #ifdef __STDC__
40585 # include <limits.h>
40586 #else
40587 # include <assert.h>
40588 #endif
40589
40590 #undef gethostbyname
40591
40592 /* Override any GCC internal prototype to avoid an error.
40593 Use char because int might match the return type of a GCC
40594 builtin and then its argument prototype would still apply. */
40595 #ifdef __cplusplus
40596 extern "C"
40597 #endif
40598 char gethostbyname ();
40599 /* The GNU C library defines this for functions which it implements
40600 to always fail with ENOSYS. Some functions are actually named
40601 something starting with __ and the normal name is an alias. */
40602 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40603 choke me
40604 #endif
40605
40606 int
40607 main ()
40608 {
40609 return gethostbyname ();
40610 ;
40611 return 0;
40612 }
40613 _ACEOF
40614 rm -f conftest.$ac_objext conftest$ac_exeext
40615 if { (ac_try="$ac_link"
40616 case "(($ac_try" in
40617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40618 *) ac_try_echo=$ac_try;;
40619 esac
40620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40621 (eval "$ac_link") 2>conftest.er1
40622 ac_status=$?
40623 grep -v '^ *+' conftest.er1 >conftest.err
40624 rm -f conftest.er1
40625 cat conftest.err >&5
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); } && {
40628 test -z "$ac_c_werror_flag" ||
40629 test ! -s conftest.err
40630 } && test -s conftest$ac_exeext &&
40631 $as_test_x conftest$ac_exeext; then
40632 ac_cv_func_gethostbyname=yes
40633 else
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.$ac_ext >&5
40636
40637 ac_cv_func_gethostbyname=no
40638 fi
40639
40640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40641 conftest$ac_exeext conftest.$ac_ext
40642 fi
40643 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40644 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40645 if test $ac_cv_func_gethostbyname = yes; then
40646 cat >>confdefs.h <<\_ACEOF
40647 #define HAVE_GETHOSTBYNAME 1
40648 _ACEOF
40649
40650 fi
40651
40652 fi
40653
40654 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40655 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40656 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659
40660 ac_ext=cpp
40661 ac_cpp='$CXXCPP $CPPFLAGS'
40662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40665
40666
40667 cat >conftest.$ac_ext <<_ACEOF
40668 /* confdefs.h. */
40669 _ACEOF
40670 cat confdefs.h >>conftest.$ac_ext
40671 cat >>conftest.$ac_ext <<_ACEOF
40672 /* end confdefs.h. */
40673 #include <netdb.h>
40674 int
40675 main ()
40676 {
40677
40678 char *name;
40679 char *proto;
40680 struct servent *se, *res;
40681 char buffer[2048];
40682 int buflen = 2048;
40683 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40684
40685 ;
40686 return 0;
40687 }
40688 _ACEOF
40689 rm -f conftest.$ac_objext
40690 if { (ac_try="$ac_compile"
40691 case "(($ac_try" in
40692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40693 *) ac_try_echo=$ac_try;;
40694 esac
40695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40696 (eval "$ac_compile") 2>conftest.er1
40697 ac_status=$?
40698 grep -v '^ *+' conftest.er1 >conftest.err
40699 rm -f conftest.er1
40700 cat conftest.err >&5
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); } && {
40703 test -z "$ac_cxx_werror_flag" ||
40704 test ! -s conftest.err
40705 } && test -s conftest.$ac_objext; then
40706 ac_cv_func_which_getservbyname_r=six
40707 else
40708 echo "$as_me: failed program was:" >&5
40709 sed 's/^/| /' conftest.$ac_ext >&5
40710
40711
40712 cat >conftest.$ac_ext <<_ACEOF
40713 /* confdefs.h. */
40714 _ACEOF
40715 cat confdefs.h >>conftest.$ac_ext
40716 cat >>conftest.$ac_ext <<_ACEOF
40717 /* end confdefs.h. */
40718 #include <netdb.h>
40719 int
40720 main ()
40721 {
40722
40723 char *name;
40724 char *proto;
40725 struct servent *se;
40726 char buffer[2048];
40727 int buflen = 2048;
40728 (void) getservbyname_r(name, proto, se, buffer, buflen)
40729
40730 ;
40731 return 0;
40732 }
40733 _ACEOF
40734 rm -f conftest.$ac_objext
40735 if { (ac_try="$ac_compile"
40736 case "(($ac_try" in
40737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40738 *) ac_try_echo=$ac_try;;
40739 esac
40740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40741 (eval "$ac_compile") 2>conftest.er1
40742 ac_status=$?
40743 grep -v '^ *+' conftest.er1 >conftest.err
40744 rm -f conftest.er1
40745 cat conftest.err >&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); } && {
40748 test -z "$ac_cxx_werror_flag" ||
40749 test ! -s conftest.err
40750 } && test -s conftest.$ac_objext; then
40751 ac_cv_func_which_getservbyname_r=five
40752 else
40753 echo "$as_me: failed program was:" >&5
40754 sed 's/^/| /' conftest.$ac_ext >&5
40755
40756
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h. */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <netdb.h>
40764 int
40765 main ()
40766 {
40767
40768 char *name;
40769 char *proto;
40770 struct servent *se;
40771 struct servent_data data;
40772 (void) getservbyname_r(name, proto, se, &data);
40773
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext
40779 if { (ac_try="$ac_compile"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40783 esac
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_compile") 2>conftest.er1
40786 ac_status=$?
40787 grep -v '^ *+' conftest.er1 >conftest.err
40788 rm -f conftest.er1
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_cxx_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest.$ac_objext; then
40795 ac_cv_func_which_getservbyname_r=four
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800 ac_cv_func_which_getservbyname_r=no
40801
40802 fi
40803
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805
40806
40807 fi
40808
40809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810
40811
40812 fi
40813
40814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40815 ac_ext=c
40816 ac_cpp='$CPP $CPPFLAGS'
40817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40820
40821
40822
40823 fi
40824 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40825 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40826
40827 if test $ac_cv_func_which_getservbyname_r = six; then
40828 cat >>confdefs.h <<\_ACEOF
40829 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40830 _ACEOF
40831
40832 elif test $ac_cv_func_which_getservbyname_r = five; then
40833 cat >>confdefs.h <<\_ACEOF
40834 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40835 _ACEOF
40836
40837 elif test $ac_cv_func_which_getservbyname_r = four; then
40838 cat >>confdefs.h <<\_ACEOF
40839 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40840 _ACEOF
40841
40842 fi
40843
40844
40845 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40846 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40847
40848 for ac_func in getservbyname
40849 do
40850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40855 else
40856 cat >conftest.$ac_ext <<_ACEOF
40857 /* confdefs.h. */
40858 _ACEOF
40859 cat confdefs.h >>conftest.$ac_ext
40860 cat >>conftest.$ac_ext <<_ACEOF
40861 /* end confdefs.h. */
40862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40864 #define $ac_func innocuous_$ac_func
40865
40866 /* System header to define __stub macros and hopefully few prototypes,
40867 which can conflict with char $ac_func (); below.
40868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40869 <limits.h> exists even on freestanding compilers. */
40870
40871 #ifdef __STDC__
40872 # include <limits.h>
40873 #else
40874 # include <assert.h>
40875 #endif
40876
40877 #undef $ac_func
40878
40879 /* Override any GCC internal prototype to avoid an error.
40880 Use char because int might match the return type of a GCC
40881 builtin and then its argument prototype would still apply. */
40882 #ifdef __cplusplus
40883 extern "C"
40884 #endif
40885 char $ac_func ();
40886 /* The GNU C library defines this for functions which it implements
40887 to always fail with ENOSYS. Some functions are actually named
40888 something starting with __ and the normal name is an alias. */
40889 #if defined __stub_$ac_func || defined __stub___$ac_func
40890 choke me
40891 #endif
40892
40893 int
40894 main ()
40895 {
40896 return $ac_func ();
40897 ;
40898 return 0;
40899 }
40900 _ACEOF
40901 rm -f conftest.$ac_objext conftest$ac_exeext
40902 if { (ac_try="$ac_link"
40903 case "(($ac_try" in
40904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40905 *) ac_try_echo=$ac_try;;
40906 esac
40907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40908 (eval "$ac_link") 2>conftest.er1
40909 ac_status=$?
40910 grep -v '^ *+' conftest.er1 >conftest.err
40911 rm -f conftest.er1
40912 cat conftest.err >&5
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); } && {
40915 test -z "$ac_c_werror_flag" ||
40916 test ! -s conftest.err
40917 } && test -s conftest$ac_exeext &&
40918 $as_test_x conftest$ac_exeext; then
40919 eval "$as_ac_var=yes"
40920 else
40921 echo "$as_me: failed program was:" >&5
40922 sed 's/^/| /' conftest.$ac_ext >&5
40923
40924 eval "$as_ac_var=no"
40925 fi
40926
40927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40928 conftest$ac_exeext conftest.$ac_ext
40929 fi
40930 ac_res=`eval echo '${'$as_ac_var'}'`
40931 { echo "$as_me:$LINENO: result: $ac_res" >&5
40932 echo "${ECHO_T}$ac_res" >&6; }
40933 if test `eval echo '${'$as_ac_var'}'` = yes; then
40934 cat >>confdefs.h <<_ACEOF
40935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40936 _ACEOF
40937 cat >>confdefs.h <<\_ACEOF
40938 #define HAVE_GETSERVBYNAME 1
40939 _ACEOF
40940
40941 fi
40942 done
40943
40944 fi
40945
40946 if test "$wxUSE_THREADS" = "yes"; then
40947 cat >>confdefs.h <<\_ACEOF
40948 #define wxUSE_THREADS 1
40949 _ACEOF
40950
40951
40952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40953 else
40954 if test "$wx_cv_func_strtok_r" = "yes"; then
40955 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40956 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40957 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40958 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40959 { echo "$as_me:$LINENO: result: yes" >&5
40960 echo "${ECHO_T}yes" >&6; }
40961 else
40962 { echo "$as_me:$LINENO: result: no" >&5
40963 echo "${ECHO_T}no" >&6; }
40964 fi
40965 fi
40966 fi
40967
40968 if test "$WXGTK2" = 1 ; then
40969 cat >>confdefs.h <<_ACEOF
40970 #define __WXGTK20__ $WXGTK2
40971 _ACEOF
40972
40973 WXGTK12=1
40974 fi
40975
40976 if test "$WXGTK12" = 1 ; then
40977 cat >>confdefs.h <<_ACEOF
40978 #define __WXGTK12__ $WXGTK12
40979 _ACEOF
40980
40981 fi
40982
40983 if test "$WXGTK127" = 1 ; then
40984 cat >>confdefs.h <<_ACEOF
40985 #define __WXGTK127__ $WXGTK127
40986 _ACEOF
40987
40988 fi
40989
40990 if test "$WXGPE" = 1 ; then
40991 cat >>confdefs.h <<_ACEOF
40992 #define __WXGPE__ $WXGPE
40993 _ACEOF
40994
40995 fi
40996
40997 DEBUG_CFLAGS=
40998 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40999 DEBUG_CFLAGS="-g"
41000 fi
41001
41002 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41003 wxUSE_DEBUG_INFO=yes
41004 if test "$GCC" = yes; then
41005 DEBUG_CFLAGS="-ggdb"
41006 fi
41007 fi
41008
41009 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41010 cat >>confdefs.h <<\_ACEOF
41011 #define WXDEBUG 1
41012 _ACEOF
41013
41014 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41015 else
41016 if test "$wxUSE_GTK" = 1 ; then
41017 if test "x$wxGTK_VERSION" = "x1" ; then
41018 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41019 fi
41020 fi
41021 fi
41022
41023 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41024 cat >>confdefs.h <<\_ACEOF
41025 #define wxUSE_MEMORY_TRACING 1
41026 _ACEOF
41027
41028 cat >>confdefs.h <<\_ACEOF
41029 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41030 _ACEOF
41031
41032 cat >>confdefs.h <<\_ACEOF
41033 #define wxUSE_DEBUG_NEW_ALWAYS 1
41034 _ACEOF
41035
41036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41037 fi
41038
41039 if test "$wxUSE_DMALLOC" = "yes" ; then
41040 DMALLOC_LIBS="-ldmallocthcxx"
41041 fi
41042
41043 PROFILE_FLAGS=
41044 if test "$wxUSE_PROFILE" = "yes" ; then
41045 PROFILE_FLAGS=" -pg"
41046 fi
41047
41048 if test "$GCC" = "yes" ; then
41049 if test "$wxUSE_NO_RTTI" = "yes" ; then
41050 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41051 fi
41052 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41053 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41054 fi
41055 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41056 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41057 fi
41058
41059 case "${host}" in
41060 powerpc*-*-aix* )
41061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41062 ;;
41063 *-hppa* )
41064 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41065 ;;
41066 esac
41067 fi
41068
41069 OPTIMISE_CFLAGS=
41070 if test "$wxUSE_OPTIMISE" = "no" ; then
41071 if test "$GCC" = yes ; then
41072 OPTIMISE_CFLAGS="-O0"
41073 fi
41074 else
41075 if test "$GCC" = yes ; then
41076 case "${host}" in
41077 *-pc-os2_emx | *-pc-os2-emx )
41078 OPTIMISE_CFLAGS="-O2"
41079 ;;
41080 *)
41081 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41082 ;;
41083 esac
41084 else
41085 OPTIMISE_CFLAGS="-O"
41086 fi
41087 fi
41088
41089
41090 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41091 cat >>confdefs.h <<\_ACEOF
41092 #define WXWIN_COMPATIBILITY_2_6 1
41093 _ACEOF
41094
41095
41096 WXWIN_COMPATIBILITY_2_8="yes"
41097 fi
41098
41099 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41100 cat >>confdefs.h <<\_ACEOF
41101 #define WXWIN_COMPATIBILITY_2_8 1
41102 _ACEOF
41103
41104 fi
41105
41106
41107 if test "$wxUSE_GUI" = "yes"; then
41108 cat >>confdefs.h <<\_ACEOF
41109 #define wxUSE_GUI 1
41110 _ACEOF
41111
41112
41113 fi
41114
41115
41116 if test "$wxUSE_UNIX" = "yes"; then
41117 cat >>confdefs.h <<\_ACEOF
41118 #define wxUSE_UNIX 1
41119 _ACEOF
41120
41121 fi
41122
41123
41124 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41125
41126 HAVE_DL_FUNCS=0
41127 HAVE_SHL_FUNCS=0
41128 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41129 if test "$USE_DOS" = 1; then
41130 HAVE_DL_FUNCS=0
41131 else
41132
41133 for ac_func in dlopen
41134 do
41135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41139 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 else
41141 cat >conftest.$ac_ext <<_ACEOF
41142 /* confdefs.h. */
41143 _ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41149 #define $ac_func innocuous_$ac_func
41150
41151 /* System header to define __stub macros and hopefully few prototypes,
41152 which can conflict with char $ac_func (); below.
41153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41154 <limits.h> exists even on freestanding compilers. */
41155
41156 #ifdef __STDC__
41157 # include <limits.h>
41158 #else
41159 # include <assert.h>
41160 #endif
41161
41162 #undef $ac_func
41163
41164 /* Override any GCC internal prototype to avoid an error.
41165 Use char because int might match the return type of a GCC
41166 builtin and then its argument prototype would still apply. */
41167 #ifdef __cplusplus
41168 extern "C"
41169 #endif
41170 char $ac_func ();
41171 /* The GNU C library defines this for functions which it implements
41172 to always fail with ENOSYS. Some functions are actually named
41173 something starting with __ and the normal name is an alias. */
41174 #if defined __stub_$ac_func || defined __stub___$ac_func
41175 choke me
41176 #endif
41177
41178 int
41179 main ()
41180 {
41181 return $ac_func ();
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (ac_try="$ac_link"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41190 *) ac_try_echo=$ac_try;;
41191 esac
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_link") 2>conftest.er1
41194 ac_status=$?
41195 grep -v '^ *+' conftest.er1 >conftest.err
41196 rm -f conftest.er1
41197 cat conftest.err >&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_c_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest$ac_exeext &&
41203 $as_test_x conftest$ac_exeext; then
41204 eval "$as_ac_var=yes"
41205 else
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.$ac_ext >&5
41208
41209 eval "$as_ac_var=no"
41210 fi
41211
41212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41213 conftest$ac_exeext conftest.$ac_ext
41214 fi
41215 ac_res=`eval echo '${'$as_ac_var'}'`
41216 { echo "$as_me:$LINENO: result: $ac_res" >&5
41217 echo "${ECHO_T}$ac_res" >&6; }
41218 if test `eval echo '${'$as_ac_var'}'` = yes; then
41219 cat >>confdefs.h <<_ACEOF
41220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41221 _ACEOF
41222
41223 cat >>confdefs.h <<\_ACEOF
41224 #define HAVE_DLOPEN 1
41225 _ACEOF
41226
41227 HAVE_DL_FUNCS=1
41228
41229 else
41230
41231 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41234 echo $ECHO_N "(cached) $ECHO_C" >&6
41235 else
41236 ac_check_lib_save_LIBS=$LIBS
41237 LIBS="-ldl $LIBS"
41238 cat >conftest.$ac_ext <<_ACEOF
41239 /* confdefs.h. */
41240 _ACEOF
41241 cat confdefs.h >>conftest.$ac_ext
41242 cat >>conftest.$ac_ext <<_ACEOF
41243 /* end confdefs.h. */
41244
41245 /* Override any GCC internal prototype to avoid an error.
41246 Use char because int might match the return type of a GCC
41247 builtin and then its argument prototype would still apply. */
41248 #ifdef __cplusplus
41249 extern "C"
41250 #endif
41251 char dlopen ();
41252 int
41253 main ()
41254 {
41255 return dlopen ();
41256 ;
41257 return 0;
41258 }
41259 _ACEOF
41260 rm -f conftest.$ac_objext conftest$ac_exeext
41261 if { (ac_try="$ac_link"
41262 case "(($ac_try" in
41263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41264 *) ac_try_echo=$ac_try;;
41265 esac
41266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41267 (eval "$ac_link") 2>conftest.er1
41268 ac_status=$?
41269 grep -v '^ *+' conftest.er1 >conftest.err
41270 rm -f conftest.er1
41271 cat conftest.err >&5
41272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41273 (exit $ac_status); } && {
41274 test -z "$ac_c_werror_flag" ||
41275 test ! -s conftest.err
41276 } && test -s conftest$ac_exeext &&
41277 $as_test_x conftest$ac_exeext; then
41278 ac_cv_lib_dl_dlopen=yes
41279 else
41280 echo "$as_me: failed program was:" >&5
41281 sed 's/^/| /' conftest.$ac_ext >&5
41282
41283 ac_cv_lib_dl_dlopen=no
41284 fi
41285
41286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41287 conftest$ac_exeext conftest.$ac_ext
41288 LIBS=$ac_check_lib_save_LIBS
41289 fi
41290 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41292 if test $ac_cv_lib_dl_dlopen = yes; then
41293
41294 cat >>confdefs.h <<\_ACEOF
41295 #define HAVE_DLOPEN 1
41296 _ACEOF
41297
41298 HAVE_DL_FUNCS=1
41299 DL_LINK=" -ldl$DL_LINK"
41300
41301 else
41302
41303
41304 for ac_func in shl_load
41305 do
41306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41309 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41310 echo $ECHO_N "(cached) $ECHO_C" >&6
41311 else
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41320 #define $ac_func innocuous_$ac_func
41321
41322 /* System header to define __stub macros and hopefully few prototypes,
41323 which can conflict with char $ac_func (); below.
41324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41325 <limits.h> exists even on freestanding compilers. */
41326
41327 #ifdef __STDC__
41328 # include <limits.h>
41329 #else
41330 # include <assert.h>
41331 #endif
41332
41333 #undef $ac_func
41334
41335 /* Override any GCC internal prototype to avoid an error.
41336 Use char because int might match the return type of a GCC
41337 builtin and then its argument prototype would still apply. */
41338 #ifdef __cplusplus
41339 extern "C"
41340 #endif
41341 char $ac_func ();
41342 /* The GNU C library defines this for functions which it implements
41343 to always fail with ENOSYS. Some functions are actually named
41344 something starting with __ and the normal name is an alias. */
41345 #if defined __stub_$ac_func || defined __stub___$ac_func
41346 choke me
41347 #endif
41348
41349 int
41350 main ()
41351 {
41352 return $ac_func ();
41353 ;
41354 return 0;
41355 }
41356 _ACEOF
41357 rm -f conftest.$ac_objext conftest$ac_exeext
41358 if { (ac_try="$ac_link"
41359 case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41362 esac
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_link") 2>conftest.er1
41365 ac_status=$?
41366 grep -v '^ *+' conftest.er1 >conftest.err
41367 rm -f conftest.er1
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest$ac_exeext &&
41374 $as_test_x conftest$ac_exeext; then
41375 eval "$as_ac_var=yes"
41376 else
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41379
41380 eval "$as_ac_var=no"
41381 fi
41382
41383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41384 conftest$ac_exeext conftest.$ac_ext
41385 fi
41386 ac_res=`eval echo '${'$as_ac_var'}'`
41387 { echo "$as_me:$LINENO: result: $ac_res" >&5
41388 echo "${ECHO_T}$ac_res" >&6; }
41389 if test `eval echo '${'$as_ac_var'}'` = yes; then
41390 cat >>confdefs.h <<_ACEOF
41391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41392 _ACEOF
41393
41394 cat >>confdefs.h <<\_ACEOF
41395 #define HAVE_SHL_LOAD 1
41396 _ACEOF
41397
41398 HAVE_SHL_FUNCS=1
41399
41400 else
41401
41402 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41403 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41404 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41405 echo $ECHO_N "(cached) $ECHO_C" >&6
41406 else
41407 ac_check_lib_save_LIBS=$LIBS
41408 LIBS="-lshl_load $LIBS"
41409 cat >conftest.$ac_ext <<_ACEOF
41410 /* confdefs.h. */
41411 _ACEOF
41412 cat confdefs.h >>conftest.$ac_ext
41413 cat >>conftest.$ac_ext <<_ACEOF
41414 /* end confdefs.h. */
41415
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41419 #ifdef __cplusplus
41420 extern "C"
41421 #endif
41422 char dld ();
41423 int
41424 main ()
41425 {
41426 return dld ();
41427 ;
41428 return 0;
41429 }
41430 _ACEOF
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (ac_try="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41436 esac
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41439 ac_status=$?
41440 grep -v '^ *+' conftest.er1 >conftest.err
41441 rm -f conftest.er1
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } && {
41445 test -z "$ac_c_werror_flag" ||
41446 test ! -s conftest.err
41447 } && test -s conftest$ac_exeext &&
41448 $as_test_x conftest$ac_exeext; then
41449 ac_cv_lib_shl_load_dld=yes
41450 else
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41453
41454 ac_cv_lib_shl_load_dld=no
41455 fi
41456
41457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41458 conftest$ac_exeext conftest.$ac_ext
41459 LIBS=$ac_check_lib_save_LIBS
41460 fi
41461 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41462 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41463 if test $ac_cv_lib_shl_load_dld = yes; then
41464
41465 HAVE_SHL_FUNCS=1
41466 DL_LINK=" -ldld$DL_LINK"
41467
41468 fi
41469
41470
41471 fi
41472 done
41473
41474
41475 fi
41476
41477
41478 fi
41479 done
41480
41481
41482 if test "$HAVE_DL_FUNCS" = 1; then
41483
41484 for ac_func in dlerror
41485 do
41486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41490 echo $ECHO_N "(cached) $ECHO_C" >&6
41491 else
41492 cat >conftest.$ac_ext <<_ACEOF
41493 /* confdefs.h. */
41494 _ACEOF
41495 cat confdefs.h >>conftest.$ac_ext
41496 cat >>conftest.$ac_ext <<_ACEOF
41497 /* end confdefs.h. */
41498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41500 #define $ac_func innocuous_$ac_func
41501
41502 /* System header to define __stub macros and hopefully few prototypes,
41503 which can conflict with char $ac_func (); below.
41504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41505 <limits.h> exists even on freestanding compilers. */
41506
41507 #ifdef __STDC__
41508 # include <limits.h>
41509 #else
41510 # include <assert.h>
41511 #endif
41512
41513 #undef $ac_func
41514
41515 /* Override any GCC internal prototype to avoid an error.
41516 Use char because int might match the return type of a GCC
41517 builtin and then its argument prototype would still apply. */
41518 #ifdef __cplusplus
41519 extern "C"
41520 #endif
41521 char $ac_func ();
41522 /* The GNU C library defines this for functions which it implements
41523 to always fail with ENOSYS. Some functions are actually named
41524 something starting with __ and the normal name is an alias. */
41525 #if defined __stub_$ac_func || defined __stub___$ac_func
41526 choke me
41527 #endif
41528
41529 int
41530 main ()
41531 {
41532 return $ac_func ();
41533 ;
41534 return 0;
41535 }
41536 _ACEOF
41537 rm -f conftest.$ac_objext conftest$ac_exeext
41538 if { (ac_try="$ac_link"
41539 case "(($ac_try" in
41540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41541 *) ac_try_echo=$ac_try;;
41542 esac
41543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41544 (eval "$ac_link") 2>conftest.er1
41545 ac_status=$?
41546 grep -v '^ *+' conftest.er1 >conftest.err
41547 rm -f conftest.er1
41548 cat conftest.err >&5
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); } && {
41551 test -z "$ac_c_werror_flag" ||
41552 test ! -s conftest.err
41553 } && test -s conftest$ac_exeext &&
41554 $as_test_x conftest$ac_exeext; then
41555 eval "$as_ac_var=yes"
41556 else
41557 echo "$as_me: failed program was:" >&5
41558 sed 's/^/| /' conftest.$ac_ext >&5
41559
41560 eval "$as_ac_var=no"
41561 fi
41562
41563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41564 conftest$ac_exeext conftest.$ac_ext
41565 fi
41566 ac_res=`eval echo '${'$as_ac_var'}'`
41567 { echo "$as_me:$LINENO: result: $ac_res" >&5
41568 echo "${ECHO_T}$ac_res" >&6; }
41569 if test `eval echo '${'$as_ac_var'}'` = yes; then
41570 cat >>confdefs.h <<_ACEOF
41571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41572 _ACEOF
41573 cat >>confdefs.h <<\_ACEOF
41574 #define HAVE_DLERROR 1
41575 _ACEOF
41576
41577 else
41578
41579 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41580 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41581 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41582 echo $ECHO_N "(cached) $ECHO_C" >&6
41583 else
41584 ac_check_lib_save_LIBS=$LIBS
41585 LIBS="-ldl $LIBS"
41586 cat >conftest.$ac_ext <<_ACEOF
41587 /* confdefs.h. */
41588 _ACEOF
41589 cat confdefs.h >>conftest.$ac_ext
41590 cat >>conftest.$ac_ext <<_ACEOF
41591 /* end confdefs.h. */
41592
41593 /* Override any GCC internal prototype to avoid an error.
41594 Use char because int might match the return type of a GCC
41595 builtin and then its argument prototype would still apply. */
41596 #ifdef __cplusplus
41597 extern "C"
41598 #endif
41599 char dlerror ();
41600 int
41601 main ()
41602 {
41603 return dlerror ();
41604 ;
41605 return 0;
41606 }
41607 _ACEOF
41608 rm -f conftest.$ac_objext conftest$ac_exeext
41609 if { (ac_try="$ac_link"
41610 case "(($ac_try" in
41611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41612 *) ac_try_echo=$ac_try;;
41613 esac
41614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41615 (eval "$ac_link") 2>conftest.er1
41616 ac_status=$?
41617 grep -v '^ *+' conftest.er1 >conftest.err
41618 rm -f conftest.er1
41619 cat conftest.err >&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } && {
41622 test -z "$ac_c_werror_flag" ||
41623 test ! -s conftest.err
41624 } && test -s conftest$ac_exeext &&
41625 $as_test_x conftest$ac_exeext; then
41626 ac_cv_lib_dl_dlerror=yes
41627 else
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.$ac_ext >&5
41630
41631 ac_cv_lib_dl_dlerror=no
41632 fi
41633
41634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41635 conftest$ac_exeext conftest.$ac_ext
41636 LIBS=$ac_check_lib_save_LIBS
41637 fi
41638 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41639 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41640 if test $ac_cv_lib_dl_dlerror = yes; then
41641 cat >>confdefs.h <<\_ACEOF
41642 #define HAVE_DLERROR 1
41643 _ACEOF
41644
41645 fi
41646
41647
41648
41649 fi
41650 done
41651
41652 fi
41653 fi
41654
41655 if test "$USE_DARWIN" = 1; then
41656 HAVE_DL_FUNCS=1
41657 fi
41658
41659 if test "$HAVE_DL_FUNCS" = 0; then
41660 if test "$HAVE_SHL_FUNCS" = 0; then
41661 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41662 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41663 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41664 wxUSE_DYNAMIC_LOADER=no
41665 wxUSE_DYNLIB_CLASS=no
41666 else
41667 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41668 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41669 fi
41670 fi
41671 fi
41672 fi
41673 fi
41674
41675 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41676 cat >>confdefs.h <<\_ACEOF
41677 #define wxUSE_DYNAMIC_LOADER 1
41678 _ACEOF
41679
41680 fi
41681 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41682 cat >>confdefs.h <<\_ACEOF
41683 #define wxUSE_DYNLIB_CLASS 1
41684 _ACEOF
41685
41686 fi
41687
41688
41689
41690 if test "$wxUSE_PLUGINS" = "yes" ; then
41691 if test "$wxUSE_SHARED" = "no" ; then
41692 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41693 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41694 wxUSE_PLUGINS=no
41695 fi
41696 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41697 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41698 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41699 wxUSE_PLUGINS=no
41700 fi
41701 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41702 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41703 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41704 wxUSE_PLUGINS=no
41705 fi
41706 if test "$wxUSE_PLUGINS" = "yes" ; then
41707 cat >>confdefs.h <<\_ACEOF
41708 #define wxUSE_PLUGINS 1
41709 _ACEOF
41710
41711 fi
41712 fi
41713
41714
41715 if test "$wxUSE_STL" = "yes"; then
41716 cat >>confdefs.h <<\_ACEOF
41717 #define wxUSE_STL 1
41718 _ACEOF
41719
41720 fi
41721
41722 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41723 cat >>confdefs.h <<\_ACEOF
41724 #define wxUSE_EXTENDED_RTTI 1
41725 _ACEOF
41726
41727 fi
41728
41729 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41730 cat >>confdefs.h <<\_ACEOF
41731 #define wxUSE_APPLE_IEEE 1
41732 _ACEOF
41733
41734 fi
41735
41736 if test "$wxUSE_TIMER" = "yes"; then
41737 cat >>confdefs.h <<\_ACEOF
41738 #define wxUSE_TIMER 1
41739 _ACEOF
41740
41741 fi
41742
41743 if test "$USE_UNIX" = 1 ; then
41744 if test "$wxUSE_MGL" != 1; then
41745 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41746 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41747 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41748 echo $ECHO_N "(cached) $ECHO_C" >&6
41749 else
41750
41751 cat >conftest.$ac_ext <<_ACEOF
41752 /* confdefs.h. */
41753 _ACEOF
41754 cat confdefs.h >>conftest.$ac_ext
41755 cat >>conftest.$ac_ext <<_ACEOF
41756 /* end confdefs.h. */
41757
41758 #include <sys/ioctl.h>
41759 #include <sys/soundcard.h>
41760
41761 int
41762 main ()
41763 {
41764
41765 ioctl(0, SNDCTL_DSP_SPEED, 0);
41766
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 rm -f conftest.$ac_objext conftest$ac_exeext
41772 if { (ac_try="$ac_link"
41773 case "(($ac_try" in
41774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41775 *) ac_try_echo=$ac_try;;
41776 esac
41777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41778 (eval "$ac_link") 2>conftest.er1
41779 ac_status=$?
41780 grep -v '^ *+' conftest.er1 >conftest.err
41781 rm -f conftest.er1
41782 cat conftest.err >&5
41783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784 (exit $ac_status); } && {
41785 test -z "$ac_c_werror_flag" ||
41786 test ! -s conftest.err
41787 } && test -s conftest$ac_exeext &&
41788 $as_test_x conftest$ac_exeext; then
41789 ac_cv_header_sys_soundcard=yes
41790 else
41791 echo "$as_me: failed program was:" >&5
41792 sed 's/^/| /' conftest.$ac_ext >&5
41793
41794
41795 saveLibs="$LIBS"
41796 LIBS="$saveLibs -lossaudio"
41797 cat >conftest.$ac_ext <<_ACEOF
41798 /* confdefs.h. */
41799 _ACEOF
41800 cat confdefs.h >>conftest.$ac_ext
41801 cat >>conftest.$ac_ext <<_ACEOF
41802 /* end confdefs.h. */
41803
41804 #include <sys/ioctl.h>
41805 #include <sys/soundcard.h>
41806
41807 int
41808 main ()
41809 {
41810
41811 ioctl(0, SNDCTL_DSP_SPEED, 0);
41812
41813 ;
41814 return 0;
41815 }
41816 _ACEOF
41817 rm -f conftest.$ac_objext conftest$ac_exeext
41818 if { (ac_try="$ac_link"
41819 case "(($ac_try" in
41820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41821 *) ac_try_echo=$ac_try;;
41822 esac
41823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41824 (eval "$ac_link") 2>conftest.er1
41825 ac_status=$?
41826 grep -v '^ *+' conftest.er1 >conftest.err
41827 rm -f conftest.er1
41828 cat conftest.err >&5
41829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41830 (exit $ac_status); } && {
41831 test -z "$ac_c_werror_flag" ||
41832 test ! -s conftest.err
41833 } && test -s conftest$ac_exeext &&
41834 $as_test_x conftest$ac_exeext; then
41835 ac_cv_header_sys_soundcard=yes
41836 else
41837 echo "$as_me: failed program was:" >&5
41838 sed 's/^/| /' conftest.$ac_ext >&5
41839
41840
41841 LIBS="$saveLibs"
41842 ac_cv_header_sys_soundcard=no
41843
41844
41845 fi
41846
41847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41848 conftest$ac_exeext conftest.$ac_ext
41849
41850
41851 fi
41852
41853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41854 conftest$ac_exeext conftest.$ac_ext
41855
41856 fi
41857 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41858 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41859 fi
41860
41861 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define HAVE_SYS_SOUNDCARD_H 1
41864 _ACEOF
41865
41866 fi
41867 fi
41868
41869 WITH_PLUGIN_SDL=0
41870 if test "$wxUSE_SOUND" = "yes"; then
41871 if test "$USE_UNIX" = 1 ; then
41872 if test "$wxUSE_LIBSDL" != "no"; then
41873
41874 # Check whether --with-sdl-prefix was given.
41875 if test "${with_sdl_prefix+set}" = set; then
41876 withval=$with_sdl_prefix; sdl_prefix="$withval"
41877 else
41878 sdl_prefix=""
41879 fi
41880
41881
41882 # Check whether --with-sdl-exec-prefix was given.
41883 if test "${with_sdl_exec_prefix+set}" = set; then
41884 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41885 else
41886 sdl_exec_prefix=""
41887 fi
41888
41889 # Check whether --enable-sdltest was given.
41890 if test "${enable_sdltest+set}" = set; then
41891 enableval=$enable_sdltest;
41892 else
41893 enable_sdltest=yes
41894 fi
41895
41896
41897 if test x$sdl_exec_prefix != x ; then
41898 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41899 if test x${SDL_CONFIG+set} != xset ; then
41900 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41901 fi
41902 fi
41903 if test x$sdl_prefix != x ; then
41904 sdl_args="$sdl_args --prefix=$sdl_prefix"
41905 if test x${SDL_CONFIG+set} != xset ; then
41906 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41907 fi
41908 fi
41909
41910 if test "x$prefix" != xNONE; then
41911 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41912 fi
41913 # Extract the first word of "sdl-config", so it can be a program name with args.
41914 set dummy sdl-config; ac_word=$2
41915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41917 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41919 else
41920 case $SDL_CONFIG in
41921 [\\/]* | ?:[\\/]*)
41922 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41923 ;;
41924 *)
41925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41926 for as_dir in $PATH
41927 do
41928 IFS=$as_save_IFS
41929 test -z "$as_dir" && as_dir=.
41930 for ac_exec_ext in '' $ac_executable_extensions; do
41931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41932 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41934 break 2
41935 fi
41936 done
41937 done
41938 IFS=$as_save_IFS
41939
41940 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41941 ;;
41942 esac
41943 fi
41944 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41945 if test -n "$SDL_CONFIG"; then
41946 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41947 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41948 else
41949 { echo "$as_me:$LINENO: result: no" >&5
41950 echo "${ECHO_T}no" >&6; }
41951 fi
41952
41953
41954 min_sdl_version=1.2.0
41955 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41956 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41957 no_sdl=""
41958 if test "$SDL_CONFIG" = "no" ; then
41959 no_sdl=yes
41960 else
41961 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41962 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41963
41964 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41966 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41968 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41970 if test "x$enable_sdltest" = "xyes" ; then
41971 ac_save_CFLAGS="$CFLAGS"
41972 ac_save_CXXFLAGS="$CXXFLAGS"
41973 ac_save_LIBS="$LIBS"
41974 CFLAGS="$CFLAGS $SDL_CFLAGS"
41975 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41976 LIBS="$LIBS $SDL_LIBS"
41977 rm -f conf.sdltest
41978 if test "$cross_compiling" = yes; then
41979 echo $ac_n "cross compiling; assumed OK... $ac_c"
41980 else
41981 cat >conftest.$ac_ext <<_ACEOF
41982 /* confdefs.h. */
41983 _ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987
41988 #include <stdio.h>
41989 #include <stdlib.h>
41990 #include <string.h>
41991 #include "SDL.h"
41992
41993 char*
41994 my_strdup (char *str)
41995 {
41996 char *new_str;
41997
41998 if (str)
41999 {
42000 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42001 strcpy (new_str, str);
42002 }
42003 else
42004 new_str = NULL;
42005
42006 return new_str;
42007 }
42008
42009 int main (int argc, char *argv[])
42010 {
42011 int major, minor, micro;
42012 char *tmp_version;
42013
42014 /* This hangs on some systems (?)
42015 system ("touch conf.sdltest");
42016 */
42017 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42018
42019 /* HP/UX 9 (%@#!) writes to sscanf strings */
42020 tmp_version = my_strdup("$min_sdl_version");
42021 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42022 printf("%s, bad version string\n", "$min_sdl_version");
42023 exit(1);
42024 }
42025
42026 if (($sdl_major_version > major) ||
42027 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42028 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42029 {
42030 return 0;
42031 }
42032 else
42033 {
42034 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42035 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42036 printf("*** best to upgrade to the required version.\n");
42037 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42038 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42039 printf("*** config.cache before re-running configure\n");
42040 return 1;
42041 }
42042 }
42043
42044
42045 _ACEOF
42046 rm -f conftest$ac_exeext
42047 if { (ac_try="$ac_link"
42048 case "(($ac_try" in
42049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42051 esac
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_link") 2>&5
42054 ac_status=$?
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42057 { (case "(($ac_try" in
42058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42059 *) ac_try_echo=$ac_try;;
42060 esac
42061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42062 (eval "$ac_try") 2>&5
42063 ac_status=$?
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; }; then
42066 :
42067 else
42068 echo "$as_me: program exited with status $ac_status" >&5
42069 echo "$as_me: failed program was:" >&5
42070 sed 's/^/| /' conftest.$ac_ext >&5
42071
42072 ( exit $ac_status )
42073 no_sdl=yes
42074 fi
42075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42076 fi
42077
42078
42079 CFLAGS="$ac_save_CFLAGS"
42080 CXXFLAGS="$ac_save_CXXFLAGS"
42081 LIBS="$ac_save_LIBS"
42082 fi
42083 fi
42084 if test "x$no_sdl" = x ; then
42085 { echo "$as_me:$LINENO: result: yes" >&5
42086 echo "${ECHO_T}yes" >&6; }
42087
42088 EXTRALIBS_SDL="$SDL_LIBS"
42089 CFLAGS="$SDL_CFLAGS $CFLAGS"
42090 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42091 cat >>confdefs.h <<\_ACEOF
42092 #define wxUSE_LIBSDL 1
42093 _ACEOF
42094
42095
42096 else
42097 { echo "$as_me:$LINENO: result: no" >&5
42098 echo "${ECHO_T}no" >&6; }
42099 if test "$SDL_CONFIG" = "no" ; then
42100 echo "*** The sdl-config script installed by SDL could not be found"
42101 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42102 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42103 echo "*** full path to sdl-config."
42104 else
42105 if test -f conf.sdltest ; then
42106 :
42107 else
42108 echo "*** Could not run SDL test program, checking why..."
42109 CFLAGS="$CFLAGS $SDL_CFLAGS"
42110 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42111 LIBS="$LIBS $SDL_LIBS"
42112 cat >conftest.$ac_ext <<_ACEOF
42113 /* confdefs.h. */
42114 _ACEOF
42115 cat confdefs.h >>conftest.$ac_ext
42116 cat >>conftest.$ac_ext <<_ACEOF
42117 /* end confdefs.h. */
42118
42119 #include <stdio.h>
42120 #include "SDL.h"
42121
42122 int main(int argc, char *argv[])
42123 { return 0; }
42124 #undef main
42125 #define main K_and_R_C_main
42126
42127 int
42128 main ()
42129 {
42130 return 0;
42131 ;
42132 return 0;
42133 }
42134 _ACEOF
42135 rm -f conftest.$ac_objext conftest$ac_exeext
42136 if { (ac_try="$ac_link"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42140 esac
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_link") 2>conftest.er1
42143 ac_status=$?
42144 grep -v '^ *+' conftest.er1 >conftest.err
42145 rm -f conftest.er1
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_c_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest$ac_exeext &&
42152 $as_test_x conftest$ac_exeext; then
42153 echo "*** The test program compiled, but did not run. This usually means"
42154 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42155 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42156 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42157 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42158 echo "*** is required on your system"
42159 echo "***"
42160 echo "*** If you have an old version installed, it is best to remove it, although"
42161 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42162 else
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42165
42166 echo "*** The test program failed to compile or link. See the file config.log for the"
42167 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42168 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42169 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42170 fi
42171
42172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42173 conftest$ac_exeext conftest.$ac_ext
42174 CFLAGS="$ac_save_CFLAGS"
42175 CXXFLAGS="$ac_save_CXXFLAGS"
42176 LIBS="$ac_save_LIBS"
42177 fi
42178 fi
42179 SDL_CFLAGS=""
42180 SDL_LIBS=""
42181 wxUSE_LIBSDL="no"
42182 fi
42183
42184
42185 rm -f conf.sdltest
42186
42187 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42188 WITH_PLUGIN_SDL=1
42189 fi
42190 fi
42191 else
42192 if test "$wxUSE_MGL" = 1; then
42193 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42194 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42195 wxUSE_SOUND="no"
42196 fi
42197 fi
42198 fi
42199
42200 if test "$wxUSE_SOUND" = "yes"; then
42201 cat >>confdefs.h <<\_ACEOF
42202 #define wxUSE_SOUND 1
42203 _ACEOF
42204
42205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42206 fi
42207
42208 if test "$WXGTK2" = 1; then
42209
42210
42211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42212 if test -n "$ac_tool_prefix"; then
42213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42218 echo $ECHO_N "(cached) $ECHO_C" >&6
42219 else
42220 case $PKG_CONFIG in
42221 [\\/]* | ?:[\\/]*)
42222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42223 ;;
42224 *)
42225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42226 for as_dir in $PATH
42227 do
42228 IFS=$as_save_IFS
42229 test -z "$as_dir" && as_dir=.
42230 for ac_exec_ext in '' $ac_executable_extensions; do
42231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42234 break 2
42235 fi
42236 done
42237 done
42238 IFS=$as_save_IFS
42239
42240 ;;
42241 esac
42242 fi
42243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42244 if test -n "$PKG_CONFIG"; then
42245 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42246 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42247 else
42248 { echo "$as_me:$LINENO: result: no" >&5
42249 echo "${ECHO_T}no" >&6; }
42250 fi
42251
42252
42253 fi
42254 if test -z "$ac_cv_path_PKG_CONFIG"; then
42255 ac_pt_PKG_CONFIG=$PKG_CONFIG
42256 # Extract the first word of "pkg-config", so it can be a program name with args.
42257 set dummy pkg-config; ac_word=$2
42258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263 case $ac_pt_PKG_CONFIG in
42264 [\\/]* | ?:[\\/]*)
42265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42266 ;;
42267 *)
42268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42269 for as_dir in $PATH
42270 do
42271 IFS=$as_save_IFS
42272 test -z "$as_dir" && as_dir=.
42273 for ac_exec_ext in '' $ac_executable_extensions; do
42274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42275 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42277 break 2
42278 fi
42279 done
42280 done
42281 IFS=$as_save_IFS
42282
42283 ;;
42284 esac
42285 fi
42286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42287 if test -n "$ac_pt_PKG_CONFIG"; then
42288 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42289 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42290 else
42291 { echo "$as_me:$LINENO: result: no" >&5
42292 echo "${ECHO_T}no" >&6; }
42293 fi
42294
42295 if test "x$ac_pt_PKG_CONFIG" = x; then
42296 PKG_CONFIG=""
42297 else
42298 case $cross_compiling:$ac_tool_warned in
42299 yes:)
42300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42301 whose name does not start with the host triplet. If you think this
42302 configuration is useful to you, please write to autoconf@gnu.org." >&5
42303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42304 whose name does not start with the host triplet. If you think this
42305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42306 ac_tool_warned=yes ;;
42307 esac
42308 PKG_CONFIG=$ac_pt_PKG_CONFIG
42309 fi
42310 else
42311 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42312 fi
42313
42314 fi
42315 if test -n "$PKG_CONFIG"; then
42316 _pkg_min_version=0.9.0
42317 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42318 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42320 { echo "$as_me:$LINENO: result: yes" >&5
42321 echo "${ECHO_T}yes" >&6; }
42322 else
42323 { echo "$as_me:$LINENO: result: no" >&5
42324 echo "${ECHO_T}no" >&6; }
42325 PKG_CONFIG=""
42326 fi
42327
42328 fi
42329
42330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42331
42332 if test "$wxUSE_GTKPRINT" = "yes" ; then
42333
42334
42335 pkg_failed=no
42336 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42337 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42338
42339 if test -n "$PKG_CONFIG"; then
42340 if test -n "$GTKPRINT_CFLAGS"; then
42341 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42342 else
42343 if test -n "$PKG_CONFIG" && \
42344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42345 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; then
42349 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42350 else
42351 pkg_failed=yes
42352 fi
42353 fi
42354 else
42355 pkg_failed=untried
42356 fi
42357 if test -n "$PKG_CONFIG"; then
42358 if test -n "$GTKPRINT_LIBS"; then
42359 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42360 else
42361 if test -n "$PKG_CONFIG" && \
42362 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42363 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42364 ac_status=$?
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; then
42367 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42368 else
42369 pkg_failed=yes
42370 fi
42371 fi
42372 else
42373 pkg_failed=untried
42374 fi
42375
42376
42377
42378 if test $pkg_failed = yes; then
42379
42380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42381 _pkg_short_errors_supported=yes
42382 else
42383 _pkg_short_errors_supported=no
42384 fi
42385 if test $_pkg_short_errors_supported = yes; then
42386 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42387 else
42388 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42389 fi
42390 # Put the nasty error message in config.log where it belongs
42391 echo "$GTKPRINT_PKG_ERRORS" >&5
42392
42393
42394 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42395 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42396 wxUSE_GTKPRINT="no"
42397
42398
42399 elif test $pkg_failed = untried; then
42400
42401 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42402 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42403 wxUSE_GTKPRINT="no"
42404
42405
42406 else
42407 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42408 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42409 { echo "$as_me:$LINENO: result: yes" >&5
42410 echo "${ECHO_T}yes" >&6; }
42411
42412 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42413 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42414 cat >>confdefs.h <<\_ACEOF
42415 #define wxUSE_GTKPRINT 1
42416 _ACEOF
42417
42418
42419 fi
42420 fi
42421
42422 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42423
42424
42425 pkg_failed=no
42426 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42427 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42428
42429 if test -n "$PKG_CONFIG"; then
42430 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42431 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42432 else
42433 if test -n "$PKG_CONFIG" && \
42434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42435 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42436 ac_status=$?
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; then
42439 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42440 else
42441 pkg_failed=yes
42442 fi
42443 fi
42444 else
42445 pkg_failed=untried
42446 fi
42447 if test -n "$PKG_CONFIG"; then
42448 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42449 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42450 else
42451 if test -n "$PKG_CONFIG" && \
42452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42453 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42454 ac_status=$?
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); }; then
42457 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42458 else
42459 pkg_failed=yes
42460 fi
42461 fi
42462 else
42463 pkg_failed=untried
42464 fi
42465
42466
42467
42468 if test $pkg_failed = yes; then
42469
42470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42471 _pkg_short_errors_supported=yes
42472 else
42473 _pkg_short_errors_supported=no
42474 fi
42475 if test $_pkg_short_errors_supported = yes; then
42476 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42477 else
42478 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42479 fi
42480 # Put the nasty error message in config.log where it belongs
42481 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42482
42483
42484 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42485 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42486 wxUSE_LIBGNOMEPRINT="no"
42487
42488
42489 elif test $pkg_failed = untried; then
42490
42491 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42492 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42493 wxUSE_LIBGNOMEPRINT="no"
42494
42495
42496 else
42497 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42498 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42499 { echo "$as_me:$LINENO: result: yes" >&5
42500 echo "${ECHO_T}yes" >&6; }
42501
42502 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42503 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_LIBGNOMEPRINT 1
42506 _ACEOF
42507
42508
42509 fi
42510 fi
42511 fi
42512
42513 if test "$wxUSE_MIMETYPE" = "yes" ; then
42514 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42515
42516
42517 pkg_failed=no
42518 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42519 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42520
42521 if test -n "$PKG_CONFIG"; then
42522 if test -n "$GNOMEVFS_CFLAGS"; then
42523 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42524 else
42525 if test -n "$PKG_CONFIG" && \
42526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42527 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42528 ac_status=$?
42529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42530 (exit $ac_status); }; then
42531 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42532 else
42533 pkg_failed=yes
42534 fi
42535 fi
42536 else
42537 pkg_failed=untried
42538 fi
42539 if test -n "$PKG_CONFIG"; then
42540 if test -n "$GNOMEVFS_LIBS"; then
42541 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42542 else
42543 if test -n "$PKG_CONFIG" && \
42544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42545 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42546 ac_status=$?
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; then
42549 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42550 else
42551 pkg_failed=yes
42552 fi
42553 fi
42554 else
42555 pkg_failed=untried
42556 fi
42557
42558
42559
42560 if test $pkg_failed = yes; then
42561
42562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42563 _pkg_short_errors_supported=yes
42564 else
42565 _pkg_short_errors_supported=no
42566 fi
42567 if test $_pkg_short_errors_supported = yes; then
42568 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42569 else
42570 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42571 fi
42572 # Put the nasty error message in config.log where it belongs
42573 echo "$GNOMEVFS_PKG_ERRORS" >&5
42574
42575
42576 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42577 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42578 wxUSE_LIBGNOMEVFS="no"
42579
42580
42581 elif test $pkg_failed = untried; then
42582
42583 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42584 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42585 wxUSE_LIBGNOMEVFS="no"
42586
42587
42588 else
42589 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42590 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42591 { echo "$as_me:$LINENO: result: yes" >&5
42592 echo "${ECHO_T}yes" >&6; }
42593
42594 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42595 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42596 cat >>confdefs.h <<\_ACEOF
42597 #define wxUSE_LIBGNOMEVFS 1
42598 _ACEOF
42599
42600
42601 fi
42602 fi
42603 fi
42604
42605 if test "$wxUSE_LIBHILDON" = "yes" ; then
42606
42607 pkg_failed=no
42608 { echo "$as_me:$LINENO: checking for HILDON" >&5
42609 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42610
42611 if test -n "$PKG_CONFIG"; then
42612 if test -n "$HILDON_CFLAGS"; then
42613 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42614 else
42615 if test -n "$PKG_CONFIG" && \
42616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42617 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; then
42621 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42622 else
42623 pkg_failed=yes
42624 fi
42625 fi
42626 else
42627 pkg_failed=untried
42628 fi
42629 if test -n "$PKG_CONFIG"; then
42630 if test -n "$HILDON_LIBS"; then
42631 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42632 else
42633 if test -n "$PKG_CONFIG" && \
42634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42635 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42636 ac_status=$?
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; then
42639 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42640 else
42641 pkg_failed=yes
42642 fi
42643 fi
42644 else
42645 pkg_failed=untried
42646 fi
42647
42648
42649
42650 if test $pkg_failed = yes; then
42651
42652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42653 _pkg_short_errors_supported=yes
42654 else
42655 _pkg_short_errors_supported=no
42656 fi
42657 if test $_pkg_short_errors_supported = yes; then
42658 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42659 else
42660 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42661 fi
42662 # Put the nasty error message in config.log where it belongs
42663 echo "$HILDON_PKG_ERRORS" >&5
42664
42665
42666 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42667 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42668 wxUSE_LIBHILDON="no"
42669
42670
42671 elif test $pkg_failed = untried; then
42672
42673 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42674 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42675 wxUSE_LIBHILDON="no"
42676
42677
42678 else
42679 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42680 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42681 { echo "$as_me:$LINENO: result: yes" >&5
42682 echo "${ECHO_T}yes" >&6; }
42683
42684 EXTRALIBS_HILDON="$HILDON_LIBS"
42685 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42686 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42687 cat >>confdefs.h <<\_ACEOF
42688 #define wxUSE_LIBHILDON 1
42689 _ACEOF
42690
42691
42692 fi
42693 fi
42694 fi
42695
42696 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42697 cat >>confdefs.h <<\_ACEOF
42698 #define wxUSE_CMDLINE_PARSER 1
42699 _ACEOF
42700
42701 fi
42702
42703 if test "$wxUSE_STOPWATCH" = "yes"; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define wxUSE_STOPWATCH 1
42706 _ACEOF
42707
42708 fi
42709
42710 if test "$wxUSE_DATETIME" = "yes"; then
42711 cat >>confdefs.h <<\_ACEOF
42712 #define wxUSE_DATETIME 1
42713 _ACEOF
42714
42715 fi
42716
42717 if test "$wxUSE_FILE" = "yes"; then
42718 cat >>confdefs.h <<\_ACEOF
42719 #define wxUSE_FILE 1
42720 _ACEOF
42721
42722 fi
42723
42724 if test "$wxUSE_FFILE" = "yes"; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_FFILE 1
42727 _ACEOF
42728
42729 fi
42730
42731 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42732 if test "$wxUSE_STREAMS" != yes; then
42733 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42734 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42735 wxUSE_ARCHIVE_STREAMS=no
42736 else
42737 cat >>confdefs.h <<\_ACEOF
42738 #define wxUSE_ARCHIVE_STREAMS 1
42739 _ACEOF
42740
42741 fi
42742 fi
42743
42744 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42745 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42746 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42747 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42748 elif test "$wxUSE_ZLIB" = "no"; then
42749 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42750 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42751 else
42752 cat >>confdefs.h <<\_ACEOF
42753 #define wxUSE_ZIPSTREAM 1
42754 _ACEOF
42755
42756 fi
42757 fi
42758
42759 if test "$wxUSE_TARSTREAM" = "yes"; then
42760 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42761 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42762 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42763 else
42764 cat >>confdefs.h <<\_ACEOF
42765 #define wxUSE_TARSTREAM 1
42766 _ACEOF
42767
42768 fi
42769 fi
42770
42771 if test "$wxUSE_FILESYSTEM" = "yes"; then
42772 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42773 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42774 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42775 wxUSE_FILESYSTEM=no
42776 else
42777 cat >>confdefs.h <<\_ACEOF
42778 #define wxUSE_FILESYSTEM 1
42779 _ACEOF
42780
42781 fi
42782 fi
42783
42784 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42785 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42786 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42787 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42788 else
42789 cat >>confdefs.h <<\_ACEOF
42790 #define wxUSE_FS_ARCHIVE 1
42791 _ACEOF
42792
42793 fi
42794 fi
42795
42796 if test "$wxUSE_FS_ZIP" = "yes"; then
42797 if test "$wxUSE_FS_ARCHIVE" != yes; then
42798 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42799 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42800 else
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_FS_ZIP 1
42803 _ACEOF
42804
42805 fi
42806 fi
42807
42808 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42809 if test "$USE_UNIX" != 1; then
42810 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42811 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42812 wxUSE_ON_FATAL_EXCEPTION=no
42813 else
42814 cat >>confdefs.h <<\_ACEOF
42815 #define wxUSE_ON_FATAL_EXCEPTION 1
42816 _ACEOF
42817
42818 fi
42819 fi
42820
42821 if test "$wxUSE_STACKWALKER" = "yes"; then
42822 cat >>confdefs.h <<\_ACEOF
42823 #define wxUSE_STACKWALKER 1
42824 _ACEOF
42825
42826 fi
42827
42828 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42829 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42830 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42831 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42832 wxUSE_DEBUGREPORT=no
42833 else
42834 cat >>confdefs.h <<\_ACEOF
42835 #define wxUSE_DEBUGREPORT 1
42836 _ACEOF
42837
42838 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42840 fi
42841 fi
42842 fi
42843
42844 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42845 cat >>confdefs.h <<\_ACEOF
42846 #define wxUSE_SNGLINST_CHECKER 1
42847 _ACEOF
42848
42849 fi
42850
42851 if test "$wxUSE_BUSYINFO" = "yes"; then
42852 cat >>confdefs.h <<\_ACEOF
42853 #define wxUSE_BUSYINFO 1
42854 _ACEOF
42855
42856 fi
42857
42858 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42859 cat >>confdefs.h <<\_ACEOF
42860 #define wxUSE_STD_IOSTREAM 1
42861 _ACEOF
42862
42863 fi
42864
42865 if test "$wxUSE_STD_STRING" = "yes"; then
42866 cat >>confdefs.h <<\_ACEOF
42867 #define wxUSE_STD_STRING 1
42868 _ACEOF
42869
42870 fi
42871
42872 if test "$wxUSE_STDPATHS" = "yes"; then
42873 cat >>confdefs.h <<\_ACEOF
42874 #define wxUSE_STDPATHS 1
42875 _ACEOF
42876
42877 fi
42878
42879 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_TEXTBUFFER 1
42882 _ACEOF
42883
42884 fi
42885
42886 if test "$wxUSE_TEXTFILE" = "yes"; then
42887 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42888 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42889 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42890 else
42891 cat >>confdefs.h <<\_ACEOF
42892 #define wxUSE_TEXTFILE 1
42893 _ACEOF
42894
42895 fi
42896 fi
42897
42898 if test "$wxUSE_CONFIG" = "yes" ; then
42899 if test "$wxUSE_TEXTFILE" != "yes"; then
42900 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42901 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42902 else
42903 cat >>confdefs.h <<\_ACEOF
42904 #define wxUSE_CONFIG 1
42905 _ACEOF
42906
42907 cat >>confdefs.h <<\_ACEOF
42908 #define wxUSE_CONFIG_NATIVE 1
42909 _ACEOF
42910
42911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42912 fi
42913 fi
42914
42915 if test "$wxUSE_INTL" = "yes" ; then
42916 if test "$wxUSE_FILE" != "yes"; then
42917 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42918 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42919 else
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_INTL 1
42922 _ACEOF
42923
42924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42925 GUIDIST="$GUIDIST INTL_DIST"
42926 fi
42927 fi
42928
42929 if test "$wxUSE_XLOCALE" = "yes" ; then
42930 cat >>confdefs.h <<\_ACEOF
42931 #define wxUSE_XLOCALE 1
42932 _ACEOF
42933
42934 { echo "$as_me:$LINENO: checking for locale_t" >&5
42935 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
42936 if test "${ac_cv_type_locale_t+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42938 else
42939 cat >conftest.$ac_ext <<_ACEOF
42940 /* confdefs.h. */
42941 _ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42945 #include <xlocale.h>
42946 #include <locale.h>
42947
42948 typedef locale_t ac__type_new_;
42949 int
42950 main ()
42951 {
42952 if ((ac__type_new_ *) 0)
42953 return 0;
42954 if (sizeof (ac__type_new_))
42955 return 0;
42956 ;
42957 return 0;
42958 }
42959 _ACEOF
42960 rm -f conftest.$ac_objext
42961 if { (ac_try="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42965 esac
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42968 ac_status=$?
42969 grep -v '^ *+' conftest.er1 >conftest.err
42970 rm -f conftest.er1
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 ac_cv_type_locale_t=yes
42978 else
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42981
42982 ac_cv_type_locale_t=no
42983 fi
42984
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 fi
42987 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
42988 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
42989 if test $ac_cv_type_locale_t = yes; then
42990
42991 cat >>confdefs.h <<_ACEOF
42992 #define HAVE_LOCALE_T 1
42993 _ACEOF
42994
42995
42996 fi
42997
42998 fi
42999
43000 if test "$wxUSE_LOG" = "yes"; then
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_LOG 1
43003 _ACEOF
43004
43005
43006 if test "$wxUSE_LOGGUI" = "yes"; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_LOGGUI 1
43009 _ACEOF
43010
43011 fi
43012
43013 if test "$wxUSE_LOGWINDOW" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_LOGWINDOW 1
43016 _ACEOF
43017
43018 fi
43019
43020 if test "$wxUSE_LOGDIALOG" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_LOG_DIALOG 1
43023 _ACEOF
43024
43025 fi
43026
43027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43028 fi
43029
43030 if test "$wxUSE_LONGLONG" = "yes"; then
43031 cat >>confdefs.h <<\_ACEOF
43032 #define wxUSE_LONGLONG 1
43033 _ACEOF
43034
43035 fi
43036
43037 if test "$wxUSE_GEOMETRY" = "yes"; then
43038 cat >>confdefs.h <<\_ACEOF
43039 #define wxUSE_GEOMETRY 1
43040 _ACEOF
43041
43042 fi
43043
43044 if test "$wxUSE_BASE64" = "yes"; then
43045 cat >>confdefs.h <<\_ACEOF
43046 #define wxUSE_BASE64 1
43047 _ACEOF
43048
43049 fi
43050
43051 if test "$wxUSE_STREAMS" = "yes" ; then
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_STREAMS 1
43054 _ACEOF
43055
43056 fi
43057
43058 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43059 cat >>confdefs.h <<\_ACEOF
43060 #define wxUSE_PRINTF_POS_PARAMS 1
43061 _ACEOF
43062
43063 fi
43064
43065 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43066 cat >>confdefs.h <<\_ACEOF
43067 #define wxUSE_OBJC_UNIQUIFYING 1
43068 _ACEOF
43069
43070 fi
43071
43072
43073 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_CONSOLE_EVENTLOOP 1
43076 _ACEOF
43077
43078
43079 if test "$wxUSE_UNIX" = "yes"; then
43080 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43081 cat >>confdefs.h <<\_ACEOF
43082 #define wxUSE_SELECT_DISPATCHER 1
43083 _ACEOF
43084
43085 fi
43086
43087 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43088
43089 for ac_header in sys/epoll.h
43090 do
43091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43095 echo $ECHO_N "(cached) $ECHO_C" >&6
43096 else
43097 cat >conftest.$ac_ext <<_ACEOF
43098 /* confdefs.h. */
43099 _ACEOF
43100 cat confdefs.h >>conftest.$ac_ext
43101 cat >>conftest.$ac_ext <<_ACEOF
43102 /* end confdefs.h. */
43103 $ac_includes_default
43104
43105 #include <$ac_header>
43106 _ACEOF
43107 rm -f conftest.$ac_objext
43108 if { (ac_try="$ac_compile"
43109 case "(($ac_try" in
43110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43111 *) ac_try_echo=$ac_try;;
43112 esac
43113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43114 (eval "$ac_compile") 2>conftest.er1
43115 ac_status=$?
43116 grep -v '^ *+' conftest.er1 >conftest.err
43117 rm -f conftest.er1
43118 cat conftest.err >&5
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); } && {
43121 test -z "$ac_c_werror_flag" ||
43122 test ! -s conftest.err
43123 } && test -s conftest.$ac_objext; then
43124 eval "$as_ac_Header=yes"
43125 else
43126 echo "$as_me: failed program was:" >&5
43127 sed 's/^/| /' conftest.$ac_ext >&5
43128
43129 eval "$as_ac_Header=no"
43130 fi
43131
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 fi
43134 ac_res=`eval echo '${'$as_ac_Header'}'`
43135 { echo "$as_me:$LINENO: result: $ac_res" >&5
43136 echo "${ECHO_T}$ac_res" >&6; }
43137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43138 cat >>confdefs.h <<_ACEOF
43139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43140 _ACEOF
43141
43142 fi
43143
43144 done
43145
43146 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define wxUSE_EPOLL_DISPATCHER 1
43149 _ACEOF
43150
43151 else
43152 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43153 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43154 fi
43155 fi
43156 fi
43157 fi
43158
43159
43160
43161
43162 for ac_func in gettimeofday ftime
43163 do
43164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43168 echo $ECHO_N "(cached) $ECHO_C" >&6
43169 else
43170 cat >conftest.$ac_ext <<_ACEOF
43171 /* confdefs.h. */
43172 _ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43178 #define $ac_func innocuous_$ac_func
43179
43180 /* System header to define __stub macros and hopefully few prototypes,
43181 which can conflict with char $ac_func (); below.
43182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43183 <limits.h> exists even on freestanding compilers. */
43184
43185 #ifdef __STDC__
43186 # include <limits.h>
43187 #else
43188 # include <assert.h>
43189 #endif
43190
43191 #undef $ac_func
43192
43193 /* Override any GCC internal prototype to avoid an error.
43194 Use char because int might match the return type of a GCC
43195 builtin and then its argument prototype would still apply. */
43196 #ifdef __cplusplus
43197 extern "C"
43198 #endif
43199 char $ac_func ();
43200 /* The GNU C library defines this for functions which it implements
43201 to always fail with ENOSYS. Some functions are actually named
43202 something starting with __ and the normal name is an alias. */
43203 #if defined __stub_$ac_func || defined __stub___$ac_func
43204 choke me
43205 #endif
43206
43207 int
43208 main ()
43209 {
43210 return $ac_func ();
43211 ;
43212 return 0;
43213 }
43214 _ACEOF
43215 rm -f conftest.$ac_objext conftest$ac_exeext
43216 if { (ac_try="$ac_link"
43217 case "(($ac_try" in
43218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43219 *) ac_try_echo=$ac_try;;
43220 esac
43221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43222 (eval "$ac_link") 2>conftest.er1
43223 ac_status=$?
43224 grep -v '^ *+' conftest.er1 >conftest.err
43225 rm -f conftest.er1
43226 cat conftest.err >&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); } && {
43229 test -z "$ac_c_werror_flag" ||
43230 test ! -s conftest.err
43231 } && test -s conftest$ac_exeext &&
43232 $as_test_x conftest$ac_exeext; then
43233 eval "$as_ac_var=yes"
43234 else
43235 echo "$as_me: failed program was:" >&5
43236 sed 's/^/| /' conftest.$ac_ext >&5
43237
43238 eval "$as_ac_var=no"
43239 fi
43240
43241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43242 conftest$ac_exeext conftest.$ac_ext
43243 fi
43244 ac_res=`eval echo '${'$as_ac_var'}'`
43245 { echo "$as_me:$LINENO: result: $ac_res" >&5
43246 echo "${ECHO_T}$ac_res" >&6; }
43247 if test `eval echo '${'$as_ac_var'}'` = yes; then
43248 cat >>confdefs.h <<_ACEOF
43249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43250 _ACEOF
43251 break
43252 fi
43253 done
43254
43255
43256 if test "$ac_cv_func_gettimeofday" = "yes"; then
43257 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43258 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43259 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43260 echo $ECHO_N "(cached) $ECHO_C" >&6
43261 else
43262
43263 cat >conftest.$ac_ext <<_ACEOF
43264 /* confdefs.h. */
43265 _ACEOF
43266 cat confdefs.h >>conftest.$ac_ext
43267 cat >>conftest.$ac_ext <<_ACEOF
43268 /* end confdefs.h. */
43269
43270 #include <sys/time.h>
43271 #include <unistd.h>
43272
43273 int
43274 main ()
43275 {
43276
43277 struct timeval tv;
43278 gettimeofday(&tv, NULL);
43279
43280 ;
43281 return 0;
43282 }
43283 _ACEOF
43284 rm -f conftest.$ac_objext
43285 if { (ac_try="$ac_compile"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43288 *) ac_try_echo=$ac_try;;
43289 esac
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_compile") 2>conftest.er1
43292 ac_status=$?
43293 grep -v '^ *+' conftest.er1 >conftest.err
43294 rm -f conftest.er1
43295 cat conftest.err >&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_c_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest.$ac_objext; then
43301 wx_cv_func_gettimeofday_has_2_args=yes
43302 else
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43305
43306 cat >conftest.$ac_ext <<_ACEOF
43307 /* confdefs.h. */
43308 _ACEOF
43309 cat confdefs.h >>conftest.$ac_ext
43310 cat >>conftest.$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43312
43313 #include <sys/time.h>
43314 #include <unistd.h>
43315
43316 int
43317 main ()
43318 {
43319
43320 struct timeval tv;
43321 gettimeofday(&tv);
43322
43323 ;
43324 return 0;
43325 }
43326 _ACEOF
43327 rm -f conftest.$ac_objext
43328 if { (ac_try="$ac_compile"
43329 case "(($ac_try" in
43330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43331 *) ac_try_echo=$ac_try;;
43332 esac
43333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43334 (eval "$ac_compile") 2>conftest.er1
43335 ac_status=$?
43336 grep -v '^ *+' conftest.er1 >conftest.err
43337 rm -f conftest.er1
43338 cat conftest.err >&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && {
43341 test -z "$ac_c_werror_flag" ||
43342 test ! -s conftest.err
43343 } && test -s conftest.$ac_objext; then
43344 wx_cv_func_gettimeofday_has_2_args=no
43345 else
43346 echo "$as_me: failed program was:" >&5
43347 sed 's/^/| /' conftest.$ac_ext >&5
43348
43349
43350 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43351 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43352 wx_cv_func_gettimeofday_has_2_args=unknown
43353
43354
43355 fi
43356
43357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43358
43359 fi
43360
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43362
43363 fi
43364 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43365 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43366
43367 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43368 cat >>confdefs.h <<\_ACEOF
43369 #define WX_GETTIMEOFDAY_NO_TZ 1
43370 _ACEOF
43371
43372 fi
43373 fi
43374
43375 if test "$wxUSE_DATETIME" = "yes"; then
43376 { echo "$as_me:$LINENO: checking for strptime" >&5
43377 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43378 if test "${ac_cv_func_strptime+set}" = set; then
43379 echo $ECHO_N "(cached) $ECHO_C" >&6
43380 else
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43389 #define strptime innocuous_strptime
43390
43391 /* System header to define __stub macros and hopefully few prototypes,
43392 which can conflict with char strptime (); below.
43393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43394 <limits.h> exists even on freestanding compilers. */
43395
43396 #ifdef __STDC__
43397 # include <limits.h>
43398 #else
43399 # include <assert.h>
43400 #endif
43401
43402 #undef strptime
43403
43404 /* Override any GCC internal prototype to avoid an error.
43405 Use char because int might match the return type of a GCC
43406 builtin and then its argument prototype would still apply. */
43407 #ifdef __cplusplus
43408 extern "C"
43409 #endif
43410 char strptime ();
43411 /* The GNU C library defines this for functions which it implements
43412 to always fail with ENOSYS. Some functions are actually named
43413 something starting with __ and the normal name is an alias. */
43414 #if defined __stub_strptime || defined __stub___strptime
43415 choke me
43416 #endif
43417
43418 int
43419 main ()
43420 {
43421 return strptime ();
43422 ;
43423 return 0;
43424 }
43425 _ACEOF
43426 rm -f conftest.$ac_objext conftest$ac_exeext
43427 if { (ac_try="$ac_link"
43428 case "(($ac_try" in
43429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43430 *) ac_try_echo=$ac_try;;
43431 esac
43432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43433 (eval "$ac_link") 2>conftest.er1
43434 ac_status=$?
43435 grep -v '^ *+' conftest.er1 >conftest.err
43436 rm -f conftest.er1
43437 cat conftest.err >&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } && {
43440 test -z "$ac_c_werror_flag" ||
43441 test ! -s conftest.err
43442 } && test -s conftest$ac_exeext &&
43443 $as_test_x conftest$ac_exeext; then
43444 ac_cv_func_strptime=yes
43445 else
43446 echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 ac_cv_func_strptime=no
43450 fi
43451
43452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43453 conftest$ac_exeext conftest.$ac_ext
43454 fi
43455 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43456 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43457
43458 if test "$ac_cv_func_strptime" = "yes"; then
43459 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43460 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43461 if test "${wx_cv_func_strptime_decl+set}" = set; then
43462 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 else
43464
43465 ac_ext=cpp
43466 ac_cpp='$CXXCPP $CPPFLAGS'
43467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43470
43471 cat >conftest.$ac_ext <<_ACEOF
43472 /* confdefs.h. */
43473 _ACEOF
43474 cat confdefs.h >>conftest.$ac_ext
43475 cat >>conftest.$ac_ext <<_ACEOF
43476 /* end confdefs.h. */
43477
43478 #include <time.h>
43479
43480 int
43481 main ()
43482 {
43483
43484 struct tm t;
43485 strptime("foo", "bar", &t);
43486
43487 ;
43488 return 0;
43489 }
43490 _ACEOF
43491 rm -f conftest.$ac_objext
43492 if { (ac_try="$ac_compile"
43493 case "(($ac_try" in
43494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43495 *) ac_try_echo=$ac_try;;
43496 esac
43497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43498 (eval "$ac_compile") 2>conftest.er1
43499 ac_status=$?
43500 grep -v '^ *+' conftest.er1 >conftest.err
43501 rm -f conftest.er1
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } && {
43505 test -z "$ac_cxx_werror_flag" ||
43506 test ! -s conftest.err
43507 } && test -s conftest.$ac_objext; then
43508 wx_cv_func_strptime_decl=yes
43509 else
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.$ac_ext >&5
43512
43513 wx_cv_func_strptime_decl=no
43514
43515 fi
43516
43517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43518 ac_ext=c
43519 ac_cpp='$CPP $CPPFLAGS'
43520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43523
43524
43525
43526 fi
43527 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43528 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43529 fi
43530 if test "$wx_cv_func_strptime_decl" = "yes"; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define HAVE_STRPTIME_DECL 1
43533 _ACEOF
43534
43535 else
43536 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43537 fi
43538 if test "$ac_cv_func_strptime" = "yes"; then
43539 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43540 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43541 if test "${wx_cv_func_strptime_ok+set}" = set; then
43542 echo $ECHO_N "(cached) $ECHO_C" >&6
43543 else
43544 if test "$cross_compiling" = yes; then
43545 wx_cv_func_strptime_ok=no
43546
43547 else
43548 cat >conftest.$ac_ext <<_ACEOF
43549
43550 #include <stdlib.h>
43551 #include <time.h>
43552 #include "confdefs.h"
43553
43554 $wx_strptime_decl
43555
43556 int main()
43557 {
43558 struct tm t;
43559 return !!strptime("", "%x", &t);
43560 }
43561
43562 _ACEOF
43563 rm -f conftest$ac_exeext
43564 if { (ac_try="$ac_link"
43565 case "(($ac_try" in
43566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43567 *) ac_try_echo=$ac_try;;
43568 esac
43569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43570 (eval "$ac_link") 2>&5
43571 ac_status=$?
43572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
43580 ac_status=$?
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); }; }; then
43583 wx_cv_func_strptime_ok=yes
43584 else
43585 echo "$as_me: program exited with status $ac_status" >&5
43586 echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.$ac_ext >&5
43588
43589 ( exit $ac_status )
43590 wx_cv_func_strptime_ok=no
43591 fi
43592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43593 fi
43594
43595
43596
43597 fi
43598 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43599 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43600
43601 if test "$wx_cv_func_strptime_ok" = "yes"; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define HAVE_STRPTIME 1
43604 _ACEOF
43605
43606 fi
43607 fi
43608
43609 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43610 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43611 if test "${wx_cv_var_timezone+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43614
43615 ac_ext=cpp
43616 ac_cpp='$CXXCPP $CPPFLAGS'
43617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43620
43621 cat >conftest.$ac_ext <<_ACEOF
43622 /* confdefs.h. */
43623 _ACEOF
43624 cat confdefs.h >>conftest.$ac_ext
43625 cat >>conftest.$ac_ext <<_ACEOF
43626 /* end confdefs.h. */
43627
43628 #include <time.h>
43629
43630 int
43631 main ()
43632 {
43633
43634 int tz;
43635 tz = timezone;
43636
43637 ;
43638 return 0;
43639 }
43640 _ACEOF
43641 rm -f conftest.$ac_objext
43642 if { (ac_try="$ac_compile"
43643 case "(($ac_try" in
43644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43645 *) ac_try_echo=$ac_try;;
43646 esac
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_compile") 2>conftest.er1
43649 ac_status=$?
43650 grep -v '^ *+' conftest.er1 >conftest.err
43651 rm -f conftest.er1
43652 cat conftest.err >&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } && {
43655 test -z "$ac_cxx_werror_flag" ||
43656 test ! -s conftest.err
43657 } && test -s conftest.$ac_objext; then
43658
43659 wx_cv_var_timezone=timezone
43660
43661 else
43662 echo "$as_me: failed program was:" >&5
43663 sed 's/^/| /' conftest.$ac_ext >&5
43664
43665
43666 cat >conftest.$ac_ext <<_ACEOF
43667 /* confdefs.h. */
43668 _ACEOF
43669 cat confdefs.h >>conftest.$ac_ext
43670 cat >>conftest.$ac_ext <<_ACEOF
43671 /* end confdefs.h. */
43672
43673 #include <time.h>
43674
43675 int
43676 main ()
43677 {
43678
43679 int tz;
43680 tz = _timezone;
43681
43682 ;
43683 return 0;
43684 }
43685 _ACEOF
43686 rm -f conftest.$ac_objext
43687 if { (ac_try="$ac_compile"
43688 case "(($ac_try" in
43689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43690 *) ac_try_echo=$ac_try;;
43691 esac
43692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43693 (eval "$ac_compile") 2>conftest.er1
43694 ac_status=$?
43695 grep -v '^ *+' conftest.er1 >conftest.err
43696 rm -f conftest.er1
43697 cat conftest.err >&5
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); } && {
43700 test -z "$ac_cxx_werror_flag" ||
43701 test ! -s conftest.err
43702 } && test -s conftest.$ac_objext; then
43703
43704 wx_cv_var_timezone=_timezone
43705
43706 else
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43709
43710
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h. */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h. */
43717
43718 #include <time.h>
43719
43720 int
43721 main ()
43722 {
43723
43724 int tz;
43725 tz = __timezone;
43726
43727 ;
43728 return 0;
43729 }
43730 _ACEOF
43731 rm -f conftest.$ac_objext
43732 if { (ac_try="$ac_compile"
43733 case "(($ac_try" in
43734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43735 *) ac_try_echo=$ac_try;;
43736 esac
43737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43738 (eval "$ac_compile") 2>conftest.er1
43739 ac_status=$?
43740 grep -v '^ *+' conftest.er1 >conftest.err
43741 rm -f conftest.er1
43742 cat conftest.err >&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); } && {
43745 test -z "$ac_cxx_werror_flag" ||
43746 test ! -s conftest.err
43747 } && test -s conftest.$ac_objext; then
43748
43749 wx_cv_var_timezone=__timezone
43750
43751 else
43752 echo "$as_me: failed program was:" >&5
43753 sed 's/^/| /' conftest.$ac_ext >&5
43754
43755
43756 if test "$USE_DOS" = 0 ; then
43757 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43758 echo "$as_me: WARNING: no timezone variable" >&2;}
43759 fi
43760
43761
43762 fi
43763
43764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43765
43766
43767 fi
43768
43769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43770
43771
43772 fi
43773
43774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775 ac_ext=c
43776 ac_cpp='$CPP $CPPFLAGS'
43777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43780
43781
43782
43783 fi
43784 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43785 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43786
43787 if test "x$wx_cv_var_timezone" != x ; then
43788 cat >>confdefs.h <<_ACEOF
43789 #define WX_TIMEZONE $wx_cv_var_timezone
43790 _ACEOF
43791
43792 fi
43793
43794
43795 for ac_func in localtime
43796 do
43797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43801 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 else
43803 cat >conftest.$ac_ext <<_ACEOF
43804 /* confdefs.h. */
43805 _ACEOF
43806 cat confdefs.h >>conftest.$ac_ext
43807 cat >>conftest.$ac_ext <<_ACEOF
43808 /* end confdefs.h. */
43809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43811 #define $ac_func innocuous_$ac_func
43812
43813 /* System header to define __stub macros and hopefully few prototypes,
43814 which can conflict with char $ac_func (); below.
43815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43816 <limits.h> exists even on freestanding compilers. */
43817
43818 #ifdef __STDC__
43819 # include <limits.h>
43820 #else
43821 # include <assert.h>
43822 #endif
43823
43824 #undef $ac_func
43825
43826 /* Override any GCC internal prototype to avoid an error.
43827 Use char because int might match the return type of a GCC
43828 builtin and then its argument prototype would still apply. */
43829 #ifdef __cplusplus
43830 extern "C"
43831 #endif
43832 char $ac_func ();
43833 /* The GNU C library defines this for functions which it implements
43834 to always fail with ENOSYS. Some functions are actually named
43835 something starting with __ and the normal name is an alias. */
43836 #if defined __stub_$ac_func || defined __stub___$ac_func
43837 choke me
43838 #endif
43839
43840 int
43841 main ()
43842 {
43843 return $ac_func ();
43844 ;
43845 return 0;
43846 }
43847 _ACEOF
43848 rm -f conftest.$ac_objext conftest$ac_exeext
43849 if { (ac_try="$ac_link"
43850 case "(($ac_try" in
43851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43852 *) ac_try_echo=$ac_try;;
43853 esac
43854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43855 (eval "$ac_link") 2>conftest.er1
43856 ac_status=$?
43857 grep -v '^ *+' conftest.er1 >conftest.err
43858 rm -f conftest.er1
43859 cat conftest.err >&5
43860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43861 (exit $ac_status); } && {
43862 test -z "$ac_c_werror_flag" ||
43863 test ! -s conftest.err
43864 } && test -s conftest$ac_exeext &&
43865 $as_test_x conftest$ac_exeext; then
43866 eval "$as_ac_var=yes"
43867 else
43868 echo "$as_me: failed program was:" >&5
43869 sed 's/^/| /' conftest.$ac_ext >&5
43870
43871 eval "$as_ac_var=no"
43872 fi
43873
43874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43875 conftest$ac_exeext conftest.$ac_ext
43876 fi
43877 ac_res=`eval echo '${'$as_ac_var'}'`
43878 { echo "$as_me:$LINENO: result: $ac_res" >&5
43879 echo "${ECHO_T}$ac_res" >&6; }
43880 if test `eval echo '${'$as_ac_var'}'` = yes; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43883 _ACEOF
43884
43885 fi
43886 done
43887
43888
43889 if test "$ac_cv_func_localtime" = "yes"; then
43890 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43891 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43892 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43895
43896 cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h. */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43902
43903 #include <time.h>
43904
43905 int
43906 main ()
43907 {
43908
43909 struct tm tm;
43910 tm.tm_gmtoff++;
43911
43912 ;
43913 return 0;
43914 }
43915 _ACEOF
43916 rm -f conftest.$ac_objext
43917 if { (ac_try="$ac_compile"
43918 case "(($ac_try" in
43919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43920 *) ac_try_echo=$ac_try;;
43921 esac
43922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43923 (eval "$ac_compile") 2>conftest.er1
43924 ac_status=$?
43925 grep -v '^ *+' conftest.er1 >conftest.err
43926 rm -f conftest.er1
43927 cat conftest.err >&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); } && {
43930 test -z "$ac_c_werror_flag" ||
43931 test ! -s conftest.err
43932 } && test -s conftest.$ac_objext; then
43933
43934 wx_cv_struct_tm_has_gmtoff=yes
43935
43936 else
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43939
43940 wx_cv_struct_tm_has_gmtoff=no
43941
43942 fi
43943
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945
43946 fi
43947 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43948 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43949 fi
43950
43951 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define WX_GMTOFF_IN_TM 1
43954 _ACEOF
43955
43956 fi
43957
43958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43959 fi
43960
43961
43962 if test "$wxUSE_SOCKETS" = "yes"; then
43963 if test "$wxUSE_MGL" = 1; then
43964 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43965 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43966 wxUSE_SOCKETS="no"
43967 fi
43968 fi
43969
43970 if test "$wxUSE_SOCKETS" = "yes"; then
43971 if test "$TOOLKIT" != "MSW"; then
43972 { echo "$as_me:$LINENO: checking for socket" >&5
43973 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43974 if test "${ac_cv_func_socket+set}" = set; then
43975 echo $ECHO_N "(cached) $ECHO_C" >&6
43976 else
43977 cat >conftest.$ac_ext <<_ACEOF
43978 /* confdefs.h. */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43983 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43985 #define socket innocuous_socket
43986
43987 /* System header to define __stub macros and hopefully few prototypes,
43988 which can conflict with char socket (); below.
43989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43990 <limits.h> exists even on freestanding compilers. */
43991
43992 #ifdef __STDC__
43993 # include <limits.h>
43994 #else
43995 # include <assert.h>
43996 #endif
43997
43998 #undef socket
43999
44000 /* Override any GCC internal prototype to avoid an error.
44001 Use char because int might match the return type of a GCC
44002 builtin and then its argument prototype would still apply. */
44003 #ifdef __cplusplus
44004 extern "C"
44005 #endif
44006 char socket ();
44007 /* The GNU C library defines this for functions which it implements
44008 to always fail with ENOSYS. Some functions are actually named
44009 something starting with __ and the normal name is an alias. */
44010 #if defined __stub_socket || defined __stub___socket
44011 choke me
44012 #endif
44013
44014 int
44015 main ()
44016 {
44017 return socket ();
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext conftest$ac_exeext
44023 if { (ac_try="$ac_link"
44024 case "(($ac_try" in
44025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44026 *) ac_try_echo=$ac_try;;
44027 esac
44028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44029 (eval "$ac_link") 2>conftest.er1
44030 ac_status=$?
44031 grep -v '^ *+' conftest.er1 >conftest.err
44032 rm -f conftest.er1
44033 cat conftest.err >&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); } && {
44036 test -z "$ac_c_werror_flag" ||
44037 test ! -s conftest.err
44038 } && test -s conftest$ac_exeext &&
44039 $as_test_x conftest$ac_exeext; then
44040 ac_cv_func_socket=yes
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 ac_cv_func_socket=no
44046 fi
44047
44048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44049 conftest$ac_exeext conftest.$ac_ext
44050 fi
44051 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44052 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44053 if test $ac_cv_func_socket = yes; then
44054 :
44055 else
44056
44057 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44058 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44059 if test "${ac_cv_lib_socket_socket+set}" = set; then
44060 echo $ECHO_N "(cached) $ECHO_C" >&6
44061 else
44062 ac_check_lib_save_LIBS=$LIBS
44063 LIBS="-lsocket $LIBS"
44064 cat >conftest.$ac_ext <<_ACEOF
44065 /* confdefs.h. */
44066 _ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44070
44071 /* Override any GCC internal prototype to avoid an error.
44072 Use char because int might match the return type of a GCC
44073 builtin and then its argument prototype would still apply. */
44074 #ifdef __cplusplus
44075 extern "C"
44076 #endif
44077 char socket ();
44078 int
44079 main ()
44080 {
44081 return socket ();
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 rm -f conftest.$ac_objext conftest$ac_exeext
44087 if { (ac_try="$ac_link"
44088 case "(($ac_try" in
44089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44090 *) ac_try_echo=$ac_try;;
44091 esac
44092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44093 (eval "$ac_link") 2>conftest.er1
44094 ac_status=$?
44095 grep -v '^ *+' conftest.er1 >conftest.err
44096 rm -f conftest.er1
44097 cat conftest.err >&5
44098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099 (exit $ac_status); } && {
44100 test -z "$ac_c_werror_flag" ||
44101 test ! -s conftest.err
44102 } && test -s conftest$ac_exeext &&
44103 $as_test_x conftest$ac_exeext; then
44104 ac_cv_lib_socket_socket=yes
44105 else
44106 echo "$as_me: failed program was:" >&5
44107 sed 's/^/| /' conftest.$ac_ext >&5
44108
44109 ac_cv_lib_socket_socket=no
44110 fi
44111
44112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44113 conftest$ac_exeext conftest.$ac_ext
44114 LIBS=$ac_check_lib_save_LIBS
44115 fi
44116 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44117 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44118 if test $ac_cv_lib_socket_socket = yes; then
44119 if test "$INET_LINK" != " -lsocket"; then
44120 INET_LINK="$INET_LINK -lsocket"
44121 fi
44122 else
44123
44124 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44125 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44126 wxUSE_SOCKETS=no
44127
44128
44129 fi
44130
44131
44132
44133 fi
44134
44135 fi
44136 fi
44137
44138 if test "$wxUSE_SOCKETS" = "yes" ; then
44139 if test "$TOOLKIT" != "MSW"; then
44140 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44141 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44142 if test "${wx_cv_type_getsockname3+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 else
44145
44146 ac_ext=cpp
44147 ac_cpp='$CXXCPP $CPPFLAGS'
44148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44151
44152 cat >conftest.$ac_ext <<_ACEOF
44153 /* confdefs.h. */
44154 _ACEOF
44155 cat confdefs.h >>conftest.$ac_ext
44156 cat >>conftest.$ac_ext <<_ACEOF
44157 /* end confdefs.h. */
44158
44159 #include <sys/types.h>
44160 #include <sys/socket.h>
44161
44162 int
44163 main ()
44164 {
44165
44166 socklen_t len;
44167 getsockname(0, 0, &len);
44168
44169 ;
44170 return 0;
44171 }
44172 _ACEOF
44173 rm -f conftest.$ac_objext
44174 if { (ac_try="$ac_compile"
44175 case "(($ac_try" in
44176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44177 *) ac_try_echo=$ac_try;;
44178 esac
44179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44180 (eval "$ac_compile") 2>conftest.er1
44181 ac_status=$?
44182 grep -v '^ *+' conftest.er1 >conftest.err
44183 rm -f conftest.er1
44184 cat conftest.err >&5
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); } && {
44187 test -z "$ac_cxx_werror_flag" ||
44188 test ! -s conftest.err
44189 } && test -s conftest.$ac_objext; then
44190 wx_cv_type_getsockname3=socklen_t
44191 else
44192 echo "$as_me: failed program was:" >&5
44193 sed 's/^/| /' conftest.$ac_ext >&5
44194
44195
44196 CFLAGS_OLD="$CFLAGS"
44197 if test "$GCC" = yes ; then
44198 CFLAGS="-Werror $CFLAGS"
44199 fi
44200
44201 cat >conftest.$ac_ext <<_ACEOF
44202 /* confdefs.h. */
44203 _ACEOF
44204 cat confdefs.h >>conftest.$ac_ext
44205 cat >>conftest.$ac_ext <<_ACEOF
44206 /* end confdefs.h. */
44207
44208 #include <sys/types.h>
44209 #include <sys/socket.h>
44210
44211 int
44212 main ()
44213 {
44214
44215 size_t len;
44216 getsockname(0, 0, &len);
44217
44218 ;
44219 return 0;
44220 }
44221 _ACEOF
44222 rm -f conftest.$ac_objext
44223 if { (ac_try="$ac_compile"
44224 case "(($ac_try" in
44225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44226 *) ac_try_echo=$ac_try;;
44227 esac
44228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44229 (eval "$ac_compile") 2>conftest.er1
44230 ac_status=$?
44231 grep -v '^ *+' conftest.er1 >conftest.err
44232 rm -f conftest.er1
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } && {
44236 test -z "$ac_cxx_werror_flag" ||
44237 test ! -s conftest.err
44238 } && test -s conftest.$ac_objext; then
44239 wx_cv_type_getsockname3=size_t
44240 else
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44243
44244 cat >conftest.$ac_ext <<_ACEOF
44245 /* confdefs.h. */
44246 _ACEOF
44247 cat confdefs.h >>conftest.$ac_ext
44248 cat >>conftest.$ac_ext <<_ACEOF
44249 /* end confdefs.h. */
44250
44251 #include <sys/types.h>
44252 #include <sys/socket.h>
44253
44254 int
44255 main ()
44256 {
44257
44258 int len;
44259 getsockname(0, 0, &len);
44260
44261 ;
44262 return 0;
44263 }
44264 _ACEOF
44265 rm -f conftest.$ac_objext
44266 if { (ac_try="$ac_compile"
44267 case "(($ac_try" in
44268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44269 *) ac_try_echo=$ac_try;;
44270 esac
44271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44272 (eval "$ac_compile") 2>conftest.er1
44273 ac_status=$?
44274 grep -v '^ *+' conftest.er1 >conftest.err
44275 rm -f conftest.er1
44276 cat conftest.err >&5
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); } && {
44279 test -z "$ac_cxx_werror_flag" ||
44280 test ! -s conftest.err
44281 } && test -s conftest.$ac_objext; then
44282 wx_cv_type_getsockname3=int
44283 else
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.$ac_ext >&5
44286
44287 wx_cv_type_getsockname3=unknown
44288
44289 fi
44290
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292
44293 fi
44294
44295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44296
44297 CFLAGS="$CFLAGS_OLD"
44298
44299
44300 fi
44301
44302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44303 ac_ext=c
44304 ac_cpp='$CPP $CPPFLAGS'
44305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44308
44309
44310 fi
44311 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44312 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44313
44314 if test "$wx_cv_type_getsockname3" = "unknown"; then
44315 wxUSE_SOCKETS=no
44316 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44317 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44318 else
44319 cat >>confdefs.h <<_ACEOF
44320 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44321 _ACEOF
44322
44323 fi
44324 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44325 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44326 if test "${wx_cv_type_getsockopt5+set}" = set; then
44327 echo $ECHO_N "(cached) $ECHO_C" >&6
44328 else
44329
44330 ac_ext=cpp
44331 ac_cpp='$CXXCPP $CPPFLAGS'
44332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44335
44336 cat >conftest.$ac_ext <<_ACEOF
44337 /* confdefs.h. */
44338 _ACEOF
44339 cat confdefs.h >>conftest.$ac_ext
44340 cat >>conftest.$ac_ext <<_ACEOF
44341 /* end confdefs.h. */
44342
44343 #include <sys/types.h>
44344 #include <sys/socket.h>
44345
44346 int
44347 main ()
44348 {
44349
44350 socklen_t len;
44351 getsockopt(0, 0, 0, 0, &len);
44352
44353 ;
44354 return 0;
44355 }
44356 _ACEOF
44357 rm -f conftest.$ac_objext
44358 if { (ac_try="$ac_compile"
44359 case "(($ac_try" in
44360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44361 *) ac_try_echo=$ac_try;;
44362 esac
44363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44364 (eval "$ac_compile") 2>conftest.er1
44365 ac_status=$?
44366 grep -v '^ *+' conftest.er1 >conftest.err
44367 rm -f conftest.er1
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } && {
44371 test -z "$ac_cxx_werror_flag" ||
44372 test ! -s conftest.err
44373 } && test -s conftest.$ac_objext; then
44374 wx_cv_type_getsockopt5=socklen_t
44375 else
44376 echo "$as_me: failed program was:" >&5
44377 sed 's/^/| /' conftest.$ac_ext >&5
44378
44379
44380 cat >conftest.$ac_ext <<_ACEOF
44381 /* confdefs.h. */
44382 _ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44386
44387 #include <sys/types.h>
44388 #include <sys/socket.h>
44389
44390 int
44391 main ()
44392 {
44393
44394 size_t len;
44395 getsockopt(0, 0, 0, 0, &len);
44396
44397 ;
44398 return 0;
44399 }
44400 _ACEOF
44401 rm -f conftest.$ac_objext
44402 if { (ac_try="$ac_compile"
44403 case "(($ac_try" in
44404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44405 *) ac_try_echo=$ac_try;;
44406 esac
44407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44408 (eval "$ac_compile") 2>conftest.er1
44409 ac_status=$?
44410 grep -v '^ *+' conftest.er1 >conftest.err
44411 rm -f conftest.er1
44412 cat conftest.err >&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); } && {
44415 test -z "$ac_cxx_werror_flag" ||
44416 test ! -s conftest.err
44417 } && test -s conftest.$ac_objext; then
44418 wx_cv_type_getsockopt5=size_t
44419 else
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.$ac_ext >&5
44422
44423 cat >conftest.$ac_ext <<_ACEOF
44424 /* confdefs.h. */
44425 _ACEOF
44426 cat confdefs.h >>conftest.$ac_ext
44427 cat >>conftest.$ac_ext <<_ACEOF
44428 /* end confdefs.h. */
44429
44430 #include <sys/types.h>
44431 #include <sys/socket.h>
44432
44433 int
44434 main ()
44435 {
44436
44437 int len;
44438 getsockopt(0, 0, 0, 0, &len);
44439
44440 ;
44441 return 0;
44442 }
44443 _ACEOF
44444 rm -f conftest.$ac_objext
44445 if { (ac_try="$ac_compile"
44446 case "(($ac_try" in
44447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44448 *) ac_try_echo=$ac_try;;
44449 esac
44450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44451 (eval "$ac_compile") 2>conftest.er1
44452 ac_status=$?
44453 grep -v '^ *+' conftest.er1 >conftest.err
44454 rm -f conftest.er1
44455 cat conftest.err >&5
44456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457 (exit $ac_status); } && {
44458 test -z "$ac_cxx_werror_flag" ||
44459 test ! -s conftest.err
44460 } && test -s conftest.$ac_objext; then
44461 wx_cv_type_getsockopt5=int
44462 else
44463 echo "$as_me: failed program was:" >&5
44464 sed 's/^/| /' conftest.$ac_ext >&5
44465
44466 wx_cv_type_getsockopt5=unknown
44467
44468 fi
44469
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471
44472 fi
44473
44474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44475
44476
44477 fi
44478
44479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44480 ac_ext=c
44481 ac_cpp='$CPP $CPPFLAGS'
44482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44485
44486
44487 fi
44488 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44489 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44490
44491 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44492 wxUSE_SOCKETS=no
44493 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44494 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44495 else
44496 cat >>confdefs.h <<_ACEOF
44497 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44498 _ACEOF
44499
44500 fi
44501 fi
44502 fi
44503
44504 if test "$wxUSE_SOCKETS" = "yes" ; then
44505 if test "$wxUSE_IPV6" = "yes"; then
44506 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44507 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44508 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 else
44511
44512 cat >conftest.$ac_ext <<_ACEOF
44513 /* confdefs.h. */
44514 _ACEOF
44515 cat confdefs.h >>conftest.$ac_ext
44516 cat >>conftest.$ac_ext <<_ACEOF
44517 /* end confdefs.h. */
44518
44519 #include <sys/types.h>
44520 #include <sys/socket.h>
44521 #include <netinet/in.h>
44522
44523 int
44524 main ()
44525 {
44526
44527 struct sockaddr_in6 sa6;
44528
44529 ;
44530 return 0;
44531 }
44532 _ACEOF
44533 rm -f conftest.$ac_objext
44534 if { (ac_try="$ac_compile"
44535 case "(($ac_try" in
44536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44537 *) ac_try_echo=$ac_try;;
44538 esac
44539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44540 (eval "$ac_compile") 2>conftest.er1
44541 ac_status=$?
44542 grep -v '^ *+' conftest.er1 >conftest.err
44543 rm -f conftest.er1
44544 cat conftest.err >&5
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); } && {
44547 test -z "$ac_c_werror_flag" ||
44548 test ! -s conftest.err
44549 } && test -s conftest.$ac_objext; then
44550 wx_cv_type_sockaddr_in6=yes
44551 else
44552 echo "$as_me: failed program was:" >&5
44553 sed 's/^/| /' conftest.$ac_ext >&5
44554
44555 wx_cv_type_sockaddr_in6=no
44556
44557 fi
44558
44559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44560
44561
44562 fi
44563 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44564 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44565
44566 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_IPV6 1
44569 _ACEOF
44570
44571 else
44572 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44573 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44574 fi
44575 fi
44576
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_SOCKETS 1
44579 _ACEOF
44580
44581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44582 fi
44583
44584 if test "$wxUSE_PROTOCOL" = "yes"; then
44585 if test "$wxUSE_SOCKETS" != "yes"; then
44586 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44587 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44588 wxUSE_PROTOCOL=no
44589 fi
44590 fi
44591
44592 if test "$wxUSE_PROTOCOL" = "yes"; then
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_PROTOCOL 1
44595 _ACEOF
44596
44597
44598 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_PROTOCOL_HTTP 1
44601 _ACEOF
44602
44603 fi
44604 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define wxUSE_PROTOCOL_FTP 1
44607 _ACEOF
44608
44609 fi
44610 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44611 cat >>confdefs.h <<\_ACEOF
44612 #define wxUSE_PROTOCOL_FILE 1
44613 _ACEOF
44614
44615 fi
44616 else
44617 if test "$wxUSE_FS_INET" = "yes"; then
44618 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44619 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44620 wxUSE_FS_INET="no"
44621 fi
44622 fi
44623
44624 if test "$wxUSE_URL" = "yes"; then
44625 if test "$wxUSE_PROTOCOL" != "yes"; then
44626 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44627 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44628 wxUSE_URL=no
44629 fi
44630 if test "$wxUSE_URL" = "yes"; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_URL 1
44633 _ACEOF
44634
44635 fi
44636 fi
44637
44638 if test "$wxUSE_VARIANT" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_VARIANT 1
44641 _ACEOF
44642
44643 fi
44644
44645 if test "$wxUSE_FS_INET" = "yes"; then
44646 cat >>confdefs.h <<\_ACEOF
44647 #define wxUSE_FS_INET 1
44648 _ACEOF
44649
44650 fi
44651
44652
44653 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44654 wxUSE_JOYSTICK=no
44655
44656 if test "$TOOLKIT" = "MSW"; then
44657 wxUSE_JOYSTICK=yes
44658
44659 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44660 if test "$USE_DARWIN" = 1; then
44661 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44662 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44663 ac_ext=cpp
44664 ac_cpp='$CXXCPP $CPPFLAGS'
44665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44668
44669 cat >conftest.$ac_ext <<_ACEOF
44670 /* confdefs.h. */
44671 _ACEOF
44672 cat confdefs.h >>conftest.$ac_ext
44673 cat >>conftest.$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44675 #include <IOKit/hid/IOHIDLib.h>
44676 int
44677 main ()
44678 {
44679 IOHIDQueueInterface *qi = NULL;
44680 IOHIDCallbackFunction cb = NULL;
44681 qi->setEventCallout(NULL, cb, NULL, NULL);
44682 ;
44683 return 0;
44684 }
44685 _ACEOF
44686 rm -f conftest.$ac_objext
44687 if { (ac_try="$ac_compile"
44688 case "(($ac_try" in
44689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44690 *) ac_try_echo=$ac_try;;
44691 esac
44692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44693 (eval "$ac_compile") 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } && {
44700 test -z "$ac_cxx_werror_flag" ||
44701 test ! -s conftest.err
44702 } && test -s conftest.$ac_objext; then
44703 wxUSE_JOYSTICK=yes
44704
44705 else
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44708
44709
44710 fi
44711
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718
44719 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44720 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44721 fi
44722
44723 else
44724 if test "$wxUSE_MGL" != 1; then
44725
44726 for ac_header in linux/joystick.h
44727 do
44728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44732 echo $ECHO_N "(cached) $ECHO_C" >&6
44733 else
44734 cat >conftest.$ac_ext <<_ACEOF
44735 /* confdefs.h. */
44736 _ACEOF
44737 cat confdefs.h >>conftest.$ac_ext
44738 cat >>conftest.$ac_ext <<_ACEOF
44739 /* end confdefs.h. */
44740 $ac_includes_default
44741
44742 #include <$ac_header>
44743 _ACEOF
44744 rm -f conftest.$ac_objext
44745 if { (ac_try="$ac_compile"
44746 case "(($ac_try" in
44747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44748 *) ac_try_echo=$ac_try;;
44749 esac
44750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44751 (eval "$ac_compile") 2>conftest.er1
44752 ac_status=$?
44753 grep -v '^ *+' conftest.er1 >conftest.err
44754 rm -f conftest.er1
44755 cat conftest.err >&5
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); } && {
44758 test -z "$ac_c_werror_flag" ||
44759 test ! -s conftest.err
44760 } && test -s conftest.$ac_objext; then
44761 eval "$as_ac_Header=yes"
44762 else
44763 echo "$as_me: failed program was:" >&5
44764 sed 's/^/| /' conftest.$ac_ext >&5
44765
44766 eval "$as_ac_Header=no"
44767 fi
44768
44769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44770 fi
44771 ac_res=`eval echo '${'$as_ac_Header'}'`
44772 { echo "$as_me:$LINENO: result: $ac_res" >&5
44773 echo "${ECHO_T}$ac_res" >&6; }
44774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44775 cat >>confdefs.h <<_ACEOF
44776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44777 _ACEOF
44778 wxUSE_JOYSTICK=yes
44779 fi
44780
44781 done
44782
44783 fi
44784 fi
44785
44786 if test "$wxUSE_JOYSTICK" = "yes"; then
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_JOYSTICK 1
44789 _ACEOF
44790
44791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44792 else
44793 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44794 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44795 fi
44796 fi
44797
44798
44799
44800 if test "$wxUSE_FONTENUM" = "yes" ; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_FONTENUM 1
44803 _ACEOF
44804
44805 fi
44806
44807 if test "$wxUSE_FONTMAP" = "yes" ; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_FONTMAP 1
44810 _ACEOF
44811
44812 fi
44813
44814 if test "$wxUSE_UNICODE" = "yes" ; then
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_UNICODE 1
44817 _ACEOF
44818
44819
44820 if test "$USE_WIN32" != 1; then
44821 wxUSE_UNICODE_MSLU=no
44822 fi
44823
44824 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44825 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44826 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44827 if test "${ac_cv_lib_unicows_main+set}" = set; then
44828 echo $ECHO_N "(cached) $ECHO_C" >&6
44829 else
44830 ac_check_lib_save_LIBS=$LIBS
44831 LIBS="-lunicows $LIBS"
44832 cat >conftest.$ac_ext <<_ACEOF
44833 /* confdefs.h. */
44834 _ACEOF
44835 cat confdefs.h >>conftest.$ac_ext
44836 cat >>conftest.$ac_ext <<_ACEOF
44837 /* end confdefs.h. */
44838
44839
44840 int
44841 main ()
44842 {
44843 return main ();
44844 ;
44845 return 0;
44846 }
44847 _ACEOF
44848 rm -f conftest.$ac_objext conftest$ac_exeext
44849 if { (ac_try="$ac_link"
44850 case "(($ac_try" in
44851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44852 *) ac_try_echo=$ac_try;;
44853 esac
44854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44855 (eval "$ac_link") 2>conftest.er1
44856 ac_status=$?
44857 grep -v '^ *+' conftest.er1 >conftest.err
44858 rm -f conftest.er1
44859 cat conftest.err >&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); } && {
44862 test -z "$ac_c_werror_flag" ||
44863 test ! -s conftest.err
44864 } && test -s conftest$ac_exeext &&
44865 $as_test_x conftest$ac_exeext; then
44866 ac_cv_lib_unicows_main=yes
44867 else
44868 echo "$as_me: failed program was:" >&5
44869 sed 's/^/| /' conftest.$ac_ext >&5
44870
44871 ac_cv_lib_unicows_main=no
44872 fi
44873
44874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44875 conftest$ac_exeext conftest.$ac_ext
44876 LIBS=$ac_check_lib_save_LIBS
44877 fi
44878 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44879 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44880 if test $ac_cv_lib_unicows_main = yes; then
44881
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_UNICODE_MSLU 1
44884 _ACEOF
44885
44886
44887 else
44888
44889 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44890 Applications will only run on Windows NT/2000/XP!" >&5
44891 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44892 Applications will only run on Windows NT/2000/XP!" >&2;}
44893 wxUSE_UNICODE_MSLU=no
44894
44895 fi
44896
44897 fi
44898 fi
44899
44900 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_UNICODE_UTF8 1
44903 _ACEOF
44904
44905
44906 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_UTF8_LOCALE_ONLY 1
44909 _ACEOF
44910
44911 fi
44912 fi
44913
44914
44915 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_CONSTRAINTS 1
44918 _ACEOF
44919
44920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44921 fi
44922
44923 if test "$wxUSE_MDI" = "yes"; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_MDI 1
44926 _ACEOF
44927
44928
44929 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_MDI_ARCHITECTURE 1
44932 _ACEOF
44933
44934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44935 fi
44936 fi
44937
44938 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44941 _ACEOF
44942
44943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44944 fi
44945
44946 if test "$wxUSE_HELP" = "yes"; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_HELP 1
44949 _ACEOF
44950
44951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44952
44953 if test "$wxUSE_MSW" = 1; then
44954 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_MS_HTML_HELP 1
44957 _ACEOF
44958
44959 fi
44960 fi
44961
44962 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44963 if test "$wxUSE_HTML" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_WXHTML_HELP 1
44966 _ACEOF
44967
44968 else
44969 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44970 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44971 wxUSE_WXHTML_HELP=no
44972 fi
44973 fi
44974 fi
44975
44976 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44977 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44978 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44979 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44980 else
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_PRINTING_ARCHITECTURE 1
44983 _ACEOF
44984
44985 fi
44986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44987 fi
44988
44989 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_POSTSCRIPT 1
44992 _ACEOF
44993
44994 fi
44995
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44998 _ACEOF
44999
45000
45001 if test "$wxUSE_SVG" = "yes"; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_SVG 1
45004 _ACEOF
45005
45006 fi
45007
45008
45009 if test "$wxUSE_METAFILE" = "yes"; then
45010 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45011 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45012 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45013 wxUSE_METAFILE=no
45014 fi
45015 fi
45016
45017
45018 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45019 -o "$wxUSE_CLIPBOARD" = "yes" \
45020 -o "$wxUSE_OLE" = "yes" \
45021 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45022 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45023 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45024 if test "${ac_cv_header_ole2_h+set}" = set; then
45025 echo $ECHO_N "(cached) $ECHO_C" >&6
45026 else
45027 cat >conftest.$ac_ext <<_ACEOF
45028 /* confdefs.h. */
45029 _ACEOF
45030 cat confdefs.h >>conftest.$ac_ext
45031 cat >>conftest.$ac_ext <<_ACEOF
45032 /* end confdefs.h. */
45033
45034
45035 #include <ole2.h>
45036 _ACEOF
45037 rm -f conftest.$ac_objext
45038 if { (ac_try="$ac_compile"
45039 case "(($ac_try" in
45040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45041 *) ac_try_echo=$ac_try;;
45042 esac
45043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45044 (eval "$ac_compile") 2>conftest.er1
45045 ac_status=$?
45046 grep -v '^ *+' conftest.er1 >conftest.err
45047 rm -f conftest.er1
45048 cat conftest.err >&5
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); } && {
45051 test -z "$ac_c_werror_flag" ||
45052 test ! -s conftest.err
45053 } && test -s conftest.$ac_objext; then
45054 ac_cv_header_ole2_h=yes
45055 else
45056 echo "$as_me: failed program was:" >&5
45057 sed 's/^/| /' conftest.$ac_ext >&5
45058
45059 ac_cv_header_ole2_h=no
45060 fi
45061
45062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45063 fi
45064 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45065 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45066
45067
45068
45069 if test "$ac_cv_header_ole2_h" = "yes" ; then
45070 if test "$GCC" = yes ; then
45071 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45072 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45073 cat >conftest.$ac_ext <<_ACEOF
45074 /* confdefs.h. */
45075 _ACEOF
45076 cat confdefs.h >>conftest.$ac_ext
45077 cat >>conftest.$ac_ext <<_ACEOF
45078 /* end confdefs.h. */
45079 #include <windows.h>
45080 #include <ole2.h>
45081 int
45082 main ()
45083 {
45084
45085 ;
45086 return 0;
45087 }
45088 _ACEOF
45089 rm -f conftest.$ac_objext
45090 if { (ac_try="$ac_compile"
45091 case "(($ac_try" in
45092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45093 *) ac_try_echo=$ac_try;;
45094 esac
45095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45096 (eval "$ac_compile") 2>conftest.er1
45097 ac_status=$?
45098 grep -v '^ *+' conftest.er1 >conftest.err
45099 rm -f conftest.er1
45100 cat conftest.err >&5
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); } && {
45103 test -z "$ac_c_werror_flag" ||
45104 test ! -s conftest.err
45105 } && test -s conftest.$ac_objext; then
45106 { echo "$as_me:$LINENO: result: no" >&5
45107 echo "${ECHO_T}no" >&6; }
45108 else
45109 echo "$as_me: failed program was:" >&5
45110 sed 's/^/| /' conftest.$ac_ext >&5
45111
45112 { echo "$as_me:$LINENO: result: yes" >&5
45113 echo "${ECHO_T}yes" >&6; }
45114 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45115 fi
45116
45117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45118 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45119 if test "$wxUSE_OLE" = "yes" ; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_OLE 1
45122 _ACEOF
45123
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_OLE_AUTOMATION 1
45126 _ACEOF
45127
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_ACTIVEX 1
45130 _ACEOF
45131
45132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45133 fi
45134 fi
45135
45136 if test "$wxUSE_DATAOBJ" = "yes" ; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_DATAOBJ 1
45139 _ACEOF
45140
45141 fi
45142 else
45143 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45144 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45145
45146 wxUSE_CLIPBOARD=no
45147 wxUSE_DRAG_AND_DROP=no
45148 wxUSE_DATAOBJ=no
45149 wxUSE_OLE=no
45150 fi
45151
45152 if test "$wxUSE_METAFILE" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_METAFILE 1
45155 _ACEOF
45156
45157
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_ENH_METAFILE 1
45160 _ACEOF
45161
45162 fi
45163 fi
45164
45165 if test "$wxUSE_IPC" = "yes"; then
45166 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45167 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45168 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45169 wxUSE_IPC=no
45170 fi
45171
45172 if test "$wxUSE_IPC" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_IPC 1
45175 _ACEOF
45176
45177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45178 fi
45179 fi
45180
45181 if test "$wxUSE_DATAOBJ" = "yes"; then
45182 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45183 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45184 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45185 wxUSE_DATAOBJ=no
45186 else
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_DATAOBJ 1
45189 _ACEOF
45190
45191 fi
45192 else
45193 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45194 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45195 wxUSE_CLIPBOARD=no
45196 wxUSE_DRAG_AND_DROP=no
45197 fi
45198
45199 if test "$wxUSE_CLIPBOARD" = "yes"; then
45200 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45201 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45202 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45203 wxUSE_CLIPBOARD=no
45204 fi
45205
45206 if test "$wxUSE_CLIPBOARD" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_CLIPBOARD 1
45209 _ACEOF
45210
45211 fi
45212 fi
45213
45214 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45215 if test "$wxUSE_GTK" = 1; then
45216 if test "$WXGTK12" != 1; then
45217 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45218 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45219 wxUSE_DRAG_AND_DROP=no
45220 fi
45221 fi
45222
45223 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45224 "$wxUSE_DFB" = 1; then
45225 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45226 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45227 wxUSE_DRAG_AND_DROP=no
45228 fi
45229
45230 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_DRAG_AND_DROP 1
45233 _ACEOF
45234
45235 fi
45236
45237 fi
45238
45239 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45241 fi
45242
45243 if test "$wxUSE_SPLINES" = "yes" ; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_SPLINES 1
45246 _ACEOF
45247
45248 fi
45249
45250 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_MOUSEWHEEL 1
45253 _ACEOF
45254
45255 fi
45256
45257
45258 USES_CONTROLS=0
45259 if test "$wxUSE_CONTROLS" = "yes"; then
45260 USES_CONTROLS=1
45261 fi
45262
45263 if test "$wxUSE_ACCEL" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_ACCEL 1
45266 _ACEOF
45267
45268 USES_CONTROLS=1
45269 fi
45270
45271 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_ANIMATIONCTRL 1
45274 _ACEOF
45275
45276 USES_CONTROLS=1
45277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45278 fi
45279
45280 if test "$wxUSE_BUTTON" = "yes"; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_BUTTON 1
45283 _ACEOF
45284
45285 USES_CONTROLS=1
45286 fi
45287
45288 if test "$wxUSE_BMPBUTTON" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_BMPBUTTON 1
45291 _ACEOF
45292
45293 USES_CONTROLS=1
45294 fi
45295
45296 if test "$wxUSE_CALCTRL" = "yes"; then
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_CALENDARCTRL 1
45299 _ACEOF
45300
45301 USES_CONTROLS=1
45302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45303 fi
45304
45305 if test "$wxUSE_CARET" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_CARET 1
45308 _ACEOF
45309
45310 USES_CONTROLS=1
45311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45312 fi
45313
45314 if test "$wxUSE_COLLPANE" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_COLLPANE 1
45317 _ACEOF
45318
45319 USES_CONTROLS=1
45320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45321 fi
45322
45323 if test "$wxUSE_COMBOBOX" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_COMBOBOX 1
45326 _ACEOF
45327
45328 USES_CONTROLS=1
45329 fi
45330
45331 if test "$wxUSE_COMBOCTRL" = "yes"; then
45332 cat >>confdefs.h <<\_ACEOF
45333 #define wxUSE_COMBOCTRL 1
45334 _ACEOF
45335
45336 USES_CONTROLS=1
45337 fi
45338
45339 if test "$wxUSE_CHOICE" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_CHOICE 1
45342 _ACEOF
45343
45344 USES_CONTROLS=1
45345 fi
45346
45347 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_CHOICEBOOK 1
45350 _ACEOF
45351
45352 USES_CONTROLS=1
45353 fi
45354
45355 if test "$wxUSE_CHECKBOX" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_CHECKBOX 1
45358 _ACEOF
45359
45360 USES_CONTROLS=1
45361 fi
45362
45363 if test "$wxUSE_CHECKLST" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_CHECKLISTBOX 1
45366 _ACEOF
45367
45368 USES_CONTROLS=1
45369 fi
45370
45371 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_COLOURPICKERCTRL 1
45374 _ACEOF
45375
45376 USES_CONTROLS=1
45377 fi
45378
45379 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_DATEPICKCTRL 1
45382 _ACEOF
45383
45384 USES_CONTROLS=1
45385 fi
45386
45387 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_DIRPICKERCTRL 1
45390 _ACEOF
45391
45392 USES_CONTROLS=1
45393 fi
45394
45395 if test "$wxUSE_FILECTRL" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_FILECTRL 1
45398 _ACEOF
45399
45400 USES_CONTROLS=1
45401 fi
45402
45403 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_FILEPICKERCTRL 1
45406 _ACEOF
45407
45408 USES_CONTROLS=1
45409 fi
45410
45411 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_FONTPICKERCTRL 1
45414 _ACEOF
45415
45416 USES_CONTROLS=1
45417 fi
45418
45419 if test "$wxUSE_DISPLAY" = "yes"; then
45420 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45421 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45422 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45423 wxUSE_DISPLAY=no
45424 else
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_DISPLAY 1
45427 _ACEOF
45428
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45430 fi
45431 fi
45432
45433 if test "$wxUSE_DETECT_SM" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_DETECT_SM 1
45436 _ACEOF
45437
45438 fi
45439
45440 if test "$wxUSE_GAUGE" = "yes"; then
45441 cat >>confdefs.h <<\_ACEOF
45442 #define wxUSE_GAUGE 1
45443 _ACEOF
45444
45445 USES_CONTROLS=1
45446 fi
45447
45448 if test "$wxUSE_GRID" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_GRID 1
45451 _ACEOF
45452
45453 USES_CONTROLS=1
45454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45455 fi
45456
45457 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_HYPERLINKCTRL 1
45460 _ACEOF
45461
45462 USES_CONTROLS=1
45463 fi
45464
45465 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_BITMAPCOMBOBOX 1
45468 _ACEOF
45469
45470 USES_CONTROLS=1
45471 fi
45472
45473 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_DATAVIEWCTRL 1
45476 _ACEOF
45477
45478 USES_CONTROLS=1
45479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45480 fi
45481
45482 if test "$wxUSE_IMAGLIST" = "yes"; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_IMAGLIST 1
45485 _ACEOF
45486
45487 fi
45488
45489 if test "$wxUSE_LISTBOOK" = "yes"; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_LISTBOOK 1
45492 _ACEOF
45493
45494 USES_CONTROLS=1
45495 fi
45496
45497 if test "$wxUSE_LISTBOX" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_LISTBOX 1
45500 _ACEOF
45501
45502 USES_CONTROLS=1
45503 fi
45504
45505 if test "$wxUSE_LISTCTRL" = "yes"; then
45506 if test "$wxUSE_IMAGLIST" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_LISTCTRL 1
45509 _ACEOF
45510
45511 USES_CONTROLS=1
45512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45513 else
45514 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45515 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45516 fi
45517 fi
45518
45519 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_EDITABLELISTBOX 1
45522 _ACEOF
45523
45524 USES_CONTROLS=1
45525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45526 fi
45527
45528 if test "$wxUSE_NOTEBOOK" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_NOTEBOOK 1
45531 _ACEOF
45532
45533 USES_CONTROLS=1
45534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45535 fi
45536
45537 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define wxUSE_NOTIFICATION_MESSAGE 1
45540 _ACEOF
45541
45542 fi
45543
45544 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_ODCOMBOBOX 1
45547 _ACEOF
45548
45549 USES_CONTROLS=1
45550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45551 fi
45552
45553 if test "$wxUSE_RADIOBOX" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_RADIOBOX 1
45556 _ACEOF
45557
45558 USES_CONTROLS=1
45559 fi
45560
45561 if test "$wxUSE_RADIOBTN" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_RADIOBTN 1
45564 _ACEOF
45565
45566 USES_CONTROLS=1
45567 fi
45568
45569 if test "$wxUSE_SASH" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_SASH 1
45572 _ACEOF
45573
45574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45575 fi
45576
45577 if test "$wxUSE_SCROLLBAR" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_SCROLLBAR 1
45580 _ACEOF
45581
45582 USES_CONTROLS=1
45583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45584 fi
45585
45586 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_SEARCHCTRL 1
45589 _ACEOF
45590
45591 USES_CONTROLS=1
45592 fi
45593
45594 if test "$wxUSE_SLIDER" = "yes"; then
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_SLIDER 1
45597 _ACEOF
45598
45599 USES_CONTROLS=1
45600 fi
45601
45602 if test "$wxUSE_SPINBTN" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_SPINBTN 1
45605 _ACEOF
45606
45607 USES_CONTROLS=1
45608 fi
45609
45610 if test "$wxUSE_SPINCTRL" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_SPINCTRL 1
45613 _ACEOF
45614
45615 USES_CONTROLS=1
45616 fi
45617
45618 if test "$wxUSE_SPLITTER" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_SPLITTER 1
45621 _ACEOF
45622
45623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45624 fi
45625
45626 if test "$wxUSE_STATBMP" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_STATBMP 1
45629 _ACEOF
45630
45631 USES_CONTROLS=1
45632 fi
45633
45634 if test "$wxUSE_STATBOX" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_STATBOX 1
45637 _ACEOF
45638
45639 USES_CONTROLS=1
45640 fi
45641
45642 if test "$wxUSE_STATTEXT" = "yes"; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_STATTEXT 1
45645 _ACEOF
45646
45647 USES_CONTROLS=1
45648 fi
45649
45650 if test "$wxUSE_STATLINE" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_STATLINE 1
45653 _ACEOF
45654
45655 USES_CONTROLS=1
45656 fi
45657
45658 if test "$wxUSE_STATUSBAR" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_NATIVE_STATUSBAR 1
45661 _ACEOF
45662
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_STATUSBAR 1
45665 _ACEOF
45666
45667 USES_CONTROLS=1
45668
45669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45670 fi
45671
45672 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_TAB_DIALOG 1
45675 _ACEOF
45676
45677 fi
45678
45679 if test "$wxUSE_TEXTCTRL" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_TEXTCTRL 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45686
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_RICHEDIT 1
45689 _ACEOF
45690
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_RICHEDIT2 1
45693 _ACEOF
45694
45695 fi
45696
45697 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45698 if test "$wxUSE_COCOA" = 1 ; then
45699 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45700 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45701 wxUSE_TOGGLEBTN=no
45702 fi
45703
45704 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_TOGGLEBTN 1
45707 _ACEOF
45708
45709 USES_CONTROLS=1
45710 fi
45711 fi
45712
45713 if test "$wxUSE_TOOLBAR" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_TOOLBAR 1
45716 _ACEOF
45717
45718 USES_CONTROLS=1
45719
45720 if test "$wxUSE_UNIVERSAL" = "yes"; then
45721 wxUSE_TOOLBAR_NATIVE="no"
45722 else
45723 wxUSE_TOOLBAR_NATIVE="yes"
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_TOOLBAR_NATIVE 1
45726 _ACEOF
45727
45728 fi
45729
45730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45731 fi
45732
45733 if test "$wxUSE_TOOLTIPS" = "yes"; then
45734 if test "$wxUSE_MOTIF" = 1; then
45735 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45736 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45737 else
45738 if test "$wxUSE_UNIVERSAL" = "yes"; then
45739 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45740 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45741 else
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_TOOLTIPS 1
45744 _ACEOF
45745
45746 fi
45747 fi
45748 fi
45749
45750 if test "$wxUSE_TREEBOOK" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_TREEBOOK 1
45753 _ACEOF
45754
45755 USES_CONTROLS=1
45756 fi
45757
45758 if test "$wxUSE_TOOLBOOK" = "yes"; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_TOOLBOOK 1
45761 _ACEOF
45762
45763 USES_CONTROLS=1
45764 fi
45765
45766 if test "$wxUSE_TREECTRL" = "yes"; then
45767 if test "$wxUSE_IMAGLIST" = "yes"; then
45768 cat >>confdefs.h <<\_ACEOF
45769 #define wxUSE_TREECTRL 1
45770 _ACEOF
45771
45772 USES_CONTROLS=1
45773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45774 else
45775 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45776 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45777 fi
45778 fi
45779
45780 if test "$wxUSE_POPUPWIN" = "yes"; then
45781 if test "$wxUSE_COCOA" = 1 ; then
45782 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45783 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45784 else
45785 if test "$wxUSE_PM" = 1; then
45786 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45787 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45788 else
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_POPUPWIN 1
45791 _ACEOF
45792
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45794
45795 USES_CONTROLS=1
45796 fi
45797 fi
45798 fi
45799
45800 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45801 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45802 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45803 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45804 else
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_DIALUP_MANAGER 1
45807 _ACEOF
45808
45809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45810 fi
45811 fi
45812
45813 if test "$wxUSE_TIPWINDOW" = "yes"; then
45814 if test "$wxUSE_PM" = 1; then
45815 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45816 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45817 else
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_TIPWINDOW 1
45820 _ACEOF
45821
45822 fi
45823 fi
45824
45825 if test "$USES_CONTROLS" = 1; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_CONTROLS 1
45828 _ACEOF
45829
45830 fi
45831
45832
45833 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_ACCESSIBILITY 1
45836 _ACEOF
45837
45838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45839 fi
45840
45841 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_DRAGIMAGE 1
45844 _ACEOF
45845
45846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45847 fi
45848
45849 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45850 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45851 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45852 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45853 else
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_EXCEPTIONS 1
45856 _ACEOF
45857
45858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45859 fi
45860 fi
45861
45862 USE_HTML=0
45863 if test "$wxUSE_HTML" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_HTML 1
45866 _ACEOF
45867
45868 USE_HTML=1
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45870 fi
45871 if test "$wxUSE_WEBKIT" = "yes"; then
45872 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45873 old_CPPFLAGS="$CPPFLAGS"
45874 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45875 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45876 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45877 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45878 echo $ECHO_N "(cached) $ECHO_C" >&6
45879 else
45880 cat >conftest.$ac_ext <<_ACEOF
45881 /* confdefs.h. */
45882 _ACEOF
45883 cat confdefs.h >>conftest.$ac_ext
45884 cat >>conftest.$ac_ext <<_ACEOF
45885 /* end confdefs.h. */
45886
45887 #include <Carbon/Carbon.h>
45888 #include <WebKit/WebKit.h>
45889
45890
45891 #include <WebKit/HIWebView.h>
45892 _ACEOF
45893 rm -f conftest.$ac_objext
45894 if { (ac_try="$ac_compile"
45895 case "(($ac_try" in
45896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45897 *) ac_try_echo=$ac_try;;
45898 esac
45899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45900 (eval "$ac_compile") 2>conftest.er1
45901 ac_status=$?
45902 grep -v '^ *+' conftest.er1 >conftest.err
45903 rm -f conftest.er1
45904 cat conftest.err >&5
45905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45906 (exit $ac_status); } && {
45907 test -z "$ac_c_werror_flag" ||
45908 test ! -s conftest.err
45909 } && test -s conftest.$ac_objext; then
45910 ac_cv_header_WebKit_HIWebView_h=yes
45911 else
45912 echo "$as_me: failed program was:" >&5
45913 sed 's/^/| /' conftest.$ac_ext >&5
45914
45915 ac_cv_header_WebKit_HIWebView_h=no
45916 fi
45917
45918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45919 fi
45920 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45921 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45922 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45923
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_WEBKIT 1
45926 _ACEOF
45927
45928 WEBKIT_LINK="-framework WebKit"
45929
45930 else
45931
45932 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45933 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45934 wxUSE_WEBKIT=no
45935
45936 fi
45937
45938
45939 CPPFLAGS="$old_CPPFLAGS"
45940 elif test "$wxUSE_COCOA" = 1; then
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_WEBKIT 1
45943 _ACEOF
45944
45945 else
45946 wxUSE_WEBKIT=no
45947 fi
45948 if test "$wxUSE_WEBKIT" = "yes"; then
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45950 fi
45951 fi
45952
45953 USE_XRC=0
45954 if test "$wxUSE_XRC" = "yes"; then
45955 if test "$wxUSE_XML" != "yes"; then
45956 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45957 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45958 wxUSE_XRC=no
45959 else
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_XRC 1
45962 _ACEOF
45963
45964 USE_XRC=1
45965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45966 fi
45967 fi
45968
45969 USE_AUI=0
45970 if test "$wxUSE_AUI" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_AUI 1
45973 _ACEOF
45974
45975 USE_AUI=1
45976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45977 fi
45978
45979 USE_PROPGRID=0
45980 if test "$wxUSE_PROPGRID" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_PROPGRID 1
45983 _ACEOF
45984
45985 USE_PROPGRID=1
45986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
45987 fi
45988
45989 USE_STC=0
45990 if test "$wxUSE_STC" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_STC 1
45993 _ACEOF
45994
45995 USE_STC=1
45996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45997 fi
45998
45999 if test "$wxUSE_MENUS" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_MENUS 1
46002 _ACEOF
46003
46004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46005 fi
46006
46007 if test "$wxUSE_METAFILE" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_METAFILE 1
46010 _ACEOF
46011
46012 fi
46013
46014 if test "$wxUSE_MIMETYPE" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_MIMETYPE 1
46017 _ACEOF
46018
46019 fi
46020
46021 if test "$wxUSE_MINIFRAME" = "yes"; then
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_MINIFRAME 1
46024 _ACEOF
46025
46026 fi
46027
46028 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_SYSTEM_OPTIONS 1
46031 _ACEOF
46032
46033 fi
46034
46035 if test "$wxUSE_TASKBARICON" = "yes"; then
46036 cat >>confdefs.h <<\_ACEOF
46037 #define wxUSE_TASKBARICON 1
46038 _ACEOF
46039
46040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46041 fi
46042
46043
46044 if test "$wxUSE_VALIDATORS" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_VALIDATORS 1
46047 _ACEOF
46048
46049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46050 fi
46051
46052 if test "$wxUSE_PALETTE" = "yes" ; then
46053 if test "$wxUSE_DFB" = 1; then
46054 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46055 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46056 wxUSE_PALETTE=no
46057 else
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_PALETTE 1
46060 _ACEOF
46061
46062 fi
46063 fi
46064
46065 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46066 LIBS=" -lunicows $LIBS"
46067 fi
46068
46069 USE_RICHTEXT=0
46070 if test "$wxUSE_RICHTEXT" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_RICHTEXT 1
46073 _ACEOF
46074
46075 USE_RICHTEXT=1
46076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46077 fi
46078
46079
46080 if test "$wxUSE_IMAGE" = "yes" ; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_IMAGE 1
46083 _ACEOF
46084
46085
46086 if test "$wxUSE_GIF" = "yes" ; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_GIF 1
46089 _ACEOF
46090
46091 fi
46092
46093 if test "$wxUSE_PCX" = "yes" ; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_PCX 1
46096 _ACEOF
46097
46098 fi
46099
46100 if test "$wxUSE_TGA" = "yes" ; then
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_TGA 1
46103 _ACEOF
46104
46105 fi
46106
46107 if test "$wxUSE_IFF" = "yes" ; then
46108 cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_IFF 1
46110 _ACEOF
46111
46112 fi
46113
46114 if test "$wxUSE_PNM" = "yes" ; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_PNM 1
46117 _ACEOF
46118
46119 fi
46120
46121 if test "$wxUSE_XPM" = "yes" ; then
46122 cat >>confdefs.h <<\_ACEOF
46123 #define wxUSE_XPM 1
46124 _ACEOF
46125
46126 fi
46127
46128 if test "$wxUSE_ICO_CUR" = "yes" ; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_ICO_CUR 1
46131 _ACEOF
46132
46133 fi
46134 fi
46135
46136
46137 if test "$wxUSE_ABOUTDLG" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_ABOUTDLG 1
46140 _ACEOF
46141
46142 fi
46143
46144 if test "$wxUSE_CHOICEDLG" = "yes"; then
46145 cat >>confdefs.h <<\_ACEOF
46146 #define wxUSE_CHOICEDLG 1
46147 _ACEOF
46148
46149 fi
46150
46151 if test "$wxUSE_COLOURDLG" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_COLOURDLG 1
46154 _ACEOF
46155
46156 fi
46157
46158 if test "$wxUSE_FILEDLG" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_FILEDLG 1
46161 _ACEOF
46162
46163 fi
46164
46165 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_FINDREPLDLG 1
46168 _ACEOF
46169
46170 fi
46171
46172 if test "$wxUSE_FONTDLG" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_FONTDLG 1
46175 _ACEOF
46176
46177 fi
46178
46179 if test "$wxUSE_DIRDLG" = "yes"; then
46180 if test "$wxUSE_TREECTRL" != "yes"; then
46181 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46182 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46183 else
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_DIRDLG 1
46186 _ACEOF
46187
46188 fi
46189 fi
46190
46191 if test "$wxUSE_MSGDLG" = "yes"; then
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_MSGDLG 1
46194 _ACEOF
46195
46196 fi
46197
46198 if test "$wxUSE_NUMBERDLG" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_NUMBERDLG 1
46201 _ACEOF
46202
46203 fi
46204
46205 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46206 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46207 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46208 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46209 else
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_PROGRESSDLG 1
46212 _ACEOF
46213
46214 fi
46215 fi
46216
46217 if test "$wxUSE_SPLASH" = "yes"; then
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_SPLASH 1
46220 _ACEOF
46221
46222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46223 fi
46224
46225 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46226 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46227 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46228 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46229 else
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_STARTUP_TIPS 1
46232 _ACEOF
46233
46234 fi
46235 fi
46236
46237 if test "$wxUSE_TEXTDLG" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_TEXTDLG 1
46240 _ACEOF
46241
46242 fi
46243
46244 if test "$wxUSE_WIZARDDLG" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_WIZARDDLG 1
46247 _ACEOF
46248
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46250 fi
46251
46252
46253 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46254 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_OWNER_DRAWN 1
46257 _ACEOF
46258
46259 fi
46260 fi
46261
46262
46263 if test "$wxUSE_MSW" = 1 ; then
46264
46265 if test "$wxUSE_DC_CACHEING" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_DC_CACHEING 1
46268 _ACEOF
46269
46270 fi
46271
46272 if test "$wxUSE_DIB" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_WXDIB 1
46275 _ACEOF
46276
46277 fi
46278
46279 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46282 _ACEOF
46283
46284 fi
46285
46286 if test "$wxUSE_UXTHEME" = "yes"; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_UXTHEME 1
46289 _ACEOF
46290
46291 fi
46292
46293 fi
46294
46295 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_AUTOID_MANAGEMENT 1
46298 _ACEOF
46299
46300 fi
46301
46302 if test "$USE_WIN32" = 1 ; then
46303 if test "$wxUSE_INICONF" = "yes"; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_INICONF 1
46306 _ACEOF
46307
46308 fi
46309
46310 if test "$wxUSE_REGKEY" = "yes"; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_REGKEY 1
46313 _ACEOF
46314
46315 fi
46316 fi
46317
46318
46319 if test "$wxUSE_MAC" = 1; then
46320 wxUSE_GRAPHICS_CONTEXT="yes"
46321 fi
46322
46323 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46324 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_GRAPHICS_CONTEXT 1
46327 _ACEOF
46328
46329 elif test "$wxUSE_GTK" != 1; then
46330 cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_GRAPHICS_CONTEXT 1
46332 _ACEOF
46333
46334 else
46335
46336 pkg_failed=no
46337 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46338 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46339
46340 if test -n "$PKG_CONFIG"; then
46341 if test -n "$CAIRO_CFLAGS"; then
46342 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46343 else
46344 if test -n "$PKG_CONFIG" && \
46345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46346 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46347 ac_status=$?
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); }; then
46350 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46351 else
46352 pkg_failed=yes
46353 fi
46354 fi
46355 else
46356 pkg_failed=untried
46357 fi
46358 if test -n "$PKG_CONFIG"; then
46359 if test -n "$CAIRO_LIBS"; then
46360 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46361 else
46362 if test -n "$PKG_CONFIG" && \
46363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46364 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46365 ac_status=$?
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); }; then
46368 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46369 else
46370 pkg_failed=yes
46371 fi
46372 fi
46373 else
46374 pkg_failed=untried
46375 fi
46376
46377
46378
46379 if test $pkg_failed = yes; then
46380
46381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46382 _pkg_short_errors_supported=yes
46383 else
46384 _pkg_short_errors_supported=no
46385 fi
46386 if test $_pkg_short_errors_supported = yes; then
46387 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46388 else
46389 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46390 fi
46391 # Put the nasty error message in config.log where it belongs
46392 echo "$CAIRO_PKG_ERRORS" >&5
46393
46394 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46395 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46396
46397 elif test $pkg_failed = untried; then
46398 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46399 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46400
46401 else
46402 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46403 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46404 { echo "$as_me:$LINENO: result: yes" >&5
46405 echo "${ECHO_T}yes" >&6; }
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_GRAPHICS_CONTEXT 1
46408 _ACEOF
46409
46410 fi
46411 fi
46412 fi
46413
46414
46415 USE_MEDIA=0
46416
46417 if test "$wxUSE_MEDIACTRL" = "yes"; then
46418 USE_MEDIA=1
46419
46420 if test "$wxUSE_GTK" = 1; then
46421 wxUSE_GSTREAMER="no"
46422
46423 GST_VERSION_MAJOR=0
46424 GST_VERSION_MINOR=10
46425 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46426
46427 if test "$wxUSE_GSTREAMER8" = "no"; then
46428
46429 pkg_failed=no
46430 { echo "$as_me:$LINENO: checking for GST" >&5
46431 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46432
46433 if test -n "$PKG_CONFIG"; then
46434 if test -n "$GST_CFLAGS"; then
46435 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46436 else
46437 if test -n "$PKG_CONFIG" && \
46438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46439 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46440 ac_status=$?
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); }; then
46443 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46444 else
46445 pkg_failed=yes
46446 fi
46447 fi
46448 else
46449 pkg_failed=untried
46450 fi
46451 if test -n "$PKG_CONFIG"; then
46452 if test -n "$GST_LIBS"; then
46453 pkg_cv_GST_LIBS="$GST_LIBS"
46454 else
46455 if test -n "$PKG_CONFIG" && \
46456 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46457 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46458 ac_status=$?
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; then
46461 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46462 else
46463 pkg_failed=yes
46464 fi
46465 fi
46466 else
46467 pkg_failed=untried
46468 fi
46469
46470
46471
46472 if test $pkg_failed = yes; then
46473
46474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46475 _pkg_short_errors_supported=yes
46476 else
46477 _pkg_short_errors_supported=no
46478 fi
46479 if test $_pkg_short_errors_supported = yes; then
46480 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46481 else
46482 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46483 fi
46484 # Put the nasty error message in config.log where it belongs
46485 echo "$GST_PKG_ERRORS" >&5
46486
46487
46488 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46489 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46490 GST_VERSION_MINOR=8
46491
46492
46493 elif test $pkg_failed = untried; then
46494
46495 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46496 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46497 GST_VERSION_MINOR=8
46498
46499
46500 else
46501 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46502 GST_LIBS=$pkg_cv_GST_LIBS
46503 { echo "$as_me:$LINENO: result: yes" >&5
46504 echo "${ECHO_T}yes" >&6; }
46505
46506 wxUSE_GSTREAMER="yes"
46507 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46508
46509 fi
46510 else
46511 GST_VERSION_MINOR=8
46512 fi
46513
46514 if test $GST_VERSION_MINOR = "8"; then
46515 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46516
46517 pkg_failed=no
46518 { echo "$as_me:$LINENO: checking for GST" >&5
46519 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46520
46521 if test -n "$PKG_CONFIG"; then
46522 if test -n "$GST_CFLAGS"; then
46523 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46524 else
46525 if test -n "$PKG_CONFIG" && \
46526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46527 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46528 ac_status=$?
46529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46530 (exit $ac_status); }; then
46531 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46532 else
46533 pkg_failed=yes
46534 fi
46535 fi
46536 else
46537 pkg_failed=untried
46538 fi
46539 if test -n "$PKG_CONFIG"; then
46540 if test -n "$GST_LIBS"; then
46541 pkg_cv_GST_LIBS="$GST_LIBS"
46542 else
46543 if test -n "$PKG_CONFIG" && \
46544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46545 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46546 ac_status=$?
46547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 (exit $ac_status); }; then
46549 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46550 else
46551 pkg_failed=yes
46552 fi
46553 fi
46554 else
46555 pkg_failed=untried
46556 fi
46557
46558
46559
46560 if test $pkg_failed = yes; then
46561
46562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46563 _pkg_short_errors_supported=yes
46564 else
46565 _pkg_short_errors_supported=no
46566 fi
46567 if test $_pkg_short_errors_supported = yes; then
46568 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46569 else
46570 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46571 fi
46572 # Put the nasty error message in config.log where it belongs
46573 echo "$GST_PKG_ERRORS" >&5
46574
46575
46576 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46577 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46578
46579 elif test $pkg_failed = untried; then
46580
46581 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46582 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46583
46584 else
46585 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46586 GST_LIBS=$pkg_cv_GST_LIBS
46587 { echo "$as_me:$LINENO: result: yes" >&5
46588 echo "${ECHO_T}yes" >&6; }
46589 wxUSE_GSTREAMER="yes"
46590 fi
46591 fi
46592
46593
46594 if test "$wxUSE_GSTREAMER" = "yes"; then
46595 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46596 EXTRALIBS_MEDIA="$GST_LIBS"
46597
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_GSTREAMER 1
46600 _ACEOF
46601
46602 else
46603 USE_MEDIA=0
46604 fi
46605 fi
46606
46607 if test $USE_MEDIA = 1; then
46608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_MEDIACTRL 1
46611 _ACEOF
46612
46613 fi
46614 fi
46615
46616
46617 if test "$cross_compiling" = "yes"; then
46618 OSINFO="\"$host\""
46619 else
46620 OSINFO=`uname -s -r -m`
46621 OSINFO="\"$OSINFO\""
46622 fi
46623
46624 cat >>confdefs.h <<_ACEOF
46625 #define WXWIN_OS_DESCRIPTION $OSINFO
46626 _ACEOF
46627
46628
46629
46630 if test "x$prefix" != "xNONE"; then
46631 wxPREFIX=$prefix
46632 else
46633 wxPREFIX=$ac_default_prefix
46634 fi
46635
46636 cat >>confdefs.h <<_ACEOF
46637 #define wxINSTALL_PREFIX "$wxPREFIX"
46638 _ACEOF
46639
46640
46641
46642
46643 STD_BASE_LIBS="base"
46644 STD_GUI_LIBS=""
46645 BUILT_WX_LIBS="base"
46646 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46647
46648 if test "$wxUSE_SOCKETS" = "yes" ; then
46649 STD_BASE_LIBS="net $STD_BASE_LIBS"
46650 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46651 fi
46652 if test "$wxUSE_XML" = "yes" ; then
46653 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46654 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46655 fi
46656
46657 if test "$wxUSE_GUI" = "yes"; then
46658 STD_GUI_LIBS="adv core"
46659 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46660
46661 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46662 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46663 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46664 fi
46665 if test "$wxUSE_HTML" = "yes" ; then
46666 STD_GUI_LIBS="html $STD_GUI_LIBS"
46667 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46668 fi
46669 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46670 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46671 fi
46672 if test "$wxUSE_OPENGL" = "yes" ; then
46673 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46674 fi
46675 if test "$wxUSE_AUI" = "yes" ; then
46676 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46677 fi
46678 if test "$wxUSE_PROPGRID" = "yes" ; then
46679 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46680 fi
46681 if test "$wxUSE_RICHTEXT" = "yes" ; then
46682 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46683 fi
46684 if test "$wxUSE_STC" = "yes" ; then
46685 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46686 fi
46687 if test "$wxUSE_XRC" = "yes" ; then
46688 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46689 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46690 fi
46691 fi
46692
46693
46694
46695
46696
46697
46698
46699
46700 if test "$wxUSE_MAC" = 1 ; then
46701 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46702 if test "$USE_DARWIN" = 1; then
46703 LDFLAGS="$LDFLAGS -framework QuickTime"
46704 fi
46705 fi
46706 if test "$USE_DARWIN" = 1; then
46707 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
46708 fi
46709 fi
46710 if test "$wxUSE_COCOA" = 1 ; then
46711 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46712 if test "$wxUSE_MEDIACTRL" = "yes"; then
46713 LDFLAGS="$LDFLAGS -framework QuickTime"
46714 fi
46715 fi
46716 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46717 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46718 fi
46719
46720 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46721
46722 if test "$wxUSE_GUI" = "yes"; then
46723
46724
46725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46726 erase event exec font image minimal mobile \
46727 mobile/wxedit mobile/styles render \
46728 shaped svg taborder vscroll widgets"
46729
46730 if test "$wxUSE_MONOLITHIC" != "yes"; then
46731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46732 fi
46733 if test "$TOOLKIT" = "MSW"; then
46734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46735 if test "$wxUSE_UNIVERSAL" != "yes"; then
46736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46737 fi
46738 fi
46739 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46741 fi
46742 else
46743 SAMPLES_SUBDIRS="console"
46744 if test "$wxUSE_SOCKETS" = "yes" ; then
46745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46746 fi
46747 if test "$wxUSE_IPC" = "yes" ; then
46748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46749 fi
46750 fi
46751
46752
46753 if test "x$INTELCC" = "xyes" ; then
46754 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46755 elif test "$GCC" = yes ; then
46756 CWARNINGS="-Wall -Wundef"
46757 fi
46758
46759 if test "x$INTELCXX" = "xyes" ; then
46760 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46761 elif test "$GXX" = yes ; then
46762 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46763 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
46764 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
46765 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 else
46768 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
46769
46770 ac_ext=cpp
46771 ac_cpp='$CXXCPP $CPPFLAGS'
46772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46775
46776 ac_save_CXXFLAGS="$CXXFLAGS"
46777 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
46778 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
46779 cat >conftest.$ac_ext <<_ACEOF
46780 /* confdefs.h. */
46781 _ACEOF
46782 cat confdefs.h >>conftest.$ac_ext
46783 cat >>conftest.$ac_ext <<_ACEOF
46784 /* end confdefs.h. */
46785
46786 int
46787 main ()
46788 {
46789 return 0;
46790 ;
46791 return 0;
46792 }
46793 _ACEOF
46794 rm -f conftest.$ac_objext
46795 if { (ac_try="$ac_compile"
46796 case "(($ac_try" in
46797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46798 *) ac_try_echo=$ac_try;;
46799 esac
46800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46801 (eval "$ac_compile") 2>conftest.er1
46802 ac_status=$?
46803 grep -v '^ *+' conftest.er1 >conftest.err
46804 rm -f conftest.er1
46805 cat conftest.err >&5
46806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46807 (exit $ac_status); } && {
46808 test -z "$ac_cxx_werror_flag" ||
46809 test ! -s conftest.err
46810 } && test -s conftest.$ac_objext; then
46811 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
46812 else
46813 echo "$as_me: failed program was:" >&5
46814 sed 's/^/| /' conftest.$ac_ext >&5
46815
46816
46817 fi
46818
46819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46820 done
46821 CXXFLAGS="$ac_save_CXXFLAGS"
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827
46828
46829 fi
46830 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
46831 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
46832 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
46833 .ok|.ok,*) ;;
46834 .|.no|.no,*) ;;
46835 *)
46836 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
46837 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
46838 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
46839 ac_status=$?
46840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841 (exit $ac_status); }
46842 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
46843 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
46844 ac_status=$?
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }
46847 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
46848 fi
46849 ;;
46850 esac
46851
46852 fi
46853
46854
46855 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46856 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46857
46858
46859 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46860 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46861 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46862 $CPPFLAGS `
46863
46864 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46865 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46866 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46867 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46868 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46869
46870 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46871
46872
46873 if test "x$MWCC" = "xyes"; then
46874
46875 CC="$CC -cwd source -I-"
46876 CXX="$CXX -cwd source -I-"
46877 fi
46878
46879
46880 LIBS=`echo $LIBS`
46881 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46882 EXTRALIBS_XML="$EXPAT_LINK"
46883 EXTRALIBS_HTML="$MSPACK_LINK"
46884 EXTRALIBS_MEDIA="$GST_LIBS"
46885 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46886 if test "$wxUSE_GUI" = "yes"; then
46887 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46888 fi
46889 if test "$wxUSE_OPENGL" = "yes"; then
46890 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46891 fi
46892
46893 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46894
46895 WXCONFIG_LIBS="$LIBS"
46896
46897 if test "$wxUSE_REGEX" = "builtin" ; then
46898 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46899 fi
46900 if test "$wxUSE_EXPAT" = "builtin" ; then
46901 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46902 fi
46903 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46904 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46905 fi
46906 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46907 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46908 fi
46909 if test "$wxUSE_LIBPNG" = "builtin" ; then
46910 wxconfig_3rdparty="png $wxconfig_3rdparty"
46911 fi
46912 if test "$wxUSE_ZLIB" = "builtin" ; then
46913 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46914 fi
46915
46916 for i in $wxconfig_3rdparty ; do
46917 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46918 done
46919
46920
46921 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46922 WXUNIV=1
46923
46924 case "$wxUNIV_THEMES" in
46925 ''|all)
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_ALL_THEMES 1
46928 _ACEOF
46929
46930 ;;
46931
46932 *)
46933 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46934 cat >>confdefs.h <<_ACEOF
46935 #define wxUSE_THEME_$t 1
46936 _ACEOF
46937
46938 done
46939 esac
46940 else
46941 WXUNIV=0
46942 fi
46943
46944
46945
46946
46947
46948
46949
46950
46951 if test $wxUSE_MONOLITHIC = "yes" ; then
46952 MONOLITHIC=1
46953 else
46954 MONOLITHIC=0
46955 fi
46956
46957 if test $wxUSE_PLUGINS = "yes" ; then
46958 USE_PLUGINS=1
46959 else
46960 USE_PLUGINS=0
46961 fi
46962
46963 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46964 USE_QA=1
46965 else
46966 USE_QA=0
46967 fi
46968
46969 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46970 OFFICIAL_BUILD=1
46971 else
46972 OFFICIAL_BUILD=0
46973 fi
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002 TOOLKIT_LOWERCASE=xxx
47003 if test "$TOOLKIT" = "MAC"; then
47004 TOOLKIT_LOWERCASE=osx_carbon
47005 fi
47006 if test "$TOOLKIT" = "OSX_CARBON"; then
47007 TOOLKIT_LOWERCASE=osx_carbon
47008 fi
47009 if test "$TOOLKIT" = "OSX_COCOA"; then
47010 TOOLKIT_LOWERCASE=osx_cocoa
47011 fi
47012 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47013 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47014 fi
47015
47016
47017
47018
47019
47020
47021
47022
47023 case "$TOOLKIT" in
47024 GTK)
47025 TOOLKIT_DESC="GTK+"
47026 if test "$WXGTK2" = 1; then
47027 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47028 if test "$wxUSE_GTKPRINT" = "yes" ; then
47029 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47030 fi
47031 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47032 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47033 fi
47034 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47035 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47036 fi
47037 if test "$wxUSE_LIBHILDON" = "yes"; then
47038 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47039 fi
47040
47041 if test "$TOOLKIT_EXTRA" != ""; then
47042 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47043 fi
47044 fi
47045 ;;
47046
47047 ?*)
47048 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47049 ;;
47050
47051 *)
47052 TOOLKIT_DESC="base only"
47053 ;;
47054 esac
47055
47056 if test "$wxUSE_WINE" = "yes"; then
47057 BAKEFILE_FORCE_PLATFORM=win32
47058 fi
47059
47060 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47061 then
47062 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47063 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47064 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47065 echo $ECHO_N "(cached) $ECHO_C" >&6
47066 else
47067
47068 echo '#include <stdio.h>
47069 const wchar_t test_var[] = L"awidetest";' > conftest.h
47070
47071 echo '#include "conftest.h"
47072 int main()
47073 {
47074 printf("%ls", test_var);
47075 return 0;
47076 }' > conftest.cpp
47077
47078 wx_cv_gcc_pch_bug="pch not supported"
47079
47080 if $CXX conftest.h >/dev/null 2>&1
47081 then
47082 wx_cv_gcc_pch_bug=
47083
47084 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47085 then
47086 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47087 grep awidetest >/dev/null
47088 then
47089 wx_cv_gcc_pch_bug=no
47090 else
47091 wx_cv_gcc_pch_bug=yes
47092 fi
47093 fi
47094 fi
47095
47096 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47097
47098 fi
47099 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47100 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47101
47102 if test "$wx_cv_gcc_pch_bug" = yes; then
47103 bk_use_pch=no
47104 fi
47105 fi
47106
47107
47108
47109
47110
47111
47112
47113 if test "x$BAKEFILE_HOST" = "x"; then
47114 if test "x${host}" = "x" ; then
47115 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47116 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47117 { (exit 1); exit 1; }; }
47118 fi
47119
47120 BAKEFILE_HOST="${host}"
47121 fi
47122
47123 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47124
47125 if test -n "$ac_tool_prefix"; then
47126 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47127 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47130 if test "${ac_cv_prog_RANLIB+set}" = set; then
47131 echo $ECHO_N "(cached) $ECHO_C" >&6
47132 else
47133 if test -n "$RANLIB"; then
47134 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47135 else
47136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47137 for as_dir in $PATH
47138 do
47139 IFS=$as_save_IFS
47140 test -z "$as_dir" && as_dir=.
47141 for ac_exec_ext in '' $ac_executable_extensions; do
47142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47143 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47145 break 2
47146 fi
47147 done
47148 done
47149 IFS=$as_save_IFS
47150
47151 fi
47152 fi
47153 RANLIB=$ac_cv_prog_RANLIB
47154 if test -n "$RANLIB"; then
47155 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47156 echo "${ECHO_T}$RANLIB" >&6; }
47157 else
47158 { echo "$as_me:$LINENO: result: no" >&5
47159 echo "${ECHO_T}no" >&6; }
47160 fi
47161
47162
47163 fi
47164 if test -z "$ac_cv_prog_RANLIB"; then
47165 ac_ct_RANLIB=$RANLIB
47166 # Extract the first word of "ranlib", so it can be a program name with args.
47167 set dummy ranlib; ac_word=$2
47168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47170 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 else
47173 if test -n "$ac_ct_RANLIB"; then
47174 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47175 else
47176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47177 for as_dir in $PATH
47178 do
47179 IFS=$as_save_IFS
47180 test -z "$as_dir" && as_dir=.
47181 for ac_exec_ext in '' $ac_executable_extensions; do
47182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47183 ac_cv_prog_ac_ct_RANLIB="ranlib"
47184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47185 break 2
47186 fi
47187 done
47188 done
47189 IFS=$as_save_IFS
47190
47191 fi
47192 fi
47193 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47194 if test -n "$ac_ct_RANLIB"; then
47195 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47196 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47197 else
47198 { echo "$as_me:$LINENO: result: no" >&5
47199 echo "${ECHO_T}no" >&6; }
47200 fi
47201
47202 if test "x$ac_ct_RANLIB" = x; then
47203 RANLIB=":"
47204 else
47205 case $cross_compiling:$ac_tool_warned in
47206 yes:)
47207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47208 whose name does not start with the host triplet. If you think this
47209 configuration is useful to you, please write to autoconf@gnu.org." >&5
47210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47211 whose name does not start with the host triplet. If you think this
47212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47213 ac_tool_warned=yes ;;
47214 esac
47215 RANLIB=$ac_ct_RANLIB
47216 fi
47217 else
47218 RANLIB="$ac_cv_prog_RANLIB"
47219 fi
47220
47221 # Find a good install program. We prefer a C program (faster),
47222 # so one script is as good as another. But avoid the broken or
47223 # incompatible versions:
47224 # SysV /etc/install, /usr/sbin/install
47225 # SunOS /usr/etc/install
47226 # IRIX /sbin/install
47227 # AIX /bin/install
47228 # AmigaOS /C/install, which installs bootblocks on floppy discs
47229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47232 # OS/2's system install, which has a completely different semantic
47233 # ./install, which can be erroneously created by make from ./install.sh.
47234 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47235 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47236 if test -z "$INSTALL"; then
47237 if test "${ac_cv_path_install+set}" = set; then
47238 echo $ECHO_N "(cached) $ECHO_C" >&6
47239 else
47240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47241 for as_dir in $PATH
47242 do
47243 IFS=$as_save_IFS
47244 test -z "$as_dir" && as_dir=.
47245 # Account for people who put trailing slashes in PATH elements.
47246 case $as_dir/ in
47247 ./ | .// | /cC/* | \
47248 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47249 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47250 /usr/ucb/* ) ;;
47251 *)
47252 # OSF1 and SCO ODT 3.0 have their own names for install.
47253 # Don't use installbsd from OSF since it installs stuff as root
47254 # by default.
47255 for ac_prog in ginstall scoinst install; do
47256 for ac_exec_ext in '' $ac_executable_extensions; do
47257 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47258 if test $ac_prog = install &&
47259 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47260 # AIX install. It has an incompatible calling convention.
47261 :
47262 elif test $ac_prog = install &&
47263 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47264 # program-specific install script used by HP pwplus--don't use.
47265 :
47266 else
47267 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47268 break 3
47269 fi
47270 fi
47271 done
47272 done
47273 ;;
47274 esac
47275 done
47276 IFS=$as_save_IFS
47277
47278
47279 fi
47280 if test "${ac_cv_path_install+set}" = set; then
47281 INSTALL=$ac_cv_path_install
47282 else
47283 # As a last resort, use the slow shell script. Don't cache a
47284 # value for INSTALL within a source directory, because that will
47285 # break other packages using the cache if that directory is
47286 # removed, or if the value is a relative name.
47287 INSTALL=$ac_install_sh
47288 fi
47289 fi
47290 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47291 echo "${ECHO_T}$INSTALL" >&6; }
47292
47293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47294 # It thinks the first close brace ends the variable substitution.
47295 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47296
47297 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47298
47299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47300
47301 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47302 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47303 LN_S=$as_ln_s
47304 if test "$LN_S" = "ln -s"; then
47305 { echo "$as_me:$LINENO: result: yes" >&5
47306 echo "${ECHO_T}yes" >&6; }
47307 else
47308 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47309 echo "${ECHO_T}no, using $LN_S" >&6; }
47310 fi
47311
47312
47313 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47314 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47315 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47316 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47317 echo $ECHO_N "(cached) $ECHO_C" >&6
47318 else
47319 cat >conftest.make <<\_ACEOF
47320 SHELL = /bin/sh
47321 all:
47322 @echo '@@@%%%=$(MAKE)=@@@%%%'
47323 _ACEOF
47324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47326 *@@@%%%=?*=@@@%%%*)
47327 eval ac_cv_prog_make_${ac_make}_set=yes;;
47328 *)
47329 eval ac_cv_prog_make_${ac_make}_set=no;;
47330 esac
47331 rm -f conftest.make
47332 fi
47333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47334 { echo "$as_me:$LINENO: result: yes" >&5
47335 echo "${ECHO_T}yes" >&6; }
47336 SET_MAKE=
47337 else
47338 { echo "$as_me:$LINENO: result: no" >&5
47339 echo "${ECHO_T}no" >&6; }
47340 SET_MAKE="MAKE=${MAKE-make}"
47341 fi
47342
47343
47344
47345 if test "x$SUNCXX" = "xyes"; then
47346 AR=$CXX
47347 AROPTIONS="-xar -o"
47348
47349 elif test "x$SGICC" = "xyes"; then
47350 AR=$CXX
47351 AROPTIONS="-ar -o"
47352
47353 else
47354 if test -n "$ac_tool_prefix"; then
47355 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47356 set dummy ${ac_tool_prefix}ar; ac_word=$2
47357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47359 if test "${ac_cv_prog_AR+set}" = set; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47362 if test -n "$AR"; then
47363 ac_cv_prog_AR="$AR" # Let the user override the test.
47364 else
47365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47366 for as_dir in $PATH
47367 do
47368 IFS=$as_save_IFS
47369 test -z "$as_dir" && as_dir=.
47370 for ac_exec_ext in '' $ac_executable_extensions; do
47371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47372 ac_cv_prog_AR="${ac_tool_prefix}ar"
47373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47374 break 2
47375 fi
47376 done
47377 done
47378 IFS=$as_save_IFS
47379
47380 fi
47381 fi
47382 AR=$ac_cv_prog_AR
47383 if test -n "$AR"; then
47384 { echo "$as_me:$LINENO: result: $AR" >&5
47385 echo "${ECHO_T}$AR" >&6; }
47386 else
47387 { echo "$as_me:$LINENO: result: no" >&5
47388 echo "${ECHO_T}no" >&6; }
47389 fi
47390
47391
47392 fi
47393 if test -z "$ac_cv_prog_AR"; then
47394 ac_ct_AR=$AR
47395 # Extract the first word of "ar", so it can be a program name with args.
47396 set dummy ar; ac_word=$2
47397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47400 echo $ECHO_N "(cached) $ECHO_C" >&6
47401 else
47402 if test -n "$ac_ct_AR"; then
47403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47404 else
47405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47406 for as_dir in $PATH
47407 do
47408 IFS=$as_save_IFS
47409 test -z "$as_dir" && as_dir=.
47410 for ac_exec_ext in '' $ac_executable_extensions; do
47411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47412 ac_cv_prog_ac_ct_AR="ar"
47413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47414 break 2
47415 fi
47416 done
47417 done
47418 IFS=$as_save_IFS
47419
47420 fi
47421 fi
47422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47423 if test -n "$ac_ct_AR"; then
47424 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47425 echo "${ECHO_T}$ac_ct_AR" >&6; }
47426 else
47427 { echo "$as_me:$LINENO: result: no" >&5
47428 echo "${ECHO_T}no" >&6; }
47429 fi
47430
47431 if test "x$ac_ct_AR" = x; then
47432 AR="ar"
47433 else
47434 case $cross_compiling:$ac_tool_warned in
47435 yes:)
47436 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47437 whose name does not start with the host triplet. If you think this
47438 configuration is useful to you, please write to autoconf@gnu.org." >&5
47439 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47440 whose name does not start with the host triplet. If you think this
47441 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47442 ac_tool_warned=yes ;;
47443 esac
47444 AR=$ac_ct_AR
47445 fi
47446 else
47447 AR="$ac_cv_prog_AR"
47448 fi
47449
47450 AROPTIONS=rcu
47451 fi
47452
47453
47454 if test -n "$ac_tool_prefix"; then
47455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47456 set dummy ${ac_tool_prefix}strip; ac_word=$2
47457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47459 if test "${ac_cv_prog_STRIP+set}" = set; then
47460 echo $ECHO_N "(cached) $ECHO_C" >&6
47461 else
47462 if test -n "$STRIP"; then
47463 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47464 else
47465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47466 for as_dir in $PATH
47467 do
47468 IFS=$as_save_IFS
47469 test -z "$as_dir" && as_dir=.
47470 for ac_exec_ext in '' $ac_executable_extensions; do
47471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47472 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47474 break 2
47475 fi
47476 done
47477 done
47478 IFS=$as_save_IFS
47479
47480 fi
47481 fi
47482 STRIP=$ac_cv_prog_STRIP
47483 if test -n "$STRIP"; then
47484 { echo "$as_me:$LINENO: result: $STRIP" >&5
47485 echo "${ECHO_T}$STRIP" >&6; }
47486 else
47487 { echo "$as_me:$LINENO: result: no" >&5
47488 echo "${ECHO_T}no" >&6; }
47489 fi
47490
47491
47492 fi
47493 if test -z "$ac_cv_prog_STRIP"; then
47494 ac_ct_STRIP=$STRIP
47495 # Extract the first word of "strip", so it can be a program name with args.
47496 set dummy strip; ac_word=$2
47497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47499 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47500 echo $ECHO_N "(cached) $ECHO_C" >&6
47501 else
47502 if test -n "$ac_ct_STRIP"; then
47503 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47504 else
47505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47506 for as_dir in $PATH
47507 do
47508 IFS=$as_save_IFS
47509 test -z "$as_dir" && as_dir=.
47510 for ac_exec_ext in '' $ac_executable_extensions; do
47511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47512 ac_cv_prog_ac_ct_STRIP="strip"
47513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47514 break 2
47515 fi
47516 done
47517 done
47518 IFS=$as_save_IFS
47519
47520 fi
47521 fi
47522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47523 if test -n "$ac_ct_STRIP"; then
47524 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47525 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47526 else
47527 { echo "$as_me:$LINENO: result: no" >&5
47528 echo "${ECHO_T}no" >&6; }
47529 fi
47530
47531 if test "x$ac_ct_STRIP" = x; then
47532 STRIP=":"
47533 else
47534 case $cross_compiling:$ac_tool_warned in
47535 yes:)
47536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47537 whose name does not start with the host triplet. If you think this
47538 configuration is useful to you, please write to autoconf@gnu.org." >&5
47539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47540 whose name does not start with the host triplet. If you think this
47541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47542 ac_tool_warned=yes ;;
47543 esac
47544 STRIP=$ac_ct_STRIP
47545 fi
47546 else
47547 STRIP="$ac_cv_prog_STRIP"
47548 fi
47549
47550 if test -n "$ac_tool_prefix"; then
47551 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47552 set dummy ${ac_tool_prefix}nm; ac_word=$2
47553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47555 if test "${ac_cv_prog_NM+set}" = set; then
47556 echo $ECHO_N "(cached) $ECHO_C" >&6
47557 else
47558 if test -n "$NM"; then
47559 ac_cv_prog_NM="$NM" # Let the user override the test.
47560 else
47561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47562 for as_dir in $PATH
47563 do
47564 IFS=$as_save_IFS
47565 test -z "$as_dir" && as_dir=.
47566 for ac_exec_ext in '' $ac_executable_extensions; do
47567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47568 ac_cv_prog_NM="${ac_tool_prefix}nm"
47569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47570 break 2
47571 fi
47572 done
47573 done
47574 IFS=$as_save_IFS
47575
47576 fi
47577 fi
47578 NM=$ac_cv_prog_NM
47579 if test -n "$NM"; then
47580 { echo "$as_me:$LINENO: result: $NM" >&5
47581 echo "${ECHO_T}$NM" >&6; }
47582 else
47583 { echo "$as_me:$LINENO: result: no" >&5
47584 echo "${ECHO_T}no" >&6; }
47585 fi
47586
47587
47588 fi
47589 if test -z "$ac_cv_prog_NM"; then
47590 ac_ct_NM=$NM
47591 # Extract the first word of "nm", so it can be a program name with args.
47592 set dummy nm; ac_word=$2
47593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47595 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47596 echo $ECHO_N "(cached) $ECHO_C" >&6
47597 else
47598 if test -n "$ac_ct_NM"; then
47599 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47600 else
47601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47602 for as_dir in $PATH
47603 do
47604 IFS=$as_save_IFS
47605 test -z "$as_dir" && as_dir=.
47606 for ac_exec_ext in '' $ac_executable_extensions; do
47607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47608 ac_cv_prog_ac_ct_NM="nm"
47609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47610 break 2
47611 fi
47612 done
47613 done
47614 IFS=$as_save_IFS
47615
47616 fi
47617 fi
47618 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47619 if test -n "$ac_ct_NM"; then
47620 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47621 echo "${ECHO_T}$ac_ct_NM" >&6; }
47622 else
47623 { echo "$as_me:$LINENO: result: no" >&5
47624 echo "${ECHO_T}no" >&6; }
47625 fi
47626
47627 if test "x$ac_ct_NM" = x; then
47628 NM=":"
47629 else
47630 case $cross_compiling:$ac_tool_warned in
47631 yes:)
47632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47633 whose name does not start with the host triplet. If you think this
47634 configuration is useful to you, please write to autoconf@gnu.org." >&5
47635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47636 whose name does not start with the host triplet. If you think this
47637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47638 ac_tool_warned=yes ;;
47639 esac
47640 NM=$ac_ct_NM
47641 fi
47642 else
47643 NM="$ac_cv_prog_NM"
47644 fi
47645
47646
47647 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47648 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47649 INSTALL_TEST_DIR=acbftest$$
47650 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47651 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47652 rmdir $INSTALL_TEST_DIR
47653 INSTALL_DIR='$(INSTALL) -d'
47654 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47655 echo "${ECHO_T}$INSTALL -d" >&6; }
47656 else
47657 INSTALL_DIR="mkdir -p"
47658 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47659 echo "${ECHO_T}mkdir -p" >&6; }
47660 fi
47661
47662
47663 LDFLAGS_GUI=
47664 case ${BAKEFILE_HOST} in
47665 *-*-cygwin* | *-*-mingw32* )
47666 LDFLAGS_GUI="-mwindows"
47667 esac
47668
47669
47670 fi
47671
47672 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47673 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47674 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47675 echo $ECHO_N "(cached) $ECHO_C" >&6
47676 else
47677
47678 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47679 egrep -s GNU > /dev/null); then
47680 bakefile_cv_prog_makeisgnu="yes"
47681 else
47682 bakefile_cv_prog_makeisgnu="no"
47683 fi
47684
47685 fi
47686 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47687 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47688
47689 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47690 IF_GNU_MAKE=""
47691 else
47692 IF_GNU_MAKE="#"
47693 fi
47694
47695
47696
47697 PLATFORM_UNIX=0
47698 PLATFORM_WIN32=0
47699 PLATFORM_MSDOS=0
47700 PLATFORM_MAC=0
47701 PLATFORM_MACOS=0
47702 PLATFORM_MACOSX=0
47703 PLATFORM_OS2=0
47704 PLATFORM_BEOS=0
47705
47706 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47707 case "${BAKEFILE_HOST}" in
47708 *-*-mingw32* )
47709 PLATFORM_WIN32=1
47710 ;;
47711 *-pc-msdosdjgpp )
47712 PLATFORM_MSDOS=1
47713 ;;
47714 *-pc-os2_emx | *-pc-os2-emx )
47715 PLATFORM_OS2=1
47716 ;;
47717 *-*-darwin* )
47718 PLATFORM_MAC=1
47719 PLATFORM_MACOSX=1
47720 ;;
47721 *-*-beos* )
47722 PLATFORM_BEOS=1
47723 ;;
47724 powerpc-apple-macos* )
47725 PLATFORM_MAC=1
47726 PLATFORM_MACOS=1
47727 ;;
47728 * )
47729 PLATFORM_UNIX=1
47730 ;;
47731 esac
47732 else
47733 case "$BAKEFILE_FORCE_PLATFORM" in
47734 win32 )
47735 PLATFORM_WIN32=1
47736 ;;
47737 msdos )
47738 PLATFORM_MSDOS=1
47739 ;;
47740 os2 )
47741 PLATFORM_OS2=1
47742 ;;
47743 darwin )
47744 PLATFORM_MAC=1
47745 PLATFORM_MACOSX=1
47746 ;;
47747 unix )
47748 PLATFORM_UNIX=1
47749 ;;
47750 beos )
47751 PLATFORM_BEOS=1
47752 ;;
47753 * )
47754 ;;
47755 esac
47756 fi
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768 # Check whether --enable-omf was given.
47769 if test "${enable_omf+set}" = set; then
47770 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47771 fi
47772
47773
47774 case "${BAKEFILE_HOST}" in
47775 *-*-darwin* )
47776 if test "x$GCC" = "xyes"; then
47777 CFLAGS="$CFLAGS -fno-common"
47778 CXXFLAGS="$CXXFLAGS -fno-common"
47779 fi
47780 if test "x$XLCC" = "xyes"; then
47781 CFLAGS="$CFLAGS -qnocommon"
47782 CXXFLAGS="$CXXFLAGS -qnocommon"
47783 fi
47784 ;;
47785
47786 *-pc-os2_emx | *-pc-os2-emx )
47787 if test "x$bk_os2_use_omf" = "xyes" ; then
47788 AR=emxomfar
47789 RANLIB=:
47790 LDFLAGS="-Zomf $LDFLAGS"
47791 CFLAGS="-Zomf $CFLAGS"
47792 CXXFLAGS="-Zomf $CXXFLAGS"
47793 OS2_LIBEXT="lib"
47794 else
47795 OS2_LIBEXT="a"
47796 fi
47797 ;;
47798
47799 i*86-*-beos* )
47800 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47801 ;;
47802 esac
47803
47804
47805 SO_SUFFIX="so"
47806 SO_SUFFIX_MODULE="so"
47807 EXEEXT=""
47808 LIBPREFIX="lib"
47809 LIBEXT=".a"
47810 DLLPREFIX="lib"
47811 DLLPREFIX_MODULE=""
47812 DLLIMP_SUFFIX=""
47813 dlldir="$libdir"
47814
47815 case "${BAKEFILE_HOST}" in
47816 ia64-hp-hpux* )
47817 ;;
47818 *-hp-hpux* )
47819 SO_SUFFIX="sl"
47820 SO_SUFFIX_MODULE="sl"
47821 ;;
47822 *-*-aix* )
47823 SO_SUFFIX="a"
47824 SO_SUFFIX_MODULE="a"
47825 ;;
47826 *-*-cygwin* )
47827 SO_SUFFIX="dll"
47828 SO_SUFFIX_MODULE="dll"
47829 DLLIMP_SUFFIX="dll.a"
47830 EXEEXT=".exe"
47831 DLLPREFIX="cyg"
47832 dlldir="$bindir"
47833 ;;
47834 *-*-mingw32* )
47835 SO_SUFFIX="dll"
47836 SO_SUFFIX_MODULE="dll"
47837 DLLIMP_SUFFIX="dll.a"
47838 EXEEXT=".exe"
47839 DLLPREFIX=""
47840 dlldir="$bindir"
47841 ;;
47842 *-pc-msdosdjgpp )
47843 EXEEXT=".exe"
47844 DLLPREFIX=""
47845 dlldir="$bindir"
47846 ;;
47847 *-pc-os2_emx | *-pc-os2-emx )
47848 SO_SUFFIX="dll"
47849 SO_SUFFIX_MODULE="dll"
47850 DLLIMP_SUFFIX=$OS2_LIBEXT
47851 EXEEXT=".exe"
47852 DLLPREFIX=""
47853 LIBPREFIX=""
47854 LIBEXT=".$OS2_LIBEXT"
47855 dlldir="$bindir"
47856 ;;
47857 *-*-darwin* )
47858 SO_SUFFIX="dylib"
47859 SO_SUFFIX_MODULE="bundle"
47860 ;;
47861 esac
47862
47863 if test "x$DLLIMP_SUFFIX" = "x" ; then
47864 DLLIMP_SUFFIX="$SO_SUFFIX"
47865 fi
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878 PIC_FLAG=""
47879 if test "x$GCC" = "xyes"; then
47880 PIC_FLAG="-fPIC"
47881 fi
47882
47883 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47884 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47885 WINDOWS_IMPLIB=0
47886
47887 case "${BAKEFILE_HOST}" in
47888 *-hp-hpux* )
47889 if test "x$GCC" != "xyes"; then
47890 LDFLAGS="$LDFLAGS -L/usr/lib"
47891
47892 SHARED_LD_CC="${CC} -b -o"
47893 SHARED_LD_CXX="${CXX} -b -o"
47894 PIC_FLAG="+Z"
47895 fi
47896 ;;
47897
47898 *-*-linux* )
47899 if test "$INTELCC" = "yes"; then
47900 PIC_FLAG="-KPIC"
47901 elif test "x$SUNCXX" = "xyes"; then
47902 SHARED_LD_CC="${CC} -G -o"
47903 SHARED_LD_CXX="${CXX} -G -o"
47904 PIC_FLAG="-KPIC"
47905 fi
47906 ;;
47907
47908 *-*-solaris2* )
47909 if test "x$SUNCXX" = xyes ; then
47910 SHARED_LD_CC="${CC} -G -o"
47911 SHARED_LD_CXX="${CXX} -G -o"
47912 PIC_FLAG="-KPIC"
47913 fi
47914 ;;
47915
47916 *-*-darwin* )
47917
47918 D='$'
47919 cat <<EOF >shared-ld-sh
47920 #!/bin/sh
47921 #-----------------------------------------------------------------------------
47922 #-- Name: distrib/mac/shared-ld-sh
47923 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47924 #-- Author: Gilles Depeyrot
47925 #-- Copyright: (c) 2002 Gilles Depeyrot
47926 #-- Licence: any use permitted
47927 #-----------------------------------------------------------------------------
47928
47929 verbose=0
47930 args=""
47931 objects=""
47932 linking_flag="-dynamiclib"
47933 ldargs="-r -keep_private_externs -nostdlib"
47934
47935 if test "x${D}CXX" = "x"; then
47936 CXX="c++"
47937 fi
47938
47939 while test ${D}# -gt 0; do
47940 case ${D}1 in
47941
47942 -v)
47943 verbose=1
47944 ;;
47945
47946 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47947 # collect these options and values
47948 args="${D}{args} ${D}1 ${D}2"
47949 shift
47950 ;;
47951
47952 -arch|-isysroot)
47953 # collect these options and values
47954 ldargs="${D}{ldargs} ${D}1 ${D}2"
47955 shift
47956 ;;
47957
47958 -s|-Wl,*)
47959 # collect these load args
47960 ldargs="${D}{ldargs} ${D}1"
47961 ;;
47962
47963 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47964 # collect these options
47965 args="${D}{args} ${D}1"
47966 ;;
47967
47968 -dynamiclib|-bundle)
47969 linking_flag="${D}1"
47970 ;;
47971
47972 -*)
47973 echo "shared-ld: unhandled option '${D}1'"
47974 exit 1
47975 ;;
47976
47977 *.o | *.a | *.dylib)
47978 # collect object files
47979 objects="${D}{objects} ${D}1"
47980 ;;
47981
47982 *)
47983 echo "shared-ld: unhandled argument '${D}1'"
47984 exit 1
47985 ;;
47986
47987 esac
47988 shift
47989 done
47990
47991 status=0
47992
47993 #
47994 # Link one module containing all the others
47995 #
47996 if test ${D}{verbose} = 1; then
47997 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47998 fi
47999 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48000 status=${D}?
48001
48002 #
48003 # Link the shared library from the single module created, but only if the
48004 # previous command didn't fail:
48005 #
48006 if test ${D}{status} = 0; then
48007 if test ${D}{verbose} = 1; then
48008 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48009 fi
48010 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48011 status=${D}?
48012 fi
48013
48014 #
48015 # Remove intermediate module
48016 #
48017 rm -f master.${D}${D}.o
48018
48019 exit ${D}status
48020 EOF
48021
48022 chmod +x shared-ld-sh
48023
48024 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48025 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48026
48027
48028 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48029 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48030 if test "${bakefile_cv_gcc31+set}" = set; then
48031 echo $ECHO_N "(cached) $ECHO_C" >&6
48032 else
48033
48034 cat >conftest.$ac_ext <<_ACEOF
48035 /* confdefs.h. */
48036 _ACEOF
48037 cat confdefs.h >>conftest.$ac_ext
48038 cat >>conftest.$ac_ext <<_ACEOF
48039 /* end confdefs.h. */
48040
48041 int
48042 main ()
48043 {
48044
48045 #if (__GNUC__ < 3) || \
48046 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48047 This is old gcc
48048 #endif
48049
48050 ;
48051 return 0;
48052 }
48053 _ACEOF
48054 rm -f conftest.$ac_objext
48055 if { (ac_try="$ac_compile"
48056 case "(($ac_try" in
48057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48058 *) ac_try_echo=$ac_try;;
48059 esac
48060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48061 (eval "$ac_compile") 2>conftest.er1
48062 ac_status=$?
48063 grep -v '^ *+' conftest.er1 >conftest.err
48064 rm -f conftest.er1
48065 cat conftest.err >&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } && {
48068 test -z "$ac_c_werror_flag" ||
48069 test ! -s conftest.err
48070 } && test -s conftest.$ac_objext; then
48071
48072 bakefile_cv_gcc31=yes
48073
48074 else
48075 echo "$as_me: failed program was:" >&5
48076 sed 's/^/| /' conftest.$ac_ext >&5
48077
48078
48079 bakefile_cv_gcc31=no
48080
48081
48082 fi
48083
48084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48085
48086 fi
48087 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48088 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48089 if test "$bakefile_cv_gcc31" = "no"; then
48090 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48091 SHARED_LD_CXX="$SHARED_LD_CC"
48092 else
48093 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48094 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48095 fi
48096
48097 if test "x$GCC" == "xyes"; then
48098 PIC_FLAG="-dynamic -fPIC"
48099 fi
48100 if test "x$XLCC" = "xyes"; then
48101 PIC_FLAG="-dynamic -DPIC"
48102 fi
48103 ;;
48104
48105 *-*-aix* )
48106 if test "x$GCC" = "xyes"; then
48107 PIC_FLAG=""
48108
48109 case "${BAKEFILE_HOST}" in
48110 *-*-aix5* )
48111 LD_EXPFULL="-Wl,-bexpfull"
48112 ;;
48113 esac
48114
48115 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48116 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48117 else
48118 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48119 set dummy makeC++SharedLib; ac_word=$2
48120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48122 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48123 echo $ECHO_N "(cached) $ECHO_C" >&6
48124 else
48125 if test -n "$AIX_CXX_LD"; then
48126 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48127 else
48128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48129 for as_dir in $PATH
48130 do
48131 IFS=$as_save_IFS
48132 test -z "$as_dir" && as_dir=.
48133 for ac_exec_ext in '' $ac_executable_extensions; do
48134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48135 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48137 break 2
48138 fi
48139 done
48140 done
48141 IFS=$as_save_IFS
48142
48143 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48144 fi
48145 fi
48146 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48147 if test -n "$AIX_CXX_LD"; then
48148 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48149 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48150 else
48151 { echo "$as_me:$LINENO: result: no" >&5
48152 echo "${ECHO_T}no" >&6; }
48153 fi
48154
48155
48156 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48157 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48158 fi
48159 ;;
48160
48161 *-*-beos* )
48162 SHARED_LD_CC="${LD} -nostart -o"
48163 SHARED_LD_CXX="${LD} -nostart -o"
48164 ;;
48165
48166 *-*-irix* )
48167 if test "x$GCC" != "xyes"; then
48168 PIC_FLAG="-KPIC"
48169 fi
48170 ;;
48171
48172 *-*-cygwin* | *-*-mingw32* )
48173 PIC_FLAG=""
48174 SHARED_LD_CC="\$(CC) -shared -o"
48175 SHARED_LD_CXX="\$(CXX) -shared -o"
48176 WINDOWS_IMPLIB=1
48177 ;;
48178
48179 *-pc-os2_emx | *-pc-os2-emx )
48180 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48181 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48182 PIC_FLAG=""
48183
48184 D='$'
48185 cat <<EOF >dllar.sh
48186 #!/bin/sh
48187 #
48188 # dllar - a tool to build both a .dll and an .a file
48189 # from a set of object (.o) files for EMX/OS2.
48190 #
48191 # Written by Andrew Zabolotny, bit@freya.etu.ru
48192 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48193 #
48194 # This script will accept a set of files on the command line.
48195 # All the public symbols from the .o files will be exported into
48196 # a .DEF file, then linker will be run (through gcc) against them to
48197 # build a shared library consisting of all given .o files. All libraries
48198 # (.a) will be first decompressed into component .o files then act as
48199 # described above. You can optionally give a description (-d "description")
48200 # which will be put into .DLL. To see the list of accepted options (as well
48201 # as command-line format) simply run this program without options. The .DLL
48202 # is built to be imported by name (there is no guarantee that new versions
48203 # of the library you build will have same ordinals for same symbols).
48204 #
48205 # dllar is free software; you can redistribute it and/or modify
48206 # it under the terms of the GNU General Public License as published by
48207 # the Free Software Foundation; either version 2, or (at your option)
48208 # any later version.
48209 #
48210 # dllar is distributed in the hope that it will be useful,
48211 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48212 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48213 # GNU General Public License for more details.
48214 #
48215 # You should have received a copy of the GNU General Public License
48216 # along with dllar; see the file COPYING. If not, write to the Free
48217 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48218 # 02111-1307, USA.
48219
48220 # To successfuly run this program you will need:
48221 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48222 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48223 # - gcc
48224 # (used to build the .dll)
48225 # - emxexp
48226 # (used to create .def file from .o files)
48227 # - emximp
48228 # (used to create .a file from .def file)
48229 # - GNU text utilites (cat, sort, uniq)
48230 # used to process emxexp output
48231 # - GNU file utilities (mv, rm)
48232 # - GNU sed
48233 # - lxlite (optional, see flag below)
48234 # (used for general .dll cleanup)
48235 #
48236
48237 flag_USE_LXLITE=1;
48238
48239 #
48240 # helper functions
48241 # basnam, variant of basename, which does _not_ remove the path, _iff_
48242 # second argument (suffix to remove) is given
48243 basnam(){
48244 case ${D}# in
48245 1)
48246 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48247 ;;
48248 2)
48249 echo ${D}1 | sed 's/'${D}2'${D}//'
48250 ;;
48251 *)
48252 echo "error in basnam ${D}*"
48253 exit 8
48254 ;;
48255 esac
48256 }
48257
48258 # Cleanup temporary files and output
48259 CleanUp() {
48260 cd ${D}curDir
48261 for i in ${D}inputFiles ; do
48262 case ${D}i in
48263 *!)
48264 rm -rf \`basnam ${D}i !\`
48265 ;;
48266 *)
48267 ;;
48268 esac
48269 done
48270
48271 # Kill result in case of failure as there is just to many stupid make/nmake
48272 # things out there which doesn't do this.
48273 if [ ${D}# -eq 0 ]; then
48274 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48275 fi
48276 }
48277
48278 # Print usage and exit script with rc=1.
48279 PrintHelp() {
48280 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48281 echo ' [-name-mangler-script script.sh]'
48282 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48283 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48284 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48285 echo ' [*.o] [*.a]'
48286 echo '*> "output_file" should have no extension.'
48287 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48288 echo ' The import library name is derived from this and is set to "name".a,'
48289 echo ' unless overridden by -import'
48290 echo '*> "importlib_name" should have no extension.'
48291 echo ' If it has the .o, or .a extension, it is automatically removed.'
48292 echo ' This name is used as the import library name and may be longer and'
48293 echo ' more descriptive than the DLL name which has to follow the old '
48294 echo ' 8.3 convention of FAT.'
48295 echo '*> "script.sh may be given to override the output_file name by a'
48296 echo ' different name. It is mainly useful if the regular make process'
48297 echo ' of some package does not take into account OS/2 restriction of'
48298 echo ' DLL name lengths. It takes the importlib name as input and is'
48299 echo ' supposed to procude a shorter name as output. The script should'
48300 echo ' expect to get importlib_name without extension and should produce'
48301 echo ' a (max.) 8 letter name without extension.'
48302 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48303 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48304 echo ' These flags will be put at the start of GCC command line.'
48305 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48306 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48307 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48308 echo ' If the last character of a symbol is "*", all symbols beginning'
48309 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48310 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48311 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48312 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48313 echo ' C runtime DLLs.'
48314 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48315 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48316 echo ' unchanged to GCC at the end of command line.'
48317 echo '*> If you create a DLL from a library and you do not specify -o,'
48318 echo ' the basename for DLL and import library will be set to library name,'
48319 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48320 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48321 echo ' library will be renamed into gcc_s.a.'
48322 echo '--------'
48323 echo 'Example:'
48324 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48325 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48326 CleanUp
48327 exit 1
48328 }
48329
48330 # Execute a command.
48331 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48332 # @Uses Whatever CleanUp() uses.
48333 doCommand() {
48334 echo "${D}*"
48335 eval ${D}*
48336 rcCmd=${D}?
48337
48338 if [ ${D}rcCmd -ne 0 ]; then
48339 echo "command failed, exit code="${D}rcCmd
48340 CleanUp
48341 exit ${D}rcCmd
48342 fi
48343 }
48344
48345 # main routine
48346 # setup globals
48347 cmdLine=${D}*
48348 outFile=""
48349 outimpFile=""
48350 inputFiles=""
48351 renameScript=""
48352 description=""
48353 CC=gcc.exe
48354 CFLAGS="-s -Zcrtdll"
48355 EXTRA_CFLAGS=""
48356 EXPORT_BY_ORDINALS=0
48357 exclude_symbols=""
48358 library_flags=""
48359 curDir=\`pwd\`
48360 curDirS=curDir
48361 case ${D}curDirS in
48362 */)
48363 ;;
48364 *)
48365 curDirS=${D}{curDirS}"/"
48366 ;;
48367 esac
48368 # Parse commandline
48369 libsToLink=0
48370 omfLinking=0
48371 while [ ${D}1 ]; do
48372 case ${D}1 in
48373 -ord*)
48374 EXPORT_BY_ORDINALS=1;
48375 ;;
48376 -o*)
48377 shift
48378 outFile=${D}1
48379 ;;
48380 -i*)
48381 shift
48382 outimpFile=${D}1
48383 ;;
48384 -name-mangler-script)
48385 shift
48386 renameScript=${D}1
48387 ;;
48388 -d*)
48389 shift
48390 description=${D}1
48391 ;;
48392 -f*)
48393 shift
48394 CFLAGS=${D}1
48395 ;;
48396 -c*)
48397 shift
48398 CC=${D}1
48399 ;;
48400 -h*)
48401 PrintHelp
48402 ;;
48403 -ex*)
48404 shift
48405 exclude_symbols=${D}{exclude_symbols}${D}1" "
48406 ;;
48407 -libf*)
48408 shift
48409 library_flags=${D}{library_flags}${D}1" "
48410 ;;
48411 -nocrt*)
48412 CFLAGS="-s"
48413 ;;
48414 -nolxl*)
48415 flag_USE_LXLITE=0
48416 ;;
48417 -* | /*)
48418 case ${D}1 in
48419 -L* | -l*)
48420 libsToLink=1
48421 ;;
48422 -Zomf)
48423 omfLinking=1
48424 ;;
48425 *)
48426 ;;
48427 esac
48428 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48429 ;;
48430 *.dll)
48431 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48432 if [ ${D}omfLinking -eq 1 ]; then
48433 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48434 else
48435 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48436 fi
48437 ;;
48438 *)
48439 found=0;
48440 if [ ${D}libsToLink -ne 0 ]; then
48441 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48442 else
48443 for file in ${D}1 ; do
48444 if [ -f ${D}file ]; then
48445 inputFiles="${D}{inputFiles} ${D}file"
48446 found=1
48447 fi
48448 done
48449 if [ ${D}found -eq 0 ]; then
48450 echo "ERROR: No file(s) found: "${D}1
48451 exit 8
48452 fi
48453 fi
48454 ;;
48455 esac
48456 shift
48457 done # iterate cmdline words
48458
48459 #
48460 if [ -z "${D}inputFiles" ]; then
48461 echo "dllar: no input files"
48462 PrintHelp
48463 fi
48464
48465 # Now extract all .o files from .a files
48466 newInputFiles=""
48467 for file in ${D}inputFiles ; do
48468 case ${D}file in
48469 *.a | *.lib)
48470 case ${D}file in
48471 *.a)
48472 suffix=".a"
48473 AR="ar"
48474 ;;
48475 *.lib)
48476 suffix=".lib"
48477 AR="emxomfar"
48478 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48479 ;;
48480 *)
48481 ;;
48482 esac
48483 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48484 mkdir ${D}dirname
48485 if [ ${D}? -ne 0 ]; then
48486 echo "Failed to create subdirectory ./${D}dirname"
48487 CleanUp
48488 exit 8;
48489 fi
48490 # Append '!' to indicate archive
48491 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48492 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48493 cd ${D}curDir
48494 found=0;
48495 for subfile in ${D}dirname/*.o* ; do
48496 if [ -f ${D}subfile ]; then
48497 found=1
48498 if [ -s ${D}subfile ]; then
48499 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48500 newInputFiles="${D}newInputFiles ${D}subfile"
48501 fi
48502 fi
48503 done
48504 if [ ${D}found -eq 0 ]; then
48505 echo "WARNING: there are no files in archive \\'${D}file\\'"
48506 fi
48507 ;;
48508 *)
48509 newInputFiles="${D}{newInputFiles} ${D}file"
48510 ;;
48511 esac
48512 done
48513 inputFiles="${D}newInputFiles"
48514
48515 # Output filename(s).
48516 do_backup=0;
48517 if [ -z ${D}outFile ]; then
48518 do_backup=1;
48519 set outFile ${D}inputFiles; outFile=${D}2
48520 fi
48521
48522 # If it is an archive, remove the '!' and the '_%' suffixes
48523 case ${D}outFile in
48524 *_%!)
48525 outFile=\`basnam ${D}outFile _%!\`
48526 ;;
48527 *)
48528 ;;
48529 esac
48530 case ${D}outFile in
48531 *.dll)
48532 outFile=\`basnam ${D}outFile .dll\`
48533 ;;
48534 *.DLL)
48535 outFile=\`basnam ${D}outFile .DLL\`
48536 ;;
48537 *.o)
48538 outFile=\`basnam ${D}outFile .o\`
48539 ;;
48540 *.obj)
48541 outFile=\`basnam ${D}outFile .obj\`
48542 ;;
48543 *.a)
48544 outFile=\`basnam ${D}outFile .a\`
48545 ;;
48546 *.lib)
48547 outFile=\`basnam ${D}outFile .lib\`
48548 ;;
48549 *)
48550 ;;
48551 esac
48552 case ${D}outimpFile in
48553 *.a)
48554 outimpFile=\`basnam ${D}outimpFile .a\`
48555 ;;
48556 *.lib)
48557 outimpFile=\`basnam ${D}outimpFile .lib\`
48558 ;;
48559 *)
48560 ;;
48561 esac
48562 if [ -z ${D}outimpFile ]; then
48563 outimpFile=${D}outFile
48564 fi
48565 defFile="${D}{outFile}.def"
48566 arcFile="${D}{outimpFile}.a"
48567 arcFile2="${D}{outimpFile}.lib"
48568
48569 #create ${D}dllFile as something matching 8.3 restrictions,
48570 if [ -z ${D}renameScript ] ; then
48571 dllFile="${D}outFile"
48572 else
48573 dllFile=\`${D}renameScript ${D}outimpFile\`
48574 fi
48575
48576 if [ ${D}do_backup -ne 0 ] ; then
48577 if [ -f ${D}arcFile ] ; then
48578 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48579 fi
48580 if [ -f ${D}arcFile2 ] ; then
48581 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48582 fi
48583 fi
48584
48585 # Extract public symbols from all the object files.
48586 tmpdefFile=${D}{defFile}_%
48587 rm -f ${D}tmpdefFile
48588 for file in ${D}inputFiles ; do
48589 case ${D}file in
48590 *!)
48591 ;;
48592 *)
48593 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48594 ;;
48595 esac
48596 done
48597
48598 # Create the def file.
48599 rm -f ${D}defFile
48600 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48601 dllFile="${D}{dllFile}.dll"
48602 if [ ! -z ${D}description ]; then
48603 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48604 fi
48605 echo "EXPORTS" >> ${D}defFile
48606
48607 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48608 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48609
48610 # Checks if the export is ok or not.
48611 for word in ${D}exclude_symbols; do
48612 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48613 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48614 done
48615
48616
48617 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48618 sed "=" < ${D}tmpdefFile | \\
48619 sed '
48620 N
48621 : loop
48622 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48623 t loop
48624 ' > ${D}{tmpdefFile}%
48625 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48626 else
48627 rm -f ${D}{tmpdefFile}%
48628 fi
48629 cat ${D}tmpdefFile >> ${D}defFile
48630 rm -f ${D}tmpdefFile
48631
48632 # Do linking, create implib, and apply lxlite.
48633 gccCmdl="";
48634 for file in ${D}inputFiles ; do
48635 case ${D}file in
48636 *!)
48637 ;;
48638 *)
48639 gccCmdl="${D}gccCmdl ${D}file"
48640 ;;
48641 esac
48642 done
48643 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48644 touch "${D}{outFile}.dll"
48645
48646 doCommand "emximp -o ${D}arcFile ${D}defFile"
48647 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48648 add_flags="";
48649 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48650 add_flags="-ynd"
48651 fi
48652 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48653 fi
48654 doCommand "emxomf -s -l ${D}arcFile"
48655
48656 # Successful exit.
48657 CleanUp 1
48658 exit 0
48659 EOF
48660
48661 chmod +x dllar.sh
48662 ;;
48663
48664 powerpc-apple-macos* | \
48665 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48666 *-*-mirbsd* | \
48667 *-*-sunos4* | \
48668 *-*-osf* | \
48669 *-*-dgux5* | \
48670 *-*-sysv5* | \
48671 *-pc-msdosdjgpp )
48672 ;;
48673
48674 *)
48675 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48676 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48677 { (exit 1); exit 1; }; }
48678 esac
48679
48680 if test "x$PIC_FLAG" != "x" ; then
48681 PIC_FLAG="$PIC_FLAG -DPIC"
48682 fi
48683
48684 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48685 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48686 fi
48687 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48688 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48689 fi
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699 USE_SOVERSION=0
48700 USE_SOVERLINUX=0
48701 USE_SOVERSOLARIS=0
48702 USE_SOVERCYGWIN=0
48703 USE_SOSYMLINKS=0
48704 USE_MACVERSION=0
48705 SONAME_FLAG=
48706
48707 case "${BAKEFILE_HOST}" in
48708 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48709 *-*-k*bsd*-gnu | *-*-mirbsd* )
48710 if test "x$SUNCXX" = "xyes"; then
48711 SONAME_FLAG="-h "
48712 else
48713 SONAME_FLAG="-Wl,-soname,"
48714 fi
48715 USE_SOVERSION=1
48716 USE_SOVERLINUX=1
48717 USE_SOSYMLINKS=1
48718 ;;
48719
48720 *-*-solaris2* )
48721 SONAME_FLAG="-h "
48722 USE_SOVERSION=1
48723 USE_SOVERSOLARIS=1
48724 USE_SOSYMLINKS=1
48725 ;;
48726
48727 *-*-darwin* )
48728 USE_MACVERSION=1
48729 USE_SOVERSION=1
48730 USE_SOSYMLINKS=1
48731 ;;
48732
48733 *-*-cygwin* )
48734 USE_SOVERSION=1
48735 USE_SOVERCYGWIN=1
48736 ;;
48737 esac
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748 # Check whether --enable-dependency-tracking was given.
48749 if test "${enable_dependency_tracking+set}" = set; then
48750 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48751 fi
48752
48753
48754 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48755 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48756
48757 BK_DEPS=""
48758 if test "x$bk_use_trackdeps" = "xno" ; then
48759 DEPS_TRACKING=0
48760 { echo "$as_me:$LINENO: result: disabled" >&5
48761 echo "${ECHO_T}disabled" >&6; }
48762 else
48763 DEPS_TRACKING=1
48764
48765 if test "x$GCC" = "xyes"; then
48766 DEPSMODE=gcc
48767 case "${BAKEFILE_HOST}" in
48768 *-*-darwin* )
48769 DEPSFLAG="-no-cpp-precomp -MMD"
48770 ;;
48771 * )
48772 DEPSFLAG="-MMD"
48773 ;;
48774 esac
48775 { echo "$as_me:$LINENO: result: gcc" >&5
48776 echo "${ECHO_T}gcc" >&6; }
48777 elif test "x$MWCC" = "xyes"; then
48778 DEPSMODE=mwcc
48779 DEPSFLAG="-MM"
48780 { echo "$as_me:$LINENO: result: mwcc" >&5
48781 echo "${ECHO_T}mwcc" >&6; }
48782 elif test "x$SUNCC" = "xyes"; then
48783 DEPSMODE=unixcc
48784 DEPSFLAG="-xM1"
48785 { echo "$as_me:$LINENO: result: Sun cc" >&5
48786 echo "${ECHO_T}Sun cc" >&6; }
48787 elif test "x$SGICC" = "xyes"; then
48788 DEPSMODE=unixcc
48789 DEPSFLAG="-M"
48790 { echo "$as_me:$LINENO: result: SGI cc" >&5
48791 echo "${ECHO_T}SGI cc" >&6; }
48792 elif test "x$HPCC" = "xyes"; then
48793 DEPSMODE=unixcc
48794 DEPSFLAG="+make"
48795 { echo "$as_me:$LINENO: result: HP cc" >&5
48796 echo "${ECHO_T}HP cc" >&6; }
48797 elif test "x$COMPAQCC" = "xyes"; then
48798 DEPSMODE=gcc
48799 DEPSFLAG="-MD"
48800 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48801 echo "${ECHO_T}Compaq cc" >&6; }
48802 else
48803 DEPS_TRACKING=0
48804 { echo "$as_me:$LINENO: result: none" >&5
48805 echo "${ECHO_T}none" >&6; }
48806 fi
48807
48808 if test $DEPS_TRACKING = 1 ; then
48809
48810 D='$'
48811 cat <<EOF >bk-deps
48812 #!/bin/sh
48813
48814 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48815 # script. It is used to track C/C++ files dependencies in portable way.
48816 #
48817 # Permission is given to use this file in any way.
48818
48819 DEPSMODE=${DEPSMODE}
48820 DEPSFLAG="${DEPSFLAG}"
48821 DEPSDIRBASE=.deps
48822
48823 if test ${D}DEPSMODE = gcc ; then
48824 ${D}* ${D}{DEPSFLAG}
48825 status=${D}?
48826
48827 # determine location of created files:
48828 while test ${D}# -gt 0; do
48829 case "${D}1" in
48830 -o )
48831 shift
48832 objfile=${D}1
48833 ;;
48834 -* )
48835 ;;
48836 * )
48837 srcfile=${D}1
48838 ;;
48839 esac
48840 shift
48841 done
48842 objfilebase=\`basename ${D}objfile\`
48843 builddir=\`dirname ${D}objfile\`
48844 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48845 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48846 depsdir=${D}builddir/${D}DEPSDIRBASE
48847 mkdir -p ${D}depsdir
48848
48849 # if the compiler failed, we're done:
48850 if test ${D}{status} != 0 ; then
48851 rm -f ${D}depfile
48852 exit ${D}{status}
48853 fi
48854
48855 # move created file to the location we want it in:
48856 if test -f ${D}depfile ; then
48857 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48858 rm -f ${D}depfile
48859 else
48860 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48861 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
48862 if test ! -f ${D}depfile ; then
48863 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48864 depfile="${D}objfile.d"
48865 fi
48866 if test -f ${D}depfile ; then
48867 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48868 rm -f ${D}depfile
48869 fi
48870 fi
48871 exit 0
48872
48873 elif test ${D}DEPSMODE = mwcc ; then
48874 ${D}* || exit ${D}?
48875 # Run mwcc again with -MM and redirect into the dep file we want
48876 # NOTE: We can't use shift here because we need ${D}* to be valid
48877 prevarg=
48878 for arg in ${D}* ; do
48879 if test "${D}prevarg" = "-o"; then
48880 objfile=${D}arg
48881 else
48882 case "${D}arg" in
48883 -* )
48884 ;;
48885 * )
48886 srcfile=${D}arg
48887 ;;
48888 esac
48889 fi
48890 prevarg="${D}arg"
48891 done
48892
48893 objfilebase=\`basename ${D}objfile\`
48894 builddir=\`dirname ${D}objfile\`
48895 depsdir=${D}builddir/${D}DEPSDIRBASE
48896 mkdir -p ${D}depsdir
48897
48898 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
48899 exit 0
48900
48901 elif test ${D}DEPSMODE = unixcc; then
48902 ${D}* || exit ${D}?
48903 # Run compiler again with deps flag and redirect into the dep file.
48904 # It doesn't work if the '-o FILE' option is used, but without it the
48905 # dependency file will contain the wrong name for the object. So it is
48906 # removed from the command line, and the dep file is fixed with sed.
48907 cmd=""
48908 while test ${D}# -gt 0; do
48909 case "${D}1" in
48910 -o )
48911 shift
48912 objfile=${D}1
48913 ;;
48914 * )
48915 eval arg${D}#=\\${D}1
48916 cmd="${D}cmd \\${D}arg${D}#"
48917 ;;
48918 esac
48919 shift
48920 done
48921
48922 objfilebase=\`basename ${D}objfile\`
48923 builddir=\`dirname ${D}objfile\`
48924 depsdir=${D}builddir/${D}DEPSDIRBASE
48925 mkdir -p ${D}depsdir
48926
48927 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
48928 exit 0
48929
48930 else
48931 ${D}*
48932 exit ${D}?
48933 fi
48934 EOF
48935
48936 chmod +x bk-deps
48937 BK_DEPS="`pwd`/bk-deps"
48938 fi
48939 fi
48940
48941
48942
48943
48944
48945 case ${BAKEFILE_HOST} in
48946 *-*-cygwin* | *-*-mingw32* )
48947 if test -n "$ac_tool_prefix"; then
48948 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48949 set dummy ${ac_tool_prefix}windres; ac_word=$2
48950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48952 if test "${ac_cv_prog_WINDRES+set}" = set; then
48953 echo $ECHO_N "(cached) $ECHO_C" >&6
48954 else
48955 if test -n "$WINDRES"; then
48956 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48957 else
48958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48959 for as_dir in $PATH
48960 do
48961 IFS=$as_save_IFS
48962 test -z "$as_dir" && as_dir=.
48963 for ac_exec_ext in '' $ac_executable_extensions; do
48964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48965 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48967 break 2
48968 fi
48969 done
48970 done
48971 IFS=$as_save_IFS
48972
48973 fi
48974 fi
48975 WINDRES=$ac_cv_prog_WINDRES
48976 if test -n "$WINDRES"; then
48977 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48978 echo "${ECHO_T}$WINDRES" >&6; }
48979 else
48980 { echo "$as_me:$LINENO: result: no" >&5
48981 echo "${ECHO_T}no" >&6; }
48982 fi
48983
48984
48985 fi
48986 if test -z "$ac_cv_prog_WINDRES"; then
48987 ac_ct_WINDRES=$WINDRES
48988 # Extract the first word of "windres", so it can be a program name with args.
48989 set dummy windres; ac_word=$2
48990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48992 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48993 echo $ECHO_N "(cached) $ECHO_C" >&6
48994 else
48995 if test -n "$ac_ct_WINDRES"; then
48996 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48997 else
48998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48999 for as_dir in $PATH
49000 do
49001 IFS=$as_save_IFS
49002 test -z "$as_dir" && as_dir=.
49003 for ac_exec_ext in '' $ac_executable_extensions; do
49004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49005 ac_cv_prog_ac_ct_WINDRES="windres"
49006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49007 break 2
49008 fi
49009 done
49010 done
49011 IFS=$as_save_IFS
49012
49013 fi
49014 fi
49015 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49016 if test -n "$ac_ct_WINDRES"; then
49017 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49018 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49019 else
49020 { echo "$as_me:$LINENO: result: no" >&5
49021 echo "${ECHO_T}no" >&6; }
49022 fi
49023
49024 if test "x$ac_ct_WINDRES" = x; then
49025 WINDRES=""
49026 else
49027 case $cross_compiling:$ac_tool_warned in
49028 yes:)
49029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49030 whose name does not start with the host triplet. If you think this
49031 configuration is useful to you, please write to autoconf@gnu.org." >&5
49032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49033 whose name does not start with the host triplet. If you think this
49034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49035 ac_tool_warned=yes ;;
49036 esac
49037 WINDRES=$ac_ct_WINDRES
49038 fi
49039 else
49040 WINDRES="$ac_cv_prog_WINDRES"
49041 fi
49042
49043 ;;
49044
49045 *-*-darwin* | powerpc-apple-macos* )
49046 # Extract the first word of "Rez", so it can be a program name with args.
49047 set dummy Rez; ac_word=$2
49048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49050 if test "${ac_cv_prog_REZ+set}" = set; then
49051 echo $ECHO_N "(cached) $ECHO_C" >&6
49052 else
49053 if test -n "$REZ"; then
49054 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49055 else
49056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49057 for as_dir in $PATH
49058 do
49059 IFS=$as_save_IFS
49060 test -z "$as_dir" && as_dir=.
49061 for ac_exec_ext in '' $ac_executable_extensions; do
49062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49063 ac_cv_prog_REZ="Rez"
49064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49065 break 2
49066 fi
49067 done
49068 done
49069 IFS=$as_save_IFS
49070
49071 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49072 fi
49073 fi
49074 REZ=$ac_cv_prog_REZ
49075 if test -n "$REZ"; then
49076 { echo "$as_me:$LINENO: result: $REZ" >&5
49077 echo "${ECHO_T}$REZ" >&6; }
49078 else
49079 { echo "$as_me:$LINENO: result: no" >&5
49080 echo "${ECHO_T}no" >&6; }
49081 fi
49082
49083
49084 # Extract the first word of "SetFile", so it can be a program name with args.
49085 set dummy SetFile; ac_word=$2
49086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49088 if test "${ac_cv_prog_SETFILE+set}" = set; then
49089 echo $ECHO_N "(cached) $ECHO_C" >&6
49090 else
49091 if test -n "$SETFILE"; then
49092 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49093 else
49094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49095 for as_dir in $PATH
49096 do
49097 IFS=$as_save_IFS
49098 test -z "$as_dir" && as_dir=.
49099 for ac_exec_ext in '' $ac_executable_extensions; do
49100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49101 ac_cv_prog_SETFILE="SetFile"
49102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49103 break 2
49104 fi
49105 done
49106 done
49107 IFS=$as_save_IFS
49108
49109 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49110 fi
49111 fi
49112 SETFILE=$ac_cv_prog_SETFILE
49113 if test -n "$SETFILE"; then
49114 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49115 echo "${ECHO_T}$SETFILE" >&6; }
49116 else
49117 { echo "$as_me:$LINENO: result: no" >&5
49118 echo "${ECHO_T}no" >&6; }
49119 fi
49120
49121
49122 ;;
49123 esac
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49134
49135
49136 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49137
49138
49139
49140 # Check whether --enable-precomp-headers was given.
49141 if test "${enable_precomp_headers+set}" = set; then
49142 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49143 fi
49144
49145
49146 GCC_PCH=0
49147 ICC_PCH=0
49148 USE_PCH=0
49149 BK_MAKE_PCH=""
49150
49151 case ${BAKEFILE_HOST} in
49152 *-*-cygwin* )
49153 bk_use_pch="no"
49154 ;;
49155 esac
49156
49157 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49158 if test "x$GCC" = "xyes"; then
49159 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49160 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49161 cat >conftest.$ac_ext <<_ACEOF
49162 /* confdefs.h. */
49163 _ACEOF
49164 cat confdefs.h >>conftest.$ac_ext
49165 cat >>conftest.$ac_ext <<_ACEOF
49166 /* end confdefs.h. */
49167
49168 int
49169 main ()
49170 {
49171
49172 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49173 There is no PCH support
49174 #endif
49175 #if (__GNUC__ < 3)
49176 There is no PCH support
49177 #endif
49178 #if (__GNUC__ == 3) && \
49179 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49180 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49181 ( defined(__INTEL_COMPILER) )
49182 There is no PCH support
49183 #endif
49184
49185 ;
49186 return 0;
49187 }
49188 _ACEOF
49189 rm -f conftest.$ac_objext
49190 if { (ac_try="$ac_compile"
49191 case "(($ac_try" in
49192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49193 *) ac_try_echo=$ac_try;;
49194 esac
49195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49196 (eval "$ac_compile") 2>conftest.er1
49197 ac_status=$?
49198 grep -v '^ *+' conftest.er1 >conftest.err
49199 rm -f conftest.er1
49200 cat conftest.err >&5
49201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49202 (exit $ac_status); } && {
49203 test -z "$ac_c_werror_flag" ||
49204 test ! -s conftest.err
49205 } && test -s conftest.$ac_objext; then
49206
49207 { echo "$as_me:$LINENO: result: yes" >&5
49208 echo "${ECHO_T}yes" >&6; }
49209 GCC_PCH=1
49210
49211 else
49212 echo "$as_me: failed program was:" >&5
49213 sed 's/^/| /' conftest.$ac_ext >&5
49214
49215
49216 cat >conftest.$ac_ext <<_ACEOF
49217 /* confdefs.h. */
49218 _ACEOF
49219 cat confdefs.h >>conftest.$ac_ext
49220 cat >>conftest.$ac_ext <<_ACEOF
49221 /* end confdefs.h. */
49222
49223 int
49224 main ()
49225 {
49226
49227 #if !defined(__INTEL_COMPILER) || \
49228 (__INTEL_COMPILER < 800)
49229 There is no PCH support
49230 #endif
49231
49232 ;
49233 return 0;
49234 }
49235 _ACEOF
49236 rm -f conftest.$ac_objext
49237 if { (ac_try="$ac_compile"
49238 case "(($ac_try" in
49239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49240 *) ac_try_echo=$ac_try;;
49241 esac
49242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49243 (eval "$ac_compile") 2>conftest.er1
49244 ac_status=$?
49245 grep -v '^ *+' conftest.er1 >conftest.err
49246 rm -f conftest.er1
49247 cat conftest.err >&5
49248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49249 (exit $ac_status); } && {
49250 test -z "$ac_c_werror_flag" ||
49251 test ! -s conftest.err
49252 } && test -s conftest.$ac_objext; then
49253
49254 { echo "$as_me:$LINENO: result: yes" >&5
49255 echo "${ECHO_T}yes" >&6; }
49256 ICC_PCH=1
49257
49258 else
49259 echo "$as_me: failed program was:" >&5
49260 sed 's/^/| /' conftest.$ac_ext >&5
49261
49262
49263 { echo "$as_me:$LINENO: result: no" >&5
49264 echo "${ECHO_T}no" >&6; }
49265
49266 fi
49267
49268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49269
49270 fi
49271
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49274 USE_PCH=1
49275
49276 D='$'
49277 cat <<EOF >bk-make-pch
49278 #!/bin/sh
49279
49280 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49281 # script. It is used to generated precompiled headers.
49282 #
49283 # Permission is given to use this file in any way.
49284
49285 outfile="${D}{1}"
49286 header="${D}{2}"
49287 shift
49288 shift
49289
49290 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49291
49292 compiler=""
49293 headerfile=""
49294
49295 while test ${D}{#} -gt 0; do
49296 add_to_cmdline=1
49297 case "${D}{1}" in
49298 -I* )
49299 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49300 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49301 headerfile="${D}{incdir}/${D}{header}"
49302 fi
49303 ;;
49304 -use-pch|-use_pch )
49305 shift
49306 add_to_cmdline=0
49307 ;;
49308 esac
49309 if test ${D}add_to_cmdline = 1 ; then
49310 compiler="${D}{compiler} ${D}{1}"
49311 fi
49312 shift
49313 done
49314
49315 if test "x${D}{headerfile}" = "x" ; then
49316 echo "error: can't find header ${D}{header} in include paths" >&2
49317 else
49318 if test -f ${D}{outfile} ; then
49319 rm -f ${D}{outfile}
49320 else
49321 mkdir -p \`dirname ${D}{outfile}\`
49322 fi
49323 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49324 mkdir -p ${D}{builddir}/.deps
49325 if test "x${GCC_PCH}" = "x1" ; then
49326 # can do this because gcc is >= 3.4:
49327 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49328 elif test "x${ICC_PCH}" = "x1" ; then
49329 filename=pch_gen-${D}${D}
49330 file=${D}{filename}.c
49331 dfile=${D}{filename}.d
49332 cat > ${D}file <<EOT
49333 #include "${D}header"
49334 EOT
49335 # using -MF icc complains about differing command lines in creation/use
49336 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49337 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49338 rm -f ${D}file ${D}dfile ${D}{filename}.o
49339 fi
49340 exit ${D}{?}
49341 fi
49342 EOF
49343
49344 chmod +x bk-make-pch
49345 BK_MAKE_PCH="`pwd`/bk-make-pch"
49346 fi
49347 fi
49348 fi
49349
49350
49351
49352
49353
49354 COND_BUILD_DEBUG="#"
49355 if test "x$BUILD" = "xdebug" ; then
49356 COND_BUILD_DEBUG=""
49357 fi
49358
49359 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49360 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49361 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49362 fi
49363
49364 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49365 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49366 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49367 fi
49368
49369 COND_BUILD_DEBUG_UNICODE_0="#"
49370 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49371 COND_BUILD_DEBUG_UNICODE_0=""
49372 fi
49373
49374 COND_BUILD_DEBUG_UNICODE_1="#"
49375 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49376 COND_BUILD_DEBUG_UNICODE_1=""
49377 fi
49378
49379 COND_BUILD_RELEASE="#"
49380 if test "x$BUILD" = "xrelease" ; then
49381 COND_BUILD_RELEASE=""
49382 fi
49383
49384 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49385 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49386 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49387 fi
49388
49389 COND_BUILD_RELEASE_UNICODE_0="#"
49390 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49391 COND_BUILD_RELEASE_UNICODE_0=""
49392 fi
49393
49394 COND_BUILD_RELEASE_UNICODE_1="#"
49395 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49396 COND_BUILD_RELEASE_UNICODE_1=""
49397 fi
49398
49399 COND_BUILD_debug="#"
49400 if test "x$BUILD" = "xdebug" ; then
49401 COND_BUILD_debug=""
49402 fi
49403
49404 COND_BUILD_debug_DEBUG_FLAG_default="#"
49405 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49406 COND_BUILD_debug_DEBUG_FLAG_default=""
49407 fi
49408
49409 COND_BUILD_debug_DEBUG_INFO_default="#"
49410 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49411 COND_BUILD_debug_DEBUG_INFO_default=""
49412 fi
49413
49414 COND_BUILD_debug_UNICODE_0="#"
49415 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49416 COND_BUILD_debug_UNICODE_0=""
49417 fi
49418
49419 COND_BUILD_debug_UNICODE_1="#"
49420 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49421 COND_BUILD_debug_UNICODE_1=""
49422 fi
49423
49424 COND_BUILD_release="#"
49425 if test "x$BUILD" = "xrelease" ; then
49426 COND_BUILD_release=""
49427 fi
49428
49429 COND_BUILD_release_DEBUG_INFO_default="#"
49430 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49431 COND_BUILD_release_DEBUG_INFO_default=""
49432 fi
49433
49434 COND_BUILD_release_UNICODE_0="#"
49435 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49436 COND_BUILD_release_UNICODE_0=""
49437 fi
49438
49439 COND_BUILD_release_UNICODE_1="#"
49440 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49441 COND_BUILD_release_UNICODE_1=""
49442 fi
49443
49444 COND_DEBUG_FLAG_1="#"
49445 if test "x$DEBUG_FLAG" = "x1" ; then
49446 COND_DEBUG_FLAG_1=""
49447 fi
49448
49449 COND_DEBUG_INFO_0="#"
49450 if test "x$DEBUG_INFO" = "x0" ; then
49451 COND_DEBUG_INFO_0=""
49452 fi
49453
49454 COND_DEBUG_INFO_1="#"
49455 if test "x$DEBUG_INFO" = "x1" ; then
49456 COND_DEBUG_INFO_1=""
49457 fi
49458
49459 COND_DEPS_TRACKING_0="#"
49460 if test "x$DEPS_TRACKING" = "x0" ; then
49461 COND_DEPS_TRACKING_0=""
49462 fi
49463
49464 COND_DEPS_TRACKING_1="#"
49465 if test "x$DEPS_TRACKING" = "x1" ; then
49466 COND_DEPS_TRACKING_1=""
49467 fi
49468
49469 COND_GCC_PCH_1="#"
49470 if test "x$GCC_PCH" = "x1" ; then
49471 COND_GCC_PCH_1=""
49472 fi
49473
49474 COND_ICC_PCH_1="#"
49475 if test "x$ICC_PCH" = "x1" ; then
49476 COND_ICC_PCH_1=""
49477 fi
49478
49479 COND_MONOLITHIC_0="#"
49480 if test "x$MONOLITHIC" = "x0" ; then
49481 COND_MONOLITHIC_0=""
49482 fi
49483
49484 COND_MONOLITHIC_0_SHARED_0="#"
49485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49486 COND_MONOLITHIC_0_SHARED_0=""
49487 fi
49488
49489 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49491 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49492 fi
49493
49494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49496 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49497 fi
49498
49499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49501 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49502 fi
49503
49504 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49506 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49507 fi
49508
49509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49511 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49512 fi
49513
49514 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49516 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49517 fi
49518
49519 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49521 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49522 fi
49523
49524 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49526 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49527 fi
49528
49529 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49531 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49532 fi
49533
49534 COND_MONOLITHIC_0_SHARED_1="#"
49535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49536 COND_MONOLITHIC_0_SHARED_1=""
49537 fi
49538
49539 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49541 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49542 fi
49543
49544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49547 fi
49548
49549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49551 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49552 fi
49553
49554 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49556 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49557 fi
49558
49559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49562 fi
49563
49564 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49566 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49567 fi
49568
49569 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49571 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49572 fi
49573
49574 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49576 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49577 fi
49578
49579 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49581 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49582 fi
49583
49584 COND_MONOLITHIC_0_USE_AUI_1="#"
49585 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49586 COND_MONOLITHIC_0_USE_AUI_1=""
49587 fi
49588
49589 COND_MONOLITHIC_0_USE_GUI_1="#"
49590 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49591 COND_MONOLITHIC_0_USE_GUI_1=""
49592 fi
49593
49594 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49595 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49596 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49597 fi
49598
49599 COND_MONOLITHIC_0_USE_HTML_1="#"
49600 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49601 COND_MONOLITHIC_0_USE_HTML_1=""
49602 fi
49603
49604 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49605 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49606 COND_MONOLITHIC_0_USE_MEDIA_1=""
49607 fi
49608
49609 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49610 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49611 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49612 fi
49613
49614 COND_MONOLITHIC_0_USE_QA_1="#"
49615 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49616 COND_MONOLITHIC_0_USE_QA_1=""
49617 fi
49618
49619 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49620 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49621 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49622 fi
49623
49624 COND_MONOLITHIC_0_USE_STC_1="#"
49625 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49626 COND_MONOLITHIC_0_USE_STC_1=""
49627 fi
49628
49629 COND_MONOLITHIC_0_USE_XRC_1="#"
49630 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49631 COND_MONOLITHIC_0_USE_XRC_1=""
49632 fi
49633
49634 COND_MONOLITHIC_1="#"
49635 if test "x$MONOLITHIC" = "x1" ; then
49636 COND_MONOLITHIC_1=""
49637 fi
49638
49639 COND_MONOLITHIC_1_SHARED_0="#"
49640 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49641 COND_MONOLITHIC_1_SHARED_0=""
49642 fi
49643
49644 COND_MONOLITHIC_1_SHARED_1="#"
49645 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49646 COND_MONOLITHIC_1_SHARED_1=""
49647 fi
49648
49649 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49650 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49651 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49652 fi
49653
49654 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49655 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49656 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49657 fi
49658
49659 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49660 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49661 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49662 fi
49663
49664 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49665 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49666 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49667 fi
49668
49669 COND_PLATFORM_MACOSX_1="#"
49670 if test "x$PLATFORM_MACOSX" = "x1" ; then
49671 COND_PLATFORM_MACOSX_1=""
49672 fi
49673
49674 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49675 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49676 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49677 fi
49678
49679 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49681 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49682 fi
49683
49684 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49685 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49686 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49687 fi
49688
49689 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49690 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49691 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49692 fi
49693
49694 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49695 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49696 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49697 fi
49698
49699 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49700 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49701 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49702 fi
49703
49704 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49705 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49706 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49707 fi
49708
49709 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49710 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49711 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49712 fi
49713
49714 COND_PLATFORM_MACOS_1="#"
49715 if test "x$PLATFORM_MACOS" = "x1" ; then
49716 COND_PLATFORM_MACOS_1=""
49717 fi
49718
49719 COND_PLATFORM_MAC_0="#"
49720 if test "x$PLATFORM_MAC" = "x0" ; then
49721 COND_PLATFORM_MAC_0=""
49722 fi
49723
49724 COND_PLATFORM_MAC_1="#"
49725 if test "x$PLATFORM_MAC" = "x1" ; then
49726 COND_PLATFORM_MAC_1=""
49727 fi
49728
49729 COND_PLATFORM_MSDOS_0="#"
49730 if test "x$PLATFORM_MSDOS" = "x0" ; then
49731 COND_PLATFORM_MSDOS_0=""
49732 fi
49733
49734 COND_PLATFORM_MSDOS_1="#"
49735 if test "x$PLATFORM_MSDOS" = "x1" ; then
49736 COND_PLATFORM_MSDOS_1=""
49737 fi
49738
49739 COND_PLATFORM_OS2_1="#"
49740 if test "x$PLATFORM_OS2" = "x1" ; then
49741 COND_PLATFORM_OS2_1=""
49742 fi
49743
49744 COND_PLATFORM_UNIX_0="#"
49745 if test "x$PLATFORM_UNIX" = "x0" ; then
49746 COND_PLATFORM_UNIX_0=""
49747 fi
49748
49749 COND_PLATFORM_UNIX_1="#"
49750 if test "x$PLATFORM_UNIX" = "x1" ; then
49751 COND_PLATFORM_UNIX_1=""
49752 fi
49753
49754 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49755 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49756 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49757 fi
49758
49759 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49760 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49761 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49762 fi
49763
49764 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49765 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49766 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49767 fi
49768
49769 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49770 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49771 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49772 fi
49773
49774 COND_PLATFORM_WIN32_0="#"
49775 if test "x$PLATFORM_WIN32" = "x0" ; then
49776 COND_PLATFORM_WIN32_0=""
49777 fi
49778
49779 COND_PLATFORM_WIN32_1="#"
49780 if test "x$PLATFORM_WIN32" = "x1" ; then
49781 COND_PLATFORM_WIN32_1=""
49782 fi
49783
49784 COND_SHARED_0="#"
49785 if test "x$SHARED" = "x0" ; then
49786 COND_SHARED_0=""
49787 fi
49788
49789 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49790 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49791 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49792 fi
49793
49794 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49795 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49796 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49797 fi
49798
49799 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49800 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49801 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49802 fi
49803
49804 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49805 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49806 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49807 fi
49808
49809 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
49810 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49811 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
49812 fi
49813
49814 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
49815 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49816 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
49817 fi
49818
49819 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
49820 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49821 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
49822 fi
49823
49824 COND_SHARED_0_USE_STC_1="#"
49825 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49826 COND_SHARED_0_USE_STC_1=""
49827 fi
49828
49829 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
49830 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49831 COND_SHARED_0_wxUSE_EXPAT_builtin=""
49832 fi
49833
49834 COND_SHARED_0_wxUSE_REGEX_builtin="#"
49835 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49836 COND_SHARED_0_wxUSE_REGEX_builtin=""
49837 fi
49838
49839 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
49840 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49841 COND_SHARED_0_wxUSE_ZLIB_builtin=""
49842 fi
49843
49844 COND_SHARED_1="#"
49845 if test "x$SHARED" = "x1" ; then
49846 COND_SHARED_1=""
49847 fi
49848
49849 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49850 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49851 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49852 fi
49853
49854 COND_TOOLKIT_="#"
49855 if test "x$TOOLKIT" = "x" ; then
49856 COND_TOOLKIT_=""
49857 fi
49858
49859 COND_TOOLKIT_COCOA="#"
49860 if test "x$TOOLKIT" = "xCOCOA" ; then
49861 COND_TOOLKIT_COCOA=""
49862 fi
49863
49864 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49865 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49866 COND_TOOLKIT_COCOA_USE_GUI_1=""
49867 fi
49868
49869 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49870 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49871 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49872 fi
49873
49874 COND_TOOLKIT_DFB="#"
49875 if test "x$TOOLKIT" = "xDFB" ; then
49876 COND_TOOLKIT_DFB=""
49877 fi
49878
49879 COND_TOOLKIT_DFB_USE_GUI_1="#"
49880 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49881 COND_TOOLKIT_DFB_USE_GUI_1=""
49882 fi
49883
49884 COND_TOOLKIT_GTK="#"
49885 if test "x$TOOLKIT" = "xGTK" ; then
49886 COND_TOOLKIT_GTK=""
49887 fi
49888
49889 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49890 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49891 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49892 fi
49893
49894 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49895 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49897 fi
49898
49899 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49900 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49902 fi
49903
49904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49905 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49907 fi
49908
49909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49910 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49912 fi
49913
49914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49915 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49917 fi
49918
49919 COND_TOOLKIT_GTK_USE_GUI_1="#"
49920 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49921 COND_TOOLKIT_GTK_USE_GUI_1=""
49922 fi
49923
49924 COND_TOOLKIT_MAC="#"
49925 if test "x$TOOLKIT" = "xMAC" ; then
49926 COND_TOOLKIT_MAC=""
49927 fi
49928
49929 COND_TOOLKIT_MGL="#"
49930 if test "x$TOOLKIT" = "xMGL" ; then
49931 COND_TOOLKIT_MGL=""
49932 fi
49933
49934 COND_TOOLKIT_MGL_USE_GUI_1="#"
49935 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49936 COND_TOOLKIT_MGL_USE_GUI_1=""
49937 fi
49938
49939 COND_TOOLKIT_MOTIF="#"
49940 if test "x$TOOLKIT" = "xMOTIF" ; then
49941 COND_TOOLKIT_MOTIF=""
49942 fi
49943
49944 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49945 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49946 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49947 fi
49948
49949 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49950 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49951 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49952 fi
49953
49954 COND_TOOLKIT_MSW="#"
49955 if test "x$TOOLKIT" = "xMSW" ; then
49956 COND_TOOLKIT_MSW=""
49957 fi
49958
49959 COND_TOOLKIT_MSW_USE_GUI_1="#"
49960 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49961 COND_TOOLKIT_MSW_USE_GUI_1=""
49962 fi
49963
49964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49965 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49966 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49967 fi
49968
49969 COND_TOOLKIT_MSW_WXUNIV_0="#"
49970 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49971 COND_TOOLKIT_MSW_WXUNIV_0=""
49972 fi
49973
49974 COND_TOOLKIT_OSX_CARBON="#"
49975 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
49976 COND_TOOLKIT_OSX_CARBON=""
49977 fi
49978
49979 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49980 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49981 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49982 fi
49983
49984 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49985 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49986 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49987 fi
49988
49989 COND_TOOLKIT_OSX_COCOA="#"
49990 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
49991 COND_TOOLKIT_OSX_COCOA=""
49992 fi
49993
49994 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49995 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49996 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49997 fi
49998
49999 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50000 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50001 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50002 fi
50003
50004 COND_TOOLKIT_OSX_IPHONE="#"
50005 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50006 COND_TOOLKIT_OSX_IPHONE=""
50007 fi
50008
50009 COND_TOOLKIT_PM="#"
50010 if test "x$TOOLKIT" = "xPM" ; then
50011 COND_TOOLKIT_PM=""
50012 fi
50013
50014 COND_TOOLKIT_PM_USE_GUI_1="#"
50015 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50016 COND_TOOLKIT_PM_USE_GUI_1=""
50017 fi
50018
50019 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50020 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50021 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50022 fi
50023
50024 COND_TOOLKIT_WINCE="#"
50025 if test "x$TOOLKIT" = "xWINCE" ; then
50026 COND_TOOLKIT_WINCE=""
50027 fi
50028
50029 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50030 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50031 COND_TOOLKIT_WINCE_USE_GUI_1=""
50032 fi
50033
50034 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50035 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50036 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50037 fi
50038
50039 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50040 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50041 COND_TOOLKIT_WINCE_WXUNIV_0=""
50042 fi
50043
50044 COND_TOOLKIT_X11="#"
50045 if test "x$TOOLKIT" = "xX11" ; then
50046 COND_TOOLKIT_X11=""
50047 fi
50048
50049 COND_TOOLKIT_X11_USE_GUI_1="#"
50050 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50051 COND_TOOLKIT_X11_USE_GUI_1=""
50052 fi
50053
50054 COND_UNICODE_1="#"
50055 if test "x$UNICODE" = "x1" ; then
50056 COND_UNICODE_1=""
50057 fi
50058
50059 COND_USE_EXCEPTIONS_0="#"
50060 if test "x$USE_EXCEPTIONS" = "x0" ; then
50061 COND_USE_EXCEPTIONS_0=""
50062 fi
50063
50064 COND_USE_EXCEPTIONS_1="#"
50065 if test "x$USE_EXCEPTIONS" = "x1" ; then
50066 COND_USE_EXCEPTIONS_1=""
50067 fi
50068
50069 COND_USE_GUI_0="#"
50070 if test "x$USE_GUI" = "x0" ; then
50071 COND_USE_GUI_0=""
50072 fi
50073
50074 COND_USE_GUI_1="#"
50075 if test "x$USE_GUI" = "x1" ; then
50076 COND_USE_GUI_1=""
50077 fi
50078
50079 COND_USE_GUI_1_USE_OPENGL_1="#"
50080 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50081 COND_USE_GUI_1_USE_OPENGL_1=""
50082 fi
50083
50084 COND_USE_GUI_1_WXUNIV_0="#"
50085 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50086 COND_USE_GUI_1_WXUNIV_0=""
50087 fi
50088
50089 COND_USE_GUI_1_WXUNIV_1="#"
50090 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50091 COND_USE_GUI_1_WXUNIV_1=""
50092 fi
50093
50094 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50095 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50096 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50097 fi
50098
50099 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50100 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50101 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50102 fi
50103
50104 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50105 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50106 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50107 fi
50108
50109 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50110 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50111 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50112 fi
50113
50114 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50115 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50116 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50117 fi
50118
50119 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50120 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50121 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50122 fi
50123
50124 COND_USE_OPENGL_1="#"
50125 if test "x$USE_OPENGL" = "x1" ; then
50126 COND_USE_OPENGL_1=""
50127 fi
50128
50129 COND_USE_PCH_1="#"
50130 if test "x$USE_PCH" = "x1" ; then
50131 COND_USE_PCH_1=""
50132 fi
50133
50134 COND_USE_PLUGINS_0="#"
50135 if test "x$USE_PLUGINS" = "x0" ; then
50136 COND_USE_PLUGINS_0=""
50137 fi
50138
50139 COND_USE_RTTI_0="#"
50140 if test "x$USE_RTTI" = "x0" ; then
50141 COND_USE_RTTI_0=""
50142 fi
50143
50144 COND_USE_RTTI_1="#"
50145 if test "x$USE_RTTI" = "x1" ; then
50146 COND_USE_RTTI_1=""
50147 fi
50148
50149 COND_USE_SOSYMLINKS_1="#"
50150 if test "x$USE_SOSYMLINKS" = "x1" ; then
50151 COND_USE_SOSYMLINKS_1=""
50152 fi
50153
50154 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50155 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50156 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50157 fi
50158
50159 COND_USE_SOVERLINUX_1="#"
50160 if test "x$USE_SOVERLINUX" = "x1" ; then
50161 COND_USE_SOVERLINUX_1=""
50162 fi
50163
50164 COND_USE_SOVERSION_0="#"
50165 if test "x$USE_SOVERSION" = "x0" ; then
50166 COND_USE_SOVERSION_0=""
50167 fi
50168
50169 COND_USE_SOVERSOLARIS_1="#"
50170 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50171 COND_USE_SOVERSOLARIS_1=""
50172 fi
50173
50174 COND_USE_STC_1="#"
50175 if test "x$USE_STC" = "x1" ; then
50176 COND_USE_STC_1=""
50177 fi
50178
50179 COND_USE_THREADS_0="#"
50180 if test "x$USE_THREADS" = "x0" ; then
50181 COND_USE_THREADS_0=""
50182 fi
50183
50184 COND_USE_THREADS_1="#"
50185 if test "x$USE_THREADS" = "x1" ; then
50186 COND_USE_THREADS_1=""
50187 fi
50188
50189 COND_USE_XRC_1="#"
50190 if test "x$USE_XRC" = "x1" ; then
50191 COND_USE_XRC_1=""
50192 fi
50193
50194 COND_WINDOWS_IMPLIB_1="#"
50195 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50196 COND_WINDOWS_IMPLIB_1=""
50197 fi
50198
50199 COND_WITH_PLUGIN_SDL_1="#"
50200 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50201 COND_WITH_PLUGIN_SDL_1=""
50202 fi
50203
50204 COND_WXUNIV_0="#"
50205 if test "x$WXUNIV" = "x0" ; then
50206 COND_WXUNIV_0=""
50207 fi
50208
50209 COND_WXUNIV_1="#"
50210 if test "x$WXUNIV" = "x1" ; then
50211 COND_WXUNIV_1=""
50212 fi
50213
50214 COND_WXUSE_EXPAT_BUILTIN="#"
50215 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50216 COND_WXUSE_EXPAT_BUILTIN=""
50217 fi
50218
50219 COND_WXUSE_LIBJPEG_BUILTIN="#"
50220 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50221 COND_WXUSE_LIBJPEG_BUILTIN=""
50222 fi
50223
50224 COND_WXUSE_LIBPNG_BUILTIN="#"
50225 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50226 COND_WXUSE_LIBPNG_BUILTIN=""
50227 fi
50228
50229 COND_WXUSE_LIBTIFF_BUILTIN="#"
50230 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50231 COND_WXUSE_LIBTIFF_BUILTIN=""
50232 fi
50233
50234 COND_WXUSE_REGEX_BUILTIN="#"
50235 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50236 COND_WXUSE_REGEX_BUILTIN=""
50237 fi
50238
50239 COND_WXUSE_ZLIB_BUILTIN="#"
50240 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50241 COND_WXUSE_ZLIB_BUILTIN=""
50242 fi
50243
50244 COND_wxUSE_EXPAT_builtin="#"
50245 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50246 COND_wxUSE_EXPAT_builtin=""
50247 fi
50248
50249 COND_wxUSE_LIBJPEG_builtin="#"
50250 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50251 COND_wxUSE_LIBJPEG_builtin=""
50252 fi
50253
50254 COND_wxUSE_LIBPNG_builtin="#"
50255 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50256 COND_wxUSE_LIBPNG_builtin=""
50257 fi
50258
50259 COND_wxUSE_LIBTIFF_builtin="#"
50260 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50261 COND_wxUSE_LIBTIFF_builtin=""
50262 fi
50263
50264 COND_wxUSE_REGEX_builtin="#"
50265 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50266 COND_wxUSE_REGEX_builtin=""
50267 fi
50268
50269 COND_wxUSE_ZLIB_builtin="#"
50270 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50271 COND_wxUSE_ZLIB_builtin=""
50272 fi
50273
50274
50275
50276 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50277 { { 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
50278 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;}
50279 { (exit 1); exit 1; }; }
50280 fi
50281
50282 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50283 { { 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
50284 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;}
50285 { (exit 1); exit 1; }; }
50286 fi
50287
50288
50289 case ${INSTALL} in
50290 /* ) # Absolute
50291 ;;
50292 ?:* ) # Drive letter, considered as absolute.
50293 ;;
50294 *)
50295 INSTALL=`pwd`/${INSTALL} ;;
50296 esac
50297
50298 if test "$wxUSE_GUI" = "yes"; then
50299
50300 if test "$wxUSE_MSW" = 1 ; then
50301 if test "x$WINDRES" = "x"; then
50302 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50303 echo "$as_me: error: Required windres program not found" >&2;}
50304 { (exit 1); exit 1; }; }
50305 fi
50306
50307 RESCOMP="$WINDRES"
50308 fi
50309
50310 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50311 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50312 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50313
50314 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50315
50316 # Extract the first word of "DeRez", so it can be a program name with args.
50317 set dummy DeRez; ac_word=$2
50318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50320 if test "${ac_cv_prog_DEREZ+set}" = set; then
50321 echo $ECHO_N "(cached) $ECHO_C" >&6
50322 else
50323 if test -n "$DEREZ"; then
50324 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50325 else
50326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50327 for as_dir in $PATH
50328 do
50329 IFS=$as_save_IFS
50330 test -z "$as_dir" && as_dir=.
50331 for ac_exec_ext in '' $ac_executable_extensions; do
50332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50333 ac_cv_prog_DEREZ="DeRez"
50334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50335 break 2
50336 fi
50337 done
50338 done
50339 IFS=$as_save_IFS
50340
50341 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50342 fi
50343 fi
50344 DEREZ=$ac_cv_prog_DEREZ
50345 if test -n "$DEREZ"; then
50346 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50347 echo "${ECHO_T}$DEREZ" >&6; }
50348 else
50349 { echo "$as_me:$LINENO: result: no" >&5
50350 echo "${ECHO_T}no" >&6; }
50351 fi
50352
50353
50354
50355 MACSETFILE="\$(SETFILE)"
50356
50357 if test "$wxUSE_OSX_CARBON" = 1; then
50358 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50359 RESCOMP="$REZ"
50360 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50361 else
50362 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50363 RESCOMP="cat /dev/null \| $REZ"
50364 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50365 fi
50366
50367 else
50368 MACSETFILE="@true"
50369
50370 if test "$wxUSE_PM" = 1; then
50371 RESCOMP="emxbind"
50372 WXCONFIG_RESFLAGS="-ep"
50373
50374 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50375 else
50376 POSTLINK_COMMAND="@true"
50377 fi
50378 fi
50379
50380 fi
50381
50382
50383 if test $GCC_PCH = 1
50384 then
50385 if test "$wx_cv_gcc_pch_bug" = yes; then
50386 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50387 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50388 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50389 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50390 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50391 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50392 fi
50393
50394 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50395 # the headers that benefit from precompilation are mostly C++ headers.
50396 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50397 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50398 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50399 fi
50400
50401
50402 if test "$wxUSE_MAC" = 1 ; then
50403 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50404 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50405 mv temp bk-deps
50406 chmod +x bk-deps
50407 fi
50408 fi
50409
50410 if test "$wxUSE_SHARED" = "yes"; then
50411 case "${host}" in
50412 *-pc-os2_emx | *-pc-os2-emx )
50413 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50414 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50415 cp -p ${srcdir}/src/os2/dllnames.sh .
50416 cp -p ${srcdir}/src/os2/dllar.sh .
50417 ;;
50418 esac
50419 fi
50420 if test "$wxUSE_OMF" = "yes"; then
50421 case "${host}" in
50422 *-pc-os2_emx | *-pc-os2-emx )
50423 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50424 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50425 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50426 ;;
50427 esac
50428 fi
50429
50430 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50431
50432
50433 case "${host}" in
50434 *-*-solaris2* )
50435 if test "$GCC" = yes; then
50436 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50437 LIBS=`echo $LIBS | sed 's/-mt//'`
50438 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50439 fi
50440 ;;
50441
50442 *-*-linux* )
50443 if test "x$SUNCXX" = xyes; then
50444 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50445 LIBS=`echo $LIBS | sed 's/-pthread//'`
50446 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50447 fi
50448 ;;
50449 esac
50450
50451 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50452 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50453 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50454 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50455
50456 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50518 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50519 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50520 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50521 echo $ECHO_N "(cached) $ECHO_C" >&6
50522 else
50523 cat >conftest.make <<\_ACEOF
50524 SHELL = /bin/sh
50525 all:
50526 @echo '@@@%%%=$(MAKE)=@@@%%%'
50527 _ACEOF
50528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50529 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50530 *@@@%%%=?*=@@@%%%*)
50531 eval ac_cv_prog_make_${ac_make}_set=yes;;
50532 *)
50533 eval ac_cv_prog_make_${ac_make}_set=no;;
50534 esac
50535 rm -f conftest.make
50536 fi
50537 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50538 { echo "$as_me:$LINENO: result: yes" >&5
50539 echo "${ECHO_T}yes" >&6; }
50540 SET_MAKE=
50541 else
50542 { echo "$as_me:$LINENO: result: no" >&5
50543 echo "${ECHO_T}no" >&6; }
50544 SET_MAKE="MAKE=${MAKE-make}"
50545 fi
50546
50547
50548
50549 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50550
50551
50552 if test "$USE_WIN32" = 1; then
50553 ac_config_commands="$ac_config_commands
50554 rcdefs.h
50555 "
50556
50557 fi
50558
50559 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50560
50561
50562 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50563
50564
50565 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50566
50567
50568 if test "$wx_cv_version_script" = "yes"; then
50569 ac_config_files="$ac_config_files version-script"
50570
50571 fi
50572 ac_config_files="$ac_config_files Makefile"
50573
50574
50575 ac_config_commands="$ac_config_commands wx-config"
50576
50577
50578
50579 if test "$wxWITH_SUBDIRS" != "no"; then
50580 if test "$wxUSE_GUI" = "yes"; then
50581 SUBDIRS="samples demos utils"
50582 else
50583 SUBDIRS="samples utils"
50584 fi
50585
50586
50587
50588 # Check whether --with-cppunit-prefix was given.
50589 if test "${with_cppunit_prefix+set}" = set; then
50590 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50591 else
50592 cppunit_config_prefix=""
50593 fi
50594
50595
50596 # Check whether --with-cppunit-exec-prefix was given.
50597 if test "${with_cppunit_exec_prefix+set}" = set; then
50598 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50599 else
50600 cppunit_config_exec_prefix=""
50601 fi
50602
50603
50604 if test x$cppunit_config_exec_prefix != x ; then
50605 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50606 if test x${CPPUNIT_CONFIG+set} != xset ; then
50607 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50608 fi
50609 fi
50610 if test x$cppunit_config_prefix != x ; then
50611 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50612 if test x${CPPUNIT_CONFIG+set} != xset ; then
50613 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50614 fi
50615 fi
50616
50617 # Extract the first word of "cppunit-config", so it can be a program name with args.
50618 set dummy cppunit-config; ac_word=$2
50619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50621 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50622 echo $ECHO_N "(cached) $ECHO_C" >&6
50623 else
50624 case $CPPUNIT_CONFIG in
50625 [\\/]* | ?:[\\/]*)
50626 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50627 ;;
50628 *)
50629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50630 for as_dir in $PATH
50631 do
50632 IFS=$as_save_IFS
50633 test -z "$as_dir" && as_dir=.
50634 for ac_exec_ext in '' $ac_executable_extensions; do
50635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50636 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50638 break 2
50639 fi
50640 done
50641 done
50642 IFS=$as_save_IFS
50643
50644 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50645 ;;
50646 esac
50647 fi
50648 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50649 if test -n "$CPPUNIT_CONFIG"; then
50650 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50651 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50652 else
50653 { echo "$as_me:$LINENO: result: no" >&5
50654 echo "${ECHO_T}no" >&6; }
50655 fi
50656
50657
50658 cppunit_version_min=1.8.0
50659
50660 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50661 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50662 no_cppunit=""
50663 if test "$CPPUNIT_CONFIG" = "no" ; then
50664 { echo "$as_me:$LINENO: result: no" >&5
50665 echo "${ECHO_T}no" >&6; }
50666 no_cppunit=yes
50667 else
50668 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50669 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50670 cppunit_version=`$CPPUNIT_CONFIG --version`
50671
50672 cppunit_major_version=`echo $cppunit_version | \
50673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50674 cppunit_minor_version=`echo $cppunit_version | \
50675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50676 cppunit_micro_version=`echo $cppunit_version | \
50677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50678
50679 cppunit_major_min=`echo $cppunit_version_min | \
50680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50681 cppunit_minor_min=`echo $cppunit_version_min | \
50682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50683 cppunit_micro_min=`echo $cppunit_version_min | \
50684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50685
50686 cppunit_version_proper=`expr \
50687 $cppunit_major_version \> $cppunit_major_min \| \
50688 $cppunit_major_version \= $cppunit_major_min \& \
50689 $cppunit_minor_version \> $cppunit_minor_min \| \
50690 $cppunit_major_version \= $cppunit_major_min \& \
50691 $cppunit_minor_version \= $cppunit_minor_min \& \
50692 $cppunit_micro_version \>= $cppunit_micro_min `
50693
50694 if test "$cppunit_version_proper" = "1" ; then
50695 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50696 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50697 else
50698 { echo "$as_me:$LINENO: result: no" >&5
50699 echo "${ECHO_T}no" >&6; }
50700 no_cppunit=yes
50701 fi
50702 fi
50703
50704 if test "x$no_cppunit" = x ; then
50705 SUBDIRS="$SUBDIRS tests"
50706 else
50707 CPPUNIT_CFLAGS=""
50708 CPPUNIT_LIBS=""
50709 :
50710 fi
50711
50712
50713
50714
50715
50716 for subdir in $SUBDIRS; do
50717 if test -d ${srcdir}/${subdir} ; then
50718 if test "$wxUSE_GUI" = "yes"; then
50719 if test ${subdir} = "samples"; then
50720 makefiles="samples/Makefile.in $makefiles"
50721 for sample in $SAMPLES_SUBDIRS; do
50722 if test -d $srcdir/samples/$sample; then
50723 makefiles="samples/$sample/Makefile.in $makefiles"
50724 fi
50725 done
50726 else
50727 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50728 eval "disabled=\$$disabled_var"
50729 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50730 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50731 fi
50732 else
50733 if test ${subdir} = "samples"; then
50734 makefiles="samples/Makefile.in $makefiles"
50735 for sample in `echo $SAMPLES_SUBDIRS`; do
50736 if test -d $srcdir/samples/$sample; then
50737 makefiles="samples/$sample/Makefile.in $makefiles"
50738 fi
50739 done
50740 elif test ${subdir} = "utils"; then
50741 makefiles=""
50742 for util in ifacecheck ; do
50743 if test -d $srcdir/utils/$util ; then
50744 makefiles="utils/$util/src/Makefile.in \
50745 $makefiles"
50746 fi
50747 done
50748 else
50749 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50750 fi
50751 fi
50752
50753 for mkin in $makefiles ; do
50754 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50755 ac_config_files="$ac_config_files $mk"
50756
50757 done
50758 fi
50759 done
50760 fi
50761 cat >confcache <<\_ACEOF
50762 # This file is a shell script that caches the results of configure
50763 # tests run on this system so they can be shared between configure
50764 # scripts and configure runs, see configure's option --config-cache.
50765 # It is not useful on other systems. If it contains results you don't
50766 # want to keep, you may remove or edit it.
50767 #
50768 # config.status only pays attention to the cache file if you give it
50769 # the --recheck option to rerun configure.
50770 #
50771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50773 # following values.
50774
50775 _ACEOF
50776
50777 # The following way of writing the cache mishandles newlines in values,
50778 # but we know of no workaround that is simple, portable, and efficient.
50779 # So, we kill variables containing newlines.
50780 # Ultrix sh set writes to stderr and can't be redirected directly,
50781 # and sets the high bit in the cache file unless we assign to the vars.
50782 (
50783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50784 eval ac_val=\$$ac_var
50785 case $ac_val in #(
50786 *${as_nl}*)
50787 case $ac_var in #(
50788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50790 esac
50791 case $ac_var in #(
50792 _ | IFS | as_nl) ;; #(
50793 *) $as_unset $ac_var ;;
50794 esac ;;
50795 esac
50796 done
50797
50798 (set) 2>&1 |
50799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50800 *${as_nl}ac_space=\ *)
50801 # `set' does not quote correctly, so add quotes (double-quote
50802 # substitution turns \\\\ into \\, and sed turns \\ into \).
50803 sed -n \
50804 "s/'/'\\\\''/g;
50805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50806 ;; #(
50807 *)
50808 # `set' quotes correctly as required by POSIX, so do not add quotes.
50809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50810 ;;
50811 esac |
50812 sort
50813 ) |
50814 sed '
50815 /^ac_cv_env_/b end
50816 t clear
50817 :clear
50818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50819 t end
50820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50821 :end' >>confcache
50822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50823 if test -w "$cache_file"; then
50824 test "x$cache_file" != "x/dev/null" &&
50825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50826 echo "$as_me: updating cache $cache_file" >&6;}
50827 cat confcache >$cache_file
50828 else
50829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50830 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50831 fi
50832 fi
50833 rm -f confcache
50834
50835 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50836 # Let make expand exec_prefix.
50837 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50838
50839 DEFS=-DHAVE_CONFIG_H
50840
50841 ac_libobjs=
50842 ac_ltlibobjs=
50843 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50844 # 1. Remove the extension, and $U if already installed.
50845 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50846 ac_i=`echo "$ac_i" | sed "$ac_script"`
50847 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50848 # will be set to the directory where LIBOBJS objects are built.
50849 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50850 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50851 done
50852 LIBOBJS=$ac_libobjs
50853
50854 LTLIBOBJS=$ac_ltlibobjs
50855
50856
50857
50858 : ${CONFIG_STATUS=./config.status}
50859 ac_clean_files_save=$ac_clean_files
50860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50861 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50862 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50863 cat >$CONFIG_STATUS <<_ACEOF
50864 #! $SHELL
50865 # Generated by $as_me.
50866 # Run this file to recreate the current configuration.
50867 # Compiler output produced by configure, useful for debugging
50868 # configure, is in config.log if it exists.
50869
50870 debug=false
50871 ac_cs_recheck=false
50872 ac_cs_silent=false
50873 SHELL=\${CONFIG_SHELL-$SHELL}
50874 _ACEOF
50875
50876 cat >>$CONFIG_STATUS <<\_ACEOF
50877 ## --------------------- ##
50878 ## M4sh Initialization. ##
50879 ## --------------------- ##
50880
50881 # Be more Bourne compatible
50882 DUALCASE=1; export DUALCASE # for MKS sh
50883 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50884 emulate sh
50885 NULLCMD=:
50886 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50887 # is contrary to our usage. Disable this feature.
50888 alias -g '${1+"$@"}'='"$@"'
50889 setopt NO_GLOB_SUBST
50890 else
50891 case `(set -o) 2>/dev/null` in
50892 *posix*) set -o posix ;;
50893 esac
50894
50895 fi
50896
50897
50898
50899
50900 # PATH needs CR
50901 # Avoid depending upon Character Ranges.
50902 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50903 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50904 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50905 as_cr_digits='0123456789'
50906 as_cr_alnum=$as_cr_Letters$as_cr_digits
50907
50908 # The user is always right.
50909 if test "${PATH_SEPARATOR+set}" != set; then
50910 echo "#! /bin/sh" >conf$$.sh
50911 echo "exit 0" >>conf$$.sh
50912 chmod +x conf$$.sh
50913 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50914 PATH_SEPARATOR=';'
50915 else
50916 PATH_SEPARATOR=:
50917 fi
50918 rm -f conf$$.sh
50919 fi
50920
50921 # Support unset when possible.
50922 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50923 as_unset=unset
50924 else
50925 as_unset=false
50926 fi
50927
50928
50929 # IFS
50930 # We need space, tab and new line, in precisely that order. Quoting is
50931 # there to prevent editors from complaining about space-tab.
50932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50933 # splitting by setting IFS to empty value.)
50934 as_nl='
50935 '
50936 IFS=" "" $as_nl"
50937
50938 # Find who we are. Look in the path if we contain no directory separator.
50939 case $0 in
50940 *[\\/]* ) as_myself=$0 ;;
50941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50942 for as_dir in $PATH
50943 do
50944 IFS=$as_save_IFS
50945 test -z "$as_dir" && as_dir=.
50946 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50947 done
50948 IFS=$as_save_IFS
50949
50950 ;;
50951 esac
50952 # We did not find ourselves, most probably we were run as `sh COMMAND'
50953 # in which case we are not to be found in the path.
50954 if test "x$as_myself" = x; then
50955 as_myself=$0
50956 fi
50957 if test ! -f "$as_myself"; then
50958 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50959 { (exit 1); exit 1; }
50960 fi
50961
50962 # Work around bugs in pre-3.0 UWIN ksh.
50963 for as_var in ENV MAIL MAILPATH
50964 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50965 done
50966 PS1='$ '
50967 PS2='> '
50968 PS4='+ '
50969
50970 # NLS nuisances.
50971 for as_var in \
50972 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50973 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50974 LC_TELEPHONE LC_TIME
50975 do
50976 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50977 eval $as_var=C; export $as_var
50978 else
50979 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50980 fi
50981 done
50982
50983 # Required to use basename.
50984 if expr a : '\(a\)' >/dev/null 2>&1 &&
50985 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50986 as_expr=expr
50987 else
50988 as_expr=false
50989 fi
50990
50991 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50992 as_basename=basename
50993 else
50994 as_basename=false
50995 fi
50996
50997
50998 # Name of the executable.
50999 as_me=`$as_basename -- "$0" ||
51000 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51001 X"$0" : 'X\(//\)$' \| \
51002 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51003 echo X/"$0" |
51004 sed '/^.*\/\([^/][^/]*\)\/*$/{
51005 s//\1/
51006 q
51007 }
51008 /^X\/\(\/\/\)$/{
51009 s//\1/
51010 q
51011 }
51012 /^X\/\(\/\).*/{
51013 s//\1/
51014 q
51015 }
51016 s/.*/./; q'`
51017
51018 # CDPATH.
51019 $as_unset CDPATH
51020
51021
51022
51023 as_lineno_1=$LINENO
51024 as_lineno_2=$LINENO
51025 test "x$as_lineno_1" != "x$as_lineno_2" &&
51026 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51027
51028 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51029 # uniformly replaced by the line number. The first 'sed' inserts a
51030 # line-number line after each line using $LINENO; the second 'sed'
51031 # does the real work. The second script uses 'N' to pair each
51032 # line-number line with the line containing $LINENO, and appends
51033 # trailing '-' during substitution so that $LINENO is not a special
51034 # case at line end.
51035 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51036 # scripts with optimization help from Paolo Bonzini. Blame Lee
51037 # E. McMahon (1931-1989) for sed's syntax. :-)
51038 sed -n '
51039 p
51040 /[$]LINENO/=
51041 ' <$as_myself |
51042 sed '
51043 s/[$]LINENO.*/&-/
51044 t lineno
51045 b
51046 :lineno
51047 N
51048 :loop
51049 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51050 t loop
51051 s/-\n.*//
51052 ' >$as_me.lineno &&
51053 chmod +x "$as_me.lineno" ||
51054 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51055 { (exit 1); exit 1; }; }
51056
51057 # Don't try to exec as it changes $[0], causing all sort of problems
51058 # (the dirname of $[0] is not the place where we might find the
51059 # original and so on. Autoconf is especially sensitive to this).
51060 . "./$as_me.lineno"
51061 # Exit status is that of the last command.
51062 exit
51063 }
51064
51065
51066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51067 as_dirname=dirname
51068 else
51069 as_dirname=false
51070 fi
51071
51072 ECHO_C= ECHO_N= ECHO_T=
51073 case `echo -n x` in
51074 -n*)
51075 case `echo 'x\c'` in
51076 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51077 *) ECHO_C='\c';;
51078 esac;;
51079 *)
51080 ECHO_N='-n';;
51081 esac
51082
51083 if expr a : '\(a\)' >/dev/null 2>&1 &&
51084 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51085 as_expr=expr
51086 else
51087 as_expr=false
51088 fi
51089
51090 rm -f conf$$ conf$$.exe conf$$.file
51091 if test -d conf$$.dir; then
51092 rm -f conf$$.dir/conf$$.file
51093 else
51094 rm -f conf$$.dir
51095 mkdir conf$$.dir
51096 fi
51097 echo >conf$$.file
51098 if ln -s conf$$.file conf$$ 2>/dev/null; then
51099 as_ln_s='ln -s'
51100 # ... but there are two gotchas:
51101 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51102 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51103 # In both cases, we have to default to `cp -p'.
51104 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51105 as_ln_s='cp -p'
51106 elif ln conf$$.file conf$$ 2>/dev/null; then
51107 as_ln_s=ln
51108 else
51109 as_ln_s='cp -p'
51110 fi
51111 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51112 rmdir conf$$.dir 2>/dev/null
51113
51114 if mkdir -p . 2>/dev/null; then
51115 as_mkdir_p=:
51116 else
51117 test -d ./-p && rmdir ./-p
51118 as_mkdir_p=false
51119 fi
51120
51121 if test -x / >/dev/null 2>&1; then
51122 as_test_x='test -x'
51123 else
51124 if ls -dL / >/dev/null 2>&1; then
51125 as_ls_L_option=L
51126 else
51127 as_ls_L_option=
51128 fi
51129 as_test_x='
51130 eval sh -c '\''
51131 if test -d "$1"; then
51132 test -d "$1/.";
51133 else
51134 case $1 in
51135 -*)set "./$1";;
51136 esac;
51137 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51138 ???[sx]*):;;*)false;;esac;fi
51139 '\'' sh
51140 '
51141 fi
51142 as_executable_p=$as_test_x
51143
51144 # Sed expression to map a string onto a valid CPP name.
51145 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51146
51147 # Sed expression to map a string onto a valid variable name.
51148 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51149
51150
51151 exec 6>&1
51152
51153 # Save the log message, to keep $[0] and so on meaningful, and to
51154 # report actual input values of CONFIG_FILES etc. instead of their
51155 # values after options handling.
51156 ac_log="
51157 This file was extended by wxWidgets $as_me 2.9.0, which was
51158 generated by GNU Autoconf 2.61. Invocation command line was
51159
51160 CONFIG_FILES = $CONFIG_FILES
51161 CONFIG_HEADERS = $CONFIG_HEADERS
51162 CONFIG_LINKS = $CONFIG_LINKS
51163 CONFIG_COMMANDS = $CONFIG_COMMANDS
51164 $ $0 $@
51165
51166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51167 "
51168
51169 _ACEOF
51170
51171 cat >>$CONFIG_STATUS <<_ACEOF
51172 # Files that config.status was made for.
51173 config_files="$ac_config_files"
51174 config_headers="$ac_config_headers"
51175 config_commands="$ac_config_commands"
51176
51177 _ACEOF
51178
51179 cat >>$CONFIG_STATUS <<\_ACEOF
51180 ac_cs_usage="\
51181 \`$as_me' instantiates files from templates according to the
51182 current configuration.
51183
51184 Usage: $0 [OPTIONS] [FILE]...
51185
51186 -h, --help print this help, then exit
51187 -V, --version print version number and configuration settings, then exit
51188 -q, --quiet do not print progress messages
51189 -d, --debug don't remove temporary files
51190 --recheck update $as_me by reconfiguring in the same conditions
51191 --file=FILE[:TEMPLATE]
51192 instantiate the configuration file FILE
51193 --header=FILE[:TEMPLATE]
51194 instantiate the configuration header FILE
51195
51196 Configuration files:
51197 $config_files
51198
51199 Configuration headers:
51200 $config_headers
51201
51202 Configuration commands:
51203 $config_commands
51204
51205 Report bugs to <bug-autoconf@gnu.org>."
51206
51207 _ACEOF
51208 cat >>$CONFIG_STATUS <<_ACEOF
51209 ac_cs_version="\\
51210 wxWidgets config.status 2.9.0
51211 configured by $0, generated by GNU Autoconf 2.61,
51212 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51213
51214 Copyright (C) 2006 Free Software Foundation, Inc.
51215 This config.status script is free software; the Free Software Foundation
51216 gives unlimited permission to copy, distribute and modify it."
51217
51218 ac_pwd='$ac_pwd'
51219 srcdir='$srcdir'
51220 INSTALL='$INSTALL'
51221 _ACEOF
51222
51223 cat >>$CONFIG_STATUS <<\_ACEOF
51224 # If no file are specified by the user, then we need to provide default
51225 # value. By we need to know if files were specified by the user.
51226 ac_need_defaults=:
51227 while test $# != 0
51228 do
51229 case $1 in
51230 --*=*)
51231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51232 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51233 ac_shift=:
51234 ;;
51235 *)
51236 ac_option=$1
51237 ac_optarg=$2
51238 ac_shift=shift
51239 ;;
51240 esac
51241
51242 case $ac_option in
51243 # Handling of the options.
51244 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51245 ac_cs_recheck=: ;;
51246 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51247 echo "$ac_cs_version"; exit ;;
51248 --debug | --debu | --deb | --de | --d | -d )
51249 debug=: ;;
51250 --file | --fil | --fi | --f )
51251 $ac_shift
51252 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51253 ac_need_defaults=false;;
51254 --header | --heade | --head | --hea )
51255 $ac_shift
51256 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51257 ac_need_defaults=false;;
51258 --he | --h)
51259 # Conflict between --help and --header
51260 { echo "$as_me: error: ambiguous option: $1
51261 Try \`$0 --help' for more information." >&2
51262 { (exit 1); exit 1; }; };;
51263 --help | --hel | -h )
51264 echo "$ac_cs_usage"; exit ;;
51265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51266 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51267 ac_cs_silent=: ;;
51268
51269 # This is an error.
51270 -*) { echo "$as_me: error: unrecognized option: $1
51271 Try \`$0 --help' for more information." >&2
51272 { (exit 1); exit 1; }; } ;;
51273
51274 *) ac_config_targets="$ac_config_targets $1"
51275 ac_need_defaults=false ;;
51276
51277 esac
51278 shift
51279 done
51280
51281 ac_configure_extra_args=
51282
51283 if $ac_cs_silent; then
51284 exec 6>/dev/null
51285 ac_configure_extra_args="$ac_configure_extra_args --silent"
51286 fi
51287
51288 _ACEOF
51289 cat >>$CONFIG_STATUS <<_ACEOF
51290 if \$ac_cs_recheck; then
51291 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51292 CONFIG_SHELL=$SHELL
51293 export CONFIG_SHELL
51294 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51295 fi
51296
51297 _ACEOF
51298 cat >>$CONFIG_STATUS <<\_ACEOF
51299 exec 5>>config.log
51300 {
51301 echo
51302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51303 ## Running $as_me. ##
51304 _ASBOX
51305 echo "$ac_log"
51306 } >&5
51307
51308 _ACEOF
51309 cat >>$CONFIG_STATUS <<_ACEOF
51310 #
51311 # INIT-COMMANDS
51312 #
51313
51314 CPP="$CPP"
51315 infile="$srcdir/include/wx/msw/genrcdefs.h"
51316 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51317
51318
51319 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51320 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51321 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51322 LN_S="${LN_S}"
51323
51324
51325 _ACEOF
51326
51327 cat >>$CONFIG_STATUS <<\_ACEOF
51328
51329 # Handling of arguments.
51330 for ac_config_target in $ac_config_targets
51331 do
51332 case $ac_config_target in
51333 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51334 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51335 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51336 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51337 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51338 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51339 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51340 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51341 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51342
51343 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51344 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51345 { (exit 1); exit 1; }; };;
51346 esac
51347 done
51348
51349
51350 # If the user did not use the arguments to specify the items to instantiate,
51351 # then the envvar interface is used. Set only those that are not.
51352 # We use the long form for the default assignment because of an extremely
51353 # bizarre bug on SunOS 4.1.3.
51354 if $ac_need_defaults; then
51355 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51356 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51358 fi
51359
51360 # Have a temporary directory for convenience. Make it in the build tree
51361 # simply because there is no reason against having it here, and in addition,
51362 # creating and moving files from /tmp can sometimes cause problems.
51363 # Hook for its removal unless debugging.
51364 # Note that there is a small window in which the directory will not be cleaned:
51365 # after its creation but before its name has been assigned to `$tmp'.
51366 $debug ||
51367 {
51368 tmp=
51369 trap 'exit_status=$?
51370 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51371 ' 0
51372 trap '{ (exit 1); exit 1; }' 1 2 13 15
51373 }
51374 # Create a (secure) tmp directory for tmp files.
51375
51376 {
51377 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51378 test -n "$tmp" && test -d "$tmp"
51379 } ||
51380 {
51381 tmp=./conf$$-$RANDOM
51382 (umask 077 && mkdir "$tmp")
51383 } ||
51384 {
51385 echo "$me: cannot create a temporary directory in ." >&2
51386 { (exit 1); exit 1; }
51387 }
51388
51389 #
51390 # Set up the sed scripts for CONFIG_FILES section.
51391 #
51392
51393 # No need to generate the scripts if there are no CONFIG_FILES.
51394 # This happens for instance when ./config.status config.h
51395 if test -n "$CONFIG_FILES"; then
51396
51397 _ACEOF
51398
51399
51400
51401 ac_delim='%!_!# '
51402 for ac_last_try in false false false false false :; do
51403 cat >conf$$subs.sed <<_ACEOF
51404 SHELL!$SHELL$ac_delim
51405 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51406 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51407 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51408 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51409 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51410 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51411 exec_prefix!$exec_prefix$ac_delim
51412 prefix!$prefix$ac_delim
51413 program_transform_name!$program_transform_name$ac_delim
51414 bindir!$bindir$ac_delim
51415 sbindir!$sbindir$ac_delim
51416 libexecdir!$libexecdir$ac_delim
51417 datarootdir!$datarootdir$ac_delim
51418 datadir!$datadir$ac_delim
51419 sysconfdir!$sysconfdir$ac_delim
51420 sharedstatedir!$sharedstatedir$ac_delim
51421 localstatedir!$localstatedir$ac_delim
51422 includedir!$includedir$ac_delim
51423 oldincludedir!$oldincludedir$ac_delim
51424 docdir!$docdir$ac_delim
51425 infodir!$infodir$ac_delim
51426 htmldir!$htmldir$ac_delim
51427 dvidir!$dvidir$ac_delim
51428 pdfdir!$pdfdir$ac_delim
51429 psdir!$psdir$ac_delim
51430 libdir!$libdir$ac_delim
51431 localedir!$localedir$ac_delim
51432 mandir!$mandir$ac_delim
51433 DEFS!$DEFS$ac_delim
51434 ECHO_C!$ECHO_C$ac_delim
51435 ECHO_N!$ECHO_N$ac_delim
51436 ECHO_T!$ECHO_T$ac_delim
51437 LIBS!$LIBS$ac_delim
51438 build_alias!$build_alias$ac_delim
51439 host_alias!$host_alias$ac_delim
51440 target_alias!$target_alias$ac_delim
51441 build!$build$ac_delim
51442 build_cpu!$build_cpu$ac_delim
51443 build_vendor!$build_vendor$ac_delim
51444 build_os!$build_os$ac_delim
51445 host!$host$ac_delim
51446 host_cpu!$host_cpu$ac_delim
51447 host_vendor!$host_vendor$ac_delim
51448 host_os!$host_os$ac_delim
51449 target!$target$ac_delim
51450 target_cpu!$target_cpu$ac_delim
51451 target_vendor!$target_vendor$ac_delim
51452 target_os!$target_os$ac_delim
51453 wx_top_builddir!$wx_top_builddir$ac_delim
51454 CC!$CC$ac_delim
51455 CFLAGS!$CFLAGS$ac_delim
51456 LDFLAGS!$LDFLAGS$ac_delim
51457 CPPFLAGS!$CPPFLAGS$ac_delim
51458 ac_ct_CC!$ac_ct_CC$ac_delim
51459 EXEEXT!$EXEEXT$ac_delim
51460 OBJEXT!$OBJEXT$ac_delim
51461 CPP!$CPP$ac_delim
51462 GREP!$GREP$ac_delim
51463 EGREP!$EGREP$ac_delim
51464 CXX!$CXX$ac_delim
51465 CXXFLAGS!$CXXFLAGS$ac_delim
51466 ac_ct_CXX!$ac_ct_CXX$ac_delim
51467 AR!$AR$ac_delim
51468 subdirs!$subdirs$ac_delim
51469 PKG_CONFIG!$PKG_CONFIG$ac_delim
51470 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51471 GTK_LIBS!$GTK_LIBS$ac_delim
51472 GTK_CONFIG!$GTK_CONFIG$ac_delim
51473 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51474 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51475 XMKMF!$XMKMF$ac_delim
51476 X_CFLAGS!$X_CFLAGS$ac_delim
51477 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51478 X_LIBS!$X_LIBS$ac_delim
51479 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51480 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51481 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51482 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51483 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51484 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51485 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51486 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51487 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51488 LIBICONV!$LIBICONV$ac_delim
51489 SDL_CONFIG!$SDL_CONFIG$ac_delim
51490 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51491 SDL_LIBS!$SDL_LIBS$ac_delim
51492 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51493 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51494 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51495 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51496 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51497 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51498 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51499 HILDON_LIBS!$HILDON_LIBS$ac_delim
51500 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51501 _ACEOF
51502
51503 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51504 break
51505 elif $ac_last_try; then
51506 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51507 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51508 { (exit 1); exit 1; }; }
51509 else
51510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51511 fi
51512 done
51513
51514 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51515 if test -n "$ac_eof"; then
51516 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51517 ac_eof=`expr $ac_eof + 1`
51518 fi
51519
51520 cat >>$CONFIG_STATUS <<_ACEOF
51521 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51522 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51523 _ACEOF
51524 sed '
51525 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51526 s/^/s,@/; s/!/@,|#_!!_#|/
51527 :n
51528 t n
51529 s/'"$ac_delim"'$/,g/; t
51530 s/$/\\/; p
51531 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51532 ' >>$CONFIG_STATUS <conf$$subs.sed
51533 rm -f conf$$subs.sed
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 CEOF$ac_eof
51536 _ACEOF
51537
51538
51539 ac_delim='%!_!# '
51540 for ac_last_try in false false false false false :; do
51541 cat >conf$$subs.sed <<_ACEOF
51542 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51543 GST_CFLAGS!$GST_CFLAGS$ac_delim
51544 GST_LIBS!$GST_LIBS$ac_delim
51545 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51546 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51547 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51548 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51549 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51550 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51551 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51552 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51553 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51554 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51555 VENDOR!$VENDOR$ac_delim
51556 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51557 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51558 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51559 WXUNIV!$WXUNIV$ac_delim
51560 MONOLITHIC!$MONOLITHIC$ac_delim
51561 USE_PLUGINS!$USE_PLUGINS$ac_delim
51562 CXXWARNINGS!$CXXWARNINGS$ac_delim
51563 EXTRALIBS!$EXTRALIBS$ac_delim
51564 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51565 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51566 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51567 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51568 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51569 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51570 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51571 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51572 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51573 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51574 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51575 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51576 UNICODE!$UNICODE$ac_delim
51577 BUILD!$BUILD$ac_delim
51578 DEBUG_INFO!$DEBUG_INFO$ac_delim
51579 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51580 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51581 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51582 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51583 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51584 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51585 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51586 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51587 RANLIB!$RANLIB$ac_delim
51588 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51589 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51590 INSTALL_DATA!$INSTALL_DATA$ac_delim
51591 LN_S!$LN_S$ac_delim
51592 SET_MAKE!$SET_MAKE$ac_delim
51593 MAKE_SET!$MAKE_SET$ac_delim
51594 AROPTIONS!$AROPTIONS$ac_delim
51595 STRIP!$STRIP$ac_delim
51596 NM!$NM$ac_delim
51597 INSTALL_DIR!$INSTALL_DIR$ac_delim
51598 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51599 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51600 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51601 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51602 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51603 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51604 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51605 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51606 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51607 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51608 SO_SUFFIX!$SO_SUFFIX$ac_delim
51609 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51610 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51611 LIBPREFIX!$LIBPREFIX$ac_delim
51612 LIBEXT!$LIBEXT$ac_delim
51613 DLLPREFIX!$DLLPREFIX$ac_delim
51614 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51615 dlldir!$dlldir$ac_delim
51616 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51617 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51618 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51619 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51620 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51621 PIC_FLAG!$PIC_FLAG$ac_delim
51622 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51623 USE_SOVERSION!$USE_SOVERSION$ac_delim
51624 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51625 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51626 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51627 USE_MACVERSION!$USE_MACVERSION$ac_delim
51628 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51629 SONAME_FLAG!$SONAME_FLAG$ac_delim
51630 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51631 BK_DEPS!$BK_DEPS$ac_delim
51632 WINDRES!$WINDRES$ac_delim
51633 REZ!$REZ$ac_delim
51634 SETFILE!$SETFILE$ac_delim
51635 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51636 GCC_PCH!$GCC_PCH$ac_delim
51637 ICC_PCH!$ICC_PCH$ac_delim
51638 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51639 _ACEOF
51640
51641 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51642 break
51643 elif $ac_last_try; then
51644 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51645 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51646 { (exit 1); exit 1; }; }
51647 else
51648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51649 fi
51650 done
51651
51652 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51653 if test -n "$ac_eof"; then
51654 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51655 ac_eof=`expr $ac_eof + 1`
51656 fi
51657
51658 cat >>$CONFIG_STATUS <<_ACEOF
51659 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51661 _ACEOF
51662 sed '
51663 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51664 s/^/s,@/; s/!/@,|#_!!_#|/
51665 :n
51666 t n
51667 s/'"$ac_delim"'$/,g/; t
51668 s/$/\\/; p
51669 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51670 ' >>$CONFIG_STATUS <conf$$subs.sed
51671 rm -f conf$$subs.sed
51672 cat >>$CONFIG_STATUS <<_ACEOF
51673 CEOF$ac_eof
51674 _ACEOF
51675
51676
51677 ac_delim='%!_!# '
51678 for ac_last_try in false false false false false :; do
51679 cat >conf$$subs.sed <<_ACEOF
51680 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51681 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51682 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51683 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51684 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51685 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51686 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51687 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51688 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51689 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51690 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51691 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51692 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51693 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51694 COND_BUILD_release!$COND_BUILD_release$ac_delim
51695 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51696 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51697 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51698 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51699 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51700 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51701 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51702 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51703 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51704 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51705 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51706 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51707 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51709 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51712 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51713 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51714 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51715 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51716 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51717 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51722 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51723 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51724 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51725 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51726 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51727 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51728 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51729 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51730 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51731 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51732 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51733 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51734 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51735 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51736 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51737 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51738 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51739 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51740 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51741 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51742 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51743 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51744 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51745 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51746 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51747 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51748 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51749 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51750 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51751 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51752 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51753 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51754 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51755 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51756 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51757 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51758 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51759 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51760 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51761 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51762 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51763 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51764 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51765 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51766 COND_SHARED_0!$COND_SHARED_0$ac_delim
51767 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51768 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51769 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51772 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51773 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51774 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51775 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51776 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51777 _ACEOF
51778
51779 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51780 break
51781 elif $ac_last_try; then
51782 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51783 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51784 { (exit 1); exit 1; }; }
51785 else
51786 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51787 fi
51788 done
51789
51790 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51791 if test -n "$ac_eof"; then
51792 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51793 ac_eof=`expr $ac_eof + 1`
51794 fi
51795
51796 cat >>$CONFIG_STATUS <<_ACEOF
51797 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51799 _ACEOF
51800 sed '
51801 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51802 s/^/s,@/; s/!/@,|#_!!_#|/
51803 :n
51804 t n
51805 s/'"$ac_delim"'$/,g/; t
51806 s/$/\\/; p
51807 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51808 ' >>$CONFIG_STATUS <conf$$subs.sed
51809 rm -f conf$$subs.sed
51810 cat >>$CONFIG_STATUS <<_ACEOF
51811 CEOF$ac_eof
51812 _ACEOF
51813
51814
51815 ac_delim='%!_!# '
51816 for ac_last_try in false false false false false :; do
51817 cat >conf$$subs.sed <<_ACEOF
51818 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51819 COND_SHARED_1!$COND_SHARED_1$ac_delim
51820 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51821 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51822 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51823 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51824 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51825 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51826 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51827 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51829 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51830 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51831 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51832 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51833 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51834 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51835 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51836 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51837 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51838 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51839 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51840 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51841 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51842 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51843 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51844 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51845 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51846 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51847 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51848 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51849 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51850 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51851 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51852 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51853 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51854 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51855 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51856 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51857 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51858 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51859 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51860 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51861 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51862 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51863 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51864 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51865 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51866 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51867 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51868 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51869 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51870 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51871 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51872 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51873 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51874 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51875 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51876 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51877 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51878 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51879 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51880 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51881 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51882 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51883 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51884 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51885 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51886 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51887 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51888 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51889 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51890 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51891 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51892 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51893 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51894 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51895 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51896 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51897 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51898 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51899 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
51900 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
51901 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
51902 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
51903 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
51904 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
51905 DEREZ!$DEREZ$ac_delim
51906 SHARED!$SHARED$ac_delim
51907 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51908 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51909 USE_GUI!$USE_GUI$ac_delim
51910 AFMINSTALL!$AFMINSTALL$ac_delim
51911 WIN32INSTALL!$WIN32INSTALL$ac_delim
51912 TOOLKIT!$TOOLKIT$ac_delim
51913 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51914 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51915 _ACEOF
51916
51917 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51918 break
51919 elif $ac_last_try; then
51920 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51921 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51922 { (exit 1); exit 1; }; }
51923 else
51924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51925 fi
51926 done
51927
51928 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51929 if test -n "$ac_eof"; then
51930 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51931 ac_eof=`expr $ac_eof + 1`
51932 fi
51933
51934 cat >>$CONFIG_STATUS <<_ACEOF
51935 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51937 _ACEOF
51938 sed '
51939 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51940 s/^/s,@/; s/!/@,|#_!!_#|/
51941 :n
51942 t n
51943 s/'"$ac_delim"'$/,g/; t
51944 s/$/\\/; p
51945 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51946 ' >>$CONFIG_STATUS <conf$$subs.sed
51947 rm -f conf$$subs.sed
51948 cat >>$CONFIG_STATUS <<_ACEOF
51949 CEOF$ac_eof
51950 _ACEOF
51951
51952
51953 ac_delim='%!_!# '
51954 for ac_last_try in false false false false false :; do
51955 cat >conf$$subs.sed <<_ACEOF
51956 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51957 cross_compiling!$cross_compiling$ac_delim
51958 WIDGET_SET!$WIDGET_SET$ac_delim
51959 WX_RELEASE!$WX_RELEASE$ac_delim
51960 WX_VERSION!$WX_VERSION$ac_delim
51961 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51962 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51963 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51964 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51965 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51966 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51967 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51968 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51969 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51970 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51971 GUIDIST!$GUIDIST$ac_delim
51972 DISTDIR!$DISTDIR$ac_delim
51973 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51974 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51975 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51976 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51977 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51978 RESCOMP!$RESCOMP$ac_delim
51979 RESFLAGS!$RESFLAGS$ac_delim
51980 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51981 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51982 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51983 LIBWXMACRES!$LIBWXMACRES$ac_delim
51984 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51985 MACSETFILE!$MACSETFILE$ac_delim
51986 GCC!$GCC$ac_delim
51987 DLLTOOL!$DLLTOOL$ac_delim
51988 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51989 LIBOBJS!$LIBOBJS$ac_delim
51990 LTLIBOBJS!$LTLIBOBJS$ac_delim
51991 _ACEOF
51992
51993 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
51994 break
51995 elif $ac_last_try; then
51996 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51997 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51998 { (exit 1); exit 1; }; }
51999 else
52000 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52001 fi
52002 done
52003
52004 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52005 if test -n "$ac_eof"; then
52006 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52007 ac_eof=`expr $ac_eof + 1`
52008 fi
52009
52010 cat >>$CONFIG_STATUS <<_ACEOF
52011 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52013 _ACEOF
52014 sed '
52015 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52016 s/^/s,@/; s/!/@,|#_!!_#|/
52017 :n
52018 t n
52019 s/'"$ac_delim"'$/,g/; t
52020 s/$/\\/; p
52021 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52022 ' >>$CONFIG_STATUS <conf$$subs.sed
52023 rm -f conf$$subs.sed
52024 cat >>$CONFIG_STATUS <<_ACEOF
52025 :end
52026 s/|#_!!_#|//g
52027 CEOF$ac_eof
52028 _ACEOF
52029
52030
52031 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52032 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52033 # trailing colons and then remove the whole line if VPATH becomes empty
52034 # (actually we leave an empty line to preserve line numbers).
52035 if test "x$srcdir" = x.; then
52036 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52037 s/:*\$(srcdir):*/:/
52038 s/:*\${srcdir}:*/:/
52039 s/:*@srcdir@:*/:/
52040 s/^\([^=]*=[ ]*\):*/\1/
52041 s/:*$//
52042 s/^[^=]*=[ ]*$//
52043 }'
52044 fi
52045
52046 cat >>$CONFIG_STATUS <<\_ACEOF
52047 fi # test -n "$CONFIG_FILES"
52048
52049
52050 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52051 do
52052 case $ac_tag in
52053 :[FHLC]) ac_mode=$ac_tag; continue;;
52054 esac
52055 case $ac_mode$ac_tag in
52056 :[FHL]*:*);;
52057 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52058 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52059 { (exit 1); exit 1; }; };;
52060 :[FH]-) ac_tag=-:-;;
52061 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52062 esac
52063 ac_save_IFS=$IFS
52064 IFS=:
52065 set x $ac_tag
52066 IFS=$ac_save_IFS
52067 shift
52068 ac_file=$1
52069 shift
52070
52071 case $ac_mode in
52072 :L) ac_source=$1;;
52073 :[FH])
52074 ac_file_inputs=
52075 for ac_f
52076 do
52077 case $ac_f in
52078 -) ac_f="$tmp/stdin";;
52079 *) # Look for the file first in the build tree, then in the source tree
52080 # (if the path is not absolute). The absolute path cannot be DOS-style,
52081 # because $ac_f cannot contain `:'.
52082 test -f "$ac_f" ||
52083 case $ac_f in
52084 [\\/$]*) false;;
52085 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52086 esac ||
52087 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52088 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52089 { (exit 1); exit 1; }; };;
52090 esac
52091 ac_file_inputs="$ac_file_inputs $ac_f"
52092 done
52093
52094 # Let's still pretend it is `configure' which instantiates (i.e., don't
52095 # use $as_me), people would be surprised to read:
52096 # /* config.h. Generated by config.status. */
52097 configure_input="Generated from "`IFS=:
52098 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52099 if test x"$ac_file" != x-; then
52100 configure_input="$ac_file. $configure_input"
52101 { echo "$as_me:$LINENO: creating $ac_file" >&5
52102 echo "$as_me: creating $ac_file" >&6;}
52103 fi
52104
52105 case $ac_tag in
52106 *:-:* | *:-) cat >"$tmp/stdin";;
52107 esac
52108 ;;
52109 esac
52110
52111 ac_dir=`$as_dirname -- "$ac_file" ||
52112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52113 X"$ac_file" : 'X\(//\)[^/]' \| \
52114 X"$ac_file" : 'X\(//\)$' \| \
52115 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52116 echo X"$ac_file" |
52117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52118 s//\1/
52119 q
52120 }
52121 /^X\(\/\/\)[^/].*/{
52122 s//\1/
52123 q
52124 }
52125 /^X\(\/\/\)$/{
52126 s//\1/
52127 q
52128 }
52129 /^X\(\/\).*/{
52130 s//\1/
52131 q
52132 }
52133 s/.*/./; q'`
52134 { as_dir="$ac_dir"
52135 case $as_dir in #(
52136 -*) as_dir=./$as_dir;;
52137 esac
52138 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52139 as_dirs=
52140 while :; do
52141 case $as_dir in #(
52142 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52143 *) as_qdir=$as_dir;;
52144 esac
52145 as_dirs="'$as_qdir' $as_dirs"
52146 as_dir=`$as_dirname -- "$as_dir" ||
52147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52148 X"$as_dir" : 'X\(//\)[^/]' \| \
52149 X"$as_dir" : 'X\(//\)$' \| \
52150 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52151 echo X"$as_dir" |
52152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52153 s//\1/
52154 q
52155 }
52156 /^X\(\/\/\)[^/].*/{
52157 s//\1/
52158 q
52159 }
52160 /^X\(\/\/\)$/{
52161 s//\1/
52162 q
52163 }
52164 /^X\(\/\).*/{
52165 s//\1/
52166 q
52167 }
52168 s/.*/./; q'`
52169 test -d "$as_dir" && break
52170 done
52171 test -z "$as_dirs" || eval "mkdir $as_dirs"
52172 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52173 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52174 { (exit 1); exit 1; }; }; }
52175 ac_builddir=.
52176
52177 case "$ac_dir" in
52178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52179 *)
52180 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52181 # A ".." for each directory in $ac_dir_suffix.
52182 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52183 case $ac_top_builddir_sub in
52184 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52185 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52186 esac ;;
52187 esac
52188 ac_abs_top_builddir=$ac_pwd
52189 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52190 # for backward compatibility:
52191 ac_top_builddir=$ac_top_build_prefix
52192
52193 case $srcdir in
52194 .) # We are building in place.
52195 ac_srcdir=.
52196 ac_top_srcdir=$ac_top_builddir_sub
52197 ac_abs_top_srcdir=$ac_pwd ;;
52198 [\\/]* | ?:[\\/]* ) # Absolute name.
52199 ac_srcdir=$srcdir$ac_dir_suffix;
52200 ac_top_srcdir=$srcdir
52201 ac_abs_top_srcdir=$srcdir ;;
52202 *) # Relative name.
52203 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52204 ac_top_srcdir=$ac_top_build_prefix$srcdir
52205 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52206 esac
52207 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52208
52209
52210 case $ac_mode in
52211 :F)
52212 #
52213 # CONFIG_FILE
52214 #
52215
52216 case $INSTALL in
52217 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52218 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52219 esac
52220 _ACEOF
52221
52222 cat >>$CONFIG_STATUS <<\_ACEOF
52223 # If the template does not know about datarootdir, expand it.
52224 # FIXME: This hack should be removed a few years after 2.60.
52225 ac_datarootdir_hack=; ac_datarootdir_seen=
52226
52227 case `sed -n '/datarootdir/ {
52228 p
52229 q
52230 }
52231 /@datadir@/p
52232 /@docdir@/p
52233 /@infodir@/p
52234 /@localedir@/p
52235 /@mandir@/p
52236 ' $ac_file_inputs` in
52237 *datarootdir*) ac_datarootdir_seen=yes;;
52238 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52239 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52240 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52241 _ACEOF
52242 cat >>$CONFIG_STATUS <<_ACEOF
52243 ac_datarootdir_hack='
52244 s&@datadir@&$datadir&g
52245 s&@docdir@&$docdir&g
52246 s&@infodir@&$infodir&g
52247 s&@localedir@&$localedir&g
52248 s&@mandir@&$mandir&g
52249 s&\\\${datarootdir}&$datarootdir&g' ;;
52250 esac
52251 _ACEOF
52252
52253 # Neutralize VPATH when `$srcdir' = `.'.
52254 # Shell code in configure.ac might set extrasub.
52255 # FIXME: do we really want to maintain this feature?
52256 cat >>$CONFIG_STATUS <<_ACEOF
52257 sed "$ac_vpsub
52258 $extrasub
52259 _ACEOF
52260 cat >>$CONFIG_STATUS <<\_ACEOF
52261 :t
52262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52263 s&@configure_input@&$configure_input&;t t
52264 s&@top_builddir@&$ac_top_builddir_sub&;t t
52265 s&@srcdir@&$ac_srcdir&;t t
52266 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52267 s&@top_srcdir@&$ac_top_srcdir&;t t
52268 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52269 s&@builddir@&$ac_builddir&;t t
52270 s&@abs_builddir@&$ac_abs_builddir&;t t
52271 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52272 s&@INSTALL@&$ac_INSTALL&;t t
52273 $ac_datarootdir_hack
52274 " $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
52275
52276 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52277 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52278 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52279 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52280 which seems to be undefined. Please make sure it is defined." >&5
52281 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52282 which seems to be undefined. Please make sure it is defined." >&2;}
52283
52284 rm -f "$tmp/stdin"
52285 case $ac_file in
52286 -) cat "$tmp/out"; rm -f "$tmp/out";;
52287 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52288 esac
52289 ;;
52290 :H)
52291 #
52292 # CONFIG_HEADER
52293 #
52294 _ACEOF
52295
52296 # Transform confdefs.h into a sed script `conftest.defines', that
52297 # substitutes the proper values into config.h.in to produce config.h.
52298 rm -f conftest.defines conftest.tail
52299 # First, append a space to every undef/define line, to ease matching.
52300 echo 's/$/ /' >conftest.defines
52301 # Then, protect against being on the right side of a sed subst, or in
52302 # an unquoted here document, in config.status. If some macros were
52303 # called several times there might be several #defines for the same
52304 # symbol, which is useless. But do not sort them, since the last
52305 # AC_DEFINE must be honored.
52306 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52307 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52308 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52309 # PARAMS is the parameter list in the macro definition--in most cases, it's
52310 # just an empty string.
52311 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52312 ac_dB='\\)[ (].*,\\1define\\2'
52313 ac_dC=' '
52314 ac_dD=' ,'
52315
52316 uniq confdefs.h |
52317 sed -n '
52318 t rset
52319 :rset
52320 s/^[ ]*#[ ]*define[ ][ ]*//
52321 t ok
52322 d
52323 :ok
52324 s/[\\&,]/\\&/g
52325 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52326 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52327 ' >>conftest.defines
52328
52329 # Remove the space that was appended to ease matching.
52330 # Then replace #undef with comments. This is necessary, for
52331 # example, in the case of _POSIX_SOURCE, which is predefined and required
52332 # on some systems where configure will not decide to define it.
52333 # (The regexp can be short, since the line contains either #define or #undef.)
52334 echo 's/ $//
52335 s,^[ #]*u.*,/* & */,' >>conftest.defines
52336
52337 # Break up conftest.defines:
52338 ac_max_sed_lines=50
52339
52340 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52341 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52342 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52343 # et cetera.
52344 ac_in='$ac_file_inputs'
52345 ac_out='"$tmp/out1"'
52346 ac_nxt='"$tmp/out2"'
52347
52348 while :
52349 do
52350 # Write a here document:
52351 cat >>$CONFIG_STATUS <<_ACEOF
52352 # First, check the format of the line:
52353 cat >"\$tmp/defines.sed" <<\\CEOF
52354 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52355 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52356 b
52357 :def
52358 _ACEOF
52359 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52360 echo 'CEOF
52361 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52362 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52363 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52364 grep . conftest.tail >/dev/null || break
52365 rm -f conftest.defines
52366 mv conftest.tail conftest.defines
52367 done
52368 rm -f conftest.defines conftest.tail
52369
52370 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52371 cat >>$CONFIG_STATUS <<\_ACEOF
52372 if test x"$ac_file" != x-; then
52373 echo "/* $configure_input */" >"$tmp/config.h"
52374 cat "$ac_result" >>"$tmp/config.h"
52375 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52376 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52377 echo "$as_me: $ac_file is unchanged" >&6;}
52378 else
52379 rm -f $ac_file
52380 mv "$tmp/config.h" $ac_file
52381 fi
52382 else
52383 echo "/* $configure_input */"
52384 cat "$ac_result"
52385 fi
52386 rm -f "$tmp/out12"
52387 ;;
52388
52389 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52390 echo "$as_me: executing $ac_file commands" >&6;}
52391 ;;
52392 esac
52393
52394
52395 case $ac_file$ac_mode in
52396 "rcdefs.h":C)
52397 mkdir -p $outdir &&
52398 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52399 ;;
52400 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52401 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52402 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52403 "wx-config":C) rm -f wx-config
52404 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52405 ;;
52406
52407 esac
52408 done # for ac_tag
52409
52410
52411 { (exit 0); exit 0; }
52412 _ACEOF
52413 chmod +x $CONFIG_STATUS
52414 ac_clean_files=$ac_clean_files_save
52415
52416
52417 # configure is writing to config.log, and then calls config.status.
52418 # config.status does its own redirection, appending to config.log.
52419 # Unfortunately, on DOS this fails, as config.log is still kept open
52420 # by configure, so config.status won't be able to write to it; its
52421 # output is simply discarded. So we exec the FD to /dev/null,
52422 # effectively closing config.log, so it can be properly (re)opened and
52423 # appended to by config.status. When coming back to configure, we
52424 # need to make the FD available again.
52425 if test "$no_create" != yes; then
52426 ac_cs_success=:
52427 ac_config_status_args=
52428 test "$silent" = yes &&
52429 ac_config_status_args="$ac_config_status_args --quiet"
52430 exec 5>/dev/null
52431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52432 exec 5>>config.log
52433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52434 # would make configure fail if this is the last instruction.
52435 $ac_cs_success || { (exit 1); exit 1; }
52436 fi
52437
52438 #
52439 # CONFIG_SUBDIRS section.
52440 #
52441 if test "$no_recursion" != yes; then
52442
52443 # Remove --cache-file and --srcdir arguments so they do not pile up.
52444 ac_sub_configure_args=
52445 ac_prev=
52446 eval "set x $ac_configure_args"
52447 shift
52448 for ac_arg
52449 do
52450 if test -n "$ac_prev"; then
52451 ac_prev=
52452 continue
52453 fi
52454 case $ac_arg in
52455 -cache-file | --cache-file | --cache-fil | --cache-fi \
52456 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52457 ac_prev=cache_file ;;
52458 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52459 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52460 | --c=*)
52461 ;;
52462 --config-cache | -C)
52463 ;;
52464 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52465 ac_prev=srcdir ;;
52466 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52467 ;;
52468 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52469 ac_prev=prefix ;;
52470 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52471 ;;
52472 *)
52473 case $ac_arg in
52474 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52475 esac
52476 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52477 esac
52478 done
52479
52480 # Always prepend --prefix to ensure using the same prefix
52481 # in subdir configurations.
52482 ac_arg="--prefix=$prefix"
52483 case $ac_arg in
52484 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52485 esac
52486 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52487
52488 # Pass --silent
52489 if test "$silent" = yes; then
52490 ac_sub_configure_args="--silent $ac_sub_configure_args"
52491 fi
52492
52493 ac_popdir=`pwd`
52494 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52495
52496 # Do not complain, so a configure script can configure whichever
52497 # parts of a large source tree are present.
52498 test -d "$srcdir/$ac_dir" || continue
52499
52500 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52501 echo "$as_me:$LINENO: $ac_msg" >&5
52502 echo "$ac_msg" >&6
52503 { as_dir="$ac_dir"
52504 case $as_dir in #(
52505 -*) as_dir=./$as_dir;;
52506 esac
52507 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52508 as_dirs=
52509 while :; do
52510 case $as_dir in #(
52511 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52512 *) as_qdir=$as_dir;;
52513 esac
52514 as_dirs="'$as_qdir' $as_dirs"
52515 as_dir=`$as_dirname -- "$as_dir" ||
52516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52517 X"$as_dir" : 'X\(//\)[^/]' \| \
52518 X"$as_dir" : 'X\(//\)$' \| \
52519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52520 echo X"$as_dir" |
52521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52522 s//\1/
52523 q
52524 }
52525 /^X\(\/\/\)[^/].*/{
52526 s//\1/
52527 q
52528 }
52529 /^X\(\/\/\)$/{
52530 s//\1/
52531 q
52532 }
52533 /^X\(\/\).*/{
52534 s//\1/
52535 q
52536 }
52537 s/.*/./; q'`
52538 test -d "$as_dir" && break
52539 done
52540 test -z "$as_dirs" || eval "mkdir $as_dirs"
52541 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52542 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52543 { (exit 1); exit 1; }; }; }
52544 ac_builddir=.
52545
52546 case "$ac_dir" in
52547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52548 *)
52549 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52550 # A ".." for each directory in $ac_dir_suffix.
52551 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52552 case $ac_top_builddir_sub in
52553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52555 esac ;;
52556 esac
52557 ac_abs_top_builddir=$ac_pwd
52558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52559 # for backward compatibility:
52560 ac_top_builddir=$ac_top_build_prefix
52561
52562 case $srcdir in
52563 .) # We are building in place.
52564 ac_srcdir=.
52565 ac_top_srcdir=$ac_top_builddir_sub
52566 ac_abs_top_srcdir=$ac_pwd ;;
52567 [\\/]* | ?:[\\/]* ) # Absolute name.
52568 ac_srcdir=$srcdir$ac_dir_suffix;
52569 ac_top_srcdir=$srcdir
52570 ac_abs_top_srcdir=$srcdir ;;
52571 *) # Relative name.
52572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52573 ac_top_srcdir=$ac_top_build_prefix$srcdir
52574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52575 esac
52576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52577
52578
52579 cd "$ac_dir"
52580
52581 # Check for guested configure; otherwise get Cygnus style configure.
52582 if test -f "$ac_srcdir/configure.gnu"; then
52583 ac_sub_configure=$ac_srcdir/configure.gnu
52584 elif test -f "$ac_srcdir/configure"; then
52585 ac_sub_configure=$ac_srcdir/configure
52586 elif test -f "$ac_srcdir/configure.in"; then
52587 # This should be Cygnus configure.
52588 ac_sub_configure=$ac_aux_dir/configure
52589 else
52590 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52591 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52592 ac_sub_configure=
52593 fi
52594
52595 # The recursion is here.
52596 if test -n "$ac_sub_configure"; then
52597 # Make the cache file name correct relative to the subdirectory.
52598 case $cache_file in
52599 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52600 *) # Relative name.
52601 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52602 esac
52603
52604 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52605 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52606 # The eval makes quoting arguments work.
52607 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52608 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52609 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52610 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52611 { (exit 1); exit 1; }; }
52612 fi
52613
52614 cd "$ac_popdir"
52615 done
52616 fi
52617
52618
52619 echo
52620 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52621 echo ""
52622 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52623 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52624
52625 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52626 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52627 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52628 if test "$wxUSE_UNICODE" = "yes"; then
52629 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52630 echo " (using UTF-8)"
52631 else
52632 echo " (using wchar_t)"
52633 fi
52634 else
52635 echo
52636 fi
52637
52638 echo " What level of wxWidgets compatibility should be enabled?"
52639 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52640 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52641
52642 echo " Which libraries should wxWidgets use?"
52643 echo " STL ${wxUSE_STL}"
52644 echo " jpeg ${wxUSE_LIBJPEG-none}"
52645 echo " png ${wxUSE_LIBPNG-none}"
52646 echo " regex ${wxUSE_REGEX}"
52647 echo " tiff ${wxUSE_LIBTIFF-none}"
52648 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52649 echo " xpm ${wxUSE_LIBXPM-none}"
52650 fi
52651 echo " zlib ${wxUSE_ZLIB}"
52652 echo " expat ${wxUSE_EXPAT}"
52653 echo " libmspack ${wxUSE_LIBMSPACK}"
52654 echo " sdl ${wxUSE_LIBSDL}"
52655
52656 echo ""
52657